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
669 am__fastdepCCAS_FALSE
680 MAINTAINER_MODE_FALSE
714 INSTALL_STRIP_PROGRAM
780 program_transform_name
793 enable_option_checking
795 enable_dependency_tracking
799 enable_version_specific_runtime_libs
801 enable_maintainer_mode
808 with_gcc_major_version_only
810 ac_precious_vars
='build_alias
822 # Initialize some variables set by options.
824 ac_init_version
=false
825 ac_unrecognized_opts
=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
836 program_transform_name
=s
,x
,x
,
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir
='${exec_prefix}/bin'
851 sbindir
='${exec_prefix}/sbin'
852 libexecdir
='${exec_prefix}/libexec'
853 datarootdir
='${prefix}/share'
854 datadir
='${datarootdir}'
855 sysconfdir
='${prefix}/etc'
856 sharedstatedir
='${prefix}/com'
857 localstatedir
='${prefix}/var'
858 includedir
='${prefix}/include'
859 oldincludedir
='/usr/include'
860 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
861 infodir
='${datarootdir}/info'
866 libdir
='${exec_prefix}/lib'
867 localedir
='${datarootdir}/locale'
868 mandir
='${datarootdir}/man'
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\
$ac_option
882 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
887 # Accept the important Cygnus configure options, so we can diagnose typos.
889 case $ac_dashdash$ac_option in
893 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
895 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
898 -build |
--build |
--buil |
--bui |
--bu)
899 ac_prev
=build_alias
;;
900 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
901 build_alias
=$ac_optarg ;;
903 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
904 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
905 ac_prev
=cache_file
;;
906 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
907 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
908 cache_file
=$ac_optarg ;;
911 cache_file
=config.cache
;;
913 -datadir |
--datadir |
--datadi |
--datad)
915 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
916 datadir
=$ac_optarg ;;
918 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
919 |
--dataroo |
--dataro |
--datar)
920 ac_prev
=datarootdir
;;
921 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
922 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
923 datarootdir
=$ac_optarg ;;
925 -disable-* |
--disable-*)
926 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
927 # Reject names that are not valid shell variable names.
928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
929 as_fn_error $?
"invalid feature name: $ac_useropt"
930 ac_useropt_orig
=$ac_useropt
931 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
936 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
937 ac_unrecognized_sep
=', ';;
939 eval enable_
$ac_useropt=no
;;
941 -docdir |
--docdir |
--docdi |
--doc |
--do)
943 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
946 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
948 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
951 -enable-* |
--enable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 as_fn_error $?
"invalid feature name: $ac_useropt"
956 ac_useropt_orig
=$ac_useropt
957 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
963 ac_unrecognized_sep
=', ';;
965 eval enable_
$ac_useropt=\
$ac_optarg ;;
967 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
968 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
969 |
--exec |
--exe |
--ex)
970 ac_prev
=exec_prefix
;;
971 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
972 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
973 |
--exec=* |
--exe=* |
--ex=*)
974 exec_prefix
=$ac_optarg ;;
976 -gas |
--gas |
--ga |
--g)
977 # Obsolete; use --with-gas.
980 -help |
--help |
--hel |
--he |
-h)
982 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
983 ac_init_help
=recursive
;;
984 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
985 ac_init_help
=short
;;
987 -host |
--host |
--hos |
--ho)
988 ac_prev
=host_alias
;;
989 -host=* |
--host=* |
--hos=* |
--ho=*)
990 host_alias
=$ac_optarg ;;
992 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
994 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
996 htmldir
=$ac_optarg ;;
998 -includedir |
--includedir |
--includedi |
--included |
--include \
999 |
--includ |
--inclu |
--incl |
--inc)
1000 ac_prev
=includedir
;;
1001 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1002 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1003 includedir
=$ac_optarg ;;
1005 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1007 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1008 infodir
=$ac_optarg ;;
1010 -libdir |
--libdir |
--libdi |
--libd)
1012 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1013 libdir
=$ac_optarg ;;
1015 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1016 |
--libexe |
--libex |
--libe)
1017 ac_prev
=libexecdir
;;
1018 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1019 |
--libexe=* |
--libex=* |
--libe=*)
1020 libexecdir
=$ac_optarg ;;
1022 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1023 ac_prev
=localedir
;;
1024 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1025 localedir
=$ac_optarg ;;
1027 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1028 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1029 ac_prev
=localstatedir
;;
1030 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1031 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1032 localstatedir
=$ac_optarg ;;
1034 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1036 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1037 mandir
=$ac_optarg ;;
1039 -nfp |
--nfp |
--nf)
1040 # Obsolete; use --without-fp.
1043 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1044 |
--no-cr |
--no-c |
-n)
1047 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1048 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1051 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1052 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1053 |
--oldin |
--oldi |
--old |
--ol |
--o)
1054 ac_prev
=oldincludedir
;;
1055 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1056 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1057 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1058 oldincludedir
=$ac_optarg ;;
1060 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1062 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1063 prefix
=$ac_optarg ;;
1065 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1066 |
--program-pre |
--program-pr |
--program-p)
1067 ac_prev
=program_prefix
;;
1068 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1069 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1070 program_prefix
=$ac_optarg ;;
1072 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1073 |
--program-suf |
--program-su |
--program-s)
1074 ac_prev
=program_suffix
;;
1075 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1076 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1077 program_suffix
=$ac_optarg ;;
1079 -program-transform-name |
--program-transform-name \
1080 |
--program-transform-nam |
--program-transform-na \
1081 |
--program-transform-n |
--program-transform- \
1082 |
--program-transform |
--program-transfor \
1083 |
--program-transfo |
--program-transf \
1084 |
--program-trans |
--program-tran \
1085 |
--progr-tra |
--program-tr |
--program-t)
1086 ac_prev
=program_transform_name
;;
1087 -program-transform-name=* |
--program-transform-name=* \
1088 |
--program-transform-nam=* |
--program-transform-na=* \
1089 |
--program-transform-n=* |
--program-transform-=* \
1090 |
--program-transform=* |
--program-transfor=* \
1091 |
--program-transfo=* |
--program-transf=* \
1092 |
--program-trans=* |
--program-tran=* \
1093 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1094 program_transform_name
=$ac_optarg ;;
1096 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1098 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1099 pdfdir
=$ac_optarg ;;
1101 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1103 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1106 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1107 |
-silent |
--silent |
--silen |
--sile |
--sil)
1110 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1112 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1114 sbindir
=$ac_optarg ;;
1116 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1117 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1118 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1120 ac_prev
=sharedstatedir
;;
1121 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1122 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1123 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1125 sharedstatedir
=$ac_optarg ;;
1127 -site |
--site |
--sit)
1129 -site=* |
--site=* |
--sit=*)
1132 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1134 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1135 srcdir
=$ac_optarg ;;
1137 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1138 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1139 ac_prev
=sysconfdir
;;
1140 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1141 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1142 sysconfdir
=$ac_optarg ;;
1144 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1145 ac_prev
=target_alias
;;
1146 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1147 target_alias
=$ac_optarg ;;
1149 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1152 -version |
--version |
--versio |
--versi |
--vers |
-V)
1153 ac_init_version
=: ;;
1156 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1159 as_fn_error $?
"invalid package name: $ac_useropt"
1160 ac_useropt_orig
=$ac_useropt
1161 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1167 ac_unrecognized_sep
=', ';;
1169 eval with_
$ac_useropt=\
$ac_optarg ;;
1171 -without-* |
--without-*)
1172 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1175 as_fn_error $?
"invalid package name: $ac_useropt"
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=no
;;
1188 # Obsolete; use --with-x.
1191 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1192 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1193 ac_prev
=x_includes
;;
1194 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1195 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1196 x_includes
=$ac_optarg ;;
1198 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1199 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1200 ac_prev
=x_libraries
;;
1201 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1202 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1203 x_libraries
=$ac_optarg ;;
1205 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1206 Try \`$0 --help' for more information"
1210 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1211 # Reject names that are not valid shell variable names.
1212 case $ac_envvar in #(
1213 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1214 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1216 eval $ac_envvar=\
$ac_optarg
1217 export $ac_envvar ;;
1220 # FIXME: should be removed in autoconf 3.0.
1221 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1224 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1230 if test -n "$ac_prev"; then
1231 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1232 as_fn_error $?
"missing argument to $ac_option"
1235 if test -n "$ac_unrecognized_opts"; then
1236 case $enable_option_checking in
1238 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1239 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1243 # Check all directory arguments for consistency.
1244 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1245 datadir sysconfdir sharedstatedir localstatedir includedir \
1246 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1247 libdir localedir mandir
1249 eval ac_val
=\$
$ac_var
1250 # Remove trailing slashes.
1253 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1254 eval $ac_var=\
$ac_val;;
1256 # Be sure to have absolute directory names.
1258 [\\/$
]* | ?
:[\\/]* ) continue;;
1259 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1261 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1264 # There might be people who depend on the old broken behavior: `$host'
1265 # used to hold the argument of --host etc.
1266 # FIXME: To remove some day.
1269 target
=$target_alias
1271 # FIXME: To remove some day.
1272 if test "x$host_alias" != x
; then
1273 if test "x$build_alias" = x
; then
1274 cross_compiling
=maybe
1275 elif test "x$build_alias" != "x$host_alias"; then
1281 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1283 test "$silent" = yes && exec 6>/dev
/null
1286 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1287 ac_ls_di
=`ls -di .` &&
1288 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1289 as_fn_error $?
"working directory cannot be determined"
1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291 as_fn_error $?
"pwd does not report name of working directory"
1294 # Find the source files, if location was not specified.
1295 if test -z "$srcdir"; then
1296 ac_srcdir_defaulted
=yes
1297 # Try the directory containing this script, then the parent directory.
1298 ac_confdir
=`$as_dirname -- "$as_myself" ||
1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300 X"$as_myself" : 'X\(//\)[^/]' \| \
1301 X"$as_myself" : 'X\(//\)$' \| \
1302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303 $as_echo X"$as_myself" |
1304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1326 ac_srcdir_defaulted
=no
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1329 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1330 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1332 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1336 # When building in place, set srcdir=.
1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
1340 # Remove unnecessary trailing slashes from srcdir.
1341 # Double slashes in file names in object file debugging info
1342 # mess up M-x gdb in Emacs.
1344 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1346 for ac_var
in $ac_precious_vars; do
1347 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1348 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1349 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1350 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1354 # Report the --help message.
1356 if test "$ac_init_help" = "long"; then
1357 # Omit some internal or obsolete options to make the list less imposing.
1358 # This message is too long to be a string in the A/UX 3.1 sh.
1360 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE. See below for descriptions of some of the useful variables.
1367 Defaults for the options are specified in brackets.
1370 -h, --help display this help and exit
1371 --help=short display options specific to this package
1372 --help=recursive display the short help of all the included packages
1373 -V, --version display version information and exit
1374 -q, --quiet, --silent do not print \`checking ...' messages
1375 --cache-file=FILE cache test results in FILE [disabled]
1376 -C, --config-cache alias for \`--cache-file=config.cache'
1377 -n, --no-create do not create output files
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380 Installation directories:
1381 --prefix=PREFIX install architecture-independent files in PREFIX
1382 [$ac_default_prefix]
1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1391 For better control, use the options below.
1393 Fine tuning of the installation directories:
1394 --bindir=DIR user executables [EPREFIX/bin]
1395 --sbindir=DIR system admin executables [EPREFIX/sbin]
1396 --libexecdir=DIR program executables [EPREFIX/libexec]
1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400 --libdir=DIR object code libraries [EPREFIX/lib]
1401 --includedir=DIR C header files [PREFIX/include]
1402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405 --infodir=DIR info documentation [DATAROOTDIR/info]
1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407 --mandir=DIR man documentation [DATAROOTDIR/man]
1408 --docdir=DIR documentation root [DATAROOTDIR/doc/libgm2]
1409 --htmldir=DIR html documentation [DOCDIR]
1410 --dvidir=DIR dvi documentation [DOCDIR]
1411 --pdfdir=DIR pdf documentation [DOCDIR]
1412 --psdir=DIR ps documentation [DOCDIR]
1418 --program-prefix=PREFIX prepend PREFIX to installed program names
1419 --program-suffix=SUFFIX append SUFFIX to installed program names
1420 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1423 --build=BUILD configure
for building on BUILD
[guessed
]
1424 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1425 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1429 if test -n "$ac_init_help"; then
1430 case $ac_init_help in
1431 short | recursive
) echo "Configuration of package-unused version-unused:";;
1436 --disable-option-checking ignore unrecognized
--enable/--with options
1437 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1438 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1439 --enable-multilib build many library versions
(default
)
1440 --enable-dependency-tracking
1441 do not reject slow dependency extractors
1442 --disable-dependency-tracking
1443 speeds up one-time build
1444 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1445 --disable-silent-rules verbose build output
(undo
: "make V=0")
1446 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1447 --enable-maintainer-mode
1448 enable make rules and dependencies not useful
(and
1449 sometimes confusing
) to the casual installer
1450 --enable-maintainer-mode
1451 enable make rules and dependencies not useful
(and
1452 sometimes confusing
) to the casual installer
1453 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1454 --enable-static[=PKGS
] build static libraries
[default
=yes]
1455 --enable-fast-install[=PKGS
]
1456 optimize
for fast installation
[default
=yes]
1457 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1460 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1461 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1462 --with-cross-host=HOST Configuring with a cross compiler
1463 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1464 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1465 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1467 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1468 --with-gcc-major-version-only
1469 use only GCC major number
in filesystem paths
1471 Some influential environment variables
:
1472 CC C compiler
command
1473 CFLAGS C compiler flags
1474 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1475 nonstandard directory
<lib dir
>
1476 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1477 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1478 you have headers
in a nonstandard directory
<include dir
>
1480 CXX C
++ compiler
command
1481 CXXFLAGS C
++ compiler flags
1482 CCAS assembler compiler
command (defaults to CC
)
1483 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1484 CXXCPP C
++ preprocessor
1486 Use these variables to override the choices made by
`configure' or to help
1487 it to find libraries and programs with nonstandard names/locations.
1489 Report bugs to the package provider.
1494 if test "$ac_init_help" = "recursive"; then
1495 # If there are subdirs, report their specific --help.
1496 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1497 test -d "$ac_dir" ||
1498 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1506 # A ".." for each directory in $ac_dir_suffix.
1507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1508 case $ac_top_builddir_sub in
1509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1513 ac_abs_top_builddir=$ac_pwd
1514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1515 # for backward compatibility:
1516 ac_top_builddir=$ac_top_build_prefix
1519 .) # We are building in place.
1521 ac_top_srcdir=$ac_top_builddir_sub
1522 ac_abs_top_srcdir=$ac_pwd ;;
1523 [\\/]* | ?:[\\/]* ) # Absolute name.
1524 ac_srcdir=$srcdir$ac_dir_suffix;
1525 ac_top_srcdir=$srcdir
1526 ac_abs_top_srcdir=$srcdir ;;
1528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1529 ac_top_srcdir=$ac_top_build_prefix$srcdir
1530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1534 cd "$ac_dir" || { ac_status=$?; continue; }
1535 # Check for guested configure.
1536 if test -f "$ac_srcdir/configure.gnu"; then
1538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1539 elif test -f "$ac_srcdir/configure"; then
1541 $SHELL "$ac_srcdir/configure" --help=recursive
1543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1545 cd "$ac_pwd" || { ac_status=$?; break; }
1549 test -n "$ac_init_help" && exit $ac_status
1550 if $ac_init_version; then
1552 package-unused configure version-unused
1553 generated by GNU Autoconf 2.69
1555 Copyright (C) 2012 Free Software Foundation, Inc.
1556 This configure script is free software; the Free Software Foundation
1557 gives unlimited permission to copy, distribute and modify it.
1562 ## ------------------------ ##
1563 ## Autoconf initialization. ##
1564 ## ------------------------ ##
1566 # ac_fn_c_try_compile LINENO
1567 # --------------------------
1568 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_compile ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 rm -f conftest.$ac_objext
1573 if { { ac_try="$ac_compile"
1575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1576 *) ac_try_echo
=$ac_try;;
1578 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_compile") 2>conftest.err
1582 if test -s conftest.err
; then
1583 grep -v '^ *+' conftest.err
>conftest.er1
1584 cat conftest.er1
>&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } && {
1589 test -z "$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 } && test -s conftest.
$ac_objext; then :
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.
$ac_ext >&5
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status
$ac_retval
1602 } # ac_fn_c_try_compile
1604 # ac_fn_c_try_cpp LINENO
1605 # ----------------------
1606 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1609 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1610 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } > conftest.i && {
1626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1641 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1642 # -------------------------------------------------------
1643 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1644 # the include files in INCLUDES and setting the cache variable VAR
1646 ac_fn_c_check_header_mongrel ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 if eval \${$3+:} false; then :
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651 $as_echo_n "checking for $2... " >&6; }
1652 if eval \${$3+:} false; then :
1653 $as_echo_n "(cached) " >&6
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1657 $as_echo "$ac_res" >&6; }
1659 # Is the header compilable?
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1661 $as_echo_n "checking $2 usability... " >&6; }
1662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1663 /* end confdefs.h. */
1667 if ac_fn_c_try_compile "$LINENO"; then :
1668 ac_header_compiler=yes
1670 ac_header_compiler=no
1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1674 $as_echo "$ac_header_compiler" >&6; }
1676 # Is the header present?
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1678 $as_echo_n "checking $2 presence... " >&6; }
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1683 if ac_fn_c_try_cpp "$LINENO"; then :
1684 ac_header_preproc=yes
1686 ac_header_preproc=no
1688 rm -f conftest.err conftest.i conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1690 $as_echo "$ac_header_preproc" >&6; }
1692 # So? What about this header?
1693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1696 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1698 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1702 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1704 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1706 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1708 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1710 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \${$3+:} false; then :
1716 $as_echo_n "(cached) " >&6
1718 eval "$3=\$ac_header_compiler"
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 } # ac_fn_c_check_header_mongrel
1728 # ac_fn_c_try_run LINENO
1729 # ----------------------
1730 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1731 # that executables *can* be run.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 if { { ac_try="$ac_link"
1737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1738 *) ac_try_echo
=$ac_try;;
1740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_link") 2>&5
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1746 { { case "(($ac_try" in
1747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1748 *) ac_try_echo=$ac_try;;
1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 $as_echo "$ac_try_echo"; } >&5
1752 (eval "$ac_try") 2>&5
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; }; }; then :
1758 $as_echo "$as_me: program exited with status $ac_status" >&5
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.$ac_ext >&5
1762 ac_retval=$ac_status
1764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status $ac_retval
1770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1771 # -------------------------------------------------------
1772 # Tests whether HEADER exists and can be compiled using the include files in
1773 # INCLUDES, setting the cache variable VAR accordingly.
1774 ac_fn_c_check_header_compile ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1787 if ac_fn_c_try_compile "$LINENO"; then :
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 } # ac_fn_c_check_header_compile
1801 # ac_fn_cxx_try_compile LINENO
1802 # ----------------------------
1803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_cxx_try_compile ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 rm -f conftest.$ac_objext
1808 if { { ac_try="$ac_compile"
1810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1811 *) ac_try_echo
=$ac_try;;
1813 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_compile") 2>conftest.err
1817 if test -s conftest.err
; then
1818 grep -v '^ *+' conftest.err
>conftest.er1
1819 cat conftest.er1
>&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } && {
1824 test -z "$ac_cxx_werror_flag" ||
1825 test ! -s conftest.err
1826 } && test -s conftest.
$ac_objext; then :
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status
$ac_retval
1837 } # ac_fn_cxx_try_compile
1839 # ac_fn_c_try_link LINENO
1840 # -----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded.
1844 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1845 rm -f conftest.
$ac_objext conftest
$ac_exeext
1846 if { { ac_try
="$ac_link"
1848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>conftest.err
1855 if test -s conftest.err; then
1856 grep -v '^ *+' conftest.err >conftest.er1
1857 cat conftest.er1 >&5
1858 mv -f conftest.er1 conftest.err
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && {
1862 test -z "$ac_c_werror_flag" ||
1863 test ! -s conftest.err
1864 } && test -s conftest$ac_exeext && {
1865 test "$cross_compiling" = yes ||
1866 test -x conftest$ac_exeext
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1875 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1876 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1877 # interfere with the next link command; also delete a directory that is
1878 # left behind by Apple's compiler. We do this before executing the actions.
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1883 } # ac_fn_c_try_link
1885 # ac_fn_c_check_func LINENO FUNC VAR
1886 # ----------------------------------
1887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1888 ac_fn_c_check_func ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1896 if test x$gcc_no_link = xyes; then
1897 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1901 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1903 #define $2 innocuous_$2
1905 /* System header to define __stub macros and hopefully few prototypes,
1906 which can conflict with char $2 (); below.
1907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1908 <limits.h> exists even on freestanding compilers. */
1911 # include <limits.h>
1913 # include <assert.h>
1918 /* Override any GCC internal prototype to avoid an error.
1919 Use char because int might match the return type of a GCC
1920 builtin and then its argument prototype would still apply. */
1925 /* The GNU C library defines this for functions which it implements
1926 to always fail with ENOSYS. Some functions are actually named
1927 something starting with __ and the normal name is an alias. */
1928 #if defined __stub_$2 || defined __stub___$2
1940 if ac_fn_c_try_link "$LINENO"; then :
1945 rm -f core conftest.err conftest.$ac_objext \
1946 conftest$ac_exeext conftest.$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 } # ac_fn_c_check_func
1955 # ac_fn_cxx_try_cpp LINENO
1956 # ------------------------
1957 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1958 ac_fn_cxx_try_cpp ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 if { { ac_try="$ac_cpp conftest.$ac_ext"
1963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1964 *) ac_try_echo
=$ac_try;;
1966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967 $as_echo "$ac_try_echo"; } >&5
1968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1970 if test -s conftest.err
; then
1971 grep -v '^ *+' conftest.err
>conftest.er1
1972 cat conftest.er1
>&5
1973 mv -f conftest.er1 conftest.err
1975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976 test $ac_status = 0; } > conftest.i
&& {
1977 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1978 test ! -s conftest.err
1982 $as_echo "$as_me: failed program was:" >&5
1983 sed 's/^/| /' conftest.
$ac_ext >&5
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 as_fn_set_status
$ac_retval
1990 } # ac_fn_cxx_try_cpp
1992 # ac_fn_cxx_try_link LINENO
1993 # -------------------------
1994 # Try to link conftest.$ac_ext, and return whether this succeeded.
1995 ac_fn_cxx_try_link
()
1997 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1998 rm -f conftest.
$ac_objext conftest
$ac_exeext
1999 if { { ac_try
="$ac_link"
2001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_link") 2>conftest.err
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } && {
2015 test -z "$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 } && test -s conftest$ac_exeext && {
2018 test "$cross_compiling" = yes ||
2019 test -x conftest$ac_exeext
2023 $as_echo "$as_me: failed program was:" >&5
2024 sed 's/^/| /' conftest.$ac_ext >&5
2028 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2029 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2030 # interfere with the next link command; also delete a directory that is
2031 # left behind by Apple's compiler. We do this before executing the actions.
2032 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034 as_fn_set_status $ac_retval
2036 } # ac_fn_cxx_try_link
2038 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2039 # -------------------------------------------
2040 # Tests whether TYPE exists after having included INCLUDES, setting cache
2041 # variable VAR accordingly.
2042 ac_fn_c_check_type ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2046 $as_echo_n "checking for $2... " >&6; }
2047 if eval \${$3+:} false; then :
2048 $as_echo_n "(cached) " >&6
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2063 if ac_fn_c_try_compile "$LINENO"; then :
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2076 if ac_fn_c_try_compile "$LINENO"; then :
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2090 } # ac_fn_c_check_type
2091 cat >config.log <<_ACEOF
2092 This file contains any messages produced by compilers while
2093 running configure, to aid debugging if configure makes a mistake.
2095 It was created by package-unused $as_me version-unused, which was
2096 generated by GNU Autoconf 2.69. Invocation command line was
2108 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2109 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2110 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2111 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2112 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2114 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2115 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2117 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2118 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2119 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2120 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2121 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2122 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2123 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir=.
2132 $as_echo "PATH: $as_dir"
2148 # Keep a trace of the command line.
2149 # Strip out --no-create and --no-recursion so they do not pile up.
2150 # Strip out --silent because we don't want to record it for future runs.
2151 # Also quote any args containing shell meta-characters.
2152 # Make two passes to allow for proper duplicate-argument suppression.
2156 ac_must_keep_next=false
2162 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2164 | -silent | --silent | --silen | --sile | --sil)
2167 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2170 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2172 as_fn_append ac_configure_args1 " '$ac_arg'"
2173 if test $ac_must_keep_next = true; then
2174 ac_must_keep_next=false # Got value, back to normal.
2177 *=* | --config-cache | -C | -disable-* | --disable-* \
2178 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2179 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2180 | -with-* | --with-* | -without-* | --without-* | --x)
2181 case "$ac_configure_args0 " in
2182 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2185 -* ) ac_must_keep_next=true ;;
2188 as_fn_append ac_configure_args " '$ac_arg'"
2193 { ac_configure_args0=; unset ac_configure_args0;}
2194 { ac_configure_args1=; unset ac_configure_args1;}
2196 # When interrupted or exit'd, cleanup temporary files, and complete
2197 # config.log. We remove comments because anyway the quotes in there
2198 # would cause problems or look ugly.
2199 # WARNING: Use '\'' to represent an apostrophe within the trap.
2200 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2201 trap 'exit_status=$?
2202 # Save into config.log some information that might help in debugging.
2206 $as_echo "## ---------------- ##
2207 ## Cache variables. ##
2208 ## ---------------- ##"
2210 # The following way of writing the cache mishandles newlines in values,
2212 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2213 eval ac_val=\$$ac_var
2217 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2218 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2221 _ | IFS | as_nl) ;; #(
2222 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2223 *) { eval $ac_var=; unset $ac_var;} ;;
2228 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2229 *${as_nl}ac_space=\ *)
2231 "s/'\''/'\''\\\\'\'''\''/g;
2232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2242 $as_echo "## ----------------- ##
2243 ## Output variables. ##
2244 ## ----------------- ##"
2246 for ac_var in $ac_subst_vars
2248 eval ac_val=\$$ac_var
2250 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2252 $as_echo "$ac_var='\''$ac_val'\''"
2256 if test -n "$ac_subst_files"; then
2257 $as_echo "## ------------------- ##
2258 ## File substitutions. ##
2259 ## ------------------- ##"
2261 for ac_var in $ac_subst_files
2263 eval ac_val=\$$ac_var
2265 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2267 $as_echo "$ac_var='\''$ac_val'\''"
2272 if test -s confdefs.h; then
2273 $as_echo "## ----------- ##
2280 test "$ac_signal" != 0 &&
2281 $as_echo "$as_me: caught signal $ac_signal"
2282 $as_echo "$as_me: exit $exit_status"
2284 rm -f core *.core core.conftest.* &&
2285 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2288 for ac_signal in 1 2 13 15; do
2289 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2293 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2294 rm -f -r conftest* confdefs.h
2296 $as_echo "/* confdefs.h */" > confdefs.h
2298 # Predefined preprocessor variables.
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_NAME "$PACKAGE_NAME"
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2308 cat >>confdefs.h <<_ACEOF
2309 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE_STRING "$PACKAGE_STRING"
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_URL "$PACKAGE_URL"
2325 # Let the site file select an alternate cache file if it wants to.
2326 # Prefer an explicitly selected file to automatically selected ones.
2329 if test -n "$CONFIG_SITE"; then
2330 # We do not want a PATH search for config.site.
2331 case $CONFIG_SITE in #((
2332 -*) ac_site_file1=./$CONFIG_SITE;;
2333 */*) ac_site_file1=$CONFIG_SITE;;
2334 *) ac_site_file1=./$CONFIG_SITE;;
2336 elif test "x$prefix" != xNONE; then
2337 ac_site_file1=$prefix/share/config.site
2338 ac_site_file2=$prefix/etc/config.site
2340 ac_site_file1=$ac_default_prefix/share/config.site
2341 ac_site_file2=$ac_default_prefix/etc/config.site
2343 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2345 test "x$ac_site_file" = xNONE && continue
2346 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2348 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2349 sed 's/^/| /' "$ac_site_file" >&5
2351 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353 as_fn_error $? "failed to load site
script $ac_site_file
2354 See \
`config.log' for more details" "$LINENO" 5; }
2358 if test -r "$cache_file"; then
2359 # Some versions of bash will fail to source /dev/null (special files
2360 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2361 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2363 $as_echo "$as_me: loading cache $cache_file" >&6;}
2365 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2366 *) . "./$cache_file";;
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2371 $as_echo "$as_me: creating cache $cache_file" >&6;}
2375 # Check that the precious variables saved in the cache have kept the same
2377 ac_cache_corrupted=false
2378 for ac_var in $ac_precious_vars; do
2379 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2380 eval ac_new_set=\$ac_env_${ac_var}_set
2381 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2382 eval ac_new_val=\$ac_env_${ac_var}_value
2383 case $ac_old_set,$ac_new_set in
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2386 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2387 ac_cache_corrupted=: ;;
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2390 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2391 ac_cache_corrupted=: ;;
2394 if test "x$ac_old_val" != "x$ac_new_val"; then
2395 # differences in whitespace do not lead to failure.
2396 ac_old_val_w=`echo x
$ac_old_val`
2397 ac_new_val_w=`echo x
$ac_new_val`
2398 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2400 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2401 ac_cache_corrupted=:
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2404 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2405 eval $ac_var=\$ac_old_val
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2408 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2410 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2413 # Pass precious variables to config.status.
2414 if test "$ac_new_set" = set; then
2416 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2417 *) ac_arg=$ac_var=$ac_new_val ;;
2419 case " $ac_configure_args " in
2420 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2421 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2425 if $ac_cache_corrupted; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2429 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2430 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2432 ## -------------------- ##
2433 ## Main body of script. ##
2434 ## -------------------- ##
2437 ac_cpp='$CPP $CPPFLAGS'
2438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2447 # AC_CONFIG_MACRO_DIR([config])
2448 ac_config_headers="$ac_config_headers config.h"
2451 libtool_VERSION=18:0:0
2454 # Default to --enable-multilib
2455 # Check whether --enable-multilib was given.
2456 if test "${enable_multilib+set}" = set; then :
2457 enableval=$enable_multilib; case "$enableval" in
2458 yes) multilib=yes ;;
2460 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2467 # We may get other options which we leave undocumented:
2468 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2469 # See config-ml.in if you want the gory details.
2471 if test "$srcdir" = "."; then
2472 if test "$with_target_subdir" != "."; then
2473 multi_basedir="$srcdir/$with_multisrctop../.."
2475 multi_basedir="$srcdir/$with_multisrctop.."
2478 multi_basedir="$srcdir/.."
2482 # Even if the default multilib is not a cross compilation,
2483 # it may be that some of the other multilibs are.
2484 if test $cross_compiling = no && test $multilib = yes \
2485 && test "x${with_multisubdir}" != x ; then
2486 cross_compiling=maybe
2489 ac_config_commands="$ac_config_commands default-1"
2495 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2496 if test -f "$ac_dir/install-sh"; then
2498 ac_install_sh="$ac_aux_dir/install-sh -c"
2500 elif test -f "$ac_dir/install.sh"; then
2502 ac_install_sh="$ac_aux_dir/install.sh -c"
2504 elif test -f "$ac_dir/shtool"; then
2506 ac_install_sh="$ac_aux_dir/shtool install -c"
2510 if test -z "$ac_aux_dir"; then
2511 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2514 # These three variables are undocumented and unsupported,
2515 # and are intended to be withdrawn in a future Autoconf release.
2516 # They can cause serious problems if a builder's source tree is in a directory
2517 # whose full name contains unusual characters.
2518 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2519 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2520 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2523 # Expand $ac_aux_dir to an absolute path.
2524 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2527 ac_cpp='$CPP $CPPFLAGS'
2528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2531 if test -n "$ac_tool_prefix"; then
2532 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2533 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535 $as_echo_n "checking for $ac_word... " >&6; }
2536 if ${ac_cv_prog_CC+:} false; then :
2537 $as_echo_n "(cached) " >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC="$CC" # Let the user override the test.
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2549 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2562 $as_echo "$CC" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2565 $as_echo "no" >&6; }
2570 if test -z "$ac_cv_prog_CC"; then
2572 # Extract the first word of "gcc", so it can be a program name with args.
2573 set dummy gcc; ac_word=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$ac_ct_CC"; then
2580 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2589 ac_cv_prog_ac_ct_CC="gcc"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2600 if test -n "$ac_ct_CC"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2602 $as_echo "$ac_ct_CC" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2608 if test "x$ac_ct_CC" = x; then
2611 case $cross_compiling:$ac_tool_warned in
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2615 ac_tool_warned=yes ;;
2623 if test -z "$CC"; then
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2626 set dummy ${ac_tool_prefix}cc; ac_word=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if ${ac_cv_prog_CC+:} false; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC="$CC" # Let the user override the test.
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642 ac_cv_prog_CC="${ac_tool_prefix}cc"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2664 if test -z "$CC"; then
2665 # Extract the first word of "cc", so it can be a program name with args.
2666 set dummy cc; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if ${ac_cv_prog_CC+:} false; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC="$CC" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir=.
2681 for ac_exec_ext in '' $ac_executable_extensions; do
2682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2684 ac_prog_rejected=yes
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test $ac_prog_rejected = yes; then
2696 # We found a bogon in the path, so make sure we never use it.
2697 set dummy $ac_cv_prog_CC
2699 if test $# != 0; then
2700 # We chose a different compiler from the bogus one.
2701 # However, it has the same basename, so the bogon will be chosen
2702 # first if we set CC to just the basename; use the full file name.
2704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2710 if test -n "$CC"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712 $as_echo "$CC" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 for ac_prog in cl.exe
2724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727 $as_echo_n "checking for $ac_word... " >&6; }
2728 if ${ac_cv_prog_CC+:} false; then :
2729 $as_echo_n "(cached) " >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC="$CC" # Let the user override the test.
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2754 $as_echo "$CC" >&6; }
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757 $as_echo "no" >&6; }
2761 test -n "$CC" && break
2764 if test -z "$CC"; then
2766 for ac_prog in cl.exe
2768 # Extract the first word of "$ac_prog", so it can be a program name with args.
2769 set dummy $ac_prog; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2785 ac_cv_prog_ac_ct_CC="$ac_prog"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2805 test -n "$ac_ct_CC" && break
2808 if test "x$ac_ct_CC" = x; then
2811 case $cross_compiling:$ac_tool_warned in
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815 ac_tool_warned=yes ;;
2824 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2827 See \
`config.log' for more details" "$LINENO" 5; }
2829 # Provide some information about the compiler.
2830 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2833 for ac_option in --version -v -V -qversion; do
2834 { { ac_try="$ac_compiler $ac_option >&5"
2836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2837 *) ac_try_echo
=$ac_try;;
2839 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2843 if test -s conftest.err
; then
2845 ... rest of stderr output deleted ...
2846 10q' conftest.err
>conftest.er1
2847 cat conftest.er1
>&5
2849 rm -f conftest.er1 conftest.err
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; }
2854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2860 printf ("hello world\n");
2866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
2867 (eval $ac_link) 2>&5
2869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2870 test $ac_status = 0; }; then :
2875 if test x
$gcc_no_link = xyes
; then
2876 # Setting cross_compile will disable run tests; it will
2877 # also disable AC_CHECK_FILE but that's generally
2878 # correct if we can't link.
2882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2893 ac_clean_files_save
=$ac_clean_files
2894 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2895 # Try to create an executable without -o first, disregard a.out.
2896 # It will help us diagnose broken compilers, and finding out an intuition
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2899 $as_echo_n "checking whether the C compiler works... " >&6; }
2900 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2902 # The possible output files:
2903 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2906 for ac_file
in $ac_files
2909 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2910 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2915 if { { ac_try
="$ac_link_default"
2917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_link_default") 2>&5
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; }; then :
2926 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2927 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2928 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2929 # so that the user can short-circuit this test for compilers unknown to
2931 for ac_file in $ac_files ''
2933 test -f "$ac_file" || continue
2935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2938 # We found the default executable, but exeext='' is most
2942 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2944 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2946 # We set ac_cv_exeext here because the later test for it is not
2947 # safe: cross compilers may not add the suffix if given an `-o'
2948 # argument, so we may need to know it at that point already.
2949 # Even if this section looks crufty: it has the advantage of
2956 test "$ac_cv_exeext" = no && ac_cv_exeext=
2961 if test -z "$ac_file"; then :
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2964 $as_echo "$as_me: failed program was:" >&5
2965 sed 's
/^
/|
/' conftest.$ac_ext >&5
2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2969 as_fn_error 77 "C compiler cannot create executables
2970 See \`config.log
' for more details" "$LINENO" 5; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2973 $as_echo "yes" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2976 $as_echo_n "checking for C compiler default output file name... " >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2978 $as_echo "$ac_file" >&6; }
2979 ac_exeext=$ac_cv_exeext
2981 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2982 ac_clean_files=$ac_clean_files_save
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2984 $as_echo_n "checking for suffix of executables... " >&6; }
2985 if { { ac_try="$ac_link"
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2991 $as_echo "$ac_try_echo"; } >&5
2992 (eval "$ac_link") 2>&5
2994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; }; then :
2996 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2997 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2998 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3000 for ac_file
in conftest.exe conftest conftest.
*; do
3001 test -f "$ac_file" ||
continue
3003 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3004 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3012 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3013 See \`config.log' for more details" "$LINENO" 5; }
3015 rm -f conftest conftest
$ac_cv_exeext
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3017 $as_echo "$ac_cv_exeext" >&6; }
3019 rm -f conftest.
$ac_ext
3020 EXEEXT
=$ac_cv_exeext
3022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3028 FILE *f = fopen ("conftest.out", "w");
3029 return ferror (f) || fclose (f) != 0;
3035 ac_clean_files
="$ac_clean_files conftest.out"
3036 # Check that the compiler produces executables we can run. If not, either
3037 # the compiler is broken, or we cross compile.
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3039 $as_echo_n "checking whether we are cross compiling... " >&6; }
3040 if test "$cross_compiling" != yes; then
3041 { { ac_try
="$ac_link"
3043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link") 2>&5
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }
3052 if { ac_try='./conftest$ac_cv_exeext'
3053 { { case "(($ac_try" in
3054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3055 *) ac_try_echo
=$ac_try;;
3057 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_try") 2>&5
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3062 test $ac_status = 0; }; }; then
3065 if test "$cross_compiling" = maybe
; then
3068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070 as_fn_error $?
"cannot run C compiled programs.
3071 If you meant to cross compile, use \`--host'.
3072 See \`config.log' for more details" "$LINENO" 5; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3077 $as_echo "$cross_compiling" >&6; }
3079 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3080 ac_clean_files
=$ac_clean_files_save
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3083 $as_echo_n "checking for suffix of object files... " >&6; }
3084 if ${ac_cv_objext+:} false
; then :
3085 $as_echo_n "(cached) " >&6
3087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3098 rm -f conftest.o conftest.obj
3099 if { { ac_try
="$ac_compile"
3101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_compile") 2>&5
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; }; then :
3110 for ac_file in conftest.o conftest.obj conftest.*; do
3111 test -f "$ac_file" || continue;
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3119 $as_echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.$ac_ext >&5
3122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3125 See \
`config.log' for more details" "$LINENO" 5; }
3127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3130 $as_echo "$ac_cv_objext" >&6; }
3131 OBJEXT=$ac_cv_objext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3135 if ${ac_cv_c_compiler_gnu+:} false; then :
3136 $as_echo_n "(cached) " >&6
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3152 if ac_fn_c_try_compile "$LINENO"; then :
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3163 if test $ac_compiler_gnu = yes; then
3168 ac_test_CFLAGS=${CFLAGS+set}
3169 ac_save_CFLAGS=$CFLAGS
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3172 if ${ac_cv_prog_cc_g+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 ac_save_c_werror_flag=$ac_c_werror_flag
3176 ac_c_werror_flag=yes
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3190 if ac_fn_c_try_compile "$LINENO"; then :
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3205 if ac_fn_c_try_compile "$LINENO"; then :
3208 ac_c_werror_flag=$ac_save_c_werror_flag
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3221 if ac_fn_c_try_compile "$LINENO"; then :
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 ac_c_werror_flag=$ac_save_c_werror_flag
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3232 $as_echo "$ac_cv_prog_cc_g" >&6; }
3233 if test "$ac_test_CFLAGS" = set; then
3234 CFLAGS=$ac_save_CFLAGS
3235 elif test $ac_cv_prog_cc_g = yes; then
3236 if test "$GCC" = yes; then
3242 if test "$GCC" = yes; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3250 if ${ac_cv_prog_cc_c89+:} false; then :
3251 $as_echo_n "(cached) " >&6
3253 ac_cv_prog_cc_c89=no
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3261 struct buf { int x; };
3262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3263 static char *e (p, i)
3269 static char *f (char * (*g) (char **, int), char **p, ...)
3274 s = g (p, va_arg (v,int));
3279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3280 function prototypes and stuff, but not '\xHH' hex character constants.
3281 These don't provoke an error unfortunately, instead are silently treated
3282 as 'x'. The following induces an error, until -std is added to get
3283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3284 array size at least. It's necessary to write '\x00'==0 to get something
3285 that's true only with -std. */
3286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3289 inside strings and character constants. */
3291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3293 int test (int i, double x);
3294 struct s1 {int (*f) (int a);};
3295 struct s2 {int (*f) (double a);};
3296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3310 CC="$ac_save_CC $ac_arg"
3311 if ac_fn_c_try_compile "$LINENO"; then :
3312 ac_cv_prog_cc_c89=$ac_arg
3314 rm -f core conftest.err conftest.$ac_objext
3315 test "x$ac_cv_prog_cc_c89" != "xno" && break
3317 rm -f conftest.$ac_ext
3322 case "x$ac_cv_prog_cc_c89" in
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3325 $as_echo "none needed" >&6; } ;;
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3328 $as_echo "unsupported" >&6; } ;;
3330 CC="$CC $ac_cv_prog_cc_c89"
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3334 if test "x$ac_cv_prog_cc_c89" != xno; then :
3339 ac_cpp='$CPP $CPPFLAGS'
3340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345 ac_cpp='$CPP $CPPFLAGS'
3346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3350 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3351 if ${am_cv_prog_cc_c_o+:} false; then :
3352 $as_echo_n "(cached) " >&6
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3365 # Make sure it works both with $CC and with simple cc.
3366 # Following AC_PROG_CC_C_O, we do the test twice because some
3367 # compilers refuse to overwrite an existing .o file with -o,
3368 # though they will create one.
3369 am_cv_prog_cc_c_o=yes
3371 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3372 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); } \
3376 && test -f conftest2.$ac_objext; then
3379 am_cv_prog_cc_c_o=no
3383 rm -f core conftest*
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3387 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3388 if test "$am_cv_prog_cc_c_o" != yes; then
3389 # Losing compiler, so override with the script.
3390 # FIXME: It is wrong to rewrite CC.
3391 # But if we don't then we get into trouble of one sort or another.
3392 # A longer-term fix would be to have automake use am__CC in this case,
3393 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3394 CC="$am_aux_dir/compile $CC"
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3405 ac_cpp='$CPP $CPPFLAGS'
3406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3410 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3411 # On Suns, sometimes $CPP names a directory.
3412 if test -n "$CPP" && test -d "$CPP"; then
3415 if test -z "$CPP"; then
3416 if ${ac_cv_prog_CPP+:} false; then :
3417 $as_echo_n "(cached) " >&6
3419 # Double quotes because CPP needs to be expanded
3420 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3423 for ac_c_preproc_warn_flag in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3434 # include <limits.h>
3436 # include <assert.h>
3440 if ac_fn_c_try_cpp "$LINENO"; then :
3443 # Broken: fails on valid input.
3446 rm -f conftest.err conftest.i conftest.$ac_ext
3448 # OK, works on sane cases. Now check whether nonexistent headers
3449 # can be detected and how.
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3452 #include <ac_nonexistent.h>
3454 if ac_fn_c_try_cpp "$LINENO"; then :
3455 # Broken: success on invalid input.
3458 # Passes both tests.
3462 rm -f conftest.err conftest.i conftest.$ac_ext
3465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3466 rm -f conftest.i conftest.err conftest.
$ac_ext
3467 if $ac_preproc_ok; then :
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3480 $as_echo "$CPP" >&6; }
3482 for ac_c_preproc_warn_flag
in '' yes
3484 # Use a header file that comes with gcc, so configuring glibc
3485 # with a fresh cross-compiler works.
3486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3487 # <limits.h> exists even on freestanding compilers.
3488 # On the NeXT, cc -E runs the code through the compiler's parser,
3489 # not just through cpp. "Syntax error" is here to catch this case.
3490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3493 # include <limits.h>
3495 # include <assert.h>
3499 if ac_fn_c_try_cpp
"$LINENO"; then :
3502 # Broken: fails on valid input.
3505 rm -f conftest.err conftest.i conftest.
$ac_ext
3507 # OK, works on sane cases. Now check whether nonexistent headers
3508 # can be detected and how.
3509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3511 #include <ac_nonexistent.h>
3513 if ac_fn_c_try_cpp
"$LINENO"; then :
3514 # Broken: success on invalid input.
3517 # Passes both tests.
3521 rm -f conftest.err conftest.i conftest.
$ac_ext
3524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3525 rm -f conftest.i conftest.err conftest.
$ac_ext
3526 if $ac_preproc_ok; then :
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3532 See \`config.log' for more details" "$LINENO" 5; }
3536 ac_cpp
='$CPP $CPPFLAGS'
3537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3543 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3544 if ${ac_cv_path_GREP+:} false
; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -z "$GREP"; then
3548 ac_path_GREP_found
=false
3549 # Loop through the user's path and test for each of PROGNAME-LIST
3550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3551 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3554 test -z "$as_dir" && as_dir
=.
3555 for ac_prog
in grep ggrep
; do
3556 for ac_exec_ext
in '' $ac_executable_extensions; do
3557 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3558 as_fn_executable_p
"$ac_path_GREP" ||
continue
3559 # Check for GNU ac_path_GREP and select it if it is found.
3560 # Check for GNU $ac_path_GREP
3561 case `"$ac_path_GREP" --version 2>&1` in
3563 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3566 $as_echo_n 0123456789 >"conftest.in"
3569 cat "conftest.in" "conftest.in" >"conftest.tmp"
3570 mv "conftest.tmp" "conftest.in"
3571 cp "conftest.in" "conftest.nl"
3572 $as_echo 'GREP' >> "conftest.nl"
3573 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3574 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3575 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3576 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3577 # Best one so far, save it but keep looking for a better one
3578 ac_cv_path_GREP
="$ac_path_GREP"
3579 ac_path_GREP_max
=$ac_count
3581 # 10*(2^10) chars as input seems more than enough
3582 test $ac_count -gt 10 && break
3584 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3587 $ac_path_GREP_found && break 3
3592 if test -z "$ac_cv_path_GREP"; then
3593 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3596 ac_cv_path_GREP
=$GREP
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3601 $as_echo "$ac_cv_path_GREP" >&6; }
3602 GREP
="$ac_cv_path_GREP"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3606 $as_echo_n "checking for egrep... " >&6; }
3607 if ${ac_cv_path_EGREP+:} false
; then :
3608 $as_echo_n "(cached) " >&6
3610 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3611 then ac_cv_path_EGREP
="$GREP -E"
3613 if test -z "$EGREP"; then
3614 ac_path_EGREP_found
=false
3615 # Loop through the user's path and test for each of PROGNAME-LIST
3616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3620 test -z "$as_dir" && as_dir
=.
3621 for ac_prog
in egrep; do
3622 for ac_exec_ext
in '' $ac_executable_extensions; do
3623 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3624 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3625 # Check for GNU ac_path_EGREP and select it if it is found.
3626 # Check for GNU $ac_path_EGREP
3627 case `"$ac_path_EGREP" --version 2>&1` in
3629 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3632 $as_echo_n 0123456789 >"conftest.in"
3635 cat "conftest.in" "conftest.in" >"conftest.tmp"
3636 mv "conftest.tmp" "conftest.in"
3637 cp "conftest.in" "conftest.nl"
3638 $as_echo 'EGREP' >> "conftest.nl"
3639 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3640 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3641 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3642 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3643 # Best one so far, save it but keep looking for a better one
3644 ac_cv_path_EGREP
="$ac_path_EGREP"
3645 ac_path_EGREP_max
=$ac_count
3647 # 10*(2^10) chars as input seems more than enough
3648 test $ac_count -gt 10 && break
3650 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3653 $ac_path_EGREP_found && break 3
3658 if test -z "$ac_cv_path_EGREP"; then
3659 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3662 ac_cv_path_EGREP
=$EGREP
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3668 $as_echo "$ac_cv_path_EGREP" >&6; }
3669 EGREP
="$ac_cv_path_EGREP"
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3673 $as_echo_n "checking for ANSI C header files... " >&6; }
3674 if ${ac_cv_header_stdc+:} false
; then :
3675 $as_echo_n "(cached) " >&6
3677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3692 if ac_fn_c_try_compile
"$LINENO"; then :
3693 ac_cv_header_stdc
=yes
3695 ac_cv_header_stdc
=no
3697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3699 if test $ac_cv_header_stdc = yes; then
3700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3707 $EGREP "memchr" >/dev
/null
2>&1; then :
3710 ac_cv_header_stdc
=no
3716 if test $ac_cv_header_stdc = yes; then
3717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3724 $EGREP "free" >/dev
/null
2>&1; then :
3727 ac_cv_header_stdc
=no
3733 if test $ac_cv_header_stdc = yes; then
3734 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3735 if test "$cross_compiling" = yes; then :
3738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3742 #if ((' ' & 0x0FF) == 0x020)
3743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3746 # define ISLOWER(c) \
3747 (('a' <= (c) && (c) <= 'i') \
3748 || ('j' <= (c) && (c) <= 'r') \
3749 || ('s' <= (c) && (c) <= 'z'))
3750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3758 for (i = 0; i < 256; i++)
3759 if (XOR (islower (i), ISLOWER (i))
3760 || toupper (i) != TOUPPER (i))
3765 if ac_fn_c_try_run
"$LINENO"; then :
3768 ac_cv_header_stdc
=no
3770 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3771 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3777 $as_echo "$ac_cv_header_stdc" >&6; }
3778 if test $ac_cv_header_stdc = yes; then
3780 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3784 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3785 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3786 inttypes.h stdint.h unistd.h
3788 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3789 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3791 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3792 cat >>confdefs.h
<<_ACEOF
3793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3802 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3803 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3810 if test "$MINIX" = yes; then
3812 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3815 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3818 $as_echo "#define _MINIX 1" >>confdefs.h
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3824 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3825 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3826 $as_echo_n "(cached) " >&6
3828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3831 # define __EXTENSIONS__ 1
3832 $ac_includes_default
3841 if ac_fn_c_try_compile
"$LINENO"; then :
3842 ac_cv_safe_to_define___extensions__
=yes
3844 ac_cv_safe_to_define___extensions__
=no
3846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3849 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3850 test $ac_cv_safe_to_define___extensions__ = yes &&
3851 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3853 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3855 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3857 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3859 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3863 # Do not delete or change the following two lines. For why, see
3864 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3865 # Make sure we can run config.sub.
3866 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3867 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3870 $as_echo_n "checking build system type... " >&6; }
3871 if ${ac_cv_build+:} false
; then :
3872 $as_echo_n "(cached) " >&6
3874 ac_build_alias
=$build_alias
3875 test "x$ac_build_alias" = x
&&
3876 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3877 test "x$ac_build_alias" = x
&&
3878 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3879 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3880 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3884 $as_echo "$ac_cv_build" >&6; }
3885 case $ac_cv_build in
3887 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3890 ac_save_IFS
=$IFS; IFS
='-'
3896 # Remember, the first character of IFS is used to create $*,
3897 # except with old shells:
3900 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3904 $as_echo_n "checking host system type... " >&6; }
3905 if ${ac_cv_host+:} false
; then :
3906 $as_echo_n "(cached) " >&6
3908 if test "x$host_alias" = x
; then
3909 ac_cv_host
=$ac_cv_build
3911 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3912 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3917 $as_echo "$ac_cv_host" >&6; }
3920 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3923 ac_save_IFS
=$IFS; IFS
='-'
3929 # Remember, the first character of IFS is used to create $*,
3930 # except with old shells:
3933 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3937 $as_echo_n "checking target system type... " >&6; }
3938 if ${ac_cv_target+:} false
; then :
3939 $as_echo_n "(cached) " >&6
3941 if test "x$target_alias" = x
; then
3942 ac_cv_target
=$ac_cv_host
3944 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3945 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3950 $as_echo "$ac_cv_target" >&6; }
3951 case $ac_cv_target in
3953 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3955 target
=$ac_cv_target
3956 ac_save_IFS
=$IFS; IFS
='-'
3962 # Remember, the first character of IFS is used to create $*,
3963 # except with old shells:
3966 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3969 # The aliases save the names the user supplied, while $host etc.
3970 # will get canonicalized.
3971 test -n "$target_alias" &&
3972 test "$program_prefix$program_suffix$program_transform_name" = \
3974 program_prefix
=${target_alias}-
3976 target_alias
=${target_alias-$host_alias}
3979 if test "$build" != "$host"; then
3980 # We are being configured with some form of cross compiler.
3981 GLIBCXX_IS_NATIVE
=false
3982 case "$host","$target" in
3983 # Darwin crosses can use the host system's libraries and headers,
3984 # because of the fat library support. Of course, it must be the
3985 # same version of Darwin on both sides. Allow the user to
3986 # just say --target=foo-darwin without a version number to mean
3987 # "the version on this system".
3988 *-*-darwin*,*-*-darwin*)
3989 hostos
=`echo $host | sed 's/.*-darwin/darwin/'`
3990 targetos
=`echo $target | sed 's/.*-darwin/darwin/'`
3991 if test $hostos = $targetos ||
test $targetos = darwin
; then
3992 GLIBCXX_IS_NATIVE
=true
4001 GLIBCXX_IS_NATIVE
=true
4004 # Runs configure.host, and assorted other critical bits. Sets
4005 # up critical shell variables.
4008 # For gettimeofday support.
4009 GLIBCXX_CHECK_GETTIMEOFDAY
4011 # For clock_gettime, nanosleep and sched_yield support.
4012 GLIBCXX_ENABLE_LIBSTDCXX_TIME
4015 am__api_version
='1.15'
4017 # Find a good install program. We prefer a C program (faster),
4018 # so one script is as good as another. But avoid the broken or
4019 # incompatible versions:
4020 # SysV /etc/install, /usr/sbin/install
4021 # SunOS /usr/etc/install
4022 # IRIX /sbin/install
4024 # AmigaOS /C/install, which installs bootblocks on floppy discs
4025 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4026 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4027 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4028 # OS/2's system install, which has a completely different semantic
4029 # ./install, which can be erroneously created by make from ./install.sh.
4030 # Reject install programs that cannot install multiple files.
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4032 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4033 if test -z "$INSTALL"; then
4034 if ${ac_cv_path_install+:} false
; then :
4035 $as_echo_n "(cached) " >&6
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 test -z "$as_dir" && as_dir
=.
4042 # Account for people who put trailing slashes in PATH elements.
4043 case $as_dir/ in #((
4044 .
/ | .
// |
/[cC
]/* | \
4045 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4046 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4049 # OSF1 and SCO ODT 3.0 have their own names for install.
4050 # Don't use installbsd from OSF since it installs stuff as root
4052 for ac_prog
in ginstall scoinst
install; do
4053 for ac_exec_ext
in '' $ac_executable_extensions; do
4054 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4055 if test $ac_prog = install &&
4056 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4057 # AIX install. It has an incompatible calling convention.
4059 elif test $ac_prog = install &&
4060 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4061 # program-specific install script used by HP pwplus--don't use.
4064 rm -rf conftest.one conftest.two conftest.dir
4065 echo one
> conftest.one
4066 echo two
> conftest.two
4068 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4069 test -s conftest.one
&& test -s conftest.two
&&
4070 test -s conftest.dir
/conftest.one
&&
4071 test -s conftest.dir
/conftest.two
4073 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4086 rm -rf conftest.one conftest.two conftest.dir
4089 if test "${ac_cv_path_install+set}" = set; then
4090 INSTALL
=$ac_cv_path_install
4092 # As a last resort, use the slow shell script. Don't cache a
4093 # value for INSTALL within a source directory, because that will
4094 # break other packages using the cache if that directory is
4095 # removed, or if the value is a relative name.
4096 INSTALL
=$ac_install_sh
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4100 $as_echo "$INSTALL" >&6; }
4102 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4103 # It thinks the first close brace ends the variable substitution.
4104 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4106 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4108 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4111 $as_echo_n "checking whether build environment is sane... " >&6; }
4112 # Reject unsafe characters in $srcdir or the absolute working directory
4113 # name. Accept space and tab only in the latter.
4117 *[\\\"\
#\$\&\'\`$am_lf]*)
4118 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4121 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4122 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4125 # Do 'set' in a subshell so we don't clobber the current shell's
4126 # arguments. Must try -L first in case configure is actually a
4127 # symlink; some systems play weird games with the mod time of symlinks
4128 # (eg FreeBSD returns the mod time of the symlink's containing
4132 for am_try
in 1 2; do
4133 echo "timestamp, slept: $am_has_slept" > conftest.
file
4134 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4135 if test "$*" = "X"; then
4137 set X
`ls -t "$srcdir/configure" conftest.file`
4139 if test "$*" != "X $srcdir/configure conftest.file" \
4140 && test "$*" != "X conftest.file $srcdir/configure"; then
4142 # If neither matched, then we have a broken ls. This can happen
4143 # if, for instance, CONFIG_SHELL is bash and it inherits a
4144 # broken ls alias from the environment. This has actually
4145 # happened. Such a system could not be considered "sane".
4146 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4147 alias in your environment" "$LINENO" 5
4149 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4156 test "$2" = conftest.
file
4162 as_fn_error $?
"newly created file is older than distributed files!
4163 Check your system clock" "$LINENO" 5
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4166 $as_echo "yes" >&6; }
4167 # If we didn't sleep, we still need to ensure time stamps of config.status and
4168 # generated files are strictly newer.
4170 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4177 test "$program_prefix" != NONE
&&
4178 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4179 # Use a double $ so make ignores it.
4180 test "$program_suffix" != NONE
&&
4181 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4182 # Double any \ or $.
4183 # By default was `s,x,x', remove it if useless.
4184 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4185 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4187 if test x
"${MISSING+set}" != xset
; then
4190 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4192 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4195 # Use eval to expand $SHELL
4196 if eval "$MISSING --is-lightweight"; then
4197 am_missing_run
="$MISSING "
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4201 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4204 if test x
"${install_sh+set}" != xset
; then
4207 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4209 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4213 # Installed binaries are usually stripped using 'strip' when the user
4214 # run "make install-strip". However 'strip' might not be the right
4215 # tool to use in cross-compilation environments, therefore Automake
4216 # will honor the 'STRIP' environment variable to overrule this program.
4217 if test "$cross_compiling" != no
; then
4218 if test -n "$ac_tool_prefix"; then
4219 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4220 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4222 $as_echo_n "checking for $ac_word... " >&6; }
4223 if ${ac_cv_prog_STRIP+:} false
; then :
4224 $as_echo_n "(cached) " >&6
4226 if test -n "$STRIP"; then
4227 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4233 test -z "$as_dir" && as_dir
=.
4234 for ac_exec_ext
in '' $ac_executable_extensions; do
4235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4236 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 STRIP
=$ac_cv_prog_STRIP
4247 if test -n "$STRIP"; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4249 $as_echo "$STRIP" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4257 if test -z "$ac_cv_prog_STRIP"; then
4259 # Extract the first word of "strip", so it can be a program name with args.
4260 set dummy strip
; ac_word
=$2
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 $as_echo_n "checking for $ac_word... " >&6; }
4263 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4264 $as_echo_n "(cached) " >&6
4266 if test -n "$ac_ct_STRIP"; then
4267 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir
=.
4274 for ac_exec_ext
in '' $ac_executable_extensions; do
4275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4276 ac_cv_prog_ac_ct_STRIP
="strip"
4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4287 if test -n "$ac_ct_STRIP"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4289 $as_echo "$ac_ct_STRIP" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4295 if test "x$ac_ct_STRIP" = x
; then
4298 case $cross_compiling:$ac_tool_warned in
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4302 ac_tool_warned
=yes ;;
4307 STRIP
="$ac_cv_prog_STRIP"
4311 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4314 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4315 if test -z "$MKDIR_P"; then
4316 if ${ac_cv_path_mkdir+:} false
; then :
4317 $as_echo_n "(cached) " >&6
4319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4320 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4323 test -z "$as_dir" && as_dir
=.
4324 for ac_prog
in mkdir gmkdir
; do
4325 for ac_exec_ext
in '' $ac_executable_extensions; do
4326 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4327 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4328 'mkdir (GNU coreutils) '* | \
4329 'mkdir (coreutils) '* | \
4330 'mkdir (fileutils) '4.1*)
4331 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4341 test -d .
/--version && rmdir .
/--version
4342 if test "${ac_cv_path_mkdir+set}" = set; then
4343 MKDIR_P
="$ac_cv_path_mkdir -p"
4345 # As a last resort, use the slow shell script. Don't cache a
4346 # value for MKDIR_P within a source directory, because that will
4347 # break other packages using the cache if that directory is
4348 # removed, or if the value is a relative name.
4349 MKDIR_P
="$ac_install_sh -d"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4353 $as_echo "$MKDIR_P" >&6; }
4355 for ac_prog
in gawk mawk nawk
awk
4357 # Extract the first word of "$ac_prog", so it can be a program name with args.
4358 set dummy
$ac_prog; ac_word
=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if ${ac_cv_prog_AWK+:} false
; then :
4362 $as_echo_n "(cached) " >&6
4364 if test -n "$AWK"; then
4365 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4371 test -z "$as_dir" && as_dir
=.
4372 for ac_exec_ext
in '' $ac_executable_extensions; do
4373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4374 ac_cv_prog_AWK
="$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 if test -n "$AWK"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4387 $as_echo "$AWK" >&6; }
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$AWK" && break
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4398 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4400 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4401 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4402 $as_echo_n "(cached) " >&6
4404 cat >conftest.
make <<\_ACEOF
4407 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4409 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4410 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4412 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4414 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4418 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4420 $as_echo "yes" >&6; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4425 SET_MAKE
="MAKE=${MAKE-make}"
4428 rm -rf .tst
2>/dev
/null
4429 mkdir .tst
2>/dev
/null
4430 if test -d .tst
; then
4435 rmdir .tst
2>/dev
/null
4437 DEPDIR
="${am__leading_dot}deps"
4439 ac_config_commands
="$ac_config_commands depfiles"
4442 am_make
=${MAKE-make}
4443 cat > confinc
<< 'END'
4445 @
echo this is the am__doit target
4448 # If we don't find an include directive, just comment out the code.
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4450 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4454 # First try GNU make style include.
4455 echo "include confinc" > confmf
4456 # Ignore all kinds of additional output from 'make'.
4457 case `$am_make -s -f confmf 2> /dev/null` in #(
4458 *the\ am__doit\ target
*)
4464 # Now try BSD make style include.
4465 if test "$am__include" = "#"; then
4466 echo '.include "confinc"' > confmf
4467 case `$am_make -s -f confmf 2> /dev/null` in #(
4468 *the\ am__doit\ target
*)
4469 am__include
=.include
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4478 $as_echo "$_am_result" >&6; }
4479 rm -f confinc confmf
4481 # Check whether --enable-dependency-tracking was given.
4482 if test "${enable_dependency_tracking+set}" = set; then :
4483 enableval
=$enable_dependency_tracking;
4486 if test "x$enable_dependency_tracking" != xno
; then
4487 am_depcomp
="$ac_aux_dir/depcomp"
4491 if test "x$enable_dependency_tracking" != xno; then
4500 # Check whether --enable-silent-rules was given.
4501 if test "${enable_silent_rules+set}" = set; then :
4502 enableval
=$enable_silent_rules;
4505 case $enable_silent_rules in # (((
4506 yes) AM_DEFAULT_VERBOSITY
=0;;
4507 no
) AM_DEFAULT_VERBOSITY
=1;;
4508 *) AM_DEFAULT_VERBOSITY
=1;;
4510 am_make
=${MAKE-make}
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4512 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4513 if ${am_cv_make_support_nested_variables+:} false
; then :
4514 $as_echo_n "(cached) " >&6
4516 if $as_echo 'TRUE=$(BAR$(V))
4522 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4523 am_cv_make_support_nested_variables
=yes
4525 am_cv_make_support_nested_variables
=no
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4529 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4530 if test $am_cv_make_support_nested_variables = yes; then
4532 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4534 AM_V
=$AM_DEFAULT_VERBOSITY
4535 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4539 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4540 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4541 # is not polluted with repeated "-I."
4542 am__isrc
=' -I$(srcdir)'
4543 # test to see if srcdir already configured
4544 if test -f $srcdir/config.status
; then
4545 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4549 # test whether we have cygpath
4550 if test -z "$CYGPATH_W"; then
4551 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4552 CYGPATH_W
='cygpath -w'
4559 # Define the identity of the package.
4561 VERSION
='version-unused'
4564 # Some tools Automake needs.
4566 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4569 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4572 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4575 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4578 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4580 # For better backward compatibility. To be removed once Automake 1.9.x
4581 # dies out for good. For more background, see:
4582 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4583 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4584 mkdir_p
='$(MKDIR_P)'
4586 # We need awk for the "check" target (and possibly the TAP driver). The
4587 # system "awk" is bad on some platforms.
4588 # Always define AMTAR for backward compatibility. Yes, it's still used
4589 # in the wild :-( We should find a proper way to deprecate it ...
4593 # We'll loop over all known methods to create a tar archive until one works.
4594 _am_tools
='gnutar pax cpio none'
4596 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4602 depcc
="$CC" am_compiler_list
=
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4605 $as_echo_n "checking dependency style of $depcc... " >&6; }
4606 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4607 $as_echo_n "(cached) " >&6
4609 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4610 # We make a subdir and do the tests there. Otherwise we can end up
4611 # making bogus files that we don't know about and never remove. For
4612 # instance it was reported that on HP-UX the gcc test will end up
4613 # making a dummy file named 'D' -- because '-MD' means "put the output
4617 # Copy depcomp to subdir because otherwise we won't find it if we're
4618 # using a relative directory.
4619 cp "$am_depcomp" conftest.dir
4621 # We will build objects and dependencies in a subdirectory because
4622 # it helps to detect inapplicable dependency modes. For instance
4623 # both Tru64's cc and ICC support -MD to output dependencies as a
4624 # side effect of compilation, but ICC will put the dependencies in
4625 # the current directory while Tru64 will put them in the object
4629 am_cv_CC_dependencies_compiler_type
=none
4630 if test "$am_compiler_list" = ""; then
4631 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4634 case " $depcc " in #(
4635 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4638 for depmode
in $am_compiler_list; do
4639 # Setup a source with many dependencies, because some compilers
4640 # like to wrap large dependency lists on column 80 (with \), and
4641 # we should not choose a depcomp mode which is confused by this.
4643 # We need to recreate these files for each test, as the compiler may
4644 # overwrite some of them when testing with obscure command lines.
4645 # This happens at least with the AIX C compiler.
4647 for i
in 1 2 3 4 5 6; do
4648 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4649 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4650 # Solaris 10 /bin/sh.
4651 echo '/* dummy */' > sub
/conftst
$i.h
4653 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4655 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4656 # mode. It turns out that the SunPro C++ compiler does not properly
4657 # handle '-M -o', and we need to detect this. Also, some Intel
4658 # versions had trouble with output in subdirs.
4659 am__obj
=sub
/conftest.
${OBJEXT-o}
4660 am__minus_obj
="-o $am__obj"
4663 # This depmode causes a compiler race in universal mode.
4664 test "$am__universal" = false ||
continue
4667 # After this tag, mechanisms are not by side-effect, so they'll
4668 # only be used when explicitly requested.
4669 if test "x$enable_dependency_tracking" = xyes
; then
4675 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4676 # This compiler won't grok '-c -o', but also, the minuso test has
4677 # not run yet. These depmodes are late enough in the game, and
4678 # so weak that their functioning should not be impacted.
4679 am__obj
=conftest.
${OBJEXT-o}
4684 if depmode
=$depmode \
4685 source=sub
/conftest.c object
=$am__obj \
4686 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4687 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4688 >/dev
/null
2>conftest.err
&&
4689 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4690 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4691 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4692 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4693 # icc doesn't choke on unknown options, it will just issue warnings
4694 # or remarks (even with -Werror). So we grep stderr for any message
4695 # that says an option was ignored or not supported.
4696 # When given -MP, icc 7.0 and 7.1 complain thusly:
4697 # icc: Command line warning: ignoring option '-M'; no argument required
4698 # The diagnosis changed in icc 8.0:
4699 # icc: Command line remark: option '-MP' not supported
4700 if (grep 'ignoring option' conftest.err ||
4701 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4702 am_cv_CC_dependencies_compiler_type
=$depmode
4711 am_cv_CC_dependencies_compiler_type
=none
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4716 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4717 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4720 test "x$enable_dependency_tracking" != xno \
4721 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4723 am__fastdepCC_FALSE
='#'
4725 am__fastdepCC_TRUE
='#'
4726 am__fastdepCC_FALSE
=
4731 # POSIX will say in a future version that running "rm -f" with no argument
4732 # is OK; and we want to be able to make that assumption in our Makefile
4733 # recipes. So use an aggressive probe to check that the usage we want is
4734 # actually supported "in the wild" to an acceptable degree.
4735 # See automake bug#10828.
4736 # To make any issue more visible, cause the running configure to be aborted
4737 # by default if the 'rm' program in use doesn't match our expectations; the
4738 # user can still override this though.
4739 if rm -f && rm -fr && rm -rf; then : OK
; else
4743 Your 'rm' program seems unable to run without file operands specified
4744 on the command line, even when the '-f' option is present. This is contrary
4745 to the behaviour of most rm programs out there, and not conforming with
4746 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4748 Please tell bug-automake@gnu.org about your system, including the value
4749 of your $PATH and any error possibly output before this message. This
4750 can help us improve future automake versions.
4753 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4754 echo 'Configuration will proceed anyway, since you have set the' >&2
4755 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4759 Aborting the configuration process, to ensure you take notice of the issue.
4761 You can download and install GNU coreutils to get an 'rm' implementation
4762 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4764 If you want to complete the configuration process using your problematic
4765 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4766 to "yes", and re-run configure.
4769 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4778 # Check whether --with-cross-host was given.
4779 if test "${with_cross_host+set}" = set; then :
4780 withval
=$with_cross_host;
4784 # Checks for header files.
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4786 $as_echo_n "checking for ANSI C header files... " >&6; }
4787 if ${ac_cv_header_stdc+:} false
; then :
4788 $as_echo_n "(cached) " >&6
4790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4805 if ac_fn_c_try_compile
"$LINENO"; then :
4806 ac_cv_header_stdc
=yes
4808 ac_cv_header_stdc
=no
4810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4812 if test $ac_cv_header_stdc = yes; then
4813 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4820 $EGREP "memchr" >/dev
/null
2>&1; then :
4823 ac_cv_header_stdc
=no
4829 if test $ac_cv_header_stdc = yes; then
4830 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4837 $EGREP "free" >/dev
/null
2>&1; then :
4840 ac_cv_header_stdc
=no
4846 if test $ac_cv_header_stdc = yes; then
4847 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4848 if test "$cross_compiling" = yes; then :
4851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4855 #if ((' ' & 0x0FF) == 0x020)
4856 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4857 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4859 # define ISLOWER(c) \
4860 (('a' <= (c) && (c) <= 'i') \
4861 || ('j' <= (c) && (c) <= 'r') \
4862 || ('s' <= (c) && (c) <= 'z'))
4863 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4866 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4871 for (i = 0; i < 256; i++)
4872 if (XOR (islower (i), ISLOWER (i))
4873 || toupper (i) != TOUPPER (i))
4878 if ac_fn_c_try_run
"$LINENO"; then :
4881 ac_cv_header_stdc
=no
4883 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4884 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4890 $as_echo "$ac_cv_header_stdc" >&6; }
4891 if test $ac_cv_header_stdc = yes; then
4893 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4898 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4899 if ${ac_cv_header_sys_wait_h+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4904 #include <sys/types.h>
4905 #include <sys/wait.h>
4907 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4910 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4918 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4923 if ac_fn_c_try_compile
"$LINENO"; then :
4924 ac_cv_header_sys_wait_h
=yes
4926 ac_cv_header_sys_wait_h
=no
4928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4931 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4932 if test $ac_cv_header_sys_wait_h = yes; then
4934 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4938 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
4939 if test "x$ac_cv_header_math_h" = xyes
; then :
4941 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
4947 for ac_header
in limits.h stddef.h string.h
strings.h stdlib.h \
4949 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
4950 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
4952 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
4953 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
4954 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
4955 netinet
/in.h netdb.h sys
/uio.h sys
/stat.h wchar.h
4957 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4958 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4959 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4960 cat >>confdefs.h
<<_ACEOF
4961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4971 case ${build_alias} in
4972 "") build_noncanonical
=${build} ;;
4973 *) build_noncanonical
=${build_alias} ;;
4976 case ${host_alias} in
4977 "") host_noncanonical
=${build_noncanonical} ;;
4978 *) host_noncanonical
=${host_alias} ;;
4983 case ${target_alias} in
4984 "") target_noncanonical
=${host_noncanonical} ;;
4985 *) target_noncanonical
=${target_alias} ;;
4991 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
4992 # have matching libraries, they should use host libraries: Makefile.tpl
4993 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
4994 # However, they still use the build modules, because the corresponding
4995 # host modules (e.g. bison) are only built for the host when bootstrap
4997 # - build_subdir is where we find build modules, and never changes.
4998 # - build_libsubdir is where we find build libraries, and can be overridden.
5000 # Prefix 'build-' so this never conflicts with target_subdir.
5001 build_subdir
="build-${build_noncanonical}"
5003 # Check whether --with-build-libsubdir was given.
5004 if test "${with_build_libsubdir+set}" = set; then :
5005 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
5007 build_libsubdir
="$build_subdir"
5010 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
5011 if ( test $srcdir = .
&& test -d gcc
) \
5012 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
5013 host_subdir
="host-${host_noncanonical}"
5018 target_subdir
=${target_noncanonical}
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
5022 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
5023 # Check whether --enable-version-specific-runtime-libs was given.
5024 if test "${enable_version_specific_runtime_libs+set}" = set; then :
5025 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
5026 yes) version_specific_libs
=yes ;;
5027 no
) version_specific_libs
=no
;;
5028 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
5031 version_specific_libs
=no
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
5035 $as_echo "$version_specific_libs" >&6; }
5038 # Check whether --with-slibdir was given.
5039 if test "${with_slibdir+set}" = set; then :
5040 withval
=$with_slibdir; slibdir
="$with_slibdir"
5042 if test "${version_specific_libs}" = yes; then
5043 slibdir
='$(libsubdir)'
5044 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
5045 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
5053 # Command-line options.
5054 # Very limited version of AC_MAINTAINER_MODE.
5055 # Check whether --enable-maintainer-mode was given.
5056 if test "${enable_maintainer_mode+set}" = set; then :
5057 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
5060 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
5062 maintainer_mode
=${enableval}
5071 # Calculate toolexeclibdir
5072 # Also toolexecdir, though it's only used in toolexeclibdir
5073 case ${version_specific_libs} in
5075 # Need the gcc compiler version to know where to install libraries
5076 # and header files if --enable-version-specific-runtime-libs option
5078 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
5079 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5082 if test -n "$with_cross_host" &&
5083 test x
"$with_cross_host" != x
"no"; then
5084 # Install a library built with a cross compiler in tooldir, not libdir.
5085 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
5086 toolexeclibdir
='$(toolexecdir)/lib'
5088 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
5089 toolexeclibdir
='$(libdir)'
5091 multi_os_directory
=`$CC -print-multi-os-directory`
5092 case $multi_os_directory in
5093 .
) ;; # Avoid trailing /.
5094 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5107 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5108 # Check whether --enable-maintainer-mode was given.
5109 if test "${enable_maintainer_mode+set}" = set; then :
5110 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5112 USE_MAINTAINER_MODE
=no
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5116 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5117 if test $USE_MAINTAINER_MODE = yes; then
5118 MAINTAINER_MODE_TRUE
=
5119 MAINTAINER_MODE_FALSE
='#'
5121 MAINTAINER_MODE_TRUE
='#'
5122 MAINTAINER_MODE_FALSE
=
5125 MAINT
=$MAINTAINER_MODE_TRUE
5129 # Check the compiler.
5130 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5131 # We must force CC to /not/ be precious variables; otherwise
5132 # the wrong, non-multilib-adjusted value will be used in multilibs.
5133 # As a side effect, we have to subst CFLAGS ourselves.
5138 ac_cpp
='$CPP $CPPFLAGS'
5139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5142 if test -n "$ac_tool_prefix"; then
5143 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5144 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_CC+:} false
; then :
5148 $as_echo_n "(cached) " >&6
5150 if test -n "$CC"; then
5151 ac_cv_prog_CC
="$CC" # Let the user override the test.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 if test -n "$CC"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5173 $as_echo "$CC" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5181 if test -z "$ac_cv_prog_CC"; then
5183 # Extract the first word of "gcc", so it can be a program name with args.
5184 set dummy gcc
; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$ac_ct_CC"; then
5191 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_ac_ct_CC
="gcc"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5211 if test -n "$ac_ct_CC"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5213 $as_echo "$ac_ct_CC" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5219 if test "x$ac_ct_CC" = x
; then
5222 case $cross_compiling:$ac_tool_warned in
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5226 ac_tool_warned
=yes ;;
5234 if test -z "$CC"; then
5235 if test -n "$ac_tool_prefix"; then
5236 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5237 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_CC+:} false
; then :
5241 $as_echo_n "(cached) " >&6
5243 if test -n "$CC"; then
5244 ac_cv_prog_CC
="$CC" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 if test -n "$CC"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5266 $as_echo "$CC" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5275 if test -z "$CC"; then
5276 # Extract the first word of "cc", so it can be a program name with args.
5277 set dummy cc
; ac_word
=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if ${ac_cv_prog_CC+:} false
; then :
5281 $as_echo_n "(cached) " >&6
5283 if test -n "$CC"; then
5284 ac_cv_prog_CC
="$CC" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5294 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5295 ac_prog_rejected
=yes
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 if test $ac_prog_rejected = yes; then
5307 # We found a bogon in the path, so make sure we never use it.
5308 set dummy
$ac_cv_prog_CC
5310 if test $# != 0; then
5311 # We chose a different compiler from the bogus one.
5312 # However, it has the same basename, so the bogon will be chosen
5313 # first if we set CC to just the basename; use the full file name.
5315 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5321 if test -n "$CC"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5323 $as_echo "$CC" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5331 if test -z "$CC"; then
5332 if test -n "$ac_tool_prefix"; then
5333 for ac_prog
in cl.exe
5335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5336 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_CC+:} false
; then :
5340 $as_echo_n "(cached) " >&6
5342 if test -n "$CC"; then
5343 ac_cv_prog_CC
="$CC" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 if test -n "$CC"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5365 $as_echo "$CC" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5372 test -n "$CC" && break
5375 if test -z "$CC"; then
5377 for ac_prog
in cl.exe
5379 # Extract the first word of "$ac_prog", so it can be a program name with args.
5380 set dummy
$ac_prog; ac_word
=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5384 $as_echo_n "(cached) " >&6
5386 if test -n "$ac_ct_CC"; then
5387 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir
=.
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_prog_ac_ct_CC
="$ac_prog"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5407 if test -n "$ac_ct_CC"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5409 $as_echo "$ac_ct_CC" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5416 test -n "$ac_ct_CC" && break
5419 if test "x$ac_ct_CC" = x
; then
5422 case $cross_compiling:$ac_tool_warned in
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5426 ac_tool_warned
=yes ;;
5435 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5437 as_fn_error $?
"no acceptable C compiler found in \$PATH
5438 See \`config.log' for more details" "$LINENO" 5; }
5440 # Provide some information about the compiler.
5441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5444 for ac_option
in --version -v -V -qversion; do
5445 { { ac_try
="$ac_compiler $ac_option >&5"
5447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5448 *) ac_try_echo=$ac_try;;
5450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5451 $as_echo "$ac_try_echo"; } >&5
5452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5454 if test -s conftest.err; then
5456 ... rest of stderr output deleted ...
5457 10q' conftest.err >conftest.er1
5458 cat conftest.er1 >&5
5460 rm -f conftest.er1 conftest.err
5461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5462 test $ac_status = 0; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5466 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5467 if ${ac_cv_c_compiler_gnu+:} false; then :
5468 $as_echo_n "(cached) " >&6
5470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5471 /* end confdefs.h. */
5484 if ac_fn_c_try_compile "$LINENO"; then :
5489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5490 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5494 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5495 if test $ac_compiler_gnu = yes; then
5500 ac_test_CFLAGS=${CFLAGS+set}
5501 ac_save_CFLAGS=$CFLAGS
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5503 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5504 if ${ac_cv_prog_cc_g+:} false; then :
5505 $as_echo_n "(cached) " >&6
5507 ac_save_c_werror_flag=$ac_c_werror_flag
5508 ac_c_werror_flag=yes
5511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5512 /* end confdefs.h. */
5522 if ac_fn_c_try_compile "$LINENO"; then :
5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5537 if ac_fn_c_try_compile "$LINENO"; then :
5540 ac_c_werror_flag=$ac_save_c_werror_flag
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5543 /* end confdefs.h. */
5553 if ac_fn_c_try_compile "$LINENO"; then :
5556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5561 ac_c_werror_flag=$ac_save_c_werror_flag
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5564 $as_echo "$ac_cv_prog_cc_g" >&6; }
5565 if test "$ac_test_CFLAGS" = set; then
5566 CFLAGS=$ac_save_CFLAGS
5567 elif test $ac_cv_prog_cc_g = yes; then
5568 if test "$GCC" = yes; then
5574 if test "$GCC" = yes; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5581 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5582 if ${ac_cv_prog_cc_c89+:} false; then :
5583 $as_echo_n "(cached) " >&6
5585 ac_cv_prog_cc_c89=no
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5593 struct buf { int x; };
5594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5595 static char *e (p, i)
5601 static char *f (char * (*g) (char **, int), char **p, ...)
5606 s = g (p, va_arg (v,int));
5611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5612 function prototypes and stuff, but not '\xHH' hex character constants.
5613 These don't provoke an error unfortunately, instead are silently treated
5614 as 'x'. The following induces an error, until -std is added to get
5615 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5616 array size at least. It's necessary to write '\x00'==0 to get something
5617 that's true only with -std. */
5618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5620 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5621 inside strings and character constants. */
5623 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5625 int test (int i, double x);
5626 struct s1 {int (*f) (int a);};
5627 struct s2 {int (*f) (double a);};
5628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5634 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5639 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5640 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5642 CC="$ac_save_CC $ac_arg"
5643 if ac_fn_c_try_compile "$LINENO"; then :
5644 ac_cv_prog_cc_c89=$ac_arg
5646 rm -f core conftest.err conftest.$ac_objext
5647 test "x$ac_cv_prog_cc_c89" != "xno" && break
5649 rm -f conftest.$ac_ext
5654 case "x$ac_cv_prog_cc_c89" in
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5657 $as_echo "none needed" >&6; } ;;
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5660 $as_echo "unsupported" >&6; } ;;
5662 CC="$CC $ac_cv_prog_cc_c89"
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5664 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5666 if test "x$ac_cv_prog_cc_c89" != xno; then :
5671 ac_cpp='$CPP $CPPFLAGS'
5672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5677 ac_cpp='$CPP $CPPFLAGS'
5678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5682 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5683 if ${am_cv_prog_cc_c_o+:} false; then :
5684 $as_echo_n "(cached) " >&6
5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5697 # Make sure it works both with $CC and with simple cc.
5698 # Following AC_PROG_CC_C_O, we do the test twice because some
5699 # compilers refuse to overwrite an existing .o file with -o,
5700 # though they will create one.
5701 am_cv_prog_cc_c_o=yes
5703 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5704 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); } \
5708 && test -f conftest2.$ac_objext; then
5711 am_cv_prog_cc_c_o=no
5715 rm -f core conftest*
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5719 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5720 if test "$am_cv_prog_cc_c_o" != yes; then
5721 # Losing compiler, so override with the script.
5722 # FIXME: It is wrong to rewrite CC.
5723 # But if we don't then we get into trouble of one sort or another.
5724 # A longer-term fix would be to have automake use am__CC in this case,
5725 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5726 CC="$am_aux_dir/compile $CC"
5729 ac_cpp='$CPP $CPPFLAGS'
5730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5736 ac_cpp='$CXXCPP $CPPFLAGS'
5737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5740 if test -z "$CXX"; then
5741 if test -n "$CCC"; then
5744 if test -n "$ac_tool_prefix"; then
5745 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_CXX+:} false; then :
5752 $as_echo_n "(cached) " >&6
5754 if test -n "$CXX"; then
5755 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 if test -n "$CXX"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5777 $as_echo "$CXX" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5784 test -n "$CXX" && break
5787 if test -z "$CXX"; then
5789 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5791 # Extract the first word of "$ac_prog", so it can be a program name with args.
5792 set dummy $ac_prog; ac_word=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5796 $as_echo_n "(cached) " >&6
5798 if test -n "$ac_ct_CXX"; then
5799 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5808 ac_cv_prog_ac_ct_CXX="$ac_prog"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5819 if test -n "$ac_ct_CXX"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5821 $as_echo "$ac_ct_CXX" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5828 test -n "$ac_ct_CXX" && break
5831 if test "x$ac_ct_CXX" = x; then
5834 case $cross_compiling:$ac_tool_warned in
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5838 ac_tool_warned=yes ;;
5846 # Provide some information about the compiler.
5847 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5850 for ac_option in --version -v -V -qversion; do
5851 { { ac_try="$ac_compiler $ac_option >&5"
5853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5854 *) ac_try_echo
=$ac_try;;
5856 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5857 $as_echo "$ac_try_echo"; } >&5
5858 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5860 if test -s conftest.err
; then
5862 ... rest of stderr output deleted ...
5863 10q' conftest.err
>conftest.er1
5864 cat conftest.er1
>&5
5866 rm -f conftest.er1 conftest.err
5867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5868 test $ac_status = 0; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5872 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5873 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5874 $as_echo_n "(cached) " >&6
5876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5890 if ac_fn_cxx_try_compile
"$LINENO"; then :
5895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5896 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5900 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5901 if test $ac_compiler_gnu = yes; then
5906 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5907 ac_save_CXXFLAGS
=$CXXFLAGS
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5909 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5910 if ${ac_cv_prog_cxx_g+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5913 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5914 ac_cxx_werror_flag
=yes
5917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5928 if ac_fn_cxx_try_compile
"$LINENO"; then :
5929 ac_cv_prog_cxx_g
=yes
5932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5943 if ac_fn_cxx_try_compile
"$LINENO"; then :
5946 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5959 if ac_fn_cxx_try_compile
"$LINENO"; then :
5960 ac_cv_prog_cxx_g
=yes
5962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5967 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5970 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5971 if test "$ac_test_CXXFLAGS" = set; then
5972 CXXFLAGS
=$ac_save_CXXFLAGS
5973 elif test $ac_cv_prog_cxx_g = yes; then
5974 if test "$GXX" = yes; then
5980 if test "$GXX" = yes; then
5987 ac_cpp
='$CPP $CPPFLAGS'
5988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5992 depcc
="$CXX" am_compiler_list
=
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5995 $as_echo_n "checking dependency style of $depcc... " >&6; }
5996 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5997 $as_echo_n "(cached) " >&6
5999 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6000 # We make a subdir and do the tests there. Otherwise we can end up
6001 # making bogus files that we don't know about and never remove. For
6002 # instance it was reported that on HP-UX the gcc test will end up
6003 # making a dummy file named 'D' -- because '-MD' means "put the output
6007 # Copy depcomp to subdir because otherwise we won't find it if we're
6008 # using a relative directory.
6009 cp "$am_depcomp" conftest.dir
6011 # We will build objects and dependencies in a subdirectory because
6012 # it helps to detect inapplicable dependency modes. For instance
6013 # both Tru64's cc and ICC support -MD to output dependencies as a
6014 # side effect of compilation, but ICC will put the dependencies in
6015 # the current directory while Tru64 will put them in the object
6019 am_cv_CXX_dependencies_compiler_type
=none
6020 if test "$am_compiler_list" = ""; then
6021 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6024 case " $depcc " in #(
6025 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6028 for depmode
in $am_compiler_list; do
6029 # Setup a source with many dependencies, because some compilers
6030 # like to wrap large dependency lists on column 80 (with \), and
6031 # we should not choose a depcomp mode which is confused by this.
6033 # We need to recreate these files for each test, as the compiler may
6034 # overwrite some of them when testing with obscure command lines.
6035 # This happens at least with the AIX C compiler.
6037 for i
in 1 2 3 4 5 6; do
6038 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6039 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6040 # Solaris 10 /bin/sh.
6041 echo '/* dummy */' > sub
/conftst
$i.h
6043 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6045 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6046 # mode. It turns out that the SunPro C++ compiler does not properly
6047 # handle '-M -o', and we need to detect this. Also, some Intel
6048 # versions had trouble with output in subdirs.
6049 am__obj
=sub
/conftest.
${OBJEXT-o}
6050 am__minus_obj
="-o $am__obj"
6053 # This depmode causes a compiler race in universal mode.
6054 test "$am__universal" = false ||
continue
6057 # After this tag, mechanisms are not by side-effect, so they'll
6058 # only be used when explicitly requested.
6059 if test "x$enable_dependency_tracking" = xyes
; then
6065 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6066 # This compiler won't grok '-c -o', but also, the minuso test has
6067 # not run yet. These depmodes are late enough in the game, and
6068 # so weak that their functioning should not be impacted.
6069 am__obj
=conftest.
${OBJEXT-o}
6074 if depmode
=$depmode \
6075 source=sub
/conftest.c object
=$am__obj \
6076 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6077 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6078 >/dev
/null
2>conftest.err
&&
6079 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6080 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6081 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6082 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6083 # icc doesn't choke on unknown options, it will just issue warnings
6084 # or remarks (even with -Werror). So we grep stderr for any message
6085 # that says an option was ignored or not supported.
6086 # When given -MP, icc 7.0 and 7.1 complain thusly:
6087 # icc: Command line warning: ignoring option '-M'; no argument required
6088 # The diagnosis changed in icc 8.0:
6089 # icc: Command line remark: option '-MP' not supported
6090 if (grep 'ignoring option' conftest.err ||
6091 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6092 am_cv_CXX_dependencies_compiler_type
=$depmode
6101 am_cv_CXX_dependencies_compiler_type
=none
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6106 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6107 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6110 test "x$enable_dependency_tracking" != xno \
6111 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6112 am__fastdepCXX_TRUE
=
6113 am__fastdepCXX_FALSE
='#'
6115 am__fastdepCXX_TRUE
='#'
6116 am__fastdepCXX_FALSE
=
6120 # By default we simply use the C compiler to build assembly code.
6122 test "${CCAS+set}" = set || CCAS
=$CC
6123 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6127 depcc
="$CCAS" am_compiler_list
=
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6130 $as_echo_n "checking dependency style of $depcc... " >&6; }
6131 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6132 $as_echo_n "(cached) " >&6
6134 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6135 # We make a subdir and do the tests there. Otherwise we can end up
6136 # making bogus files that we don't know about and never remove. For
6137 # instance it was reported that on HP-UX the gcc test will end up
6138 # making a dummy file named 'D' -- because '-MD' means "put the output
6142 # Copy depcomp to subdir because otherwise we won't find it if we're
6143 # using a relative directory.
6144 cp "$am_depcomp" conftest.dir
6146 # We will build objects and dependencies in a subdirectory because
6147 # it helps to detect inapplicable dependency modes. For instance
6148 # both Tru64's cc and ICC support -MD to output dependencies as a
6149 # side effect of compilation, but ICC will put the dependencies in
6150 # the current directory while Tru64 will put them in the object
6154 am_cv_CCAS_dependencies_compiler_type
=none
6155 if test "$am_compiler_list" = ""; then
6156 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6161 for depmode
in $am_compiler_list; do
6162 # Setup a source with many dependencies, because some compilers
6163 # like to wrap large dependency lists on column 80 (with \), and
6164 # we should not choose a depcomp mode which is confused by this.
6166 # We need to recreate these files for each test, as the compiler may
6167 # overwrite some of them when testing with obscure command lines.
6168 # This happens at least with the AIX C compiler.
6170 for i
in 1 2 3 4 5 6; do
6171 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6172 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6173 # Solaris 10 /bin/sh.
6174 echo '/* dummy */' > sub
/conftst
$i.h
6176 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6178 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6179 # mode. It turns out that the SunPro C++ compiler does not properly
6180 # handle '-M -o', and we need to detect this. Also, some Intel
6181 # versions had trouble with output in subdirs.
6182 am__obj
=sub
/conftest.
${OBJEXT-o}
6183 am__minus_obj
="-o $am__obj"
6186 # This depmode causes a compiler race in universal mode.
6187 test "$am__universal" = false ||
continue
6190 # After this tag, mechanisms are not by side-effect, so they'll
6191 # only be used when explicitly requested.
6192 if test "x$enable_dependency_tracking" = xyes
; then
6198 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6199 # This compiler won't grok '-c -o', but also, the minuso test has
6200 # not run yet. These depmodes are late enough in the game, and
6201 # so weak that their functioning should not be impacted.
6202 am__obj
=conftest.
${OBJEXT-o}
6207 if depmode
=$depmode \
6208 source=sub
/conftest.c object
=$am__obj \
6209 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6210 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6211 >/dev
/null
2>conftest.err
&&
6212 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6213 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6214 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6215 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6216 # icc doesn't choke on unknown options, it will just issue warnings
6217 # or remarks (even with -Werror). So we grep stderr for any message
6218 # that says an option was ignored or not supported.
6219 # When given -MP, icc 7.0 and 7.1 complain thusly:
6220 # icc: Command line warning: ignoring option '-M'; no argument required
6221 # The diagnosis changed in icc 8.0:
6222 # icc: Command line remark: option '-MP' not supported
6223 if (grep 'ignoring option' conftest.err ||
6224 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6225 am_cv_CCAS_dependencies_compiler_type
=$depmode
6234 am_cv_CCAS_dependencies_compiler_type
=none
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6239 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6240 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6243 test "x$enable_dependency_tracking" != xno \
6244 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6245 am__fastdepCCAS_TRUE
=
6246 am__fastdepCCAS_FALSE
='#'
6248 am__fastdepCCAS_TRUE
='#'
6249 am__fastdepCCAS_FALSE
=
6257 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
6258 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
6259 # in both places for now and restore CFLAGS at the end of config.
6260 save_CFLAGS
="$CFLAGS"
6262 # Find other programs we need.
6263 if test -n "$ac_tool_prefix"; then
6264 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6265 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6267 $as_echo_n "checking for $ac_word... " >&6; }
6268 if ${ac_cv_prog_AR+:} false
; then :
6269 $as_echo_n "(cached) " >&6
6271 if test -n "$AR"; then
6272 ac_cv_prog_AR
="$AR" # Let the user override the test.
6274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6278 test -z "$as_dir" && as_dir
=.
6279 for ac_exec_ext
in '' $ac_executable_extensions; do
6280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6281 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 if test -n "$AR"; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6294 $as_echo "$AR" >&6; }
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 $as_echo "no" >&6; }
6302 if test -z "$ac_cv_prog_AR"; then
6304 # Extract the first word of "ar", so it can be a program name with args.
6305 set dummy
ar; ac_word
=$2
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 $as_echo_n "checking for $ac_word... " >&6; }
6308 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6309 $as_echo_n "(cached) " >&6
6311 if test -n "$ac_ct_AR"; then
6312 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6318 test -z "$as_dir" && as_dir
=.
6319 for ac_exec_ext
in '' $ac_executable_extensions; do
6320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6321 ac_cv_prog_ac_ct_AR
="ar"
6322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6332 if test -n "$ac_ct_AR"; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6334 $as_echo "$ac_ct_AR" >&6; }
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337 $as_echo "no" >&6; }
6340 if test "x$ac_ct_AR" = x
; then
6343 case $cross_compiling:$ac_tool_warned in
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6347 ac_tool_warned
=yes ;;
6355 if test -n "$ac_tool_prefix"; then
6356 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6357 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6359 $as_echo_n "checking for $ac_word... " >&6; }
6360 if ${ac_cv_prog_NM+:} false
; then :
6361 $as_echo_n "(cached) " >&6
6363 if test -n "$NM"; then
6364 ac_cv_prog_NM
="$NM" # Let the user override the test.
6366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6370 test -z "$as_dir" && as_dir
=.
6371 for ac_exec_ext
in '' $ac_executable_extensions; do
6372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6373 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6384 if test -n "$NM"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
6386 $as_echo "$NM" >&6; }
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389 $as_echo "no" >&6; }
6394 if test -z "$ac_cv_prog_NM"; then
6396 # Extract the first word of "nm", so it can be a program name with args.
6397 set dummy nm
; ac_word
=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
6401 $as_echo_n "(cached) " >&6
6403 if test -n "$ac_ct_NM"; then
6404 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6410 test -z "$as_dir" && as_dir
=.
6411 for ac_exec_ext
in '' $ac_executable_extensions; do
6412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6413 ac_cv_prog_ac_ct_NM
="nm"
6414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6423 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6424 if test -n "$ac_ct_NM"; then
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
6426 $as_echo "$ac_ct_NM" >&6; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6429 $as_echo "no" >&6; }
6432 if test "x$ac_ct_NM" = x
; then
6435 case $cross_compiling:$ac_tool_warned in
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6439 ac_tool_warned
=yes ;;
6447 if test -n "$ac_tool_prefix"; then
6448 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6449 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if ${ac_cv_prog_RANLIB+:} false
; then :
6453 $as_echo_n "(cached) " >&6
6455 if test -n "$RANLIB"; then
6456 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir
=.
6463 for ac_exec_ext
in '' $ac_executable_extensions; do
6464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6475 RANLIB
=$ac_cv_prog_RANLIB
6476 if test -n "$RANLIB"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6478 $as_echo "$RANLIB" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6486 if test -z "$ac_cv_prog_RANLIB"; then
6487 ac_ct_RANLIB
=$RANLIB
6488 # Extract the first word of "ranlib", so it can be a program name with args.
6489 set dummy ranlib
; ac_word
=$2
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6491 $as_echo_n "checking for $ac_word... " >&6; }
6492 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6493 $as_echo_n "(cached) " >&6
6495 if test -n "$ac_ct_RANLIB"; then
6496 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6502 test -z "$as_dir" && as_dir
=.
6503 for ac_exec_ext
in '' $ac_executable_extensions; do
6504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6515 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6516 if test -n "$ac_ct_RANLIB"; then
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6518 $as_echo "$ac_ct_RANLIB" >&6; }
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6521 $as_echo "no" >&6; }
6524 if test "x$ac_ct_RANLIB" = x
; then
6525 RANLIB
="ranlib-not-found-in-path-error"
6527 case $cross_compiling:$ac_tool_warned in
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6531 ac_tool_warned
=yes ;;
6533 RANLIB
=$ac_ct_RANLIB
6536 RANLIB
="$ac_cv_prog_RANLIB"
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6540 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6542 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6543 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6544 $as_echo_n "(cached) " >&6
6546 cat >conftest.
make <<\_ACEOF
6549 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6551 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6552 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6554 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6556 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6560 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6562 $as_echo "yes" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6567 SET_MAKE
="MAKE=${MAKE-make}"
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6579 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6584 macro_version
='2.2.7a'
6585 macro_revision
='1.3134'
6599 ltmain
="$ac_aux_dir/ltmain.sh"
6601 # Backslashify metacharacters that are still active within
6602 # double-quoted strings.
6603 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6605 # Same as above, but do not quote variable references.
6606 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6608 # Sed substitution to delay expansion of an escaped shell variable in a
6609 # double_quote_subst'ed string.
6610 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6612 # Sed substitution to delay expansion of an escaped single quote.
6613 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6615 # Sed substitution to avoid accidental globbing in evaled expressions
6616 no_glob_subst
='s/\*/\\\*/g'
6618 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6619 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6620 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6623 $as_echo_n "checking how to print strings... " >&6; }
6624 # Test print first, because it will be a builtin if present.
6625 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6626 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6628 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6631 # Use this function as a fallback that always works.
6632 func_fallback_echo ()
6634 eval 'cat <<_LTECHO_EOF
6638 ECHO='func_fallback_echo
'
6641 # func_echo_all arg...
6642 # Invoke $ECHO with all args, space-separated.
6649 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6650 $as_echo "printf" >&6; } ;;
6651 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6652 $as_echo "print -r" >&6; } ;;
6653 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6654 $as_echo "cat" >&6; } ;;
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6671 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6672 if ${ac_cv_path_SED+:} false; then :
6673 $as_echo_n "(cached) " >&6
6675 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6676 for ac_i in 1 2 3 4 5 6 7; do
6677 ac_script="$ac_script$as_nl$ac_script"
6679 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6680 { ac_script=; unset ac_script;}
6681 if test -z "$SED"; then
6682 ac_path_SED_found=false
6683 # Loop through the user's path and
test for each of PROGNAME-LIST
6684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6688 test -z "$as_dir" && as_dir
=.
6689 for ac_prog
in sed gsed
; do
6690 for ac_exec_ext
in '' $ac_executable_extensions; do
6691 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6692 as_fn_executable_p
"$ac_path_SED" ||
continue
6693 # Check for GNU ac_path_SED and select it if it is found.
6694 # Check for GNU $ac_path_SED
6695 case `"$ac_path_SED" --version 2>&1` in
6697 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6700 $as_echo_n 0123456789 >"conftest.in"
6703 cat "conftest.in" "conftest.in" >"conftest.tmp"
6704 mv "conftest.tmp" "conftest.in"
6705 cp "conftest.in" "conftest.nl"
6706 $as_echo '' >> "conftest.nl"
6707 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6708 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6709 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6710 if test $ac_count -gt ${ac_path_SED_max-0}; then
6711 # Best one so far, save it but keep looking for a better one
6712 ac_cv_path_SED
="$ac_path_SED"
6713 ac_path_SED_max
=$ac_count
6715 # 10*(2^10) chars as input seems more than enough
6716 test $ac_count -gt 10 && break
6718 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6721 $ac_path_SED_found && break 3
6726 if test -z "$ac_cv_path_SED"; then
6727 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6735 $as_echo "$ac_cv_path_SED" >&6; }
6736 SED
="$ac_cv_path_SED"
6739 test -z "$SED" && SED
=sed
6740 Xsed
="$SED -e 1s/^X//"
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6753 $as_echo_n "checking for fgrep... " >&6; }
6754 if ${ac_cv_path_FGREP+:} false
; then :
6755 $as_echo_n "(cached) " >&6
6757 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6758 then ac_cv_path_FGREP
="$GREP -F"
6760 if test -z "$FGREP"; then
6761 ac_path_FGREP_found
=false
6762 # Loop through the user's path and test for each of PROGNAME-LIST
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6764 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6767 test -z "$as_dir" && as_dir
=.
6768 for ac_prog
in fgrep
; do
6769 for ac_exec_ext
in '' $ac_executable_extensions; do
6770 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6771 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6772 # Check for GNU ac_path_FGREP and select it if it is found.
6773 # Check for GNU $ac_path_FGREP
6774 case `"$ac_path_FGREP" --version 2>&1` in
6776 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6779 $as_echo_n 0123456789 >"conftest.in"
6782 cat "conftest.in" "conftest.in" >"conftest.tmp"
6783 mv "conftest.tmp" "conftest.in"
6784 cp "conftest.in" "conftest.nl"
6785 $as_echo 'FGREP' >> "conftest.nl"
6786 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6787 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6788 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6789 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6790 # Best one so far, save it but keep looking for a better one
6791 ac_cv_path_FGREP
="$ac_path_FGREP"
6792 ac_path_FGREP_max
=$ac_count
6794 # 10*(2^10) chars as input seems more than enough
6795 test $ac_count -gt 10 && break
6797 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6800 $ac_path_FGREP_found && break 3
6805 if test -z "$ac_cv_path_FGREP"; then
6806 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6809 ac_cv_path_FGREP
=$FGREP
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6815 $as_echo "$ac_cv_path_FGREP" >&6; }
6816 FGREP
="$ac_cv_path_FGREP"
6819 test -z "$GREP" && GREP
=grep
6839 # Check whether --with-gnu-ld was given.
6840 if test "${with_gnu_ld+set}" = set; then :
6841 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6847 if test "$GCC" = yes; then
6848 # Check if gcc -print-prog-name=ld gives a path.
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6850 $as_echo_n "checking for ld used by $CC... " >&6; }
6853 # gcc leaves a trailing carriage return which upsets mingw
6854 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6856 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6859 # Accept absolute paths.
6861 re_direlt
='/[^/][^/]*/\.\./'
6862 # Canonicalize the pathname of ld
6863 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6864 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6865 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6867 test -z "$LD" && LD
="$ac_prog"
6870 # If it fails, then pretend we aren't using GCC.
6874 # If it is relative, then search for the first ld in PATH.
6878 elif test "$with_gnu_ld" = yes; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6880 $as_echo_n "checking for GNU ld... " >&6; }
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6883 $as_echo_n "checking for non-GNU ld... " >&6; }
6885 if ${lt_cv_path_LD+:} false
; then :
6886 $as_echo_n "(cached) " >&6
6888 if test -z "$LD"; then
6889 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6890 for ac_dir
in $PATH; do
6892 test -z "$ac_dir" && ac_dir
=.
6893 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6894 lt_cv_path_LD
="$ac_dir/$ac_prog"
6895 # Check to see if the program is GNU ld. I'd rather use --version,
6896 # but apparently some variants of GNU ld only accept -v.
6897 # Break only if it was the GNU/non-GNU ld that we prefer.
6898 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6899 *GNU
* |
*'with BFD'*)
6900 test "$with_gnu_ld" != no
&& break
6903 test "$with_gnu_ld" != yes && break
6910 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6915 if test -n "$LD"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6917 $as_echo "$LD" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6922 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6924 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6925 if ${lt_cv_prog_gnu_ld+:} false
; then :
6926 $as_echo_n "(cached) " >&6
6928 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6929 case `$LD -v 2>&1 </dev/null` in
6930 *GNU
* |
*'with BFD'*)
6931 lt_cv_prog_gnu_ld
=yes
6934 lt_cv_prog_gnu_ld
=no
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6939 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6940 with_gnu_ld
=$lt_cv_prog_gnu_ld
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6951 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6952 if ${lt_cv_path_NM+:} false
; then :
6953 $as_echo_n "(cached) " >&6
6955 if test -n "$NM"; then
6956 # Let the user override the nm to test.
6957 lt_nm_to_check
="$NM"
6959 lt_nm_to_check
="${ac_tool_prefix}nm"
6960 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6961 lt_nm_to_check
="$lt_nm_to_check nm"
6964 for lt_tmp_nm
in "$lt_nm_to_check"; do
6965 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6966 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6968 test -z "$ac_dir" && ac_dir
=.
6969 # Strip out any user-provided options from the nm to test twice,
6970 # the first time to test to see if nm (rather than its options) has
6971 # an explicit path, the second time to yield a file which can be
6973 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6974 case "$tmp_nm_path" in
6975 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6976 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6978 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6979 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6980 # Check to see if the nm accepts a BSD-compat flag.
6981 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6982 # nm: unknown option "B" ignored
6983 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6984 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6988 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6990 lt_cv_path_NM
="$tmp_nm -p"
6994 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6995 continue # so that we can try to find one that supports BSD flags
7004 : ${lt_cv_path_NM=no}
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7007 $as_echo "$lt_cv_path_NM" >&6; }
7008 if test "$lt_cv_path_NM" != "no"; then
7011 # Didn't find any BSD compatible name lister, look for dumpbin.
7012 if test -n "$DUMPBIN"; then :
7013 # Let the user override the test.
7015 if test -n "$ac_tool_prefix"; then
7016 for ac_prog
in dumpbin
"link -dump"
7018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7019 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7023 $as_echo_n "(cached) " >&6
7025 if test -n "$DUMPBIN"; then
7026 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir
=.
7033 for ac_exec_ext
in '' $ac_executable_extensions; do
7034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 DUMPBIN
=$ac_cv_prog_DUMPBIN
7046 if test -n "$DUMPBIN"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7048 $as_echo "$DUMPBIN" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7055 test -n "$DUMPBIN" && break
7058 if test -z "$DUMPBIN"; then
7059 ac_ct_DUMPBIN
=$DUMPBIN
7060 for ac_prog
in dumpbin
"link -dump"
7062 # Extract the first word of "$ac_prog", so it can be a program name with args.
7063 set dummy
$ac_prog; ac_word
=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7067 $as_echo_n "(cached) " >&6
7069 if test -n "$ac_ct_DUMPBIN"; then
7070 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir
=.
7077 for ac_exec_ext
in '' $ac_executable_extensions; do
7078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7079 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7090 if test -n "$ac_ct_DUMPBIN"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7092 $as_echo "$ac_ct_DUMPBIN" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7099 test -n "$ac_ct_DUMPBIN" && break
7102 if test "x$ac_ct_DUMPBIN" = x
; then
7105 case $cross_compiling:$ac_tool_warned in
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7109 ac_tool_warned
=yes ;;
7111 DUMPBIN
=$ac_ct_DUMPBIN
7115 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7117 DUMPBIN
="$DUMPBIN -symbols"
7125 if test "$DUMPBIN" != ":"; then
7129 test -z "$NM" && NM
=nm
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7137 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7138 if ${lt_cv_nm_interface+:} false
; then :
7139 $as_echo_n "(cached) " >&6
7141 lt_cv_nm_interface
="BSD nm"
7142 echo "int some_variable = 0;" > conftest.
$ac_ext
7143 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7144 (eval "$ac_compile" 2>conftest.err
)
7145 cat conftest.err
>&5
7146 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7147 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7148 cat conftest.err
>&5
7149 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7150 cat conftest.out
>&5
7151 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7152 lt_cv_nm_interface
="MS dumpbin"
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7157 $as_echo "$lt_cv_nm_interface" >&6; }
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7160 $as_echo_n "checking whether ln -s works... " >&6; }
7162 if test "$LN_S" = "ln -s"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7164 $as_echo "yes" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7167 $as_echo "no, using $LN_S" >&6; }
7170 # find the maximum length of command line arguments
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7172 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7173 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7174 $as_echo_n "(cached) " >&6
7181 # On DJGPP, this test can blow up pretty badly due to problems in libc
7182 # (any single argument exceeding 2000 bytes causes a buffer overrun
7183 # during glob expansion). Even if it were fixed, the result of this
7184 # check would be larger than it should be.
7185 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7189 # Under GNU Hurd, this test is not required because there is
7190 # no limit to the length of command line arguments.
7191 # Libtool will interpret -1 as no limit whatsoever
7192 lt_cv_sys_max_cmd_len
=-1;
7195 cygwin
* | mingw
* | cegcc
*)
7196 # On Win9x/ME, this test blows up -- it succeeds, but takes
7197 # about 5 minutes as the teststring grows exponentially.
7198 # Worse, since 9x/ME are not pre-emptively multitasking,
7199 # you end up with a "frozen" computer, even though with patience
7200 # the test eventually succeeds (with a max line length of 256k).
7201 # Instead, let's just punt: use the minimum linelength reported by
7202 # all of the supported platforms: 8192 (on NT/2K/XP).
7203 lt_cv_sys_max_cmd_len
=8192;
7207 # On MiNT this can take a long time and run out of memory.
7208 lt_cv_sys_max_cmd_len
=8192;
7212 # On AmigaOS with pdksh, this test takes hours, literally.
7213 # So we just punt and use a minimum line length of 8192.
7214 lt_cv_sys_max_cmd_len
=8192;
7217 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7218 # This has been around since 386BSD, at least. Likely further.
7219 if test -x /sbin
/sysctl
; then
7220 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7221 elif test -x /usr
/sbin
/sysctl
; then
7222 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7224 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7226 # And add a safety zone
7227 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7228 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7232 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7233 lt_cv_sys_max_cmd_len
=196608
7237 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7238 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7239 # nice to cause kernel panics so lets avoid the loop below.
7240 # First set a reasonable default.
7241 lt_cv_sys_max_cmd_len
=16384
7243 if test -x /sbin
/sysconfig
; then
7244 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7245 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7250 lt_cv_sys_max_cmd_len
=102400
7252 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7253 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7254 if test -n "$kargmax"; then
7255 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7257 lt_cv_sys_max_cmd_len
=32768
7261 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7262 if test -n "$lt_cv_sys_max_cmd_len"; then
7263 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7264 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7266 # Make teststring a little bigger before we do anything with it.
7267 # a 1K string should be a reasonable start.
7268 for i
in 1 2 3 4 5 6 7 8 ; do
7269 teststring
=$teststring$teststring
7271 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7272 # If test is not a shell built-in, we'll probably end up computing a
7273 # maximum length that is only half of the actual maximum length, but
7275 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7276 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7277 test $i != 17 # 1/2 MB should be enough
7280 teststring
=$teststring$teststring
7282 # Only check the string length outside the loop.
7283 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7285 # Add a significant safety factor because C++ compilers can tack on
7286 # massive amounts of additional arguments before passing them to the
7287 # linker. It appears as though 1/2 is a usable value.
7288 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7295 if test -n $lt_cv_sys_max_cmd_len ; then
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7297 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7300 $as_echo "none" >&6; }
7302 max_cmd_len
=$lt_cv_sys_max_cmd_len
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7314 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7315 # Try some XSI features
7318 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7320 && eval 'test $(( 1 + 1 )) -eq 2 \
7321 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7324 $as_echo "$xsi_shell" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7328 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7330 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7332 && lt_shell_append=yes
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7334 $as_echo "$lt_shell_append" >&6; }
7337 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7347 # test EBCDIC or ASCII
7348 case `echo X|tr X '\101'` in
7349 A) # ASCII based system
7350 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7351 lt_SP2NL='tr \040 \012'
7352 lt_NL2SP='tr \015\012 \040\040'
7354 *) # EBCDIC based system
7355 lt_SP2NL='tr \100 \n'
7356 lt_NL2SP='tr \r\n \100\100'
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7369 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7370 if ${lt_cv_ld_reload_flag+:} false; then :
7371 $as_echo_n "(cached
) " >&6
7373 lt_cv_ld_reload_flag='-r'
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7376 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7377 reload_flag=$lt_cv_ld_reload_flag
7378 case $reload_flag in
7380 *) reload_flag=" $reload_flag" ;;
7382 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7385 if test "$GCC" = yes; then
7386 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7388 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7401 if test -n "$ac_tool_prefix"; then
7402 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7403 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7405 $as_echo_n "checking
for $ac_word...
" >&6; }
7406 if ${ac_cv_prog_OBJDUMP+:} false; then :
7407 $as_echo_n "(cached
) " >&6
7409 if test -n "$OBJDUMP"; then
7410 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 test -z "$as_dir" && as_dir=.
7417 for ac_exec_ext in '' $ac_executable_extensions; do
7418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7419 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7429 OBJDUMP=$ac_cv_prog_OBJDUMP
7430 if test -n "$OBJDUMP"; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7432 $as_echo "$OBJDUMP" >&6; }
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7435 $as_echo "no
" >&6; }
7440 if test -z "$ac_cv_prog_OBJDUMP"; then
7441 ac_ct_OBJDUMP=$OBJDUMP
7442 # Extract the first word of "objdump
", so it can be a program name with args.
7443 set dummy objdump; ac_word=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7445 $as_echo_n "checking
for $ac_word...
" >&6; }
7446 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7447 $as_echo_n "(cached
) " >&6
7449 if test -n "$ac_ct_OBJDUMP"; then
7450 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7469 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7470 if test -n "$ac_ct_OBJDUMP"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7472 $as_echo "$ac_ct_OBJDUMP" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7475 $as_echo "no
" >&6; }
7478 if test "x
$ac_ct_OBJDUMP" = x; then
7481 case $cross_compiling:$ac_tool_warned in
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7484 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7485 ac_tool_warned=yes ;;
7487 OBJDUMP=$ac_ct_OBJDUMP
7490 OBJDUMP="$ac_cv_prog_OBJDUMP"
7493 test -z "$OBJDUMP" && OBJDUMP=objdump
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7504 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7505 if ${lt_cv_deplibs_check_method+:} false; then :
7506 $as_echo_n "(cached
) " >&6
7508 lt_cv_file_magic_cmd='$MAGIC_CMD'
7509 lt_cv_file_magic_test_file=
7510 lt_cv_deplibs_check_method='unknown'
7511 # Need to set the preceding variable on all platforms that support
7512 # interlibrary dependencies.
7513 # 'none' -- dependencies not supported.
7514 # `unknown' -- same as none, but documents that we really don't know.
7515 # 'pass_all' -- all dependencies passed with no checks.
7516 # 'test_compile' -- check by making test program.
7517 # 'file_magic [[regex]]' -- check by looking for files in library path
7518 # which responds to the $file_magic_cmd with a given extended regex.
7519 # If you have `file' or equivalent on your system and you're not sure
7520 # whether `pass_all' will *always* work, you probably want this one.
7524 lt_cv_deplibs_check_method=pass_all
7528 lt_cv_deplibs_check_method=pass_all
7532 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7533 lt_cv_file_magic_cmd='/usr/bin/file -L'
7534 lt_cv_file_magic_test_file=/shlib/libc.so
7538 # func_win32_libid is a shell function defined in ltmain.sh
7539 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7540 lt_cv_file_magic_cmd='func_win32_libid'
7544 # Base MSYS/MinGW do not provide the 'file' command needed by
7545 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7546 # unless we find 'file', for example because we are cross-compiling.
7547 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7548 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7549 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7550 lt_cv_file_magic_cmd='func_win32_libid'
7552 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7553 lt_cv_file_magic_cmd='$OBJDUMP -f'
7558 # use the weaker test based on 'objdump'. See mingw*.
7559 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7560 lt_cv_file_magic_cmd='$OBJDUMP -f'
7563 darwin* | rhapsody*)
7564 lt_cv_deplibs_check_method=pass_all
7567 freebsd* | dragonfly*)
7568 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7571 # Not sure whether the presence of OpenBSD here was a mistake.
7572 # Let's accept both of them until this is cleared up.
7573 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7574 lt_cv_file_magic_cmd=/usr/bin/file
7575 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7579 lt_cv_deplibs_check_method=pass_all
7584 lt_cv_deplibs_check_method=pass_all
7588 lt_cv_deplibs_check_method=pass_all
7591 hpux10.20* | hpux11*)
7592 lt_cv_file_magic_cmd=/usr/bin/file
7595 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7596 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7599 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]'
7600 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7603 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7604 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7610 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7611 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7614 irix5* | irix6* | nonstopux*)
7616 *-32|*"-32 ") libmagic=32-bit;;
7617 *-n32|*"-n32 ") libmagic=N32;;
7618 *-64|*"-64 ") libmagic=64-bit;;
7619 *) libmagic=never-match;;
7621 lt_cv_deplibs_check_method=pass_all
7624 # This must be Linux ELF.
7625 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7626 lt_cv_deplibs_check_method=pass_all
7630 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7631 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7633 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7638 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7639 lt_cv_file_magic_cmd=/usr/bin/file
7640 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7644 lt_cv_deplibs_check_method=pass_all
7648 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7649 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7651 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7655 osf3* | osf4* | osf5*)
7656 lt_cv_deplibs_check_method=pass_all
7660 lt_cv_deplibs_check_method=pass_all
7664 lt_cv_deplibs_check_method=pass_all
7667 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7668 lt_cv_deplibs_check_method=pass_all
7672 case $host_vendor in
7674 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]'
7675 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7678 lt_cv_deplibs_check_method=pass_all
7681 lt_cv_file_magic_cmd='/bin/file'
7682 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7685 lt_cv_file_magic_cmd='/bin/file'
7686 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7687 lt_cv_file_magic_test_file=/lib/libc.so
7690 lt_cv_deplibs_check_method=pass_all
7693 lt_cv_deplibs_check_method=pass_all
7699 lt_cv_deplibs_check_method=pass_all
7702 # Assume VxWorks cross toolchains are built on Linux, possibly
7703 # as canadian for Windows hosts.
7704 lt_cv_deplibs_check_method=pass_all
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7710 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7711 file_magic_cmd=$lt_cv_file_magic_cmd
7712 deplibs_check_method=$lt_cv_deplibs_check_method
7713 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7727 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7728 for plugin in $plugin_names; do
7729 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7730 if test x$plugin_so = x$plugin; then
7731 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7733 if test x$plugin_so != x$plugin; then
7734 plugin_option="--plugin $plugin_so"
7739 if test -n "$ac_tool_prefix"; then
7740 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7741 set dummy ${ac_tool_prefix}ar; ac_word=$2
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7743 $as_echo_n "checking
for $ac_word...
" >&6; }
7744 if ${ac_cv_prog_AR+:} false; then :
7745 $as_echo_n "(cached
) " >&6
7747 if test -n "$AR"; then
7748 ac_cv_prog_AR="$AR" # Let the user override the test.
7750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754 test -z "$as_dir" && as_dir=.
7755 for ac_exec_ext in '' $ac_executable_extensions; do
7756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7757 ac_cv_prog_AR="${ac_tool_prefix}ar"
7758 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7768 if test -n "$AR"; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7770 $as_echo "$AR" >&6; }
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7773 $as_echo "no
" >&6; }
7778 if test -z "$ac_cv_prog_AR"; then
7780 # Extract the first word of "ar", so it can be a program name with args.
7781 set dummy ar; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7783 $as_echo_n "checking
for $ac_word...
" >&6; }
7784 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7785 $as_echo_n "(cached
) " >&6
7787 if test -n "$ac_ct_AR"; then
7788 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797 ac_cv_prog_ac_ct_AR="ar"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7807 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7808 if test -n "$ac_ct_AR"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7810 $as_echo "$ac_ct_AR" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7813 $as_echo "no
" >&6; }
7816 if test "x
$ac_ct_AR" = x; then
7819 case $cross_compiling:$ac_tool_warned in
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7822 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7823 ac_tool_warned=yes ;;
7831 test -z "$AR" && AR=ar
7832 if test -n "$plugin_option"; then
7833 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7835 $AR $plugin_option rc conftest.a conftest.c
7836 if test "$?
" != 0; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7838 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7840 AR="$AR $plugin_option"
7845 test -z "$AR_FLAGS" && AR_FLAGS=cru
7857 if test -n "$ac_tool_prefix"; then
7858 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7859 set dummy ${ac_tool_prefix}strip; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7861 $as_echo_n "checking
for $ac_word...
" >&6; }
7862 if ${ac_cv_prog_STRIP+:} false; then :
7863 $as_echo_n "(cached
) " >&6
7865 if test -n "$STRIP"; then
7866 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7885 STRIP=$ac_cv_prog_STRIP
7886 if test -n "$STRIP"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7888 $as_echo "$STRIP" >&6; }
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7891 $as_echo "no
" >&6; }
7896 if test -z "$ac_cv_prog_STRIP"; then
7898 # Extract the first word of "strip
", so it can be a program name with args.
7899 set dummy strip; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7901 $as_echo_n "checking
for $ac_word...
" >&6; }
7902 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7903 $as_echo_n "(cached
) " >&6
7905 if test -n "$ac_ct_STRIP"; then
7906 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7915 ac_cv_prog_ac_ct_STRIP="strip
"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7925 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7926 if test -n "$ac_ct_STRIP"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7928 $as_echo "$ac_ct_STRIP" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7931 $as_echo "no
" >&6; }
7934 if test "x
$ac_ct_STRIP" = x; then
7937 case $cross_compiling:$ac_tool_warned in
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7940 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7941 ac_tool_warned=yes ;;
7946 STRIP="$ac_cv_prog_STRIP"
7949 test -z "$STRIP" && STRIP=:
7956 if test -n "$ac_tool_prefix"; then
7957 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7958 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7960 $as_echo_n "checking
for $ac_word...
" >&6; }
7961 if ${ac_cv_prog_RANLIB+:} false; then :
7962 $as_echo_n "(cached
) " >&6
7964 if test -n "$RANLIB"; then
7965 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7984 RANLIB=$ac_cv_prog_RANLIB
7985 if test -n "$RANLIB"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7987 $as_echo "$RANLIB" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7990 $as_echo "no
" >&6; }
7995 if test -z "$ac_cv_prog_RANLIB"; then
7996 ac_ct_RANLIB=$RANLIB
7997 # Extract the first word of "ranlib
", so it can be a program name with args.
7998 set dummy ranlib; ac_word=$2
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8000 $as_echo_n "checking
for $ac_word...
" >&6; }
8001 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8002 $as_echo_n "(cached
) " >&6
8004 if test -n "$ac_ct_RANLIB"; then
8005 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8011 test -z "$as_dir" && as_dir=.
8012 for ac_exec_ext in '' $ac_executable_extensions; do
8013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8014 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8024 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8025 if test -n "$ac_ct_RANLIB"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8027 $as_echo "$ac_ct_RANLIB" >&6; }
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8030 $as_echo "no
" >&6; }
8033 if test "x
$ac_ct_RANLIB" = x; then
8036 case $cross_compiling:$ac_tool_warned in
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8039 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8040 ac_tool_warned=yes ;;
8042 RANLIB=$ac_ct_RANLIB
8045 RANLIB="$ac_cv_prog_RANLIB"
8048 test -z "$RANLIB" && RANLIB=:
8049 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8050 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
8051 RANLIB="$RANLIB $plugin_option"
8060 # Determine commands to create old-style static archives.
8061 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8062 old_postinstall_cmds='chmod 644 $oldlib'
8063 old_postuninstall_cmds=
8065 if test -n "$RANLIB"; then
8068 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8071 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8074 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8079 lock_old_archive_extraction=yes ;;
8081 lock_old_archive_extraction=no ;;
8122 # If no C compiler was specified, use CC.
8125 # If no C compiler flags were specified, use CFLAGS.
8126 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8128 # Allow CC to be a program name with arguments.
8132 # Check for command to grab the raw symbol name followed by C symbol from nm.
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8134 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8135 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8136 $as_echo_n "(cached
) " >&6
8139 # These are sane defaults that work on at least a few old systems.
8140 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8142 # Character class describing NM global symbol codes.
8143 symcode='[BCDEGRST]'
8145 # Regexp to match symbols that can be accessed directly from C.
8146 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8148 # Define system-specific variables.
8153 cygwin* | mingw* | pw32* | cegcc*)
8154 symcode='[ABCDGISTW]'
8157 if test "$host_cpu" = ia64; then
8158 symcode='[ABCDEGRST]'
8162 symcode='[BCDEGRST]'
8165 symcode='[BCDEGQRST]'
8176 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8184 # If we're using GNU nm, then use its standard symbol codes.
8185 case `$NM -V 2>&1` in
8186 *GNU* | *'with BFD'*)
8187 symcode='[ABCDGIRSTW]' ;;
8190 # Transform an extracted symbol line into a proper C declaration.
8191 # Some systems (esp. on ia64) link data and code symbols differently,
8192 # so use this general approach.
8193 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8195 # Transform an extracted symbol line into symbol name and symbol address
8196 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8197 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'"
8199 # Handle CRLF in mingw tool chain
8203 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8207 # Try without a prefix underscore, then with it.
8208 for ac_symprfx in "" "_
"; do
8210 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8211 symxfrm="\\1 $ac_symprfx\\2 \\2"
8213 # Write the raw and C identifiers.
8214 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8215 # Fake it for dumpbin and say T for any non-static function
8216 # and D for any global variable.
8217 # Also find C++ and __fastcall symbols from MSVC++,
8218 # which start with @ or ?.
8219 lt_cv_sys_global_symbol_pipe="$AWK '"\
8220 " {last_section=section; section=\$ 3};"\
8221 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8222 " \$ 0!~/External *\|/{next};"\
8223 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8224 " {if(hide[section]) next};"\
8225 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8226 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8227 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8228 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8229 " ' prfx
=^
$ac_symprfx"
8231 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8234 # Check to see that the pipe works correctly.
8238 cat > conftest.$ac_ext <<_LT_EOF
8243 void nm_test_func(void);
8244 void nm_test_func(void){}
8248 int main(){nm_test_var='a';nm_test_func();return(0);}
8251 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8252 (eval $ac_compile) 2>&5
8254 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8255 test $ac_status = 0; }; then
8256 # Now try to grab the symbols.
8258 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8259 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8261 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8262 test $ac_status = 0; } && test -s "$nlist"; then
8263 # Try sorting and uniquifying the output.
8264 if sort "$nlist" | uniq > "$nlist"T; then
8265 mv -f "$nlist"T "$nlist"
8270 # Make sure that we snagged all the symbols we need.
8271 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8272 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8273 cat <<_LT_EOF > conftest.$ac_ext
8279 # Now generate the symbol file.
8280 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8282 cat <<_LT_EOF >> conftest.$ac_ext
8284 /* The mapping between symbol names and symbols. */
8289 lt__PROGRAM__LTX_preloaded_symbols[] =
8291 { "@PROGRAM@
", (void *) 0 },
8293 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8294 cat <<\_LT_EOF >> conftest.$ac_ext
8298 /* This works around a problem in FreeBSD linker */
8299 #ifdef FREEBSD_WORKAROUND
8300 static const void *lt_preloaded_setup() {
8301 return lt__PROGRAM__LTX_preloaded_symbols;
8309 # Now try linking the two files.
8310 mv conftest.$ac_objext conftstm.$ac_objext
8311 lt_save_LIBS="$LIBS"
8312 lt_save_CFLAGS="$CFLAGS"
8313 LIBS="conftstm.
$ac_objext"
8314 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8315 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8316 (eval $ac_link) 2>&5
8318 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8319 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8322 LIBS="$lt_save_LIBS"
8323 CFLAGS="$lt_save_CFLAGS"
8325 echo "cannot
find nm_test_func
in $nlist" >&5
8328 echo "cannot
find nm_test_var
in $nlist" >&5
8331 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8334 echo "$progname: failed program was
:" >&5
8335 cat conftest.$ac_ext >&5
8337 rm -rf conftest* conftst*
8339 # Do not use the global_symbol_pipe unless it works.
8340 if test "$pipe_works" = yes; then
8343 lt_cv_sys_global_symbol_pipe=
8349 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8350 lt_cv_sys_global_symbol_to_cdecl=
8352 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8354 $as_echo "failed
" >&6; }
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8357 $as_echo "ok
" >&6; }
8381 # Check whether --enable-libtool-lock was given.
8382 if test "${enable_libtool_lock+set}" = set; then :
8383 enableval=$enable_libtool_lock;
8386 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8388 # Some flags need to be propagated to the compiler or linker for good
8392 # Find out which ABI we are using.
8393 echo 'int i;' > conftest.$ac_ext
8394 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8395 (eval $ac_compile) 2>&5
8397 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8398 test $ac_status = 0; }; then
8399 case `/usr/bin/file conftest.$ac_objext` in
8411 # Find out which ABI we are using.
8412 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8413 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8414 (eval $ac_compile) 2>&5
8416 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8417 test $ac_status = 0; }; then
8418 if test "$lt_cv_prog_gnu_ld" = yes; then
8419 case `/usr/bin/file conftest.$ac_objext` in
8421 LD="${LD-ld} -melf32bsmip"
8424 LD="${LD-ld} -melf32bmipn32"
8427 LD="${LD-ld} -melf64bmip"
8431 case `/usr/bin/file conftest.$ac_objext` in
8447 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8448 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8449 # Find out which ABI we are using.
8450 echo 'int i;' > conftest.$ac_ext
8451 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8452 (eval $ac_compile) 2>&5
8454 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8455 test $ac_status = 0; }; then
8456 case `/usr/bin/file conftest.o` in
8459 x86_64-*kfreebsd*-gnu)
8460 LD="${LD-ld} -m elf_i386_fbsd
"
8463 case `/usr/bin/file conftest.o` in
8465 LD="${LD-ld} -m elf32_x86_64
"
8468 LD="${LD-ld} -m elf_i386
"
8472 powerpc64le-*linux*)
8473 LD="${LD-ld} -m elf32lppclinux
"
8476 LD="${LD-ld} -m elf32ppclinux
"
8479 LD="${LD-ld} -m elf_s390
"
8482 LD="${LD-ld} -m elf32_sparc
"
8488 x86_64-*kfreebsd*-gnu)
8489 LD="${LD-ld} -m elf_x86_64_fbsd
"
8492 LD="${LD-ld} -m elf_x86_64
"
8495 LD="${LD-ld} -m elf64lppc
"
8498 LD="${LD-ld} -m elf64ppc
"
8500 s390*-*linux*|s390*-*tpf*)
8501 LD="${LD-ld} -m elf64_s390
"
8504 LD="${LD-ld} -m elf64_sparc
"
8514 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8515 SAVE_CFLAGS="$CFLAGS"
8516 CFLAGS="$CFLAGS -belf"
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8518 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8519 if ${lt_cv_cc_needs_belf+:} false; then :
8520 $as_echo_n "(cached
) " >&6
8523 ac_cpp='$CPP $CPPFLAGS'
8524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8528 if test x$gcc_no_link = xyes; then
8529 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8542 if ac_fn_c_try_link "$LINENO"; then :
8543 lt_cv_cc_needs_belf=yes
8545 lt_cv_cc_needs_belf=no
8547 rm -f core conftest.err conftest.$ac_objext \
8548 conftest$ac_exeext conftest.$ac_ext
8550 ac_cpp='$CPP $CPPFLAGS'
8551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8557 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8558 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8559 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8560 CFLAGS="$SAVE_CFLAGS"
8564 # Find out which ABI we are using.
8565 echo 'int i;' > conftest.$ac_ext
8566 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8567 (eval $ac_compile) 2>&5
8569 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8570 test $ac_status = 0; }; then
8571 case `/usr/bin/file conftest.o` in
8573 case $lt_cv_prog_gnu_ld in
8574 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8576 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8588 need_locks="$enable_libtool_lock"
8592 rhapsody* | darwin*)
8593 if test -n "$ac_tool_prefix"; then
8594 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8595 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8597 $as_echo_n "checking
for $ac_word...
" >&6; }
8598 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8599 $as_echo_n "(cached
) " >&6
8601 if test -n "$DSYMUTIL"; then
8602 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608 test -z "$as_dir" && as_dir=.
8609 for ac_exec_ext in '' $ac_executable_extensions; do
8610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8611 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8621 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8622 if test -n "$DSYMUTIL"; then
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8624 $as_echo "$DSYMUTIL" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8627 $as_echo "no
" >&6; }
8632 if test -z "$ac_cv_prog_DSYMUTIL"; then
8633 ac_ct_DSYMUTIL=$DSYMUTIL
8634 # Extract the first word of "dsymutil
", so it can be a program name with args.
8635 set dummy dsymutil; ac_word=$2
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8637 $as_echo_n "checking
for $ac_word...
" >&6; }
8638 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8639 $as_echo_n "(cached
) " >&6
8641 if test -n "$ac_ct_DSYMUTIL"; then
8642 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648 test -z "$as_dir" && as_dir=.
8649 for ac_exec_ext in '' $ac_executable_extensions; do
8650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8651 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8661 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8662 if test -n "$ac_ct_DSYMUTIL"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8664 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8667 $as_echo "no
" >&6; }
8670 if test "x
$ac_ct_DSYMUTIL" = x; then
8673 case $cross_compiling:$ac_tool_warned in
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8676 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8677 ac_tool_warned=yes ;;
8679 DSYMUTIL=$ac_ct_DSYMUTIL
8682 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8685 if test -n "$ac_tool_prefix"; then
8686 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8687 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8689 $as_echo_n "checking
for $ac_word...
" >&6; }
8690 if ${ac_cv_prog_NMEDIT+:} false; then :
8691 $as_echo_n "(cached
) " >&6
8693 if test -n "$NMEDIT"; then
8694 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700 test -z "$as_dir" && as_dir=.
8701 for ac_exec_ext in '' $ac_executable_extensions; do
8702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8703 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8713 NMEDIT=$ac_cv_prog_NMEDIT
8714 if test -n "$NMEDIT"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8716 $as_echo "$NMEDIT" >&6; }
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8719 $as_echo "no
" >&6; }
8724 if test -z "$ac_cv_prog_NMEDIT"; then
8725 ac_ct_NMEDIT=$NMEDIT
8726 # Extract the first word of "nmedit
", so it can be a program name with args.
8727 set dummy nmedit; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8729 $as_echo_n "checking
for $ac_word...
" >&6; }
8730 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8731 $as_echo_n "(cached
) " >&6
8733 if test -n "$ac_ct_NMEDIT"; then
8734 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 test -z "$as_dir" && as_dir=.
8741 for ac_exec_ext in '' $ac_executable_extensions; do
8742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8743 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8753 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8754 if test -n "$ac_ct_NMEDIT"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8756 $as_echo "$ac_ct_NMEDIT" >&6; }
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8759 $as_echo "no
" >&6; }
8762 if test "x
$ac_ct_NMEDIT" = x; then
8765 case $cross_compiling:$ac_tool_warned in
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8768 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8769 ac_tool_warned=yes ;;
8771 NMEDIT=$ac_ct_NMEDIT
8774 NMEDIT="$ac_cv_prog_NMEDIT"
8777 if test -n "$ac_tool_prefix"; then
8778 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8779 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8781 $as_echo_n "checking
for $ac_word...
" >&6; }
8782 if ${ac_cv_prog_LIPO+:} false; then :
8783 $as_echo_n "(cached
) " >&6
8785 if test -n "$LIPO"; then
8786 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792 test -z "$as_dir" && as_dir=.
8793 for ac_exec_ext in '' $ac_executable_extensions; do
8794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8795 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8805 LIPO=$ac_cv_prog_LIPO
8806 if test -n "$LIPO"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8808 $as_echo "$LIPO" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8811 $as_echo "no
" >&6; }
8816 if test -z "$ac_cv_prog_LIPO"; then
8818 # Extract the first word of "lipo
", so it can be a program name with args.
8819 set dummy lipo; ac_word=$2
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8821 $as_echo_n "checking
for $ac_word...
" >&6; }
8822 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8823 $as_echo_n "(cached
) " >&6
8825 if test -n "$ac_ct_LIPO"; then
8826 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8832 test -z "$as_dir" && as_dir=.
8833 for ac_exec_ext in '' $ac_executable_extensions; do
8834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8835 ac_cv_prog_ac_ct_LIPO="lipo
"
8836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8845 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8846 if test -n "$ac_ct_LIPO"; then
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8848 $as_echo "$ac_ct_LIPO" >&6; }
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8851 $as_echo "no
" >&6; }
8854 if test "x
$ac_ct_LIPO" = x; then
8857 case $cross_compiling:$ac_tool_warned in
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8860 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8861 ac_tool_warned=yes ;;
8866 LIPO="$ac_cv_prog_LIPO"
8869 if test -n "$ac_tool_prefix"; then
8870 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8871 set dummy ${ac_tool_prefix}otool; ac_word=$2
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8873 $as_echo_n "checking
for $ac_word...
" >&6; }
8874 if ${ac_cv_prog_OTOOL+:} false; then :
8875 $as_echo_n "(cached
) " >&6
8877 if test -n "$OTOOL"; then
8878 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8884 test -z "$as_dir" && as_dir=.
8885 for ac_exec_ext in '' $ac_executable_extensions; do
8886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8887 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8897 OTOOL=$ac_cv_prog_OTOOL
8898 if test -n "$OTOOL"; then
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8900 $as_echo "$OTOOL" >&6; }
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8903 $as_echo "no
" >&6; }
8908 if test -z "$ac_cv_prog_OTOOL"; then
8910 # Extract the first word of "otool
", so it can be a program name with args.
8911 set dummy otool; ac_word=$2
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8913 $as_echo_n "checking
for $ac_word...
" >&6; }
8914 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8915 $as_echo_n "(cached
) " >&6
8917 if test -n "$ac_ct_OTOOL"; then
8918 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8924 test -z "$as_dir" && as_dir=.
8925 for ac_exec_ext in '' $ac_executable_extensions; do
8926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8927 ac_cv_prog_ac_ct_OTOOL="otool
"
8928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8937 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8938 if test -n "$ac_ct_OTOOL"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8940 $as_echo "$ac_ct_OTOOL" >&6; }
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8943 $as_echo "no
" >&6; }
8946 if test "x
$ac_ct_OTOOL" = x; then
8949 case $cross_compiling:$ac_tool_warned in
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8952 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8953 ac_tool_warned=yes ;;
8958 OTOOL="$ac_cv_prog_OTOOL"
8961 if test -n "$ac_tool_prefix"; then
8962 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8963 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8965 $as_echo_n "checking
for $ac_word...
" >&6; }
8966 if ${ac_cv_prog_OTOOL64+:} false; then :
8967 $as_echo_n "(cached
) " >&6
8969 if test -n "$OTOOL64"; then
8970 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8976 test -z "$as_dir" && as_dir=.
8977 for ac_exec_ext in '' $ac_executable_extensions; do
8978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8979 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8989 OTOOL64=$ac_cv_prog_OTOOL64
8990 if test -n "$OTOOL64"; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8992 $as_echo "$OTOOL64" >&6; }
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8995 $as_echo "no
" >&6; }
9000 if test -z "$ac_cv_prog_OTOOL64"; then
9001 ac_ct_OTOOL64=$OTOOL64
9002 # Extract the first word of "otool64
", so it can be a program name with args.
9003 set dummy otool64; ac_word=$2
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9005 $as_echo_n "checking
for $ac_word...
" >&6; }
9006 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9007 $as_echo_n "(cached
) " >&6
9009 if test -n "$ac_ct_OTOOL64"; then
9010 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9016 test -z "$as_dir" && as_dir=.
9017 for ac_exec_ext in '' $ac_executable_extensions; do
9018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9019 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9029 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9030 if test -n "$ac_ct_OTOOL64"; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9032 $as_echo "$ac_ct_OTOOL64" >&6; }
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9035 $as_echo "no
" >&6; }
9038 if test "x
$ac_ct_OTOOL64" = x; then
9041 case $cross_compiling:$ac_tool_warned in
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9044 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9045 ac_tool_warned=yes ;;
9047 OTOOL64=$ac_ct_OTOOL64
9050 OTOOL64="$ac_cv_prog_OTOOL64"
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9080 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9081 if ${lt_cv_apple_cc_single_mod+:} false; then :
9082 $as_echo_n "(cached
) " >&6
9084 lt_cv_apple_cc_single_mod=no
9085 if test -z "${LT_MULTI_MODULE}"; then
9086 # By default we will add the -single_module flag. You can override
9087 # by either setting the environment variable LT_MULTI_MODULE
9088 # non-empty at configure time, or by adding -multi_module to the
9090 rm -rf libconftest.dylib*
9091 echo "int foo
(void
){return 1;}" > conftest.c
9092 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9093 -dynamiclib -Wl,-single_module conftest.c
" >&5
9094 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9095 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9097 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9098 lt_cv_apple_cc_single_mod=yes
9100 cat conftest.err >&5
9102 rm -rf libconftest.dylib*
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9107 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9109 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9110 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9111 $as_echo_n "(cached
) " >&6
9113 lt_cv_ld_exported_symbols_list=no
9114 save_LDFLAGS=$LDFLAGS
9115 echo "_main
" > conftest.sym
9116 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9117 if test x$gcc_no_link = xyes; then
9118 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9131 if ac_fn_c_try_link "$LINENO"; then :
9132 lt_cv_ld_exported_symbols_list=yes
9134 lt_cv_ld_exported_symbols_list=no
9136 rm -f core conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 LDFLAGS="$save_LDFLAGS"
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9142 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9144 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9145 if ${lt_cv_ld_force_load+:} false; then :
9146 $as_echo_n "(cached
) " >&6
9148 lt_cv_ld_force_load=no
9149 cat > conftest.c << _LT_EOF
9150 int forced_loaded() { return 2;}
9152 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9153 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9154 echo "$AR cru libconftest.a conftest.o
" >&5
9155 $AR cru libconftest.a conftest.o 2>&5
9156 cat > conftest.c << _LT_EOF
9157 int main() { return 0;}
9159 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9160 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9162 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9163 lt_cv_ld_force_load=yes
9165 cat conftest.err >&5
9167 rm -f conftest.err libconftest.a conftest conftest.c
9168 rm -rf conftest.dSYM
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9172 $as_echo "$lt_cv_ld_force_load" >&6; }
9173 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9174 # build without first building modern cctools / linker.
9175 case $host_cpu-$host_os in
9176 *-rhapsody* | *-darwin1.[012])
9177 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9179 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9181 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9182 # deployment target is forced to an earlier version.
9183 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9184 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9187 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9194 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9195 _lt_dar_single_mod='$single_module'
9197 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9198 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9200 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9202 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9203 _lt_dsymutil='~$DSYMUTIL $lib || :'
9210 for ac_header in dlfcn.h
9212 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9214 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9215 cat >>confdefs.h <<_ACEOF
9216 #define HAVE_DLFCN_H 1
9236 # Check whether --enable-shared was given.
9237 if test "${enable_shared+set}" = set; then :
9238 enableval=$enable_shared; p=${PACKAGE-default}
9240 yes) enable_shared=yes ;;
9241 no) enable_shared=no ;;
9244 # Look at the argument we got. We use all the common list separators.
9245 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9246 for pkg in $enableval; do
9248 if test "X
$pkg" = "X
$p"; then
9267 # Check whether --enable-static was given.
9268 if test "${enable_static+set}" = set; then :
9269 enableval=$enable_static; p=${PACKAGE-default}
9271 yes) enable_static=yes ;;
9272 no) enable_static=no ;;
9275 # Look at the argument we got. We use all the common list separators.
9276 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9277 for pkg in $enableval; do
9279 if test "X
$pkg" = "X
$p"; then
9299 # Check whether --with-pic was given.
9300 if test "${with_pic+set}" = set; then :
9301 withval=$with_pic; pic_mode="$withval"
9307 test -z "$pic_mode" && pic_mode=default
9315 # Check whether --enable-fast-install was given.
9316 if test "${enable_fast_install+set}" = set; then :
9317 enableval=$enable_fast_install; p=${PACKAGE-default}
9319 yes) enable_fast_install=yes ;;
9320 no) enable_fast_install=no ;;
9322 enable_fast_install=no
9323 # Look at the argument we got. We use all the common list separators.
9324 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9325 for pkg in $enableval; do
9327 if test "X
$pkg" = "X
$p"; then
9328 enable_fast_install=yes
9335 enable_fast_install=yes
9348 # This can be used to rebuild libtool when needed
9349 LIBTOOL_DEPS="$ltmain"
9351 # Always use our own libtool.
9352 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9379 test -z "$LN_S" && LN_S="ln -s"
9394 if test -n "${ZSH_VERSION+set}" ; then
9395 setopt NO_GLOB_SUBST
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9399 $as_echo_n "checking
for objdir...
" >&6; }
9400 if ${lt_cv_objdir+:} false; then :
9401 $as_echo_n "(cached
) " >&6
9403 rm -f .libs 2>/dev/null
9404 mkdir .libs 2>/dev/null
9405 if test -d .libs; then
9408 # MS-DOS does not allow filenames that begin with a dot.
9411 rmdir .libs 2>/dev/null
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9414 $as_echo "$lt_cv_objdir" >&6; }
9415 objdir=$lt_cv_objdir
9421 cat >>confdefs.h <<_ACEOF
9422 #define LT_OBJDIR "$lt_cv_objdir/"
9430 # AIX sometimes has problems with the GCC collect2 program. For some
9431 # reason, if we set the COLLECT_NAMES environment variable, the problems
9432 # vanish in a puff of smoke.
9433 if test "X
${COLLECT_NAMES+set}" != Xset; then
9435 export COLLECT_NAMES
9442 can_build_shared=yes
9444 # All known linkers require a `.a' archive for static linking (except MSVC,
9445 # which needs '.lib').
9448 with_gnu_ld="$lt_cv_prog_gnu_ld"
9451 old_CFLAGS="$CFLAGS"
9453 # Set sane defaults for various variables
9454 test -z "$CC" && CC=cc
9455 test -z "$LTCC" && LTCC=$CC
9456 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9457 test -z "$LD" && LD=ld
9458 test -z "$ac_objext" && ac_objext=o
9460 for cc_temp in $compiler""; do
9462 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9463 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9468 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9471 # Only perform the check for file, if the check method requires it
9472 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9473 case $deplibs_check_method in
9475 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9477 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9478 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9479 $as_echo_n "(cached
) " >&6
9483 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9486 lt_save_MAGIC_CMD="$MAGIC_CMD"
9487 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9488 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9489 for ac_dir in $ac_dummy; do
9491 test -z "$ac_dir" && ac_dir=.
9492 if test -f $ac_dir/${ac_tool_prefix}file; then
9493 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9494 if test -n "$file_magic_test_file"; then
9495 case $deplibs_check_method in
9497 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9498 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9499 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9500 $EGREP "$file_magic_regex" > /dev/null; then
9505 *** Warning: the command libtool uses to detect shared libraries,
9506 *** $file_magic_cmd, produces output that libtool cannot recognize.
9507 *** The result is that libtool may fail to recognize shared libraries
9508 *** as such. This will affect the creation of libtool libraries that
9509 *** depend on shared libraries, but programs linked with such libtool
9510 *** libraries will work regardless of this problem. Nevertheless, you
9511 *** may want to report the problem to your system manager and/or to
9512 *** bug-libtool@gnu.org
9522 MAGIC_CMD="$lt_save_MAGIC_CMD"
9527 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9528 if test -n "$MAGIC_CMD"; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9530 $as_echo "$MAGIC_CMD" >&6; }
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9533 $as_echo "no
" >&6; }
9540 if test -z "$lt_cv_path_MAGIC_CMD"; then
9541 if test -n "$ac_tool_prefix"; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9543 $as_echo_n "checking
for file...
" >&6; }
9544 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9545 $as_echo_n "(cached
) " >&6
9549 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9552 lt_save_MAGIC_CMD="$MAGIC_CMD"
9553 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9554 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9555 for ac_dir in $ac_dummy; do
9557 test -z "$ac_dir" && ac_dir=.
9558 if test -f $ac_dir/file; then
9559 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9560 if test -n "$file_magic_test_file"; then
9561 case $deplibs_check_method in
9563 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9564 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9565 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9566 $EGREP "$file_magic_regex" > /dev/null; then
9571 *** Warning: the command libtool uses to detect shared libraries,
9572 *** $file_magic_cmd, produces output that libtool cannot recognize.
9573 *** The result is that libtool may fail to recognize shared libraries
9574 *** as such. This will affect the creation of libtool libraries that
9575 *** depend on shared libraries, but programs linked with such libtool
9576 *** libraries will work regardless of this problem. Nevertheless, you
9577 *** may want to report the problem to your system manager and/or to
9578 *** bug-libtool@gnu.org
9588 MAGIC_CMD="$lt_save_MAGIC_CMD"
9593 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9594 if test -n "$MAGIC_CMD"; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9596 $as_echo "$MAGIC_CMD" >&6; }
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9599 $as_echo "no
" >&6; }
9612 # Use C for the default configuration in the libtool script
9616 ac_cpp='$CPP $CPPFLAGS'
9617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9622 # Source file extension for C test sources.
9625 # Object file extension for compiled C test sources.
9629 # Code to be used in simple compile tests
9630 lt_simple_compile_test_code="int some_variable
= 0;"
9632 # Code to be used in simple link tests
9633 lt_simple_link_test_code='int main(){return(0);}'
9641 # If no C compiler was specified, use CC.
9644 # If no C compiler flags were specified, use CFLAGS.
9645 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9647 # Allow CC to be a program name with arguments.
9650 # Save the default compiler, since it gets overwritten when the other
9651 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9652 compiler_DEFAULT=$CC
9654 # save warnings/boilerplate of simple test code
9655 ac_outfile=conftest.$ac_objext
9656 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9657 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9658 _lt_compiler_boilerplate=`cat conftest.err`
9661 ac_outfile=conftest.$ac_objext
9662 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9663 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9664 _lt_linker_boilerplate=`cat conftest.err`
9669 ## There is no encapsulation within the following macros, do not change
9670 ## the running order or otherwise move them around unless you know exactly
9671 ## what you are doing...
9672 if test -n "$compiler"; then
9674 lt_prog_compiler_no_builtin_flag=
9676 if test "$GCC" = yes; then
9677 case $cc_basename in
9679 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9681 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9685 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9686 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9687 $as_echo_n "(cached
) " >&6
9689 lt_cv_prog_compiler_rtti_exceptions=no
9690 ac_outfile=conftest.$ac_objext
9691 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9692 lt_compiler_flag="-fno-rtti -fno-exceptions"
9693 # Insert the option either (1) after the last *FLAGS variable, or
9694 # (2) before a word containing "conftest.
", or (3) at the end.
9695 # Note that $ac_compile itself does not contain backslashes and begins
9696 # with a dollar sign (not a hyphen), so the echo should work correctly.
9697 # The option is referenced via a variable to avoid confusing sed.
9698 lt_compile=`echo "$ac_compile" | $SED \
9699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9701 -e 's:$: $lt_compiler_flag:'`
9702 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9703 (eval "$lt_compile" 2>conftest.err)
9705 cat conftest.err >&5
9706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9707 if (exit $ac_status) && test -s "$ac_outfile"; then
9708 # The compiler can only warn and ignore the option if not recognized
9709 # So say no if there are warnings other than the usual output.
9710 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9711 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9712 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9713 lt_cv_prog_compiler_rtti_exceptions=yes
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9720 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9722 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9723 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9735 lt_prog_compiler_wl=
9736 lt_prog_compiler_pic=
9737 lt_prog_compiler_static=
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9740 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9742 if test "$GCC" = yes; then
9743 lt_prog_compiler_wl='-Wl,'
9744 lt_prog_compiler_static='-static'
9748 # All AIX code is PIC.
9749 if test "$host_cpu" = ia64; then
9750 # AIX 5 now supports IA64 processor
9751 lt_prog_compiler_static='-Bstatic'
9753 lt_prog_compiler_pic='-fPIC'
9759 # see comment about AmigaOS4 .so support
9760 lt_prog_compiler_pic='-fPIC'
9763 # FIXME: we need at least 68020 code to build shared libraries, but
9764 # adding the `-m68020' flag to GCC prevents building anything better,
9766 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9771 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9772 # PIC is the default for these OSes.
9775 mingw* | cygwin* | pw32* | os2* | cegcc*)
9776 # This hack is so that the source file can tell whether it is being
9777 # built for inclusion in a dll (and should export symbols for example).
9778 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9779 # (--disable-auto-import) libraries
9780 lt_prog_compiler_pic='-DDLL_EXPORT'
9783 darwin* | rhapsody*)
9784 # PIC is the default on this platform
9785 # Common symbols not allowed in MH_DYLIB files
9786 lt_prog_compiler_pic='-fno-common'
9790 # PIC is the default for Haiku.
9791 # The "-static" flag exists, but is broken.
9792 lt_prog_compiler_static=
9796 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9797 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9798 # sets the default TLS model and affects inlining.
9804 lt_prog_compiler_pic='-fPIC'
9810 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9811 # Instead, we relocate shared libraries at runtime.
9815 # Just because we use GCC doesn't mean we suddenly get shared libraries
9816 # on systems that don't support them.
9817 lt_prog_compiler_can_build_shared=no
9822 # QNX uses GNU C++, but need to define -shared option too, otherwise
9824 lt_prog_compiler_pic='-fPIC -shared'
9828 if test -d /usr/nec; then
9829 lt_prog_compiler_pic=-Kconform_pic
9834 lt_prog_compiler_pic='-fPIC'
9838 case $cc_basename in
9839 nvcc*) # Cuda Compiler Driver 2.2
9840 lt_prog_compiler_wl='-Xlinker '
9841 lt_prog_compiler_pic='-Xcompiler -fPIC'
9845 # PORTME Check for flag to pass linker flags through the system compiler.
9848 lt_prog_compiler_wl='-Wl,'
9849 if test "$host_cpu" = ia64; then
9850 # AIX 5 now supports IA64 processor
9851 lt_prog_compiler_static='-Bstatic'
9853 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9857 mingw* | cygwin* | pw32* | os2* | cegcc*)
9858 # This hack is so that the source file can tell whether it is being
9859 # built for inclusion in a dll (and should export symbols for example).
9860 lt_prog_compiler_pic='-DDLL_EXPORT'
9863 hpux9* | hpux10* | hpux11*)
9864 lt_prog_compiler_wl='-Wl,'
9865 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9872 lt_prog_compiler_pic='+Z'
9875 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9876 lt_prog_compiler_static='${wl}-a ${wl}archive'
9879 irix5* | irix6* | nonstopux*)
9880 lt_prog_compiler_wl='-Wl,'
9881 # PIC (with -KPIC) is the default.
9882 lt_prog_compiler_static='-non_shared'
9885 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9886 case $cc_basename in
9887 # old Intel for x86_64 which still supported -KPIC.
9889 lt_prog_compiler_wl='-Wl,'
9890 lt_prog_compiler_pic='-KPIC'
9891 lt_prog_compiler_static='-static'
9893 # icc used to be incompatible with GCC.
9894 # ICC 10 doesn't accept -KPIC any more.
9896 lt_prog_compiler_wl='-Wl,'
9897 lt_prog_compiler_pic='-fPIC'
9898 lt_prog_compiler_static='-static'
9900 # Lahey Fortran 8.1.
9902 lt_prog_compiler_wl='-Wl,'
9903 lt_prog_compiler_pic='--shared'
9904 lt_prog_compiler_static='--static'
9906 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9907 # Portland Group compilers (*not* the Pentium gcc compiler,
9908 # which looks to be a dead project)
9909 lt_prog_compiler_wl='-Wl,'
9910 lt_prog_compiler_pic='-fpic'
9911 lt_prog_compiler_static='-Bstatic'
9914 lt_prog_compiler_wl='-Wl,'
9915 # All Alpha code is PIC.
9916 lt_prog_compiler_static='-non_shared'
9918 xl* | bgxl* | bgf* | mpixl*)
9919 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9920 lt_prog_compiler_wl='-Wl,'
9921 lt_prog_compiler_pic='-qpic'
9922 lt_prog_compiler_static='-qstaticlink'
9925 case `$CC -V 2>&1 | sed 5q` in
9926 *Sun\ F* | *Sun*Fortran*)
9927 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9928 lt_prog_compiler_pic='-KPIC'
9929 lt_prog_compiler_static='-Bstatic'
9930 lt_prog_compiler_wl=''
9934 lt_prog_compiler_pic='-KPIC'
9935 lt_prog_compiler_static='-Bstatic'
9936 lt_prog_compiler_wl='-Wl,'
9944 lt_prog_compiler_pic='-KPIC'
9945 lt_prog_compiler_static='-Bstatic'
9949 # QNX uses GNU C++, but need to define -shared option too, otherwise
9951 lt_prog_compiler_pic='-fPIC -shared'
9954 osf3* | osf4* | osf5*)
9955 lt_prog_compiler_wl='-Wl,'
9956 # All OSF/1 code is PIC.
9957 lt_prog_compiler_static='-non_shared'
9961 lt_prog_compiler_static='-non_shared'
9965 lt_prog_compiler_pic='-KPIC'
9966 lt_prog_compiler_static='-Bstatic'
9967 case $cc_basename in
9969 lt_prog_compiler_wl='-Qoption ld ';;
9971 lt_prog_compiler_wl='-Wl,';;
9976 lt_prog_compiler_wl='-Qoption ld '
9977 lt_prog_compiler_pic='-PIC'
9978 lt_prog_compiler_static='-Bstatic'
9981 sysv4 | sysv4.2uw2* | sysv4.3*)
9982 lt_prog_compiler_wl='-Wl,'
9983 lt_prog_compiler_pic='-KPIC'
9984 lt_prog_compiler_static='-Bstatic'
9988 if test -d /usr/nec ;then
9989 lt_prog_compiler_pic='-Kconform_pic'
9990 lt_prog_compiler_static='-Bstatic'
9994 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9995 lt_prog_compiler_wl='-Wl,'
9996 lt_prog_compiler_pic='-KPIC'
9997 lt_prog_compiler_static='-Bstatic'
10001 lt_prog_compiler_wl='-Wl,'
10002 lt_prog_compiler_can_build_shared=no
10006 lt_prog_compiler_pic='-pic'
10007 lt_prog_compiler_static='-Bstatic'
10011 lt_prog_compiler_can_build_shared=no
10017 # For platforms which do not support PIC, -DPIC is meaningless:
10019 lt_prog_compiler_pic=
10022 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
10026 $as_echo "$lt_prog_compiler_pic" >&6; }
10034 # Check to make sure the PIC flag actually works.
10036 if test -n "$lt_prog_compiler_pic"; then
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10038 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10039 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10040 $as_echo_n "(cached
) " >&6
10042 lt_cv_prog_compiler_pic_works=no
10043 ac_outfile=conftest.$ac_objext
10044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10045 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10046 # Insert the option either (1) after the last *FLAGS variable, or
10047 # (2) before a word containing "conftest.
", or (3) at the end.
10048 # Note that $ac_compile itself does not contain backslashes and begins
10049 # with a dollar sign (not a hyphen), so the echo should work correctly.
10050 # The option is referenced via a variable to avoid confusing sed.
10051 lt_compile=`echo "$ac_compile" | $SED \
10052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10054 -e 's:$: $lt_compiler_flag:'`
10055 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10056 (eval "$lt_compile" 2>conftest.err)
10058 cat conftest.err >&5
10059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10060 if (exit $ac_status) && test -s "$ac_outfile"; then
10061 # The compiler can only warn and ignore the option if not recognized
10062 # So say no if there are warnings other than the usual output.
10063 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10064 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10065 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10066 lt_cv_prog_compiler_pic_works=yes
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10073 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10075 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10076 case $lt_prog_compiler_pic in
10078 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10081 lt_prog_compiler_pic=
10082 lt_prog_compiler_can_build_shared=no
10093 # Check to make sure the static flag actually works.
10095 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10097 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10098 if ${lt_cv_prog_compiler_static_works+:} false; then :
10099 $as_echo_n "(cached
) " >&6
10101 lt_cv_prog_compiler_static_works=no
10102 save_LDFLAGS="$LDFLAGS"
10103 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10104 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10105 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10106 # The linker can only warn and ignore the option if not recognized
10107 # So say no if there are warnings
10108 if test -s conftest.err; then
10109 # Append any errors to the config.log.
10110 cat conftest.err 1>&5
10111 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10112 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10113 if diff conftest.exp conftest.er2 >/dev/null; then
10114 lt_cv_prog_compiler_static_works=yes
10117 lt_cv_prog_compiler_static_works=yes
10121 LDFLAGS="$save_LDFLAGS"
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10125 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10127 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10130 lt_prog_compiler_static=
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10140 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10141 if ${lt_cv_prog_compiler_c_o+:} false; then :
10142 $as_echo_n "(cached
) " >&6
10144 lt_cv_prog_compiler_c_o=no
10145 $RM -r conftest 2>/dev/null
10149 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10151 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10152 # Insert the option either (1) after the last *FLAGS variable, or
10153 # (2) before a word containing "conftest.
", or (3) at the end.
10154 # Note that $ac_compile itself does not contain backslashes and begins
10155 # with a dollar sign (not a hyphen), so the echo should work correctly.
10156 lt_compile=`echo "$ac_compile" | $SED \
10157 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10158 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10159 -e 's:$: $lt_compiler_flag:'`
10160 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10161 (eval "$lt_compile" 2>out/conftest.err)
10163 cat out/conftest.err >&5
10164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10165 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10167 # The compiler can only warn and ignore the option if not recognized
10168 # So say no if there are warnings
10169 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10170 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10171 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10172 lt_cv_prog_compiler_c_o=yes
10177 # SGI C++ compiler will create directory out/ii_files/ for
10178 # template instantiation
10179 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10180 $RM out/* && rmdir out
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10187 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10195 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10196 if ${lt_cv_prog_compiler_c_o+:} false; then :
10197 $as_echo_n "(cached
) " >&6
10199 lt_cv_prog_compiler_c_o=no
10200 $RM -r conftest 2>/dev/null
10204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10206 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10207 # Insert the option either (1) after the last *FLAGS variable, or
10208 # (2) before a word containing "conftest.
", or (3) at the end.
10209 # Note that $ac_compile itself does not contain backslashes and begins
10210 # with a dollar sign (not a hyphen), so the echo should work correctly.
10211 lt_compile=`echo "$ac_compile" | $SED \
10212 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10213 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10214 -e 's:$: $lt_compiler_flag:'`
10215 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10216 (eval "$lt_compile" 2>out/conftest.err)
10218 cat out/conftest.err >&5
10219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10220 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10222 # The compiler can only warn and ignore the option if not recognized
10223 # So say no if there are warnings
10224 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10225 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10226 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10227 lt_cv_prog_compiler_c_o=yes
10232 # SGI C++ compiler will create directory out/ii_files/ for
10233 # template instantiation
10234 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10235 $RM out/* && rmdir out
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10242 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10247 hard_links="nottested
"
10248 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10249 # do not overwrite the value of need_locks provided by the user
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10251 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10254 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10256 ln conftest.a conftest.b 2>&5 || hard_links=no
10257 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10259 $as_echo "$hard_links" >&6; }
10260 if test "$hard_links" = no; then
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10262 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10275 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10278 allow_undefined_flag=
10279 always_export_symbols=no
10281 archive_expsym_cmds=
10282 compiler_needs_object=no
10283 enable_shared_with_static_runtimes=no
10284 export_dynamic_flag_spec=
10285 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10286 hardcode_automatic=no
10288 hardcode_direct_absolute=no
10289 hardcode_libdir_flag_spec=
10290 hardcode_libdir_flag_spec_ld=
10291 hardcode_libdir_separator=
10292 hardcode_minus_L=no
10293 hardcode_shlibpath_var=unsupported
10295 link_all_deplibs=unknown
10297 module_expsym_cmds=
10298 old_archive_from_new_cmds=
10299 old_archive_from_expsyms_cmds=
10300 thread_safe_flag_spec=
10301 whole_archive_flag_spec=
10302 # include_expsyms should be a list of space-separated symbols to be *always*
10303 # included in the symbol list
10305 # exclude_expsyms can be an extended regexp of symbols to exclude
10306 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10307 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10308 # as well as any symbol that contains `d'.
10309 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10310 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10311 # platforms (ab)use it in PIC code, but their linkers get confused if
10312 # the symbol is explicitly referenced. Since portable code cannot
10313 # rely on this symbol name, it's probably fine to never include it in
10314 # preloaded symbol tables.
10315 # Exclude shared library initialization/finalization symbols.
10316 extract_expsyms_cmds=
10319 cygwin* | mingw* | pw32* | cegcc*)
10320 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10321 # When not using gcc, we currently assume that we are using
10322 # Microsoft Visual C++.
10323 if test "$GCC" != yes; then
10328 # we just hope/assume this is gcc and not c89 (= MSVC++)
10338 # On some targets, GNU ld is compatible enough with the native linker
10339 # that we're better off using the native interface for both.
10340 lt_use_gnu_ld_interface=no
10341 if test "$with_gnu_ld" = yes; then
10344 # The AIX port of GNU ld has always aspired to compatibility
10345 # with the native linker. However, as the warning in the GNU ld
10346 # block says, versions before 2.19.5* couldn't really create working
10347 # shared libraries, regardless of the interface used.
10348 case `$LD -v 2>&1` in
10349 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10350 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10351 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10353 lt_use_gnu_ld_interface=yes
10358 lt_use_gnu_ld_interface=yes
10363 if test "$lt_use_gnu_ld_interface" = yes; then
10364 # If archive_cmds runs LD, not CC, wlarc should be empty
10367 # Set some defaults for GNU ld with shared library support. These
10368 # are reset later if shared libraries are not supported. Putting them
10369 # here allows them to be overridden if necessary.
10370 runpath_var=LD_RUN_PATH
10371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10372 export_dynamic_flag_spec='${wl}--export-dynamic'
10373 # ancient GNU ld didn't support --whole-archive et. al.
10374 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10375 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10377 whole_archive_flag_spec=
10379 supports_anon_versioning=no
10380 case `$LD -v 2>&1` in
10381 *GNU\ gold*) supports_anon_versioning=yes ;;
10382 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10383 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10384 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10385 *\ 2.11.*) ;; # other 2.11 versions
10386 *) supports_anon_versioning=yes ;;
10389 # See if GNU ld supports shared libraries.
10392 # On AIX/PPC, the GNU linker is very broken
10393 if test "$host_cpu" != ia64; then
10397 *** Warning: the GNU linker, at least up to release 2.19, is reported
10398 *** to be unable to reliably create shared libraries on AIX.
10399 *** Therefore, libtool is disabling shared libraries support. If you
10400 *** really care for shared libraries, you may want to install binutils
10401 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10402 *** You will then need to restart the configuration process.
10411 # see comment about AmigaOS4 .so support
10412 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10413 archive_expsym_cmds=''
10416 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)'
10417 hardcode_libdir_flag_spec
='-L$libdir'
10418 hardcode_minus_L
=yes
10424 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10425 allow_undefined_flag
=unsupported
10426 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10427 # support --undefined. This deserves some investigation. FIXME
10428 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10434 cygwin
* | mingw
* | pw32
* | cegcc
*)
10435 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10436 # as there is no search path for DLLs.
10437 hardcode_libdir_flag_spec
='-L$libdir'
10438 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10439 allow_undefined_flag
=unsupported
10440 always_export_symbols
=no
10441 enable_shared_with_static_runtimes
=yes
10442 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10444 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10445 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10446 # If the export-symbols file already is a .def file (1st line
10447 # is EXPORTS), use it as is; otherwise, prepend...
10448 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10449 cp $export_symbols $output_objdir/$soname.def;
10451 echo EXPORTS > $output_objdir/$soname.def;
10452 cat $export_symbols >> $output_objdir/$soname.def;
10454 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10461 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10462 link_all_deplibs
=yes
10467 hardcode_shlibpath_var
=no
10468 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10469 export_dynamic_flag_spec
='${wl}-E'
10470 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10471 # Instead, shared libraries are loaded at an image base (0x10000000 by
10472 # default) and relocated if they conflict, which is a slow very memory
10473 # consuming and fragmenting process. To avoid this, we pick a random,
10474 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10475 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10476 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10477 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'
10480 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10482 if test "$host_os" = linux-dietlibc
; then
10483 case $cc_basename in
10484 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10487 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10488 && test "$tmp_diet" = no
10490 tmp_addflag
=' $pic_flag'
10491 tmp_sharedflag
='-shared'
10492 case $cc_basename,$host_cpu in
10493 pgcc
*) # Portland Group C compiler
10494 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'
10495 tmp_addflag
=' $pic_flag'
10497 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10498 # Portland Group f77 and f90 compilers
10499 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'
10500 tmp_addflag
=' $pic_flag -Mnomain' ;;
10501 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10502 tmp_addflag
=' -i_dynamic' ;;
10503 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10504 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10505 ifc
* | ifort
*) # Intel Fortran compiler
10506 tmp_addflag
=' -nofor_main' ;;
10507 lf95
*) # Lahey Fortran 8.1
10508 whole_archive_flag_spec
=
10509 tmp_sharedflag
='--shared' ;;
10510 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10511 tmp_sharedflag
='-qmkshrobj'
10513 nvcc
*) # Cuda Compiler Driver 2.2
10514 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'
10515 compiler_needs_object
=yes
10518 case `$CC -V 2>&1 | sed 5q` in
10519 *Sun\ C
*) # Sun C 5.9
10520 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'
10521 compiler_needs_object
=yes
10522 tmp_sharedflag
='-G' ;;
10523 *Sun\ F
*) # Sun Fortran 8.3
10524 tmp_sharedflag
='-G' ;;
10526 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10528 if test "x$supports_anon_versioning" = xyes
; then
10529 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10530 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10531 echo "local: *; };" >> $output_objdir/$libname.ver~
10532 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10535 case $cc_basename in
10536 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10537 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10538 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10539 hardcode_libdir_flag_spec
=
10540 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10541 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10542 if test "x$supports_anon_versioning" = xyes
; then
10543 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10544 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10545 echo "local: *; };" >> $output_objdir/$libname.ver~
10546 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10556 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10557 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10560 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10561 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10566 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10570 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10571 *** create shared libraries on Solaris systems. Therefore, libtool
10572 *** is disabling shared libraries support. We urge you to upgrade GNU
10573 *** binutils to release 2.9.1 or newer. Another option is to modify
10574 *** your PATH or compiler configuration so that the native linker is
10575 *** used, and then restart.
10578 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10579 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10580 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10586 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10587 case `$LD -v 2>&1` in
10588 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10592 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10593 *** reliably create shared libraries on SCO systems. Therefore, libtool
10594 *** is disabling shared libraries support. We urge you to upgrade GNU
10595 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10596 *** your PATH or compiler configuration so that the native linker is
10597 *** used, and then restart.
10602 # For security reasons, it is highly recommended that you always
10603 # use absolute paths for naming shared libraries, and exclude the
10604 # DT_RUNPATH tag from executables and libraries. But doing so
10605 # requires that you compile everything twice, which is a pain.
10606 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10607 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10608 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10609 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10618 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10620 hardcode_direct
=yes
10621 hardcode_shlibpath_var
=no
10625 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10626 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10627 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10634 if test "$ld_shlibs" = no
; then
10636 hardcode_libdir_flag_spec
=
10637 export_dynamic_flag_spec
=
10638 whole_archive_flag_spec
=
10641 # PORTME fill in a description of your system's linker (not GNU ld)
10644 allow_undefined_flag
=unsupported
10645 always_export_symbols
=yes
10646 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'
10647 # Note: this linker hardcodes the directories in LIBPATH if there
10648 # are no directories specified by -L.
10649 hardcode_minus_L
=yes
10650 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10651 # Neither direct hardcoding nor static linking is supported with a
10653 hardcode_direct
=unsupported
10658 if test "$host_cpu" = ia64
; then
10659 # On IA64, the linker does run time linking by default, so we don't
10660 # have to do anything special.
10661 aix_use_runtimelinking
=no
10662 exp_sym_flag
='-Bexport'
10665 # If we're using GNU nm, then we don't want the "-C" option.
10666 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10667 # Also, AIX nm treats weak defined symbols like other global
10668 # defined symbols, whereas GNU nm marks them as "W".
10669 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10670 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'
10672 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'
10674 aix_use_runtimelinking
=no
10676 # Test if we are trying to use run time linking or normal
10677 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10678 # need to do runtime linking.
10679 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10680 for ld_flag
in $LDFLAGS; do
10681 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10682 aix_use_runtimelinking
=yes
10689 exp_sym_flag
='-bexport'
10690 no_entry_flag
='-bnoentry'
10693 # When large executables or shared objects are built, AIX ld can
10694 # have problems creating the table of contents. If linking a library
10695 # or program results in "error TOC overflow" add -mminimal-toc to
10696 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10697 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10700 hardcode_direct
=yes
10701 hardcode_direct_absolute
=yes
10702 hardcode_libdir_separator
=':'
10703 link_all_deplibs
=yes
10704 file_list_spec
='${wl}-f,'
10706 if test "$GCC" = yes; then
10707 case $host_os in aix4.
[012]|aix4.
[012].
*)
10708 # We only want to do this on AIX 4.2 and lower, the check
10709 # below for broken collect2 doesn't work under 4.3+
10710 collect2name
=`${CC} -print-prog-name=collect2`
10711 if test -f "$collect2name" &&
10712 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10714 # We have reworked collect2
10717 # We have old collect2
10718 hardcode_direct
=unsupported
10719 # It fails to find uninstalled libraries when the uninstalled
10720 # path is not listed in the libpath. Setting hardcode_minus_L
10721 # to unsupported forces relinking
10722 hardcode_minus_L
=yes
10723 hardcode_libdir_flag_spec
='-L$libdir'
10724 hardcode_libdir_separator
=
10728 shared_flag
='-shared'
10729 if test "$aix_use_runtimelinking" = yes; then
10730 shared_flag
="$shared_flag "'${wl}-G'
10734 if test "$host_cpu" = ia64
; then
10735 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10736 # chokes on -Wl,-G. The following line is correct:
10739 if test "$aix_use_runtimelinking" = yes; then
10740 shared_flag
='${wl}-G'
10742 shared_flag
='${wl}-bM:SRE'
10747 export_dynamic_flag_spec
='${wl}-bexpall'
10748 # It seems that -bexpall does not export symbols beginning with
10749 # underscore (_), so it is better to generate a list of symbols to export.
10750 always_export_symbols
=yes
10751 if test "$aix_use_runtimelinking" = yes; then
10752 # Warning - without using the other runtime loading flags (-brtl),
10753 # -berok will link without error, but may produce a broken library.
10754 allow_undefined_flag
='-berok'
10755 # Determine the default libpath from the value encoded in an
10756 # empty executable.
10757 if test x
$gcc_no_link = xyes
; then
10758 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10771 if ac_fn_c_try_link
"$LINENO"; then :
10773 lt_aix_libpath_sed
='
10774 /Import File Strings/,/^$/ {
10780 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10781 # Check for a 64-bit object if we didn't find anything.
10782 if test -z "$aix_libpath"; then
10783 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10786 rm -f core conftest.err conftest.
$ac_objext \
10787 conftest
$ac_exeext conftest.
$ac_ext
10788 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10790 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10791 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"
10793 if test "$host_cpu" = ia64
; then
10794 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10795 allow_undefined_flag
="-z nodefs"
10796 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"
10798 # Determine the default libpath from the value encoded in an
10799 # empty executable.
10800 if test x
$gcc_no_link = xyes
; then
10801 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10814 if ac_fn_c_try_link
"$LINENO"; then :
10816 lt_aix_libpath_sed
='
10817 /Import File Strings/,/^$/ {
10823 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10824 # Check for a 64-bit object if we didn't find anything.
10825 if test -z "$aix_libpath"; then
10826 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10829 rm -f core conftest.err conftest.
$ac_objext \
10830 conftest
$ac_exeext conftest.
$ac_ext
10831 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10833 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10834 # Warning - without using the other run time loading flags,
10835 # -berok will link without error, but may produce a broken library.
10836 no_undefined_flag
=' ${wl}-bernotok'
10837 allow_undefined_flag
=' ${wl}-berok'
10838 if test "$with_gnu_ld" = yes; then
10839 # We only use this code for GNU lds that support --whole-archive.
10840 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10842 # Exported symbols can be pulled into shared objects from archives
10843 whole_archive_flag_spec
='$convenience'
10845 archive_cmds_need_lc
=yes
10846 # This is similar to how AIX traditionally builds its shared libraries.
10847 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'
10855 # see comment about AmigaOS4 .so support
10856 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10857 archive_expsym_cmds
=''
10860 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)'
10861 hardcode_libdir_flag_spec
='-L$libdir'
10862 hardcode_minus_L
=yes
10868 export_dynamic_flag_spec
=-rdynamic
10871 cygwin
* | mingw
* | pw32
* | cegcc
*)
10872 # When not using gcc, we currently assume that we are using
10873 # Microsoft Visual C++.
10874 # hardcode_libdir_flag_spec is actually meaningless, as there is
10875 # no search path for DLLs.
10876 hardcode_libdir_flag_spec
=' '
10877 allow_undefined_flag
=unsupported
10878 # Tell ltmain to make .lib files, not .a files.
10880 # Tell ltmain to make .dll files, not .so files.
10882 # FIXME: Setting linknames here is a bad hack.
10883 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10884 # The linker will automatically build a .lib file if we build a DLL.
10885 old_archive_from_new_cmds
='true'
10886 # FIXME: Should let the user specify the lib program.
10887 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10888 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10889 enable_shared_with_static_runtimes
=yes
10892 darwin
* | rhapsody
*)
10895 archive_cmds_need_lc
=no
10897 hardcode_automatic
=yes
10898 hardcode_shlibpath_var
=unsupported
10899 if test "$lt_cv_ld_force_load" = "yes"; then
10900 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\"`'
10902 whole_archive_flag_spec
=''
10904 link_all_deplibs
=yes
10905 allow_undefined_flag
="$_lt_dar_allow_undefined"
10906 case $cc_basename in
10907 ifort
*) _lt_dar_can_shared
=yes ;;
10908 *) _lt_dar_can_shared
=$GCC ;;
10910 if test "$_lt_dar_can_shared" = "yes"; then
10911 output_verbose_link_cmd
=func_echo_all
10912 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10913 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10914 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10915 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}"
10924 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10925 hardcode_libdir_flag_spec
='-L$libdir'
10926 hardcode_shlibpath_var
=no
10929 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10930 # support. Future versions do this automatically, but an explicit c++rt0.o
10931 # does not break anything, and helps significantly (at the cost of a little
10934 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10935 hardcode_libdir_flag_spec
='-R$libdir'
10936 hardcode_direct
=yes
10937 hardcode_shlibpath_var
=no
10940 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10942 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10943 hardcode_direct
=yes
10944 hardcode_minus_L
=yes
10945 hardcode_shlibpath_var
=no
10948 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10949 freebsd
* | dragonfly
*)
10950 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10951 hardcode_libdir_flag_spec
='-R$libdir'
10952 hardcode_direct
=yes
10953 hardcode_shlibpath_var
=no
10957 if test "$GCC" = yes; then
10958 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'
10960 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'
10962 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10963 hardcode_libdir_separator
=:
10964 hardcode_direct
=yes
10966 # hardcode_minus_L: Not really in the search PATH,
10967 # but as the default location of the library.
10968 hardcode_minus_L
=yes
10969 export_dynamic_flag_spec
='${wl}-E'
10973 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10974 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10976 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10978 if test "$with_gnu_ld" = no
; then
10979 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10980 hardcode_libdir_flag_spec_ld
='+b $libdir'
10981 hardcode_libdir_separator
=:
10982 hardcode_direct
=yes
10983 hardcode_direct_absolute
=yes
10984 export_dynamic_flag_spec
='${wl}-E'
10985 # hardcode_minus_L: Not really in the search PATH,
10986 # but as the default location of the library.
10987 hardcode_minus_L
=yes
10992 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10995 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10998 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11001 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11007 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11010 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11014 # Older versions of the 11.00 compiler do not understand -b yet
11015 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11017 $as_echo_n "checking if $CC understands -b... " >&6; }
11018 if ${lt_cv_prog_compiler__b+:} false
; then :
11019 $as_echo_n "(cached) " >&6
11021 lt_cv_prog_compiler__b
=no
11022 save_LDFLAGS
="$LDFLAGS"
11023 LDFLAGS
="$LDFLAGS -b"
11024 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11025 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11026 # The linker can only warn and ignore the option if not recognized
11027 # So say no if there are warnings
11028 if test -s conftest.err
; then
11029 # Append any errors to the config.log.
11030 cat conftest.err
1>&5
11031 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11032 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11033 if diff conftest.exp conftest.er2
>/dev
/null
; then
11034 lt_cv_prog_compiler__b
=yes
11037 lt_cv_prog_compiler__b
=yes
11041 LDFLAGS
="$save_LDFLAGS"
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11045 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11047 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11048 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11050 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11056 if test "$with_gnu_ld" = no
; then
11057 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11058 hardcode_libdir_separator
=:
11063 hardcode_shlibpath_var
=no
11066 hardcode_direct
=yes
11067 hardcode_direct_absolute
=yes
11068 export_dynamic_flag_spec
='${wl}-E'
11070 # hardcode_minus_L: Not really in the search PATH,
11071 # but as the default location of the library.
11072 hardcode_minus_L
=yes
11078 irix5
* | irix6
* | nonstopux
*)
11079 if test "$GCC" = yes; then
11080 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'
11081 # Try to use the -exported_symbol ld option, if it does not
11082 # work, assume that -exports_file does not work either and
11083 # implicitly export all symbols.
11084 save_LDFLAGS
="$LDFLAGS"
11085 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11086 if test x
$gcc_no_link = xyes
; then
11087 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11093 if ac_fn_c_try_link
"$LINENO"; then :
11094 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'
11097 rm -f core conftest.err conftest.
$ac_objext \
11098 conftest
$ac_exeext conftest.
$ac_ext
11099 LDFLAGS
="$save_LDFLAGS"
11101 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'
11102 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'
11104 archive_cmds_need_lc
='no'
11105 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11106 hardcode_libdir_separator
=:
11108 link_all_deplibs
=yes
11112 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11113 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11115 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11117 hardcode_libdir_flag_spec
='-R$libdir'
11118 hardcode_direct
=yes
11119 hardcode_shlibpath_var
=no
11123 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11124 hardcode_direct
=yes
11125 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11126 hardcode_libdir_separator
=:
11127 hardcode_shlibpath_var
=no
11134 if test -f /usr
/libexec
/ld.so
; then
11135 hardcode_direct
=yes
11136 hardcode_shlibpath_var
=no
11137 hardcode_direct_absolute
=yes
11138 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11139 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11140 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11141 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11142 export_dynamic_flag_spec
='${wl}-E'
11145 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11146 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11147 hardcode_libdir_flag_spec
='-R$libdir'
11150 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11151 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11161 hardcode_libdir_flag_spec
='-L$libdir'
11162 hardcode_minus_L
=yes
11163 allow_undefined_flag
=unsupported
11164 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'
11165 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11169 if test "$GCC" = yes; then
11170 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11171 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'
11173 allow_undefined_flag
=' -expect_unresolved \*'
11174 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'
11176 archive_cmds_need_lc
='no'
11177 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11178 hardcode_libdir_separator
=:
11181 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11182 if test "$GCC" = yes; then
11183 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11184 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'
11185 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11187 allow_undefined_flag
=' -expect_unresolved \*'
11188 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'
11189 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~
11190 $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'
11192 # Both c and cxx compiler support -rpath directly
11193 hardcode_libdir_flag_spec
='-rpath $libdir'
11195 archive_cmds_need_lc
='no'
11196 hardcode_libdir_separator
=:
11200 no_undefined_flag
=' -z defs'
11201 if test "$GCC" = yes; then
11203 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11204 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11205 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11207 case `$CC -V 2>&1` in
11210 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11211 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11212 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11216 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11217 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11218 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11222 hardcode_libdir_flag_spec
='-R$libdir'
11223 hardcode_shlibpath_var
=no
11225 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11227 # The compiler driver will combine and reorder linker options,
11228 # but understands `-z linker_flag'. GCC discards it without `$wl',
11229 # but is careful enough not to reorder.
11230 # Supported since Solaris 2.6 (maybe 2.5.1?)
11231 if test "$GCC" = yes; then
11232 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11234 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11238 link_all_deplibs
=yes
11242 if test "x$host_vendor" = xsequent
; then
11243 # Use $CC to link under sequent, because it throws in some extra .o
11244 # files that make .init and .fini sections work.
11245 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11247 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11249 hardcode_libdir_flag_spec
='-L$libdir'
11250 hardcode_direct
=yes
11251 hardcode_minus_L
=yes
11252 hardcode_shlibpath_var
=no
11256 case $host_vendor in
11258 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11259 hardcode_direct
=yes # is this really true???
11262 ## LD is ld it makes a PLAMLIB
11263 ## CC just makes a GrossModule.
11264 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11265 reload_cmds
='$CC -r -o $output$reload_objs'
11269 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11270 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11273 runpath_var
='LD_RUN_PATH'
11274 hardcode_shlibpath_var
=no
11278 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11279 hardcode_shlibpath_var
=no
11280 export_dynamic_flag_spec
='-Bexport'
11284 if test -d /usr
/nec
; then
11285 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11286 hardcode_shlibpath_var
=no
11287 runpath_var
=LD_RUN_PATH
11288 hardcode_runpath_var
=yes
11293 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11294 no_undefined_flag
='${wl}-z,text'
11295 archive_cmds_need_lc
=no
11296 hardcode_shlibpath_var
=no
11297 runpath_var
='LD_RUN_PATH'
11299 if test "$GCC" = yes; then
11300 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11301 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11303 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11304 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11308 sysv5
* | sco3.2v5
* | sco5v6
*)
11309 # Note: We can NOT use -z defs as we might desire, because we do not
11310 # link with -lc, and that would cause any symbols used from libc to
11311 # always be unresolved, which means just about no library would
11312 # ever link correctly. If we're not using GNU ld we use -z text
11313 # though, which does catch some bad symbols but isn't as heavy-handed
11315 no_undefined_flag
='${wl}-z,text'
11316 allow_undefined_flag
='${wl}-z,nodefs'
11317 archive_cmds_need_lc
=no
11318 hardcode_shlibpath_var
=no
11319 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11320 hardcode_libdir_separator
=':'
11321 link_all_deplibs
=yes
11322 export_dynamic_flag_spec
='${wl}-Bexport'
11323 runpath_var
='LD_RUN_PATH'
11325 if test "$GCC" = yes; then
11326 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11327 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11329 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11330 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11335 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11336 hardcode_libdir_flag_spec
='-L$libdir'
11337 hardcode_shlibpath_var
=no
11345 if test x
$host_vendor = xsni
; then
11347 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11348 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11355 $as_echo "$ld_shlibs" >&6; }
11356 test "$ld_shlibs" = no
&& can_build_shared
=no
11358 with_gnu_ld
=$with_gnu_ld
11375 # Do we need to explicitly link libc?
11377 case "x$archive_cmds_need_lc" in
11379 # Assume -lc should be added
11380 archive_cmds_need_lc
=yes
11382 if test "$enable_shared" = yes && test "$GCC" = yes; then
11383 case $archive_cmds in
11385 # FIXME: we may have to deal with multi-command sequences.
11388 # Test whether the compiler implicitly links with -lc since on some
11389 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11390 # to ld, don't add -lc before -lgcc.
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11392 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11393 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11394 $as_echo_n "(cached) " >&6
11397 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11400 (eval $ac_compile) 2>&5
11402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11403 test $ac_status = 0; } 2>conftest.err
; then
11406 libobjs
=conftest.
$ac_objext
11408 wl
=$lt_prog_compiler_wl
11409 pic_flag
=$lt_prog_compiler_pic
11415 lt_save_allow_undefined_flag
=$allow_undefined_flag
11416 allow_undefined_flag
=
11417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11418 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11421 test $ac_status = 0; }
11423 lt_cv_archive_cmds_need_lc
=no
11425 lt_cv_archive_cmds_need_lc
=yes
11427 allow_undefined_flag
=$lt_save_allow_undefined_flag
11429 cat conftest.err
1>&5
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11435 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11436 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11600 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11602 if test "$GCC" = yes; then
11604 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11605 *) lt_awk_arg
="/^libraries:/" ;;
11608 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11609 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11611 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11612 case $lt_search_path_spec in
11614 # if the path contains ";" then we assume it to be the separator
11615 # otherwise default to the standard path separator (i.e. ":") - it is
11616 # assumed that no part of a normal pathname contains ";" but that should
11617 # okay in the real world where ";" in dirpaths is itself problematic.
11618 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11621 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11624 # Ok, now we have the path, separated by spaces, we can step through it
11625 # and add multilib dir if necessary.
11626 lt_tmp_lt_search_path_spec
=
11627 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11628 for lt_sys_path
in $lt_search_path_spec; do
11629 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11630 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11632 test -d "$lt_sys_path" && \
11633 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11636 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11637 BEGIN {RS=" "; FS="/|\n";} {
11640 for (lt_i = NF; lt_i > 0; lt_i--) {
11641 if ($lt_i != "" && $lt_i != ".") {
11642 if ($lt_i == "..") {
11645 if (lt_count == 0) {
11646 lt_foo="/" $lt_i lt_foo;
11653 if (lt_foo != "") { lt_freq[lt_foo]++; }
11654 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11656 # AWK program above erroneously prepends '/' to C:/dos/paths
11659 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11660 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11662 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11664 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11666 library_names_spec
=
11667 libname_spec
='lib$name'
11671 postuninstall_cmds
=
11675 shlibpath_overrides_runpath
=unknown
11677 dynamic_linker
="$host_os ld.so"
11678 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11679 need_lib_prefix
=unknown
11680 hardcode_into_libs
=no
11682 # when you set need_version to no, make sure it does not cause -set_version
11683 # flags to be left without arguments
11684 need_version
=unknown
11689 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11690 shlibpath_var
=LIBPATH
11692 # AIX 3 has no versioning support, so we append a major version to the name.
11693 soname_spec
='${libname}${release}${shared_ext}$major'
11700 hardcode_into_libs
=yes
11701 if test "$host_cpu" = ia64
; then
11702 # AIX 5 supports IA64
11703 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11704 shlibpath_var
=LD_LIBRARY_PATH
11706 # With GCC up to 2.95.x, collect2 would create an import file
11707 # for dependence libraries. The import file would start with
11708 # the line `#! .'. This would cause the generated library to
11709 # depend on `.', always an invalid library. This was fixed in
11710 # development snapshots of GCC prior to 3.0.
11712 aix4 | aix4.
[01] | aix4.
[01].
*)
11713 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11715 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11718 can_build_shared
=no
11722 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11723 # soname into executable. Probably we can add versioning support to
11724 # collect2, so additional links can be useful in future.
11725 if test "$aix_use_runtimelinking" = yes; then
11726 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11727 # instead of lib<name>.a to let people know that these are not
11728 # typical AIX shared libraries.
11729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11731 # We preserve .a as extension for shared libraries through AIX4.2
11732 # and later when we are not doing run time linking.
11733 library_names_spec
='${libname}${release}.a $libname.a'
11734 soname_spec
='${libname}${release}${shared_ext}$major'
11736 shlibpath_var
=LIBPATH
11743 # Since July 2007 AmigaOS4 officially supports .so libraries.
11744 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11748 library_names_spec
='$libname.ixlibrary $libname.a'
11749 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11750 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'
11756 library_names_spec
='${libname}${shared_ext}'
11757 dynamic_linker
="$host_os ld.so"
11758 shlibpath_var
=LIBRARY_PATH
11764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11765 soname_spec
='${libname}${release}${shared_ext}$major'
11766 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11767 shlibpath_var
=LD_LIBRARY_PATH
11768 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11769 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11770 # the default ld.so.conf also contains /usr/contrib/lib and
11771 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11772 # libtool to hard-code these into programs
11775 cygwin
* | mingw
* | pw32
* | cegcc
*)
11776 version_type
=windows
11781 case $GCC,$host_os in
11782 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11783 library_names_spec
='$libname.dll.a'
11784 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11785 postinstall_cmds
='base_file=`basename \${file}`~
11786 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11787 dldir=$destdir/`dirname \$dlpath`~
11788 test -d \$dldir || mkdir -p \$dldir~
11789 $install_prog $dir/$dlname \$dldir/$dlname~
11790 chmod a+x \$dldir/$dlname~
11791 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11792 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11794 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11795 dlpath=$dir/\$dldll~
11797 shlibpath_overrides_runpath
=yes
11801 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11802 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11804 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11807 # MinGW DLLs use traditional 'lib' prefix
11808 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11811 # pw32 DLLs use 'pw' prefix rather than 'lib'
11812 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11818 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11821 dynamic_linker
='Win32 ld.exe'
11822 # FIXME: first we should search . and the directory the executable is in
11826 darwin
* | rhapsody
*)
11827 dynamic_linker
="$host_os dyld"
11828 version_type
=darwin
11831 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11832 soname_spec
='${libname}${release}${major}$shared_ext'
11833 shlibpath_overrides_runpath
=yes
11834 shlibpath_var
=DYLD_LIBRARY_PATH
11835 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11837 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11838 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11846 soname_spec
='${libname}${release}${shared_ext}$major'
11847 shlibpath_var
=LD_LIBRARY_PATH
11850 freebsd
* | dragonfly
*)
11851 # DragonFly does not have aout. When/if they implement a new
11852 # versioning mechanism, adjust this.
11853 if test -x /usr
/bin
/objformat
; then
11854 objformat
=`/usr/bin/objformat`
11857 freebsd
[23].
*) objformat
=aout
;;
11858 *) objformat
=elf
;;
11861 version_type
=freebsd-
$objformat
11862 case $version_type in
11864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11869 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11873 shlibpath_var
=LD_LIBRARY_PATH
11876 shlibpath_overrides_runpath
=yes
11878 freebsd3.
[01]* | freebsdelf3.
[01]*)
11879 shlibpath_overrides_runpath
=yes
11880 hardcode_into_libs
=yes
11882 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11883 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11884 shlibpath_overrides_runpath
=no
11885 hardcode_into_libs
=yes
11887 *) # from 4.6 on, and DragonFly
11888 shlibpath_overrides_runpath
=yes
11889 hardcode_into_libs
=yes
11898 dynamic_linker
="$host_os runtime_loader"
11899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11900 soname_spec
='${libname}${release}${shared_ext}$major'
11901 shlibpath_var
=LIBRARY_PATH
11902 shlibpath_overrides_runpath
=yes
11903 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11904 hardcode_into_libs
=yes
11907 hpux9
* | hpux10
* | hpux11
*)
11908 # Give a soname corresponding to the major version so that dld.sl refuses to
11909 # link against other versions.
11916 hardcode_into_libs
=yes
11917 dynamic_linker
="$host_os dld.so"
11918 shlibpath_var
=LD_LIBRARY_PATH
11919 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11921 soname_spec
='${libname}${release}${shared_ext}$major'
11922 if test "X$HPUX_IA64_MODE" = X32
; then
11923 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11925 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11927 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11931 hardcode_into_libs
=yes
11932 dynamic_linker
="$host_os dld.sl"
11933 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11934 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11936 soname_spec
='${libname}${release}${shared_ext}$major'
11937 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11938 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11942 dynamic_linker
="$host_os dld.sl"
11943 shlibpath_var
=SHLIB_PATH
11944 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11946 soname_spec
='${libname}${release}${shared_ext}$major'
11949 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11950 postinstall_cmds
='chmod 555 $lib'
11951 # or fails outright, so override atomically:
11952 install_override_mode
=555
11959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11960 soname_spec
='${libname}${release}${shared_ext}$major'
11961 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11962 shlibpath_var
=LD_LIBRARY_PATH
11963 shlibpath_overrides_runpath
=no
11964 hardcode_into_libs
=yes
11967 irix5
* | irix6
* | nonstopux
*)
11969 nonstopux
*) version_type
=nonstopux
;;
11971 if test "$lt_cv_prog_gnu_ld" = yes; then
11979 soname_spec
='${libname}${release}${shared_ext}$major'
11980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11982 irix5
* | nonstopux
*)
11983 libsuff
= shlibsuff
=
11986 case $LD in # libtool.m4 will add one of these switches to LD
11987 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11988 libsuff
= shlibsuff
= libmagic
=32-bit;;
11989 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11990 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11991 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11992 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11993 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11997 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11998 shlibpath_overrides_runpath
=no
11999 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12000 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12001 hardcode_into_libs
=yes
12004 # No shared lib support for Linux oldld, aout, or coff.
12005 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12009 # This must be Linux ELF.
12011 # uclinux* changes (here and below) have been submitted to the libtool
12012 # project, but have not yet been accepted: they are GCC-local changes
12013 # for the time being. (See
12014 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12015 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12020 soname_spec
='${libname}${release}${shared_ext}$major'
12021 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12022 shlibpath_var
=LD_LIBRARY_PATH
12023 shlibpath_overrides_runpath
=no
12025 # Some binutils ld are patched to set DT_RUNPATH
12026 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12027 $as_echo_n "(cached) " >&6
12029 lt_cv_shlibpath_overrides_runpath
=no
12030 save_LDFLAGS
=$LDFLAGS
12031 save_libdir
=$libdir
12032 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12033 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12034 if test x
$gcc_no_link = xyes
; then
12035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12048 if ac_fn_c_try_link
"$LINENO"; then :
12049 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12050 lt_cv_shlibpath_overrides_runpath
=yes
12053 rm -f core conftest.err conftest.
$ac_objext \
12054 conftest
$ac_exeext conftest.
$ac_ext
12055 LDFLAGS
=$save_LDFLAGS
12056 libdir
=$save_libdir
12060 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12062 # This implies no fast_install, which is unacceptable.
12063 # Some rework will be needed to allow for fast_install
12064 # before this can be enabled.
12065 hardcode_into_libs
=yes
12067 # Append ld.so.conf contents to the search path
12068 if test -f /etc
/ld.so.conf
; then
12069 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' ' '`
12070 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12073 # We used to test for /lib/ld.so.1 and disable shared libraries on
12074 # powerpc, because MkLinux only supported shared libraries with the
12075 # GNU dynamic linker. Since this was broken with cross compilers,
12076 # most powerpc-linux boxes support dynamic linking these days and
12077 # people can always --disable-shared, the test was removed, and we
12078 # assume the GNU/Linux dynamic linker is in use.
12079 dynamic_linker
='GNU/Linux ld.so'
12086 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12088 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12089 dynamic_linker
='NetBSD (a.out) ld.so'
12091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12092 soname_spec
='${libname}${release}${shared_ext}$major'
12093 dynamic_linker
='NetBSD ld.elf_so'
12095 shlibpath_var
=LD_LIBRARY_PATH
12096 shlibpath_overrides_runpath
=yes
12097 hardcode_into_libs
=yes
12102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12103 shlibpath_var
=LD_LIBRARY_PATH
12104 shlibpath_overrides_runpath
=yes
12111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12112 soname_spec
='${libname}${release}${shared_ext}$major'
12113 shlibpath_var
=LD_LIBRARY_PATH
12114 shlibpath_overrides_runpath
=no
12115 hardcode_into_libs
=yes
12116 dynamic_linker
='ldqnx.so'
12121 sys_lib_dlsearch_path_spec
="/usr/lib"
12123 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12125 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12126 *) need_version
=no
;;
12128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12130 shlibpath_var
=LD_LIBRARY_PATH
12131 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12133 openbsd2.
[89] | openbsd2.
[89].
*)
12134 shlibpath_overrides_runpath
=no
12137 shlibpath_overrides_runpath
=yes
12141 shlibpath_overrides_runpath
=yes
12146 libname_spec
='$name'
12149 library_names_spec
='$libname${shared_ext} $libname.a'
12150 dynamic_linker
='OS/2 ld.exe'
12151 shlibpath_var
=LIBPATH
12154 osf3
* | osf4
* | osf5
*)
12158 soname_spec
='${libname}${release}${shared_ext}$major'
12159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12160 shlibpath_var
=LD_LIBRARY_PATH
12161 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12162 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12174 soname_spec
='${libname}${release}${shared_ext}$major'
12175 shlibpath_var
=LD_LIBRARY_PATH
12176 shlibpath_overrides_runpath
=yes
12177 hardcode_into_libs
=yes
12178 # ldd complains unless libraries are executable
12179 postinstall_cmds
='chmod +x $lib'
12184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12185 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12186 shlibpath_var
=LD_LIBRARY_PATH
12187 shlibpath_overrides_runpath
=yes
12188 if test "$with_gnu_ld" = yes; then
12196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12197 soname_spec
='${libname}${release}${shared_ext}$major'
12198 shlibpath_var
=LD_LIBRARY_PATH
12199 case $host_vendor in
12201 shlibpath_overrides_runpath
=no
12203 runpath_var
=LD_RUN_PATH
12211 shlibpath_overrides_runpath
=no
12212 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12218 if test -d /usr
/nec
;then
12220 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12221 soname_spec
='$libname${shared_ext}.$major'
12222 shlibpath_var
=LD_LIBRARY_PATH
12226 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12227 version_type
=freebsd-elf
12230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12231 soname_spec
='${libname}${release}${shared_ext}$major'
12232 shlibpath_var
=LD_LIBRARY_PATH
12233 shlibpath_overrides_runpath
=yes
12234 hardcode_into_libs
=yes
12235 if test "$with_gnu_ld" = yes; then
12236 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12238 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12241 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12245 sys_lib_dlsearch_path_spec
='/usr/lib'
12249 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12254 shlibpath_var
=LD_LIBRARY_PATH
12255 shlibpath_overrides_runpath
=no
12256 hardcode_into_libs
=yes
12261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12262 soname_spec
='${libname}${release}${shared_ext}$major'
12263 shlibpath_var
=LD_LIBRARY_PATH
12266 # Shared libraries for VwWorks, >= 7 only at this stage
12267 # and (fpic) still incompatible with "large" code models
12268 # in a few configurations. Only for RTP mode in any case,
12269 # and upon explicit request at configure time.
12272 case ${with_multisubdir}-${enable_shared} in
12279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12280 soname_spec
='${libname}${release}${shared_ext}$major'
12281 dynamic_linker
="$host_os module_loader"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12290 $as_echo "$dynamic_linker" >&6; }
12291 test "$dynamic_linker" = no
&& can_build_shared
=no
12293 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12294 if test "$GCC" = yes; then
12295 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12298 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12299 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12301 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12302 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12397 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12399 if test -n "$hardcode_libdir_flag_spec" ||
12400 test -n "$runpath_var" ||
12401 test "X$hardcode_automatic" = "Xyes" ; then
12403 # We can hardcode non-existent directories.
12404 if test "$hardcode_direct" != no
&&
12405 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12406 # have to relink, otherwise we might link with an installed library
12407 # when we should be linking with a yet-to-be-installed one
12408 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12409 test "$hardcode_minus_L" != no
; then
12410 # Linking always hardcodes the temporary library directory.
12411 hardcode_action
=relink
12413 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12414 hardcode_action
=immediate
12417 # We cannot hardcode anything, or else we can only hardcode existing
12419 hardcode_action
=unsupported
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12422 $as_echo "$hardcode_action" >&6; }
12424 if test "$hardcode_action" = relink ||
12425 test "$inherit_rpath" = yes; then
12426 # Fast installation is not supported
12427 enable_fast_install
=no
12428 elif test "$shlibpath_overrides_runpath" = yes ||
12429 test "$enable_shared" = no
; then
12430 # Fast installation is not necessary
12431 enable_fast_install
=needless
12439 if test "x$enable_dlopen" != xyes
; then
12440 enable_dlopen
=unknown
12441 enable_dlopen_self
=unknown
12442 enable_dlopen_self_static
=unknown
12449 lt_cv_dlopen
="load_add_on"
12451 lt_cv_dlopen_self
=yes
12454 mingw
* | pw32
* | cegcc
*)
12455 lt_cv_dlopen
="LoadLibrary"
12460 lt_cv_dlopen
="dlopen"
12465 # if libdl is installed we need to link against it
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12467 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12468 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12469 $as_echo_n "(cached) " >&6
12471 ac_check_lib_save_LIBS
=$LIBS
12473 if test x
$gcc_no_link = xyes
; then
12474 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12494 if ac_fn_c_try_link
"$LINENO"; then :
12495 ac_cv_lib_dl_dlopen
=yes
12497 ac_cv_lib_dl_dlopen
=no
12499 rm -f core conftest.err conftest.
$ac_objext \
12500 conftest
$ac_exeext conftest.
$ac_ext
12501 LIBS
=$ac_check_lib_save_LIBS
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12504 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12505 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12506 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12509 lt_cv_dlopen
="dyld"
12511 lt_cv_dlopen_self
=yes
12518 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12519 if test "x$ac_cv_func_shl_load" = xyes
; then :
12520 lt_cv_dlopen
="shl_load"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12523 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12524 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12525 $as_echo_n "(cached) " >&6
12527 ac_check_lib_save_LIBS
=$LIBS
12529 if test x
$gcc_no_link = xyes
; then
12530 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12545 return shl_load ();
12550 if ac_fn_c_try_link
"$LINENO"; then :
12551 ac_cv_lib_dld_shl_load
=yes
12553 ac_cv_lib_dld_shl_load
=no
12555 rm -f core conftest.err conftest.
$ac_objext \
12556 conftest
$ac_exeext conftest.
$ac_ext
12557 LIBS
=$ac_check_lib_save_LIBS
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12560 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12561 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12562 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12564 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12565 if test "x$ac_cv_func_dlopen" = xyes
; then :
12566 lt_cv_dlopen
="dlopen"
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12569 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12570 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12571 $as_echo_n "(cached) " >&6
12573 ac_check_lib_save_LIBS
=$LIBS
12575 if test x
$gcc_no_link = xyes
; then
12576 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12581 /* Override any GCC internal prototype to avoid an error.
12582 Use char because int might match the return type of a GCC
12583 builtin and then its argument prototype would still apply. */
12596 if ac_fn_c_try_link
"$LINENO"; then :
12597 ac_cv_lib_dl_dlopen
=yes
12599 ac_cv_lib_dl_dlopen
=no
12601 rm -f core conftest.err conftest.
$ac_objext \
12602 conftest
$ac_exeext conftest.
$ac_ext
12603 LIBS
=$ac_check_lib_save_LIBS
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12606 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12607 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12608 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12611 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12612 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12613 $as_echo_n "(cached) " >&6
12615 ac_check_lib_save_LIBS
=$LIBS
12616 LIBS
="-lsvld $LIBS"
12617 if test x
$gcc_no_link = xyes
; then
12618 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12623 /* Override any GCC internal prototype to avoid an error.
12624 Use char because int might match the return type of a GCC
12625 builtin and then its argument prototype would still apply. */
12638 if ac_fn_c_try_link
"$LINENO"; then :
12639 ac_cv_lib_svld_dlopen
=yes
12641 ac_cv_lib_svld_dlopen
=no
12643 rm -f core conftest.err conftest.
$ac_objext \
12644 conftest
$ac_exeext conftest.
$ac_ext
12645 LIBS
=$ac_check_lib_save_LIBS
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12648 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12649 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12650 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12653 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12654 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12655 $as_echo_n "(cached) " >&6
12657 ac_check_lib_save_LIBS
=$LIBS
12659 if test x
$gcc_no_link = xyes
; then
12660 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12675 return dld_link ();
12680 if ac_fn_c_try_link
"$LINENO"; then :
12681 ac_cv_lib_dld_dld_link
=yes
12683 ac_cv_lib_dld_dld_link
=no
12685 rm -f core conftest.err conftest.
$ac_objext \
12686 conftest
$ac_exeext conftest.
$ac_ext
12687 LIBS
=$ac_check_lib_save_LIBS
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12690 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12691 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12692 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12713 if test "x$lt_cv_dlopen" != xno
; then
12719 case $lt_cv_dlopen in
12721 save_CPPFLAGS
="$CPPFLAGS"
12722 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12724 save_LDFLAGS
="$LDFLAGS"
12725 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12728 LIBS
="$lt_cv_dlopen_libs $LIBS"
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12731 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12732 if ${lt_cv_dlopen_self+:} false
; then :
12733 $as_echo_n "(cached) " >&6
12735 if test "$cross_compiling" = yes; then :
12736 lt_cv_dlopen_self
=cross
12738 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12739 lt_status
=$lt_dlunknown
12740 cat > conftest.
$ac_ext <<_LT_EOF
12741 #line 12741 "configure"
12742 #include "confdefs.h"
12751 # define LT_DLGLOBAL RTLD_GLOBAL
12754 # define LT_DLGLOBAL DL_GLOBAL
12756 # define LT_DLGLOBAL 0
12760 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12761 find out it does not work in some platform. */
12762 #ifndef LT_DLLAZY_OR_NOW
12764 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12767 # define LT_DLLAZY_OR_NOW DL_LAZY
12770 # define LT_DLLAZY_OR_NOW RTLD_NOW
12773 # define LT_DLLAZY_OR_NOW DL_NOW
12775 # define LT_DLLAZY_OR_NOW 0
12782 /* When -fvisbility=hidden is used, assume the code has been annotated
12783 correspondingly for the symbols needed. */
12784 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12785 void fnord () __attribute__((visibility("default")));
12788 void fnord () { int i=42; }
12791 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12792 int status = $lt_dlunknown;
12796 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12799 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12800 else puts (dlerror ());
12802 /* dlclose (self); */
12810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12811 (eval $ac_link) 2>&5
12813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12814 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12815 (.
/conftest
; exit; ) >&5 2>/dev
/null
12817 case x
$lt_status in
12818 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12819 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12820 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12823 # compilation failed
12824 lt_cv_dlopen_self
=no
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12832 $as_echo "$lt_cv_dlopen_self" >&6; }
12834 if test "x$lt_cv_dlopen_self" = xyes
; then
12835 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12837 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12838 if ${lt_cv_dlopen_self_static+:} false
; then :
12839 $as_echo_n "(cached) " >&6
12841 if test "$cross_compiling" = yes; then :
12842 lt_cv_dlopen_self_static
=cross
12844 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12845 lt_status
=$lt_dlunknown
12846 cat > conftest.
$ac_ext <<_LT_EOF
12847 #line 12847 "configure"
12848 #include "confdefs.h"
12857 # define LT_DLGLOBAL RTLD_GLOBAL
12860 # define LT_DLGLOBAL DL_GLOBAL
12862 # define LT_DLGLOBAL 0
12866 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12867 find out it does not work in some platform. */
12868 #ifndef LT_DLLAZY_OR_NOW
12870 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12873 # define LT_DLLAZY_OR_NOW DL_LAZY
12876 # define LT_DLLAZY_OR_NOW RTLD_NOW
12879 # define LT_DLLAZY_OR_NOW DL_NOW
12881 # define LT_DLLAZY_OR_NOW 0
12888 /* When -fvisbility=hidden is used, assume the code has been annotated
12889 correspondingly for the symbols needed. */
12890 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12891 void fnord () __attribute__((visibility("default")));
12894 void fnord () { int i=42; }
12897 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12898 int status = $lt_dlunknown;
12902 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12905 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12906 else puts (dlerror ());
12908 /* dlclose (self); */
12916 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12917 (eval $ac_link) 2>&5
12919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12920 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12921 (.
/conftest
; exit; ) >&5 2>/dev
/null
12923 case x
$lt_status in
12924 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12925 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12926 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12929 # compilation failed
12930 lt_cv_dlopen_self_static
=no
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12938 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12941 CPPFLAGS
="$save_CPPFLAGS"
12942 LDFLAGS
="$save_LDFLAGS"
12947 case $lt_cv_dlopen_self in
12948 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12949 *) enable_dlopen_self
=unknown
;;
12952 case $lt_cv_dlopen_self_static in
12953 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12954 *) enable_dlopen_self_static
=unknown
;;
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12977 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12978 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12979 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12980 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12982 $as_echo "yes" >&6; }
12984 # FIXME - insert some real tests, host_os isn't really good enough
12987 if test -n "$STRIP" ; then
12988 striplib
="$STRIP -x"
12989 old_striplib
="$STRIP -S"
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12991 $as_echo "yes" >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12994 $as_echo "no" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12999 $as_echo "no" >&6; }
13015 # Report which library types will actually be built
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13017 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13019 $as_echo "$can_build_shared" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13022 $as_echo_n "checking whether to build shared libraries... " >&6; }
13023 test "$can_build_shared" = "no" && enable_shared
=no
13025 # On AIX, shared libraries and static libraries use the same namespace, and
13026 # are all built from PIC.
13029 test "$enable_shared" = yes && enable_static
=no
13030 if test -n "$RANLIB"; then
13031 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13032 postinstall_cmds
='$RANLIB $lib'
13037 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13038 test "$enable_shared" = yes && enable_static
=no
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13043 $as_echo "$enable_shared" >&6; }
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13046 $as_echo_n "checking whether to build static libraries... " >&6; }
13047 # Make sure either enable_shared or enable_static is yes.
13048 test "$enable_shared" = yes || enable_static
=yes
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13050 $as_echo "$enable_static" >&6; }
13057 ac_cpp
='$CPP $CPPFLAGS'
13058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13064 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13065 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13066 (test "X$CXX" != "Xg++"))) ; then
13068 ac_cpp
='$CXXCPP $CPPFLAGS'
13069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13073 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13074 if test -z "$CXXCPP"; then
13075 if ${ac_cv_prog_CXXCPP+:} false
; then :
13076 $as_echo_n "(cached) " >&6
13078 # Double quotes because CXXCPP needs to be expanded
13079 for CXXCPP
in "$CXX -E" "/lib/cpp"
13081 ac_preproc_ok
=false
13082 for ac_cxx_preproc_warn_flag
in '' yes
13084 # Use a header file that comes with gcc, so configuring glibc
13085 # with a fresh cross-compiler works.
13086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13087 # <limits.h> exists even on freestanding compilers.
13088 # On the NeXT, cc -E runs the code through the compiler's parser,
13089 # not just through cpp. "Syntax error" is here to catch this case.
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 # include <limits.h>
13095 # include <assert.h>
13099 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13102 # Broken: fails on valid input.
13105 rm -f conftest.err conftest.i conftest.
$ac_ext
13107 # OK, works on sane cases. Now check whether nonexistent headers
13108 # can be detected and how.
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13111 #include <ac_nonexistent.h>
13113 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13114 # Broken: success on invalid input.
13117 # Passes both tests.
13121 rm -f conftest.err conftest.i conftest.
$ac_ext
13124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13125 rm -f conftest.i conftest.err conftest.
$ac_ext
13126 if $ac_preproc_ok; then :
13131 ac_cv_prog_CXXCPP
=$CXXCPP
13134 CXXCPP
=$ac_cv_prog_CXXCPP
13136 ac_cv_prog_CXXCPP
=$CXXCPP
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13139 $as_echo "$CXXCPP" >&6; }
13140 ac_preproc_ok
=false
13141 for ac_cxx_preproc_warn_flag
in '' yes
13143 # Use a header file that comes with gcc, so configuring glibc
13144 # with a fresh cross-compiler works.
13145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13146 # <limits.h> exists even on freestanding compilers.
13147 # On the NeXT, cc -E runs the code through the compiler's parser,
13148 # not just through cpp. "Syntax error" is here to catch this case.
13149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13150 /* end confdefs.h. */
13152 # include <limits.h>
13154 # include <assert.h>
13158 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13161 # Broken: fails on valid input.
13164 rm -f conftest.err conftest.i conftest.
$ac_ext
13166 # OK, works on sane cases. Now check whether nonexistent headers
13167 # can be detected and how.
13168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13170 #include <ac_nonexistent.h>
13172 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13173 # Broken: success on invalid input.
13176 # Passes both tests.
13180 rm -f conftest.err conftest.i conftest.
$ac_ext
13183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13184 rm -f conftest.i conftest.err conftest.
$ac_ext
13185 if $ac_preproc_ok; then :
13188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13190 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13191 See \`config.log' for more details" "$LINENO" 5; }
13195 ac_cpp
='$CPP $CPPFLAGS'
13196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13201 _lt_caught_CXX_error
=yes
13205 ac_cpp
='$CXXCPP $CPPFLAGS'
13206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13210 archive_cmds_need_lc_CXX
=no
13211 allow_undefined_flag_CXX
=
13212 always_export_symbols_CXX
=no
13213 archive_expsym_cmds_CXX
=
13214 compiler_needs_object_CXX
=no
13215 export_dynamic_flag_spec_CXX
=
13216 hardcode_direct_CXX
=no
13217 hardcode_direct_absolute_CXX
=no
13218 hardcode_libdir_flag_spec_CXX
=
13219 hardcode_libdir_flag_spec_ld_CXX
=
13220 hardcode_libdir_separator_CXX
=
13221 hardcode_minus_L_CXX
=no
13222 hardcode_shlibpath_var_CXX
=unsupported
13223 hardcode_automatic_CXX
=no
13224 inherit_rpath_CXX
=no
13226 module_expsym_cmds_CXX
=
13227 link_all_deplibs_CXX
=unknown
13228 old_archive_cmds_CXX
=$old_archive_cmds
13229 reload_flag_CXX
=$reload_flag
13230 reload_cmds_CXX
=$reload_cmds
13231 no_undefined_flag_CXX
=
13232 whole_archive_flag_spec_CXX
=
13233 enable_shared_with_static_runtimes_CXX
=no
13235 # Source file extension for C++ test sources.
13238 # Object file extension for compiled C++ test sources.
13242 # No sense in running all these tests if we already determined that
13243 # the CXX compiler isn't working. Some variables (like enable_shared)
13244 # are currently assumed to apply to all compilers on this platform,
13245 # and will be corrupted by setting them based on a non-working compiler.
13246 if test "$_lt_caught_CXX_error" != yes; then
13247 # Code to be used in simple compile tests
13248 lt_simple_compile_test_code
="int some_variable = 0;"
13250 # Code to be used in simple link tests
13251 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13253 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13260 # If no C compiler was specified, use CC.
13263 # If no C compiler flags were specified, use CFLAGS.
13264 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13266 # Allow CC to be a program name with arguments.
13270 # save warnings/boilerplate of simple test code
13271 ac_outfile
=conftest.
$ac_objext
13272 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13273 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13274 _lt_compiler_boilerplate
=`cat conftest.err`
13277 ac_outfile
=conftest.
$ac_objext
13278 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13279 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13280 _lt_linker_boilerplate
=`cat conftest.err`
13284 # Allow CC to be a program name with arguments.
13289 lt_save_with_gnu_ld
=$with_gnu_ld
13290 lt_save_path_LD
=$lt_cv_path_LD
13291 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13292 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13294 $as_unset lt_cv_prog_gnu_ld
13296 if test -n "${lt_cv_path_LDCXX+set}"; then
13297 lt_cv_path_LD
=$lt_cv_path_LDCXX
13299 $as_unset lt_cv_path_LD
13301 test -z "${LDCXX+set}" || LD
=$LDCXX
13305 for cc_temp
in $compiler""; do
13307 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13308 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13313 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13316 if test -n "$compiler"; then
13317 # We don't want -fno-exception when compiling C++ code, so set the
13318 # no_builtin_flag separately
13319 if test "$GXX" = yes; then
13320 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13322 lt_prog_compiler_no_builtin_flag_CXX
=
13325 if test "$GXX" = yes; then
13326 # Set up default GNU C++ configuration
13330 # Check whether --with-gnu-ld was given.
13331 if test "${with_gnu_ld+set}" = set; then :
13332 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13338 if test "$GCC" = yes; then
13339 # Check if gcc -print-prog-name=ld gives a path.
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13341 $as_echo_n "checking for ld used by $CC... " >&6; }
13344 # gcc leaves a trailing carriage return which upsets mingw
13345 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13347 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13350 # Accept absolute paths.
13352 re_direlt
='/[^/][^/]*/\.\./'
13353 # Canonicalize the pathname of ld
13354 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13355 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13356 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13358 test -z "$LD" && LD
="$ac_prog"
13361 # If it fails, then pretend we aren't using GCC.
13365 # If it is relative, then search for the first ld in PATH.
13366 with_gnu_ld
=unknown
13369 elif test "$with_gnu_ld" = yes; then
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13371 $as_echo_n "checking for GNU ld... " >&6; }
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13374 $as_echo_n "checking for non-GNU ld... " >&6; }
13376 if ${lt_cv_path_LD+:} false
; then :
13377 $as_echo_n "(cached) " >&6
13379 if test -z "$LD"; then
13380 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13381 for ac_dir
in $PATH; do
13383 test -z "$ac_dir" && ac_dir
=.
13384 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13385 lt_cv_path_LD
="$ac_dir/$ac_prog"
13386 # Check to see if the program is GNU ld. I'd rather use --version,
13387 # but apparently some variants of GNU ld only accept -v.
13388 # Break only if it was the GNU/non-GNU ld that we prefer.
13389 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13390 *GNU
* |
*'with BFD'*)
13391 test "$with_gnu_ld" != no
&& break
13394 test "$with_gnu_ld" != yes && break
13401 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13405 LD
="$lt_cv_path_LD"
13406 if test -n "$LD"; then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13408 $as_echo "$LD" >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13411 $as_echo "no" >&6; }
13413 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13415 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13416 if ${lt_cv_prog_gnu_ld+:} false
; then :
13417 $as_echo_n "(cached) " >&6
13419 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13420 case `$LD -v 2>&1 </dev/null` in
13421 *GNU
* |
*'with BFD'*)
13422 lt_cv_prog_gnu_ld
=yes
13425 lt_cv_prog_gnu_ld
=no
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13430 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13431 with_gnu_ld
=$lt_cv_prog_gnu_ld
13439 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13440 # archiving commands below assume that GNU ld is being used.
13441 if test "$with_gnu_ld" = yes; then
13442 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13443 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'
13445 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13446 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13448 # If archive_cmds runs LD, not CC, wlarc should be empty
13449 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13450 # investigate it a little bit more. (MM)
13453 # ancient GNU ld didn't support --whole-archive et. al.
13454 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13455 $GREP 'no-whole-archive' > /dev
/null
; then
13456 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13458 whole_archive_flag_spec_CXX
=
13464 # A generic and very simple default shared library creation
13465 # command for GNU C++ for the case where it uses the native
13466 # linker, instead of GNU ld. If possible, this setting should
13467 # overridden to take advantage of the native linker features on
13468 # the platform it is being used on.
13469 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13472 # Commands to make compiler produce verbose output that lists
13473 # what "hidden" libraries, object files and flags are used when
13474 # linking a shared library.
13475 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13483 # PORTME: fill in a description of your system's C++ link characteristics
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13485 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13489 # FIXME: insert proper C++ library support
13493 if test "$host_cpu" = ia64
; then
13494 # On IA64, the linker does run time linking by default, so we don't
13495 # have to do anything special.
13496 aix_use_runtimelinking
=no
13497 exp_sym_flag
='-Bexport'
13500 aix_use_runtimelinking
=no
13502 # Test if we are trying to use run time linking or normal
13503 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13504 # need to do runtime linking.
13505 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13506 for ld_flag
in $LDFLAGS; do
13509 aix_use_runtimelinking
=yes
13517 exp_sym_flag
='-bexport'
13518 no_entry_flag
='-bnoentry'
13521 # When large executables or shared objects are built, AIX ld can
13522 # have problems creating the table of contents. If linking a library
13523 # or program results in "error TOC overflow" add -mminimal-toc to
13524 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13525 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13527 archive_cmds_CXX
=''
13528 hardcode_direct_CXX
=yes
13529 hardcode_direct_absolute_CXX
=yes
13530 hardcode_libdir_separator_CXX
=':'
13531 link_all_deplibs_CXX
=yes
13532 file_list_spec_CXX
='${wl}-f,'
13534 if test "$GXX" = yes; then
13535 case $host_os in aix4.
[012]|aix4.
[012].
*)
13536 # We only want to do this on AIX 4.2 and lower, the check
13537 # below for broken collect2 doesn't work under 4.3+
13538 collect2name
=`${CC} -print-prog-name=collect2`
13539 if test -f "$collect2name" &&
13540 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13542 # We have reworked collect2
13545 # We have old collect2
13546 hardcode_direct_CXX
=unsupported
13547 # It fails to find uninstalled libraries when the uninstalled
13548 # path is not listed in the libpath. Setting hardcode_minus_L
13549 # to unsupported forces relinking
13550 hardcode_minus_L_CXX
=yes
13551 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13552 hardcode_libdir_separator_CXX
=
13555 shared_flag
='-shared'
13556 if test "$aix_use_runtimelinking" = yes; then
13557 shared_flag
="$shared_flag "'${wl}-G'
13561 if test "$host_cpu" = ia64
; then
13562 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13563 # chokes on -Wl,-G. The following line is correct:
13566 if test "$aix_use_runtimelinking" = yes; then
13567 shared_flag
='${wl}-G'
13569 shared_flag
='${wl}-bM:SRE'
13574 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13575 # It seems that -bexpall does not export symbols beginning with
13576 # underscore (_), so it is better to generate a list of symbols to
13578 always_export_symbols_CXX
=yes
13579 if test "$aix_use_runtimelinking" = yes; then
13580 # Warning - without using the other runtime loading flags (-brtl),
13581 # -berok will link without error, but may produce a broken library.
13582 allow_undefined_flag_CXX
='-berok'
13583 # Determine the default libpath from the value encoded in an empty
13585 if test x
$gcc_no_link = xyes
; then
13586 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13599 if ac_fn_cxx_try_link
"$LINENO"; then :
13601 lt_aix_libpath_sed
='
13602 /Import File Strings/,/^$/ {
13608 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13609 # Check for a 64-bit object if we didn't find anything.
13610 if test -z "$aix_libpath"; then
13611 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13614 rm -f core conftest.err conftest.
$ac_objext \
13615 conftest
$ac_exeext conftest.
$ac_ext
13616 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13618 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13620 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"
13622 if test "$host_cpu" = ia64
; then
13623 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13624 allow_undefined_flag_CXX
="-z nodefs"
13625 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"
13627 # Determine the default libpath from the value encoded in an
13628 # empty executable.
13629 if test x
$gcc_no_link = xyes
; then
13630 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13643 if ac_fn_cxx_try_link
"$LINENO"; then :
13645 lt_aix_libpath_sed
='
13646 /Import File Strings/,/^$/ {
13652 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13653 # Check for a 64-bit object if we didn't find anything.
13654 if test -z "$aix_libpath"; then
13655 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13658 rm -f core conftest.err conftest.
$ac_objext \
13659 conftest
$ac_exeext conftest.
$ac_ext
13660 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13662 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13663 # Warning - without using the other run time loading flags,
13664 # -berok will link without error, but may produce a broken library.
13665 no_undefined_flag_CXX
=' ${wl}-bernotok'
13666 allow_undefined_flag_CXX
=' ${wl}-berok'
13667 if test "$with_gnu_ld" = yes; then
13668 # We only use this code for GNU lds that support --whole-archive.
13669 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13671 # Exported symbols can be pulled into shared objects from archives
13672 whole_archive_flag_spec_CXX
='$convenience'
13674 archive_cmds_need_lc_CXX
=yes
13675 # This is similar to how AIX traditionally builds its shared
13677 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'
13683 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13684 allow_undefined_flag_CXX
=unsupported
13685 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13686 # support --undefined. This deserves some investigation. FIXME
13687 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13694 case $cc_basename in
13696 # FIXME: insert proper C++ library support
13702 cygwin
* | mingw
* | pw32
* | cegcc
*)
13703 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13704 # as there is no search path for DLLs.
13705 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13706 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13707 allow_undefined_flag_CXX
=unsupported
13708 always_export_symbols_CXX
=no
13709 enable_shared_with_static_runtimes_CXX
=yes
13711 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13712 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'
13713 # If the export-symbols file already is a .def file (1st line
13714 # is EXPORTS), use it as is; otherwise, prepend...
13715 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13716 cp $export_symbols $output_objdir/$soname.def;
13718 echo EXPORTS > $output_objdir/$soname.def;
13719 cat $export_symbols >> $output_objdir/$soname.def;
13721 $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'
13726 darwin
* | rhapsody
*)
13729 archive_cmds_need_lc_CXX
=no
13730 hardcode_direct_CXX
=no
13731 hardcode_automatic_CXX
=yes
13732 hardcode_shlibpath_var_CXX
=unsupported
13733 if test "$lt_cv_ld_force_load" = "yes"; then
13734 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\"`'
13736 whole_archive_flag_spec_CXX
=''
13738 link_all_deplibs_CXX
=yes
13739 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13740 case $cc_basename in
13741 ifort
*) _lt_dar_can_shared
=yes ;;
13742 *) _lt_dar_can_shared
=$GCC ;;
13744 if test "$_lt_dar_can_shared" = "yes"; then
13745 output_verbose_link_cmd
=func_echo_all
13746 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13747 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13748 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13749 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}"
13750 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13751 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13752 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}"
13762 case $cc_basename in
13764 # FIXME: insert proper C++ library support
13768 # Green Hills C++ Compiler
13769 # FIXME: insert proper C++ library support
13773 # FIXME: insert proper C++ library support
13780 # C++ shared libraries reported to be fairly broken before
13786 archive_cmds_need_lc_CXX
=no
13789 freebsd
* | dragonfly
*)
13790 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13799 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13800 link_all_deplibs_CXX
=yes
13804 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13805 hardcode_libdir_separator_CXX
=:
13806 export_dynamic_flag_spec_CXX
='${wl}-E'
13807 hardcode_direct_CXX
=yes
13808 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13809 # but as the default
13810 # location of the library.
13812 case $cc_basename in
13814 # FIXME: insert proper C++ library support
13818 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'
13819 # Commands to make compiler produce verbose output that lists
13820 # what "hidden" libraries, object files and flags are used when
13821 # linking a shared library.
13823 # There doesn't appear to be a way to prevent this compiler from
13824 # explicitly linking system object files so we need to strip them
13825 # from the output so that they don't get included in the library
13827 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"'
13830 if test "$GXX" = yes; then
13831 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'
13833 # FIXME: insert proper C++ library support
13841 if test $with_gnu_ld = no
; then
13842 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13843 hardcode_libdir_separator_CXX
=:
13849 export_dynamic_flag_spec_CXX
='${wl}-E'
13855 hardcode_direct_CXX
=no
13856 hardcode_shlibpath_var_CXX
=no
13859 hardcode_direct_CXX
=yes
13860 hardcode_direct_absolute_CXX
=yes
13861 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13862 # but as the default
13863 # location of the library.
13867 case $cc_basename in
13869 # FIXME: insert proper C++ library support
13875 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13878 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13881 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13884 # Commands to make compiler produce verbose output that lists
13885 # what "hidden" libraries, object files and flags are used when
13886 # linking a shared library.
13888 # There doesn't appear to be a way to prevent this compiler from
13889 # explicitly linking system object files so we need to strip them
13890 # from the output so that they don't get included in the library
13892 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"'
13895 if test "$GXX" = yes; then
13896 if test $with_gnu_ld = no
; then
13899 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13902 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13905 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'
13910 # FIXME: insert proper C++ library support
13918 hardcode_direct_CXX
=no
13919 hardcode_shlibpath_var_CXX
=no
13920 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13921 export_dynamic_flag_spec_CXX
='${wl}-E'
13922 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13923 # Instead, shared libraries are loaded at an image base (0x10000000 by
13924 # default) and relocated if they conflict, which is a slow very memory
13925 # consuming and fragmenting process. To avoid this, we pick a random,
13926 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13927 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13928 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'
13929 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'
13932 case $cc_basename in
13935 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'
13937 # Archives containing C++ object files must be created using
13938 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13939 # necessary to make sure instantiated templates are included
13941 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13944 if test "$GXX" = yes; then
13945 if test "$with_gnu_ld" = no
; then
13946 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'
13948 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'
13951 link_all_deplibs_CXX
=yes
13954 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13955 hardcode_libdir_separator_CXX
=:
13956 inherit_rpath_CXX
=yes
13959 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13960 case $cc_basename in
13962 # Kuck and Associates, Inc. (KAI) C++ Compiler
13964 # KCC will only create a shared library if the output file
13965 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13966 # to its proper name (with version) after linking.
13967 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'
13968 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'
13969 # Commands to make compiler produce verbose output that lists
13970 # what "hidden" libraries, object files and flags are used when
13971 # linking a shared library.
13973 # There doesn't appear to be a way to prevent this compiler from
13974 # explicitly linking system object files so we need to strip them
13975 # from the output so that they don't get included in the library
13977 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"'
13979 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13980 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13982 # Archives containing C++ object files must be created using
13983 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13984 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13989 # version 8.0 and above of icpc choke on multiply defined symbols
13990 # if we add $predep_objects and $postdep_objects, however 7.1 and
13991 # earlier do not add the objects themselves.
13992 case `$CC -V 2>&1` in
13994 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13995 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'
13997 *) # Version 8.0 or newer
14000 ia64
*) tmp_idyn
=' -i_dynamic';;
14002 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14003 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'
14006 archive_cmds_need_lc_CXX
=no
14007 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14008 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14009 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14012 # Portland Group C++ compiler
14014 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14015 prelink_cmds_CXX
='tpldir=Template.dir~
14017 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14018 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14019 old_archive_cmds_CXX
='tpldir=Template.dir~
14021 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14022 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14024 archive_cmds_CXX
='tpldir=Template.dir~
14026 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14027 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14028 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14030 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14031 $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'
14033 *) # Version 6 and above use weak symbols
14034 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14035 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'
14039 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14040 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14041 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'
14045 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14046 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'
14048 runpath_var
=LD_RUN_PATH
14049 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14050 hardcode_libdir_separator_CXX
=:
14052 # Commands to make compiler produce verbose output that lists
14053 # what "hidden" libraries, object files and flags are used when
14054 # linking a shared library.
14056 # There doesn't appear to be a way to prevent this compiler from
14057 # explicitly linking system object files so we need to strip them
14058 # from the output so that they don't get included in the library
14060 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'
14062 xl
* | mpixl
* | bgxl
*)
14063 # IBM XL 8.0 on PPC, with GNU ld
14064 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14065 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14066 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14067 if test "x$supports_anon_versioning" = xyes
; then
14068 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14069 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14070 echo "local: *; };" >> $output_objdir/$libname.ver~
14071 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14075 case `$CC -V 2>&1 | sed 5q` in
14078 no_undefined_flag_CXX
=' -zdefs'
14079 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14080 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'
14081 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14082 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'
14083 compiler_needs_object_CXX
=yes
14085 # Not sure whether something based on
14086 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14088 output_verbose_link_cmd
='func_echo_all'
14090 # Archives containing C++ object files must be created using
14091 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14092 # necessary to make sure instantiated templates are included
14094 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14102 # FIXME: insert proper C++ library support
14107 # FIXME: insert proper C++ library support
14112 case $cc_basename in
14114 # FIXME: insert proper C++ library support
14118 # FIXME: insert proper C++ library support
14125 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14126 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14128 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14129 hardcode_direct_CXX
=yes
14130 hardcode_shlibpath_var_CXX
=no
14132 # Workaround some broken pre-1.5 toolchains
14133 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14141 # C++ shared libraries are fairly broken
14146 if test -f /usr
/libexec
/ld.so
; then
14147 hardcode_direct_CXX
=yes
14148 hardcode_shlibpath_var_CXX
=no
14149 hardcode_direct_absolute_CXX
=yes
14150 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14151 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14152 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14153 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14154 export_dynamic_flag_spec_CXX
='${wl}-E'
14155 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14157 output_verbose_link_cmd
=func_echo_all
14163 osf3
* | osf4
* | osf5
*)
14164 case $cc_basename in
14166 # Kuck and Associates, Inc. (KAI) C++ Compiler
14168 # KCC will only create a shared library if the output file
14169 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14170 # to its proper name (with version) after linking.
14171 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'
14173 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14174 hardcode_libdir_separator_CXX
=:
14176 # Archives containing C++ object files must be created using
14177 # the KAI C++ compiler.
14179 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14180 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14184 # Rational C++ 2.4.1
14185 # FIXME: insert proper C++ library support
14191 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14192 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'
14193 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14196 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14197 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'
14198 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14199 echo "-hidden">> $lib.exp~
14200 $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~
14202 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14206 hardcode_libdir_separator_CXX
=:
14208 # Commands to make compiler produce verbose output that lists
14209 # what "hidden" libraries, object files and flags are used when
14210 # linking a shared library.
14212 # There doesn't appear to be a way to prevent this compiler from
14213 # explicitly linking system object files so we need to strip them
14214 # from the output so that they don't get included in the library
14216 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"'
14219 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14220 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14223 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'
14226 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'
14230 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14231 hardcode_libdir_separator_CXX
=:
14233 # Commands to make compiler produce verbose output that lists
14234 # what "hidden" libraries, object files and flags are used when
14235 # linking a shared library.
14236 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14239 # FIXME: insert proper C++ library support
14247 # FIXME: insert proper C++ library support
14252 case $cc_basename in
14255 # FIXME: insert proper C++ library support
14260 # FIXME: insert proper C++ library support
14264 # FIXME: insert proper C++ library support
14271 case $cc_basename in
14273 # Sun C++ 4.2, 5.x and Centerline C++
14274 archive_cmds_need_lc_CXX
=yes
14275 no_undefined_flag_CXX
=' -zdefs'
14276 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14277 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14278 $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'
14280 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14281 hardcode_shlibpath_var_CXX
=no
14283 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14285 # The compiler driver will combine and reorder linker options,
14286 # but understands `-z linker_flag'.
14287 # Supported since Solaris 2.6 (maybe 2.5.1?)
14288 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14291 link_all_deplibs_CXX
=yes
14293 output_verbose_link_cmd
='func_echo_all'
14295 # Archives containing C++ object files must be created using
14296 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14297 # necessary to make sure instantiated templates are included
14299 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14302 # Green Hills C++ Compiler
14303 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14305 # The C++ compiler must be used to create the archive.
14306 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14309 # GNU C++ compiler with Solaris linker
14310 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14311 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14312 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14313 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14314 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14315 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14317 # Commands to make compiler produce verbose output that lists
14318 # what "hidden" libraries, object files and flags are used when
14319 # linking a shared library.
14320 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14322 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14324 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14325 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14326 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14328 # Commands to make compiler produce verbose output that lists
14329 # what "hidden" libraries, object files and flags are used when
14330 # linking a shared library.
14331 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14334 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14336 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14338 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14346 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14347 no_undefined_flag_CXX
='${wl}-z,text'
14348 archive_cmds_need_lc_CXX
=no
14349 hardcode_shlibpath_var_CXX
=no
14350 runpath_var
='LD_RUN_PATH'
14352 case $cc_basename in
14354 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14355 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14358 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14359 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14364 sysv5
* | sco3.2v5
* | sco5v6
*)
14365 # Note: We can NOT use -z defs as we might desire, because we do not
14366 # link with -lc, and that would cause any symbols used from libc to
14367 # always be unresolved, which means just about no library would
14368 # ever link correctly. If we're not using GNU ld we use -z text
14369 # though, which does catch some bad symbols but isn't as heavy-handed
14371 no_undefined_flag_CXX
='${wl}-z,text'
14372 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14373 archive_cmds_need_lc_CXX
=no
14374 hardcode_shlibpath_var_CXX
=no
14375 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14376 hardcode_libdir_separator_CXX
=':'
14377 link_all_deplibs_CXX
=yes
14378 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14379 runpath_var
='LD_RUN_PATH'
14381 case $cc_basename in
14383 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14384 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14385 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14386 '"$old_archive_cmds_CXX"
14387 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14388 '"$reload_cmds_CXX"
14391 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14392 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14398 case $cc_basename in
14400 # NonStop-UX NCC 3.20
14401 # FIXME: insert proper C++ library support
14405 # FIXME: insert proper C++ library support
14412 # For VxWorks ports, we assume the use of a GNU linker with
14413 # standard elf conventions.
14418 # FIXME: insert proper C++ library support
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14424 $as_echo "$ld_shlibs_CXX" >&6; }
14425 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14431 ## There is no encapsulation within the following macros, do not change
14432 ## the running order or otherwise move them around unless you know exactly
14433 ## what you are doing...
14434 # Dependencies to place before and after the object being linked:
14435 predep_objects_CXX
=
14436 postdep_objects_CXX
=
14439 compiler_lib_search_path_CXX
=
14441 cat > conftest.
$ac_ext <<_LT_EOF
14445 Foo (void) { a = 0; }
14451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14452 (eval $ac_compile) 2>&5
14454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14455 test $ac_status = 0; }; then
14456 # Parse the compiler output and extract the necessary
14457 # objects, libraries and library flags.
14459 # Sentinel used to keep track of whether or not we are before
14460 # the conftest object file.
14461 pre_test_object_deps_done
=no
14463 for p
in `eval "$output_verbose_link_cmd"`; do
14467 # Some compilers place space between "-{L,R}" and the path.
14468 # Remove the space.
14469 if test $p = "-L" ||
14470 test $p = "-R"; then
14477 if test "$pre_test_object_deps_done" = no
; then
14480 # Internal compiler library paths should come after those
14481 # provided the user. The postdeps already come after the
14482 # user supplied libs so there is no need to process them.
14483 if test -z "$compiler_lib_search_path_CXX"; then
14484 compiler_lib_search_path_CXX
="${prev}${p}"
14486 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14489 # The "-l" case would never come before the object being
14490 # linked, so don't bother handling this case.
14493 if test -z "$postdeps_CXX"; then
14494 postdeps_CXX
="${prev}${p}"
14496 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14502 # This assumes that the test object file only shows up
14503 # once in the compiler output.
14504 if test "$p" = "conftest.$objext"; then
14505 pre_test_object_deps_done
=yes
14509 if test "$pre_test_object_deps_done" = no
; then
14510 if test -z "$predep_objects_CXX"; then
14511 predep_objects_CXX
="$p"
14513 predep_objects_CXX
="$predep_objects_CXX $p"
14516 if test -z "$postdep_objects_CXX"; then
14517 postdep_objects_CXX
="$p"
14519 postdep_objects_CXX
="$postdep_objects_CXX $p"
14524 *) ;; # Ignore the rest.
14532 echo "libtool.m4: error: problem compiling CXX test program"
14535 $RM -f confest.
$objext
14537 # PORTME: override above test on systems where it is broken
14540 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14541 # hack all around it, let's just trust "g++" to DTRT.
14542 predep_objects_CXX
=
14543 postdep_objects_CXX
=
14548 case `$CC -V 2>&1 | sed 5q` in
14552 # The more standards-conforming stlport4 library is
14553 # incompatible with the Cstd library. Avoid specifying
14554 # it if it's in CXXFLAGS. Ignore libCrun as
14555 # -library=stlport4 depends on it.
14556 case " $CXX $CXXFLAGS " in
14557 *" -library=stlport4 "*)
14558 solaris_use_stlport4
=yes
14562 if test "$solaris_use_stlport4" != yes; then
14563 postdeps_CXX
='-library=Cstd -library=Crun'
14570 case $cc_basename in
14572 # The more standards-conforming stlport4 library is
14573 # incompatible with the Cstd library. Avoid specifying
14574 # it if it's in CXXFLAGS. Ignore libCrun as
14575 # -library=stlport4 depends on it.
14576 case " $CXX $CXXFLAGS " in
14577 *" -library=stlport4 "*)
14578 solaris_use_stlport4
=yes
14582 # Adding this requires a known-good setup of shared libraries for
14583 # Sun compiler versions before 5.6, else PIC objects from an old
14584 # archive will be linked into the output, leading to subtle bugs.
14585 if test "$solaris_use_stlport4" != yes; then
14586 postdeps_CXX
='-library=Cstd -library=Crun'
14594 case " $postdeps_CXX " in
14595 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14597 compiler_lib_search_dirs_CXX
=
14598 if test -n "${compiler_lib_search_path_CXX}"; then
14599 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14632 lt_prog_compiler_wl_CXX
=
14633 lt_prog_compiler_pic_CXX
=
14634 lt_prog_compiler_static_CXX
=
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14637 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14639 # C++ specific cases for pic, static, wl, etc.
14640 if test "$GXX" = yes; then
14641 lt_prog_compiler_wl_CXX
='-Wl,'
14642 lt_prog_compiler_static_CXX
='-static'
14646 # All AIX code is PIC.
14647 if test "$host_cpu" = ia64
; then
14648 # AIX 5 now supports IA64 processor
14649 lt_prog_compiler_static_CXX
='-Bstatic'
14651 lt_prog_compiler_pic_CXX
='-fPIC'
14657 # see comment about AmigaOS4 .so support
14658 lt_prog_compiler_pic_CXX
='-fPIC'
14661 # FIXME: we need at least 68020 code to build shared libraries, but
14662 # adding the `-m68020' flag to GCC prevents building anything better,
14664 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14669 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14670 # PIC is the default for these OSes.
14672 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14673 # This hack is so that the source file can tell whether it is being
14674 # built for inclusion in a dll (and should export symbols for example).
14675 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14676 # (--disable-auto-import) libraries
14677 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14679 darwin
* | rhapsody
*)
14680 # PIC is the default on this platform
14681 # Common symbols not allowed in MH_DYLIB files
14682 lt_prog_compiler_pic_CXX
='-fno-common'
14685 # DJGPP does not support shared libraries at all
14686 lt_prog_compiler_pic_CXX
=
14689 # PIC is the default for Haiku.
14690 # The "-static" flag exists, but is broken.
14691 lt_prog_compiler_static_CXX
=
14694 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14695 # Instead, we relocate shared libraries at runtime.
14698 if test -d /usr
/nec
; then
14699 lt_prog_compiler_pic_CXX
=-Kconform_pic
14703 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14704 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14705 # sets the default TLS model and affects inlining.
14710 lt_prog_compiler_pic_CXX
='-fPIC'
14715 # QNX uses GNU C++, but need to define -shared option too, otherwise
14716 # it will coredump.
14717 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14720 lt_prog_compiler_pic_CXX
='-fPIC'
14726 # All AIX code is PIC.
14727 if test "$host_cpu" = ia64
; then
14728 # AIX 5 now supports IA64 processor
14729 lt_prog_compiler_static_CXX
='-Bstatic'
14731 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14735 case $cc_basename in
14737 # Green Hills C++ Compiler
14738 # _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"
14743 case $cc_basename in
14745 lt_prog_compiler_pic_CXX
='-KPIC'
14748 # Green Hills C++ Compiler
14749 lt_prog_compiler_pic_CXX
='-pic'
14755 freebsd
* | dragonfly
*)
14756 # FreeBSD uses GNU C++
14758 hpux9
* | hpux10
* | hpux11
*)
14759 case $cc_basename in
14761 lt_prog_compiler_wl_CXX
='-Wl,'
14762 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14763 if test "$host_cpu" != ia64
; then
14764 lt_prog_compiler_pic_CXX
='+Z'
14768 lt_prog_compiler_wl_CXX
='-Wl,'
14769 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14775 lt_prog_compiler_pic_CXX
='+Z'
14784 # This is c89, which is MS Visual C++ (no shared libs)
14785 # Anyone wants to do a port?
14787 irix5
* | irix6
* | nonstopux
*)
14788 case $cc_basename in
14790 lt_prog_compiler_wl_CXX
='-Wl,'
14791 lt_prog_compiler_static_CXX
='-non_shared'
14792 # CC pic flag -KPIC is the default.
14798 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14799 case $cc_basename in
14802 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14803 lt_prog_compiler_pic_CXX
='-fPIC'
14806 # old Intel C++ for x86_64 which still supported -KPIC.
14807 lt_prog_compiler_wl_CXX
='-Wl,'
14808 lt_prog_compiler_pic_CXX
='-KPIC'
14809 lt_prog_compiler_static_CXX
='-static'
14812 # Intel C++, used to be incompatible with GCC.
14813 # ICC 10 doesn't accept -KPIC any more.
14814 lt_prog_compiler_wl_CXX
='-Wl,'
14815 lt_prog_compiler_pic_CXX
='-fPIC'
14816 lt_prog_compiler_static_CXX
='-static'
14819 # Portland Group C++ compiler
14820 lt_prog_compiler_wl_CXX
='-Wl,'
14821 lt_prog_compiler_pic_CXX
='-fpic'
14822 lt_prog_compiler_static_CXX
='-Bstatic'
14826 # Make sure the PIC flag is empty. It appears that all Alpha
14827 # Linux and Compaq Tru64 Unix objects are PIC.
14828 lt_prog_compiler_pic_CXX
=
14829 lt_prog_compiler_static_CXX
='-non_shared'
14831 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14832 # IBM XL 8.0, 9.0 on PPC and BlueGene
14833 lt_prog_compiler_wl_CXX
='-Wl,'
14834 lt_prog_compiler_pic_CXX
='-qpic'
14835 lt_prog_compiler_static_CXX
='-qstaticlink'
14838 case `$CC -V 2>&1 | sed 5q` in
14841 lt_prog_compiler_pic_CXX
='-KPIC'
14842 lt_prog_compiler_static_CXX
='-Bstatic'
14843 lt_prog_compiler_wl_CXX
='-Qoption ld '
14854 case $cc_basename in
14856 lt_prog_compiler_pic_CXX
='-W c,exportall'
14865 # QNX uses GNU C++, but need to define -shared option too, otherwise
14866 # it will coredump.
14867 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14869 osf3
* | osf4
* | osf5
*)
14870 case $cc_basename in
14872 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14875 # Rational C++ 2.4.1
14876 lt_prog_compiler_pic_CXX
='-pic'
14879 # Digital/Compaq C++
14880 lt_prog_compiler_wl_CXX
='-Wl,'
14881 # Make sure the PIC flag is empty. It appears that all Alpha
14882 # Linux and Compaq Tru64 Unix objects are PIC.
14883 lt_prog_compiler_pic_CXX
=
14884 lt_prog_compiler_static_CXX
='-non_shared'
14893 case $cc_basename in
14895 # Sun C++ 4.2, 5.x and Centerline C++
14896 lt_prog_compiler_pic_CXX
='-KPIC'
14897 lt_prog_compiler_static_CXX
='-Bstatic'
14898 lt_prog_compiler_wl_CXX
='-Qoption ld '
14901 # Green Hills C++ Compiler
14902 lt_prog_compiler_pic_CXX
='-PIC'
14909 case $cc_basename in
14912 lt_prog_compiler_pic_CXX
='-pic'
14913 lt_prog_compiler_static_CXX
='-Bstatic'
14917 lt_prog_compiler_pic_CXX
='-pic'
14923 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14924 case $cc_basename in
14926 lt_prog_compiler_wl_CXX
='-Wl,'
14927 lt_prog_compiler_pic_CXX
='-KPIC'
14928 lt_prog_compiler_static_CXX
='-Bstatic'
14933 case $cc_basename in
14935 # NonStop-UX NCC 3.20
14936 lt_prog_compiler_pic_CXX
='-KPIC'
14945 lt_prog_compiler_can_build_shared_CXX
=no
14951 # For platforms which do not support PIC, -DPIC is meaningless:
14953 lt_prog_compiler_pic_CXX
=
14956 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14960 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14965 # Check to make sure the PIC flag actually works.
14967 if test -n "$lt_prog_compiler_pic_CXX"; then
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14969 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14970 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14971 $as_echo_n "(cached) " >&6
14973 lt_cv_prog_compiler_pic_works_CXX
=no
14974 ac_outfile
=conftest.
$ac_objext
14975 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14976 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14977 # Insert the option either (1) after the last *FLAGS variable, or
14978 # (2) before a word containing "conftest.", or (3) at the end.
14979 # Note that $ac_compile itself does not contain backslashes and begins
14980 # with a dollar sign (not a hyphen), so the echo should work correctly.
14981 # The option is referenced via a variable to avoid confusing sed.
14982 lt_compile
=`echo "$ac_compile" | $SED \
14983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14985 -e 's:$: $lt_compiler_flag:'`
14986 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14987 (eval "$lt_compile" 2>conftest.err
)
14989 cat conftest.err
>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 if (exit $ac_status) && test -s "$ac_outfile"; then
14992 # The compiler can only warn and ignore the option if not recognized
14993 # So say no if there are warnings other than the usual output.
14994 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14995 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14996 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14997 lt_cv_prog_compiler_pic_works_CXX
=yes
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15004 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15006 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15007 case $lt_prog_compiler_pic_CXX in
15009 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15012 lt_prog_compiler_pic_CXX
=
15013 lt_prog_compiler_can_build_shared_CXX
=no
15021 # Check to make sure the static flag actually works.
15023 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15025 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15026 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15027 $as_echo_n "(cached) " >&6
15029 lt_cv_prog_compiler_static_works_CXX
=no
15030 save_LDFLAGS
="$LDFLAGS"
15031 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15032 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15033 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15034 # The linker can only warn and ignore the option if not recognized
15035 # So say no if there are warnings
15036 if test -s conftest.err
; then
15037 # Append any errors to the config.log.
15038 cat conftest.err
1>&5
15039 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15040 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15041 if diff conftest.exp conftest.er2
>/dev
/null
; then
15042 lt_cv_prog_compiler_static_works_CXX
=yes
15045 lt_cv_prog_compiler_static_works_CXX
=yes
15049 LDFLAGS
="$save_LDFLAGS"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15053 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15055 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15058 lt_prog_compiler_static_CXX
=
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15066 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15067 $as_echo_n "(cached) " >&6
15069 lt_cv_prog_compiler_c_o_CXX
=no
15070 $RM -r conftest
2>/dev
/null
15074 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15076 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15077 # Insert the option either (1) after the last *FLAGS variable, or
15078 # (2) before a word containing "conftest.", or (3) at the end.
15079 # Note that $ac_compile itself does not contain backslashes and begins
15080 # with a dollar sign (not a hyphen), so the echo should work correctly.
15081 lt_compile
=`echo "$ac_compile" | $SED \
15082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15084 -e 's:$: $lt_compiler_flag:'`
15085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15086 (eval "$lt_compile" 2>out
/conftest.err
)
15088 cat out
/conftest.err
>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15092 # The compiler can only warn and ignore the option if not recognized
15093 # So say no if there are warnings
15094 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15095 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15096 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15097 lt_cv_prog_compiler_c_o_CXX
=yes
15102 # SGI C++ compiler will create directory out/ii_files/ for
15103 # template instantiation
15104 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15105 $RM out
/* && rmdir out
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15112 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15117 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15118 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15119 $as_echo_n "(cached) " >&6
15121 lt_cv_prog_compiler_c_o_CXX
=no
15122 $RM -r conftest
2>/dev
/null
15126 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15128 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15129 # Insert the option either (1) after the last *FLAGS variable, or
15130 # (2) before a word containing "conftest.", or (3) at the end.
15131 # Note that $ac_compile itself does not contain backslashes and begins
15132 # with a dollar sign (not a hyphen), so the echo should work correctly.
15133 lt_compile
=`echo "$ac_compile" | $SED \
15134 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15135 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15136 -e 's:$: $lt_compiler_flag:'`
15137 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15138 (eval "$lt_compile" 2>out
/conftest.err
)
15140 cat out
/conftest.err
>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15144 # The compiler can only warn and ignore the option if not recognized
15145 # So say no if there are warnings
15146 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15147 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15148 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15149 lt_cv_prog_compiler_c_o_CXX
=yes
15154 # SGI C++ compiler will create directory out/ii_files/ for
15155 # template instantiation
15156 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15157 $RM out
/* && rmdir out
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15164 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15169 hard_links
="nottested"
15170 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15171 # do not overwrite the value of need_locks provided by the user
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15173 $as_echo_n "checking if we can lock with hard links... " >&6; }
15176 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15178 ln conftest.a conftest.b
2>&5 || hard_links
=no
15179 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15181 $as_echo "$hard_links" >&6; }
15182 if test "$hard_links" = no
; then
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15184 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15194 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15196 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15199 # If we're using GNU nm, then we don't want the "-C" option.
15200 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15201 # Also, AIX nm treats weak defined symbols like other global defined
15202 # symbols, whereas GNU nm marks them as "W".
15203 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15204 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'
15206 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'
15210 export_symbols_cmds_CXX
="$ltdll_cmds"
15212 cygwin
* | mingw
* | cegcc
*)
15213 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'
15216 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15219 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15222 $as_echo "$ld_shlibs_CXX" >&6; }
15223 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15225 with_gnu_ld_CXX
=$with_gnu_ld
15233 # Do we need to explicitly link libc?
15235 case "x$archive_cmds_need_lc_CXX" in
15237 # Assume -lc should be added
15238 archive_cmds_need_lc_CXX
=yes
15240 if test "$enable_shared" = yes && test "$GCC" = yes; then
15241 case $archive_cmds_CXX in
15243 # FIXME: we may have to deal with multi-command sequences.
15246 # Test whether the compiler implicitly links with -lc since on some
15247 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15248 # to ld, don't add -lc before -lgcc.
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15250 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15251 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15252 $as_echo_n "(cached) " >&6
15255 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15258 (eval $ac_compile) 2>&5
15260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15261 test $ac_status = 0; } 2>conftest.err
; then
15264 libobjs
=conftest.
$ac_objext
15266 wl
=$lt_prog_compiler_wl_CXX
15267 pic_flag
=$lt_prog_compiler_pic_CXX
15273 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15274 allow_undefined_flag_CXX
=
15275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15276 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15279 test $ac_status = 0; }
15281 lt_cv_archive_cmds_need_lc_CXX
=no
15283 lt_cv_archive_cmds_need_lc_CXX
=yes
15285 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15287 cat conftest.err
1>&5
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15293 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15294 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15365 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15367 library_names_spec
=
15368 libname_spec
='lib$name'
15372 postuninstall_cmds
=
15376 shlibpath_overrides_runpath
=unknown
15378 dynamic_linker
="$host_os ld.so"
15379 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15380 need_lib_prefix
=unknown
15381 hardcode_into_libs
=no
15383 # when you set need_version to no, make sure it does not cause -set_version
15384 # flags to be left without arguments
15385 need_version
=unknown
15390 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15391 shlibpath_var
=LIBPATH
15393 # AIX 3 has no versioning support, so we append a major version to the name.
15394 soname_spec
='${libname}${release}${shared_ext}$major'
15401 hardcode_into_libs
=yes
15402 if test "$host_cpu" = ia64
; then
15403 # AIX 5 supports IA64
15404 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15405 shlibpath_var
=LD_LIBRARY_PATH
15407 # With GCC up to 2.95.x, collect2 would create an import file
15408 # for dependence libraries. The import file would start with
15409 # the line `#! .'. This would cause the generated library to
15410 # depend on `.', always an invalid library. This was fixed in
15411 # development snapshots of GCC prior to 3.0.
15413 aix4 | aix4.
[01] | aix4.
[01].
*)
15414 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15416 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15419 can_build_shared
=no
15423 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15424 # soname into executable. Probably we can add versioning support to
15425 # collect2, so additional links can be useful in future.
15426 if test "$aix_use_runtimelinking" = yes; then
15427 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15428 # instead of lib<name>.a to let people know that these are not
15429 # typical AIX shared libraries.
15430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15432 # We preserve .a as extension for shared libraries through AIX4.2
15433 # and later when we are not doing run time linking.
15434 library_names_spec
='${libname}${release}.a $libname.a'
15435 soname_spec
='${libname}${release}${shared_ext}$major'
15437 shlibpath_var
=LIBPATH
15444 # Since July 2007 AmigaOS4 officially supports .so libraries.
15445 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15449 library_names_spec
='$libname.ixlibrary $libname.a'
15450 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15451 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'
15457 library_names_spec
='${libname}${shared_ext}'
15458 dynamic_linker
="$host_os ld.so"
15459 shlibpath_var
=LIBRARY_PATH
15465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15466 soname_spec
='${libname}${release}${shared_ext}$major'
15467 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15468 shlibpath_var
=LD_LIBRARY_PATH
15469 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15470 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15471 # the default ld.so.conf also contains /usr/contrib/lib and
15472 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15473 # libtool to hard-code these into programs
15476 cygwin
* | mingw
* | pw32
* | cegcc
*)
15477 version_type
=windows
15482 case $GCC,$host_os in
15483 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15484 library_names_spec
='$libname.dll.a'
15485 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15486 postinstall_cmds
='base_file=`basename \${file}`~
15487 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15488 dldir=$destdir/`dirname \$dlpath`~
15489 test -d \$dldir || mkdir -p \$dldir~
15490 $install_prog $dir/$dlname \$dldir/$dlname~
15491 chmod a+x \$dldir/$dlname~
15492 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15493 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15495 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15496 dlpath=$dir/\$dldll~
15498 shlibpath_overrides_runpath
=yes
15502 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15503 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15507 # MinGW DLLs use traditional 'lib' prefix
15508 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15511 # pw32 DLLs use 'pw' prefix rather than 'lib'
15512 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15518 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15521 dynamic_linker
='Win32 ld.exe'
15522 # FIXME: first we should search . and the directory the executable is in
15526 darwin
* | rhapsody
*)
15527 dynamic_linker
="$host_os dyld"
15528 version_type
=darwin
15531 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15532 soname_spec
='${libname}${release}${major}$shared_ext'
15533 shlibpath_overrides_runpath
=yes
15534 shlibpath_var
=DYLD_LIBRARY_PATH
15535 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15537 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15545 soname_spec
='${libname}${release}${shared_ext}$major'
15546 shlibpath_var
=LD_LIBRARY_PATH
15549 freebsd
* | dragonfly
*)
15550 # DragonFly does not have aout. When/if they implement a new
15551 # versioning mechanism, adjust this.
15552 if test -x /usr
/bin
/objformat
; then
15553 objformat
=`/usr/bin/objformat`
15556 freebsd
[23].
*) objformat
=aout
;;
15557 *) objformat
=elf
;;
15560 version_type
=freebsd-
$objformat
15561 case $version_type in
15563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15568 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15572 shlibpath_var
=LD_LIBRARY_PATH
15575 shlibpath_overrides_runpath
=yes
15577 freebsd3.
[01]* | freebsdelf3.
[01]*)
15578 shlibpath_overrides_runpath
=yes
15579 hardcode_into_libs
=yes
15581 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15582 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15583 shlibpath_overrides_runpath
=no
15584 hardcode_into_libs
=yes
15586 *) # from 4.6 on, and DragonFly
15587 shlibpath_overrides_runpath
=yes
15588 hardcode_into_libs
=yes
15597 dynamic_linker
="$host_os runtime_loader"
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15599 soname_spec
='${libname}${release}${shared_ext}$major'
15600 shlibpath_var
=LIBRARY_PATH
15601 shlibpath_overrides_runpath
=yes
15602 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15603 hardcode_into_libs
=yes
15606 hpux9
* | hpux10
* | hpux11
*)
15607 # Give a soname corresponding to the major version so that dld.sl refuses to
15608 # link against other versions.
15615 hardcode_into_libs
=yes
15616 dynamic_linker
="$host_os dld.so"
15617 shlibpath_var
=LD_LIBRARY_PATH
15618 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15620 soname_spec
='${libname}${release}${shared_ext}$major'
15621 if test "X$HPUX_IA64_MODE" = X32
; then
15622 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15624 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15626 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15630 hardcode_into_libs
=yes
15631 dynamic_linker
="$host_os dld.sl"
15632 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15633 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15635 soname_spec
='${libname}${release}${shared_ext}$major'
15636 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15637 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15641 dynamic_linker
="$host_os dld.sl"
15642 shlibpath_var
=SHLIB_PATH
15643 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15645 soname_spec
='${libname}${release}${shared_ext}$major'
15648 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15649 postinstall_cmds
='chmod 555 $lib'
15650 # or fails outright, so override atomically:
15651 install_override_mode
=555
15658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15659 soname_spec
='${libname}${release}${shared_ext}$major'
15660 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15661 shlibpath_var
=LD_LIBRARY_PATH
15662 shlibpath_overrides_runpath
=no
15663 hardcode_into_libs
=yes
15666 irix5
* | irix6
* | nonstopux
*)
15668 nonstopux
*) version_type
=nonstopux
;;
15670 if test "$lt_cv_prog_gnu_ld" = yes; then
15678 soname_spec
='${libname}${release}${shared_ext}$major'
15679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15681 irix5
* | nonstopux
*)
15682 libsuff
= shlibsuff
=
15685 case $LD in # libtool.m4 will add one of these switches to LD
15686 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15687 libsuff
= shlibsuff
= libmagic
=32-bit;;
15688 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15689 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15690 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15691 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15692 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15696 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15697 shlibpath_overrides_runpath
=no
15698 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15699 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15700 hardcode_into_libs
=yes
15703 # No shared lib support for Linux oldld, aout, or coff.
15704 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15708 # This must be Linux ELF.
15710 # uclinux* changes (here and below) have been submitted to the libtool
15711 # project, but have not yet been accepted: they are GCC-local changes
15712 # for the time being. (See
15713 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15714 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15719 soname_spec
='${libname}${release}${shared_ext}$major'
15720 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15721 shlibpath_var
=LD_LIBRARY_PATH
15722 shlibpath_overrides_runpath
=no
15724 # Some binutils ld are patched to set DT_RUNPATH
15725 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15726 $as_echo_n "(cached) " >&6
15728 lt_cv_shlibpath_overrides_runpath
=no
15729 save_LDFLAGS
=$LDFLAGS
15730 save_libdir
=$libdir
15731 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15732 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15733 if test x
$gcc_no_link = xyes
; then
15734 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15747 if ac_fn_cxx_try_link
"$LINENO"; then :
15748 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15749 lt_cv_shlibpath_overrides_runpath
=yes
15752 rm -f core conftest.err conftest.
$ac_objext \
15753 conftest
$ac_exeext conftest.
$ac_ext
15754 LDFLAGS
=$save_LDFLAGS
15755 libdir
=$save_libdir
15759 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15761 # This implies no fast_install, which is unacceptable.
15762 # Some rework will be needed to allow for fast_install
15763 # before this can be enabled.
15764 hardcode_into_libs
=yes
15766 # Append ld.so.conf contents to the search path
15767 if test -f /etc
/ld.so.conf
; then
15768 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' ' '`
15769 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15772 # We used to test for /lib/ld.so.1 and disable shared libraries on
15773 # powerpc, because MkLinux only supported shared libraries with the
15774 # GNU dynamic linker. Since this was broken with cross compilers,
15775 # most powerpc-linux boxes support dynamic linking these days and
15776 # people can always --disable-shared, the test was removed, and we
15777 # assume the GNU/Linux dynamic linker is in use.
15778 dynamic_linker
='GNU/Linux ld.so'
15785 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15787 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15788 dynamic_linker
='NetBSD (a.out) ld.so'
15790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15791 soname_spec
='${libname}${release}${shared_ext}$major'
15792 dynamic_linker
='NetBSD ld.elf_so'
15794 shlibpath_var
=LD_LIBRARY_PATH
15795 shlibpath_overrides_runpath
=yes
15796 hardcode_into_libs
=yes
15801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15802 shlibpath_var
=LD_LIBRARY_PATH
15803 shlibpath_overrides_runpath
=yes
15810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15811 soname_spec
='${libname}${release}${shared_ext}$major'
15812 shlibpath_var
=LD_LIBRARY_PATH
15813 shlibpath_overrides_runpath
=no
15814 hardcode_into_libs
=yes
15815 dynamic_linker
='ldqnx.so'
15820 sys_lib_dlsearch_path_spec
="/usr/lib"
15822 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15824 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15825 *) need_version
=no
;;
15827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15828 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15829 shlibpath_var
=LD_LIBRARY_PATH
15830 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15832 openbsd2.
[89] | openbsd2.
[89].
*)
15833 shlibpath_overrides_runpath
=no
15836 shlibpath_overrides_runpath
=yes
15840 shlibpath_overrides_runpath
=yes
15845 libname_spec
='$name'
15848 library_names_spec
='$libname${shared_ext} $libname.a'
15849 dynamic_linker
='OS/2 ld.exe'
15850 shlibpath_var
=LIBPATH
15853 osf3
* | osf4
* | osf5
*)
15857 soname_spec
='${libname}${release}${shared_ext}$major'
15858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15859 shlibpath_var
=LD_LIBRARY_PATH
15860 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15861 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15873 soname_spec
='${libname}${release}${shared_ext}$major'
15874 shlibpath_var
=LD_LIBRARY_PATH
15875 shlibpath_overrides_runpath
=yes
15876 hardcode_into_libs
=yes
15877 # ldd complains unless libraries are executable
15878 postinstall_cmds
='chmod +x $lib'
15883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15884 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15885 shlibpath_var
=LD_LIBRARY_PATH
15886 shlibpath_overrides_runpath
=yes
15887 if test "$with_gnu_ld" = yes; then
15895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15896 soname_spec
='${libname}${release}${shared_ext}$major'
15897 shlibpath_var
=LD_LIBRARY_PATH
15898 case $host_vendor in
15900 shlibpath_overrides_runpath
=no
15902 runpath_var
=LD_RUN_PATH
15910 shlibpath_overrides_runpath
=no
15911 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15917 if test -d /usr
/nec
;then
15919 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15920 soname_spec
='$libname${shared_ext}.$major'
15921 shlibpath_var
=LD_LIBRARY_PATH
15925 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15926 version_type
=freebsd-elf
15929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15930 soname_spec
='${libname}${release}${shared_ext}$major'
15931 shlibpath_var
=LD_LIBRARY_PATH
15932 shlibpath_overrides_runpath
=yes
15933 hardcode_into_libs
=yes
15934 if test "$with_gnu_ld" = yes; then
15935 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15937 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15940 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15944 sys_lib_dlsearch_path_spec
='/usr/lib'
15948 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15953 shlibpath_var
=LD_LIBRARY_PATH
15954 shlibpath_overrides_runpath
=no
15955 hardcode_into_libs
=yes
15960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15961 soname_spec
='${libname}${release}${shared_ext}$major'
15962 shlibpath_var
=LD_LIBRARY_PATH
15965 # Shared libraries for VwWorks, >= 7 only at this stage
15966 # and (fpic) still incompatible with "large" code models
15967 # in a few configurations. Only for RTP mode in any case,
15968 # and upon explicit request at configure time.
15971 case ${with_multisubdir}-${enable_shared} in
15978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15979 soname_spec
='${libname}${release}${shared_ext}$major'
15980 dynamic_linker
="$host_os module_loader"
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15989 $as_echo "$dynamic_linker" >&6; }
15990 test "$dynamic_linker" = no
&& can_build_shared
=no
15992 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15993 if test "$GCC" = yes; then
15994 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15997 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15998 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16000 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16001 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16042 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16043 hardcode_action_CXX
=
16044 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16045 test -n "$runpath_var_CXX" ||
16046 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16048 # We can hardcode non-existent directories.
16049 if test "$hardcode_direct_CXX" != no
&&
16050 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16051 # have to relink, otherwise we might link with an installed library
16052 # when we should be linking with a yet-to-be-installed one
16053 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16054 test "$hardcode_minus_L_CXX" != no
; then
16055 # Linking always hardcodes the temporary library directory.
16056 hardcode_action_CXX
=relink
16058 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16059 hardcode_action_CXX
=immediate
16062 # We cannot hardcode anything, or else we can only hardcode existing
16064 hardcode_action_CXX
=unsupported
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16067 $as_echo "$hardcode_action_CXX" >&6; }
16069 if test "$hardcode_action_CXX" = relink ||
16070 test "$inherit_rpath_CXX" = yes; then
16071 # Fast installation is not supported
16072 enable_fast_install
=no
16073 elif test "$shlibpath_overrides_runpath" = yes ||
16074 test "$enable_shared" = no
; then
16075 # Fast installation is not necessary
16076 enable_fast_install
=needless
16085 fi # test -n "$compiler"
16091 with_gnu_ld
=$lt_save_with_gnu_ld
16092 lt_cv_path_LDCXX
=$lt_cv_path_LD
16093 lt_cv_path_LD
=$lt_save_path_LD
16094 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16095 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16096 fi # test "$_lt_caught_CXX_error" != yes
16099 ac_cpp
='$CPP $CPPFLAGS'
16100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16116 ac_config_commands
="$ac_config_commands libtool"
16121 # Only expand once:
16127 if test "${multilib}" = "yes"; then
16128 multilib_arg
="--enable-multilib"
16133 ac_fn_c_check_type
"$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "$ac_includes_default"
16134 if test "x$ac_cv_type_struct_timezone" = xyes
; then :
16136 cat >>confdefs.h
<<_ACEOF
16137 #define HAVE_STRUCT_TIMEZONE 1
16142 ac_fn_c_check_type
"$LINENO" "struct stat" "ac_cv_type_struct_stat" "$ac_includes_default"
16143 if test "x$ac_cv_type_struct_stat" = xyes
; then :
16145 cat >>confdefs.h
<<_ACEOF
16146 #define HAVE_STRUCT_STAT 1
16151 ac_fn_c_check_type
"$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default"
16152 if test "x$ac_cv_type_struct_timespec" = xyes
; then :
16154 cat >>confdefs.h
<<_ACEOF
16155 #define HAVE_STRUCT_TIMESPEC 1
16160 ac_fn_c_check_type
"$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$ac_includes_default"
16161 if test "x$ac_cv_type_struct_timeval" = xyes
; then :
16163 cat >>confdefs.h
<<_ACEOF
16164 #define HAVE_STRUCT_TIMEVAL 1
16169 ac_fn_c_check_type
"$LINENO" "struct tm" "ac_cv_type_struct_tm" "$ac_includes_default"
16170 if test "x$ac_cv_type_struct_tm" = xyes
; then :
16172 cat >>confdefs.h
<<_ACEOF
16173 #define HAVE_STRUCT_TM 1
16180 # Check if struct tm contains the tm_gmtoff field.
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
16182 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
16183 if ${ac_cv_struct_tm_gmtoff+:} false
; then :
16184 $as_echo_n "(cached) " >&6
16186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16202 if ac_fn_c_try_compile
"$LINENO"; then :
16203 ac_cv_struct_tm_gmtoff
=yes
16205 ac_cv_struct_tm_gmtoff
=no
16208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
16212 $as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
16214 if (test "$ac_cv_struct_tm_gmtoff" = "yes"); then
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end detects struct tm with the tm_gmtoff field." >&5
16216 $as_echo_n "checking m2 front end detects struct tm with the tm_gmtoff field.... " >&6; }
16218 $as_echo "#define HAVE_TM_TM_GMTOFF 1" >>confdefs.h
16223 ac_cpp
='$CPP $CPPFLAGS'
16224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16228 # Check the compiler.
16229 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
16230 # We must force CC to /not/ be precious variables; otherwise
16231 # the wrong, non-multilib-adjusted value will be used in multilibs.
16232 # As a side effect, we have to subst CFLAGS ourselves.
16237 ac_cpp
='$CPP $CPPFLAGS'
16238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16241 if test -n "$ac_tool_prefix"; then
16242 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16243 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16245 $as_echo_n "checking for $ac_word... " >&6; }
16246 if ${ac_cv_prog_CC+:} false
; then :
16247 $as_echo_n "(cached) " >&6
16249 if test -n "$CC"; then
16250 ac_cv_prog_CC
="$CC" # Let the user override the test.
16252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16253 for as_dir
in $PATH
16256 test -z "$as_dir" && as_dir
=.
16257 for ac_exec_ext
in '' $ac_executable_extensions; do
16258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16259 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16270 if test -n "$CC"; then
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16272 $as_echo "$CC" >&6; }
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16275 $as_echo "no" >&6; }
16280 if test -z "$ac_cv_prog_CC"; then
16282 # Extract the first word of "gcc", so it can be a program name with args.
16283 set dummy gcc
; ac_word
=$2
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16285 $as_echo_n "checking for $ac_word... " >&6; }
16286 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16287 $as_echo_n "(cached) " >&6
16289 if test -n "$ac_ct_CC"; then
16290 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16293 for as_dir
in $PATH
16296 test -z "$as_dir" && as_dir
=.
16297 for ac_exec_ext
in '' $ac_executable_extensions; do
16298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16299 ac_cv_prog_ac_ct_CC
="gcc"
16300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16309 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16310 if test -n "$ac_ct_CC"; then
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16312 $as_echo "$ac_ct_CC" >&6; }
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16315 $as_echo "no" >&6; }
16318 if test "x$ac_ct_CC" = x
; then
16321 case $cross_compiling:$ac_tool_warned in
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16325 ac_tool_warned
=yes ;;
16330 CC
="$ac_cv_prog_CC"
16333 if test -z "$CC"; then
16334 if test -n "$ac_tool_prefix"; then
16335 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16336 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16338 $as_echo_n "checking for $ac_word... " >&6; }
16339 if ${ac_cv_prog_CC+:} false
; then :
16340 $as_echo_n "(cached) " >&6
16342 if test -n "$CC"; then
16343 ac_cv_prog_CC
="$CC" # Let the user override the test.
16345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16346 for as_dir
in $PATH
16349 test -z "$as_dir" && as_dir
=.
16350 for ac_exec_ext
in '' $ac_executable_extensions; do
16351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16352 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16363 if test -n "$CC"; then
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16365 $as_echo "$CC" >&6; }
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16368 $as_echo "no" >&6; }
16374 if test -z "$CC"; then
16375 # Extract the first word of "cc", so it can be a program name with args.
16376 set dummy cc
; ac_word
=$2
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16378 $as_echo_n "checking for $ac_word... " >&6; }
16379 if ${ac_cv_prog_CC+:} false
; then :
16380 $as_echo_n "(cached) " >&6
16382 if test -n "$CC"; then
16383 ac_cv_prog_CC
="$CC" # Let the user override the test.
16385 ac_prog_rejected
=no
16386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16387 for as_dir
in $PATH
16390 test -z "$as_dir" && as_dir
=.
16391 for ac_exec_ext
in '' $ac_executable_extensions; do
16392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16394 ac_prog_rejected
=yes
16398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16405 if test $ac_prog_rejected = yes; then
16406 # We found a bogon in the path, so make sure we never use it.
16407 set dummy
$ac_cv_prog_CC
16409 if test $# != 0; then
16410 # We chose a different compiler from the bogus one.
16411 # However, it has the same basename, so the bogon will be chosen
16412 # first if we set CC to just the basename; use the full file name.
16414 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16420 if test -n "$CC"; then
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16422 $as_echo "$CC" >&6; }
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16425 $as_echo "no" >&6; }
16430 if test -z "$CC"; then
16431 if test -n "$ac_tool_prefix"; then
16432 for ac_prog
in cl.exe
16434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16435 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16437 $as_echo_n "checking for $ac_word... " >&6; }
16438 if ${ac_cv_prog_CC+:} false
; then :
16439 $as_echo_n "(cached) " >&6
16441 if test -n "$CC"; then
16442 ac_cv_prog_CC
="$CC" # Let the user override the test.
16444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16445 for as_dir
in $PATH
16448 test -z "$as_dir" && as_dir
=.
16449 for ac_exec_ext
in '' $ac_executable_extensions; do
16450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16451 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16462 if test -n "$CC"; then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16464 $as_echo "$CC" >&6; }
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16471 test -n "$CC" && break
16474 if test -z "$CC"; then
16476 for ac_prog
in cl.exe
16478 # Extract the first word of "$ac_prog", so it can be a program name with args.
16479 set dummy
$ac_prog; ac_word
=$2
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16481 $as_echo_n "checking for $ac_word... " >&6; }
16482 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16483 $as_echo_n "(cached) " >&6
16485 if test -n "$ac_ct_CC"; then
16486 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16489 for as_dir
in $PATH
16492 test -z "$as_dir" && as_dir
=.
16493 for ac_exec_ext
in '' $ac_executable_extensions; do
16494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16495 ac_cv_prog_ac_ct_CC
="$ac_prog"
16496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16505 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16506 if test -n "$ac_ct_CC"; then
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16508 $as_echo "$ac_ct_CC" >&6; }
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16511 $as_echo "no" >&6; }
16515 test -n "$ac_ct_CC" && break
16518 if test "x$ac_ct_CC" = x
; then
16521 case $cross_compiling:$ac_tool_warned in
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16525 ac_tool_warned
=yes ;;
16534 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16536 as_fn_error $?
"no acceptable C compiler found in \$PATH
16537 See \`config.log' for more details" "$LINENO" 5; }
16539 # Provide some information about the compiler.
16540 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16543 for ac_option
in --version -v -V -qversion; do
16544 { { ac_try
="$ac_compiler $ac_option >&5"
16545 case "(($ac_try" in
16546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16550 $as_echo "$ac_try_echo"; } >&5
16551 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16553 if test -s conftest.err; then
16555 ... rest of stderr output deleted ...
16556 10q' conftest.err >conftest.er1
16557 cat conftest.er1 >&5
16559 rm -f conftest.er1 conftest.err
16560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16561 test $ac_status = 0; }
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16565 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16566 if ${ac_cv_c_compiler_gnu+:} false; then :
16567 $as_echo_n "(cached) " >&6
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16583 if ac_fn_c_try_compile "$LINENO"; then :
16584 ac_compiler_gnu=yes
16588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16589 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16593 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16594 if test $ac_compiler_gnu = yes; then
16599 ac_test_CFLAGS=${CFLAGS+set}
16600 ac_save_CFLAGS=$CFLAGS
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16602 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16603 if ${ac_cv_prog_cc_g+:} false; then :
16604 $as_echo_n "(cached) " >&6
16606 ac_save_c_werror_flag=$ac_c_werror_flag
16607 ac_c_werror_flag=yes
16610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16611 /* end confdefs.h. */
16621 if ac_fn_c_try_compile "$LINENO"; then :
16622 ac_cv_prog_cc_g=yes
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16636 if ac_fn_c_try_compile "$LINENO"; then :
16639 ac_c_werror_flag=$ac_save_c_werror_flag
16641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16642 /* end confdefs.h. */
16652 if ac_fn_c_try_compile "$LINENO"; then :
16653 ac_cv_prog_cc_g=yes
16655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 ac_c_werror_flag=$ac_save_c_werror_flag
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16663 $as_echo "$ac_cv_prog_cc_g" >&6; }
16664 if test "$ac_test_CFLAGS" = set; then
16665 CFLAGS=$ac_save_CFLAGS
16666 elif test $ac_cv_prog_cc_g = yes; then
16667 if test "$GCC" = yes; then
16673 if test "$GCC" = yes; then
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16680 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16681 if ${ac_cv_prog_cc_c89+:} false; then :
16682 $as_echo_n "(cached) " >&6
16684 ac_cv_prog_cc_c89=no
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16688 #include <stdarg.h>
16691 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16692 struct buf { int x; };
16693 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16694 static char *e (p, i)
16700 static char *f (char * (*g) (char **, int), char **p, ...)
16705 s = g (p, va_arg (v,int));
16710 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16711 function prototypes and stuff, but not '\xHH' hex character constants.
16712 These don't provoke an error unfortunately, instead are silently treated
16713 as 'x'. The following induces an error, until -std is added to get
16714 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16715 array size at least. It's necessary to write '\x00'==0 to get something
16716 that's true only with -std. */
16717 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16719 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16720 inside strings and character constants. */
16722 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16724 int test (int i, double x);
16725 struct s1 {int (*f) (int a);};
16726 struct s2 {int (*f) (double a);};
16727 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16733 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16738 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16739 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16741 CC="$ac_save_CC $ac_arg"
16742 if ac_fn_c_try_compile "$LINENO"; then :
16743 ac_cv_prog_cc_c89=$ac_arg
16745 rm -f core conftest.err conftest.$ac_objext
16746 test "x$ac_cv_prog_cc_c89" != "xno" && break
16748 rm -f conftest.$ac_ext
16753 case "x$ac_cv_prog_cc_c89" in
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16756 $as_echo "none needed" >&6; } ;;
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16759 $as_echo "unsupported" >&6; } ;;
16761 CC="$CC $ac_cv_prog_cc_c89"
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16763 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16765 if test "x$ac_cv_prog_cc_c89" != xno; then :
16770 ac_cpp='$CPP $CPPFLAGS'
16771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16776 ac_cpp='$CPP $CPPFLAGS'
16777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16781 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16782 if ${am_cv_prog_cc_c_o+:} false; then :
16783 $as_echo_n "(cached) " >&6
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16796 # Make sure it works both with $CC and with simple cc.
16797 # Following AC_PROG_CC_C_O, we do the test twice because some
16798 # compilers refuse to overwrite an existing .o file with -o,
16799 # though they will create one.
16800 am_cv_prog_cc_c_o=yes
16801 for am_i in 1 2; do
16802 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16803 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } \
16807 && test -f conftest2.$ac_objext; then
16810 am_cv_prog_cc_c_o=no
16814 rm -f core conftest*
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16818 $as_echo "$am_cv_prog_cc_c_o" >&6; }
16819 if test "$am_cv_prog_cc_c_o" != yes; then
16820 # Losing compiler, so override with the script.
16821 # FIXME: It is wrong to rewrite CC.
16822 # But if we don't then we get into trouble of one sort or another.
16823 # A longer-term fix would be to have automake use am__CC in this case,
16824 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16825 CC="$am_aux_dir/compile $CC"
16828 ac_cpp='$CPP $CPPFLAGS'
16829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for access" >&5
16844 $as_echo_n "checking m2 front end checking c library for access... " >&6; }
16845 if test x$gcc_no_link != xyes; then
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access in -lc" >&5
16847 $as_echo_n "checking for access in -lc... " >&6; }
16848 if ${ac_cv_lib_c_access+:} false; then :
16849 $as_echo_n "(cached) " >&6
16851 ac_check_lib_save_LIBS=$LIBS
16853 if test x$gcc_no_link = xyes; then
16854 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16859 /* Override any GCC internal prototype to avoid an error.
16860 Use char because int might match the return type of a GCC
16861 builtin and then its argument prototype would still apply. */
16874 if ac_fn_c_try_link "$LINENO"; then :
16875 ac_cv_lib_c_access=yes
16877 ac_cv_lib_c_access=no
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16881 LIBS=$ac_check_lib_save_LIBS
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_access" >&5
16884 $as_echo "$ac_cv_lib_c_access" >&6; }
16885 if test "x$ac_cv_lib_c_access" = xyes; then :
16887 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16891 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
16896 if test "x$ac_cv_lib_c_access" = xyes; then
16898 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16900 elif test "x$ac_cv_func_access" = xyes; then
16902 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16906 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for brk" >&5
16913 $as_echo_n "checking m2 front end checking c library for brk... " >&6; }
16914 if test x$gcc_no_link != xyes; then
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for brk in -lc" >&5
16916 $as_echo_n "checking for brk in -lc... " >&6; }
16917 if ${ac_cv_lib_c_brk+:} false; then :
16918 $as_echo_n "(cached) " >&6
16920 ac_check_lib_save_LIBS=$LIBS
16922 if test x$gcc_no_link = xyes; then
16923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16928 /* Override any GCC internal prototype to avoid an error.
16929 Use char because int might match the return type of a GCC
16930 builtin and then its argument prototype would still apply. */
16943 if ac_fn_c_try_link "$LINENO"; then :
16944 ac_cv_lib_c_brk=yes
16948 rm -f core conftest.err conftest.$ac_objext \
16949 conftest$ac_exeext conftest.$ac_ext
16950 LIBS=$ac_check_lib_save_LIBS
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_brk" >&5
16953 $as_echo "$ac_cv_lib_c_brk" >&6; }
16954 if test "x$ac_cv_lib_c_brk" = xyes; then :
16956 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16960 $as_echo "#undef HAVE_BRK" >>confdefs.h
16965 if test "x$ac_cv_lib_c_brk" = xyes; then
16967 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16969 elif test "x$ac_cv_func_brk" = xyes; then
16971 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16975 $as_echo "#undef HAVE_BRK" >>confdefs.h
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for cfmakeraw" >&5
16982 $as_echo_n "checking m2 front end checking c library for cfmakeraw... " >&6; }
16983 if test x$gcc_no_link != xyes; then
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfmakeraw in -lc" >&5
16985 $as_echo_n "checking for cfmakeraw in -lc... " >&6; }
16986 if ${ac_cv_lib_c_cfmakeraw+:} false; then :
16987 $as_echo_n "(cached) " >&6
16989 ac_check_lib_save_LIBS=$LIBS
16991 if test x$gcc_no_link = xyes; then
16992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16997 /* Override any GCC internal prototype to avoid an error.
16998 Use char because int might match the return type of a GCC
16999 builtin and then its argument prototype would still apply. */
17007 return cfmakeraw ();
17012 if ac_fn_c_try_link "$LINENO"; then :
17013 ac_cv_lib_c_cfmakeraw=yes
17015 ac_cv_lib_c_cfmakeraw=no
17017 rm -f core conftest.err conftest.$ac_objext \
17018 conftest$ac_exeext conftest.$ac_ext
17019 LIBS=$ac_check_lib_save_LIBS
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_cfmakeraw" >&5
17022 $as_echo "$ac_cv_lib_c_cfmakeraw" >&6; }
17023 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then :
17025 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
17029 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
17034 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then
17036 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
17038 elif test "x$ac_cv_func_cfmakeraw" = xyes; then
17040 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
17044 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_gettime" >&5
17051 $as_echo_n "checking m2 front end checking c library for clock_gettime... " >&6; }
17052 if test x$gcc_no_link != xyes; then
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
17054 $as_echo_n "checking for clock_gettime in -lc... " >&6; }
17055 if ${ac_cv_lib_c_clock_gettime+:} false; then :
17056 $as_echo_n "(cached) " >&6
17058 ac_check_lib_save_LIBS=$LIBS
17060 if test x$gcc_no_link = xyes; then
17061 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17066 /* Override any GCC internal prototype to avoid an error.
17067 Use char because int might match the return type of a GCC
17068 builtin and then its argument prototype would still apply. */
17072 char clock_gettime ();
17076 return clock_gettime ();
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 ac_cv_lib_c_clock_gettime=yes
17084 ac_cv_lib_c_clock_gettime=no
17086 rm -f core conftest.err conftest.$ac_objext \
17087 conftest$ac_exeext conftest.$ac_ext
17088 LIBS=$ac_check_lib_save_LIBS
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
17091 $as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
17092 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then :
17094 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17098 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
17103 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then
17105 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17107 elif test "x$ac_cv_func_clock_gettime" = xyes; then
17109 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
17113 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_settime" >&5
17120 $as_echo_n "checking m2 front end checking c library for clock_settime... " >&6; }
17121 if test x$gcc_no_link != xyes; then
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lc" >&5
17123 $as_echo_n "checking for clock_settime in -lc... " >&6; }
17124 if ${ac_cv_lib_c_clock_settime+:} false; then :
17125 $as_echo_n "(cached) " >&6
17127 ac_check_lib_save_LIBS=$LIBS
17129 if test x$gcc_no_link = xyes; then
17130 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17135 /* Override any GCC internal prototype to avoid an error.
17136 Use char because int might match the return type of a GCC
17137 builtin and then its argument prototype would still apply. */
17141 char clock_settime ();
17145 return clock_settime ();
17150 if ac_fn_c_try_link "$LINENO"; then :
17151 ac_cv_lib_c_clock_settime=yes
17153 ac_cv_lib_c_clock_settime=no
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17157 LIBS=$ac_check_lib_save_LIBS
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_settime" >&5
17160 $as_echo "$ac_cv_lib_c_clock_settime" >&6; }
17161 if test "x$ac_cv_lib_c_clock_settime" = xyes; then :
17163 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17167 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
17172 if test "x$ac_cv_lib_c_clock_settime" = xyes; then
17174 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17176 elif test "x$ac_cv_func_clock_settime" = xyes; then
17178 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
17182 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for close" >&5
17189 $as_echo_n "checking m2 front end checking c library for close... " >&6; }
17190 if test x$gcc_no_link != xyes; then
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for close in -lc" >&5
17192 $as_echo_n "checking for close in -lc... " >&6; }
17193 if ${ac_cv_lib_c_close+:} false; then :
17194 $as_echo_n "(cached) " >&6
17196 ac_check_lib_save_LIBS=$LIBS
17198 if test x$gcc_no_link = xyes; then
17199 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17204 /* Override any GCC internal prototype to avoid an error.
17205 Use char because int might match the return type of a GCC
17206 builtin and then its argument prototype would still apply. */
17219 if ac_fn_c_try_link "$LINENO"; then :
17220 ac_cv_lib_c_close=yes
17222 ac_cv_lib_c_close=no
17224 rm -f core conftest.err conftest.$ac_objext \
17225 conftest$ac_exeext conftest.$ac_ext
17226 LIBS=$ac_check_lib_save_LIBS
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_close" >&5
17229 $as_echo "$ac_cv_lib_c_close" >&6; }
17230 if test "x$ac_cv_lib_c_close" = xyes; then :
17232 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17236 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
17241 if test "x$ac_cv_lib_c_close" = xyes; then
17243 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17245 elif test "x$ac_cv_func_close" = xyes; then
17247 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17251 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ctime" >&5
17258 $as_echo_n "checking m2 front end checking c library for ctime... " >&6; }
17259 if test x$gcc_no_link != xyes; then
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime in -lc" >&5
17261 $as_echo_n "checking for ctime in -lc... " >&6; }
17262 if ${ac_cv_lib_c_ctime+:} false; then :
17263 $as_echo_n "(cached) " >&6
17265 ac_check_lib_save_LIBS=$LIBS
17267 if test x$gcc_no_link = xyes; then
17268 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17273 /* Override any GCC internal prototype to avoid an error.
17274 Use char because int might match the return type of a GCC
17275 builtin and then its argument prototype would still apply. */
17288 if ac_fn_c_try_link "$LINENO"; then :
17289 ac_cv_lib_c_ctime=yes
17291 ac_cv_lib_c_ctime=no
17293 rm -f core conftest.err conftest.$ac_objext \
17294 conftest$ac_exeext conftest.$ac_ext
17295 LIBS=$ac_check_lib_save_LIBS
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ctime" >&5
17298 $as_echo "$ac_cv_lib_c_ctime" >&6; }
17299 if test "x$ac_cv_lib_c_ctime" = xyes; then :
17301 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17305 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17310 if test "x$ac_cv_lib_c_ctime" = xyes; then
17312 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17314 elif test "x$ac_cv_func_ctime" = xyes; then
17316 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17320 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for creat" >&5
17327 $as_echo_n "checking m2 front end checking c library for creat... " >&6; }
17328 if test x$gcc_no_link != xyes; then
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for creat in -lc" >&5
17330 $as_echo_n "checking for creat in -lc... " >&6; }
17331 if ${ac_cv_lib_c_creat+:} false; then :
17332 $as_echo_n "(cached) " >&6
17334 ac_check_lib_save_LIBS=$LIBS
17336 if test x$gcc_no_link = xyes; then
17337 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17342 /* Override any GCC internal prototype to avoid an error.
17343 Use char because int might match the return type of a GCC
17344 builtin and then its argument prototype would still apply. */
17357 if ac_fn_c_try_link "$LINENO"; then :
17358 ac_cv_lib_c_creat=yes
17360 ac_cv_lib_c_creat=no
17362 rm -f core conftest.err conftest.$ac_objext \
17363 conftest$ac_exeext conftest.$ac_ext
17364 LIBS=$ac_check_lib_save_LIBS
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_creat" >&5
17367 $as_echo "$ac_cv_lib_c_creat" >&6; }
17368 if test "x$ac_cv_lib_c_creat" = xyes; then :
17370 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17374 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17379 if test "x$ac_cv_lib_c_creat" = xyes; then
17381 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17383 elif test "x$ac_cv_func_creat" = xyes; then
17385 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17389 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for daylight" >&5
17396 $as_echo_n "checking m2 front end checking c library for daylight... " >&6; }
17397 if test x$gcc_no_link != xyes; then
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight in -lc" >&5
17399 $as_echo_n "checking for daylight in -lc... " >&6; }
17400 if ${ac_cv_lib_c_daylight+:} false; then :
17401 $as_echo_n "(cached) " >&6
17403 ac_check_lib_save_LIBS=$LIBS
17405 if test x$gcc_no_link = xyes; then
17406 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17411 /* Override any GCC internal prototype to avoid an error.
17412 Use char because int might match the return type of a GCC
17413 builtin and then its argument prototype would still apply. */
17421 return daylight ();
17426 if ac_fn_c_try_link "$LINENO"; then :
17427 ac_cv_lib_c_daylight=yes
17429 ac_cv_lib_c_daylight=no
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17433 LIBS=$ac_check_lib_save_LIBS
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_daylight" >&5
17436 $as_echo "$ac_cv_lib_c_daylight" >&6; }
17437 if test "x$ac_cv_lib_c_daylight" = xyes; then :
17439 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17443 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
17448 if test "x$ac_cv_lib_c_daylight" = xyes; then
17450 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17452 elif test "x$ac_cv_func_daylight" = xyes; then
17454 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17458 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for dup" >&5
17465 $as_echo_n "checking m2 front end checking c library for dup... " >&6; }
17466 if test x$gcc_no_link != xyes; then
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup in -lc" >&5
17468 $as_echo_n "checking for dup in -lc... " >&6; }
17469 if ${ac_cv_lib_c_dup+:} false; then :
17470 $as_echo_n "(cached) " >&6
17472 ac_check_lib_save_LIBS=$LIBS
17474 if test x$gcc_no_link = xyes; then
17475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17480 /* Override any GCC internal prototype to avoid an error.
17481 Use char because int might match the return type of a GCC
17482 builtin and then its argument prototype would still apply. */
17495 if ac_fn_c_try_link "$LINENO"; then :
17496 ac_cv_lib_c_dup=yes
17500 rm -f core conftest.err conftest.$ac_objext \
17501 conftest$ac_exeext conftest.$ac_ext
17502 LIBS=$ac_check_lib_save_LIBS
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dup" >&5
17505 $as_echo "$ac_cv_lib_c_dup" >&6; }
17506 if test "x$ac_cv_lib_c_dup" = xyes; then :
17508 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17512 $as_echo "#undef HAVE_DUP" >>confdefs.h
17517 if test "x$ac_cv_lib_c_dup" = xyes; then
17519 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17521 elif test "x$ac_cv_func_dup" = xyes; then
17523 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17527 $as_echo "#undef HAVE_DUP" >>confdefs.h
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for execve" >&5
17534 $as_echo_n "checking m2 front end checking c library for execve... " >&6; }
17535 if test x$gcc_no_link != xyes; then
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execve in -lc" >&5
17537 $as_echo_n "checking for execve in -lc... " >&6; }
17538 if ${ac_cv_lib_c_execve+:} false; then :
17539 $as_echo_n "(cached) " >&6
17541 ac_check_lib_save_LIBS=$LIBS
17543 if test x$gcc_no_link = xyes; then
17544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17549 /* Override any GCC internal prototype to avoid an error.
17550 Use char because int might match the return type of a GCC
17551 builtin and then its argument prototype would still apply. */
17564 if ac_fn_c_try_link "$LINENO"; then :
17565 ac_cv_lib_c_execve=yes
17567 ac_cv_lib_c_execve=no
17569 rm -f core conftest.err conftest.$ac_objext \
17570 conftest$ac_exeext conftest.$ac_ext
17571 LIBS=$ac_check_lib_save_LIBS
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_execve" >&5
17574 $as_echo "$ac_cv_lib_c_execve" >&6; }
17575 if test "x$ac_cv_lib_c_execve" = xyes; then :
17577 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17581 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17586 if test "x$ac_cv_lib_c_execve" = xyes; then
17588 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17590 elif test "x$ac_cv_func_execve" = xyes; then
17592 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17596 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for exit" >&5
17603 $as_echo_n "checking m2 front end checking c library for exit... " >&6; }
17604 if test x$gcc_no_link != xyes; then
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lc" >&5
17606 $as_echo_n "checking for exit in -lc... " >&6; }
17607 if ${ac_cv_lib_c_exit+:} false; then :
17608 $as_echo_n "(cached) " >&6
17610 ac_check_lib_save_LIBS=$LIBS
17612 if test x$gcc_no_link = xyes; then
17613 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17618 /* Override any GCC internal prototype to avoid an error.
17619 Use char because int might match the return type of a GCC
17620 builtin and then its argument prototype would still apply. */
17633 if ac_fn_c_try_link "$LINENO"; then :
17634 ac_cv_lib_c_exit=yes
17636 ac_cv_lib_c_exit=no
17638 rm -f core conftest.err conftest.$ac_objext \
17639 conftest$ac_exeext conftest.$ac_ext
17640 LIBS=$ac_check_lib_save_LIBS
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_exit" >&5
17643 $as_echo "$ac_cv_lib_c_exit" >&6; }
17644 if test "x$ac_cv_lib_c_exit" = xyes; then :
17646 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17650 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17655 if test "x$ac_cv_lib_c_exit" = xyes; then
17657 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17659 elif test "x$ac_cv_func_exit" = xyes; then
17661 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17665 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fcntl" >&5
17672 $as_echo_n "checking m2 front end checking c library for fcntl... " >&6; }
17673 if test x$gcc_no_link != xyes; then
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl in -lc" >&5
17675 $as_echo_n "checking for fcntl in -lc... " >&6; }
17676 if ${ac_cv_lib_c_fcntl+:} false; then :
17677 $as_echo_n "(cached) " >&6
17679 ac_check_lib_save_LIBS=$LIBS
17681 if test x$gcc_no_link = xyes; then
17682 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17687 /* Override any GCC internal prototype to avoid an error.
17688 Use char because int might match the return type of a GCC
17689 builtin and then its argument prototype would still apply. */
17702 if ac_fn_c_try_link "$LINENO"; then :
17703 ac_cv_lib_c_fcntl=yes
17705 ac_cv_lib_c_fcntl=no
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 LIBS=$ac_check_lib_save_LIBS
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fcntl" >&5
17712 $as_echo "$ac_cv_lib_c_fcntl" >&6; }
17713 if test "x$ac_cv_lib_c_fcntl" = xyes; then :
17715 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17719 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17724 if test "x$ac_cv_lib_c_fcntl" = xyes; then
17726 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17728 elif test "x$ac_cv_func_fcntl" = xyes; then
17730 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17734 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fstat" >&5
17741 $as_echo_n "checking m2 front end checking c library for fstat... " >&6; }
17742 if test x$gcc_no_link != xyes; then
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fstat in -lc" >&5
17744 $as_echo_n "checking for fstat in -lc... " >&6; }
17745 if ${ac_cv_lib_c_fstat+:} false; then :
17746 $as_echo_n "(cached) " >&6
17748 ac_check_lib_save_LIBS=$LIBS
17750 if test x$gcc_no_link = xyes; then
17751 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17754 /* end confdefs.h. */
17756 /* Override any GCC internal prototype to avoid an error.
17757 Use char because int might match the return type of a GCC
17758 builtin and then its argument prototype would still apply. */
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 ac_cv_lib_c_fstat=yes
17774 ac_cv_lib_c_fstat=no
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext conftest.$ac_ext
17778 LIBS=$ac_check_lib_save_LIBS
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fstat" >&5
17781 $as_echo "$ac_cv_lib_c_fstat" >&6; }
17782 if test "x$ac_cv_lib_c_fstat" = xyes; then :
17784 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17788 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17793 if test "x$ac_cv_lib_c_fstat" = xyes; then
17795 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17797 elif test "x$ac_cv_func_fstat" = xyes; then
17799 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17803 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getdents" >&5
17810 $as_echo_n "checking m2 front end checking c library for getdents... " >&6; }
17811 if test x$gcc_no_link != xyes; then
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getdents in -lc" >&5
17813 $as_echo_n "checking for getdents in -lc... " >&6; }
17814 if ${ac_cv_lib_c_getdents+:} false; then :
17815 $as_echo_n "(cached) " >&6
17817 ac_check_lib_save_LIBS=$LIBS
17819 if test x$gcc_no_link = xyes; then
17820 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17825 /* Override any GCC internal prototype to avoid an error.
17826 Use char because int might match the return type of a GCC
17827 builtin and then its argument prototype would still apply. */
17835 return getdents ();
17840 if ac_fn_c_try_link "$LINENO"; then :
17841 ac_cv_lib_c_getdents=yes
17843 ac_cv_lib_c_getdents=no
17845 rm -f core conftest.err conftest.$ac_objext \
17846 conftest$ac_exeext conftest.$ac_ext
17847 LIBS=$ac_check_lib_save_LIBS
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getdents" >&5
17850 $as_echo "$ac_cv_lib_c_getdents" >&6; }
17851 if test "x$ac_cv_lib_c_getdents" = xyes; then :
17853 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17857 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17862 if test "x$ac_cv_lib_c_getdents" = xyes; then
17864 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17866 elif test "x$ac_cv_func_getdents" = xyes; then
17868 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17872 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getgid" >&5
17879 $as_echo_n "checking m2 front end checking c library for getgid... " >&6; }
17880 if test x$gcc_no_link != xyes; then
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
17882 $as_echo_n "checking for getgid in -lc... " >&6; }
17883 if ${ac_cv_lib_c_getgid+:} false; then :
17884 $as_echo_n "(cached) " >&6
17886 ac_check_lib_save_LIBS=$LIBS
17888 if test x$gcc_no_link = xyes; then
17889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17894 /* Override any GCC internal prototype to avoid an error.
17895 Use char because int might match the return type of a GCC
17896 builtin and then its argument prototype would still apply. */
17909 if ac_fn_c_try_link "$LINENO"; then :
17910 ac_cv_lib_c_getgid=yes
17912 ac_cv_lib_c_getgid=no
17914 rm -f core conftest.err conftest.$ac_objext \
17915 conftest$ac_exeext conftest.$ac_ext
17916 LIBS=$ac_check_lib_save_LIBS
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
17919 $as_echo "$ac_cv_lib_c_getgid" >&6; }
17920 if test "x$ac_cv_lib_c_getgid" = xyes; then :
17922 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17926 $as_echo "#undef HAVE_GETGID" >>confdefs.h
17931 if test "x$ac_cv_lib_c_getgid" = xyes; then
17933 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17935 elif test "x$ac_cv_func_getgid" = xyes; then
17937 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17941 $as_echo "#undef HAVE_GETGID" >>confdefs.h
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getpid" >&5
17948 $as_echo_n "checking m2 front end checking c library for getpid... " >&6; }
17949 if test x$gcc_no_link != xyes; then
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
17951 $as_echo_n "checking for getpid in -lc... " >&6; }
17952 if ${ac_cv_lib_c_getpid+:} false; then :
17953 $as_echo_n "(cached) " >&6
17955 ac_check_lib_save_LIBS=$LIBS
17957 if test x$gcc_no_link = xyes; then
17958 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17963 /* Override any GCC internal prototype to avoid an error.
17964 Use char because int might match the return type of a GCC
17965 builtin and then its argument prototype would still apply. */
17978 if ac_fn_c_try_link "$LINENO"; then :
17979 ac_cv_lib_c_getpid=yes
17981 ac_cv_lib_c_getpid=no
17983 rm -f core conftest.err conftest.$ac_objext \
17984 conftest$ac_exeext conftest.$ac_ext
17985 LIBS=$ac_check_lib_save_LIBS
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
17988 $as_echo "$ac_cv_lib_c_getpid" >&6; }
17989 if test "x$ac_cv_lib_c_getpid" = xyes; then :
17991 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17995 $as_echo "#undef HAVE_GETPID" >>confdefs.h
18000 if test "x$ac_cv_lib_c_getpid" = xyes; then
18002 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
18004 elif test "x$ac_cv_func_getpid" = xyes; then
18006 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
18010 $as_echo "#undef HAVE_GETPID" >>confdefs.h
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for gettimeofday" >&5
18017 $as_echo_n "checking m2 front end checking c library for gettimeofday... " >&6; }
18018 if test x$gcc_no_link != xyes; then
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lc" >&5
18020 $as_echo_n "checking for gettimeofday in -lc... " >&6; }
18021 if ${ac_cv_lib_c_gettimeofday+:} false; then :
18022 $as_echo_n "(cached) " >&6
18024 ac_check_lib_save_LIBS=$LIBS
18026 if test x$gcc_no_link = xyes; then
18027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18030 /* end confdefs.h. */
18032 /* Override any GCC internal prototype to avoid an error.
18033 Use char because int might match the return type of a GCC
18034 builtin and then its argument prototype would still apply. */
18038 char gettimeofday ();
18042 return gettimeofday ();
18047 if ac_fn_c_try_link "$LINENO"; then :
18048 ac_cv_lib_c_gettimeofday=yes
18050 ac_cv_lib_c_gettimeofday=no
18052 rm -f core conftest.err conftest.$ac_objext \
18053 conftest$ac_exeext conftest.$ac_ext
18054 LIBS=$ac_check_lib_save_LIBS
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettimeofday" >&5
18057 $as_echo "$ac_cv_lib_c_gettimeofday" >&6; }
18058 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then :
18060 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18064 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
18069 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then
18071 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18073 elif test "x$ac_cv_func_gettimeofday" = xyes; then
18075 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
18079 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getuid" >&5
18086 $as_echo_n "checking m2 front end checking c library for getuid... " >&6; }
18087 if test x$gcc_no_link != xyes; then
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
18089 $as_echo_n "checking for getuid in -lc... " >&6; }
18090 if ${ac_cv_lib_c_getuid+:} false; then :
18091 $as_echo_n "(cached) " >&6
18093 ac_check_lib_save_LIBS=$LIBS
18095 if test x$gcc_no_link = xyes; then
18096 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18101 /* Override any GCC internal prototype to avoid an error.
18102 Use char because int might match the return type of a GCC
18103 builtin and then its argument prototype would still apply. */
18116 if ac_fn_c_try_link "$LINENO"; then :
18117 ac_cv_lib_c_getuid=yes
18119 ac_cv_lib_c_getuid=no
18121 rm -f core conftest.err conftest.$ac_objext \
18122 conftest$ac_exeext conftest.$ac_ext
18123 LIBS=$ac_check_lib_save_LIBS
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
18126 $as_echo "$ac_cv_lib_c_getuid" >&6; }
18127 if test "x$ac_cv_lib_c_getuid" = xyes; then :
18129 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18133 $as_echo "#undef HAVE_GETUID" >>confdefs.h
18138 if test "x$ac_cv_lib_c_getuid" = xyes; then
18140 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18142 elif test "x$ac_cv_func_getuid" = xyes; then
18144 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
18148 $as_echo "#undef HAVE_GETUID" >>confdefs.h
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ioctl" >&5
18155 $as_echo_n "checking m2 front end checking c library for ioctl... " >&6; }
18156 if test x$gcc_no_link != xyes; then
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl in -lc" >&5
18158 $as_echo_n "checking for ioctl in -lc... " >&6; }
18159 if ${ac_cv_lib_c_ioctl+:} false; then :
18160 $as_echo_n "(cached) " >&6
18162 ac_check_lib_save_LIBS=$LIBS
18164 if test x$gcc_no_link = xyes; then
18165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 /* Override any GCC internal prototype to avoid an error.
18171 Use char because int might match the return type of a GCC
18172 builtin and then its argument prototype would still apply. */
18185 if ac_fn_c_try_link "$LINENO"; then :
18186 ac_cv_lib_c_ioctl=yes
18188 ac_cv_lib_c_ioctl=no
18190 rm -f core conftest.err conftest.$ac_objext \
18191 conftest$ac_exeext conftest.$ac_ext
18192 LIBS=$ac_check_lib_save_LIBS
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ioctl" >&5
18195 $as_echo "$ac_cv_lib_c_ioctl" >&6; }
18196 if test "x$ac_cv_lib_c_ioctl" = xyes; then :
18198 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18202 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
18207 if test "x$ac_cv_lib_c_ioctl" = xyes; then
18209 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18211 elif test "x$ac_cv_func_ioctl" = xyes; then
18213 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
18217 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for kill" >&5
18224 $as_echo_n "checking m2 front end checking c library for kill... " >&6; }
18225 if test x$gcc_no_link != xyes; then
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kill in -lc" >&5
18227 $as_echo_n "checking for kill in -lc... " >&6; }
18228 if ${ac_cv_lib_c_kill+:} false; then :
18229 $as_echo_n "(cached) " >&6
18231 ac_check_lib_save_LIBS=$LIBS
18233 if test x$gcc_no_link = xyes; then
18234 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18239 /* Override any GCC internal prototype to avoid an error.
18240 Use char because int might match the return type of a GCC
18241 builtin and then its argument prototype would still apply. */
18254 if ac_fn_c_try_link "$LINENO"; then :
18255 ac_cv_lib_c_kill=yes
18257 ac_cv_lib_c_kill=no
18259 rm -f core conftest.err conftest.$ac_objext \
18260 conftest$ac_exeext conftest.$ac_ext
18261 LIBS=$ac_check_lib_save_LIBS
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_kill" >&5
18264 $as_echo "$ac_cv_lib_c_kill" >&6; }
18265 if test "x$ac_cv_lib_c_kill" = xyes; then :
18267 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18271 $as_echo "#undef HAVE_KILL" >>confdefs.h
18276 if test "x$ac_cv_lib_c_kill" = xyes; then
18278 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18280 elif test "x$ac_cv_func_kill" = xyes; then
18282 $as_echo "#define HAVE_KILL 1" >>confdefs.h
18286 $as_echo "#undef HAVE_KILL" >>confdefs.h
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for link" >&5
18293 $as_echo_n "checking m2 front end checking c library for link... " >&6; }
18294 if test x$gcc_no_link != xyes; then
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link in -lc" >&5
18296 $as_echo_n "checking for link in -lc... " >&6; }
18297 if ${ac_cv_lib_c_link+:} false; then :
18298 $as_echo_n "(cached) " >&6
18300 ac_check_lib_save_LIBS=$LIBS
18302 if test x$gcc_no_link = xyes; then
18303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18308 /* Override any GCC internal prototype to avoid an error.
18309 Use char because int might match the return type of a GCC
18310 builtin and then its argument prototype would still apply. */
18323 if ac_fn_c_try_link "$LINENO"; then :
18324 ac_cv_lib_c_link=yes
18326 ac_cv_lib_c_link=no
18328 rm -f core conftest.err conftest.$ac_objext \
18329 conftest$ac_exeext conftest.$ac_ext
18330 LIBS=$ac_check_lib_save_LIBS
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_link" >&5
18333 $as_echo "$ac_cv_lib_c_link" >&6; }
18334 if test "x$ac_cv_lib_c_link" = xyes; then :
18336 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18340 $as_echo "#undef HAVE_LINK" >>confdefs.h
18345 if test "x$ac_cv_lib_c_link" = xyes; then
18347 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18349 elif test "x$ac_cv_func_link" = xyes; then
18351 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18355 $as_echo "#undef HAVE_LINK" >>confdefs.h
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for lseek" >&5
18362 $as_echo_n "checking m2 front end checking c library for lseek... " >&6; }
18363 if test x$gcc_no_link != xyes; then
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lc" >&5
18365 $as_echo_n "checking for lseek in -lc... " >&6; }
18366 if ${ac_cv_lib_c_lseek+:} false; then :
18367 $as_echo_n "(cached) " >&6
18369 ac_check_lib_save_LIBS=$LIBS
18371 if test x$gcc_no_link = xyes; then
18372 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18377 /* Override any GCC internal prototype to avoid an error.
18378 Use char because int might match the return type of a GCC
18379 builtin and then its argument prototype would still apply. */
18392 if ac_fn_c_try_link "$LINENO"; then :
18393 ac_cv_lib_c_lseek=yes
18395 ac_cv_lib_c_lseek=no
18397 rm -f core conftest.err conftest.$ac_objext \
18398 conftest$ac_exeext conftest.$ac_ext
18399 LIBS=$ac_check_lib_save_LIBS
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_lseek" >&5
18402 $as_echo "$ac_cv_lib_c_lseek" >&6; }
18403 if test "x$ac_cv_lib_c_lseek" = xyes; then :
18405 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18409 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18414 if test "x$ac_cv_lib_c_lseek" = xyes; then
18416 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18418 elif test "x$ac_cv_func_lseek" = xyes; then
18420 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18424 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for open" >&5
18431 $as_echo_n "checking m2 front end checking c library for open... " >&6; }
18432 if test x$gcc_no_link != xyes; then
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
18434 $as_echo_n "checking for open in -lc... " >&6; }
18435 if ${ac_cv_lib_c_open+:} false; then :
18436 $as_echo_n "(cached) " >&6
18438 ac_check_lib_save_LIBS=$LIBS
18440 if test x$gcc_no_link = xyes; then
18441 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18446 /* Override any GCC internal prototype to avoid an error.
18447 Use char because int might match the return type of a GCC
18448 builtin and then its argument prototype would still apply. */
18461 if ac_fn_c_try_link "$LINENO"; then :
18462 ac_cv_lib_c_open=yes
18464 ac_cv_lib_c_open=no
18466 rm -f core conftest.err conftest.$ac_objext \
18467 conftest$ac_exeext conftest.$ac_ext
18468 LIBS=$ac_check_lib_save_LIBS
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
18471 $as_echo "$ac_cv_lib_c_open" >&6; }
18472 if test "x$ac_cv_lib_c_open" = xyes; then :
18474 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18478 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18483 if test "x$ac_cv_lib_c_open" = xyes; then
18485 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18487 elif test "x$ac_cv_func_open" = xyes; then
18489 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18493 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pause" >&5
18500 $as_echo_n "checking m2 front end checking c library for pause... " >&6; }
18501 if test x$gcc_no_link != xyes; then
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pause in -lc" >&5
18503 $as_echo_n "checking for pause in -lc... " >&6; }
18504 if ${ac_cv_lib_c_pause+:} false; then :
18505 $as_echo_n "(cached) " >&6
18507 ac_check_lib_save_LIBS=$LIBS
18509 if test x$gcc_no_link = xyes; then
18510 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18515 /* Override any GCC internal prototype to avoid an error.
18516 Use char because int might match the return type of a GCC
18517 builtin and then its argument prototype would still apply. */
18530 if ac_fn_c_try_link "$LINENO"; then :
18531 ac_cv_lib_c_pause=yes
18533 ac_cv_lib_c_pause=no
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18537 LIBS=$ac_check_lib_save_LIBS
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pause" >&5
18540 $as_echo "$ac_cv_lib_c_pause" >&6; }
18541 if test "x$ac_cv_lib_c_pause" = xyes; then :
18543 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18547 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18552 if test "x$ac_cv_lib_c_pause" = xyes; then
18554 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18556 elif test "x$ac_cv_func_pause" = xyes; then
18558 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18562 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pipe" >&5
18569 $as_echo_n "checking m2 front end checking c library for pipe... " >&6; }
18570 if test x$gcc_no_link != xyes; then
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe in -lc" >&5
18572 $as_echo_n "checking for pipe in -lc... " >&6; }
18573 if ${ac_cv_lib_c_pipe+:} false; then :
18574 $as_echo_n "(cached) " >&6
18576 ac_check_lib_save_LIBS=$LIBS
18578 if test x$gcc_no_link = xyes; then
18579 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h. */
18584 /* Override any GCC internal prototype to avoid an error.
18585 Use char because int might match the return type of a GCC
18586 builtin and then its argument prototype would still apply. */
18599 if ac_fn_c_try_link "$LINENO"; then :
18600 ac_cv_lib_c_pipe=yes
18602 ac_cv_lib_c_pipe=no
18604 rm -f core conftest.err conftest.$ac_objext \
18605 conftest$ac_exeext conftest.$ac_ext
18606 LIBS=$ac_check_lib_save_LIBS
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pipe" >&5
18609 $as_echo "$ac_cv_lib_c_pipe" >&6; }
18610 if test "x$ac_cv_lib_c_pipe" = xyes; then :
18612 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18616 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18621 if test "x$ac_cv_lib_c_pipe" = xyes; then
18623 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18625 elif test "x$ac_cv_func_pipe" = xyes; then
18627 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18631 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for rand" >&5
18638 $as_echo_n "checking m2 front end checking c library for rand... " >&6; }
18639 if test x$gcc_no_link != xyes; then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rand in -lc" >&5
18641 $as_echo_n "checking for rand in -lc... " >&6; }
18642 if ${ac_cv_lib_c_rand+:} false; then :
18643 $as_echo_n "(cached) " >&6
18645 ac_check_lib_save_LIBS=$LIBS
18647 if test x$gcc_no_link = xyes; then
18648 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18653 /* Override any GCC internal prototype to avoid an error.
18654 Use char because int might match the return type of a GCC
18655 builtin and then its argument prototype would still apply. */
18668 if ac_fn_c_try_link "$LINENO"; then :
18669 ac_cv_lib_c_rand=yes
18671 ac_cv_lib_c_rand=no
18673 rm -f core conftest.err conftest.$ac_objext \
18674 conftest$ac_exeext conftest.$ac_ext
18675 LIBS=$ac_check_lib_save_LIBS
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_rand" >&5
18678 $as_echo "$ac_cv_lib_c_rand" >&6; }
18679 if test "x$ac_cv_lib_c_rand" = xyes; then :
18681 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18685 $as_echo "#undef HAVE_RAND" >>confdefs.h
18690 if test "x$ac_cv_lib_c_rand" = xyes; then
18692 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18694 elif test "x$ac_cv_func_rand" = xyes; then
18696 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18700 $as_echo "#undef HAVE_RAND" >>confdefs.h
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for read" >&5
18707 $as_echo_n "checking m2 front end checking c library for read... " >&6; }
18708 if test x$gcc_no_link != xyes; then
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc" >&5
18710 $as_echo_n "checking for read in -lc... " >&6; }
18711 if ${ac_cv_lib_c_read+:} false; then :
18712 $as_echo_n "(cached) " >&6
18714 ac_check_lib_save_LIBS=$LIBS
18716 if test x$gcc_no_link = xyes; then
18717 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18722 /* Override any GCC internal prototype to avoid an error.
18723 Use char because int might match the return type of a GCC
18724 builtin and then its argument prototype would still apply. */
18737 if ac_fn_c_try_link "$LINENO"; then :
18738 ac_cv_lib_c_read=yes
18740 ac_cv_lib_c_read=no
18742 rm -f core conftest.err conftest.$ac_objext \
18743 conftest$ac_exeext conftest.$ac_ext
18744 LIBS=$ac_check_lib_save_LIBS
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_read" >&5
18747 $as_echo "$ac_cv_lib_c_read" >&6; }
18748 if test "x$ac_cv_lib_c_read" = xyes; then :
18750 $as_echo "#define HAVE_READ 1" >>confdefs.h
18754 $as_echo "#undef HAVE_READ" >>confdefs.h
18759 if test "x$ac_cv_lib_c_read" = xyes; then
18761 $as_echo "#define HAVE_READ 1" >>confdefs.h
18763 elif test "x$ac_cv_func_read" = xyes; then
18765 $as_echo "#define HAVE_READ 1" >>confdefs.h
18769 $as_echo "#undef HAVE_READ" >>confdefs.h
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for select" >&5
18776 $as_echo_n "checking m2 front end checking c library for select... " >&6; }
18777 if test x$gcc_no_link != xyes; then
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lc" >&5
18779 $as_echo_n "checking for select in -lc... " >&6; }
18780 if ${ac_cv_lib_c_select+:} false; then :
18781 $as_echo_n "(cached) " >&6
18783 ac_check_lib_save_LIBS=$LIBS
18785 if test x$gcc_no_link = xyes; then
18786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18791 /* Override any GCC internal prototype to avoid an error.
18792 Use char because int might match the return type of a GCC
18793 builtin and then its argument prototype would still apply. */
18806 if ac_fn_c_try_link "$LINENO"; then :
18807 ac_cv_lib_c_select=yes
18809 ac_cv_lib_c_select=no
18811 rm -f core conftest.err conftest.$ac_objext \
18812 conftest$ac_exeext conftest.$ac_ext
18813 LIBS=$ac_check_lib_save_LIBS
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_select" >&5
18816 $as_echo "$ac_cv_lib_c_select" >&6; }
18817 if test "x$ac_cv_lib_c_select" = xyes; then :
18819 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18823 $as_echo "#undef HAVE_SELECT" >>confdefs.h
18828 if test "x$ac_cv_lib_c_select" = xyes; then
18830 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18832 elif test "x$ac_cv_func_select" = xyes; then
18834 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18838 $as_echo "#undef HAVE_SELECT" >>confdefs.h
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setitimer" >&5
18845 $as_echo_n "checking m2 front end checking c library for setitimer... " >&6; }
18846 if test x$gcc_no_link != xyes; then
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setitimer in -lc" >&5
18848 $as_echo_n "checking for setitimer in -lc... " >&6; }
18849 if ${ac_cv_lib_c_setitimer+:} false; then :
18850 $as_echo_n "(cached) " >&6
18852 ac_check_lib_save_LIBS=$LIBS
18854 if test x$gcc_no_link = xyes; then
18855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18860 /* Override any GCC internal prototype to avoid an error.
18861 Use char because int might match the return type of a GCC
18862 builtin and then its argument prototype would still apply. */
18870 return setitimer ();
18875 if ac_fn_c_try_link "$LINENO"; then :
18876 ac_cv_lib_c_setitimer=yes
18878 ac_cv_lib_c_setitimer=no
18880 rm -f core conftest.err conftest.$ac_objext \
18881 conftest$ac_exeext conftest.$ac_ext
18882 LIBS=$ac_check_lib_save_LIBS
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setitimer" >&5
18885 $as_echo "$ac_cv_lib_c_setitimer" >&6; }
18886 if test "x$ac_cv_lib_c_setitimer" = xyes; then :
18888 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18892 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
18897 if test "x$ac_cv_lib_c_setitimer" = xyes; then
18899 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18901 elif test "x$ac_cv_func_setitimer" = xyes; then
18903 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18907 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setgid" >&5
18914 $as_echo_n "checking m2 front end checking c library for setgid... " >&6; }
18915 if test x$gcc_no_link != xyes; then
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgid in -lc" >&5
18917 $as_echo_n "checking for setgid in -lc... " >&6; }
18918 if ${ac_cv_lib_c_setgid+:} false; then :
18919 $as_echo_n "(cached) " >&6
18921 ac_check_lib_save_LIBS=$LIBS
18923 if test x$gcc_no_link = xyes; then
18924 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18929 /* Override any GCC internal prototype to avoid an error.
18930 Use char because int might match the return type of a GCC
18931 builtin and then its argument prototype would still apply. */
18944 if ac_fn_c_try_link "$LINENO"; then :
18945 ac_cv_lib_c_setgid=yes
18947 ac_cv_lib_c_setgid=no
18949 rm -f core conftest.err conftest.$ac_objext \
18950 conftest$ac_exeext conftest.$ac_ext
18951 LIBS=$ac_check_lib_save_LIBS
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgid" >&5
18954 $as_echo "$ac_cv_lib_c_setgid" >&6; }
18955 if test "x$ac_cv_lib_c_setgid" = xyes; then :
18957 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18961 $as_echo "#undef HAVE_SETGID" >>confdefs.h
18966 if test "x$ac_cv_lib_c_setgid" = xyes; then
18968 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18970 elif test "x$ac_cv_func_setgid" = xyes; then
18972 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18976 $as_echo "#undef HAVE_SETGID" >>confdefs.h
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setuid" >&5
18983 $as_echo_n "checking m2 front end checking c library for setuid... " >&6; }
18984 if test x$gcc_no_link != xyes; then
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setuid in -lc" >&5
18986 $as_echo_n "checking for setuid in -lc... " >&6; }
18987 if ${ac_cv_lib_c_setuid+:} false; then :
18988 $as_echo_n "(cached) " >&6
18990 ac_check_lib_save_LIBS=$LIBS
18992 if test x$gcc_no_link = xyes; then
18993 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18998 /* Override any GCC internal prototype to avoid an error.
18999 Use char because int might match the return type of a GCC
19000 builtin and then its argument prototype would still apply. */
19013 if ac_fn_c_try_link "$LINENO"; then :
19014 ac_cv_lib_c_setuid=yes
19016 ac_cv_lib_c_setuid=no
19018 rm -f core conftest.err conftest.$ac_objext \
19019 conftest$ac_exeext conftest.$ac_ext
19020 LIBS=$ac_check_lib_save_LIBS
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setuid" >&5
19023 $as_echo "$ac_cv_lib_c_setuid" >&6; }
19024 if test "x$ac_cv_lib_c_setuid" = xyes; then :
19026 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
19030 $as_echo "#undef HAVE_SETUID" >>confdefs.h
19035 if test "x$ac_cv_lib_c_setuid" = xyes; then
19037 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
19039 elif test "x$ac_cv_func_setuid" = xyes; then
19041 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
19045 $as_echo "#undef HAVE_SETUID" >>confdefs.h
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for stat" >&5
19052 $as_echo_n "checking m2 front end checking c library for stat... " >&6; }
19053 if test x$gcc_no_link != xyes; then
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat in -lc" >&5
19055 $as_echo_n "checking for stat in -lc... " >&6; }
19056 if ${ac_cv_lib_c_stat+:} false; then :
19057 $as_echo_n "(cached) " >&6
19059 ac_check_lib_save_LIBS=$LIBS
19061 if test x$gcc_no_link = xyes; then
19062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19067 /* Override any GCC internal prototype to avoid an error.
19068 Use char because int might match the return type of a GCC
19069 builtin and then its argument prototype would still apply. */
19082 if ac_fn_c_try_link "$LINENO"; then :
19083 ac_cv_lib_c_stat=yes
19085 ac_cv_lib_c_stat=no
19087 rm -f core conftest.err conftest.$ac_objext \
19088 conftest$ac_exeext conftest.$ac_ext
19089 LIBS=$ac_check_lib_save_LIBS
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_stat" >&5
19092 $as_echo "$ac_cv_lib_c_stat" >&6; }
19093 if test "x$ac_cv_lib_c_stat" = xyes; then :
19095 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19099 $as_echo "#undef HAVE_STAT" >>confdefs.h
19104 if test "x$ac_cv_lib_c_stat" = xyes; then
19106 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19108 elif test "x$ac_cv_func_stat" = xyes; then
19110 $as_echo "#define HAVE_STAT 1" >>confdefs.h
19114 $as_echo "#undef HAVE_STAT" >>confdefs.h
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strsignal" >&5
19121 $as_echo_n "checking m2 front end checking c library for strsignal... " >&6; }
19122 if test x$gcc_no_link != xyes; then
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strsignal in -lc" >&5
19124 $as_echo_n "checking for strsignal in -lc... " >&6; }
19125 if ${ac_cv_lib_c_strsignal+:} false; then :
19126 $as_echo_n "(cached) " >&6
19128 ac_check_lib_save_LIBS=$LIBS
19130 if test x$gcc_no_link = xyes; then
19131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19134 /* end confdefs.h. */
19136 /* Override any GCC internal prototype to avoid an error.
19137 Use char because int might match the return type of a GCC
19138 builtin and then its argument prototype would still apply. */
19146 return strsignal ();
19151 if ac_fn_c_try_link "$LINENO"; then :
19152 ac_cv_lib_c_strsignal=yes
19154 ac_cv_lib_c_strsignal=no
19156 rm -f core conftest.err conftest.$ac_objext \
19157 conftest$ac_exeext conftest.$ac_ext
19158 LIBS=$ac_check_lib_save_LIBS
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strsignal" >&5
19161 $as_echo "$ac_cv_lib_c_strsignal" >&6; }
19162 if test "x$ac_cv_lib_c_strsignal" = xyes; then :
19164 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19168 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
19173 if test "x$ac_cv_lib_c_strsignal" = xyes; then
19175 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19177 elif test "x$ac_cv_func_strsignal" = xyes; then
19179 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
19183 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtod" >&5
19190 $as_echo_n "checking m2 front end checking c library for strtod... " >&6; }
19191 if test x$gcc_no_link != xyes; then
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtod in -lc" >&5
19193 $as_echo_n "checking for strtod in -lc... " >&6; }
19194 if ${ac_cv_lib_c_strtod+:} false; then :
19195 $as_echo_n "(cached) " >&6
19197 ac_check_lib_save_LIBS=$LIBS
19199 if test x$gcc_no_link = xyes; then
19200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19205 /* Override any GCC internal prototype to avoid an error.
19206 Use char because int might match the return type of a GCC
19207 builtin and then its argument prototype would still apply. */
19220 if ac_fn_c_try_link "$LINENO"; then :
19221 ac_cv_lib_c_strtod=yes
19223 ac_cv_lib_c_strtod=no
19225 rm -f core conftest.err conftest.$ac_objext \
19226 conftest$ac_exeext conftest.$ac_ext
19227 LIBS=$ac_check_lib_save_LIBS
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtod" >&5
19230 $as_echo "$ac_cv_lib_c_strtod" >&6; }
19231 if test "x$ac_cv_lib_c_strtod" = xyes; then :
19233 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19237 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
19242 if test "x$ac_cv_lib_c_strtod" = xyes; then
19244 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19246 elif test "x$ac_cv_func_strtod" = xyes; then
19248 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
19252 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtold" >&5
19259 $as_echo_n "checking m2 front end checking c library for strtold... " >&6; }
19260 if test x$gcc_no_link != xyes; then
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold in -lc" >&5
19262 $as_echo_n "checking for strtold in -lc... " >&6; }
19263 if ${ac_cv_lib_c_strtold+:} false; then :
19264 $as_echo_n "(cached) " >&6
19266 ac_check_lib_save_LIBS=$LIBS
19268 if test x$gcc_no_link = xyes; then
19269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19274 /* Override any GCC internal prototype to avoid an error.
19275 Use char because int might match the return type of a GCC
19276 builtin and then its argument prototype would still apply. */
19289 if ac_fn_c_try_link "$LINENO"; then :
19290 ac_cv_lib_c_strtold=yes
19292 ac_cv_lib_c_strtold=no
19294 rm -f core conftest.err conftest.$ac_objext \
19295 conftest$ac_exeext conftest.$ac_ext
19296 LIBS=$ac_check_lib_save_LIBS
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtold" >&5
19299 $as_echo "$ac_cv_lib_c_strtold" >&6; }
19300 if test "x$ac_cv_lib_c_strtold" = xyes; then :
19302 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19306 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
19311 if test "x$ac_cv_lib_c_strtold" = xyes; then
19313 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19315 elif test "x$ac_cv_func_strtold" = xyes; then
19317 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19321 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for times" >&5
19328 $as_echo_n "checking m2 front end checking c library for times... " >&6; }
19329 if test x$gcc_no_link != xyes; then
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for times in -lc" >&5
19331 $as_echo_n "checking for times in -lc... " >&6; }
19332 if ${ac_cv_lib_c_times+:} false; then :
19333 $as_echo_n "(cached) " >&6
19335 ac_check_lib_save_LIBS=$LIBS
19337 if test x$gcc_no_link = xyes; then
19338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19343 /* Override any GCC internal prototype to avoid an error.
19344 Use char because int might match the return type of a GCC
19345 builtin and then its argument prototype would still apply. */
19358 if ac_fn_c_try_link "$LINENO"; then :
19359 ac_cv_lib_c_times=yes
19361 ac_cv_lib_c_times=no
19363 rm -f core conftest.err conftest.$ac_objext \
19364 conftest$ac_exeext conftest.$ac_ext
19365 LIBS=$ac_check_lib_save_LIBS
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_times" >&5
19368 $as_echo "$ac_cv_lib_c_times" >&6; }
19369 if test "x$ac_cv_lib_c_times" = xyes; then :
19371 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19375 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19380 if test "x$ac_cv_lib_c_times" = xyes; then
19382 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19384 elif test "x$ac_cv_func_times" = xyes; then
19386 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19390 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for timezone" >&5
19397 $as_echo_n "checking m2 front end checking c library for timezone... " >&6; }
19398 if test x$gcc_no_link != xyes; then
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone in -lc" >&5
19400 $as_echo_n "checking for timezone in -lc... " >&6; }
19401 if ${ac_cv_lib_c_timezone+:} false; then :
19402 $as_echo_n "(cached) " >&6
19404 ac_check_lib_save_LIBS=$LIBS
19406 if test x$gcc_no_link = xyes; then
19407 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19410 /* end confdefs.h. */
19412 /* Override any GCC internal prototype to avoid an error.
19413 Use char because int might match the return type of a GCC
19414 builtin and then its argument prototype would still apply. */
19422 return timezone ();
19427 if ac_fn_c_try_link "$LINENO"; then :
19428 ac_cv_lib_c_timezone=yes
19430 ac_cv_lib_c_timezone=no
19432 rm -f core conftest.err conftest.$ac_objext \
19433 conftest$ac_exeext conftest.$ac_ext
19434 LIBS=$ac_check_lib_save_LIBS
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_timezone" >&5
19437 $as_echo "$ac_cv_lib_c_timezone" >&6; }
19438 if test "x$ac_cv_lib_c_timezone" = xyes; then :
19440 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19444 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
19449 if test "x$ac_cv_lib_c_timezone" = xyes; then
19451 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19453 elif test "x$ac_cv_func_timezone" = xyes; then
19455 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
19459 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for tzname" >&5
19466 $as_echo_n "checking m2 front end checking c library for tzname... " >&6; }
19467 if test x$gcc_no_link != xyes; then
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname in -lc" >&5
19469 $as_echo_n "checking for tzname in -lc... " >&6; }
19470 if ${ac_cv_lib_c_tzname+:} false; then :
19471 $as_echo_n "(cached) " >&6
19473 ac_check_lib_save_LIBS=$LIBS
19475 if test x$gcc_no_link = xyes; then
19476 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19481 /* Override any GCC internal prototype to avoid an error.
19482 Use char because int might match the return type of a GCC
19483 builtin and then its argument prototype would still apply. */
19496 if ac_fn_c_try_link "$LINENO"; then :
19497 ac_cv_lib_c_tzname=yes
19499 ac_cv_lib_c_tzname=no
19501 rm -f core conftest.err conftest.$ac_objext \
19502 conftest$ac_exeext conftest.$ac_ext
19503 LIBS=$ac_check_lib_save_LIBS
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_tzname" >&5
19506 $as_echo "$ac_cv_lib_c_tzname" >&6; }
19507 if test "x$ac_cv_lib_c_tzname" = xyes; then :
19509 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19513 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
19518 if test "x$ac_cv_lib_c_tzname" = xyes; then
19520 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19522 elif test "x$ac_cv_func_tzname" = xyes; then
19524 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
19528 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for unlink" >&5
19535 $as_echo_n "checking m2 front end checking c library for unlink... " >&6; }
19536 if test x$gcc_no_link != xyes; then
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlink in -lc" >&5
19538 $as_echo_n "checking for unlink in -lc... " >&6; }
19539 if ${ac_cv_lib_c_unlink+:} false; then :
19540 $as_echo_n "(cached) " >&6
19542 ac_check_lib_save_LIBS=$LIBS
19544 if test x$gcc_no_link = xyes; then
19545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19550 /* Override any GCC internal prototype to avoid an error.
19551 Use char because int might match the return type of a GCC
19552 builtin and then its argument prototype would still apply. */
19565 if ac_fn_c_try_link "$LINENO"; then :
19566 ac_cv_lib_c_unlink=yes
19568 ac_cv_lib_c_unlink=no
19570 rm -f core conftest.err conftest.$ac_objext \
19571 conftest$ac_exeext conftest.$ac_ext
19572 LIBS=$ac_check_lib_save_LIBS
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_unlink" >&5
19575 $as_echo "$ac_cv_lib_c_unlink" >&6; }
19576 if test "x$ac_cv_lib_c_unlink" = xyes; then :
19578 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19582 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19587 if test "x$ac_cv_lib_c_unlink" = xyes; then
19589 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19591 elif test "x$ac_cv_func_unlink" = xyes; then
19593 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19597 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for wait" >&5
19604 $as_echo_n "checking m2 front end checking c library for wait... " >&6; }
19605 if test x$gcc_no_link != xyes; then
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait in -lc" >&5
19607 $as_echo_n "checking for wait in -lc... " >&6; }
19608 if ${ac_cv_lib_c_wait+:} false; then :
19609 $as_echo_n "(cached) " >&6
19611 ac_check_lib_save_LIBS=$LIBS
19613 if test x$gcc_no_link = xyes; then
19614 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19619 /* Override any GCC internal prototype to avoid an error.
19620 Use char because int might match the return type of a GCC
19621 builtin and then its argument prototype would still apply. */
19634 if ac_fn_c_try_link "$LINENO"; then :
19635 ac_cv_lib_c_wait=yes
19637 ac_cv_lib_c_wait=no
19639 rm -f core conftest.err conftest.$ac_objext \
19640 conftest$ac_exeext conftest.$ac_ext
19641 LIBS=$ac_check_lib_save_LIBS
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_wait" >&5
19644 $as_echo "$ac_cv_lib_c_wait" >&6; }
19645 if test "x$ac_cv_lib_c_wait" = xyes; then :
19647 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19651 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19656 if test "x$ac_cv_lib_c_wait" = xyes; then
19658 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19660 elif test "x$ac_cv_func_wait" = xyes; then
19662 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19666 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for write" >&5
19673 $as_echo_n "checking m2 front end checking c library for write... " >&6; }
19674 if test x$gcc_no_link != xyes; then
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for write in -lc" >&5
19676 $as_echo_n "checking for write in -lc... " >&6; }
19677 if ${ac_cv_lib_c_write+:} false; then :
19678 $as_echo_n "(cached) " >&6
19680 ac_check_lib_save_LIBS=$LIBS
19682 if test x$gcc_no_link = xyes; then
19683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19686 /* end confdefs.h. */
19688 /* Override any GCC internal prototype to avoid an error.
19689 Use char because int might match the return type of a GCC
19690 builtin and then its argument prototype would still apply. */
19703 if ac_fn_c_try_link "$LINENO"; then :
19704 ac_cv_lib_c_write=yes
19706 ac_cv_lib_c_write=no
19708 rm -f core conftest.err conftest.$ac_objext \
19709 conftest$ac_exeext conftest.$ac_ext
19710 LIBS=$ac_check_lib_save_LIBS
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_write" >&5
19713 $as_echo "$ac_cv_lib_c_write" >&6; }
19714 if test "x$ac_cv_lib_c_write" = xyes; then :
19716 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19720 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19725 if test "x$ac_cv_lib_c_write" = xyes; then
19727 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19729 elif test "x$ac_cv_func_write" = xyes; then
19731 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19735 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbit" >&5
19743 $as_echo_n "checking m2 front end checking m library for signbit... " >&6; }
19744 if test x$gcc_no_link != xyes; then
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
19746 $as_echo_n "checking for signbit in -lm... " >&6; }
19747 if ${ac_cv_lib_m_signbit+:} false; then :
19748 $as_echo_n "(cached) " >&6
19750 ac_check_lib_save_LIBS=$LIBS
19752 if test x$gcc_no_link = xyes; then
19753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19756 /* end confdefs.h. */
19758 /* Override any GCC internal prototype to avoid an error.
19759 Use char because int might match the return type of a GCC
19760 builtin and then its argument prototype would still apply. */
19773 if ac_fn_c_try_link "$LINENO"; then :
19774 ac_cv_lib_m_signbit=yes
19776 ac_cv_lib_m_signbit=no
19778 rm -f core conftest.err conftest.$ac_objext \
19779 conftest$ac_exeext conftest.$ac_ext
19780 LIBS=$ac_check_lib_save_LIBS
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
19783 $as_echo "$ac_cv_lib_m_signbit" >&6; }
19784 if test "x$ac_cv_lib_m_signbit" = xyes; then :
19786 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19790 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
19795 if test "x$ac_cv_lib_m_signbit" = xyes; then
19797 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19799 elif test "x$ac_cv_func_signbit" = xyes; then
19801 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19805 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitf" >&5
19812 $as_echo_n "checking m2 front end checking m library for signbitf... " >&6; }
19813 if test x$gcc_no_link != xyes; then
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
19815 $as_echo_n "checking for signbitf in -lm... " >&6; }
19816 if ${ac_cv_lib_m_signbitf+:} false; then :
19817 $as_echo_n "(cached) " >&6
19819 ac_check_lib_save_LIBS=$LIBS
19821 if test x$gcc_no_link = xyes; then
19822 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19827 /* Override any GCC internal prototype to avoid an error.
19828 Use char because int might match the return type of a GCC
19829 builtin and then its argument prototype would still apply. */
19837 return signbitf ();
19842 if ac_fn_c_try_link "$LINENO"; then :
19843 ac_cv_lib_m_signbitf=yes
19845 ac_cv_lib_m_signbitf=no
19847 rm -f core conftest.err conftest.$ac_objext \
19848 conftest$ac_exeext conftest.$ac_ext
19849 LIBS=$ac_check_lib_save_LIBS
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
19852 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
19853 if test "x$ac_cv_lib_m_signbitf" = xyes; then :
19855 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19859 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
19864 if test "x$ac_cv_lib_m_signbitf" = xyes; then
19866 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19868 elif test "x$ac_cv_func_signbitf" = xyes; then
19870 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19874 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitl" >&5
19881 $as_echo_n "checking m2 front end checking m library for signbitl... " >&6; }
19882 if test x$gcc_no_link != xyes; then
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
19884 $as_echo_n "checking for signbitl in -lm... " >&6; }
19885 if ${ac_cv_lib_m_signbitl+:} false; then :
19886 $as_echo_n "(cached) " >&6
19888 ac_check_lib_save_LIBS=$LIBS
19890 if test x$gcc_no_link = xyes; then
19891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19896 /* Override any GCC internal prototype to avoid an error.
19897 Use char because int might match the return type of a GCC
19898 builtin and then its argument prototype would still apply. */
19906 return signbitl ();
19911 if ac_fn_c_try_link "$LINENO"; then :
19912 ac_cv_lib_m_signbitl=yes
19914 ac_cv_lib_m_signbitl=no
19916 rm -f core conftest.err conftest.$ac_objext \
19917 conftest$ac_exeext conftest.$ac_ext
19918 LIBS=$ac_check_lib_save_LIBS
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
19921 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
19922 if test "x$ac_cv_lib_m_signbitl" = xyes; then :
19924 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19928 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
19933 if test "x$ac_cv_lib_m_signbitl" = xyes; then
19935 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19937 elif test "x$ac_cv_func_signbitl" = xyes; then
19939 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19943 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has finished checking target libc and libm contents." >&5
19950 $as_echo "$as_me: libgm2 has finished checking target libc and libm contents." >&6;}
19952 # We test the host here and later on check the target.
19954 # All known M2_HOST_OS values. This is the union of all host operating systems
19955 # supported by gm2.
19957 M2_SUPPORTED_HOST_OS="aix freebsd hurd linux netbsd openbsd solaris windows darwin"
19962 *-*-darwin*) M2_HOST_OS=darwin ;;
19963 *-*-freebsd*) M2_HOST_OS=freebsd ;;
19964 *-*-linux*) M2_HOST_OS=linux ;;
19965 *-*-netbsd*) M2_HOST_OS=netbsd ;;
19966 *-*-openbsd*) M2_HOST_OS=openbsd ;;
19967 *-*-solaris2*) M2_HOST_OS=solaris ;;
19968 *-*-aix*) M2_HOST_OS=aix ;;
19969 *-*-gnu*) M2_HOST_OS=hurd ;;
19972 M2_TARGET_OS=unknown
19975 *-*-darwin*) M2_TARGET_OS=darwin ;;
19976 *-*-freebsd*) M2_TARGET_OS=freebsd ;;
19977 *-*-linux*) M2_TARGET_OS=linux ;;
19978 *-*-netbsd*) M2_TARGET_OS=netbsd ;;
19979 *-*-openbsd*) M2_TARGET_OS=openbsd ;;
19980 *-*-solaris2*) M2_TARGET_OS=solaris ;;
19981 *-*-aix*) M2_TARGET_OS=aix ;;
19982 *-*-gnu*) M2_TARGET_OS=hurd ;;
19985 # M2_HOST_OS=unknown
19986 if test x${M2_HOST_OS} = xunknown; then
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported host, will build a minimal m2 library" >&5
19988 $as_echo "$as_me: unsupported host, will build a minimal m2 library" >&6;}
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library will be built on ${M2_HOST_OS}" >&5
19995 $as_echo "$as_me: m2 library will be built on ${M2_HOST_OS}" >&6;}
20002 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
20005 # Propagate GM2_FOR_TARGET into Makefiles
20006 GM2_FOR_TARGET=${GM2_FOR_TARGET:-gcc}
20009 # Now we check the target as long as it is a supported host.
20010 # For some embedded targets we choose minimal runtime system which is
20011 # just enough to satisfy the linker targetting raw metal.
20012 if test x${M2_HOST_OS} != xunknown; then
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library building for target ${target}" >&5
20014 $as_echo "$as_me: m2 library building for target ${target}" >&6;}
20017 avr25*-*-* | avr31*-*-* | avr35*-*-* | avr4*-*-* | avr5*-*-* | avr51*-*-* | avr6*-*-*)
20024 avrxmega2*-*-* | avrxmega4*-*-* | avrxmega5*-*-* | avrxmega6*-*-* | avrxmega7*-*-*)
20047 # GM2_MSG_RESULT issue a query message from the first parameter and a boolean result
20048 # in the second parameter is printed as a "yes" or "no".
20052 if test x${M2_HOST_OS} = xunknown; then
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 front end will only build minimal Modula-2 runtime library on this host" >&5
20054 $as_echo "$as_me: m2 front end will only build minimal Modula-2 runtime library on this host" >&6;}
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build PIM libraries:" >&5
20058 $as_echo_n "checking m2 front end will build PIM libraries:... " >&6; }
20059 if test x${BUILD_PIMLIB} = xtrue; then
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20061 $as_echo "yes" >&6; }
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20064 $as_echo "no" >&6; }
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build ISO libraries:" >&5
20069 $as_echo_n "checking m2 front end will build ISO libraries:... " >&6; }
20070 if test x${BUILD_ISOLIB} = xtrue; then
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20072 $as_echo "yes" >&6; }
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20075 $as_echo "no" >&6; }
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build coroutine libraries:" >&5
20080 $as_echo_n "checking m2 front end will build coroutine libraries:... " >&6; }
20081 if test x${BUILD_CORLIB} = xtrue; then
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20083 $as_echo "yes" >&6; }
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20086 $as_echo "no" >&6; }
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
20091 $as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
20092 if test x${BUILD_LOGLIB} = xtrue; then
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20094 $as_echo "yes" >&6; }
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20097 $as_echo "no" >&6; }
20102 if test x$BUILD_PIMLIB = xtrue; then
20104 BUILD_PIMLIB_FALSE='#'
20106 BUILD_PIMLIB_TRUE='#'
20107 BUILD_PIMLIB_FALSE=
20110 if test x$BUILD_ISOLIB = xtrue; then
20112 BUILD_ISOLIB_FALSE='#'
20114 BUILD_ISOLIB_TRUE='#'
20115 BUILD_ISOLIB_FALSE=
20118 if test x$BUILD_CORLIB = xtrue; then
20120 BUILD_CORLIB_FALSE='#'
20122 BUILD_CORLIB_TRUE='#'
20123 BUILD_CORLIB_FALSE=
20126 if test x$BUILD_LOGLIB = xtrue; then
20128 BUILD_LOGLIB_FALSE='#'
20130 BUILD_LOGLIB_TRUE='#'
20131 BUILD_LOGLIB_FALSE=
20134 if test x$M2_TARGET_OS = xdarwin; then
20135 TARGET_DARWIN_TRUE=
20136 TARGET_DARWIN_FALSE='#'
20138 TARGET_DARWIN_TRUE='#'
20139 TARGET_DARWIN_FALSE=
20143 # Determine what GCC version number to use in filesystem paths.
20145 get_gcc_base_ver="cat"
20147 # Check whether --with-gcc-major-version-only was given.
20148 if test "${with_gcc_major_version_only+set}" = set; then :
20149 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
20150 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
20159 ac_config_files="$ac_config_files Makefile"
20162 ac_config_files="$ac_config_files libm2min/Makefile libm2pim/Makefile libm2iso/Makefile libm2cor/Makefile libm2log/Makefile"
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has been configured." >&5
20166 $as_echo "$as_me: libgm2 has been configured." >&6;}
20168 cat >confcache <<\_ACEOF
20169 # This file is a shell script that caches the results of configure
20170 # tests run on this system so they can be shared between configure
20171 # scripts and configure runs, see configure's option --config-cache.
20172 # It is not useful on other systems. If it contains results you don't
20173 # want to keep, you may remove or edit it.
20175 # config.status only pays attention to the cache file if you give it
20176 # the --recheck option to rerun configure.
20178 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20180 # following values.
20184 # The following way of writing the cache mishandles newlines in values,
20185 # but we know of no workaround that is simple, portable, and efficient.
20186 # So, we kill variables containing newlines.
20187 # Ultrix sh set writes to stderr and can't be redirected directly,
20188 # and sets the high bit in the cache file unless we assign to the vars.
20190 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20191 eval ac_val
=\$
$ac_var
20195 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20196 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20199 _ | IFS | as_nl
) ;; #(
20200 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20201 *) { eval $ac_var=; unset $ac_var;} ;;
20207 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20208 *${as_nl}ac_space
=\
*)
20209 # `set' does not quote correctly, so add quotes: double-quote
20210 # substitution turns \\\\ into \\, and sed turns \\ into \.
20213 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20216 # `set' quotes correctly as required by POSIX, so do not add quotes.
20217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20226 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20228 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20230 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20231 if test -w "$cache_file"; then
20232 if test "x$cache_file" != "x/dev/null"; then
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20234 $as_echo "$as_me: updating cache $cache_file" >&6;}
20235 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
20236 cat confcache
>"$cache_file"
20238 case $cache_file in #(
20240 mv -f confcache
"$cache_file"$$
&&
20241 mv -f "$cache_file"$$
"$cache_file" ;; #(
20243 mv -f confcache
"$cache_file" ;;
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20249 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20254 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20255 # Let make expand exec_prefix.
20256 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20258 DEFS
=-DHAVE_CONFIG_H
20263 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20264 # 1. Remove the extension, and $U if already installed.
20265 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20266 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20267 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20268 # will be set to the directory where LIBOBJS objects are built.
20269 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20270 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20272 LIBOBJS
=$ac_libobjs
20274 LTLIBOBJS
=$ac_ltlibobjs
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20278 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20279 if test -n "$am_sleep_pid"; then
20280 # Hide warnings about reused PIDs.
20281 wait $am_sleep_pid 2>/dev
/null
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20284 $as_echo "done" >&6; }
20285 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20286 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20289 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20290 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20293 if test -n "$EXEEXT"; then
20295 am__EXEEXT_FALSE
='#'
20297 am__EXEEXT_TRUE
='#'
20301 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20302 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20305 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20306 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20309 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
20310 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
20311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20313 if test -z "${BUILD_PIMLIB_TRUE}" && test -z "${BUILD_PIMLIB_FALSE}"; then
20314 as_fn_error $?
"conditional \"BUILD_PIMLIB\" was never defined.
20315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20317 if test -z "${BUILD_ISOLIB_TRUE}" && test -z "${BUILD_ISOLIB_FALSE}"; then
20318 as_fn_error $?
"conditional \"BUILD_ISOLIB\" was never defined.
20319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20321 if test -z "${BUILD_CORLIB_TRUE}" && test -z "${BUILD_CORLIB_FALSE}"; then
20322 as_fn_error $?
"conditional \"BUILD_CORLIB\" was never defined.
20323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20325 if test -z "${BUILD_LOGLIB_TRUE}" && test -z "${BUILD_LOGLIB_FALSE}"; then
20326 as_fn_error $?
"conditional \"BUILD_LOGLIB\" was never defined.
20327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20329 if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
20330 as_fn_error $?
"conditional \"TARGET_DARWIN\" was never defined.
20331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20334 : "${CONFIG_STATUS=./config.status}"
20336 ac_clean_files_save
=$ac_clean_files
20337 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20339 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20341 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20343 # Generated by $as_me.
20344 # Run this file to recreate the current configuration.
20345 # Compiler output produced by configure, useful for debugging
20346 # configure, is in config.log if it exists.
20349 ac_cs_recheck=false
20352 SHELL=\${CONFIG_SHELL-$SHELL}
20355 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20356 ## -------------------- ##
20357 ## M4sh Initialization. ##
20358 ## -------------------- ##
20360 # Be more Bourne compatible
20361 DUALCASE
=1; export DUALCASE
# for MKS sh
20362 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20365 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20366 # is contrary to our usage. Disable this feature.
20367 alias -g '${1+"$@"}'='"$@"'
20368 setopt NO_GLOB_SUBST
20370 case `(set -o) 2>/dev/null` in #(
20382 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20383 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20384 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20386 # Prefer a ksh shell builtin over an external printf program on Solaris,
20387 # but without wasting forks for bash or zsh.
20388 if test -z "$BASH_VERSION$ZSH_VERSION" \
20389 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20390 as_echo='print
-r --'
20391 as_echo_n='print
-rn --'
20392 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20393 as_echo='printf %s
\n'
20394 as_echo_n='printf %s
'
20396 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20397 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20398 as_echo_n='/usr
/ucb
/echo -n'
20400 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20401 as_echo_n_body='eval
20405 expr "X$arg" : "X\\(.*\\)$as_nl";
20406 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20408 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20410 export as_echo_n_body
20411 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20413 export as_echo_body
20414 as_echo='sh
-c $as_echo_body as_echo
'
20417 # The user is always right.
20418 if test "${PATH_SEPARATOR+set}" != set; then
20420 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20421 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20428 # We need space, tab and new line, in precisely that order. Quoting is
20429 # there to prevent editors from complaining about space-tab.
20430 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20431 # splitting by setting IFS to empty value.)
20434 # Find who we are. Look in the path if we contain no directory separator.
20437 *[\\/]* ) as_myself=$0 ;;
20438 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20439 for as_dir in $PATH
20442 test -z "$as_dir" && as_dir=.
20443 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20449 # We did not find ourselves, most probably we were run as `sh COMMAND'
20450 # in which case we are not to be found in the path.
20451 if test "x$as_myself" = x
; then
20454 if test ! -f "$as_myself"; then
20455 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20459 # Unset variables that we do not need and which cause bugs (e.g. in
20460 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20461 # suppresses any "Segmentation fault" message there. '((' could
20462 # trigger a bug in pdksh 5.2.14.
20463 for as_var
in BASH_ENV ENV MAIL MAILPATH
20464 do eval test x\
${$as_var+set} = xset \
20465 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20478 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20481 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20482 # ----------------------------------------
20483 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20484 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20485 # script with STATUS, using 1 if that was 0.
20488 as_status
=$1; test $as_status -eq 0 && as_status
=1
20490 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20491 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20493 $as_echo "$as_me: error: $2" >&2
20494 as_fn_exit
$as_status
20498 # as_fn_set_status STATUS
20499 # -----------------------
20500 # Set $? to STATUS, without forking.
20501 as_fn_set_status
()
20504 } # as_fn_set_status
20506 # as_fn_exit STATUS
20507 # -----------------
20508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20512 as_fn_set_status
$1
20518 # Portably unset VAR.
20521 { eval $1=; unset $1;}
20523 as_unset
=as_fn_unset
20524 # as_fn_append VAR VALUE
20525 # ----------------------
20526 # Append the text in VALUE to the end of the definition contained in VAR. Take
20527 # advantage of any shell optimizations that allow amortized linear growth over
20528 # repeated appends, instead of the typical quadratic growth present in naive
20530 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20531 eval 'as_fn_append ()
20542 # as_fn_arith ARG...
20543 # ------------------
20544 # Perform arithmetic evaluation on the ARGs, and store the result in the
20545 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20546 # must be portable across $(()) and expr.
20547 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20548 eval 'as_fn_arith ()
20555 as_val
=`expr "$@" || test $? -eq 1`
20560 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20561 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20567 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20568 as_basename
=basename
20573 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20579 as_me
=`$as_basename -- "$0" ||
20580 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20581 X"$0" : 'X\(//\)$' \| \
20582 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20584 sed '/^.*\/\([^/][^/]*\)\/*$/{
20598 # Avoid depending upon Character Ranges.
20599 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20600 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20601 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20602 as_cr_digits
='0123456789'
20603 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20605 ECHO_C
= ECHO_N
= ECHO_T
=
20606 case `echo -n x` in #(((((
20608 case `echo 'xy\c'` in
20609 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20611 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20618 rm -f conf$$ conf$$.exe conf$$.
file
20619 if test -d conf$$.dir
; then
20620 rm -f conf$$.dir
/conf$$.
file
20623 mkdir conf$$.dir
2>/dev
/null
20625 if (echo >conf$$.
file) 2>/dev
/null
; then
20626 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20628 # ... but there are two gotchas:
20629 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20630 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20631 # In both cases, we have to default to `cp -pR'.
20632 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20634 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20642 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20643 rmdir conf$$.dir
2>/dev
/null
20648 # Create "$as_dir" as a directory, including parents if necessary.
20653 -*) as_dir
=.
/$as_dir;;
20655 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20659 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20660 *) as_qdir
=$as_dir;;
20662 as_dirs
="'$as_qdir' $as_dirs"
20663 as_dir
=`$as_dirname -- "$as_dir" ||
20664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20665 X"$as_dir" : 'X\(//\)[^/]' \| \
20666 X"$as_dir" : 'X\(//\)$' \| \
20667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20668 $as_echo X"$as_dir" |
20669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20673 /^X\(\/\/\)[^/].*/{
20686 test -d "$as_dir" && break
20688 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20689 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20693 if mkdir
-p .
2>/dev
/null
; then
20694 as_mkdir_p
='mkdir -p "$as_dir"'
20696 test -d .
/-p && rmdir .
/-p
20701 # as_fn_executable_p FILE
20702 # -----------------------
20703 # Test if FILE is an executable regular file.
20704 as_fn_executable_p
()
20706 test -f "$1" && test -x "$1"
20707 } # as_fn_executable_p
20708 as_test_x
='test -x'
20709 as_executable_p
=as_fn_executable_p
20711 # Sed expression to map a string onto a valid CPP name.
20712 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20714 # Sed expression to map a string onto a valid variable name.
20715 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20719 ## ----------------------------------- ##
20720 ## Main body of $CONFIG_STATUS script. ##
20721 ## ----------------------------------- ##
20723 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20726 # Save the log message, to keep $0 and so on meaningful, and to
20727 # report actual input values of CONFIG_FILES etc. instead of their
20728 # values after options handling.
20730 This file was extended by package-unused $as_me version-unused, which was
20731 generated by GNU Autoconf 2.69. Invocation command line was
20733 CONFIG_FILES = $CONFIG_FILES
20734 CONFIG_HEADERS = $CONFIG_HEADERS
20735 CONFIG_LINKS = $CONFIG_LINKS
20736 CONFIG_COMMANDS = $CONFIG_COMMANDS
20739 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20744 case $ac_config_files in *"
20745 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20748 case $ac_config_headers in *"
20749 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20754 # Files that config.status was made for.
20755 config_files="$ac_config_files"
20756 config_headers="$ac_config_headers"
20757 config_commands="$ac_config_commands"
20761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20763 \`$as_me' instantiates files and other configuration actions
20764 from templates according to the current configuration. Unless the files
20765 and actions are specified as TAGs, all are instantiated by default.
20767 Usage: $0 [OPTION]... [TAG]...
20769 -h, --help print this help, then exit
20770 -V, --version print version number and configuration settings, then exit
20771 --config print configuration, then exit
20772 -q, --quiet, --silent
20773 do not print progress messages
20774 -d, --debug don't remove temporary files
20775 --recheck update $as_me by reconfiguring in the same conditions
20776 --file=FILE[:TEMPLATE]
20777 instantiate the configuration file FILE
20778 --header=FILE[:TEMPLATE]
20779 instantiate the configuration header FILE
20781 Configuration files:
20784 Configuration headers:
20787 Configuration commands:
20790 Report bugs to the package provider."
20793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20794 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20796 package-unused config.status version-unused
20797 configured by $0, generated by GNU Autoconf 2.69,
20798 with options \\"\$ac_cs_config\\"
20800 Copyright (C) 2012 Free Software Foundation, Inc.
20801 This config.status script is free software; the Free Software Foundation
20802 gives unlimited permission to copy, distribute and modify it."
20809 test -n "\$AWK" || AWK=awk
20812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20813 # The default lists apply if the user does not specify any file.
20819 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20820 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20824 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20836 # Handling of the options.
20837 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20839 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20840 $as_echo "$ac_cs_version"; exit ;;
20841 --config |
--confi |
--conf |
--con |
--co |
--c )
20842 $as_echo "$ac_cs_config"; exit ;;
20843 --debug |
--debu |
--deb |
--de |
--d |
-d )
20845 --file |
--fil |
--fi |
--f )
20848 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20849 '') as_fn_error $?
"missing file argument" ;;
20851 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20852 ac_need_defaults
=false
;;
20853 --header |
--heade |
--head |
--hea )
20856 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20858 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20859 ac_need_defaults
=false
;;
20861 # Conflict between --help and --header
20862 as_fn_error $?
"ambiguous option: \`$1'
20863 Try \`$0 --help' for more information.";;
20864 --help |
--hel |
-h )
20865 $as_echo "$ac_cs_usage"; exit ;;
20866 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20867 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20870 # This is an error.
20871 -*) as_fn_error $?
"unrecognized option: \`$1'
20872 Try \`$0 --help' for more information." ;;
20874 *) as_fn_append ac_config_targets
" $1"
20875 ac_need_defaults
=false
;;
20881 ac_configure_extra_args
=
20883 if $ac_cs_silent; then
20885 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20890 if \$ac_cs_recheck; then
20891 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20893 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20894 CONFIG_SHELL='$SHELL'
20895 export CONFIG_SHELL
20900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20904 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20905 ## Running $as_me. ##
20911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20919 with_multisubdir="$with_multisubdir"
20920 with_multisrctop="$with_multisrctop"
20921 with_target_subdir="$with_target_subdir"
20922 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20923 multi_basedir="$multi_basedir"
20924 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20927 GFORTRAN="$GFORTRAN"
20929 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20932 # The HP-UX ksh and POSIX shell print the target directory to stdout
20933 # if CDPATH is set.
20934 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20936 sed_quote_subst='$sed_quote_subst'
20937 double_quote_subst='$double_quote_subst'
20938 delay_variable_subst='$delay_variable_subst'
20939 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20940 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20941 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20942 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20943 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20944 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20945 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20946 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20947 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20948 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20949 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20950 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20951 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20952 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20953 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20954 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20955 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20956 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20957 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20958 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20959 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20960 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20961 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20962 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20963 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20964 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20965 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20966 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20967 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20968 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20969 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20970 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20971 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20972 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20973 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20974 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20975 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20976 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20977 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20978 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20979 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20980 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20981 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20982 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20983 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20984 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20985 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20986 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20987 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"`'
20988 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20989 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20990 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20991 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20992 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20993 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20994 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20995 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20996 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20997 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20998 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20999 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21000 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21001 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21002 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21003 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21004 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21005 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21006 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21007 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21008 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21009 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21010 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21011 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21012 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21013 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21014 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21015 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21016 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21017 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21018 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21019 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
21020 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21021 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21022 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21023 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21024 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21025 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21026 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21027 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21028 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
21029 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21030 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21031 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21032 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21033 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21034 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21035 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21036 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21037 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21038 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21039 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21040 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21041 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21042 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21043 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21044 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21045 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21046 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21047 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21048 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21049 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21050 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21051 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21052 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21053 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21054 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21055 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21056 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21057 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21058 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21059 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21060 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21061 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21062 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21063 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21064 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21065 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21066 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21067 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21068 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21069 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21070 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21071 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21072 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21073 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21074 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21075 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21076 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21077 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21078 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21079 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21080 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21081 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21082 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21083 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21084 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21085 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21086 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21087 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21088 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21089 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21090 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21091 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
21092 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21093 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21094 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21095 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21096 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21097 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21098 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21099 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21100 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
21101 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21102 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21103 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21104 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21105 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21106 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21107 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21108 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21109 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21110 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21111 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21112 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21113 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21116 LTCFLAGS='$LTCFLAGS'
21117 compiler='$compiler_DEFAULT'
21119 # A function that is used when there is no print builtin or printf.
21120 func_fallback_echo ()
21122 eval 'cat <<_LTECHO_EOF
21127 # Quote evaled strings.
21141 deplibs_check_method \
21150 lt_cv_sys_global_symbol_pipe \
21151 lt_cv_sys_global_symbol_to_cdecl \
21152 lt_cv_sys_global_symbol_to_c_name_address \
21153 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21154 lt_prog_compiler_no_builtin_flag \
21155 lt_prog_compiler_wl \
21156 lt_prog_compiler_pic \
21157 lt_prog_compiler_static \
21158 lt_cv_prog_compiler_c_o \
21166 export_dynamic_flag_spec \
21167 whole_archive_flag_spec \
21168 compiler_needs_object \
21170 allow_undefined_flag \
21171 no_undefined_flag \
21172 hardcode_libdir_flag_spec \
21173 hardcode_libdir_flag_spec_ld \
21174 hardcode_libdir_separator \
21179 variables_saved_for_relink \
21181 library_names_spec \
21183 install_override_mode \
21187 compiler_lib_search_dirs \
21192 compiler_lib_search_path \
21196 lt_prog_compiler_no_builtin_flag_CXX \
21197 lt_prog_compiler_wl_CXX \
21198 lt_prog_compiler_pic_CXX \
21199 lt_prog_compiler_static_CXX \
21200 lt_cv_prog_compiler_c_o_CXX \
21201 export_dynamic_flag_spec_CXX \
21202 whole_archive_flag_spec_CXX \
21203 compiler_needs_object_CXX \
21205 allow_undefined_flag_CXX \
21206 no_undefined_flag_CXX \
21207 hardcode_libdir_flag_spec_CXX \
21208 hardcode_libdir_flag_spec_ld_CXX \
21209 hardcode_libdir_separator_CXX \
21210 fix_srcfile_path_CXX \
21211 exclude_expsyms_CXX \
21212 include_expsyms_CXX \
21213 file_list_spec_CXX \
21214 compiler_lib_search_dirs_CXX \
21215 predep_objects_CXX \
21216 postdep_objects_CXX \
21219 compiler_lib_search_path_CXX; do
21220 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21221 *[\\\\\\\`\\"\\\$]*)
21222 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21225 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21230 # Double-quote double-evaled strings.
21231 for var in reload_cmds \
21232 old_postinstall_cmds \
21233 old_postuninstall_cmds \
21235 extract_expsyms_cmds \
21236 old_archive_from_new_cmds \
21237 old_archive_from_expsyms_cmds \
21239 archive_expsym_cmds \
21241 module_expsym_cmds \
21242 export_symbols_cmds \
21245 postuninstall_cmds \
21247 sys_lib_search_path_spec \
21248 sys_lib_dlsearch_path_spec \
21250 old_archive_cmds_CXX \
21251 old_archive_from_new_cmds_CXX \
21252 old_archive_from_expsyms_cmds_CXX \
21254 archive_expsym_cmds_CXX \
21256 module_expsym_cmds_CXX \
21257 export_symbols_cmds_CXX \
21258 prelink_cmds_CXX; do
21259 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21260 *[\\\\\\\`\\"\\\$]*)
21261 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21264 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21269 ac_aux_dir='$ac_aux_dir'
21270 xsi_shell='$xsi_shell'
21271 lt_shell_append='$lt_shell_append'
21273 # See if we are running on zsh, and set the options which allow our
21274 # commands through without removal of \ escapes INIT.
21275 if test -n "\${ZSH_VERSION+set}" ; then
21276 setopt NO_GLOB_SUBST
21282 TIMESTAMP='$TIMESTAMP'
21293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21295 # Handling of arguments.
21296 for ac_config_target
in $ac_config_targets
21298 case $ac_config_target in
21299 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21300 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21301 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21302 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21303 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21304 "libm2min/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2min/Makefile" ;;
21305 "libm2pim/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2pim/Makefile" ;;
21306 "libm2iso/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2iso/Makefile" ;;
21307 "libm2cor/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2cor/Makefile" ;;
21308 "libm2log/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2log/Makefile" ;;
21310 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21315 # If the user did not use the arguments to specify the items to instantiate,
21316 # then the envvar interface is used. Set only those that are not.
21317 # We use the long form for the default assignment because of an extremely
21318 # bizarre bug on SunOS 4.1.3.
21319 if $ac_need_defaults; then
21320 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21321 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21325 # Have a temporary directory for convenience. Make it in the build tree
21326 # simply because there is no reason against having it here, and in addition,
21327 # creating and moving files from /tmp can sometimes cause problems.
21328 # Hook for its removal unless debugging.
21329 # Note that there is a small window in which the directory will not be cleaned:
21330 # after its creation but before its name has been assigned to `$tmp'.
21334 trap 'exit_status=$?
21335 : "${ac_tmp:=$tmp}"
21336 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21338 trap 'as_fn_exit 1' 1 2 13 15
21340 # Create a (secure) tmp directory for tmp files.
21343 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21347 tmp
=.
/conf$$
-$RANDOM
21348 (umask 077 && mkdir
"$tmp")
21349 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21352 # Set up the scripts for CONFIG_FILES section.
21353 # No need to generate them if there are no CONFIG_FILES.
21354 # This happens for instance with `./config.status config.h'.
21355 if test -n "$CONFIG_FILES"; then
21358 ac_cr
=`echo X | tr X '\015'`
21359 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21360 # But we know of no other shell where ac_cr would be empty at this
21361 # point, so we can use a bashism as a fallback.
21362 if test "x$ac_cr" = x
; then
21363 eval ac_cr
=\$
\'\\r
\'
21365 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21366 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21369 ac_cs_awk_cr
=$ac_cr
21372 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21377 echo "cat >conf$$subs.awk <<_ACEOF" &&
21378 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21380 } >conf$$subs.sh ||
21381 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21382 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21384 for ac_last_try in false false false false false :; do
21385 . ./conf$$subs.sh ||
21386 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21388 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21389 if test $ac_delim_n = $ac_delim_num; then
21391 elif $ac_last_try; then
21392 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21394 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21397 rm -f conf$$subs.sh
21399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21400 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21404 s/^/S["/; s
/!.
*/"]=/
21414 s/\(.\{148\}\)..*/\1/
21416 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21421 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21428 s/\(.\{148\}\)..*/\1/
21430 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21434 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21439 ' <conf$$subs.awk | sed '
21444 ' >>$CONFIG_STATUS || ac_write_fail=1
21445 rm -f conf$$subs.awk
21446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21448 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21449 for (key in S) S_is_set[key] = 1
21455 nfields = split(line, field, "@
")
21457 len = length(field[1])
21458 for (i = 2; i < nfields; i++) {
21460 keylen = length(key)
21461 if (S_is_set[key]) {
21463 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21464 len += length(value) + length(field[++i])
21475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21476 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21477 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21480 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21481 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21484 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21485 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21486 # trailing colons and then remove the whole line if VPATH becomes empty
21487 # (actually we leave an empty line to preserve line numbers).
21488 if test "x
$srcdir" = x.; then
21489 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21508 fi # test -n "$CONFIG_FILES"
21510 # Set up the scripts for CONFIG_HEADERS section.
21511 # No need to generate them if there are no CONFIG_HEADERS.
21512 # This happens for instance with `./config.status Makefile'.
21513 if test -n "$CONFIG_HEADERS"; then
21514 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21518 # Transform confdefs.h into an awk script `defines.awk', embedded as
21519 # here-document in config.status, that substitutes the proper values into
21520 # config.h.in to produce config.h.
21522 # Create a delimiter string that does not exist in confdefs.h, to ease
21523 # handling of long lines.
21525 for ac_last_try in false false :; do
21526 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21527 if test -z "$ac_tt"; then
21529 elif $ac_last_try; then
21530 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21532 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21536 # For the awk script, D is an array of macro values keyed by name,
21537 # likewise P contains macro parameters if any. Preserve backslash
21538 # newline sequences.
21540 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21542 s/.\{148\}/&'"$ac_delim"'/g
21545 s/^[ ]*#[ ]*define[ ][ ]*/ /
21552 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21554 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21559 D["\
1"]=" \
3\\\\\\n
"\\/p
21561 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21566 s/.\{148\}/&'"$ac_delim"'/g
21571 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21574 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21576 ' <confdefs.h | sed '
21577 s/'"$ac_delim"'/"\\\
21578 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21581 for (key in D) D_is_set[key] = 1
21584 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21586 split(line, arg, " ")
21587 if (arg[1] == "#") {
21591 defundef
= substr
(arg
[1], 2)
21594 split(mac1
, mac2
, "(") #)
21596 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21597 if (D_is_set
[macro
]) {
21598 # Preserve the white space surrounding the "#".
21599 print prefix
"define", macro P
[macro
] D
[macro
]
21602 # Replace #undef with comments. This is necessary, for example,
21603 # in the case of _POSIX_SOURCE, which is predefined and required
21604 # on some systems where configure will not decide to define it.
21605 if (defundef
== "undef") {
21606 print
"/*", prefix defundef
, macro
, "*/"
21614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21615 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21616 fi # test -n "$CONFIG_HEADERS"
21619 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21624 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21626 case $ac_mode$ac_tag in
21628 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21629 :[FH
]-) ac_tag
=-:-;;
21630 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21647 -) ac_f
="$ac_tmp/stdin";;
21648 *) # Look for the file first in the build tree, then in the source tree
21649 # (if the path is not absolute). The absolute path cannot be DOS-style,
21650 # because $ac_f cannot contain `:'.
21654 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21656 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21658 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21659 as_fn_append ac_file_inputs
" '$ac_f'"
21662 # Let's still pretend it is `configure' which instantiates (i.e., don't
21663 # use $as_me), people would be surprised to read:
21664 # /* config.h. Generated by config.status. */
21665 configure_input
='Generated from '`
21666 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21668 if test x
"$ac_file" != x-
; then
21669 configure_input
="$ac_file. $configure_input"
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21671 $as_echo "$as_me: creating $ac_file" >&6;}
21673 # Neutralize special characters interpreted by sed in replacement strings.
21674 case $configure_input in #(
21675 *\
&* |
*\|
* |
*\\* )
21676 ac_sed_conf_input
=`$as_echo "$configure_input" |
21677 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21678 *) ac_sed_conf_input
=$configure_input;;
21682 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21683 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21688 ac_dir
=`$as_dirname -- "$ac_file" ||
21689 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21690 X"$ac_file" : 'X\(//\)[^/]' \| \
21691 X"$ac_file" : 'X\(//\)$' \| \
21692 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21693 $as_echo X"$ac_file" |
21694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21698 /^X\(\/\/\)[^/].*/{
21711 as_dir
="$ac_dir"; as_fn_mkdir_p
21715 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21717 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21718 # A ".." for each directory in $ac_dir_suffix.
21719 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21720 case $ac_top_builddir_sub in
21721 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21722 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21725 ac_abs_top_builddir
=$ac_pwd
21726 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21727 # for backward compatibility:
21728 ac_top_builddir
=$ac_top_build_prefix
21731 .
) # We are building in place.
21733 ac_top_srcdir
=$ac_top_builddir_sub
21734 ac_abs_top_srcdir
=$ac_pwd ;;
21735 [\\/]* | ?
:[\\/]* ) # Absolute name.
21736 ac_srcdir
=$srcdir$ac_dir_suffix;
21737 ac_top_srcdir
=$srcdir
21738 ac_abs_top_srcdir
=$srcdir ;;
21739 *) # Relative name.
21740 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21741 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21742 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21744 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21754 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21755 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21757 ac_MKDIR_P
=$MKDIR_P
21759 [\\/$
]* | ?
:[\\/]* ) ;;
21760 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21765 # If the template does not know about datarootdir, expand it.
21766 # FIXME: This hack should be removed a few years after 2.60.
21767 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21778 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21779 *datarootdir
*) ac_datarootdir_seen
=yes;;
21780 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21782 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21785 ac_datarootdir_hack='
21786 s&@datadir@&$datadir&g
21787 s&@docdir@&$docdir&g
21788 s&@infodir@&$infodir&g
21789 s&@localedir@&$localedir&g
21790 s&@mandir@&$mandir&g
21791 s&\\\${datarootdir}&$datarootdir&g' ;;
21795 # Neutralize VPATH when `$srcdir' = `.'.
21796 # Shell code in configure.ac might set extrasub.
21797 # FIXME: do we really want to maintain this feature?
21798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21799 ac_sed_extra="$ac_vpsub
21802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21804 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21805 s|@configure_input@|
$ac_sed_conf_input|
;t t
21806 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21807 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21808 s
&@srcdir@
&$ac_srcdir&;t t
21809 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21810 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21811 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21812 s
&@builddir@
&$ac_builddir&;t t
21813 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21814 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21815 s
&@INSTALL@
&$ac_INSTALL&;t t
21816 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21817 $ac_datarootdir_hack
21819 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21820 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21822 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21823 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21824 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21825 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21827 which seems to be undefined. Please make sure it is defined" >&5
21828 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21829 which seems to be undefined. Please make sure it is defined" >&2;}
21831 rm -f "$ac_tmp/stdin"
21833 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21834 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21836 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21842 if test x"$ac_file" != x-; then
21844 $as_echo "/* $configure_input */" \
21845 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21846 } >"$ac_tmp/config.h" \
21847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21848 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21850 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21853 mv "$ac_tmp/config.h" "$ac_file" \
21854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21857 $as_echo "/* $configure_input */" \
21858 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21859 || as_fn_error $? "could not create -" "$LINENO" 5
21861 # Compute "$ac_file"'s index
in $config_headers.
21864 for _am_header
in $config_headers :; do
21865 case $_am_header in
21866 $_am_arg |
$_am_arg:* )
21869 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21872 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21873 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21874 X"$_am_arg" : 'X\(//\)[^/]' \| \
21875 X"$_am_arg" : 'X\(//\)$' \| \
21876 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21877 $as_echo X"$_am_arg" |
21878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21882 /^X\(\/\/\)[^/].*/{
21894 s/.*/./; q'`/stamp-h
$_am_stamp_count
21897 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21898 $as_echo "$as_me: executing $ac_file commands" >&6;}
21903 case $ac_file$ac_mode in
21905 # Only add multilib support code if we just rebuilt the top-level
21907 case " $CONFIG_FILES " in
21909 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21912 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21913 # Older Autoconf quotes --file arguments for eval, but not when files
21914 # are listed without --file. Let's play safe and only enable the eval
21915 # if we detect the quoting.
21916 case $CONFIG_FILES in
21917 *\'*) eval set x
"$CONFIG_FILES" ;;
21918 *) set x
$CONFIG_FILES ;;
21923 # Strip MF so we end up with the name of the file.
21924 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21925 # Check whether this is an Automake generated Makefile or not.
21926 # We used to match only the files named 'Makefile.in', but
21927 # some people rename them; so instead we look at the file content.
21928 # Grep'ing the first line is not enough: some people post-process
21929 # each Makefile.in and add a new line on top of each file to say so.
21930 # Grep'ing the whole file is not good either: AIX grep has a line
21931 # limit of 2048, but all sed's we know have understand at least 4000.
21932 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21933 dirpart
=`$as_dirname -- "$mf" ||
21934 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21935 X"$mf" : 'X\(//\)[^/]' \| \
21936 X"$mf" : 'X\(//\)$' \| \
21937 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21943 /^X\(\/\/\)[^/].*/{
21959 # Extract the definition of DEPDIR, am__include, and am__quote
21960 # from the Makefile without running 'make'.
21961 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21962 test -z "$DEPDIR" && continue
21963 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21964 test -z "$am__include" && continue
21965 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21966 # Find all dependency output files, they are included files with
21967 # $(DEPDIR) in their names. We invoke sed twice because it is the
21968 # simplest approach to changing $(DEPDIR) to its actual value in the
21970 for file in `sed -n "
21971 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21972 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21973 # Make sure the directory exists.
21974 test -f "$dirpart/$file" && continue
21975 fdir
=`$as_dirname -- "$file" ||
21976 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21977 X"$file" : 'X\(//\)[^/]' \| \
21978 X"$file" : 'X\(//\)$' \| \
21979 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21980 $as_echo X"$file" |
21981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21985 /^X\(\/\/\)[^/].*/{
21998 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21999 # echo "creating $dirpart/$file"
22000 echo '# dummy' > "$dirpart/$file"
22007 # See if we are running on zsh, and set the options which allow our
22008 # commands through without removal of \ escapes.
22009 if test -n "${ZSH_VERSION+set}" ; then
22010 setopt NO_GLOB_SUBST
22013 cfgfile
="${ofile}T"
22014 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22017 cat <<_LT_EOF >> "$cfgfile"
22020 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22021 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22022 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22023 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22025 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22026 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
22027 # Written by Gordon Matzigkeit, 1996
22029 # This file is part of GNU Libtool.
22031 # GNU Libtool is free software; you can redistribute it and/or
22032 # modify it under the terms of the GNU General Public License as
22033 # published by the Free Software Foundation; either version 2 of
22034 # the License, or (at your option) any later version.
22036 # As a special exception to the GNU General Public License,
22037 # if you distribute this file as part of a program or library that
22038 # is built using GNU Libtool, you may include this file under the
22039 # same distribution terms that you use for the rest of that program.
22041 # GNU Libtool is distributed in the hope that it will be useful,
22042 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22043 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22044 # GNU General Public License for more details.
22046 # You should have received a copy of the GNU General Public License
22047 # along with GNU Libtool; see the file COPYING. If not, a copy
22048 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22049 # obtained by writing to the Free Software Foundation, Inc.,
22050 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22053 # The names of the tagged configurations supported by this script.
22054 available_tags="CXX "
22056 # ### BEGIN LIBTOOL CONFIG
22058 # Which release of libtool.m4 was used?
22059 macro_version=$macro_version
22060 macro_revision=$macro_revision
22062 # Whether or not to build shared libraries.
22063 build_libtool_libs=$enable_shared
22065 # Whether or not to build static libraries.
22066 build_old_libs=$enable_static
22068 # What type of objects to build.
22071 # Whether or not to optimize for fast installation.
22072 fast_install=$enable_fast_install
22074 # Shell to use when invoking shell scripts.
22077 # An echo program that protects backslashes.
22081 host_alias=$host_alias
22085 # The build system.
22086 build_alias=$build_alias
22090 # A sed program that does not truncate output.
22093 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22094 Xsed="\$SED -e 1s/^X//"
22096 # A grep program that handles long lines.
22102 # A literal string matcher.
22105 # A BSD- or MS-compatible name lister.
22108 # Whether we need soft or hard links.
22111 # What is the maximum length of a command?
22112 max_cmd_len=$max_cmd_len
22114 # Object file suffix (normally "o").
22117 # Executable file suffix (normally "").
22120 # whether the shell understands "unset".
22123 # turn spaces into newlines.
22126 # turn newlines into spaces.
22129 # An object symbol dumper.
22130 OBJDUMP=$lt_OBJDUMP
22132 # Method to check whether dependent libraries are shared objects.
22133 deplibs_check_method=$lt_deplibs_check_method
22135 # Command to use when deplibs_check_method == "file_magic".
22136 file_magic_cmd=$lt_file_magic_cmd
22140 AR_FLAGS=$lt_AR_FLAGS
22142 # A symbol stripping program.
22145 # Commands used to install an old-style archive.
22147 old_postinstall_cmds=$lt_old_postinstall_cmds
22148 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22150 # Whether to use a lock for old archive extraction.
22151 lock_old_archive_extraction=$lock_old_archive_extraction
22156 # LTCC compiler flags.
22157 LTCFLAGS=$lt_CFLAGS
22159 # Take the output of nm and produce a listing of raw symbols and C names.
22160 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22162 # Transform the output of nm in a proper C declaration.
22163 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22165 # Transform the output of nm in a C name address pair.
22166 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22168 # Transform the output of nm in a C name address pair when lib prefix is needed.
22169 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22171 # The name of the directory that contains temporary libtool files.
22174 # Used to examine libraries when file_magic_cmd begins with "file".
22175 MAGIC_CMD=$MAGIC_CMD
22177 # Must we lock files when doing compilation?
22178 need_locks=$lt_need_locks
22180 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22181 DSYMUTIL=$lt_DSYMUTIL
22183 # Tool to change global to local symbols on Mac OS X.
22186 # Tool to manipulate fat objects and archives on Mac OS X.
22189 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22192 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22193 OTOOL64=$lt_OTOOL64
22195 # Old archive suffix (normally "a").
22198 # Shared library suffix (normally ".so").
22199 shrext_cmds=$lt_shrext_cmds
22201 # The commands to extract the exported symbol list from a shared archive.
22202 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22204 # Variables whose values should be saved in libtool wrapper scripts and
22205 # restored at link time.
22206 variables_saved_for_relink=$lt_variables_saved_for_relink
22208 # Do we need the "lib" prefix for modules?
22209 need_lib_prefix=$need_lib_prefix
22211 # Do we need a version for libraries?
22212 need_version=$need_version
22214 # Library versioning type.
22215 version_type=$version_type
22217 # Shared library runtime path variable.
22218 runpath_var=$runpath_var
22220 # Shared library path variable.
22221 shlibpath_var=$shlibpath_var
22223 # Is shlibpath searched before the hard-coded library search path?
22224 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22226 # Format of library name prefix.
22227 libname_spec=$lt_libname_spec
22229 # List of archive names. First name is the real one, the rest are links.
22230 # The last name is the one that the linker finds with -lNAME
22231 library_names_spec=$lt_library_names_spec
22233 # The coded name of the library, if different from the real name.
22234 soname_spec=$lt_soname_spec
22236 # Permission mode override for installation of shared libraries.
22237 install_override_mode=$lt_install_override_mode
22239 # Command to use after installation of a shared archive.
22240 postinstall_cmds=$lt_postinstall_cmds
22242 # Command to use after uninstallation of a shared archive.
22243 postuninstall_cmds=$lt_postuninstall_cmds
22245 # Commands used to finish a libtool library installation in a directory.
22246 finish_cmds=$lt_finish_cmds
22248 # As "finish_cmds", except a single script fragment to be evaled but
22250 finish_eval=$lt_finish_eval
22252 # Whether we should hardcode library paths into libraries.
22253 hardcode_into_libs=$hardcode_into_libs
22255 # Compile-time system search path for libraries.
22256 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22258 # Run-time system search path for libraries.
22259 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22261 # Whether dlopen is supported.
22262 dlopen_support=$enable_dlopen
22264 # Whether dlopen of programs is supported.
22265 dlopen_self=$enable_dlopen_self
22267 # Whether dlopen of statically linked programs is supported.
22268 dlopen_self_static=$enable_dlopen_self_static
22270 # Commands to strip libraries.
22271 old_striplib=$lt_old_striplib
22272 striplib=$lt_striplib
22275 # The linker used to build libraries.
22278 # How to create reloadable object files.
22279 reload_flag=$lt_reload_flag
22280 reload_cmds=$lt_reload_cmds
22282 # Commands used to build an old-style archive.
22283 old_archive_cmds=$lt_old_archive_cmds
22285 # A language specific compiler.
22288 # Is the compiler the GNU compiler?
22291 # Compiler flag to turn off builtin functions.
22292 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22294 # How to pass a linker flag through the compiler.
22295 wl=$lt_lt_prog_compiler_wl
22297 # Additional compiler flags for building library objects.
22298 pic_flag=$lt_lt_prog_compiler_pic
22300 # Compiler flag to prevent dynamic linking.
22301 link_static_flag=$lt_lt_prog_compiler_static
22303 # Does compiler simultaneously support -c and -o options?
22304 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22306 # Whether or not to add -lc for building shared libraries.
22307 build_libtool_need_lc=$archive_cmds_need_lc
22309 # Whether or not to disallow shared libs when runtime libs are static.
22310 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22312 # Compiler flag to allow reflexive dlopens.
22313 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22315 # Compiler flag to generate shared objects directly from archives.
22316 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22318 # Whether the compiler copes with passing no objects directly.
22319 compiler_needs_object=$lt_compiler_needs_object
22321 # Create an old-style archive from a shared archive.
22322 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22324 # Create a temporary old-style archive to link instead of a shared archive.
22325 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22327 # Commands used to build a shared archive.
22328 archive_cmds=$lt_archive_cmds
22329 archive_expsym_cmds=$lt_archive_expsym_cmds
22331 # Commands used to build a loadable module if different from building
22332 # a shared archive.
22333 module_cmds=$lt_module_cmds
22334 module_expsym_cmds=$lt_module_expsym_cmds
22336 # Whether we are building with GNU ld or not.
22337 with_gnu_ld=$lt_with_gnu_ld
22339 # Flag that allows shared libraries with undefined symbols to be built.
22340 allow_undefined_flag=$lt_allow_undefined_flag
22342 # Flag that enforces no undefined symbols.
22343 no_undefined_flag=$lt_no_undefined_flag
22345 # Flag to hardcode \$libdir into a binary during linking.
22346 # This must work even if \$libdir does not exist
22347 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22349 # If ld is used when linking, flag to hardcode \$libdir into a binary
22350 # during linking. This must work even if \$libdir does not exist.
22351 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22353 # Whether we need a single "-rpath" flag with a separated argument.
22354 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22356 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22357 # DIR into the resulting binary.
22358 hardcode_direct=$hardcode_direct
22360 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22361 # DIR into the resulting binary and the resulting library dependency is
22362 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22363 # library is relocated.
22364 hardcode_direct_absolute=$hardcode_direct_absolute
22366 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22367 # into the resulting binary.
22368 hardcode_minus_L=$hardcode_minus_L
22370 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22371 # into the resulting binary.
22372 hardcode_shlibpath_var=$hardcode_shlibpath_var
22374 # Set to "yes" if building a shared library automatically hardcodes DIR
22375 # into the library and all subsequent libraries and executables linked
22377 hardcode_automatic=$hardcode_automatic
22379 # Set to yes if linker adds runtime paths of dependent libraries
22380 # to runtime path list.
22381 inherit_rpath=$inherit_rpath
22383 # Whether libtool must link a program against all its dependency libraries.
22384 link_all_deplibs=$link_all_deplibs
22386 # Fix the shell variable \$srcfile for the compiler.
22387 fix_srcfile_path=$lt_fix_srcfile_path
22389 # Set to "yes" if exported symbols are required.
22390 always_export_symbols=$always_export_symbols
22392 # The commands to list exported symbols.
22393 export_symbols_cmds=$lt_export_symbols_cmds
22395 # Symbols that should not be listed in the preloaded symbols.
22396 exclude_expsyms=$lt_exclude_expsyms
22398 # Symbols that must always be exported.
22399 include_expsyms=$lt_include_expsyms
22401 # Commands necessary for linking programs (against libraries) with templates.
22402 prelink_cmds=$lt_prelink_cmds
22404 # Specify filename containing input files.
22405 file_list_spec=$lt_file_list_spec
22407 # How to hardcode a shared library path into an executable.
22408 hardcode_action=$hardcode_action
22410 # The directories searched by this compiler when creating a shared library.
22411 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22413 # Dependencies to place before and after the objects being linked to
22414 # create a shared library.
22415 predep_objects=$lt_predep_objects
22416 postdep_objects=$lt_postdep_objects
22417 predeps=$lt_predeps
22418 postdeps=$lt_postdeps
22420 # The library search path used internally by the compiler when linking
22421 # a shared library.
22422 compiler_lib_search_path=$lt_compiler_lib_search_path
22424 # ### END LIBTOOL CONFIG
22430 cat <<\_LT_EOF
>> "$cfgfile"
22431 # AIX sometimes has problems with the GCC collect2 program. For some
22432 # reason, if we set the COLLECT_NAMES environment variable, the problems
22433 # vanish in a puff of smoke.
22434 if test "X${COLLECT_NAMES+set}" != Xset
; then
22436 export COLLECT_NAMES
22443 ltmain
="$ac_aux_dir/ltmain.sh"
22446 # We use sed instead of cat because bash on DJGPP gets confused if
22447 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22448 # text mode, it properly converts lines to CR/LF. This bash problem
22449 # is reportedly fixed, but why not run on old versions too?
22450 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22451 ||
(rm -f "$cfgfile"; exit 1)
22455 cat << \_LT_EOF
>> "$cfgfile"
22457 # func_dirname file append nondir_replacement
22458 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22459 # otherwise set result to NONDIR_REPLACEMENT.
22463 */*) func_dirname_result
="${1%/*}${2}" ;;
22464 * ) func_dirname_result
="${3}" ;;
22468 # func_basename file
22471 func_basename_result
="${1##*/}"
22474 # func_dirname_and_basename file append nondir_replacement
22475 # perform func_basename and func_dirname in a single function
22477 # dirname: Compute the dirname of FILE. If nonempty,
22478 # add APPEND to the result, otherwise set result
22479 # to NONDIR_REPLACEMENT.
22480 # value returned in "$func_dirname_result"
22481 # basename: Compute filename of FILE.
22482 # value retuned in "$func_basename_result"
22483 # Implementation must be kept synchronized with func_dirname
22484 # and func_basename. For efficiency, we do not delegate to
22485 # those functions but instead duplicate the functionality here.
22486 func_dirname_and_basename
()
22489 */*) func_dirname_result
="${1%/*}${2}" ;;
22490 * ) func_dirname_result
="${3}" ;;
22492 func_basename_result
="${1##*/}"
22495 # func_stripname prefix suffix name
22496 # strip PREFIX and SUFFIX off of NAME.
22497 # PREFIX and SUFFIX must not contain globbing or regex special
22498 # characters, hashes, percent signs, but SUFFIX may contain a leading
22499 # dot (in which case that matches only a dot).
22502 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22503 # positional parameters, so assign one to ordinary parameter first.
22504 func_stripname_result
=${3}
22505 func_stripname_result
=${func_stripname_result#"${1}"}
22506 func_stripname_result
=${func_stripname_result%"${2}"}
22512 func_opt_split_opt
=${1%%=*}
22513 func_opt_split_arg
=${1#*=}
22520 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22521 *) func_lo2o_result
=${1} ;;
22525 # func_xform libobj-or-source
22528 func_xform_result
=${1%.*}.lo
22531 # func_arith arithmetic-term...
22534 func_arith_result
=$
(( $
* ))
22538 # STRING may not start with a hyphen.
22541 func_len_result
=${#1}
22546 *) # Bourne compatible functions.
22547 cat << \_LT_EOF
>> "$cfgfile"
22549 # func_dirname file append nondir_replacement
22550 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22551 # otherwise set result to NONDIR_REPLACEMENT.
22554 # Extract subdirectory from the argument.
22555 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
22556 if test "X$func_dirname_result" = "X${1}"; then
22557 func_dirname_result
="${3}"
22559 func_dirname_result
="$func_dirname_result${2}"
22563 # func_basename file
22566 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
22570 # func_stripname prefix suffix name
22571 # strip PREFIX and SUFFIX off of NAME.
22572 # PREFIX and SUFFIX must not contain globbing or regex special
22573 # characters, hashes, percent signs, but SUFFIX may contain a leading
22574 # dot (in which case that matches only a dot).
22575 # func_strip_suffix prefix name
22579 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
22580 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
22585 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22586 my_sed_long_arg
='1s/^-[^=]*=//'
22591 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
22592 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
22598 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
22601 # func_xform libobj-or-source
22604 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
22607 # func_arith arithmetic-term...
22610 func_arith_result
=`expr "$@"`
22614 # STRING may not start with a hyphen.
22617 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22623 case $lt_shell_append in
22625 cat << \_LT_EOF
>> "$cfgfile"
22627 # func_append var value
22628 # Append VALUE to the end of shell variable VAR.
22636 cat << \_LT_EOF
>> "$cfgfile"
22638 # func_append var value
22639 # Append VALUE to the end of shell variable VAR.
22650 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22651 ||
(rm -f "$cfgfile"; exit 1)
22653 mv -f "$cfgfile" "$ofile" ||
22654 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22658 cat <<_LT_EOF >> "$ofile"
22660 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22662 # The linker used to build libraries.
22665 # How to create reloadable object files.
22666 reload_flag=$lt_reload_flag_CXX
22667 reload_cmds=$lt_reload_cmds_CXX
22669 # Commands used to build an old-style archive.
22670 old_archive_cmds=$lt_old_archive_cmds_CXX
22672 # A language specific compiler.
22673 CC=$lt_compiler_CXX
22675 # Is the compiler the GNU compiler?
22678 # Compiler flag to turn off builtin functions.
22679 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22681 # How to pass a linker flag through the compiler.
22682 wl=$lt_lt_prog_compiler_wl_CXX
22684 # Additional compiler flags for building library objects.
22685 pic_flag=$lt_lt_prog_compiler_pic_CXX
22687 # Compiler flag to prevent dynamic linking.
22688 link_static_flag=$lt_lt_prog_compiler_static_CXX
22690 # Does compiler simultaneously support -c and -o options?
22691 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22693 # Whether or not to add -lc for building shared libraries.
22694 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22696 # Whether or not to disallow shared libs when runtime libs are static.
22697 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22699 # Compiler flag to allow reflexive dlopens.
22700 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22702 # Compiler flag to generate shared objects directly from archives.
22703 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22705 # Whether the compiler copes with passing no objects directly.
22706 compiler_needs_object=$lt_compiler_needs_object_CXX
22708 # Create an old-style archive from a shared archive.
22709 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22711 # Create a temporary old-style archive to link instead of a shared archive.
22712 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22714 # Commands used to build a shared archive.
22715 archive_cmds=$lt_archive_cmds_CXX
22716 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22718 # Commands used to build a loadable module if different from building
22719 # a shared archive.
22720 module_cmds=$lt_module_cmds_CXX
22721 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22723 # Whether we are building with GNU ld or not.
22724 with_gnu_ld=$lt_with_gnu_ld_CXX
22726 # Flag that allows shared libraries with undefined symbols to be built.
22727 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22729 # Flag that enforces no undefined symbols.
22730 no_undefined_flag=$lt_no_undefined_flag_CXX
22732 # Flag to hardcode \$libdir into a binary during linking.
22733 # This must work even if \$libdir does not exist
22734 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22736 # If ld is used when linking, flag to hardcode \$libdir into a binary
22737 # during linking. This must work even if \$libdir does not exist.
22738 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22740 # Whether we need a single "-rpath" flag with a separated argument.
22741 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22743 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22744 # DIR into the resulting binary.
22745 hardcode_direct=$hardcode_direct_CXX
22747 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22748 # DIR into the resulting binary and the resulting library dependency is
22749 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22750 # library is relocated.
22751 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22753 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22754 # into the resulting binary.
22755 hardcode_minus_L=$hardcode_minus_L_CXX
22757 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22758 # into the resulting binary.
22759 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22761 # Set to "yes" if building a shared library automatically hardcodes DIR
22762 # into the library and all subsequent libraries and executables linked
22764 hardcode_automatic=$hardcode_automatic_CXX
22766 # Set to yes if linker adds runtime paths of dependent libraries
22767 # to runtime path list.
22768 inherit_rpath=$inherit_rpath_CXX
22770 # Whether libtool must link a program against all its dependency libraries.
22771 link_all_deplibs=$link_all_deplibs_CXX
22773 # Fix the shell variable \$srcfile for the compiler.
22774 fix_srcfile_path=$lt_fix_srcfile_path_CXX
22776 # Set to "yes" if exported symbols are required.
22777 always_export_symbols=$always_export_symbols_CXX
22779 # The commands to list exported symbols.
22780 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22782 # Symbols that should not be listed in the preloaded symbols.
22783 exclude_expsyms=$lt_exclude_expsyms_CXX
22785 # Symbols that must always be exported.
22786 include_expsyms=$lt_include_expsyms_CXX
22788 # Commands necessary for linking programs (against libraries) with templates.
22789 prelink_cmds=$lt_prelink_cmds_CXX
22791 # Specify filename containing input files.
22792 file_list_spec=$lt_file_list_spec_CXX
22794 # How to hardcode a shared library path into an executable.
22795 hardcode_action=$hardcode_action_CXX
22797 # The directories searched by this compiler when creating a shared library.
22798 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22800 # Dependencies to place before and after the objects being linked to
22801 # create a shared library.
22802 predep_objects=$lt_predep_objects_CXX
22803 postdep_objects=$lt_postdep_objects_CXX
22804 predeps=$lt_predeps_CXX
22805 postdeps=$lt_postdeps_CXX
22807 # The library search path used internally by the compiler when linking
22808 # a shared library.
22809 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22811 # ### END LIBTOOL TAG CONFIG: CXX
22815 "libm2min/Makefile":F
) cat > vpsed$$
<< \_EOF
22816 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22818 sed -f vpsed$$
$ac_file > tmp$$
22821 echo 'MULTISUBDIR =' >> $ac_file
22823 .
${multi_basedir}/config-ml.
in
22824 { ml_norecursion
=; unset ml_norecursion
;}
22826 "libm2pim/Makefile":F
) cat > vpsed$$
<< \_EOF
22827 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22829 sed -f vpsed$$
$ac_file > tmp$$
22832 echo 'MULTISUBDIR =' >> $ac_file
22834 .
${multi_basedir}/config-ml.
in
22835 { ml_norecursion
=; unset ml_norecursion
;}
22837 "libm2iso/Makefile":F
) cat > vpsed$$
<< \_EOF
22838 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22840 sed -f vpsed$$
$ac_file > tmp$$
22843 echo 'MULTISUBDIR =' >> $ac_file
22845 .
${multi_basedir}/config-ml.
in
22846 { ml_norecursion
=; unset ml_norecursion
;}
22848 "libm2cor/Makefile":F
) cat > vpsed$$
<< \_EOF
22849 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22851 sed -f vpsed$$
$ac_file > tmp$$
22854 echo 'MULTISUBDIR =' >> $ac_file
22856 .
${multi_basedir}/config-ml.
in
22857 { ml_norecursion
=; unset ml_norecursion
;}
22859 "libm2log/Makefile":F
) cat > vpsed$$
<< \_EOF
22860 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22862 sed -f vpsed$$
$ac_file > tmp$$
22865 echo 'MULTISUBDIR =' >> $ac_file
22867 .
${multi_basedir}/config-ml.
in
22868 { ml_norecursion
=; unset ml_norecursion
;}
22877 ac_clean_files
=$ac_clean_files_save
22879 test $ac_write_fail = 0 ||
22880 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22883 # configure is writing to config.log, and then calls config.status.
22884 # config.status does its own redirection, appending to config.log.
22885 # Unfortunately, on DOS this fails, as config.log is still kept open
22886 # by configure, so config.status won't be able to write to it; its
22887 # output is simply discarded. So we exec the FD to /dev/null,
22888 # effectively closing config.log, so it can be properly (re)opened and
22889 # appended to by config.status. When coming back to configure, we
22890 # need to make the FD available again.
22891 if test "$no_create" != yes; then
22893 ac_config_status_args
=
22894 test "$silent" = yes &&
22895 ac_config_status_args
="$ac_config_status_args --quiet"
22897 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22899 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22900 # would make configure fail if this is the last instruction.
22901 $ac_cs_success || as_fn_exit
1
22903 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22905 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}