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 am__api_version
='1.15'
3981 # Find a good install program. We prefer a C program (faster),
3982 # so one script is as good as another. But avoid the broken or
3983 # incompatible versions:
3984 # SysV /etc/install, /usr/sbin/install
3985 # SunOS /usr/etc/install
3986 # IRIX /sbin/install
3988 # AmigaOS /C/install, which installs bootblocks on floppy discs
3989 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3990 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3991 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3992 # OS/2's system install, which has a completely different semantic
3993 # ./install, which can be erroneously created by make from ./install.sh.
3994 # Reject install programs that cannot install multiple files.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3996 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3997 if test -z "$INSTALL"; then
3998 if ${ac_cv_path_install+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir
=.
4006 # Account for people who put trailing slashes in PATH elements.
4007 case $as_dir/ in #((
4008 .
/ | .
// |
/[cC
]/* | \
4009 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4010 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4013 # OSF1 and SCO ODT 3.0 have their own names for install.
4014 # Don't use installbsd from OSF since it installs stuff as root
4016 for ac_prog
in ginstall scoinst
install; do
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4019 if test $ac_prog = install &&
4020 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4021 # AIX install. It has an incompatible calling convention.
4023 elif test $ac_prog = install &&
4024 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4025 # program-specific install script used by HP pwplus--don't use.
4028 rm -rf conftest.one conftest.two conftest.dir
4029 echo one
> conftest.one
4030 echo two
> conftest.two
4032 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4033 test -s conftest.one
&& test -s conftest.two
&&
4034 test -s conftest.dir
/conftest.one
&&
4035 test -s conftest.dir
/conftest.two
4037 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4050 rm -rf conftest.one conftest.two conftest.dir
4053 if test "${ac_cv_path_install+set}" = set; then
4054 INSTALL
=$ac_cv_path_install
4056 # As a last resort, use the slow shell script. Don't cache a
4057 # value for INSTALL within a source directory, because that will
4058 # break other packages using the cache if that directory is
4059 # removed, or if the value is a relative name.
4060 INSTALL
=$ac_install_sh
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4064 $as_echo "$INSTALL" >&6; }
4066 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4067 # It thinks the first close brace ends the variable substitution.
4068 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4070 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4072 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4075 $as_echo_n "checking whether build environment is sane... " >&6; }
4076 # Reject unsafe characters in $srcdir or the absolute working directory
4077 # name. Accept space and tab only in the latter.
4081 *[\\\"\
#\$\&\'\`$am_lf]*)
4082 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4085 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4086 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4089 # Do 'set' in a subshell so we don't clobber the current shell's
4090 # arguments. Must try -L first in case configure is actually a
4091 # symlink; some systems play weird games with the mod time of symlinks
4092 # (eg FreeBSD returns the mod time of the symlink's containing
4096 for am_try
in 1 2; do
4097 echo "timestamp, slept: $am_has_slept" > conftest.
file
4098 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4099 if test "$*" = "X"; then
4101 set X
`ls -t "$srcdir/configure" conftest.file`
4103 if test "$*" != "X $srcdir/configure conftest.file" \
4104 && test "$*" != "X conftest.file $srcdir/configure"; then
4106 # If neither matched, then we have a broken ls. This can happen
4107 # if, for instance, CONFIG_SHELL is bash and it inherits a
4108 # broken ls alias from the environment. This has actually
4109 # happened. Such a system could not be considered "sane".
4110 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4111 alias in your environment" "$LINENO" 5
4113 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4120 test "$2" = conftest.
file
4126 as_fn_error $?
"newly created file is older than distributed files!
4127 Check your system clock" "$LINENO" 5
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4130 $as_echo "yes" >&6; }
4131 # If we didn't sleep, we still need to ensure time stamps of config.status and
4132 # generated files are strictly newer.
4134 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4141 test "$program_prefix" != NONE
&&
4142 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4143 # Use a double $ so make ignores it.
4144 test "$program_suffix" != NONE
&&
4145 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4146 # Double any \ or $.
4147 # By default was `s,x,x', remove it if useless.
4148 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4149 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4151 if test x
"${MISSING+set}" != xset
; then
4154 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4156 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4159 # Use eval to expand $SHELL
4160 if eval "$MISSING --is-lightweight"; then
4161 am_missing_run
="$MISSING "
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4165 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4168 if test x
"${install_sh+set}" != xset
; then
4171 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4173 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4177 # Installed binaries are usually stripped using 'strip' when the user
4178 # run "make install-strip". However 'strip' might not be the right
4179 # tool to use in cross-compilation environments, therefore Automake
4180 # will honor the 'STRIP' environment variable to overrule this program.
4181 if test "$cross_compiling" != no
; then
4182 if test -n "$ac_tool_prefix"; then
4183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4184 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if ${ac_cv_prog_STRIP+:} false
; then :
4188 $as_echo_n "(cached) " >&6
4190 if test -n "$STRIP"; then
4191 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 STRIP
=$ac_cv_prog_STRIP
4211 if test -n "$STRIP"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4213 $as_echo "$STRIP" >&6; }
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4221 if test -z "$ac_cv_prog_STRIP"; then
4223 # Extract the first word of "strip", so it can be a program name with args.
4224 set dummy strip
; ac_word
=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$ac_ct_STRIP"; then
4231 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_ac_ct_STRIP
="strip"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4251 if test -n "$ac_ct_STRIP"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4253 $as_echo "$ac_ct_STRIP" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4259 if test "x$ac_ct_STRIP" = x
; then
4262 case $cross_compiling:$ac_tool_warned in
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4266 ac_tool_warned
=yes ;;
4271 STRIP
="$ac_cv_prog_STRIP"
4275 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4278 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4279 if test -z "$MKDIR_P"; then
4280 if ${ac_cv_path_mkdir+:} false
; then :
4281 $as_echo_n "(cached) " >&6
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4284 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_prog
in mkdir gmkdir
; do
4289 for ac_exec_ext
in '' $ac_executable_extensions; do
4290 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4291 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4292 'mkdir (GNU coreutils) '* | \
4293 'mkdir (coreutils) '* | \
4294 'mkdir (fileutils) '4.1*)
4295 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4305 test -d .
/--version && rmdir .
/--version
4306 if test "${ac_cv_path_mkdir+set}" = set; then
4307 MKDIR_P
="$ac_cv_path_mkdir -p"
4309 # As a last resort, use the slow shell script. Don't cache a
4310 # value for MKDIR_P within a source directory, because that will
4311 # break other packages using the cache if that directory is
4312 # removed, or if the value is a relative name.
4313 MKDIR_P
="$ac_install_sh -d"
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4317 $as_echo "$MKDIR_P" >&6; }
4319 for ac_prog
in gawk mawk nawk
awk
4321 # Extract the first word of "$ac_prog", so it can be a program name with args.
4322 set dummy
$ac_prog; ac_word
=$2
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4324 $as_echo_n "checking for $ac_word... " >&6; }
4325 if ${ac_cv_prog_AWK+:} false
; then :
4326 $as_echo_n "(cached) " >&6
4328 if test -n "$AWK"; then
4329 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4335 test -z "$as_dir" && as_dir
=.
4336 for ac_exec_ext
in '' $ac_executable_extensions; do
4337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_AWK
="$ac_prog"
4339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 if test -n "$AWK"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4351 $as_echo "$AWK" >&6; }
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4358 test -n "$AWK" && break
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4362 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4364 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4365 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 cat >conftest.
make <<\_ACEOF
4371 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4373 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4374 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4376 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4378 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4382 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4384 $as_echo "yes" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4389 SET_MAKE
="MAKE=${MAKE-make}"
4392 rm -rf .tst
2>/dev
/null
4393 mkdir .tst
2>/dev
/null
4394 if test -d .tst
; then
4399 rmdir .tst
2>/dev
/null
4401 DEPDIR
="${am__leading_dot}deps"
4403 ac_config_commands
="$ac_config_commands depfiles"
4406 am_make
=${MAKE-make}
4407 cat > confinc
<< 'END'
4409 @
echo this is the am__doit target
4412 # If we don't find an include directive, just comment out the code.
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4414 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4418 # First try GNU make style include.
4419 echo "include confinc" > confmf
4420 # Ignore all kinds of additional output from 'make'.
4421 case `$am_make -s -f confmf 2> /dev/null` in #(
4422 *the\ am__doit\ target
*)
4428 # Now try BSD make style include.
4429 if test "$am__include" = "#"; then
4430 echo '.include "confinc"' > confmf
4431 case `$am_make -s -f confmf 2> /dev/null` in #(
4432 *the\ am__doit\ target
*)
4433 am__include
=.include
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4442 $as_echo "$_am_result" >&6; }
4443 rm -f confinc confmf
4445 # Check whether --enable-dependency-tracking was given.
4446 if test "${enable_dependency_tracking+set}" = set; then :
4447 enableval
=$enable_dependency_tracking;
4450 if test "x$enable_dependency_tracking" != xno
; then
4451 am_depcomp
="$ac_aux_dir/depcomp"
4455 if test "x$enable_dependency_tracking" != xno; then
4464 # Check whether --enable-silent-rules was given.
4465 if test "${enable_silent_rules+set}" = set; then :
4466 enableval
=$enable_silent_rules;
4469 case $enable_silent_rules in # (((
4470 yes) AM_DEFAULT_VERBOSITY
=0;;
4471 no
) AM_DEFAULT_VERBOSITY
=1;;
4472 *) AM_DEFAULT_VERBOSITY
=1;;
4474 am_make
=${MAKE-make}
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4476 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4477 if ${am_cv_make_support_nested_variables+:} false
; then :
4478 $as_echo_n "(cached) " >&6
4480 if $as_echo 'TRUE=$(BAR$(V))
4486 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4487 am_cv_make_support_nested_variables
=yes
4489 am_cv_make_support_nested_variables
=no
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4493 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4494 if test $am_cv_make_support_nested_variables = yes; then
4496 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4498 AM_V
=$AM_DEFAULT_VERBOSITY
4499 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4503 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4504 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4505 # is not polluted with repeated "-I."
4506 am__isrc
=' -I$(srcdir)'
4507 # test to see if srcdir already configured
4508 if test -f $srcdir/config.status
; then
4509 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4513 # test whether we have cygpath
4514 if test -z "$CYGPATH_W"; then
4515 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4516 CYGPATH_W
='cygpath -w'
4523 # Define the identity of the package.
4525 VERSION
='version-unused'
4528 # Some tools Automake needs.
4530 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4533 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4536 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4539 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4542 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4544 # For better backward compatibility. To be removed once Automake 1.9.x
4545 # dies out for good. For more background, see:
4546 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4547 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4548 mkdir_p
='$(MKDIR_P)'
4550 # We need awk for the "check" target (and possibly the TAP driver). The
4551 # system "awk" is bad on some platforms.
4552 # Always define AMTAR for backward compatibility. Yes, it's still used
4553 # in the wild :-( We should find a proper way to deprecate it ...
4557 # We'll loop over all known methods to create a tar archive until one works.
4558 _am_tools
='gnutar pax cpio none'
4560 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4566 depcc
="$CC" am_compiler_list
=
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4569 $as_echo_n "checking dependency style of $depcc... " >&6; }
4570 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4571 $as_echo_n "(cached) " >&6
4573 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4574 # We make a subdir and do the tests there. Otherwise we can end up
4575 # making bogus files that we don't know about and never remove. For
4576 # instance it was reported that on HP-UX the gcc test will end up
4577 # making a dummy file named 'D' -- because '-MD' means "put the output
4581 # Copy depcomp to subdir because otherwise we won't find it if we're
4582 # using a relative directory.
4583 cp "$am_depcomp" conftest.dir
4585 # We will build objects and dependencies in a subdirectory because
4586 # it helps to detect inapplicable dependency modes. For instance
4587 # both Tru64's cc and ICC support -MD to output dependencies as a
4588 # side effect of compilation, but ICC will put the dependencies in
4589 # the current directory while Tru64 will put them in the object
4593 am_cv_CC_dependencies_compiler_type
=none
4594 if test "$am_compiler_list" = ""; then
4595 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4598 case " $depcc " in #(
4599 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4602 for depmode
in $am_compiler_list; do
4603 # Setup a source with many dependencies, because some compilers
4604 # like to wrap large dependency lists on column 80 (with \), and
4605 # we should not choose a depcomp mode which is confused by this.
4607 # We need to recreate these files for each test, as the compiler may
4608 # overwrite some of them when testing with obscure command lines.
4609 # This happens at least with the AIX C compiler.
4611 for i
in 1 2 3 4 5 6; do
4612 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4613 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4614 # Solaris 10 /bin/sh.
4615 echo '/* dummy */' > sub
/conftst
$i.h
4617 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4619 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4620 # mode. It turns out that the SunPro C++ compiler does not properly
4621 # handle '-M -o', and we need to detect this. Also, some Intel
4622 # versions had trouble with output in subdirs.
4623 am__obj
=sub
/conftest.
${OBJEXT-o}
4624 am__minus_obj
="-o $am__obj"
4627 # This depmode causes a compiler race in universal mode.
4628 test "$am__universal" = false ||
continue
4631 # After this tag, mechanisms are not by side-effect, so they'll
4632 # only be used when explicitly requested.
4633 if test "x$enable_dependency_tracking" = xyes
; then
4639 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4640 # This compiler won't grok '-c -o', but also, the minuso test has
4641 # not run yet. These depmodes are late enough in the game, and
4642 # so weak that their functioning should not be impacted.
4643 am__obj
=conftest.
${OBJEXT-o}
4648 if depmode
=$depmode \
4649 source=sub
/conftest.c object
=$am__obj \
4650 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4651 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4652 >/dev
/null
2>conftest.err
&&
4653 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4654 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4655 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4656 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4657 # icc doesn't choke on unknown options, it will just issue warnings
4658 # or remarks (even with -Werror). So we grep stderr for any message
4659 # that says an option was ignored or not supported.
4660 # When given -MP, icc 7.0 and 7.1 complain thusly:
4661 # icc: Command line warning: ignoring option '-M'; no argument required
4662 # The diagnosis changed in icc 8.0:
4663 # icc: Command line remark: option '-MP' not supported
4664 if (grep 'ignoring option' conftest.err ||
4665 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4666 am_cv_CC_dependencies_compiler_type
=$depmode
4675 am_cv_CC_dependencies_compiler_type
=none
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4680 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4681 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4684 test "x$enable_dependency_tracking" != xno \
4685 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4687 am__fastdepCC_FALSE
='#'
4689 am__fastdepCC_TRUE
='#'
4690 am__fastdepCC_FALSE
=
4695 # POSIX will say in a future version that running "rm -f" with no argument
4696 # is OK; and we want to be able to make that assumption in our Makefile
4697 # recipes. So use an aggressive probe to check that the usage we want is
4698 # actually supported "in the wild" to an acceptable degree.
4699 # See automake bug#10828.
4700 # To make any issue more visible, cause the running configure to be aborted
4701 # by default if the 'rm' program in use doesn't match our expectations; the
4702 # user can still override this though.
4703 if rm -f && rm -fr && rm -rf; then : OK
; else
4707 Your 'rm' program seems unable to run without file operands specified
4708 on the command line, even when the '-f' option is present. This is contrary
4709 to the behaviour of most rm programs out there, and not conforming with
4710 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4712 Please tell bug-automake@gnu.org about your system, including the value
4713 of your $PATH and any error possibly output before this message. This
4714 can help us improve future automake versions.
4717 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4718 echo 'Configuration will proceed anyway, since you have set the' >&2
4719 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4723 Aborting the configuration process, to ensure you take notice of the issue.
4725 You can download and install GNU coreutils to get an 'rm' implementation
4726 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4728 If you want to complete the configuration process using your problematic
4729 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4730 to "yes", and re-run configure.
4733 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4742 # Check whether --with-cross-host was given.
4743 if test "${with_cross_host+set}" = set; then :
4744 withval
=$with_cross_host;
4748 # Checks for header files.
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4750 $as_echo_n "checking for ANSI C header files... " >&6; }
4751 if ${ac_cv_header_stdc+:} false
; then :
4752 $as_echo_n "(cached) " >&6
4754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4769 if ac_fn_c_try_compile
"$LINENO"; then :
4770 ac_cv_header_stdc
=yes
4772 ac_cv_header_stdc
=no
4774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 if test $ac_cv_header_stdc = yes; then
4777 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4784 $EGREP "memchr" >/dev
/null
2>&1; then :
4787 ac_cv_header_stdc
=no
4793 if test $ac_cv_header_stdc = yes; then
4794 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4801 $EGREP "free" >/dev
/null
2>&1; then :
4804 ac_cv_header_stdc
=no
4810 if test $ac_cv_header_stdc = yes; then
4811 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4812 if test "$cross_compiling" = yes; then :
4815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4819 #if ((' ' & 0x0FF) == 0x020)
4820 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4821 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4823 # define ISLOWER(c) \
4824 (('a' <= (c) && (c) <= 'i') \
4825 || ('j' <= (c) && (c) <= 'r') \
4826 || ('s' <= (c) && (c) <= 'z'))
4827 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4830 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4835 for (i = 0; i < 256; i++)
4836 if (XOR (islower (i), ISLOWER (i))
4837 || toupper (i) != TOUPPER (i))
4842 if ac_fn_c_try_run
"$LINENO"; then :
4845 ac_cv_header_stdc
=no
4847 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4848 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4854 $as_echo "$ac_cv_header_stdc" >&6; }
4855 if test $ac_cv_header_stdc = yes; then
4857 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4862 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4863 if ${ac_cv_header_sys_wait_h+:} false
; then :
4864 $as_echo_n "(cached) " >&6
4866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4868 #include <sys/types.h>
4869 #include <sys/wait.h>
4871 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4874 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4882 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4887 if ac_fn_c_try_compile
"$LINENO"; then :
4888 ac_cv_header_sys_wait_h
=yes
4890 ac_cv_header_sys_wait_h
=no
4892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4895 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4896 if test $ac_cv_header_sys_wait_h = yes; then
4898 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4902 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
4903 if test "x$ac_cv_header_math_h" = xyes
; then :
4905 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
4911 for ac_header
in limits.h stddef.h string.h
strings.h stdlib.h \
4913 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
4914 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
4916 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
4917 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
4918 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
4919 netinet
/in.h netdb.h sys
/uio.h sys
/stat.h wchar.h
4921 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4922 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4923 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4924 cat >>confdefs.h
<<_ACEOF
4925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4935 case ${build_alias} in
4936 "") build_noncanonical
=${build} ;;
4937 *) build_noncanonical
=${build_alias} ;;
4940 case ${host_alias} in
4941 "") host_noncanonical
=${build_noncanonical} ;;
4942 *) host_noncanonical
=${host_alias} ;;
4947 case ${target_alias} in
4948 "") target_noncanonical
=${host_noncanonical} ;;
4949 *) target_noncanonical
=${target_alias} ;;
4955 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
4956 # have matching libraries, they should use host libraries: Makefile.tpl
4957 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
4958 # However, they still use the build modules, because the corresponding
4959 # host modules (e.g. bison) are only built for the host when bootstrap
4961 # - build_subdir is where we find build modules, and never changes.
4962 # - build_libsubdir is where we find build libraries, and can be overridden.
4964 # Prefix 'build-' so this never conflicts with target_subdir.
4965 build_subdir
="build-${build_noncanonical}"
4967 # Check whether --with-build-libsubdir was given.
4968 if test "${with_build_libsubdir+set}" = set; then :
4969 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
4971 build_libsubdir
="$build_subdir"
4974 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
4975 if ( test $srcdir = .
&& test -d gcc
) \
4976 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
4977 host_subdir
="host-${host_noncanonical}"
4982 target_subdir
=${target_noncanonical}
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4986 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4987 # Check whether --enable-version-specific-runtime-libs was given.
4988 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4989 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4990 yes) version_specific_libs
=yes ;;
4991 no
) version_specific_libs
=no
;;
4992 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
4995 version_specific_libs
=no
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
4999 $as_echo "$version_specific_libs" >&6; }
5002 # Check whether --with-slibdir was given.
5003 if test "${with_slibdir+set}" = set; then :
5004 withval
=$with_slibdir; slibdir
="$with_slibdir"
5006 if test "${version_specific_libs}" = yes; then
5007 slibdir
='$(libsubdir)'
5008 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
5009 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
5017 # Command-line options.
5018 # Very limited version of AC_MAINTAINER_MODE.
5019 # Check whether --enable-maintainer-mode was given.
5020 if test "${enable_maintainer_mode+set}" = set; then :
5021 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
5024 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
5026 maintainer_mode
=${enableval}
5035 # Calculate toolexeclibdir
5036 # Also toolexecdir, though it's only used in toolexeclibdir
5037 case ${version_specific_libs} in
5039 # Need the gcc compiler version to know where to install libraries
5040 # and header files if --enable-version-specific-runtime-libs option
5042 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
5043 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5046 if test -n "$with_cross_host" &&
5047 test x
"$with_cross_host" != x
"no"; then
5048 # Install a library built with a cross compiler in tooldir, not libdir.
5049 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
5050 toolexeclibdir
='$(toolexecdir)/lib'
5052 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
5053 toolexeclibdir
='$(libdir)'
5055 multi_os_directory
=`$CC -print-multi-os-directory`
5056 case $multi_os_directory in
5057 .
) ;; # Avoid trailing /.
5058 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5071 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5072 # Check whether --enable-maintainer-mode was given.
5073 if test "${enable_maintainer_mode+set}" = set; then :
5074 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5076 USE_MAINTAINER_MODE
=no
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5080 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5081 if test $USE_MAINTAINER_MODE = yes; then
5082 MAINTAINER_MODE_TRUE
=
5083 MAINTAINER_MODE_FALSE
='#'
5085 MAINTAINER_MODE_TRUE
='#'
5086 MAINTAINER_MODE_FALSE
=
5089 MAINT
=$MAINTAINER_MODE_TRUE
5093 # Check the compiler.
5094 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5095 # We must force CC to /not/ be precious variables; otherwise
5096 # the wrong, non-multilib-adjusted value will be used in multilibs.
5097 # As a side effect, we have to subst CFLAGS ourselves.
5102 ac_cpp
='$CPP $CPPFLAGS'
5103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5106 if test -n "$ac_tool_prefix"; then
5107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5108 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_CC+:} false
; then :
5112 $as_echo_n "(cached) " >&6
5114 if test -n "$CC"; then
5115 ac_cv_prog_CC
="$CC" # Let the user override the test.
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 if test -n "$CC"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5137 $as_echo "$CC" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5145 if test -z "$ac_cv_prog_CC"; then
5147 # Extract the first word of "gcc", so it can be a program name with args.
5148 set dummy gcc
; ac_word
=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5152 $as_echo_n "(cached) " >&6
5154 if test -n "$ac_ct_CC"; then
5155 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5161 test -z "$as_dir" && as_dir
=.
5162 for ac_exec_ext
in '' $ac_executable_extensions; do
5163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_ac_ct_CC
="gcc"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5175 if test -n "$ac_ct_CC"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5177 $as_echo "$ac_ct_CC" >&6; }
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5183 if test "x$ac_ct_CC" = x
; then
5186 case $cross_compiling:$ac_tool_warned in
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5190 ac_tool_warned
=yes ;;
5198 if test -z "$CC"; then
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5201 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_CC+:} false
; then :
5205 $as_echo_n "(cached) " >&6
5207 if test -n "$CC"; then
5208 ac_cv_prog_CC
="$CC" # Let the user override the test.
5210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir
=.
5215 for ac_exec_ext
in '' $ac_executable_extensions; do
5216 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 if test -n "$CC"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5230 $as_echo "$CC" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5239 if test -z "$CC"; then
5240 # Extract the first word of "cc", so it can be a program name with args.
5241 set dummy cc
; ac_word
=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_prog_CC+:} false
; then :
5245 $as_echo_n "(cached) " >&6
5247 if test -n "$CC"; then
5248 ac_cv_prog_CC
="$CC" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5259 ac_prog_rejected
=yes
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 if test $ac_prog_rejected = yes; then
5271 # We found a bogon in the path, so make sure we never use it.
5272 set dummy
$ac_cv_prog_CC
5274 if test $# != 0; then
5275 # We chose a different compiler from the bogus one.
5276 # However, it has the same basename, so the bogon will be chosen
5277 # first if we set CC to just the basename; use the full file name.
5279 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5285 if test -n "$CC"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5287 $as_echo "$CC" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5295 if test -z "$CC"; then
5296 if test -n "$ac_tool_prefix"; then
5297 for ac_prog
in cl.exe
5299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5300 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_CC+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$CC"; then
5307 ac_cv_prog_CC
="$CC" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 if test -n "$CC"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5329 $as_echo "$CC" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5336 test -n "$CC" && break
5339 if test -z "$CC"; then
5341 for ac_prog
in cl.exe
5343 # Extract the first word of "$ac_prog", so it can be a program name with args.
5344 set dummy
$ac_prog; ac_word
=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5348 $as_echo_n "(cached) " >&6
5350 if test -n "$ac_ct_CC"; then
5351 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir
=.
5358 for ac_exec_ext
in '' $ac_executable_extensions; do
5359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_ac_ct_CC
="$ac_prog"
5361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5371 if test -n "$ac_ct_CC"; then
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5373 $as_echo "$ac_ct_CC" >&6; }
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 $as_echo "no" >&6; }
5380 test -n "$ac_ct_CC" && break
5383 if test "x$ac_ct_CC" = x
; then
5386 case $cross_compiling:$ac_tool_warned in
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5390 ac_tool_warned
=yes ;;
5399 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5401 as_fn_error $?
"no acceptable C compiler found in \$PATH
5402 See \`config.log' for more details" "$LINENO" 5; }
5404 # Provide some information about the compiler.
5405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5408 for ac_option
in --version -v -V -qversion; do
5409 { { ac_try
="$ac_compiler $ac_option >&5"
5411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5412 *) ac_try_echo=$ac_try;;
5414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5415 $as_echo "$ac_try_echo"; } >&5
5416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5418 if test -s conftest.err; then
5420 ... rest of stderr output deleted ...
5421 10q' conftest.err >conftest.er1
5422 cat conftest.er1 >&5
5424 rm -f conftest.er1 conftest.err
5425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5426 test $ac_status = 0; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5430 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5431 if ${ac_cv_c_compiler_gnu+:} false; then :
5432 $as_echo_n "(cached) " >&6
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5448 if ac_fn_c_try_compile "$LINENO"; then :
5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5454 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5458 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5459 if test $ac_compiler_gnu = yes; then
5464 ac_test_CFLAGS=${CFLAGS+set}
5465 ac_save_CFLAGS=$CFLAGS
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5467 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5468 if ${ac_cv_prog_cc_g+:} false; then :
5469 $as_echo_n "(cached) " >&6
5471 ac_save_c_werror_flag=$ac_c_werror_flag
5472 ac_c_werror_flag=yes
5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5476 /* end confdefs.h. */
5486 if ac_fn_c_try_compile "$LINENO"; then :
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5501 if ac_fn_c_try_compile "$LINENO"; then :
5504 ac_c_werror_flag=$ac_save_c_werror_flag
5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5517 if ac_fn_c_try_compile "$LINENO"; then :
5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5525 ac_c_werror_flag=$ac_save_c_werror_flag
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5528 $as_echo "$ac_cv_prog_cc_g" >&6; }
5529 if test "$ac_test_CFLAGS" = set; then
5530 CFLAGS=$ac_save_CFLAGS
5531 elif test $ac_cv_prog_cc_g = yes; then
5532 if test "$GCC" = yes; then
5538 if test "$GCC" = yes; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5545 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5546 if ${ac_cv_prog_cc_c89+:} false; then :
5547 $as_echo_n "(cached) " >&6
5549 ac_cv_prog_cc_c89=no
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5556 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5557 struct buf { int x; };
5558 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5559 static char *e (p, i)
5565 static char *f (char * (*g) (char **, int), char **p, ...)
5570 s = g (p, va_arg (v,int));
5575 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5576 function prototypes and stuff, but not '\xHH' hex character constants.
5577 These don't provoke an error unfortunately, instead are silently treated
5578 as 'x'. The following induces an error, until -std is added to get
5579 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5580 array size at least. It's necessary to write '\x00'==0 to get something
5581 that's true only with -std. */
5582 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5584 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5585 inside strings and character constants. */
5587 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5589 int test (int i, double x);
5590 struct s1 {int (*f) (int a);};
5591 struct s2 {int (*f) (double a);};
5592 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5598 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5604 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5606 CC="$ac_save_CC $ac_arg"
5607 if ac_fn_c_try_compile "$LINENO"; then :
5608 ac_cv_prog_cc_c89=$ac_arg
5610 rm -f core conftest.err conftest.$ac_objext
5611 test "x$ac_cv_prog_cc_c89" != "xno" && break
5613 rm -f conftest.$ac_ext
5618 case "x$ac_cv_prog_cc_c89" in
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5621 $as_echo "none needed" >&6; } ;;
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5624 $as_echo "unsupported" >&6; } ;;
5626 CC="$CC $ac_cv_prog_cc_c89"
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5628 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5630 if test "x$ac_cv_prog_cc_c89" != xno; then :
5635 ac_cpp='$CPP $CPPFLAGS'
5636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641 ac_cpp='$CPP $CPPFLAGS'
5642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5646 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5647 if ${am_cv_prog_cc_c_o+:} false; then :
5648 $as_echo_n "(cached) " >&6
5650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5661 # Make sure it works both with $CC and with simple cc.
5662 # Following AC_PROG_CC_C_O, we do the test twice because some
5663 # compilers refuse to overwrite an existing .o file with -o,
5664 # though they will create one.
5665 am_cv_prog_cc_c_o=yes
5667 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5668 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); } \
5672 && test -f conftest2.$ac_objext; then
5675 am_cv_prog_cc_c_o=no
5679 rm -f core conftest*
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5683 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5684 if test "$am_cv_prog_cc_c_o" != yes; then
5685 # Losing compiler, so override with the script.
5686 # FIXME: It is wrong to rewrite CC.
5687 # But if we don't then we get into trouble of one sort or another.
5688 # A longer-term fix would be to have automake use am__CC in this case,
5689 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5690 CC="$am_aux_dir/compile $CC"
5693 ac_cpp='$CPP $CPPFLAGS'
5694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5700 ac_cpp='$CXXCPP $CPPFLAGS'
5701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5704 if test -z "$CXX"; then
5705 if test -n "$CCC"; then
5708 if test -n "$ac_tool_prefix"; then
5709 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5711 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5712 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_CXX+:} false; then :
5716 $as_echo_n "(cached) " >&6
5718 if test -n "$CXX"; then
5719 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 if test -n "$CXX"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5741 $as_echo "$CXX" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5748 test -n "$CXX" && break
5751 if test -z "$CXX"; then
5753 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5755 # Extract the first word of "$ac_prog", so it can be a program name with args.
5756 set dummy $ac_prog; ac_word=$2
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5760 $as_echo_n "(cached) " >&6
5762 if test -n "$ac_ct_CXX"; then
5763 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir=.
5770 for ac_exec_ext in '' $ac_executable_extensions; do
5771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772 ac_cv_prog_ac_ct_CXX="$ac_prog"
5773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5783 if test -n "$ac_ct_CXX"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5785 $as_echo "$ac_ct_CXX" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5792 test -n "$ac_ct_CXX" && break
5795 if test "x$ac_ct_CXX" = x; then
5798 case $cross_compiling:$ac_tool_warned in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned=yes ;;
5810 # Provide some information about the compiler.
5811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5814 for ac_option in --version -v -V -qversion; do
5815 { { ac_try="$ac_compiler $ac_option >&5"
5817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5818 *) ac_try_echo
=$ac_try;;
5820 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5821 $as_echo "$ac_try_echo"; } >&5
5822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5824 if test -s conftest.err
; then
5826 ... rest of stderr output deleted ...
5827 10q' conftest.err
>conftest.er1
5828 cat conftest.er1
>&5
5830 rm -f conftest.er1 conftest.err
5831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5832 test $ac_status = 0; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5836 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5837 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5838 $as_echo_n "(cached) " >&6
5840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5854 if ac_fn_cxx_try_compile
"$LINENO"; then :
5859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5860 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5864 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5865 if test $ac_compiler_gnu = yes; then
5870 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5871 ac_save_CXXFLAGS
=$CXXFLAGS
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5873 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5874 if ${ac_cv_prog_cxx_g+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5877 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5878 ac_cxx_werror_flag
=yes
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5892 if ac_fn_cxx_try_compile
"$LINENO"; then :
5893 ac_cv_prog_cxx_g
=yes
5896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5907 if ac_fn_cxx_try_compile
"$LINENO"; then :
5910 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5923 if ac_fn_cxx_try_compile
"$LINENO"; then :
5924 ac_cv_prog_cxx_g
=yes
5926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5931 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5934 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5935 if test "$ac_test_CXXFLAGS" = set; then
5936 CXXFLAGS
=$ac_save_CXXFLAGS
5937 elif test $ac_cv_prog_cxx_g = yes; then
5938 if test "$GXX" = yes; then
5944 if test "$GXX" = yes; then
5951 ac_cpp
='$CPP $CPPFLAGS'
5952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5956 depcc
="$CXX" am_compiler_list
=
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5959 $as_echo_n "checking dependency style of $depcc... " >&6; }
5960 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5961 $as_echo_n "(cached) " >&6
5963 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5964 # We make a subdir and do the tests there. Otherwise we can end up
5965 # making bogus files that we don't know about and never remove. For
5966 # instance it was reported that on HP-UX the gcc test will end up
5967 # making a dummy file named 'D' -- because '-MD' means "put the output
5971 # Copy depcomp to subdir because otherwise we won't find it if we're
5972 # using a relative directory.
5973 cp "$am_depcomp" conftest.dir
5975 # We will build objects and dependencies in a subdirectory because
5976 # it helps to detect inapplicable dependency modes. For instance
5977 # both Tru64's cc and ICC support -MD to output dependencies as a
5978 # side effect of compilation, but ICC will put the dependencies in
5979 # the current directory while Tru64 will put them in the object
5983 am_cv_CXX_dependencies_compiler_type
=none
5984 if test "$am_compiler_list" = ""; then
5985 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5988 case " $depcc " in #(
5989 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5992 for depmode
in $am_compiler_list; do
5993 # Setup a source with many dependencies, because some compilers
5994 # like to wrap large dependency lists on column 80 (with \), and
5995 # we should not choose a depcomp mode which is confused by this.
5997 # We need to recreate these files for each test, as the compiler may
5998 # overwrite some of them when testing with obscure command lines.
5999 # This happens at least with the AIX C compiler.
6001 for i
in 1 2 3 4 5 6; do
6002 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6003 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6004 # Solaris 10 /bin/sh.
6005 echo '/* dummy */' > sub
/conftst
$i.h
6007 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6009 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6010 # mode. It turns out that the SunPro C++ compiler does not properly
6011 # handle '-M -o', and we need to detect this. Also, some Intel
6012 # versions had trouble with output in subdirs.
6013 am__obj
=sub
/conftest.
${OBJEXT-o}
6014 am__minus_obj
="-o $am__obj"
6017 # This depmode causes a compiler race in universal mode.
6018 test "$am__universal" = false ||
continue
6021 # After this tag, mechanisms are not by side-effect, so they'll
6022 # only be used when explicitly requested.
6023 if test "x$enable_dependency_tracking" = xyes
; then
6029 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6030 # This compiler won't grok '-c -o', but also, the minuso test has
6031 # not run yet. These depmodes are late enough in the game, and
6032 # so weak that their functioning should not be impacted.
6033 am__obj
=conftest.
${OBJEXT-o}
6038 if depmode
=$depmode \
6039 source=sub
/conftest.c object
=$am__obj \
6040 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6041 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6042 >/dev
/null
2>conftest.err
&&
6043 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6044 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6045 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6046 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6047 # icc doesn't choke on unknown options, it will just issue warnings
6048 # or remarks (even with -Werror). So we grep stderr for any message
6049 # that says an option was ignored or not supported.
6050 # When given -MP, icc 7.0 and 7.1 complain thusly:
6051 # icc: Command line warning: ignoring option '-M'; no argument required
6052 # The diagnosis changed in icc 8.0:
6053 # icc: Command line remark: option '-MP' not supported
6054 if (grep 'ignoring option' conftest.err ||
6055 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6056 am_cv_CXX_dependencies_compiler_type
=$depmode
6065 am_cv_CXX_dependencies_compiler_type
=none
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6070 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6071 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6074 test "x$enable_dependency_tracking" != xno \
6075 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6076 am__fastdepCXX_TRUE
=
6077 am__fastdepCXX_FALSE
='#'
6079 am__fastdepCXX_TRUE
='#'
6080 am__fastdepCXX_FALSE
=
6084 # By default we simply use the C compiler to build assembly code.
6086 test "${CCAS+set}" = set || CCAS
=$CC
6087 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6091 depcc
="$CCAS" am_compiler_list
=
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6094 $as_echo_n "checking dependency style of $depcc... " >&6; }
6095 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6096 $as_echo_n "(cached) " >&6
6098 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6099 # We make a subdir and do the tests there. Otherwise we can end up
6100 # making bogus files that we don't know about and never remove. For
6101 # instance it was reported that on HP-UX the gcc test will end up
6102 # making a dummy file named 'D' -- because '-MD' means "put the output
6106 # Copy depcomp to subdir because otherwise we won't find it if we're
6107 # using a relative directory.
6108 cp "$am_depcomp" conftest.dir
6110 # We will build objects and dependencies in a subdirectory because
6111 # it helps to detect inapplicable dependency modes. For instance
6112 # both Tru64's cc and ICC support -MD to output dependencies as a
6113 # side effect of compilation, but ICC will put the dependencies in
6114 # the current directory while Tru64 will put them in the object
6118 am_cv_CCAS_dependencies_compiler_type
=none
6119 if test "$am_compiler_list" = ""; then
6120 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6125 for depmode
in $am_compiler_list; do
6126 # Setup a source with many dependencies, because some compilers
6127 # like to wrap large dependency lists on column 80 (with \), and
6128 # we should not choose a depcomp mode which is confused by this.
6130 # We need to recreate these files for each test, as the compiler may
6131 # overwrite some of them when testing with obscure command lines.
6132 # This happens at least with the AIX C compiler.
6134 for i
in 1 2 3 4 5 6; do
6135 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6136 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6137 # Solaris 10 /bin/sh.
6138 echo '/* dummy */' > sub
/conftst
$i.h
6140 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6142 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6143 # mode. It turns out that the SunPro C++ compiler does not properly
6144 # handle '-M -o', and we need to detect this. Also, some Intel
6145 # versions had trouble with output in subdirs.
6146 am__obj
=sub
/conftest.
${OBJEXT-o}
6147 am__minus_obj
="-o $am__obj"
6150 # This depmode causes a compiler race in universal mode.
6151 test "$am__universal" = false ||
continue
6154 # After this tag, mechanisms are not by side-effect, so they'll
6155 # only be used when explicitly requested.
6156 if test "x$enable_dependency_tracking" = xyes
; then
6162 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6163 # This compiler won't grok '-c -o', but also, the minuso test has
6164 # not run yet. These depmodes are late enough in the game, and
6165 # so weak that their functioning should not be impacted.
6166 am__obj
=conftest.
${OBJEXT-o}
6171 if depmode
=$depmode \
6172 source=sub
/conftest.c object
=$am__obj \
6173 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6174 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6175 >/dev
/null
2>conftest.err
&&
6176 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6177 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6178 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6179 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6180 # icc doesn't choke on unknown options, it will just issue warnings
6181 # or remarks (even with -Werror). So we grep stderr for any message
6182 # that says an option was ignored or not supported.
6183 # When given -MP, icc 7.0 and 7.1 complain thusly:
6184 # icc: Command line warning: ignoring option '-M'; no argument required
6185 # The diagnosis changed in icc 8.0:
6186 # icc: Command line remark: option '-MP' not supported
6187 if (grep 'ignoring option' conftest.err ||
6188 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6189 am_cv_CCAS_dependencies_compiler_type
=$depmode
6198 am_cv_CCAS_dependencies_compiler_type
=none
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6203 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6204 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6207 test "x$enable_dependency_tracking" != xno \
6208 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6209 am__fastdepCCAS_TRUE
=
6210 am__fastdepCCAS_FALSE
='#'
6212 am__fastdepCCAS_TRUE
='#'
6213 am__fastdepCCAS_FALSE
=
6221 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
6222 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
6223 # in both places for now and restore CFLAGS at the end of config.
6224 save_CFLAGS
="$CFLAGS"
6226 # Find other programs we need.
6227 if test -n "$ac_tool_prefix"; then
6228 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6229 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6231 $as_echo_n "checking for $ac_word... " >&6; }
6232 if ${ac_cv_prog_AR+:} false
; then :
6233 $as_echo_n "(cached) " >&6
6235 if test -n "$AR"; then
6236 ac_cv_prog_AR
="$AR" # Let the user override the test.
6238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6242 test -z "$as_dir" && as_dir
=.
6243 for ac_exec_ext
in '' $ac_executable_extensions; do
6244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6245 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 if test -n "$AR"; then
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6258 $as_echo "$AR" >&6; }
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6261 $as_echo "no" >&6; }
6266 if test -z "$ac_cv_prog_AR"; then
6268 # Extract the first word of "ar", so it can be a program name with args.
6269 set dummy
ar; ac_word
=$2
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271 $as_echo_n "checking for $ac_word... " >&6; }
6272 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6273 $as_echo_n "(cached) " >&6
6275 if test -n "$ac_ct_AR"; then
6276 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6282 test -z "$as_dir" && as_dir
=.
6283 for ac_exec_ext
in '' $ac_executable_extensions; do
6284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6285 ac_cv_prog_ac_ct_AR
="ar"
6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6295 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6296 if test -n "$ac_ct_AR"; then
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6298 $as_echo "$ac_ct_AR" >&6; }
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6301 $as_echo "no" >&6; }
6304 if test "x$ac_ct_AR" = x
; then
6307 case $cross_compiling:$ac_tool_warned in
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6311 ac_tool_warned
=yes ;;
6319 if test -n "$ac_tool_prefix"; then
6320 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6321 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_NM+:} false
; then :
6325 $as_echo_n "(cached) " >&6
6327 if test -n "$NM"; then
6328 ac_cv_prog_NM
="$NM" # Let the user override the test.
6330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6334 test -z "$as_dir" && as_dir
=.
6335 for ac_exec_ext
in '' $ac_executable_extensions; do
6336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 if test -n "$NM"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
6350 $as_echo "$NM" >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6358 if test -z "$ac_cv_prog_NM"; then
6360 # Extract the first word of "nm", so it can be a program name with args.
6361 set dummy nm
; ac_word
=$2
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363 $as_echo_n "checking for $ac_word... " >&6; }
6364 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
6365 $as_echo_n "(cached) " >&6
6367 if test -n "$ac_ct_NM"; then
6368 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6374 test -z "$as_dir" && as_dir
=.
6375 for ac_exec_ext
in '' $ac_executable_extensions; do
6376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6377 ac_cv_prog_ac_ct_NM
="nm"
6378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6387 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6388 if test -n "$ac_ct_NM"; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
6390 $as_echo "$ac_ct_NM" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6396 if test "x$ac_ct_NM" = x
; then
6399 case $cross_compiling:$ac_tool_warned in
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6403 ac_tool_warned
=yes ;;
6411 if test -n "$ac_tool_prefix"; then
6412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6413 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_prog_RANLIB+:} false
; then :
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$RANLIB"; then
6420 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir
=.
6427 for ac_exec_ext
in '' $ac_executable_extensions; do
6428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6429 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 RANLIB
=$ac_cv_prog_RANLIB
6440 if test -n "$RANLIB"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6442 $as_echo "$RANLIB" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6450 if test -z "$ac_cv_prog_RANLIB"; then
6451 ac_ct_RANLIB
=$RANLIB
6452 # Extract the first word of "ranlib", so it can be a program name with args.
6453 set dummy ranlib
; ac_word
=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$ac_ct_RANLIB"; then
6460 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir
=.
6467 for ac_exec_ext
in '' $ac_executable_extensions; do
6468 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6480 if test -n "$ac_ct_RANLIB"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6482 $as_echo "$ac_ct_RANLIB" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6488 if test "x$ac_ct_RANLIB" = x
; then
6489 RANLIB
="ranlib-not-found-in-path-error"
6491 case $cross_compiling:$ac_tool_warned in
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6495 ac_tool_warned
=yes ;;
6497 RANLIB
=$ac_ct_RANLIB
6500 RANLIB
="$ac_cv_prog_RANLIB"
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6504 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6506 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6507 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6508 $as_echo_n "(cached) " >&6
6510 cat >conftest.
make <<\_ACEOF
6513 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6515 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6516 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6518 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6520 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6524 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6526 $as_echo "yes" >&6; }
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6531 SET_MAKE
="MAKE=${MAKE-make}"
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6543 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6548 macro_version
='2.2.7a'
6549 macro_revision
='1.3134'
6563 ltmain
="$ac_aux_dir/ltmain.sh"
6565 # Backslashify metacharacters that are still active within
6566 # double-quoted strings.
6567 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6569 # Same as above, but do not quote variable references.
6570 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6572 # Sed substitution to delay expansion of an escaped shell variable in a
6573 # double_quote_subst'ed string.
6574 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6576 # Sed substitution to delay expansion of an escaped single quote.
6577 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6579 # Sed substitution to avoid accidental globbing in evaled expressions
6580 no_glob_subst
='s/\*/\\\*/g'
6582 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6583 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6584 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6587 $as_echo_n "checking how to print strings... " >&6; }
6588 # Test print first, because it will be a builtin if present.
6589 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6590 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6592 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6595 # Use this function as a fallback that always works.
6596 func_fallback_echo ()
6598 eval 'cat <<_LTECHO_EOF
6602 ECHO='func_fallback_echo
'
6605 # func_echo_all arg...
6606 # Invoke $ECHO with all args, space-separated.
6613 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6614 $as_echo "printf" >&6; } ;;
6615 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6616 $as_echo "print -r" >&6; } ;;
6617 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6618 $as_echo "cat" >&6; } ;;
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6635 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6636 if ${ac_cv_path_SED+:} false; then :
6637 $as_echo_n "(cached) " >&6
6639 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6640 for ac_i in 1 2 3 4 5 6 7; do
6641 ac_script="$ac_script$as_nl$ac_script"
6643 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6644 { ac_script=; unset ac_script;}
6645 if test -z "$SED"; then
6646 ac_path_SED_found=false
6647 # Loop through the user's path and
test for each of PROGNAME-LIST
6648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir
=.
6653 for ac_prog
in sed gsed
; do
6654 for ac_exec_ext
in '' $ac_executable_extensions; do
6655 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6656 as_fn_executable_p
"$ac_path_SED" ||
continue
6657 # Check for GNU ac_path_SED and select it if it is found.
6658 # Check for GNU $ac_path_SED
6659 case `"$ac_path_SED" --version 2>&1` in
6661 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6664 $as_echo_n 0123456789 >"conftest.in"
6667 cat "conftest.in" "conftest.in" >"conftest.tmp"
6668 mv "conftest.tmp" "conftest.in"
6669 cp "conftest.in" "conftest.nl"
6670 $as_echo '' >> "conftest.nl"
6671 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6672 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6673 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6674 if test $ac_count -gt ${ac_path_SED_max-0}; then
6675 # Best one so far, save it but keep looking for a better one
6676 ac_cv_path_SED
="$ac_path_SED"
6677 ac_path_SED_max
=$ac_count
6679 # 10*(2^10) chars as input seems more than enough
6680 test $ac_count -gt 10 && break
6682 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6685 $ac_path_SED_found && break 3
6690 if test -z "$ac_cv_path_SED"; then
6691 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6699 $as_echo "$ac_cv_path_SED" >&6; }
6700 SED
="$ac_cv_path_SED"
6703 test -z "$SED" && SED
=sed
6704 Xsed
="$SED -e 1s/^X//"
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6717 $as_echo_n "checking for fgrep... " >&6; }
6718 if ${ac_cv_path_FGREP+:} false
; then :
6719 $as_echo_n "(cached) " >&6
6721 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6722 then ac_cv_path_FGREP
="$GREP -F"
6724 if test -z "$FGREP"; then
6725 ac_path_FGREP_found
=false
6726 # Loop through the user's path and test for each of PROGNAME-LIST
6727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6728 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6731 test -z "$as_dir" && as_dir
=.
6732 for ac_prog
in fgrep
; do
6733 for ac_exec_ext
in '' $ac_executable_extensions; do
6734 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6735 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6736 # Check for GNU ac_path_FGREP and select it if it is found.
6737 # Check for GNU $ac_path_FGREP
6738 case `"$ac_path_FGREP" --version 2>&1` in
6740 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6743 $as_echo_n 0123456789 >"conftest.in"
6746 cat "conftest.in" "conftest.in" >"conftest.tmp"
6747 mv "conftest.tmp" "conftest.in"
6748 cp "conftest.in" "conftest.nl"
6749 $as_echo 'FGREP' >> "conftest.nl"
6750 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6751 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6752 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6753 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6754 # Best one so far, save it but keep looking for a better one
6755 ac_cv_path_FGREP
="$ac_path_FGREP"
6756 ac_path_FGREP_max
=$ac_count
6758 # 10*(2^10) chars as input seems more than enough
6759 test $ac_count -gt 10 && break
6761 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6764 $ac_path_FGREP_found && break 3
6769 if test -z "$ac_cv_path_FGREP"; then
6770 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6773 ac_cv_path_FGREP
=$FGREP
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6779 $as_echo "$ac_cv_path_FGREP" >&6; }
6780 FGREP
="$ac_cv_path_FGREP"
6783 test -z "$GREP" && GREP
=grep
6803 # Check whether --with-gnu-ld was given.
6804 if test "${with_gnu_ld+set}" = set; then :
6805 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6811 if test "$GCC" = yes; then
6812 # Check if gcc -print-prog-name=ld gives a path.
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6814 $as_echo_n "checking for ld used by $CC... " >&6; }
6817 # gcc leaves a trailing carriage return which upsets mingw
6818 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6820 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6823 # Accept absolute paths.
6825 re_direlt
='/[^/][^/]*/\.\./'
6826 # Canonicalize the pathname of ld
6827 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6828 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6829 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6831 test -z "$LD" && LD
="$ac_prog"
6834 # If it fails, then pretend we aren't using GCC.
6838 # If it is relative, then search for the first ld in PATH.
6842 elif test "$with_gnu_ld" = yes; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6844 $as_echo_n "checking for GNU ld... " >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6847 $as_echo_n "checking for non-GNU ld... " >&6; }
6849 if ${lt_cv_path_LD+:} false
; then :
6850 $as_echo_n "(cached) " >&6
6852 if test -z "$LD"; then
6853 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6854 for ac_dir
in $PATH; do
6856 test -z "$ac_dir" && ac_dir
=.
6857 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6858 lt_cv_path_LD
="$ac_dir/$ac_prog"
6859 # Check to see if the program is GNU ld. I'd rather use --version,
6860 # but apparently some variants of GNU ld only accept -v.
6861 # Break only if it was the GNU/non-GNU ld that we prefer.
6862 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6863 *GNU
* |
*'with BFD'*)
6864 test "$with_gnu_ld" != no
&& break
6867 test "$with_gnu_ld" != yes && break
6874 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6879 if test -n "$LD"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6881 $as_echo "$LD" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 $as_echo "no" >&6; }
6886 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6888 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6889 if ${lt_cv_prog_gnu_ld+:} false
; then :
6890 $as_echo_n "(cached) " >&6
6892 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6893 case `$LD -v 2>&1 </dev/null` in
6894 *GNU
* |
*'with BFD'*)
6895 lt_cv_prog_gnu_ld
=yes
6898 lt_cv_prog_gnu_ld
=no
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6903 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6904 with_gnu_ld
=$lt_cv_prog_gnu_ld
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6915 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6916 if ${lt_cv_path_NM+:} false
; then :
6917 $as_echo_n "(cached) " >&6
6919 if test -n "$NM"; then
6920 # Let the user override the test.
6923 lt_nm_to_check
="${ac_tool_prefix}nm"
6924 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6925 lt_nm_to_check
="$lt_nm_to_check nm"
6927 for lt_tmp_nm
in $lt_nm_to_check; do
6928 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6929 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6931 test -z "$ac_dir" && ac_dir
=.
6932 tmp_nm
="$ac_dir/$lt_tmp_nm"
6933 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6934 # Check to see if the nm accepts a BSD-compat flag.
6935 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6936 # nm: unknown option "B" ignored
6937 # Tru64's nm complains that /dev/null is an invalid object file
6938 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6939 */dev
/null
* |
*'Invalid file or object type'*)
6940 lt_cv_path_NM
="$tmp_nm -B"
6944 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6946 lt_cv_path_NM
="$tmp_nm -p"
6950 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6951 continue # so that we can try to find one that supports BSD flags
6960 : ${lt_cv_path_NM=no}
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6964 $as_echo "$lt_cv_path_NM" >&6; }
6965 if test "$lt_cv_path_NM" != "no"; then
6968 # Didn't find any BSD compatible name lister, look for dumpbin.
6969 if test -n "$DUMPBIN"; then :
6970 # Let the user override the test.
6972 if test -n "$ac_tool_prefix"; then
6973 for ac_prog
in dumpbin
"link -dump"
6975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6976 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978 $as_echo_n "checking for $ac_word... " >&6; }
6979 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6980 $as_echo_n "(cached) " >&6
6982 if test -n "$DUMPBIN"; then
6983 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir
=.
6990 for ac_exec_ext
in '' $ac_executable_extensions; do
6991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6992 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002 DUMPBIN
=$ac_cv_prog_DUMPBIN
7003 if test -n "$DUMPBIN"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7005 $as_echo "$DUMPBIN" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 $as_echo "no" >&6; }
7012 test -n "$DUMPBIN" && break
7015 if test -z "$DUMPBIN"; then
7016 ac_ct_DUMPBIN
=$DUMPBIN
7017 for ac_prog
in dumpbin
"link -dump"
7019 # Extract the first word of "$ac_prog", so it can be a program name with args.
7020 set dummy
$ac_prog; ac_word
=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7024 $as_echo_n "(cached) " >&6
7026 if test -n "$ac_ct_DUMPBIN"; then
7027 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7033 test -z "$as_dir" && as_dir
=.
7034 for ac_exec_ext
in '' $ac_executable_extensions; do
7035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7036 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7046 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7047 if test -n "$ac_ct_DUMPBIN"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7049 $as_echo "$ac_ct_DUMPBIN" >&6; }
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7056 test -n "$ac_ct_DUMPBIN" && break
7059 if test "x$ac_ct_DUMPBIN" = x
; then
7062 case $cross_compiling:$ac_tool_warned in
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7066 ac_tool_warned
=yes ;;
7068 DUMPBIN
=$ac_ct_DUMPBIN
7072 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7074 DUMPBIN
="$DUMPBIN -symbols"
7082 if test "$DUMPBIN" != ":"; then
7086 test -z "$NM" && NM
=nm
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7094 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7095 if ${lt_cv_nm_interface+:} false
; then :
7096 $as_echo_n "(cached) " >&6
7098 lt_cv_nm_interface
="BSD nm"
7099 echo "int some_variable = 0;" > conftest.
$ac_ext
7100 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7101 (eval "$ac_compile" 2>conftest.err
)
7102 cat conftest.err
>&5
7103 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7104 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7105 cat conftest.err
>&5
7106 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7107 cat conftest.out
>&5
7108 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7109 lt_cv_nm_interface
="MS dumpbin"
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7114 $as_echo "$lt_cv_nm_interface" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7117 $as_echo_n "checking whether ln -s works... " >&6; }
7119 if test "$LN_S" = "ln -s"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7121 $as_echo "yes" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7124 $as_echo "no, using $LN_S" >&6; }
7127 # find the maximum length of command line arguments
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7129 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7130 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7131 $as_echo_n "(cached) " >&6
7138 # On DJGPP, this test can blow up pretty badly due to problems in libc
7139 # (any single argument exceeding 2000 bytes causes a buffer overrun
7140 # during glob expansion). Even if it were fixed, the result of this
7141 # check would be larger than it should be.
7142 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7146 # Under GNU Hurd, this test is not required because there is
7147 # no limit to the length of command line arguments.
7148 # Libtool will interpret -1 as no limit whatsoever
7149 lt_cv_sys_max_cmd_len
=-1;
7152 cygwin
* | mingw
* | cegcc
*)
7153 # On Win9x/ME, this test blows up -- it succeeds, but takes
7154 # about 5 minutes as the teststring grows exponentially.
7155 # Worse, since 9x/ME are not pre-emptively multitasking,
7156 # you end up with a "frozen" computer, even though with patience
7157 # the test eventually succeeds (with a max line length of 256k).
7158 # Instead, let's just punt: use the minimum linelength reported by
7159 # all of the supported platforms: 8192 (on NT/2K/XP).
7160 lt_cv_sys_max_cmd_len
=8192;
7164 # On MiNT this can take a long time and run out of memory.
7165 lt_cv_sys_max_cmd_len
=8192;
7169 # On AmigaOS with pdksh, this test takes hours, literally.
7170 # So we just punt and use a minimum line length of 8192.
7171 lt_cv_sys_max_cmd_len
=8192;
7174 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7175 # This has been around since 386BSD, at least. Likely further.
7176 if test -x /sbin
/sysctl
; then
7177 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7178 elif test -x /usr
/sbin
/sysctl
; then
7179 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7181 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7183 # And add a safety zone
7184 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7185 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7189 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7190 lt_cv_sys_max_cmd_len
=196608
7194 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7195 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7196 # nice to cause kernel panics so lets avoid the loop below.
7197 # First set a reasonable default.
7198 lt_cv_sys_max_cmd_len
=16384
7200 if test -x /sbin
/sysconfig
; then
7201 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7202 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7207 lt_cv_sys_max_cmd_len
=102400
7209 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7210 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7211 if test -n "$kargmax"; then
7212 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7214 lt_cv_sys_max_cmd_len
=32768
7218 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7219 if test -n "$lt_cv_sys_max_cmd_len"; then
7220 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7221 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7223 # Make teststring a little bigger before we do anything with it.
7224 # a 1K string should be a reasonable start.
7225 for i
in 1 2 3 4 5 6 7 8 ; do
7226 teststring
=$teststring$teststring
7228 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7229 # If test is not a shell built-in, we'll probably end up computing a
7230 # maximum length that is only half of the actual maximum length, but
7232 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7233 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7234 test $i != 17 # 1/2 MB should be enough
7237 teststring
=$teststring$teststring
7239 # Only check the string length outside the loop.
7240 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7242 # Add a significant safety factor because C++ compilers can tack on
7243 # massive amounts of additional arguments before passing them to the
7244 # linker. It appears as though 1/2 is a usable value.
7245 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7252 if test -n $lt_cv_sys_max_cmd_len ; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7254 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7257 $as_echo "none" >&6; }
7259 max_cmd_len
=$lt_cv_sys_max_cmd_len
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7271 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7272 # Try some XSI features
7275 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7277 && eval 'test $(( 1 + 1 )) -eq 2 \
7278 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7281 $as_echo "$xsi_shell" >&6; }
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7285 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7287 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7289 && lt_shell_append=yes
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7291 $as_echo "$lt_shell_append" >&6; }
7294 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7304 # test EBCDIC or ASCII
7305 case `echo X|tr X '\101'` in
7306 A) # ASCII based system
7307 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7308 lt_SP2NL='tr \040 \012'
7309 lt_NL2SP='tr \015\012 \040\040'
7311 *) # EBCDIC based system
7312 lt_SP2NL='tr \100 \n'
7313 lt_NL2SP='tr \r\n \100\100'
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7326 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7327 if ${lt_cv_ld_reload_flag+:} false; then :
7328 $as_echo_n "(cached
) " >&6
7330 lt_cv_ld_reload_flag='-r'
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7333 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7334 reload_flag=$lt_cv_ld_reload_flag
7335 case $reload_flag in
7337 *) reload_flag=" $reload_flag" ;;
7339 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7342 if test "$GCC" = yes; then
7343 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7345 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7358 if test -n "$ac_tool_prefix"; then
7359 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7360 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7362 $as_echo_n "checking
for $ac_word...
" >&6; }
7363 if ${ac_cv_prog_OBJDUMP+:} false; then :
7364 $as_echo_n "(cached
) " >&6
7366 if test -n "$OBJDUMP"; then
7367 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 test -z "$as_dir" && as_dir=.
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7386 OBJDUMP=$ac_cv_prog_OBJDUMP
7387 if test -n "$OBJDUMP"; then
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7389 $as_echo "$OBJDUMP" >&6; }
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7392 $as_echo "no
" >&6; }
7397 if test -z "$ac_cv_prog_OBJDUMP"; then
7398 ac_ct_OBJDUMP=$OBJDUMP
7399 # Extract the first word of "objdump
", so it can be a program name with args.
7400 set dummy objdump; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7402 $as_echo_n "checking
for $ac_word...
" >&6; }
7403 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7404 $as_echo_n "(cached
) " >&6
7406 if test -n "$ac_ct_OBJDUMP"; then
7407 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7426 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7427 if test -n "$ac_ct_OBJDUMP"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7429 $as_echo "$ac_ct_OBJDUMP" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7432 $as_echo "no
" >&6; }
7435 if test "x
$ac_ct_OBJDUMP" = x; then
7438 case $cross_compiling:$ac_tool_warned in
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7441 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7442 ac_tool_warned=yes ;;
7444 OBJDUMP=$ac_ct_OBJDUMP
7447 OBJDUMP="$ac_cv_prog_OBJDUMP"
7450 test -z "$OBJDUMP" && OBJDUMP=objdump
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7461 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7462 if ${lt_cv_deplibs_check_method+:} false; then :
7463 $as_echo_n "(cached
) " >&6
7465 lt_cv_file_magic_cmd='$MAGIC_CMD'
7466 lt_cv_file_magic_test_file=
7467 lt_cv_deplibs_check_method='unknown'
7468 # Need to set the preceding variable on all platforms that support
7469 # interlibrary dependencies.
7470 # 'none' -- dependencies not supported.
7471 # `unknown' -- same as none, but documents that we really don't know.
7472 # 'pass_all' -- all dependencies passed with no checks.
7473 # 'test_compile' -- check by making test program.
7474 # 'file_magic [[regex]]' -- check by looking for files in library path
7475 # which responds to the $file_magic_cmd with a given extended regex.
7476 # If you have `file' or equivalent on your system and you're not sure
7477 # whether `pass_all' will *always* work, you probably want this one.
7481 lt_cv_deplibs_check_method=pass_all
7485 lt_cv_deplibs_check_method=pass_all
7489 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7490 lt_cv_file_magic_cmd='/usr/bin/file -L'
7491 lt_cv_file_magic_test_file=/shlib/libc.so
7495 # func_win32_libid is a shell function defined in ltmain.sh
7496 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7497 lt_cv_file_magic_cmd='func_win32_libid'
7501 # Base MSYS/MinGW do not provide the 'file' command needed by
7502 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7503 # unless we find 'file', for example because we are cross-compiling.
7504 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7505 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7506 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7507 lt_cv_file_magic_cmd='func_win32_libid'
7509 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7510 lt_cv_file_magic_cmd='$OBJDUMP -f'
7515 # use the weaker test based on 'objdump'. See mingw*.
7516 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7517 lt_cv_file_magic_cmd='$OBJDUMP -f'
7520 darwin* | rhapsody*)
7521 lt_cv_deplibs_check_method=pass_all
7524 freebsd* | dragonfly*)
7525 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7528 # Not sure whether the presence of OpenBSD here was a mistake.
7529 # Let's accept both of them until this is cleared up.
7530 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7531 lt_cv_file_magic_cmd=/usr/bin/file
7532 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7536 lt_cv_deplibs_check_method=pass_all
7541 lt_cv_deplibs_check_method=pass_all
7545 lt_cv_deplibs_check_method=pass_all
7548 hpux10.20* | hpux11*)
7549 lt_cv_file_magic_cmd=/usr/bin/file
7552 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7553 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7556 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]'
7557 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7560 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7561 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7567 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7568 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7571 irix5* | irix6* | nonstopux*)
7573 *-32|*"-32 ") libmagic=32-bit;;
7574 *-n32|*"-n32 ") libmagic=N32;;
7575 *-64|*"-64 ") libmagic=64-bit;;
7576 *) libmagic=never-match;;
7578 lt_cv_deplibs_check_method=pass_all
7581 # This must be Linux ELF.
7582 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7583 lt_cv_deplibs_check_method=pass_all
7587 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7588 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7590 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7595 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7596 lt_cv_file_magic_cmd=/usr/bin/file
7597 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7601 lt_cv_deplibs_check_method=pass_all
7605 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7606 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7608 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7612 osf3* | osf4* | osf5*)
7613 lt_cv_deplibs_check_method=pass_all
7617 lt_cv_deplibs_check_method=pass_all
7621 lt_cv_deplibs_check_method=pass_all
7624 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7625 lt_cv_deplibs_check_method=pass_all
7629 case $host_vendor in
7631 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]'
7632 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7635 lt_cv_deplibs_check_method=pass_all
7638 lt_cv_file_magic_cmd='/bin/file'
7639 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7642 lt_cv_file_magic_cmd='/bin/file'
7643 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7644 lt_cv_file_magic_test_file=/lib/libc.so
7647 lt_cv_deplibs_check_method=pass_all
7650 lt_cv_deplibs_check_method=pass_all
7656 lt_cv_deplibs_check_method=pass_all
7659 # Assume VxWorks cross toolchains are built on Linux, possibly
7660 # as canadian for Windows hosts.
7661 lt_cv_deplibs_check_method=pass_all
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7667 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7668 file_magic_cmd=$lt_cv_file_magic_cmd
7669 deplibs_check_method=$lt_cv_deplibs_check_method
7670 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7683 if test -n "$ac_tool_prefix"; then
7684 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7685 set dummy ${ac_tool_prefix}ar; ac_word=$2
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7687 $as_echo_n "checking
for $ac_word...
" >&6; }
7688 if ${ac_cv_prog_AR+:} false; then :
7689 $as_echo_n "(cached
) " >&6
7691 if test -n "$AR"; then
7692 ac_cv_prog_AR="$AR" # Let the user override the test.
7694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 test -z "$as_dir" && as_dir=.
7699 for ac_exec_ext in '' $ac_executable_extensions; do
7700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7701 ac_cv_prog_AR="${ac_tool_prefix}ar"
7702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7712 if test -n "$AR"; then
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7714 $as_echo "$AR" >&6; }
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7717 $as_echo "no
" >&6; }
7722 if test -z "$ac_cv_prog_AR"; then
7724 # Extract the first word of "ar", so it can be a program name with args.
7725 set dummy ar; ac_word=$2
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7727 $as_echo_n "checking
for $ac_word...
" >&6; }
7728 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7729 $as_echo_n "(cached
) " >&6
7731 if test -n "$ac_ct_AR"; then
7732 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7738 test -z "$as_dir" && as_dir=.
7739 for ac_exec_ext in '' $ac_executable_extensions; do
7740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7741 ac_cv_prog_ac_ct_AR="ar"
7742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7751 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7752 if test -n "$ac_ct_AR"; then
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7754 $as_echo "$ac_ct_AR" >&6; }
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7757 $as_echo "no
" >&6; }
7760 if test "x
$ac_ct_AR" = x; then
7763 case $cross_compiling:$ac_tool_warned in
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7766 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7767 ac_tool_warned=yes ;;
7775 test -z "$AR" && AR=ar
7776 test -z "$AR_FLAGS" && AR_FLAGS=cru
7788 if test -n "$ac_tool_prefix"; then
7789 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7790 set dummy ${ac_tool_prefix}strip; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7792 $as_echo_n "checking
for $ac_word...
" >&6; }
7793 if ${ac_cv_prog_STRIP+:} false; then :
7794 $as_echo_n "(cached
) " >&6
7796 if test -n "$STRIP"; then
7797 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7816 STRIP=$ac_cv_prog_STRIP
7817 if test -n "$STRIP"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7819 $as_echo "$STRIP" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7822 $as_echo "no
" >&6; }
7827 if test -z "$ac_cv_prog_STRIP"; then
7829 # Extract the first word of "strip
", so it can be a program name with args.
7830 set dummy strip; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7832 $as_echo_n "checking
for $ac_word...
" >&6; }
7833 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7836 if test -n "$ac_ct_STRIP"; then
7837 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_ac_ct_STRIP="strip
"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7856 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7857 if test -n "$ac_ct_STRIP"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7859 $as_echo "$ac_ct_STRIP" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7862 $as_echo "no
" >&6; }
7865 if test "x
$ac_ct_STRIP" = x; then
7868 case $cross_compiling:$ac_tool_warned in
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7871 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7872 ac_tool_warned=yes ;;
7877 STRIP="$ac_cv_prog_STRIP"
7880 test -z "$STRIP" && STRIP=:
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7889 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7891 $as_echo_n "checking
for $ac_word...
" >&6; }
7892 if ${ac_cv_prog_RANLIB+:} false; then :
7893 $as_echo_n "(cached
) " >&6
7895 if test -n "$RANLIB"; then
7896 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 RANLIB=$ac_cv_prog_RANLIB
7916 if test -n "$RANLIB"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7918 $as_echo "$RANLIB" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7921 $as_echo "no
" >&6; }
7926 if test -z "$ac_cv_prog_RANLIB"; then
7927 ac_ct_RANLIB=$RANLIB
7928 # Extract the first word of "ranlib
", so it can be a program name with args.
7929 set dummy ranlib; ac_word=$2
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7931 $as_echo_n "checking
for $ac_word...
" >&6; }
7932 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7933 $as_echo_n "(cached
) " >&6
7935 if test -n "$ac_ct_RANLIB"; then
7936 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7945 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7955 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7956 if test -n "$ac_ct_RANLIB"; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7958 $as_echo "$ac_ct_RANLIB" >&6; }
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7961 $as_echo "no
" >&6; }
7964 if test "x
$ac_ct_RANLIB" = x; then
7967 case $cross_compiling:$ac_tool_warned in
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7970 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7971 ac_tool_warned=yes ;;
7973 RANLIB=$ac_ct_RANLIB
7976 RANLIB="$ac_cv_prog_RANLIB"
7979 test -z "$RANLIB" && RANLIB=:
7986 # Determine commands to create old-style static archives.
7987 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7988 old_postinstall_cmds='chmod 644 $oldlib'
7989 old_postuninstall_cmds=
7991 if test -n "$RANLIB"; then
7994 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7997 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8000 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8005 lock_old_archive_extraction=yes ;;
8007 lock_old_archive_extraction=no ;;
8048 # If no C compiler was specified, use CC.
8051 # If no C compiler flags were specified, use CFLAGS.
8052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8054 # Allow CC to be a program name with arguments.
8058 # Check for command to grab the raw symbol name followed by C symbol from nm.
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8060 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8061 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8062 $as_echo_n "(cached
) " >&6
8065 # These are sane defaults that work on at least a few old systems.
8066 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8068 # Character class describing NM global symbol codes.
8069 symcode='[BCDEGRST]'
8071 # Regexp to match symbols that can be accessed directly from C.
8072 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8074 # Define system-specific variables.
8079 cygwin* | mingw* | pw32* | cegcc*)
8080 symcode='[ABCDGISTW]'
8083 if test "$host_cpu" = ia64; then
8084 symcode='[ABCDEGRST]'
8088 symcode='[BCDEGRST]'
8091 symcode='[BCDEGQRST]'
8102 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8110 # If we're using GNU nm, then use its standard symbol codes.
8111 case `$NM -V 2>&1` in
8112 *GNU* | *'with BFD'*)
8113 symcode='[ABCDGIRSTW]' ;;
8116 # Transform an extracted symbol line into a proper C declaration.
8117 # Some systems (esp. on ia64) link data and code symbols differently,
8118 # so use this general approach.
8119 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8121 # Transform an extracted symbol line into symbol name and symbol address
8122 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8123 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'"
8125 # Handle CRLF in mingw tool chain
8129 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8133 # Try without a prefix underscore, then with it.
8134 for ac_symprfx in "" "_
"; do
8136 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8137 symxfrm="\\1 $ac_symprfx\\2 \\2"
8139 # Write the raw and C identifiers.
8140 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8141 # Fake it for dumpbin and say T for any non-static function
8142 # and D for any global variable.
8143 # Also find C++ and __fastcall symbols from MSVC++,
8144 # which start with @ or ?.
8145 lt_cv_sys_global_symbol_pipe="$AWK '"\
8146 " {last_section=section; section=\$ 3};"\
8147 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8148 " \$ 0!~/External *\|/{next};"\
8149 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8150 " {if(hide[section]) next};"\
8151 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8152 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8153 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8154 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8155 " ' prfx
=^
$ac_symprfx"
8157 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8160 # Check to see that the pipe works correctly.
8164 cat > conftest.$ac_ext <<_LT_EOF
8169 void nm_test_func(void);
8170 void nm_test_func(void){}
8174 int main(){nm_test_var='a';nm_test_func();return(0);}
8177 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8178 (eval $ac_compile) 2>&5
8180 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8181 test $ac_status = 0; }; then
8182 # Now try to grab the symbols.
8184 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8185 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8187 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8188 test $ac_status = 0; } && test -s "$nlist"; then
8189 # Try sorting and uniquifying the output.
8190 if sort "$nlist" | uniq > "$nlist"T; then
8191 mv -f "$nlist"T "$nlist"
8196 # Make sure that we snagged all the symbols we need.
8197 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8198 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8199 cat <<_LT_EOF > conftest.$ac_ext
8205 # Now generate the symbol file.
8206 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8208 cat <<_LT_EOF >> conftest.$ac_ext
8210 /* The mapping between symbol names and symbols. */
8215 lt__PROGRAM__LTX_preloaded_symbols[] =
8217 { "@PROGRAM@
", (void *) 0 },
8219 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8220 cat <<\_LT_EOF >> conftest.$ac_ext
8224 /* This works around a problem in FreeBSD linker */
8225 #ifdef FREEBSD_WORKAROUND
8226 static const void *lt_preloaded_setup() {
8227 return lt__PROGRAM__LTX_preloaded_symbols;
8235 # Now try linking the two files.
8236 mv conftest.$ac_objext conftstm.$ac_objext
8237 lt_save_LIBS="$LIBS"
8238 lt_save_CFLAGS="$CFLAGS"
8239 LIBS="conftstm.
$ac_objext"
8240 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8241 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8242 (eval $ac_link) 2>&5
8244 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8245 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8248 LIBS="$lt_save_LIBS"
8249 CFLAGS="$lt_save_CFLAGS"
8251 echo "cannot
find nm_test_func
in $nlist" >&5
8254 echo "cannot
find nm_test_var
in $nlist" >&5
8257 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8260 echo "$progname: failed program was
:" >&5
8261 cat conftest.$ac_ext >&5
8263 rm -rf conftest* conftst*
8265 # Do not use the global_symbol_pipe unless it works.
8266 if test "$pipe_works" = yes; then
8269 lt_cv_sys_global_symbol_pipe=
8275 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8276 lt_cv_sys_global_symbol_to_cdecl=
8278 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8280 $as_echo "failed
" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8283 $as_echo "ok
" >&6; }
8307 # Check whether --enable-libtool-lock was given.
8308 if test "${enable_libtool_lock+set}" = set; then :
8309 enableval=$enable_libtool_lock;
8312 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8314 # Some flags need to be propagated to the compiler or linker for good
8318 # Find out which ABI we are using.
8319 echo 'int i;' > conftest.$ac_ext
8320 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8321 (eval $ac_compile) 2>&5
8323 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8324 test $ac_status = 0; }; then
8325 case `/usr/bin/file conftest.$ac_objext` in
8337 # Find out which ABI we are using.
8338 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8339 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8340 (eval $ac_compile) 2>&5
8342 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8343 test $ac_status = 0; }; then
8344 if test "$lt_cv_prog_gnu_ld" = yes; then
8345 case `/usr/bin/file conftest.$ac_objext` in
8347 LD="${LD-ld} -melf32bsmip"
8350 LD="${LD-ld} -melf32bmipn32"
8353 LD="${LD-ld} -melf64bmip"
8357 case `/usr/bin/file conftest.$ac_objext` in
8373 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8374 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8375 # Find out which ABI we are using.
8376 echo 'int i;' > conftest.$ac_ext
8377 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8378 (eval $ac_compile) 2>&5
8380 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8381 test $ac_status = 0; }; then
8382 case `/usr/bin/file conftest.o` in
8385 x86_64-*kfreebsd*-gnu)
8386 LD="${LD-ld} -m elf_i386_fbsd
"
8389 case `/usr/bin/file conftest.o` in
8391 LD="${LD-ld} -m elf32_x86_64
"
8394 LD="${LD-ld} -m elf_i386
"
8398 powerpc64le-*linux*)
8399 LD="${LD-ld} -m elf32lppclinux
"
8402 LD="${LD-ld} -m elf32ppclinux
"
8405 LD="${LD-ld} -m elf_s390
"
8408 LD="${LD-ld} -m elf32_sparc
"
8414 x86_64-*kfreebsd*-gnu)
8415 LD="${LD-ld} -m elf_x86_64_fbsd
"
8418 LD="${LD-ld} -m elf_x86_64
"
8421 LD="${LD-ld} -m elf64lppc
"
8424 LD="${LD-ld} -m elf64ppc
"
8426 s390*-*linux*|s390*-*tpf*)
8427 LD="${LD-ld} -m elf64_s390
"
8430 LD="${LD-ld} -m elf64_sparc
"
8440 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8441 SAVE_CFLAGS="$CFLAGS"
8442 CFLAGS="$CFLAGS -belf"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8444 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8445 if ${lt_cv_cc_needs_belf+:} false; then :
8446 $as_echo_n "(cached
) " >&6
8449 ac_cpp='$CPP $CPPFLAGS'
8450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8454 if test x$gcc_no_link = xyes; then
8455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 lt_cv_cc_needs_belf=yes
8471 lt_cv_cc_needs_belf=no
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8476 ac_cpp='$CPP $CPPFLAGS'
8477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8483 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8484 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8485 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8486 CFLAGS="$SAVE_CFLAGS"
8490 # Find out which ABI we are using.
8491 echo 'int i;' > conftest.$ac_ext
8492 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8493 (eval $ac_compile) 2>&5
8495 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8496 test $ac_status = 0; }; then
8497 case `/usr/bin/file conftest.o` in
8499 case $lt_cv_prog_gnu_ld in
8500 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8502 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8514 need_locks="$enable_libtool_lock"
8518 rhapsody* | darwin*)
8519 if test -n "$ac_tool_prefix"; then
8520 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8521 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8523 $as_echo_n "checking
for $ac_word...
" >&6; }
8524 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8525 $as_echo_n "(cached
) " >&6
8527 if test -n "$DSYMUTIL"; then
8528 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8534 test -z "$as_dir" && as_dir=.
8535 for ac_exec_ext in '' $ac_executable_extensions; do
8536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8537 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8547 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8548 if test -n "$DSYMUTIL"; then
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8550 $as_echo "$DSYMUTIL" >&6; }
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8553 $as_echo "no
" >&6; }
8558 if test -z "$ac_cv_prog_DSYMUTIL"; then
8559 ac_ct_DSYMUTIL=$DSYMUTIL
8560 # Extract the first word of "dsymutil
", so it can be a program name with args.
8561 set dummy dsymutil; ac_word=$2
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8563 $as_echo_n "checking
for $ac_word...
" >&6; }
8564 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8565 $as_echo_n "(cached
) " >&6
8567 if test -n "$ac_ct_DSYMUTIL"; then
8568 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8574 test -z "$as_dir" && as_dir=.
8575 for ac_exec_ext in '' $ac_executable_extensions; do
8576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8577 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8587 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8588 if test -n "$ac_ct_DSYMUTIL"; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8590 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8593 $as_echo "no
" >&6; }
8596 if test "x
$ac_ct_DSYMUTIL" = x; then
8599 case $cross_compiling:$ac_tool_warned in
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8602 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8603 ac_tool_warned=yes ;;
8605 DSYMUTIL=$ac_ct_DSYMUTIL
8608 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8611 if test -n "$ac_tool_prefix"; then
8612 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8613 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8615 $as_echo_n "checking
for $ac_word...
" >&6; }
8616 if ${ac_cv_prog_NMEDIT+:} false; then :
8617 $as_echo_n "(cached
) " >&6
8619 if test -n "$NMEDIT"; then
8620 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8626 test -z "$as_dir" && as_dir=.
8627 for ac_exec_ext in '' $ac_executable_extensions; do
8628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8629 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8639 NMEDIT=$ac_cv_prog_NMEDIT
8640 if test -n "$NMEDIT"; then
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8642 $as_echo "$NMEDIT" >&6; }
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8645 $as_echo "no
" >&6; }
8650 if test -z "$ac_cv_prog_NMEDIT"; then
8651 ac_ct_NMEDIT=$NMEDIT
8652 # Extract the first word of "nmedit
", so it can be a program name with args.
8653 set dummy nmedit; ac_word=$2
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8655 $as_echo_n "checking
for $ac_word...
" >&6; }
8656 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8657 $as_echo_n "(cached
) " >&6
8659 if test -n "$ac_ct_NMEDIT"; then
8660 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8666 test -z "$as_dir" && as_dir=.
8667 for ac_exec_ext in '' $ac_executable_extensions; do
8668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8669 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8679 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8680 if test -n "$ac_ct_NMEDIT"; then
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8682 $as_echo "$ac_ct_NMEDIT" >&6; }
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8685 $as_echo "no
" >&6; }
8688 if test "x
$ac_ct_NMEDIT" = x; then
8691 case $cross_compiling:$ac_tool_warned in
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8694 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8695 ac_tool_warned=yes ;;
8697 NMEDIT=$ac_ct_NMEDIT
8700 NMEDIT="$ac_cv_prog_NMEDIT"
8703 if test -n "$ac_tool_prefix"; then
8704 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8705 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8707 $as_echo_n "checking
for $ac_word...
" >&6; }
8708 if ${ac_cv_prog_LIPO+:} false; then :
8709 $as_echo_n "(cached
) " >&6
8711 if test -n "$LIPO"; then
8712 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8718 test -z "$as_dir" && as_dir=.
8719 for ac_exec_ext in '' $ac_executable_extensions; do
8720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8721 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8731 LIPO=$ac_cv_prog_LIPO
8732 if test -n "$LIPO"; then
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8734 $as_echo "$LIPO" >&6; }
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8737 $as_echo "no
" >&6; }
8742 if test -z "$ac_cv_prog_LIPO"; then
8744 # Extract the first word of "lipo
", so it can be a program name with args.
8745 set dummy lipo; ac_word=$2
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8747 $as_echo_n "checking
for $ac_word...
" >&6; }
8748 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8749 $as_echo_n "(cached
) " >&6
8751 if test -n "$ac_ct_LIPO"; then
8752 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir=.
8759 for ac_exec_ext in '' $ac_executable_extensions; do
8760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8761 ac_cv_prog_ac_ct_LIPO="lipo
"
8762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8771 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8772 if test -n "$ac_ct_LIPO"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8774 $as_echo "$ac_ct_LIPO" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8777 $as_echo "no
" >&6; }
8780 if test "x
$ac_ct_LIPO" = x; then
8783 case $cross_compiling:$ac_tool_warned in
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8786 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8787 ac_tool_warned=yes ;;
8792 LIPO="$ac_cv_prog_LIPO"
8795 if test -n "$ac_tool_prefix"; then
8796 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8797 set dummy ${ac_tool_prefix}otool; ac_word=$2
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8799 $as_echo_n "checking
for $ac_word...
" >&6; }
8800 if ${ac_cv_prog_OTOOL+:} false; then :
8801 $as_echo_n "(cached
) " >&6
8803 if test -n "$OTOOL"; then
8804 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8813 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8823 OTOOL=$ac_cv_prog_OTOOL
8824 if test -n "$OTOOL"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8826 $as_echo "$OTOOL" >&6; }
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8829 $as_echo "no
" >&6; }
8834 if test -z "$ac_cv_prog_OTOOL"; then
8836 # Extract the first word of "otool
", so it can be a program name with args.
8837 set dummy otool; ac_word=$2
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8839 $as_echo_n "checking
for $ac_word...
" >&6; }
8840 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8841 $as_echo_n "(cached
) " >&6
8843 if test -n "$ac_ct_OTOOL"; then
8844 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8850 test -z "$as_dir" && as_dir=.
8851 for ac_exec_ext in '' $ac_executable_extensions; do
8852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8853 ac_cv_prog_ac_ct_OTOOL="otool
"
8854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8863 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8864 if test -n "$ac_ct_OTOOL"; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8866 $as_echo "$ac_ct_OTOOL" >&6; }
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8869 $as_echo "no
" >&6; }
8872 if test "x
$ac_ct_OTOOL" = x; then
8875 case $cross_compiling:$ac_tool_warned in
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8878 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8879 ac_tool_warned=yes ;;
8884 OTOOL="$ac_cv_prog_OTOOL"
8887 if test -n "$ac_tool_prefix"; then
8888 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8889 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8891 $as_echo_n "checking
for $ac_word...
" >&6; }
8892 if ${ac_cv_prog_OTOOL64+:} false; then :
8893 $as_echo_n "(cached
) " >&6
8895 if test -n "$OTOOL64"; then
8896 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8902 test -z "$as_dir" && as_dir=.
8903 for ac_exec_ext in '' $ac_executable_extensions; do
8904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8905 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8915 OTOOL64=$ac_cv_prog_OTOOL64
8916 if test -n "$OTOOL64"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8918 $as_echo "$OTOOL64" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8921 $as_echo "no
" >&6; }
8926 if test -z "$ac_cv_prog_OTOOL64"; then
8927 ac_ct_OTOOL64=$OTOOL64
8928 # Extract the first word of "otool64
", so it can be a program name with args.
8929 set dummy otool64; ac_word=$2
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8931 $as_echo_n "checking
for $ac_word...
" >&6; }
8932 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8933 $as_echo_n "(cached
) " >&6
8935 if test -n "$ac_ct_OTOOL64"; then
8936 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8942 test -z "$as_dir" && as_dir=.
8943 for ac_exec_ext in '' $ac_executable_extensions; do
8944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8945 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8955 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8956 if test -n "$ac_ct_OTOOL64"; then
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8958 $as_echo "$ac_ct_OTOOL64" >&6; }
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8961 $as_echo "no
" >&6; }
8964 if test "x
$ac_ct_OTOOL64" = x; then
8967 case $cross_compiling:$ac_tool_warned in
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8970 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8971 ac_tool_warned=yes ;;
8973 OTOOL64=$ac_ct_OTOOL64
8976 OTOOL64="$ac_cv_prog_OTOOL64"
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9006 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9007 if ${lt_cv_apple_cc_single_mod+:} false; then :
9008 $as_echo_n "(cached
) " >&6
9010 lt_cv_apple_cc_single_mod=no
9011 if test -z "${LT_MULTI_MODULE}"; then
9012 # By default we will add the -single_module flag. You can override
9013 # by either setting the environment variable LT_MULTI_MODULE
9014 # non-empty at configure time, or by adding -multi_module to the
9016 rm -rf libconftest.dylib*
9017 echo "int foo
(void
){return 1;}" > conftest.c
9018 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9019 -dynamiclib -Wl,-single_module conftest.c
" >&5
9020 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9021 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9023 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9024 lt_cv_apple_cc_single_mod=yes
9026 cat conftest.err >&5
9028 rm -rf libconftest.dylib*
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9033 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9035 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9036 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9037 $as_echo_n "(cached
) " >&6
9039 lt_cv_ld_exported_symbols_list=no
9040 save_LDFLAGS=$LDFLAGS
9041 echo "_main
" > conftest.sym
9042 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9043 if test x$gcc_no_link = xyes; then
9044 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9057 if ac_fn_c_try_link "$LINENO"; then :
9058 lt_cv_ld_exported_symbols_list=yes
9060 lt_cv_ld_exported_symbols_list=no
9062 rm -f core conftest.err conftest.$ac_objext \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LDFLAGS="$save_LDFLAGS"
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9068 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9070 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9071 if ${lt_cv_ld_force_load+:} false; then :
9072 $as_echo_n "(cached
) " >&6
9074 lt_cv_ld_force_load=no
9075 cat > conftest.c << _LT_EOF
9076 int forced_loaded() { return 2;}
9078 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9079 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9080 echo "$AR cru libconftest.a conftest.o
" >&5
9081 $AR cru libconftest.a conftest.o 2>&5
9082 cat > conftest.c << _LT_EOF
9083 int main() { return 0;}
9085 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9086 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9088 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9089 lt_cv_ld_force_load=yes
9091 cat conftest.err >&5
9093 rm -f conftest.err libconftest.a conftest conftest.c
9094 rm -rf conftest.dSYM
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9098 $as_echo "$lt_cv_ld_force_load" >&6; }
9099 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9100 # build without first building modern cctools / linker.
9101 case $host_cpu-$host_os in
9102 *-rhapsody* | *-darwin1.[012])
9103 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9105 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9107 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9108 # deployment target is forced to an earlier version.
9109 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9110 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9113 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9120 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9121 _lt_dar_single_mod='$single_module'
9123 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9124 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9126 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9128 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9129 _lt_dsymutil='~$DSYMUTIL $lib || :'
9136 for ac_header in dlfcn.h
9138 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9140 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9141 cat >>confdefs.h <<_ACEOF
9142 #define HAVE_DLFCN_H 1
9162 # Check whether --enable-shared was given.
9163 if test "${enable_shared+set}" = set; then :
9164 enableval=$enable_shared; p=${PACKAGE-default}
9166 yes) enable_shared=yes ;;
9167 no) enable_shared=no ;;
9170 # Look at the argument we got. We use all the common list separators.
9171 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9172 for pkg in $enableval; do
9174 if test "X
$pkg" = "X
$p"; then
9193 # Check whether --enable-static was given.
9194 if test "${enable_static+set}" = set; then :
9195 enableval=$enable_static; p=${PACKAGE-default}
9197 yes) enable_static=yes ;;
9198 no) enable_static=no ;;
9201 # Look at the argument we got. We use all the common list separators.
9202 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9203 for pkg in $enableval; do
9205 if test "X
$pkg" = "X
$p"; then
9225 # Check whether --with-pic was given.
9226 if test "${with_pic+set}" = set; then :
9227 withval=$with_pic; pic_mode="$withval"
9233 test -z "$pic_mode" && pic_mode=default
9241 # Check whether --enable-fast-install was given.
9242 if test "${enable_fast_install+set}" = set; then :
9243 enableval=$enable_fast_install; p=${PACKAGE-default}
9245 yes) enable_fast_install=yes ;;
9246 no) enable_fast_install=no ;;
9248 enable_fast_install=no
9249 # Look at the argument we got. We use all the common list separators.
9250 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9251 for pkg in $enableval; do
9253 if test "X
$pkg" = "X
$p"; then
9254 enable_fast_install=yes
9261 enable_fast_install=yes
9274 # This can be used to rebuild libtool when needed
9275 LIBTOOL_DEPS="$ltmain"
9277 # Always use our own libtool.
9278 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9305 test -z "$LN_S" && LN_S="ln -s"
9320 if test -n "${ZSH_VERSION+set}" ; then
9321 setopt NO_GLOB_SUBST
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9325 $as_echo_n "checking
for objdir...
" >&6; }
9326 if ${lt_cv_objdir+:} false; then :
9327 $as_echo_n "(cached
) " >&6
9329 rm -f .libs 2>/dev/null
9330 mkdir .libs 2>/dev/null
9331 if test -d .libs; then
9334 # MS-DOS does not allow filenames that begin with a dot.
9337 rmdir .libs 2>/dev/null
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9340 $as_echo "$lt_cv_objdir" >&6; }
9341 objdir=$lt_cv_objdir
9347 cat >>confdefs.h <<_ACEOF
9348 #define LT_OBJDIR "$lt_cv_objdir/"
9356 # AIX sometimes has problems with the GCC collect2 program. For some
9357 # reason, if we set the COLLECT_NAMES environment variable, the problems
9358 # vanish in a puff of smoke.
9359 if test "X
${COLLECT_NAMES+set}" != Xset; then
9361 export COLLECT_NAMES
9368 can_build_shared=yes
9370 # All known linkers require a `.a' archive for static linking (except MSVC,
9371 # which needs '.lib').
9374 with_gnu_ld="$lt_cv_prog_gnu_ld"
9377 old_CFLAGS="$CFLAGS"
9379 # Set sane defaults for various variables
9380 test -z "$CC" && CC=cc
9381 test -z "$LTCC" && LTCC=$CC
9382 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9383 test -z "$LD" && LD=ld
9384 test -z "$ac_objext" && ac_objext=o
9386 for cc_temp in $compiler""; do
9388 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9389 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9394 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9397 # Only perform the check for file, if the check method requires it
9398 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9399 case $deplibs_check_method in
9401 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9403 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9404 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9405 $as_echo_n "(cached
) " >&6
9409 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9412 lt_save_MAGIC_CMD="$MAGIC_CMD"
9413 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9414 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9415 for ac_dir in $ac_dummy; do
9417 test -z "$ac_dir" && ac_dir=.
9418 if test -f $ac_dir/${ac_tool_prefix}file; then
9419 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9420 if test -n "$file_magic_test_file"; then
9421 case $deplibs_check_method in
9423 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9424 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9425 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9426 $EGREP "$file_magic_regex" > /dev/null; then
9431 *** Warning: the command libtool uses to detect shared libraries,
9432 *** $file_magic_cmd, produces output that libtool cannot recognize.
9433 *** The result is that libtool may fail to recognize shared libraries
9434 *** as such. This will affect the creation of libtool libraries that
9435 *** depend on shared libraries, but programs linked with such libtool
9436 *** libraries will work regardless of this problem. Nevertheless, you
9437 *** may want to report the problem to your system manager and/or to
9438 *** bug-libtool@gnu.org
9448 MAGIC_CMD="$lt_save_MAGIC_CMD"
9453 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9454 if test -n "$MAGIC_CMD"; then
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9456 $as_echo "$MAGIC_CMD" >&6; }
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9459 $as_echo "no
" >&6; }
9466 if test -z "$lt_cv_path_MAGIC_CMD"; then
9467 if test -n "$ac_tool_prefix"; then
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9469 $as_echo_n "checking
for file...
" >&6; }
9470 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9471 $as_echo_n "(cached
) " >&6
9475 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9478 lt_save_MAGIC_CMD="$MAGIC_CMD"
9479 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9480 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9481 for ac_dir in $ac_dummy; do
9483 test -z "$ac_dir" && ac_dir=.
9484 if test -f $ac_dir/file; then
9485 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9486 if test -n "$file_magic_test_file"; then
9487 case $deplibs_check_method in
9489 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9490 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9491 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9492 $EGREP "$file_magic_regex" > /dev/null; then
9497 *** Warning: the command libtool uses to detect shared libraries,
9498 *** $file_magic_cmd, produces output that libtool cannot recognize.
9499 *** The result is that libtool may fail to recognize shared libraries
9500 *** as such. This will affect the creation of libtool libraries that
9501 *** depend on shared libraries, but programs linked with such libtool
9502 *** libraries will work regardless of this problem. Nevertheless, you
9503 *** may want to report the problem to your system manager and/or to
9504 *** bug-libtool@gnu.org
9514 MAGIC_CMD="$lt_save_MAGIC_CMD"
9519 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9520 if test -n "$MAGIC_CMD"; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9522 $as_echo "$MAGIC_CMD" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9525 $as_echo "no
" >&6; }
9538 # Use C for the default configuration in the libtool script
9542 ac_cpp='$CPP $CPPFLAGS'
9543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9548 # Source file extension for C test sources.
9551 # Object file extension for compiled C test sources.
9555 # Code to be used in simple compile tests
9556 lt_simple_compile_test_code="int some_variable
= 0;"
9558 # Code to be used in simple link tests
9559 lt_simple_link_test_code='int main(){return(0);}'
9567 # If no C compiler was specified, use CC.
9570 # If no C compiler flags were specified, use CFLAGS.
9571 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9573 # Allow CC to be a program name with arguments.
9576 # Save the default compiler, since it gets overwritten when the other
9577 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9578 compiler_DEFAULT=$CC
9580 # save warnings/boilerplate of simple test code
9581 ac_outfile=conftest.$ac_objext
9582 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9583 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9584 _lt_compiler_boilerplate=`cat conftest.err`
9587 ac_outfile=conftest.$ac_objext
9588 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9589 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9590 _lt_linker_boilerplate=`cat conftest.err`
9595 ## There is no encapsulation within the following macros, do not change
9596 ## the running order or otherwise move them around unless you know exactly
9597 ## what you are doing...
9598 if test -n "$compiler"; then
9600 lt_prog_compiler_no_builtin_flag=
9602 if test "$GCC" = yes; then
9603 case $cc_basename in
9605 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9607 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9611 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9612 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9613 $as_echo_n "(cached
) " >&6
9615 lt_cv_prog_compiler_rtti_exceptions=no
9616 ac_outfile=conftest.$ac_objext
9617 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9618 lt_compiler_flag="-fno-rtti -fno-exceptions"
9619 # Insert the option either (1) after the last *FLAGS variable, or
9620 # (2) before a word containing "conftest.
", or (3) at the end.
9621 # Note that $ac_compile itself does not contain backslashes and begins
9622 # with a dollar sign (not a hyphen), so the echo should work correctly.
9623 # The option is referenced via a variable to avoid confusing sed.
9624 lt_compile=`echo "$ac_compile" | $SED \
9625 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9626 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9627 -e 's:$: $lt_compiler_flag:'`
9628 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9629 (eval "$lt_compile" 2>conftest.err)
9631 cat conftest.err >&5
9632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9633 if (exit $ac_status) && test -s "$ac_outfile"; then
9634 # The compiler can only warn and ignore the option if not recognized
9635 # So say no if there are warnings other than the usual output.
9636 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9637 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9638 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9639 lt_cv_prog_compiler_rtti_exceptions=yes
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9646 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9648 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9649 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9661 lt_prog_compiler_wl=
9662 lt_prog_compiler_pic=
9663 lt_prog_compiler_static=
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9666 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9668 if test "$GCC" = yes; then
9669 lt_prog_compiler_wl='-Wl,'
9670 lt_prog_compiler_static='-static'
9674 # All AIX code is PIC.
9675 if test "$host_cpu" = ia64; then
9676 # AIX 5 now supports IA64 processor
9677 lt_prog_compiler_static='-Bstatic'
9679 lt_prog_compiler_pic='-fPIC'
9685 # see comment about AmigaOS4 .so support
9686 lt_prog_compiler_pic='-fPIC'
9689 # FIXME: we need at least 68020 code to build shared libraries, but
9690 # adding the `-m68020' flag to GCC prevents building anything better,
9692 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9697 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9698 # PIC is the default for these OSes.
9701 mingw* | cygwin* | pw32* | os2* | cegcc*)
9702 # This hack is so that the source file can tell whether it is being
9703 # built for inclusion in a dll (and should export symbols for example).
9704 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9705 # (--disable-auto-import) libraries
9706 lt_prog_compiler_pic='-DDLL_EXPORT'
9709 darwin* | rhapsody*)
9710 # PIC is the default on this platform
9711 # Common symbols not allowed in MH_DYLIB files
9712 lt_prog_compiler_pic='-fno-common'
9716 # PIC is the default for Haiku.
9717 # The "-static" flag exists, but is broken.
9718 lt_prog_compiler_static=
9722 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9723 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9724 # sets the default TLS model and affects inlining.
9730 lt_prog_compiler_pic='-fPIC'
9736 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9737 # Instead, we relocate shared libraries at runtime.
9741 # Just because we use GCC doesn't mean we suddenly get shared libraries
9742 # on systems that don't support them.
9743 lt_prog_compiler_can_build_shared=no
9748 # QNX uses GNU C++, but need to define -shared option too, otherwise
9750 lt_prog_compiler_pic='-fPIC -shared'
9754 if test -d /usr/nec; then
9755 lt_prog_compiler_pic=-Kconform_pic
9760 lt_prog_compiler_pic='-fPIC'
9764 case $cc_basename in
9765 nvcc*) # Cuda Compiler Driver 2.2
9766 lt_prog_compiler_wl='-Xlinker '
9767 lt_prog_compiler_pic='-Xcompiler -fPIC'
9771 # PORTME Check for flag to pass linker flags through the system compiler.
9774 lt_prog_compiler_wl='-Wl,'
9775 if test "$host_cpu" = ia64; then
9776 # AIX 5 now supports IA64 processor
9777 lt_prog_compiler_static='-Bstatic'
9779 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9783 mingw* | cygwin* | pw32* | os2* | cegcc*)
9784 # This hack is so that the source file can tell whether it is being
9785 # built for inclusion in a dll (and should export symbols for example).
9786 lt_prog_compiler_pic='-DDLL_EXPORT'
9789 hpux9* | hpux10* | hpux11*)
9790 lt_prog_compiler_wl='-Wl,'
9791 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9798 lt_prog_compiler_pic='+Z'
9801 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9802 lt_prog_compiler_static='${wl}-a ${wl}archive'
9805 irix5* | irix6* | nonstopux*)
9806 lt_prog_compiler_wl='-Wl,'
9807 # PIC (with -KPIC) is the default.
9808 lt_prog_compiler_static='-non_shared'
9811 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9812 case $cc_basename in
9813 # old Intel for x86_64 which still supported -KPIC.
9815 lt_prog_compiler_wl='-Wl,'
9816 lt_prog_compiler_pic='-KPIC'
9817 lt_prog_compiler_static='-static'
9819 # icc used to be incompatible with GCC.
9820 # ICC 10 doesn't accept -KPIC any more.
9822 lt_prog_compiler_wl='-Wl,'
9823 lt_prog_compiler_pic='-fPIC'
9824 lt_prog_compiler_static='-static'
9826 # Lahey Fortran 8.1.
9828 lt_prog_compiler_wl='-Wl,'
9829 lt_prog_compiler_pic='--shared'
9830 lt_prog_compiler_static='--static'
9832 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9833 # Portland Group compilers (*not* the Pentium gcc compiler,
9834 # which looks to be a dead project)
9835 lt_prog_compiler_wl='-Wl,'
9836 lt_prog_compiler_pic='-fpic'
9837 lt_prog_compiler_static='-Bstatic'
9840 lt_prog_compiler_wl='-Wl,'
9841 # All Alpha code is PIC.
9842 lt_prog_compiler_static='-non_shared'
9844 xl* | bgxl* | bgf* | mpixl*)
9845 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9846 lt_prog_compiler_wl='-Wl,'
9847 lt_prog_compiler_pic='-qpic'
9848 lt_prog_compiler_static='-qstaticlink'
9851 case `$CC -V 2>&1 | sed 5q` in
9852 *Sun\ F* | *Sun*Fortran*)
9853 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9854 lt_prog_compiler_pic='-KPIC'
9855 lt_prog_compiler_static='-Bstatic'
9856 lt_prog_compiler_wl=''
9860 lt_prog_compiler_pic='-KPIC'
9861 lt_prog_compiler_static='-Bstatic'
9862 lt_prog_compiler_wl='-Wl,'
9870 lt_prog_compiler_pic='-KPIC'
9871 lt_prog_compiler_static='-Bstatic'
9875 # QNX uses GNU C++, but need to define -shared option too, otherwise
9877 lt_prog_compiler_pic='-fPIC -shared'
9880 osf3* | osf4* | osf5*)
9881 lt_prog_compiler_wl='-Wl,'
9882 # All OSF/1 code is PIC.
9883 lt_prog_compiler_static='-non_shared'
9887 lt_prog_compiler_static='-non_shared'
9891 lt_prog_compiler_pic='-KPIC'
9892 lt_prog_compiler_static='-Bstatic'
9893 case $cc_basename in
9895 lt_prog_compiler_wl='-Qoption ld ';;
9897 lt_prog_compiler_wl='-Wl,';;
9902 lt_prog_compiler_wl='-Qoption ld '
9903 lt_prog_compiler_pic='-PIC'
9904 lt_prog_compiler_static='-Bstatic'
9907 sysv4 | sysv4.2uw2* | sysv4.3*)
9908 lt_prog_compiler_wl='-Wl,'
9909 lt_prog_compiler_pic='-KPIC'
9910 lt_prog_compiler_static='-Bstatic'
9914 if test -d /usr/nec ;then
9915 lt_prog_compiler_pic='-Kconform_pic'
9916 lt_prog_compiler_static='-Bstatic'
9920 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9921 lt_prog_compiler_wl='-Wl,'
9922 lt_prog_compiler_pic='-KPIC'
9923 lt_prog_compiler_static='-Bstatic'
9927 lt_prog_compiler_wl='-Wl,'
9928 lt_prog_compiler_can_build_shared=no
9932 lt_prog_compiler_pic='-pic'
9933 lt_prog_compiler_static='-Bstatic'
9937 lt_prog_compiler_can_build_shared=no
9943 # For platforms which do not support PIC, -DPIC is meaningless:
9945 lt_prog_compiler_pic=
9948 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9952 $as_echo "$lt_prog_compiler_pic" >&6; }
9960 # Check to make sure the PIC flag actually works.
9962 if test -n "$lt_prog_compiler_pic"; then
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9964 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9965 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9966 $as_echo_n "(cached
) " >&6
9968 lt_cv_prog_compiler_pic_works=no
9969 ac_outfile=conftest.$ac_objext
9970 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9971 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9972 # Insert the option either (1) after the last *FLAGS variable, or
9973 # (2) before a word containing "conftest.
", or (3) at the end.
9974 # Note that $ac_compile itself does not contain backslashes and begins
9975 # with a dollar sign (not a hyphen), so the echo should work correctly.
9976 # The option is referenced via a variable to avoid confusing sed.
9977 lt_compile=`echo "$ac_compile" | $SED \
9978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9980 -e 's:$: $lt_compiler_flag:'`
9981 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9982 (eval "$lt_compile" 2>conftest.err)
9984 cat conftest.err >&5
9985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9986 if (exit $ac_status) && test -s "$ac_outfile"; then
9987 # The compiler can only warn and ignore the option if not recognized
9988 # So say no if there are warnings other than the usual output.
9989 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9990 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9991 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9992 lt_cv_prog_compiler_pic_works=yes
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9999 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10001 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10002 case $lt_prog_compiler_pic in
10004 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10007 lt_prog_compiler_pic=
10008 lt_prog_compiler_can_build_shared=no
10019 # Check to make sure the static flag actually works.
10021 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10023 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10024 if ${lt_cv_prog_compiler_static_works+:} false; then :
10025 $as_echo_n "(cached
) " >&6
10027 lt_cv_prog_compiler_static_works=no
10028 save_LDFLAGS="$LDFLAGS"
10029 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10030 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10031 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10032 # The linker can only warn and ignore the option if not recognized
10033 # So say no if there are warnings
10034 if test -s conftest.err; then
10035 # Append any errors to the config.log.
10036 cat conftest.err 1>&5
10037 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10038 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10039 if diff conftest.exp conftest.er2 >/dev/null; then
10040 lt_cv_prog_compiler_static_works=yes
10043 lt_cv_prog_compiler_static_works=yes
10047 LDFLAGS="$save_LDFLAGS"
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10051 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10053 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10056 lt_prog_compiler_static=
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10066 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10067 if ${lt_cv_prog_compiler_c_o+:} false; then :
10068 $as_echo_n "(cached
) " >&6
10070 lt_cv_prog_compiler_c_o=no
10071 $RM -r conftest 2>/dev/null
10075 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10077 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10078 # Insert the option either (1) after the last *FLAGS variable, or
10079 # (2) before a word containing "conftest.
", or (3) at the end.
10080 # Note that $ac_compile itself does not contain backslashes and begins
10081 # with a dollar sign (not a hyphen), so the echo should work correctly.
10082 lt_compile=`echo "$ac_compile" | $SED \
10083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10085 -e 's:$: $lt_compiler_flag:'`
10086 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10087 (eval "$lt_compile" 2>out/conftest.err)
10089 cat out/conftest.err >&5
10090 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10091 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10093 # The compiler can only warn and ignore the option if not recognized
10094 # So say no if there are warnings
10095 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10096 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10097 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10098 lt_cv_prog_compiler_c_o=yes
10103 # SGI C++ compiler will create directory out/ii_files/ for
10104 # template instantiation
10105 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10106 $RM out/* && rmdir out
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10113 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10121 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10122 if ${lt_cv_prog_compiler_c_o+:} false; then :
10123 $as_echo_n "(cached
) " >&6
10125 lt_cv_prog_compiler_c_o=no
10126 $RM -r conftest 2>/dev/null
10130 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10132 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10133 # Insert the option either (1) after the last *FLAGS variable, or
10134 # (2) before a word containing "conftest.
", or (3) at the end.
10135 # Note that $ac_compile itself does not contain backslashes and begins
10136 # with a dollar sign (not a hyphen), so the echo should work correctly.
10137 lt_compile=`echo "$ac_compile" | $SED \
10138 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10139 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10140 -e 's:$: $lt_compiler_flag:'`
10141 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10142 (eval "$lt_compile" 2>out/conftest.err)
10144 cat out/conftest.err >&5
10145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10146 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10148 # The compiler can only warn and ignore the option if not recognized
10149 # So say no if there are warnings
10150 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10151 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10152 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10153 lt_cv_prog_compiler_c_o=yes
10158 # SGI C++ compiler will create directory out/ii_files/ for
10159 # template instantiation
10160 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10161 $RM out/* && rmdir out
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10168 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10173 hard_links="nottested
"
10174 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10175 # do not overwrite the value of need_locks provided by the user
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10177 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10180 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10182 ln conftest.a conftest.b 2>&5 || hard_links=no
10183 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10185 $as_echo "$hard_links" >&6; }
10186 if test "$hard_links" = no; then
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10188 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10201 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10204 allow_undefined_flag=
10205 always_export_symbols=no
10207 archive_expsym_cmds=
10208 compiler_needs_object=no
10209 enable_shared_with_static_runtimes=no
10210 export_dynamic_flag_spec=
10211 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10212 hardcode_automatic=no
10214 hardcode_direct_absolute=no
10215 hardcode_libdir_flag_spec=
10216 hardcode_libdir_flag_spec_ld=
10217 hardcode_libdir_separator=
10218 hardcode_minus_L=no
10219 hardcode_shlibpath_var=unsupported
10221 link_all_deplibs=unknown
10223 module_expsym_cmds=
10224 old_archive_from_new_cmds=
10225 old_archive_from_expsyms_cmds=
10226 thread_safe_flag_spec=
10227 whole_archive_flag_spec=
10228 # include_expsyms should be a list of space-separated symbols to be *always*
10229 # included in the symbol list
10231 # exclude_expsyms can be an extended regexp of symbols to exclude
10232 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10233 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10234 # as well as any symbol that contains `d'.
10235 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10236 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10237 # platforms (ab)use it in PIC code, but their linkers get confused if
10238 # the symbol is explicitly referenced. Since portable code cannot
10239 # rely on this symbol name, it's probably fine to never include it in
10240 # preloaded symbol tables.
10241 # Exclude shared library initialization/finalization symbols.
10242 extract_expsyms_cmds=
10245 cygwin* | mingw* | pw32* | cegcc*)
10246 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10247 # When not using gcc, we currently assume that we are using
10248 # Microsoft Visual C++.
10249 if test "$GCC" != yes; then
10254 # we just hope/assume this is gcc and not c89 (= MSVC++)
10264 # On some targets, GNU ld is compatible enough with the native linker
10265 # that we're better off using the native interface for both.
10266 lt_use_gnu_ld_interface=no
10267 if test "$with_gnu_ld" = yes; then
10270 # The AIX port of GNU ld has always aspired to compatibility
10271 # with the native linker. However, as the warning in the GNU ld
10272 # block says, versions before 2.19.5* couldn't really create working
10273 # shared libraries, regardless of the interface used.
10274 case `$LD -v 2>&1` in
10275 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10276 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10277 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10279 lt_use_gnu_ld_interface=yes
10284 lt_use_gnu_ld_interface=yes
10289 if test "$lt_use_gnu_ld_interface" = yes; then
10290 # If archive_cmds runs LD, not CC, wlarc should be empty
10293 # Set some defaults for GNU ld with shared library support. These
10294 # are reset later if shared libraries are not supported. Putting them
10295 # here allows them to be overridden if necessary.
10296 runpath_var=LD_RUN_PATH
10297 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10298 export_dynamic_flag_spec='${wl}--export-dynamic'
10299 # ancient GNU ld didn't support --whole-archive et. al.
10300 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10301 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10303 whole_archive_flag_spec=
10305 supports_anon_versioning=no
10306 case `$LD -v 2>&1` in
10307 *GNU\ gold*) supports_anon_versioning=yes ;;
10308 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10309 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10310 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10311 *\ 2.11.*) ;; # other 2.11 versions
10312 *) supports_anon_versioning=yes ;;
10315 # See if GNU ld supports shared libraries.
10318 # On AIX/PPC, the GNU linker is very broken
10319 if test "$host_cpu" != ia64; then
10323 *** Warning: the GNU linker, at least up to release 2.19, is reported
10324 *** to be unable to reliably create shared libraries on AIX.
10325 *** Therefore, libtool is disabling shared libraries support. If you
10326 *** really care for shared libraries, you may want to install binutils
10327 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10328 *** You will then need to restart the configuration process.
10337 # see comment about AmigaOS4 .so support
10338 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10339 archive_expsym_cmds=''
10342 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)'
10343 hardcode_libdir_flag_spec
='-L$libdir'
10344 hardcode_minus_L
=yes
10350 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10351 allow_undefined_flag
=unsupported
10352 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10353 # support --undefined. This deserves some investigation. FIXME
10354 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10360 cygwin
* | mingw
* | pw32
* | cegcc
*)
10361 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10362 # as there is no search path for DLLs.
10363 hardcode_libdir_flag_spec
='-L$libdir'
10364 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10365 allow_undefined_flag
=unsupported
10366 always_export_symbols
=no
10367 enable_shared_with_static_runtimes
=yes
10368 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10370 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10371 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10372 # If the export-symbols file already is a .def file (1st line
10373 # is EXPORTS), use it as is; otherwise, prepend...
10374 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10375 cp $export_symbols $output_objdir/$soname.def;
10377 echo EXPORTS > $output_objdir/$soname.def;
10378 cat $export_symbols >> $output_objdir/$soname.def;
10380 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10387 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10388 link_all_deplibs
=yes
10393 hardcode_shlibpath_var
=no
10394 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10395 export_dynamic_flag_spec
='${wl}-E'
10396 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10397 # Instead, shared libraries are loaded at an image base (0x10000000 by
10398 # default) and relocated if they conflict, which is a slow very memory
10399 # consuming and fragmenting process. To avoid this, we pick a random,
10400 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10401 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10402 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10403 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'
10406 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10408 if test "$host_os" = linux-dietlibc
; then
10409 case $cc_basename in
10410 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10413 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10414 && test "$tmp_diet" = no
10416 tmp_addflag
=' $pic_flag'
10417 tmp_sharedflag
='-shared'
10418 case $cc_basename,$host_cpu in
10419 pgcc
*) # Portland Group C compiler
10420 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'
10421 tmp_addflag
=' $pic_flag'
10423 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10424 # Portland Group f77 and f90 compilers
10425 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'
10426 tmp_addflag
=' $pic_flag -Mnomain' ;;
10427 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10428 tmp_addflag
=' -i_dynamic' ;;
10429 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10430 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10431 ifc
* | ifort
*) # Intel Fortran compiler
10432 tmp_addflag
=' -nofor_main' ;;
10433 lf95
*) # Lahey Fortran 8.1
10434 whole_archive_flag_spec
=
10435 tmp_sharedflag
='--shared' ;;
10436 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10437 tmp_sharedflag
='-qmkshrobj'
10439 nvcc
*) # Cuda Compiler Driver 2.2
10440 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'
10441 compiler_needs_object
=yes
10444 case `$CC -V 2>&1 | sed 5q` in
10445 *Sun\ C
*) # Sun C 5.9
10446 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'
10447 compiler_needs_object
=yes
10448 tmp_sharedflag
='-G' ;;
10449 *Sun\ F
*) # Sun Fortran 8.3
10450 tmp_sharedflag
='-G' ;;
10452 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10454 if test "x$supports_anon_versioning" = xyes
; then
10455 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10456 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10457 echo "local: *; };" >> $output_objdir/$libname.ver~
10458 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10461 case $cc_basename in
10462 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10463 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10464 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10465 hardcode_libdir_flag_spec
=
10466 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10467 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10468 if test "x$supports_anon_versioning" = xyes
; then
10469 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10470 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10471 echo "local: *; };" >> $output_objdir/$libname.ver~
10472 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10482 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10483 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10486 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10487 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10492 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10496 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10497 *** create shared libraries on Solaris systems. Therefore, libtool
10498 *** is disabling shared libraries support. We urge you to upgrade GNU
10499 *** binutils to release 2.9.1 or newer. Another option is to modify
10500 *** your PATH or compiler configuration so that the native linker is
10501 *** used, and then restart.
10504 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10505 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10506 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10512 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10513 case `$LD -v 2>&1` in
10514 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10518 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10519 *** reliably create shared libraries on SCO systems. Therefore, libtool
10520 *** is disabling shared libraries support. We urge you to upgrade GNU
10521 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10522 *** your PATH or compiler configuration so that the native linker is
10523 *** used, and then restart.
10528 # For security reasons, it is highly recommended that you always
10529 # use absolute paths for naming shared libraries, and exclude the
10530 # DT_RUNPATH tag from executables and libraries. But doing so
10531 # requires that you compile everything twice, which is a pain.
10532 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10533 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10534 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10535 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10544 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10546 hardcode_direct
=yes
10547 hardcode_shlibpath_var
=no
10551 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10552 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10553 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10560 if test "$ld_shlibs" = no
; then
10562 hardcode_libdir_flag_spec
=
10563 export_dynamic_flag_spec
=
10564 whole_archive_flag_spec
=
10567 # PORTME fill in a description of your system's linker (not GNU ld)
10570 allow_undefined_flag
=unsupported
10571 always_export_symbols
=yes
10572 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'
10573 # Note: this linker hardcodes the directories in LIBPATH if there
10574 # are no directories specified by -L.
10575 hardcode_minus_L
=yes
10576 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10577 # Neither direct hardcoding nor static linking is supported with a
10579 hardcode_direct
=unsupported
10584 if test "$host_cpu" = ia64
; then
10585 # On IA64, the linker does run time linking by default, so we don't
10586 # have to do anything special.
10587 aix_use_runtimelinking
=no
10588 exp_sym_flag
='-Bexport'
10591 # If we're using GNU nm, then we don't want the "-C" option.
10592 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10593 # Also, AIX nm treats weak defined symbols like other global
10594 # defined symbols, whereas GNU nm marks them as "W".
10595 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10596 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'
10598 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'
10600 aix_use_runtimelinking
=no
10602 # Test if we are trying to use run time linking or normal
10603 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10604 # need to do runtime linking.
10605 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10606 for ld_flag
in $LDFLAGS; do
10607 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10608 aix_use_runtimelinking
=yes
10615 exp_sym_flag
='-bexport'
10616 no_entry_flag
='-bnoentry'
10619 # When large executables or shared objects are built, AIX ld can
10620 # have problems creating the table of contents. If linking a library
10621 # or program results in "error TOC overflow" add -mminimal-toc to
10622 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10623 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10626 hardcode_direct
=yes
10627 hardcode_direct_absolute
=yes
10628 hardcode_libdir_separator
=':'
10629 link_all_deplibs
=yes
10630 file_list_spec
='${wl}-f,'
10632 if test "$GCC" = yes; then
10633 case $host_os in aix4.
[012]|aix4.
[012].
*)
10634 # We only want to do this on AIX 4.2 and lower, the check
10635 # below for broken collect2 doesn't work under 4.3+
10636 collect2name
=`${CC} -print-prog-name=collect2`
10637 if test -f "$collect2name" &&
10638 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10640 # We have reworked collect2
10643 # We have old collect2
10644 hardcode_direct
=unsupported
10645 # It fails to find uninstalled libraries when the uninstalled
10646 # path is not listed in the libpath. Setting hardcode_minus_L
10647 # to unsupported forces relinking
10648 hardcode_minus_L
=yes
10649 hardcode_libdir_flag_spec
='-L$libdir'
10650 hardcode_libdir_separator
=
10654 shared_flag
='-shared'
10655 if test "$aix_use_runtimelinking" = yes; then
10656 shared_flag
="$shared_flag "'${wl}-G'
10660 if test "$host_cpu" = ia64
; then
10661 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10662 # chokes on -Wl,-G. The following line is correct:
10665 if test "$aix_use_runtimelinking" = yes; then
10666 shared_flag
='${wl}-G'
10668 shared_flag
='${wl}-bM:SRE'
10673 export_dynamic_flag_spec
='${wl}-bexpall'
10674 # It seems that -bexpall does not export symbols beginning with
10675 # underscore (_), so it is better to generate a list of symbols to export.
10676 always_export_symbols
=yes
10677 if test "$aix_use_runtimelinking" = yes; then
10678 # Warning - without using the other runtime loading flags (-brtl),
10679 # -berok will link without error, but may produce a broken library.
10680 allow_undefined_flag
='-berok'
10681 # Determine the default libpath from the value encoded in an
10682 # empty executable.
10683 if test x
$gcc_no_link = xyes
; then
10684 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10697 if ac_fn_c_try_link
"$LINENO"; then :
10699 lt_aix_libpath_sed
='
10700 /Import File Strings/,/^$/ {
10706 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10707 # Check for a 64-bit object if we didn't find anything.
10708 if test -z "$aix_libpath"; then
10709 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10712 rm -f core conftest.err conftest.
$ac_objext \
10713 conftest
$ac_exeext conftest.
$ac_ext
10714 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10716 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10717 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"
10719 if test "$host_cpu" = ia64
; then
10720 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10721 allow_undefined_flag
="-z nodefs"
10722 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"
10724 # Determine the default libpath from the value encoded in an
10725 # empty executable.
10726 if test x
$gcc_no_link = xyes
; then
10727 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10740 if ac_fn_c_try_link
"$LINENO"; then :
10742 lt_aix_libpath_sed
='
10743 /Import File Strings/,/^$/ {
10749 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10750 # Check for a 64-bit object if we didn't find anything.
10751 if test -z "$aix_libpath"; then
10752 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10755 rm -f core conftest.err conftest.
$ac_objext \
10756 conftest
$ac_exeext conftest.
$ac_ext
10757 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10759 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10760 # Warning - without using the other run time loading flags,
10761 # -berok will link without error, but may produce a broken library.
10762 no_undefined_flag
=' ${wl}-bernotok'
10763 allow_undefined_flag
=' ${wl}-berok'
10764 if test "$with_gnu_ld" = yes; then
10765 # We only use this code for GNU lds that support --whole-archive.
10766 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10768 # Exported symbols can be pulled into shared objects from archives
10769 whole_archive_flag_spec
='$convenience'
10771 archive_cmds_need_lc
=yes
10772 # This is similar to how AIX traditionally builds its shared libraries.
10773 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'
10781 # see comment about AmigaOS4 .so support
10782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10783 archive_expsym_cmds
=''
10786 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)'
10787 hardcode_libdir_flag_spec
='-L$libdir'
10788 hardcode_minus_L
=yes
10794 export_dynamic_flag_spec
=-rdynamic
10797 cygwin
* | mingw
* | pw32
* | cegcc
*)
10798 # When not using gcc, we currently assume that we are using
10799 # Microsoft Visual C++.
10800 # hardcode_libdir_flag_spec is actually meaningless, as there is
10801 # no search path for DLLs.
10802 hardcode_libdir_flag_spec
=' '
10803 allow_undefined_flag
=unsupported
10804 # Tell ltmain to make .lib files, not .a files.
10806 # Tell ltmain to make .dll files, not .so files.
10808 # FIXME: Setting linknames here is a bad hack.
10809 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10810 # The linker will automatically build a .lib file if we build a DLL.
10811 old_archive_from_new_cmds
='true'
10812 # FIXME: Should let the user specify the lib program.
10813 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10814 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10815 enable_shared_with_static_runtimes
=yes
10818 darwin
* | rhapsody
*)
10821 archive_cmds_need_lc
=no
10823 hardcode_automatic
=yes
10824 hardcode_shlibpath_var
=unsupported
10825 if test "$lt_cv_ld_force_load" = "yes"; then
10826 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\"`'
10828 whole_archive_flag_spec
=''
10830 link_all_deplibs
=yes
10831 allow_undefined_flag
="$_lt_dar_allow_undefined"
10832 case $cc_basename in
10833 ifort
*) _lt_dar_can_shared
=yes ;;
10834 *) _lt_dar_can_shared
=$GCC ;;
10836 if test "$_lt_dar_can_shared" = "yes"; then
10837 output_verbose_link_cmd
=func_echo_all
10838 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10839 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10840 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}"
10841 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}"
10850 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10851 hardcode_libdir_flag_spec
='-L$libdir'
10852 hardcode_shlibpath_var
=no
10855 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10856 # support. Future versions do this automatically, but an explicit c++rt0.o
10857 # does not break anything, and helps significantly (at the cost of a little
10860 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10861 hardcode_libdir_flag_spec
='-R$libdir'
10862 hardcode_direct
=yes
10863 hardcode_shlibpath_var
=no
10866 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10868 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10869 hardcode_direct
=yes
10870 hardcode_minus_L
=yes
10871 hardcode_shlibpath_var
=no
10874 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10875 freebsd
* | dragonfly
*)
10876 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10877 hardcode_libdir_flag_spec
='-R$libdir'
10878 hardcode_direct
=yes
10879 hardcode_shlibpath_var
=no
10883 if test "$GCC" = yes; then
10884 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'
10886 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'
10888 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10889 hardcode_libdir_separator
=:
10890 hardcode_direct
=yes
10892 # hardcode_minus_L: Not really in the search PATH,
10893 # but as the default location of the library.
10894 hardcode_minus_L
=yes
10895 export_dynamic_flag_spec
='${wl}-E'
10899 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10900 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10902 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10904 if test "$with_gnu_ld" = no
; then
10905 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10906 hardcode_libdir_flag_spec_ld
='+b $libdir'
10907 hardcode_libdir_separator
=:
10908 hardcode_direct
=yes
10909 hardcode_direct_absolute
=yes
10910 export_dynamic_flag_spec
='${wl}-E'
10911 # hardcode_minus_L: Not really in the search PATH,
10912 # but as the default location of the library.
10913 hardcode_minus_L
=yes
10918 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10921 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10933 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10936 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10940 # Older versions of the 11.00 compiler do not understand -b yet
10941 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10943 $as_echo_n "checking if $CC understands -b... " >&6; }
10944 if ${lt_cv_prog_compiler__b+:} false
; then :
10945 $as_echo_n "(cached) " >&6
10947 lt_cv_prog_compiler__b
=no
10948 save_LDFLAGS
="$LDFLAGS"
10949 LDFLAGS
="$LDFLAGS -b"
10950 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10951 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10952 # The linker can only warn and ignore the option if not recognized
10953 # So say no if there are warnings
10954 if test -s conftest.err
; then
10955 # Append any errors to the config.log.
10956 cat conftest.err
1>&5
10957 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10958 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10959 if diff conftest.exp conftest.er2
>/dev
/null
; then
10960 lt_cv_prog_compiler__b
=yes
10963 lt_cv_prog_compiler__b
=yes
10967 LDFLAGS
="$save_LDFLAGS"
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10971 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10973 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10974 archive_cmds
='$CC -b ${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'
10982 if test "$with_gnu_ld" = no
; then
10983 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10984 hardcode_libdir_separator
=:
10989 hardcode_shlibpath_var
=no
10992 hardcode_direct
=yes
10993 hardcode_direct_absolute
=yes
10994 export_dynamic_flag_spec
='${wl}-E'
10996 # hardcode_minus_L: Not really in the search PATH,
10997 # but as the default location of the library.
10998 hardcode_minus_L
=yes
11004 irix5
* | irix6
* | nonstopux
*)
11005 if test "$GCC" = yes; then
11006 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'
11007 # Try to use the -exported_symbol ld option, if it does not
11008 # work, assume that -exports_file does not work either and
11009 # implicitly export all symbols.
11010 save_LDFLAGS
="$LDFLAGS"
11011 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11012 if test x
$gcc_no_link = xyes
; then
11013 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11019 if ac_fn_c_try_link
"$LINENO"; then :
11020 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'
11023 rm -f core conftest.err conftest.
$ac_objext \
11024 conftest
$ac_exeext conftest.
$ac_ext
11025 LDFLAGS
="$save_LDFLAGS"
11027 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'
11028 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'
11030 archive_cmds_need_lc
='no'
11031 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11032 hardcode_libdir_separator
=:
11034 link_all_deplibs
=yes
11038 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11039 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11041 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11043 hardcode_libdir_flag_spec
='-R$libdir'
11044 hardcode_direct
=yes
11045 hardcode_shlibpath_var
=no
11049 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11050 hardcode_direct
=yes
11051 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11052 hardcode_libdir_separator
=:
11053 hardcode_shlibpath_var
=no
11060 if test -f /usr
/libexec
/ld.so
; then
11061 hardcode_direct
=yes
11062 hardcode_shlibpath_var
=no
11063 hardcode_direct_absolute
=yes
11064 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11065 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11066 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11067 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11068 export_dynamic_flag_spec
='${wl}-E'
11071 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11072 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11073 hardcode_libdir_flag_spec
='-R$libdir'
11076 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11077 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11087 hardcode_libdir_flag_spec
='-L$libdir'
11088 hardcode_minus_L
=yes
11089 allow_undefined_flag
=unsupported
11090 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'
11091 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11095 if test "$GCC" = yes; then
11096 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11097 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'
11099 allow_undefined_flag
=' -expect_unresolved \*'
11100 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'
11102 archive_cmds_need_lc
='no'
11103 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11104 hardcode_libdir_separator
=:
11107 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11108 if test "$GCC" = yes; then
11109 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11110 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'
11111 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11113 allow_undefined_flag
=' -expect_unresolved \*'
11114 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'
11115 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~
11116 $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'
11118 # Both c and cxx compiler support -rpath directly
11119 hardcode_libdir_flag_spec
='-rpath $libdir'
11121 archive_cmds_need_lc
='no'
11122 hardcode_libdir_separator
=:
11126 no_undefined_flag
=' -z defs'
11127 if test "$GCC" = yes; then
11129 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11130 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11131 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11133 case `$CC -V 2>&1` in
11136 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11137 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11138 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11142 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11143 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11144 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11148 hardcode_libdir_flag_spec
='-R$libdir'
11149 hardcode_shlibpath_var
=no
11151 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11153 # The compiler driver will combine and reorder linker options,
11154 # but understands `-z linker_flag'. GCC discards it without `$wl',
11155 # but is careful enough not to reorder.
11156 # Supported since Solaris 2.6 (maybe 2.5.1?)
11157 if test "$GCC" = yes; then
11158 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11160 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11164 link_all_deplibs
=yes
11168 if test "x$host_vendor" = xsequent
; then
11169 # Use $CC to link under sequent, because it throws in some extra .o
11170 # files that make .init and .fini sections work.
11171 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11173 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11175 hardcode_libdir_flag_spec
='-L$libdir'
11176 hardcode_direct
=yes
11177 hardcode_minus_L
=yes
11178 hardcode_shlibpath_var
=no
11182 case $host_vendor in
11184 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11185 hardcode_direct
=yes # is this really true???
11188 ## LD is ld it makes a PLAMLIB
11189 ## CC just makes a GrossModule.
11190 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11191 reload_cmds
='$CC -r -o $output$reload_objs'
11195 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11196 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11199 runpath_var
='LD_RUN_PATH'
11200 hardcode_shlibpath_var
=no
11204 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11205 hardcode_shlibpath_var
=no
11206 export_dynamic_flag_spec
='-Bexport'
11210 if test -d /usr
/nec
; then
11211 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11212 hardcode_shlibpath_var
=no
11213 runpath_var
=LD_RUN_PATH
11214 hardcode_runpath_var
=yes
11219 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11220 no_undefined_flag
='${wl}-z,text'
11221 archive_cmds_need_lc
=no
11222 hardcode_shlibpath_var
=no
11223 runpath_var
='LD_RUN_PATH'
11225 if test "$GCC" = yes; then
11226 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11227 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11229 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11230 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11234 sysv5
* | sco3.2v5
* | sco5v6
*)
11235 # Note: We can NOT use -z defs as we might desire, because we do not
11236 # link with -lc, and that would cause any symbols used from libc to
11237 # always be unresolved, which means just about no library would
11238 # ever link correctly. If we're not using GNU ld we use -z text
11239 # though, which does catch some bad symbols but isn't as heavy-handed
11241 no_undefined_flag
='${wl}-z,text'
11242 allow_undefined_flag
='${wl}-z,nodefs'
11243 archive_cmds_need_lc
=no
11244 hardcode_shlibpath_var
=no
11245 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11246 hardcode_libdir_separator
=':'
11247 link_all_deplibs
=yes
11248 export_dynamic_flag_spec
='${wl}-Bexport'
11249 runpath_var
='LD_RUN_PATH'
11251 if test "$GCC" = yes; then
11252 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11253 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11255 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11256 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11262 hardcode_libdir_flag_spec
='-L$libdir'
11263 hardcode_shlibpath_var
=no
11271 if test x
$host_vendor = xsni
; then
11273 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11274 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11281 $as_echo "$ld_shlibs" >&6; }
11282 test "$ld_shlibs" = no
&& can_build_shared
=no
11284 with_gnu_ld
=$with_gnu_ld
11301 # Do we need to explicitly link libc?
11303 case "x$archive_cmds_need_lc" in
11305 # Assume -lc should be added
11306 archive_cmds_need_lc
=yes
11308 if test "$enable_shared" = yes && test "$GCC" = yes; then
11309 case $archive_cmds in
11311 # FIXME: we may have to deal with multi-command sequences.
11314 # Test whether the compiler implicitly links with -lc since on some
11315 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11316 # to ld, don't add -lc before -lgcc.
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11318 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11319 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11320 $as_echo_n "(cached) " >&6
11323 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11326 (eval $ac_compile) 2>&5
11328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11329 test $ac_status = 0; } 2>conftest.err
; then
11332 libobjs
=conftest.
$ac_objext
11334 wl
=$lt_prog_compiler_wl
11335 pic_flag
=$lt_prog_compiler_pic
11341 lt_save_allow_undefined_flag
=$allow_undefined_flag
11342 allow_undefined_flag
=
11343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11344 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11347 test $ac_status = 0; }
11349 lt_cv_archive_cmds_need_lc
=no
11351 lt_cv_archive_cmds_need_lc
=yes
11353 allow_undefined_flag
=$lt_save_allow_undefined_flag
11355 cat conftest.err
1>&5
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11361 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11362 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11526 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11528 if test "$GCC" = yes; then
11530 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11531 *) lt_awk_arg
="/^libraries:/" ;;
11534 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11535 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11537 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11538 case $lt_search_path_spec in
11540 # if the path contains ";" then we assume it to be the separator
11541 # otherwise default to the standard path separator (i.e. ":") - it is
11542 # assumed that no part of a normal pathname contains ";" but that should
11543 # okay in the real world where ";" in dirpaths is itself problematic.
11544 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11547 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11550 # Ok, now we have the path, separated by spaces, we can step through it
11551 # and add multilib dir if necessary.
11552 lt_tmp_lt_search_path_spec
=
11553 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11554 for lt_sys_path
in $lt_search_path_spec; do
11555 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11556 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11558 test -d "$lt_sys_path" && \
11559 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11562 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11563 BEGIN {RS=" "; FS="/|\n";} {
11566 for (lt_i = NF; lt_i > 0; lt_i--) {
11567 if ($lt_i != "" && $lt_i != ".") {
11568 if ($lt_i == "..") {
11571 if (lt_count == 0) {
11572 lt_foo="/" $lt_i lt_foo;
11579 if (lt_foo != "") { lt_freq[lt_foo]++; }
11580 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11582 # AWK program above erroneously prepends '/' to C:/dos/paths
11585 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11586 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11588 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11590 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11592 library_names_spec
=
11593 libname_spec
='lib$name'
11597 postuninstall_cmds
=
11601 shlibpath_overrides_runpath
=unknown
11603 dynamic_linker
="$host_os ld.so"
11604 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11605 need_lib_prefix
=unknown
11606 hardcode_into_libs
=no
11608 # when you set need_version to no, make sure it does not cause -set_version
11609 # flags to be left without arguments
11610 need_version
=unknown
11615 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11616 shlibpath_var
=LIBPATH
11618 # AIX 3 has no versioning support, so we append a major version to the name.
11619 soname_spec
='${libname}${release}${shared_ext}$major'
11626 hardcode_into_libs
=yes
11627 if test "$host_cpu" = ia64
; then
11628 # AIX 5 supports IA64
11629 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11630 shlibpath_var
=LD_LIBRARY_PATH
11632 # With GCC up to 2.95.x, collect2 would create an import file
11633 # for dependence libraries. The import file would start with
11634 # the line `#! .'. This would cause the generated library to
11635 # depend on `.', always an invalid library. This was fixed in
11636 # development snapshots of GCC prior to 3.0.
11638 aix4 | aix4.
[01] | aix4.
[01].
*)
11639 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11641 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11644 can_build_shared
=no
11648 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11649 # soname into executable. Probably we can add versioning support to
11650 # collect2, so additional links can be useful in future.
11651 if test "$aix_use_runtimelinking" = yes; then
11652 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11653 # instead of lib<name>.a to let people know that these are not
11654 # typical AIX shared libraries.
11655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11657 # We preserve .a as extension for shared libraries through AIX4.2
11658 # and later when we are not doing run time linking.
11659 library_names_spec
='${libname}${release}.a $libname.a'
11660 soname_spec
='${libname}${release}${shared_ext}$major'
11662 shlibpath_var
=LIBPATH
11669 # Since July 2007 AmigaOS4 officially supports .so libraries.
11670 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11674 library_names_spec
='$libname.ixlibrary $libname.a'
11675 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11676 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'
11682 library_names_spec
='${libname}${shared_ext}'
11683 dynamic_linker
="$host_os ld.so"
11684 shlibpath_var
=LIBRARY_PATH
11690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11691 soname_spec
='${libname}${release}${shared_ext}$major'
11692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11693 shlibpath_var
=LD_LIBRARY_PATH
11694 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11695 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11696 # the default ld.so.conf also contains /usr/contrib/lib and
11697 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11698 # libtool to hard-code these into programs
11701 cygwin
* | mingw
* | pw32
* | cegcc
*)
11702 version_type
=windows
11707 case $GCC,$host_os in
11708 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11709 library_names_spec
='$libname.dll.a'
11710 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11711 postinstall_cmds
='base_file=`basename \${file}`~
11712 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11713 dldir=$destdir/`dirname \$dlpath`~
11714 test -d \$dldir || mkdir -p \$dldir~
11715 $install_prog $dir/$dlname \$dldir/$dlname~
11716 chmod a+x \$dldir/$dlname~
11717 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11718 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11720 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11721 dlpath=$dir/\$dldll~
11723 shlibpath_overrides_runpath
=yes
11727 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11728 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11730 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11733 # MinGW DLLs use traditional 'lib' prefix
11734 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11737 # pw32 DLLs use 'pw' prefix rather than 'lib'
11738 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11744 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11747 dynamic_linker
='Win32 ld.exe'
11748 # FIXME: first we should search . and the directory the executable is in
11752 darwin
* | rhapsody
*)
11753 dynamic_linker
="$host_os dyld"
11754 version_type
=darwin
11757 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11758 soname_spec
='${libname}${release}${major}$shared_ext'
11759 shlibpath_overrides_runpath
=yes
11760 shlibpath_var
=DYLD_LIBRARY_PATH
11761 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11763 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11764 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11772 soname_spec
='${libname}${release}${shared_ext}$major'
11773 shlibpath_var
=LD_LIBRARY_PATH
11776 freebsd
* | dragonfly
*)
11777 # DragonFly does not have aout. When/if they implement a new
11778 # versioning mechanism, adjust this.
11779 if test -x /usr
/bin
/objformat
; then
11780 objformat
=`/usr/bin/objformat`
11783 freebsd
[23].
*) objformat
=aout
;;
11784 *) objformat
=elf
;;
11787 version_type
=freebsd-
$objformat
11788 case $version_type in
11790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11795 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11799 shlibpath_var
=LD_LIBRARY_PATH
11802 shlibpath_overrides_runpath
=yes
11804 freebsd3.
[01]* | freebsdelf3.
[01]*)
11805 shlibpath_overrides_runpath
=yes
11806 hardcode_into_libs
=yes
11808 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11809 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11810 shlibpath_overrides_runpath
=no
11811 hardcode_into_libs
=yes
11813 *) # from 4.6 on, and DragonFly
11814 shlibpath_overrides_runpath
=yes
11815 hardcode_into_libs
=yes
11824 dynamic_linker
="$host_os runtime_loader"
11825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11826 soname_spec
='${libname}${release}${shared_ext}$major'
11827 shlibpath_var
=LIBRARY_PATH
11828 shlibpath_overrides_runpath
=yes
11829 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11830 hardcode_into_libs
=yes
11833 hpux9
* | hpux10
* | hpux11
*)
11834 # Give a soname corresponding to the major version so that dld.sl refuses to
11835 # link against other versions.
11842 hardcode_into_libs
=yes
11843 dynamic_linker
="$host_os dld.so"
11844 shlibpath_var
=LD_LIBRARY_PATH
11845 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11847 soname_spec
='${libname}${release}${shared_ext}$major'
11848 if test "X$HPUX_IA64_MODE" = X32
; then
11849 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11851 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11853 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11857 hardcode_into_libs
=yes
11858 dynamic_linker
="$host_os dld.sl"
11859 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11860 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11862 soname_spec
='${libname}${release}${shared_ext}$major'
11863 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11864 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11868 dynamic_linker
="$host_os dld.sl"
11869 shlibpath_var
=SHLIB_PATH
11870 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11872 soname_spec
='${libname}${release}${shared_ext}$major'
11875 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11876 postinstall_cmds
='chmod 555 $lib'
11877 # or fails outright, so override atomically:
11878 install_override_mode
=555
11885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11886 soname_spec
='${libname}${release}${shared_ext}$major'
11887 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11888 shlibpath_var
=LD_LIBRARY_PATH
11889 shlibpath_overrides_runpath
=no
11890 hardcode_into_libs
=yes
11893 irix5
* | irix6
* | nonstopux
*)
11895 nonstopux
*) version_type
=nonstopux
;;
11897 if test "$lt_cv_prog_gnu_ld" = yes; then
11905 soname_spec
='${libname}${release}${shared_ext}$major'
11906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11908 irix5
* | nonstopux
*)
11909 libsuff
= shlibsuff
=
11912 case $LD in # libtool.m4 will add one of these switches to LD
11913 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11914 libsuff
= shlibsuff
= libmagic
=32-bit;;
11915 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11916 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11917 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11918 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11919 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11923 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11924 shlibpath_overrides_runpath
=no
11925 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11926 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11927 hardcode_into_libs
=yes
11930 # No shared lib support for Linux oldld, aout, or coff.
11931 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11935 # This must be Linux ELF.
11937 # uclinux* changes (here and below) have been submitted to the libtool
11938 # project, but have not yet been accepted: they are GCC-local changes
11939 # for the time being. (See
11940 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11941 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
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'
11947 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11948 shlibpath_var
=LD_LIBRARY_PATH
11949 shlibpath_overrides_runpath
=no
11951 # Some binutils ld are patched to set DT_RUNPATH
11952 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11953 $as_echo_n "(cached) " >&6
11955 lt_cv_shlibpath_overrides_runpath
=no
11956 save_LDFLAGS
=$LDFLAGS
11957 save_libdir
=$libdir
11958 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11959 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11960 if test x
$gcc_no_link = xyes
; then
11961 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11974 if ac_fn_c_try_link
"$LINENO"; then :
11975 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11976 lt_cv_shlibpath_overrides_runpath
=yes
11979 rm -f core conftest.err conftest.
$ac_objext \
11980 conftest
$ac_exeext conftest.
$ac_ext
11981 LDFLAGS
=$save_LDFLAGS
11982 libdir
=$save_libdir
11986 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11988 # This implies no fast_install, which is unacceptable.
11989 # Some rework will be needed to allow for fast_install
11990 # before this can be enabled.
11991 hardcode_into_libs
=yes
11993 # Append ld.so.conf contents to the search path
11994 if test -f /etc
/ld.so.conf
; then
11995 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' ' '`
11996 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11999 # We used to test for /lib/ld.so.1 and disable shared libraries on
12000 # powerpc, because MkLinux only supported shared libraries with the
12001 # GNU dynamic linker. Since this was broken with cross compilers,
12002 # most powerpc-linux boxes support dynamic linking these days and
12003 # people can always --disable-shared, the test was removed, and we
12004 # assume the GNU/Linux dynamic linker is in use.
12005 dynamic_linker
='GNU/Linux ld.so'
12012 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12014 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12015 dynamic_linker
='NetBSD (a.out) ld.so'
12017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12018 soname_spec
='${libname}${release}${shared_ext}$major'
12019 dynamic_linker
='NetBSD ld.elf_so'
12021 shlibpath_var
=LD_LIBRARY_PATH
12022 shlibpath_overrides_runpath
=yes
12023 hardcode_into_libs
=yes
12028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12029 shlibpath_var
=LD_LIBRARY_PATH
12030 shlibpath_overrides_runpath
=yes
12037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12038 soname_spec
='${libname}${release}${shared_ext}$major'
12039 shlibpath_var
=LD_LIBRARY_PATH
12040 shlibpath_overrides_runpath
=no
12041 hardcode_into_libs
=yes
12042 dynamic_linker
='ldqnx.so'
12047 sys_lib_dlsearch_path_spec
="/usr/lib"
12049 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12051 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12052 *) need_version
=no
;;
12054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12055 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12056 shlibpath_var
=LD_LIBRARY_PATH
12057 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12059 openbsd2.
[89] | openbsd2.
[89].
*)
12060 shlibpath_overrides_runpath
=no
12063 shlibpath_overrides_runpath
=yes
12067 shlibpath_overrides_runpath
=yes
12072 libname_spec
='$name'
12075 library_names_spec
='$libname${shared_ext} $libname.a'
12076 dynamic_linker
='OS/2 ld.exe'
12077 shlibpath_var
=LIBPATH
12080 osf3
* | osf4
* | osf5
*)
12084 soname_spec
='${libname}${release}${shared_ext}$major'
12085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12086 shlibpath_var
=LD_LIBRARY_PATH
12087 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12088 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12100 soname_spec
='${libname}${release}${shared_ext}$major'
12101 shlibpath_var
=LD_LIBRARY_PATH
12102 shlibpath_overrides_runpath
=yes
12103 hardcode_into_libs
=yes
12104 # ldd complains unless libraries are executable
12105 postinstall_cmds
='chmod +x $lib'
12110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12111 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12112 shlibpath_var
=LD_LIBRARY_PATH
12113 shlibpath_overrides_runpath
=yes
12114 if test "$with_gnu_ld" = yes; then
12122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12123 soname_spec
='${libname}${release}${shared_ext}$major'
12124 shlibpath_var
=LD_LIBRARY_PATH
12125 case $host_vendor in
12127 shlibpath_overrides_runpath
=no
12129 runpath_var
=LD_RUN_PATH
12137 shlibpath_overrides_runpath
=no
12138 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12144 if test -d /usr
/nec
;then
12146 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12147 soname_spec
='$libname${shared_ext}.$major'
12148 shlibpath_var
=LD_LIBRARY_PATH
12152 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12153 version_type
=freebsd-elf
12156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12157 soname_spec
='${libname}${release}${shared_ext}$major'
12158 shlibpath_var
=LD_LIBRARY_PATH
12159 shlibpath_overrides_runpath
=yes
12160 hardcode_into_libs
=yes
12161 if test "$with_gnu_ld" = yes; then
12162 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12164 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12167 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12171 sys_lib_dlsearch_path_spec
='/usr/lib'
12175 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12180 shlibpath_var
=LD_LIBRARY_PATH
12181 shlibpath_overrides_runpath
=no
12182 hardcode_into_libs
=yes
12187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12188 soname_spec
='${libname}${release}${shared_ext}$major'
12189 shlibpath_var
=LD_LIBRARY_PATH
12192 # Shared libraries for VwWorks, >= 7 only at this stage
12193 # and (fpic) still incompatible with "large" code models
12194 # in a few configurations. Only for RTP mode in any case,
12195 # and upon explicit request at configure time.
12198 case ${with_multisubdir}-${enable_shared} in
12205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12206 soname_spec
='${libname}${release}${shared_ext}$major'
12207 dynamic_linker
="$host_os module_loader"
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12216 $as_echo "$dynamic_linker" >&6; }
12217 test "$dynamic_linker" = no
&& can_build_shared
=no
12219 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12220 if test "$GCC" = yes; then
12221 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12224 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12225 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12227 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12228 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12323 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12325 if test -n "$hardcode_libdir_flag_spec" ||
12326 test -n "$runpath_var" ||
12327 test "X$hardcode_automatic" = "Xyes" ; then
12329 # We can hardcode non-existent directories.
12330 if test "$hardcode_direct" != no
&&
12331 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12332 # have to relink, otherwise we might link with an installed library
12333 # when we should be linking with a yet-to-be-installed one
12334 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12335 test "$hardcode_minus_L" != no
; then
12336 # Linking always hardcodes the temporary library directory.
12337 hardcode_action
=relink
12339 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12340 hardcode_action
=immediate
12343 # We cannot hardcode anything, or else we can only hardcode existing
12345 hardcode_action
=unsupported
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12348 $as_echo "$hardcode_action" >&6; }
12350 if test "$hardcode_action" = relink ||
12351 test "$inherit_rpath" = yes; then
12352 # Fast installation is not supported
12353 enable_fast_install
=no
12354 elif test "$shlibpath_overrides_runpath" = yes ||
12355 test "$enable_shared" = no
; then
12356 # Fast installation is not necessary
12357 enable_fast_install
=needless
12365 if test "x$enable_dlopen" != xyes
; then
12366 enable_dlopen
=unknown
12367 enable_dlopen_self
=unknown
12368 enable_dlopen_self_static
=unknown
12375 lt_cv_dlopen
="load_add_on"
12377 lt_cv_dlopen_self
=yes
12380 mingw
* | pw32
* | cegcc
*)
12381 lt_cv_dlopen
="LoadLibrary"
12386 lt_cv_dlopen
="dlopen"
12391 # if libdl is installed we need to link against it
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12393 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12394 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12395 $as_echo_n "(cached) " >&6
12397 ac_check_lib_save_LIBS
=$LIBS
12399 if test x
$gcc_no_link = xyes
; then
12400 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12420 if ac_fn_c_try_link
"$LINENO"; then :
12421 ac_cv_lib_dl_dlopen
=yes
12423 ac_cv_lib_dl_dlopen
=no
12425 rm -f core conftest.err conftest.
$ac_objext \
12426 conftest
$ac_exeext conftest.
$ac_ext
12427 LIBS
=$ac_check_lib_save_LIBS
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12430 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12431 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12432 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12435 lt_cv_dlopen
="dyld"
12437 lt_cv_dlopen_self
=yes
12444 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12445 if test "x$ac_cv_func_shl_load" = xyes
; then :
12446 lt_cv_dlopen
="shl_load"
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12449 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12450 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12451 $as_echo_n "(cached) " >&6
12453 ac_check_lib_save_LIBS
=$LIBS
12455 if test x
$gcc_no_link = xyes
; then
12456 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12471 return shl_load ();
12476 if ac_fn_c_try_link
"$LINENO"; then :
12477 ac_cv_lib_dld_shl_load
=yes
12479 ac_cv_lib_dld_shl_load
=no
12481 rm -f core conftest.err conftest.
$ac_objext \
12482 conftest
$ac_exeext conftest.
$ac_ext
12483 LIBS
=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12486 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12487 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12488 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12490 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12491 if test "x$ac_cv_func_dlopen" = xyes
; then :
12492 lt_cv_dlopen
="dlopen"
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12495 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12496 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12497 $as_echo_n "(cached) " >&6
12499 ac_check_lib_save_LIBS
=$LIBS
12501 if test x
$gcc_no_link = xyes
; then
12502 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12522 if ac_fn_c_try_link
"$LINENO"; then :
12523 ac_cv_lib_dl_dlopen
=yes
12525 ac_cv_lib_dl_dlopen
=no
12527 rm -f core conftest.err conftest.
$ac_objext \
12528 conftest
$ac_exeext conftest.
$ac_ext
12529 LIBS
=$ac_check_lib_save_LIBS
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12532 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12533 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12534 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12537 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12538 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12539 $as_echo_n "(cached) " >&6
12541 ac_check_lib_save_LIBS
=$LIBS
12542 LIBS
="-lsvld $LIBS"
12543 if test x
$gcc_no_link = xyes
; then
12544 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12549 /* Override any GCC internal prototype to avoid an error.
12550 Use char because int might match the return type of a GCC
12551 builtin and then its argument prototype would still apply. */
12564 if ac_fn_c_try_link
"$LINENO"; then :
12565 ac_cv_lib_svld_dlopen
=yes
12567 ac_cv_lib_svld_dlopen
=no
12569 rm -f core conftest.err conftest.
$ac_objext \
12570 conftest
$ac_exeext conftest.
$ac_ext
12571 LIBS
=$ac_check_lib_save_LIBS
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12574 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12575 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12576 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12579 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12580 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12581 $as_echo_n "(cached) " >&6
12583 ac_check_lib_save_LIBS
=$LIBS
12585 if test x
$gcc_no_link = xyes
; then
12586 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12601 return dld_link ();
12606 if ac_fn_c_try_link
"$LINENO"; then :
12607 ac_cv_lib_dld_dld_link
=yes
12609 ac_cv_lib_dld_dld_link
=no
12611 rm -f core conftest.err conftest.
$ac_objext \
12612 conftest
$ac_exeext conftest.
$ac_ext
12613 LIBS
=$ac_check_lib_save_LIBS
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12616 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12617 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12618 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12639 if test "x$lt_cv_dlopen" != xno
; then
12645 case $lt_cv_dlopen in
12647 save_CPPFLAGS
="$CPPFLAGS"
12648 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12650 save_LDFLAGS
="$LDFLAGS"
12651 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12654 LIBS
="$lt_cv_dlopen_libs $LIBS"
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12657 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12658 if ${lt_cv_dlopen_self+:} false
; then :
12659 $as_echo_n "(cached) " >&6
12661 if test "$cross_compiling" = yes; then :
12662 lt_cv_dlopen_self
=cross
12664 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12665 lt_status
=$lt_dlunknown
12666 cat > conftest.
$ac_ext <<_LT_EOF
12667 #line 12667 "configure"
12668 #include "confdefs.h"
12677 # define LT_DLGLOBAL RTLD_GLOBAL
12680 # define LT_DLGLOBAL DL_GLOBAL
12682 # define LT_DLGLOBAL 0
12686 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12687 find out it does not work in some platform. */
12688 #ifndef LT_DLLAZY_OR_NOW
12690 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12693 # define LT_DLLAZY_OR_NOW DL_LAZY
12696 # define LT_DLLAZY_OR_NOW RTLD_NOW
12699 # define LT_DLLAZY_OR_NOW DL_NOW
12701 # define LT_DLLAZY_OR_NOW 0
12708 /* When -fvisbility=hidden is used, assume the code has been annotated
12709 correspondingly for the symbols needed. */
12710 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12711 void fnord () __attribute__((visibility("default")));
12714 void fnord () { int i=42; }
12717 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12718 int status = $lt_dlunknown;
12722 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12725 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12726 else puts (dlerror ());
12728 /* dlclose (self); */
12736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12737 (eval $ac_link) 2>&5
12739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12740 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12741 (.
/conftest
; exit; ) >&5 2>/dev
/null
12743 case x
$lt_status in
12744 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12745 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12746 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12749 # compilation failed
12750 lt_cv_dlopen_self
=no
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12758 $as_echo "$lt_cv_dlopen_self" >&6; }
12760 if test "x$lt_cv_dlopen_self" = xyes
; then
12761 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12763 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12764 if ${lt_cv_dlopen_self_static+:} false
; then :
12765 $as_echo_n "(cached) " >&6
12767 if test "$cross_compiling" = yes; then :
12768 lt_cv_dlopen_self_static
=cross
12770 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12771 lt_status
=$lt_dlunknown
12772 cat > conftest.
$ac_ext <<_LT_EOF
12773 #line 12773 "configure"
12774 #include "confdefs.h"
12783 # define LT_DLGLOBAL RTLD_GLOBAL
12786 # define LT_DLGLOBAL DL_GLOBAL
12788 # define LT_DLGLOBAL 0
12792 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12793 find out it does not work in some platform. */
12794 #ifndef LT_DLLAZY_OR_NOW
12796 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12799 # define LT_DLLAZY_OR_NOW DL_LAZY
12802 # define LT_DLLAZY_OR_NOW RTLD_NOW
12805 # define LT_DLLAZY_OR_NOW DL_NOW
12807 # define LT_DLLAZY_OR_NOW 0
12814 /* When -fvisbility=hidden is used, assume the code has been annotated
12815 correspondingly for the symbols needed. */
12816 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12817 void fnord () __attribute__((visibility("default")));
12820 void fnord () { int i=42; }
12823 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12824 int status = $lt_dlunknown;
12828 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12831 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12832 else puts (dlerror ());
12834 /* dlclose (self); */
12842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12843 (eval $ac_link) 2>&5
12845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12846 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12847 (.
/conftest
; exit; ) >&5 2>/dev
/null
12849 case x
$lt_status in
12850 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12851 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12852 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12855 # compilation failed
12856 lt_cv_dlopen_self_static
=no
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12864 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12867 CPPFLAGS
="$save_CPPFLAGS"
12868 LDFLAGS
="$save_LDFLAGS"
12873 case $lt_cv_dlopen_self in
12874 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12875 *) enable_dlopen_self
=unknown
;;
12878 case $lt_cv_dlopen_self_static in
12879 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12880 *) enable_dlopen_self_static
=unknown
;;
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12903 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12904 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12905 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12906 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12908 $as_echo "yes" >&6; }
12910 # FIXME - insert some real tests, host_os isn't really good enough
12913 if test -n "$STRIP" ; then
12914 striplib
="$STRIP -x"
12915 old_striplib
="$STRIP -S"
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12917 $as_echo "yes" >&6; }
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12920 $as_echo "no" >&6; }
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12925 $as_echo "no" >&6; }
12941 # Report which library types will actually be built
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12943 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12945 $as_echo "$can_build_shared" >&6; }
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12948 $as_echo_n "checking whether to build shared libraries... " >&6; }
12949 test "$can_build_shared" = "no" && enable_shared
=no
12951 # On AIX, shared libraries and static libraries use the same namespace, and
12952 # are all built from PIC.
12955 test "$enable_shared" = yes && enable_static
=no
12956 if test -n "$RANLIB"; then
12957 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12958 postinstall_cmds
='$RANLIB $lib'
12963 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12964 test "$enable_shared" = yes && enable_static
=no
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12969 $as_echo "$enable_shared" >&6; }
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12972 $as_echo_n "checking whether to build static libraries... " >&6; }
12973 # Make sure either enable_shared or enable_static is yes.
12974 test "$enable_shared" = yes || enable_static
=yes
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12976 $as_echo "$enable_static" >&6; }
12983 ac_cpp
='$CPP $CPPFLAGS'
12984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12990 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12991 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12992 (test "X$CXX" != "Xg++"))) ; then
12994 ac_cpp
='$CXXCPP $CPPFLAGS'
12995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12999 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13000 if test -z "$CXXCPP"; then
13001 if ${ac_cv_prog_CXXCPP+:} false
; then :
13002 $as_echo_n "(cached) " >&6
13004 # Double quotes because CXXCPP needs to be expanded
13005 for CXXCPP
in "$CXX -E" "/lib/cpp"
13007 ac_preproc_ok
=false
13008 for ac_cxx_preproc_warn_flag
in '' yes
13010 # Use a header file that comes with gcc, so configuring glibc
13011 # with a fresh cross-compiler works.
13012 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13013 # <limits.h> exists even on freestanding compilers.
13014 # On the NeXT, cc -E runs the code through the compiler's parser,
13015 # not just through cpp. "Syntax error" is here to catch this case.
13016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 # include <limits.h>
13021 # include <assert.h>
13025 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13028 # Broken: fails on valid input.
13031 rm -f conftest.err conftest.i conftest.
$ac_ext
13033 # OK, works on sane cases. Now check whether nonexistent headers
13034 # can be detected and how.
13035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13037 #include <ac_nonexistent.h>
13039 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13040 # Broken: success on invalid input.
13043 # Passes both tests.
13047 rm -f conftest.err conftest.i conftest.
$ac_ext
13050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13051 rm -f conftest.i conftest.err conftest.
$ac_ext
13052 if $ac_preproc_ok; then :
13057 ac_cv_prog_CXXCPP
=$CXXCPP
13060 CXXCPP
=$ac_cv_prog_CXXCPP
13062 ac_cv_prog_CXXCPP
=$CXXCPP
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13065 $as_echo "$CXXCPP" >&6; }
13066 ac_preproc_ok
=false
13067 for ac_cxx_preproc_warn_flag
in '' yes
13069 # Use a header file that comes with gcc, so configuring glibc
13070 # with a fresh cross-compiler works.
13071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13072 # <limits.h> exists even on freestanding compilers.
13073 # On the NeXT, cc -E runs the code through the compiler's parser,
13074 # not just through cpp. "Syntax error" is here to catch this case.
13075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13078 # include <limits.h>
13080 # include <assert.h>
13084 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13087 # Broken: fails on valid input.
13090 rm -f conftest.err conftest.i conftest.
$ac_ext
13092 # OK, works on sane cases. Now check whether nonexistent headers
13093 # can be detected and how.
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13096 #include <ac_nonexistent.h>
13098 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13099 # Broken: success on invalid input.
13102 # Passes both tests.
13106 rm -f conftest.err conftest.i conftest.
$ac_ext
13109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13110 rm -f conftest.i conftest.err conftest.
$ac_ext
13111 if $ac_preproc_ok; then :
13114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13116 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13117 See \`config.log' for more details" "$LINENO" 5; }
13121 ac_cpp
='$CPP $CPPFLAGS'
13122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13127 _lt_caught_CXX_error
=yes
13131 ac_cpp
='$CXXCPP $CPPFLAGS'
13132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13136 archive_cmds_need_lc_CXX
=no
13137 allow_undefined_flag_CXX
=
13138 always_export_symbols_CXX
=no
13139 archive_expsym_cmds_CXX
=
13140 compiler_needs_object_CXX
=no
13141 export_dynamic_flag_spec_CXX
=
13142 hardcode_direct_CXX
=no
13143 hardcode_direct_absolute_CXX
=no
13144 hardcode_libdir_flag_spec_CXX
=
13145 hardcode_libdir_flag_spec_ld_CXX
=
13146 hardcode_libdir_separator_CXX
=
13147 hardcode_minus_L_CXX
=no
13148 hardcode_shlibpath_var_CXX
=unsupported
13149 hardcode_automatic_CXX
=no
13150 inherit_rpath_CXX
=no
13152 module_expsym_cmds_CXX
=
13153 link_all_deplibs_CXX
=unknown
13154 old_archive_cmds_CXX
=$old_archive_cmds
13155 reload_flag_CXX
=$reload_flag
13156 reload_cmds_CXX
=$reload_cmds
13157 no_undefined_flag_CXX
=
13158 whole_archive_flag_spec_CXX
=
13159 enable_shared_with_static_runtimes_CXX
=no
13161 # Source file extension for C++ test sources.
13164 # Object file extension for compiled C++ test sources.
13168 # No sense in running all these tests if we already determined that
13169 # the CXX compiler isn't working. Some variables (like enable_shared)
13170 # are currently assumed to apply to all compilers on this platform,
13171 # and will be corrupted by setting them based on a non-working compiler.
13172 if test "$_lt_caught_CXX_error" != yes; then
13173 # Code to be used in simple compile tests
13174 lt_simple_compile_test_code
="int some_variable = 0;"
13176 # Code to be used in simple link tests
13177 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13179 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13186 # If no C compiler was specified, use CC.
13189 # If no C compiler flags were specified, use CFLAGS.
13190 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13192 # Allow CC to be a program name with arguments.
13196 # save warnings/boilerplate of simple test code
13197 ac_outfile
=conftest.
$ac_objext
13198 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13199 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13200 _lt_compiler_boilerplate
=`cat conftest.err`
13203 ac_outfile
=conftest.
$ac_objext
13204 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13205 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13206 _lt_linker_boilerplate
=`cat conftest.err`
13210 # Allow CC to be a program name with arguments.
13215 lt_save_with_gnu_ld
=$with_gnu_ld
13216 lt_save_path_LD
=$lt_cv_path_LD
13217 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13218 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13220 $as_unset lt_cv_prog_gnu_ld
13222 if test -n "${lt_cv_path_LDCXX+set}"; then
13223 lt_cv_path_LD
=$lt_cv_path_LDCXX
13225 $as_unset lt_cv_path_LD
13227 test -z "${LDCXX+set}" || LD
=$LDCXX
13231 for cc_temp
in $compiler""; do
13233 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13234 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13239 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13242 if test -n "$compiler"; then
13243 # We don't want -fno-exception when compiling C++ code, so set the
13244 # no_builtin_flag separately
13245 if test "$GXX" = yes; then
13246 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13248 lt_prog_compiler_no_builtin_flag_CXX
=
13251 if test "$GXX" = yes; then
13252 # Set up default GNU C++ configuration
13256 # Check whether --with-gnu-ld was given.
13257 if test "${with_gnu_ld+set}" = set; then :
13258 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13264 if test "$GCC" = yes; then
13265 # Check if gcc -print-prog-name=ld gives a path.
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13267 $as_echo_n "checking for ld used by $CC... " >&6; }
13270 # gcc leaves a trailing carriage return which upsets mingw
13271 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13273 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13276 # Accept absolute paths.
13278 re_direlt
='/[^/][^/]*/\.\./'
13279 # Canonicalize the pathname of ld
13280 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13281 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13282 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13284 test -z "$LD" && LD
="$ac_prog"
13287 # If it fails, then pretend we aren't using GCC.
13291 # If it is relative, then search for the first ld in PATH.
13292 with_gnu_ld
=unknown
13295 elif test "$with_gnu_ld" = yes; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13297 $as_echo_n "checking for GNU ld... " >&6; }
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13300 $as_echo_n "checking for non-GNU ld... " >&6; }
13302 if ${lt_cv_path_LD+:} false
; then :
13303 $as_echo_n "(cached) " >&6
13305 if test -z "$LD"; then
13306 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13307 for ac_dir
in $PATH; do
13309 test -z "$ac_dir" && ac_dir
=.
13310 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13311 lt_cv_path_LD
="$ac_dir/$ac_prog"
13312 # Check to see if the program is GNU ld. I'd rather use --version,
13313 # but apparently some variants of GNU ld only accept -v.
13314 # Break only if it was the GNU/non-GNU ld that we prefer.
13315 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13316 *GNU
* |
*'with BFD'*)
13317 test "$with_gnu_ld" != no
&& break
13320 test "$with_gnu_ld" != yes && break
13327 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13331 LD
="$lt_cv_path_LD"
13332 if test -n "$LD"; then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13334 $as_echo "$LD" >&6; }
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13337 $as_echo "no" >&6; }
13339 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13341 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13342 if ${lt_cv_prog_gnu_ld+:} false
; then :
13343 $as_echo_n "(cached) " >&6
13345 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13346 case `$LD -v 2>&1 </dev/null` in
13347 *GNU
* |
*'with BFD'*)
13348 lt_cv_prog_gnu_ld
=yes
13351 lt_cv_prog_gnu_ld
=no
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13356 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13357 with_gnu_ld
=$lt_cv_prog_gnu_ld
13365 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13366 # archiving commands below assume that GNU ld is being used.
13367 if test "$with_gnu_ld" = yes; then
13368 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13369 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'
13371 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13372 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13374 # If archive_cmds runs LD, not CC, wlarc should be empty
13375 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13376 # investigate it a little bit more. (MM)
13379 # ancient GNU ld didn't support --whole-archive et. al.
13380 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13381 $GREP 'no-whole-archive' > /dev
/null
; then
13382 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13384 whole_archive_flag_spec_CXX
=
13390 # A generic and very simple default shared library creation
13391 # command for GNU C++ for the case where it uses the native
13392 # linker, instead of GNU ld. If possible, this setting should
13393 # overridden to take advantage of the native linker features on
13394 # the platform it is being used on.
13395 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13398 # Commands to make compiler produce verbose output that lists
13399 # what "hidden" libraries, object files and flags are used when
13400 # linking a shared library.
13401 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13409 # PORTME: fill in a description of your system's C++ link characteristics
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13411 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13415 # FIXME: insert proper C++ library support
13419 if test "$host_cpu" = ia64
; then
13420 # On IA64, the linker does run time linking by default, so we don't
13421 # have to do anything special.
13422 aix_use_runtimelinking
=no
13423 exp_sym_flag
='-Bexport'
13426 aix_use_runtimelinking
=no
13428 # Test if we are trying to use run time linking or normal
13429 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13430 # need to do runtime linking.
13431 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13432 for ld_flag
in $LDFLAGS; do
13435 aix_use_runtimelinking
=yes
13443 exp_sym_flag
='-bexport'
13444 no_entry_flag
='-bnoentry'
13447 # When large executables or shared objects are built, AIX ld can
13448 # have problems creating the table of contents. If linking a library
13449 # or program results in "error TOC overflow" add -mminimal-toc to
13450 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13451 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13453 archive_cmds_CXX
=''
13454 hardcode_direct_CXX
=yes
13455 hardcode_direct_absolute_CXX
=yes
13456 hardcode_libdir_separator_CXX
=':'
13457 link_all_deplibs_CXX
=yes
13458 file_list_spec_CXX
='${wl}-f,'
13460 if test "$GXX" = yes; then
13461 case $host_os in aix4.
[012]|aix4.
[012].
*)
13462 # We only want to do this on AIX 4.2 and lower, the check
13463 # below for broken collect2 doesn't work under 4.3+
13464 collect2name
=`${CC} -print-prog-name=collect2`
13465 if test -f "$collect2name" &&
13466 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13468 # We have reworked collect2
13471 # We have old collect2
13472 hardcode_direct_CXX
=unsupported
13473 # It fails to find uninstalled libraries when the uninstalled
13474 # path is not listed in the libpath. Setting hardcode_minus_L
13475 # to unsupported forces relinking
13476 hardcode_minus_L_CXX
=yes
13477 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13478 hardcode_libdir_separator_CXX
=
13481 shared_flag
='-shared'
13482 if test "$aix_use_runtimelinking" = yes; then
13483 shared_flag
="$shared_flag "'${wl}-G'
13487 if test "$host_cpu" = ia64
; then
13488 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13489 # chokes on -Wl,-G. The following line is correct:
13492 if test "$aix_use_runtimelinking" = yes; then
13493 shared_flag
='${wl}-G'
13495 shared_flag
='${wl}-bM:SRE'
13500 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13501 # It seems that -bexpall does not export symbols beginning with
13502 # underscore (_), so it is better to generate a list of symbols to
13504 always_export_symbols_CXX
=yes
13505 if test "$aix_use_runtimelinking" = yes; then
13506 # Warning - without using the other runtime loading flags (-brtl),
13507 # -berok will link without error, but may produce a broken library.
13508 allow_undefined_flag_CXX
='-berok'
13509 # Determine the default libpath from the value encoded in an empty
13511 if test x
$gcc_no_link = xyes
; then
13512 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13515 /* end confdefs.h. */
13525 if ac_fn_cxx_try_link
"$LINENO"; then :
13527 lt_aix_libpath_sed
='
13528 /Import File Strings/,/^$/ {
13534 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13535 # Check for a 64-bit object if we didn't find anything.
13536 if test -z "$aix_libpath"; then
13537 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13540 rm -f core conftest.err conftest.
$ac_objext \
13541 conftest
$ac_exeext conftest.
$ac_ext
13542 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13544 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13546 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"
13548 if test "$host_cpu" = ia64
; then
13549 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13550 allow_undefined_flag_CXX
="-z nodefs"
13551 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"
13553 # Determine the default libpath from the value encoded in an
13554 # empty executable.
13555 if test x
$gcc_no_link = xyes
; then
13556 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13569 if ac_fn_cxx_try_link
"$LINENO"; then :
13571 lt_aix_libpath_sed
='
13572 /Import File Strings/,/^$/ {
13578 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13579 # Check for a 64-bit object if we didn't find anything.
13580 if test -z "$aix_libpath"; then
13581 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13584 rm -f core conftest.err conftest.
$ac_objext \
13585 conftest
$ac_exeext conftest.
$ac_ext
13586 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13588 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13589 # Warning - without using the other run time loading flags,
13590 # -berok will link without error, but may produce a broken library.
13591 no_undefined_flag_CXX
=' ${wl}-bernotok'
13592 allow_undefined_flag_CXX
=' ${wl}-berok'
13593 if test "$with_gnu_ld" = yes; then
13594 # We only use this code for GNU lds that support --whole-archive.
13595 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13597 # Exported symbols can be pulled into shared objects from archives
13598 whole_archive_flag_spec_CXX
='$convenience'
13600 archive_cmds_need_lc_CXX
=yes
13601 # This is similar to how AIX traditionally builds its shared
13603 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'
13609 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13610 allow_undefined_flag_CXX
=unsupported
13611 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13612 # support --undefined. This deserves some investigation. FIXME
13613 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13620 case $cc_basename in
13622 # FIXME: insert proper C++ library support
13628 cygwin
* | mingw
* | pw32
* | cegcc
*)
13629 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13630 # as there is no search path for DLLs.
13631 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13632 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13633 allow_undefined_flag_CXX
=unsupported
13634 always_export_symbols_CXX
=no
13635 enable_shared_with_static_runtimes_CXX
=yes
13637 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13638 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'
13639 # If the export-symbols file already is a .def file (1st line
13640 # is EXPORTS), use it as is; otherwise, prepend...
13641 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13642 cp $export_symbols $output_objdir/$soname.def;
13644 echo EXPORTS > $output_objdir/$soname.def;
13645 cat $export_symbols >> $output_objdir/$soname.def;
13647 $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'
13652 darwin
* | rhapsody
*)
13655 archive_cmds_need_lc_CXX
=no
13656 hardcode_direct_CXX
=no
13657 hardcode_automatic_CXX
=yes
13658 hardcode_shlibpath_var_CXX
=unsupported
13659 if test "$lt_cv_ld_force_load" = "yes"; then
13660 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\"`'
13662 whole_archive_flag_spec_CXX
=''
13664 link_all_deplibs_CXX
=yes
13665 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13666 case $cc_basename in
13667 ifort
*) _lt_dar_can_shared
=yes ;;
13668 *) _lt_dar_can_shared
=$GCC ;;
13670 if test "$_lt_dar_can_shared" = "yes"; then
13671 output_verbose_link_cmd
=func_echo_all
13672 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}"
13673 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13674 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}"
13675 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}"
13676 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13677 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}"
13678 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}"
13688 case $cc_basename in
13690 # FIXME: insert proper C++ library support
13694 # Green Hills C++ Compiler
13695 # FIXME: insert proper C++ library support
13699 # FIXME: insert proper C++ library support
13706 # C++ shared libraries reported to be fairly broken before
13712 archive_cmds_need_lc_CXX
=no
13715 freebsd
* | dragonfly
*)
13716 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13725 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13726 link_all_deplibs_CXX
=yes
13730 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13731 hardcode_libdir_separator_CXX
=:
13732 export_dynamic_flag_spec_CXX
='${wl}-E'
13733 hardcode_direct_CXX
=yes
13734 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13735 # but as the default
13736 # location of the library.
13738 case $cc_basename in
13740 # FIXME: insert proper C++ library support
13744 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'
13745 # Commands to make compiler produce verbose output that lists
13746 # what "hidden" libraries, object files and flags are used when
13747 # linking a shared library.
13749 # There doesn't appear to be a way to prevent this compiler from
13750 # explicitly linking system object files so we need to strip them
13751 # from the output so that they don't get included in the library
13753 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"'
13756 if test "$GXX" = yes; then
13757 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'
13759 # FIXME: insert proper C++ library support
13767 if test $with_gnu_ld = no
; then
13768 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13769 hardcode_libdir_separator_CXX
=:
13775 export_dynamic_flag_spec_CXX
='${wl}-E'
13781 hardcode_direct_CXX
=no
13782 hardcode_shlibpath_var_CXX
=no
13785 hardcode_direct_CXX
=yes
13786 hardcode_direct_absolute_CXX
=yes
13787 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13788 # but as the default
13789 # location of the library.
13793 case $cc_basename in
13795 # FIXME: insert proper C++ library support
13801 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13804 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13807 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13810 # Commands to make compiler produce verbose output that lists
13811 # what "hidden" libraries, object files and flags are used when
13812 # linking a shared library.
13814 # There doesn't appear to be a way to prevent this compiler from
13815 # explicitly linking system object files so we need to strip them
13816 # from the output so that they don't get included in the library
13818 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"'
13821 if test "$GXX" = yes; then
13822 if test $with_gnu_ld = no
; then
13825 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13828 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13831 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'
13836 # FIXME: insert proper C++ library support
13844 hardcode_direct_CXX
=no
13845 hardcode_shlibpath_var_CXX
=no
13846 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13847 export_dynamic_flag_spec_CXX
='${wl}-E'
13848 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13849 # Instead, shared libraries are loaded at an image base (0x10000000 by
13850 # default) and relocated if they conflict, which is a slow very memory
13851 # consuming and fragmenting process. To avoid this, we pick a random,
13852 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13853 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13854 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'
13855 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'
13858 case $cc_basename in
13861 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'
13863 # Archives containing C++ object files must be created using
13864 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13865 # necessary to make sure instantiated templates are included
13867 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13870 if test "$GXX" = yes; then
13871 if test "$with_gnu_ld" = no
; then
13872 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'
13874 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'
13877 link_all_deplibs_CXX
=yes
13880 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13881 hardcode_libdir_separator_CXX
=:
13882 inherit_rpath_CXX
=yes
13885 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13886 case $cc_basename in
13888 # Kuck and Associates, Inc. (KAI) C++ Compiler
13890 # KCC will only create a shared library if the output file
13891 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13892 # to its proper name (with version) after linking.
13893 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'
13894 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'
13895 # Commands to make compiler produce verbose output that lists
13896 # what "hidden" libraries, object files and flags are used when
13897 # linking a shared library.
13899 # There doesn't appear to be a way to prevent this compiler from
13900 # explicitly linking system object files so we need to strip them
13901 # from the output so that they don't get included in the library
13903 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"'
13905 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13906 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13908 # Archives containing C++ object files must be created using
13909 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13910 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13915 # version 8.0 and above of icpc choke on multiply defined symbols
13916 # if we add $predep_objects and $postdep_objects, however 7.1 and
13917 # earlier do not add the objects themselves.
13918 case `$CC -V 2>&1` in
13920 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13921 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'
13923 *) # Version 8.0 or newer
13926 ia64
*) tmp_idyn
=' -i_dynamic';;
13928 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13929 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'
13932 archive_cmds_need_lc_CXX
=no
13933 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13934 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13935 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13938 # Portland Group C++ compiler
13940 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13941 prelink_cmds_CXX
='tpldir=Template.dir~
13943 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13944 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13945 old_archive_cmds_CXX
='tpldir=Template.dir~
13947 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13948 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13950 archive_cmds_CXX
='tpldir=Template.dir~
13952 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13953 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13954 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13956 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13957 $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'
13959 *) # Version 6 and above use weak symbols
13960 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13961 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'
13965 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13966 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13967 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'
13971 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13972 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'
13974 runpath_var
=LD_RUN_PATH
13975 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13976 hardcode_libdir_separator_CXX
=:
13978 # Commands to make compiler produce verbose output that lists
13979 # what "hidden" libraries, object files and flags are used when
13980 # linking a shared library.
13982 # There doesn't appear to be a way to prevent this compiler from
13983 # explicitly linking system object files so we need to strip them
13984 # from the output so that they don't get included in the library
13986 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'
13988 xl
* | mpixl
* | bgxl
*)
13989 # IBM XL 8.0 on PPC, with GNU ld
13990 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13991 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13992 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13993 if test "x$supports_anon_versioning" = xyes
; then
13994 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13995 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13996 echo "local: *; };" >> $output_objdir/$libname.ver~
13997 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14001 case `$CC -V 2>&1 | sed 5q` in
14004 no_undefined_flag_CXX
=' -zdefs'
14005 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14006 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'
14007 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14008 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'
14009 compiler_needs_object_CXX
=yes
14011 # Not sure whether something based on
14012 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14014 output_verbose_link_cmd
='func_echo_all'
14016 # Archives containing C++ object files must be created using
14017 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14018 # necessary to make sure instantiated templates are included
14020 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14028 # FIXME: insert proper C++ library support
14033 # FIXME: insert proper C++ library support
14038 case $cc_basename in
14040 # FIXME: insert proper C++ library support
14044 # FIXME: insert proper C++ library support
14051 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14052 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14054 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14055 hardcode_direct_CXX
=yes
14056 hardcode_shlibpath_var_CXX
=no
14058 # Workaround some broken pre-1.5 toolchains
14059 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14067 # C++ shared libraries are fairly broken
14072 if test -f /usr
/libexec
/ld.so
; then
14073 hardcode_direct_CXX
=yes
14074 hardcode_shlibpath_var_CXX
=no
14075 hardcode_direct_absolute_CXX
=yes
14076 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14077 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14078 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14079 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14080 export_dynamic_flag_spec_CXX
='${wl}-E'
14081 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14083 output_verbose_link_cmd
=func_echo_all
14089 osf3
* | osf4
* | osf5
*)
14090 case $cc_basename in
14092 # Kuck and Associates, Inc. (KAI) C++ Compiler
14094 # KCC will only create a shared library if the output file
14095 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14096 # to its proper name (with version) after linking.
14097 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'
14099 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14100 hardcode_libdir_separator_CXX
=:
14102 # Archives containing C++ object files must be created using
14103 # the KAI C++ compiler.
14105 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14106 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14110 # Rational C++ 2.4.1
14111 # FIXME: insert proper C++ library support
14117 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14118 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'
14119 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14122 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14123 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'
14124 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14125 echo "-hidden">> $lib.exp~
14126 $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~
14128 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14132 hardcode_libdir_separator_CXX
=:
14134 # Commands to make compiler produce verbose output that lists
14135 # what "hidden" libraries, object files and flags are used when
14136 # linking a shared library.
14138 # There doesn't appear to be a way to prevent this compiler from
14139 # explicitly linking system object files so we need to strip them
14140 # from the output so that they don't get included in the library
14142 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"'
14145 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14146 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14149 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'
14152 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'
14156 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14157 hardcode_libdir_separator_CXX
=:
14159 # Commands to make compiler produce verbose output that lists
14160 # what "hidden" libraries, object files and flags are used when
14161 # linking a shared library.
14162 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14165 # FIXME: insert proper C++ library support
14173 # FIXME: insert proper C++ library support
14178 case $cc_basename in
14181 # FIXME: insert proper C++ library support
14186 # FIXME: insert proper C++ library support
14190 # FIXME: insert proper C++ library support
14197 case $cc_basename in
14199 # Sun C++ 4.2, 5.x and Centerline C++
14200 archive_cmds_need_lc_CXX
=yes
14201 no_undefined_flag_CXX
=' -zdefs'
14202 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14203 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14204 $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'
14206 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14207 hardcode_shlibpath_var_CXX
=no
14209 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14211 # The compiler driver will combine and reorder linker options,
14212 # but understands `-z linker_flag'.
14213 # Supported since Solaris 2.6 (maybe 2.5.1?)
14214 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14217 link_all_deplibs_CXX
=yes
14219 output_verbose_link_cmd
='func_echo_all'
14221 # Archives containing C++ object files must be created using
14222 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14223 # necessary to make sure instantiated templates are included
14225 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14228 # Green Hills C++ Compiler
14229 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14231 # The C++ compiler must be used to create the archive.
14232 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14235 # GNU C++ compiler with Solaris linker
14236 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14237 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14238 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14239 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14240 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14241 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14243 # Commands to make compiler produce verbose output that lists
14244 # what "hidden" libraries, object files and flags are used when
14245 # linking a shared library.
14246 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14248 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14250 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14251 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14252 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14254 # Commands to make compiler produce verbose output that lists
14255 # what "hidden" libraries, object files and flags are used when
14256 # linking a shared library.
14257 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14260 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14262 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14264 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14272 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14273 no_undefined_flag_CXX
='${wl}-z,text'
14274 archive_cmds_need_lc_CXX
=no
14275 hardcode_shlibpath_var_CXX
=no
14276 runpath_var
='LD_RUN_PATH'
14278 case $cc_basename in
14280 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14281 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14284 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14285 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14290 sysv5
* | sco3.2v5
* | sco5v6
*)
14291 # Note: We can NOT use -z defs as we might desire, because we do not
14292 # link with -lc, and that would cause any symbols used from libc to
14293 # always be unresolved, which means just about no library would
14294 # ever link correctly. If we're not using GNU ld we use -z text
14295 # though, which does catch some bad symbols but isn't as heavy-handed
14297 no_undefined_flag_CXX
='${wl}-z,text'
14298 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14299 archive_cmds_need_lc_CXX
=no
14300 hardcode_shlibpath_var_CXX
=no
14301 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14302 hardcode_libdir_separator_CXX
=':'
14303 link_all_deplibs_CXX
=yes
14304 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14305 runpath_var
='LD_RUN_PATH'
14307 case $cc_basename in
14309 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14310 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14311 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14312 '"$old_archive_cmds_CXX"
14313 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14314 '"$reload_cmds_CXX"
14317 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14318 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14324 case $cc_basename in
14326 # NonStop-UX NCC 3.20
14327 # FIXME: insert proper C++ library support
14331 # FIXME: insert proper C++ library support
14338 # For VxWorks ports, we assume the use of a GNU linker with
14339 # standard elf conventions.
14344 # FIXME: insert proper C++ library support
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14350 $as_echo "$ld_shlibs_CXX" >&6; }
14351 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14357 ## There is no encapsulation within the following macros, do not change
14358 ## the running order or otherwise move them around unless you know exactly
14359 ## what you are doing...
14360 # Dependencies to place before and after the object being linked:
14361 predep_objects_CXX
=
14362 postdep_objects_CXX
=
14365 compiler_lib_search_path_CXX
=
14367 cat > conftest.
$ac_ext <<_LT_EOF
14371 Foo (void) { a = 0; }
14377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14378 (eval $ac_compile) 2>&5
14380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14381 test $ac_status = 0; }; then
14382 # Parse the compiler output and extract the necessary
14383 # objects, libraries and library flags.
14385 # Sentinel used to keep track of whether or not we are before
14386 # the conftest object file.
14387 pre_test_object_deps_done
=no
14389 for p
in `eval "$output_verbose_link_cmd"`; do
14393 # Some compilers place space between "-{L,R}" and the path.
14394 # Remove the space.
14395 if test $p = "-L" ||
14396 test $p = "-R"; then
14403 if test "$pre_test_object_deps_done" = no
; then
14406 # Internal compiler library paths should come after those
14407 # provided the user. The postdeps already come after the
14408 # user supplied libs so there is no need to process them.
14409 if test -z "$compiler_lib_search_path_CXX"; then
14410 compiler_lib_search_path_CXX
="${prev}${p}"
14412 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14415 # The "-l" case would never come before the object being
14416 # linked, so don't bother handling this case.
14419 if test -z "$postdeps_CXX"; then
14420 postdeps_CXX
="${prev}${p}"
14422 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14428 # This assumes that the test object file only shows up
14429 # once in the compiler output.
14430 if test "$p" = "conftest.$objext"; then
14431 pre_test_object_deps_done
=yes
14435 if test "$pre_test_object_deps_done" = no
; then
14436 if test -z "$predep_objects_CXX"; then
14437 predep_objects_CXX
="$p"
14439 predep_objects_CXX
="$predep_objects_CXX $p"
14442 if test -z "$postdep_objects_CXX"; then
14443 postdep_objects_CXX
="$p"
14445 postdep_objects_CXX
="$postdep_objects_CXX $p"
14450 *) ;; # Ignore the rest.
14458 echo "libtool.m4: error: problem compiling CXX test program"
14461 $RM -f confest.
$objext
14463 # PORTME: override above test on systems where it is broken
14466 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14467 # hack all around it, let's just trust "g++" to DTRT.
14468 predep_objects_CXX
=
14469 postdep_objects_CXX
=
14474 case `$CC -V 2>&1 | sed 5q` in
14478 # The more standards-conforming stlport4 library is
14479 # incompatible with the Cstd library. Avoid specifying
14480 # it if it's in CXXFLAGS. Ignore libCrun as
14481 # -library=stlport4 depends on it.
14482 case " $CXX $CXXFLAGS " in
14483 *" -library=stlport4 "*)
14484 solaris_use_stlport4
=yes
14488 if test "$solaris_use_stlport4" != yes; then
14489 postdeps_CXX
='-library=Cstd -library=Crun'
14496 case $cc_basename in
14498 # The more standards-conforming stlport4 library is
14499 # incompatible with the Cstd library. Avoid specifying
14500 # it if it's in CXXFLAGS. Ignore libCrun as
14501 # -library=stlport4 depends on it.
14502 case " $CXX $CXXFLAGS " in
14503 *" -library=stlport4 "*)
14504 solaris_use_stlport4
=yes
14508 # Adding this requires a known-good setup of shared libraries for
14509 # Sun compiler versions before 5.6, else PIC objects from an old
14510 # archive will be linked into the output, leading to subtle bugs.
14511 if test "$solaris_use_stlport4" != yes; then
14512 postdeps_CXX
='-library=Cstd -library=Crun'
14520 case " $postdeps_CXX " in
14521 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14523 compiler_lib_search_dirs_CXX
=
14524 if test -n "${compiler_lib_search_path_CXX}"; then
14525 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14558 lt_prog_compiler_wl_CXX
=
14559 lt_prog_compiler_pic_CXX
=
14560 lt_prog_compiler_static_CXX
=
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14563 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14565 # C++ specific cases for pic, static, wl, etc.
14566 if test "$GXX" = yes; then
14567 lt_prog_compiler_wl_CXX
='-Wl,'
14568 lt_prog_compiler_static_CXX
='-static'
14572 # All AIX code is PIC.
14573 if test "$host_cpu" = ia64
; then
14574 # AIX 5 now supports IA64 processor
14575 lt_prog_compiler_static_CXX
='-Bstatic'
14577 lt_prog_compiler_pic_CXX
='-fPIC'
14583 # see comment about AmigaOS4 .so support
14584 lt_prog_compiler_pic_CXX
='-fPIC'
14587 # FIXME: we need at least 68020 code to build shared libraries, but
14588 # adding the `-m68020' flag to GCC prevents building anything better,
14590 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14595 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14596 # PIC is the default for these OSes.
14598 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14599 # This hack is so that the source file can tell whether it is being
14600 # built for inclusion in a dll (and should export symbols for example).
14601 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14602 # (--disable-auto-import) libraries
14603 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14605 darwin
* | rhapsody
*)
14606 # PIC is the default on this platform
14607 # Common symbols not allowed in MH_DYLIB files
14608 lt_prog_compiler_pic_CXX
='-fno-common'
14611 # DJGPP does not support shared libraries at all
14612 lt_prog_compiler_pic_CXX
=
14615 # PIC is the default for Haiku.
14616 # The "-static" flag exists, but is broken.
14617 lt_prog_compiler_static_CXX
=
14620 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14621 # Instead, we relocate shared libraries at runtime.
14624 if test -d /usr
/nec
; then
14625 lt_prog_compiler_pic_CXX
=-Kconform_pic
14629 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14630 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14631 # sets the default TLS model and affects inlining.
14636 lt_prog_compiler_pic_CXX
='-fPIC'
14641 # QNX uses GNU C++, but need to define -shared option too, otherwise
14642 # it will coredump.
14643 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14646 lt_prog_compiler_pic_CXX
='-fPIC'
14652 # All AIX code is PIC.
14653 if test "$host_cpu" = ia64
; then
14654 # AIX 5 now supports IA64 processor
14655 lt_prog_compiler_static_CXX
='-Bstatic'
14657 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14661 case $cc_basename in
14663 # Green Hills C++ Compiler
14664 # _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"
14669 case $cc_basename in
14671 lt_prog_compiler_pic_CXX
='-KPIC'
14674 # Green Hills C++ Compiler
14675 lt_prog_compiler_pic_CXX
='-pic'
14681 freebsd
* | dragonfly
*)
14682 # FreeBSD uses GNU C++
14684 hpux9
* | hpux10
* | hpux11
*)
14685 case $cc_basename in
14687 lt_prog_compiler_wl_CXX
='-Wl,'
14688 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14689 if test "$host_cpu" != ia64
; then
14690 lt_prog_compiler_pic_CXX
='+Z'
14694 lt_prog_compiler_wl_CXX
='-Wl,'
14695 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14701 lt_prog_compiler_pic_CXX
='+Z'
14710 # This is c89, which is MS Visual C++ (no shared libs)
14711 # Anyone wants to do a port?
14713 irix5
* | irix6
* | nonstopux
*)
14714 case $cc_basename in
14716 lt_prog_compiler_wl_CXX
='-Wl,'
14717 lt_prog_compiler_static_CXX
='-non_shared'
14718 # CC pic flag -KPIC is the default.
14724 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14725 case $cc_basename in
14728 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14729 lt_prog_compiler_pic_CXX
='-fPIC'
14732 # old Intel C++ for x86_64 which still supported -KPIC.
14733 lt_prog_compiler_wl_CXX
='-Wl,'
14734 lt_prog_compiler_pic_CXX
='-KPIC'
14735 lt_prog_compiler_static_CXX
='-static'
14738 # Intel C++, used to be incompatible with GCC.
14739 # ICC 10 doesn't accept -KPIC any more.
14740 lt_prog_compiler_wl_CXX
='-Wl,'
14741 lt_prog_compiler_pic_CXX
='-fPIC'
14742 lt_prog_compiler_static_CXX
='-static'
14745 # Portland Group C++ compiler
14746 lt_prog_compiler_wl_CXX
='-Wl,'
14747 lt_prog_compiler_pic_CXX
='-fpic'
14748 lt_prog_compiler_static_CXX
='-Bstatic'
14752 # Make sure the PIC flag is empty. It appears that all Alpha
14753 # Linux and Compaq Tru64 Unix objects are PIC.
14754 lt_prog_compiler_pic_CXX
=
14755 lt_prog_compiler_static_CXX
='-non_shared'
14757 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14758 # IBM XL 8.0, 9.0 on PPC and BlueGene
14759 lt_prog_compiler_wl_CXX
='-Wl,'
14760 lt_prog_compiler_pic_CXX
='-qpic'
14761 lt_prog_compiler_static_CXX
='-qstaticlink'
14764 case `$CC -V 2>&1 | sed 5q` in
14767 lt_prog_compiler_pic_CXX
='-KPIC'
14768 lt_prog_compiler_static_CXX
='-Bstatic'
14769 lt_prog_compiler_wl_CXX
='-Qoption ld '
14780 case $cc_basename in
14782 lt_prog_compiler_pic_CXX
='-W c,exportall'
14791 # QNX uses GNU C++, but need to define -shared option too, otherwise
14792 # it will coredump.
14793 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14795 osf3
* | osf4
* | osf5
*)
14796 case $cc_basename in
14798 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14801 # Rational C++ 2.4.1
14802 lt_prog_compiler_pic_CXX
='-pic'
14805 # Digital/Compaq C++
14806 lt_prog_compiler_wl_CXX
='-Wl,'
14807 # Make sure the PIC flag is empty. It appears that all Alpha
14808 # Linux and Compaq Tru64 Unix objects are PIC.
14809 lt_prog_compiler_pic_CXX
=
14810 lt_prog_compiler_static_CXX
='-non_shared'
14819 case $cc_basename in
14821 # Sun C++ 4.2, 5.x and Centerline C++
14822 lt_prog_compiler_pic_CXX
='-KPIC'
14823 lt_prog_compiler_static_CXX
='-Bstatic'
14824 lt_prog_compiler_wl_CXX
='-Qoption ld '
14827 # Green Hills C++ Compiler
14828 lt_prog_compiler_pic_CXX
='-PIC'
14835 case $cc_basename in
14838 lt_prog_compiler_pic_CXX
='-pic'
14839 lt_prog_compiler_static_CXX
='-Bstatic'
14843 lt_prog_compiler_pic_CXX
='-pic'
14849 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14850 case $cc_basename in
14852 lt_prog_compiler_wl_CXX
='-Wl,'
14853 lt_prog_compiler_pic_CXX
='-KPIC'
14854 lt_prog_compiler_static_CXX
='-Bstatic'
14859 case $cc_basename in
14861 # NonStop-UX NCC 3.20
14862 lt_prog_compiler_pic_CXX
='-KPIC'
14871 lt_prog_compiler_can_build_shared_CXX
=no
14877 # For platforms which do not support PIC, -DPIC is meaningless:
14879 lt_prog_compiler_pic_CXX
=
14882 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14886 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14891 # Check to make sure the PIC flag actually works.
14893 if test -n "$lt_prog_compiler_pic_CXX"; then
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14895 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14896 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14897 $as_echo_n "(cached) " >&6
14899 lt_cv_prog_compiler_pic_works_CXX
=no
14900 ac_outfile
=conftest.
$ac_objext
14901 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14902 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14903 # Insert the option either (1) after the last *FLAGS variable, or
14904 # (2) before a word containing "conftest.", or (3) at the end.
14905 # Note that $ac_compile itself does not contain backslashes and begins
14906 # with a dollar sign (not a hyphen), so the echo should work correctly.
14907 # The option is referenced via a variable to avoid confusing sed.
14908 lt_compile
=`echo "$ac_compile" | $SED \
14909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14911 -e 's:$: $lt_compiler_flag:'`
14912 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14913 (eval "$lt_compile" 2>conftest.err
)
14915 cat conftest.err
>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 if (exit $ac_status) && test -s "$ac_outfile"; then
14918 # The compiler can only warn and ignore the option if not recognized
14919 # So say no if there are warnings other than the usual output.
14920 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14921 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14922 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14923 lt_cv_prog_compiler_pic_works_CXX
=yes
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14930 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14932 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14933 case $lt_prog_compiler_pic_CXX in
14935 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14938 lt_prog_compiler_pic_CXX
=
14939 lt_prog_compiler_can_build_shared_CXX
=no
14947 # Check to make sure the static flag actually works.
14949 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14951 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14952 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14953 $as_echo_n "(cached) " >&6
14955 lt_cv_prog_compiler_static_works_CXX
=no
14956 save_LDFLAGS
="$LDFLAGS"
14957 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14958 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14959 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14960 # The linker can only warn and ignore the option if not recognized
14961 # So say no if there are warnings
14962 if test -s conftest.err
; then
14963 # Append any errors to the config.log.
14964 cat conftest.err
1>&5
14965 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14966 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14967 if diff conftest.exp conftest.er2
>/dev
/null
; then
14968 lt_cv_prog_compiler_static_works_CXX
=yes
14971 lt_cv_prog_compiler_static_works_CXX
=yes
14975 LDFLAGS
="$save_LDFLAGS"
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14979 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14981 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14984 lt_prog_compiler_static_CXX
=
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14991 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14992 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14993 $as_echo_n "(cached) " >&6
14995 lt_cv_prog_compiler_c_o_CXX
=no
14996 $RM -r conftest
2>/dev
/null
15000 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15002 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15003 # Insert the option either (1) after the last *FLAGS variable, or
15004 # (2) before a word containing "conftest.", or (3) at the end.
15005 # Note that $ac_compile itself does not contain backslashes and begins
15006 # with a dollar sign (not a hyphen), so the echo should work correctly.
15007 lt_compile
=`echo "$ac_compile" | $SED \
15008 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15009 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15010 -e 's:$: $lt_compiler_flag:'`
15011 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15012 (eval "$lt_compile" 2>out
/conftest.err
)
15014 cat out
/conftest.err
>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15018 # The compiler can only warn and ignore the option if not recognized
15019 # So say no if there are warnings
15020 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15021 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15022 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15023 lt_cv_prog_compiler_c_o_CXX
=yes
15028 # SGI C++ compiler will create directory out/ii_files/ for
15029 # template instantiation
15030 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15031 $RM out
/* && rmdir out
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15038 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15043 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15044 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15045 $as_echo_n "(cached) " >&6
15047 lt_cv_prog_compiler_c_o_CXX
=no
15048 $RM -r conftest
2>/dev
/null
15052 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15054 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15055 # Insert the option either (1) after the last *FLAGS variable, or
15056 # (2) before a word containing "conftest.", or (3) at the end.
15057 # Note that $ac_compile itself does not contain backslashes and begins
15058 # with a dollar sign (not a hyphen), so the echo should work correctly.
15059 lt_compile
=`echo "$ac_compile" | $SED \
15060 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15061 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15062 -e 's:$: $lt_compiler_flag:'`
15063 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15064 (eval "$lt_compile" 2>out
/conftest.err
)
15066 cat out
/conftest.err
>&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15070 # The compiler can only warn and ignore the option if not recognized
15071 # So say no if there are warnings
15072 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15073 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15074 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15075 lt_cv_prog_compiler_c_o_CXX
=yes
15080 # SGI C++ compiler will create directory out/ii_files/ for
15081 # template instantiation
15082 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15083 $RM out
/* && rmdir out
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15090 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15095 hard_links
="nottested"
15096 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15097 # do not overwrite the value of need_locks provided by the user
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15099 $as_echo_n "checking if we can lock with hard links... " >&6; }
15102 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15104 ln conftest.a conftest.b
2>&5 || hard_links
=no
15105 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15107 $as_echo "$hard_links" >&6; }
15108 if test "$hard_links" = no
; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15110 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15120 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15122 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15125 # If we're using GNU nm, then we don't want the "-C" option.
15126 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15127 # Also, AIX nm treats weak defined symbols like other global defined
15128 # symbols, whereas GNU nm marks them as "W".
15129 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15130 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'
15132 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'
15136 export_symbols_cmds_CXX
="$ltdll_cmds"
15138 cygwin
* | mingw
* | cegcc
*)
15139 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'
15142 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15145 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15148 $as_echo "$ld_shlibs_CXX" >&6; }
15149 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15151 with_gnu_ld_CXX
=$with_gnu_ld
15159 # Do we need to explicitly link libc?
15161 case "x$archive_cmds_need_lc_CXX" in
15163 # Assume -lc should be added
15164 archive_cmds_need_lc_CXX
=yes
15166 if test "$enable_shared" = yes && test "$GCC" = yes; then
15167 case $archive_cmds_CXX in
15169 # FIXME: we may have to deal with multi-command sequences.
15172 # Test whether the compiler implicitly links with -lc since on some
15173 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15174 # to ld, don't add -lc before -lgcc.
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15176 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15177 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15178 $as_echo_n "(cached) " >&6
15181 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15184 (eval $ac_compile) 2>&5
15186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15187 test $ac_status = 0; } 2>conftest.err
; then
15190 libobjs
=conftest.
$ac_objext
15192 wl
=$lt_prog_compiler_wl_CXX
15193 pic_flag
=$lt_prog_compiler_pic_CXX
15199 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15200 allow_undefined_flag_CXX
=
15201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15202 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15205 test $ac_status = 0; }
15207 lt_cv_archive_cmds_need_lc_CXX
=no
15209 lt_cv_archive_cmds_need_lc_CXX
=yes
15211 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15213 cat conftest.err
1>&5
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15219 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15220 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15291 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15293 library_names_spec
=
15294 libname_spec
='lib$name'
15298 postuninstall_cmds
=
15302 shlibpath_overrides_runpath
=unknown
15304 dynamic_linker
="$host_os ld.so"
15305 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15306 need_lib_prefix
=unknown
15307 hardcode_into_libs
=no
15309 # when you set need_version to no, make sure it does not cause -set_version
15310 # flags to be left without arguments
15311 need_version
=unknown
15316 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15317 shlibpath_var
=LIBPATH
15319 # AIX 3 has no versioning support, so we append a major version to the name.
15320 soname_spec
='${libname}${release}${shared_ext}$major'
15327 hardcode_into_libs
=yes
15328 if test "$host_cpu" = ia64
; then
15329 # AIX 5 supports IA64
15330 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15331 shlibpath_var
=LD_LIBRARY_PATH
15333 # With GCC up to 2.95.x, collect2 would create an import file
15334 # for dependence libraries. The import file would start with
15335 # the line `#! .'. This would cause the generated library to
15336 # depend on `.', always an invalid library. This was fixed in
15337 # development snapshots of GCC prior to 3.0.
15339 aix4 | aix4.
[01] | aix4.
[01].
*)
15340 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15342 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15345 can_build_shared
=no
15349 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15350 # soname into executable. Probably we can add versioning support to
15351 # collect2, so additional links can be useful in future.
15352 if test "$aix_use_runtimelinking" = yes; then
15353 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15354 # instead of lib<name>.a to let people know that these are not
15355 # typical AIX shared libraries.
15356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15358 # We preserve .a as extension for shared libraries through AIX4.2
15359 # and later when we are not doing run time linking.
15360 library_names_spec
='${libname}${release}.a $libname.a'
15361 soname_spec
='${libname}${release}${shared_ext}$major'
15363 shlibpath_var
=LIBPATH
15370 # Since July 2007 AmigaOS4 officially supports .so libraries.
15371 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15375 library_names_spec
='$libname.ixlibrary $libname.a'
15376 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15377 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'
15383 library_names_spec
='${libname}${shared_ext}'
15384 dynamic_linker
="$host_os ld.so"
15385 shlibpath_var
=LIBRARY_PATH
15391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392 soname_spec
='${libname}${release}${shared_ext}$major'
15393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15394 shlibpath_var
=LD_LIBRARY_PATH
15395 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15396 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15397 # the default ld.so.conf also contains /usr/contrib/lib and
15398 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15399 # libtool to hard-code these into programs
15402 cygwin
* | mingw
* | pw32
* | cegcc
*)
15403 version_type
=windows
15408 case $GCC,$host_os in
15409 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15410 library_names_spec
='$libname.dll.a'
15411 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15412 postinstall_cmds
='base_file=`basename \${file}`~
15413 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15414 dldir=$destdir/`dirname \$dlpath`~
15415 test -d \$dldir || mkdir -p \$dldir~
15416 $install_prog $dir/$dlname \$dldir/$dlname~
15417 chmod a+x \$dldir/$dlname~
15418 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15419 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15421 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15422 dlpath=$dir/\$dldll~
15424 shlibpath_overrides_runpath
=yes
15428 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15429 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15433 # MinGW DLLs use traditional 'lib' prefix
15434 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15437 # pw32 DLLs use 'pw' prefix rather than 'lib'
15438 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15444 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15447 dynamic_linker
='Win32 ld.exe'
15448 # FIXME: first we should search . and the directory the executable is in
15452 darwin
* | rhapsody
*)
15453 dynamic_linker
="$host_os dyld"
15454 version_type
=darwin
15457 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15458 soname_spec
='${libname}${release}${major}$shared_ext'
15459 shlibpath_overrides_runpath
=yes
15460 shlibpath_var
=DYLD_LIBRARY_PATH
15461 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15463 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15471 soname_spec
='${libname}${release}${shared_ext}$major'
15472 shlibpath_var
=LD_LIBRARY_PATH
15475 freebsd
* | dragonfly
*)
15476 # DragonFly does not have aout. When/if they implement a new
15477 # versioning mechanism, adjust this.
15478 if test -x /usr
/bin
/objformat
; then
15479 objformat
=`/usr/bin/objformat`
15482 freebsd
[23].
*) objformat
=aout
;;
15483 *) objformat
=elf
;;
15486 version_type
=freebsd-
$objformat
15487 case $version_type in
15489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15494 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15498 shlibpath_var
=LD_LIBRARY_PATH
15501 shlibpath_overrides_runpath
=yes
15503 freebsd3.
[01]* | freebsdelf3.
[01]*)
15504 shlibpath_overrides_runpath
=yes
15505 hardcode_into_libs
=yes
15507 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15508 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15509 shlibpath_overrides_runpath
=no
15510 hardcode_into_libs
=yes
15512 *) # from 4.6 on, and DragonFly
15513 shlibpath_overrides_runpath
=yes
15514 hardcode_into_libs
=yes
15523 dynamic_linker
="$host_os runtime_loader"
15524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15525 soname_spec
='${libname}${release}${shared_ext}$major'
15526 shlibpath_var
=LIBRARY_PATH
15527 shlibpath_overrides_runpath
=yes
15528 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15529 hardcode_into_libs
=yes
15532 hpux9
* | hpux10
* | hpux11
*)
15533 # Give a soname corresponding to the major version so that dld.sl refuses to
15534 # link against other versions.
15541 hardcode_into_libs
=yes
15542 dynamic_linker
="$host_os dld.so"
15543 shlibpath_var
=LD_LIBRARY_PATH
15544 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15546 soname_spec
='${libname}${release}${shared_ext}$major'
15547 if test "X$HPUX_IA64_MODE" = X32
; then
15548 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15550 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15552 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15556 hardcode_into_libs
=yes
15557 dynamic_linker
="$host_os dld.sl"
15558 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15559 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15561 soname_spec
='${libname}${release}${shared_ext}$major'
15562 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15563 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15567 dynamic_linker
="$host_os dld.sl"
15568 shlibpath_var
=SHLIB_PATH
15569 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15571 soname_spec
='${libname}${release}${shared_ext}$major'
15574 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15575 postinstall_cmds
='chmod 555 $lib'
15576 # or fails outright, so override atomically:
15577 install_override_mode
=555
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15585 soname_spec
='${libname}${release}${shared_ext}$major'
15586 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15587 shlibpath_var
=LD_LIBRARY_PATH
15588 shlibpath_overrides_runpath
=no
15589 hardcode_into_libs
=yes
15592 irix5
* | irix6
* | nonstopux
*)
15594 nonstopux
*) version_type
=nonstopux
;;
15596 if test "$lt_cv_prog_gnu_ld" = yes; then
15604 soname_spec
='${libname}${release}${shared_ext}$major'
15605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15607 irix5
* | nonstopux
*)
15608 libsuff
= shlibsuff
=
15611 case $LD in # libtool.m4 will add one of these switches to LD
15612 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15613 libsuff
= shlibsuff
= libmagic
=32-bit;;
15614 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15615 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15616 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15617 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15618 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15622 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15623 shlibpath_overrides_runpath
=no
15624 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15625 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15626 hardcode_into_libs
=yes
15629 # No shared lib support for Linux oldld, aout, or coff.
15630 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15634 # This must be Linux ELF.
15636 # uclinux* changes (here and below) have been submitted to the libtool
15637 # project, but have not yet been accepted: they are GCC-local changes
15638 # for the time being. (See
15639 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15640 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
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'
15646 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15647 shlibpath_var
=LD_LIBRARY_PATH
15648 shlibpath_overrides_runpath
=no
15650 # Some binutils ld are patched to set DT_RUNPATH
15651 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15652 $as_echo_n "(cached) " >&6
15654 lt_cv_shlibpath_overrides_runpath
=no
15655 save_LDFLAGS
=$LDFLAGS
15656 save_libdir
=$libdir
15657 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15658 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15659 if test x
$gcc_no_link = xyes
; then
15660 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15673 if ac_fn_cxx_try_link
"$LINENO"; then :
15674 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15675 lt_cv_shlibpath_overrides_runpath
=yes
15678 rm -f core conftest.err conftest.
$ac_objext \
15679 conftest
$ac_exeext conftest.
$ac_ext
15680 LDFLAGS
=$save_LDFLAGS
15681 libdir
=$save_libdir
15685 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15687 # This implies no fast_install, which is unacceptable.
15688 # Some rework will be needed to allow for fast_install
15689 # before this can be enabled.
15690 hardcode_into_libs
=yes
15692 # Append ld.so.conf contents to the search path
15693 if test -f /etc
/ld.so.conf
; then
15694 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' ' '`
15695 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15698 # We used to test for /lib/ld.so.1 and disable shared libraries on
15699 # powerpc, because MkLinux only supported shared libraries with the
15700 # GNU dynamic linker. Since this was broken with cross compilers,
15701 # most powerpc-linux boxes support dynamic linking these days and
15702 # people can always --disable-shared, the test was removed, and we
15703 # assume the GNU/Linux dynamic linker is in use.
15704 dynamic_linker
='GNU/Linux ld.so'
15711 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15713 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15714 dynamic_linker
='NetBSD (a.out) ld.so'
15716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15717 soname_spec
='${libname}${release}${shared_ext}$major'
15718 dynamic_linker
='NetBSD ld.elf_so'
15720 shlibpath_var
=LD_LIBRARY_PATH
15721 shlibpath_overrides_runpath
=yes
15722 hardcode_into_libs
=yes
15727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15728 shlibpath_var
=LD_LIBRARY_PATH
15729 shlibpath_overrides_runpath
=yes
15736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15737 soname_spec
='${libname}${release}${shared_ext}$major'
15738 shlibpath_var
=LD_LIBRARY_PATH
15739 shlibpath_overrides_runpath
=no
15740 hardcode_into_libs
=yes
15741 dynamic_linker
='ldqnx.so'
15746 sys_lib_dlsearch_path_spec
="/usr/lib"
15748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15750 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15751 *) need_version
=no
;;
15753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15755 shlibpath_var
=LD_LIBRARY_PATH
15756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15758 openbsd2.
[89] | openbsd2.
[89].
*)
15759 shlibpath_overrides_runpath
=no
15762 shlibpath_overrides_runpath
=yes
15766 shlibpath_overrides_runpath
=yes
15771 libname_spec
='$name'
15774 library_names_spec
='$libname${shared_ext} $libname.a'
15775 dynamic_linker
='OS/2 ld.exe'
15776 shlibpath_var
=LIBPATH
15779 osf3
* | osf4
* | osf5
*)
15783 soname_spec
='${libname}${release}${shared_ext}$major'
15784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15785 shlibpath_var
=LD_LIBRARY_PATH
15786 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15787 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15799 soname_spec
='${libname}${release}${shared_ext}$major'
15800 shlibpath_var
=LD_LIBRARY_PATH
15801 shlibpath_overrides_runpath
=yes
15802 hardcode_into_libs
=yes
15803 # ldd complains unless libraries are executable
15804 postinstall_cmds
='chmod +x $lib'
15809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15810 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15811 shlibpath_var
=LD_LIBRARY_PATH
15812 shlibpath_overrides_runpath
=yes
15813 if test "$with_gnu_ld" = yes; then
15821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15822 soname_spec
='${libname}${release}${shared_ext}$major'
15823 shlibpath_var
=LD_LIBRARY_PATH
15824 case $host_vendor in
15826 shlibpath_overrides_runpath
=no
15828 runpath_var
=LD_RUN_PATH
15836 shlibpath_overrides_runpath
=no
15837 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15843 if test -d /usr
/nec
;then
15845 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15846 soname_spec
='$libname${shared_ext}.$major'
15847 shlibpath_var
=LD_LIBRARY_PATH
15851 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15852 version_type
=freebsd-elf
15855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15856 soname_spec
='${libname}${release}${shared_ext}$major'
15857 shlibpath_var
=LD_LIBRARY_PATH
15858 shlibpath_overrides_runpath
=yes
15859 hardcode_into_libs
=yes
15860 if test "$with_gnu_ld" = yes; then
15861 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15863 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15866 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15870 sys_lib_dlsearch_path_spec
='/usr/lib'
15874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15879 shlibpath_var
=LD_LIBRARY_PATH
15880 shlibpath_overrides_runpath
=no
15881 hardcode_into_libs
=yes
15886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15887 soname_spec
='${libname}${release}${shared_ext}$major'
15888 shlibpath_var
=LD_LIBRARY_PATH
15891 # Shared libraries for VwWorks, >= 7 only at this stage
15892 # and (fpic) still incompatible with "large" code models
15893 # in a few configurations. Only for RTP mode in any case,
15894 # and upon explicit request at configure time.
15897 case ${with_multisubdir}-${enable_shared} in
15904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15905 soname_spec
='${libname}${release}${shared_ext}$major'
15906 dynamic_linker
="$host_os module_loader"
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15915 $as_echo "$dynamic_linker" >&6; }
15916 test "$dynamic_linker" = no
&& can_build_shared
=no
15918 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15919 if test "$GCC" = yes; then
15920 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15923 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15924 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15926 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15927 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15968 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15969 hardcode_action_CXX
=
15970 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15971 test -n "$runpath_var_CXX" ||
15972 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15974 # We can hardcode non-existent directories.
15975 if test "$hardcode_direct_CXX" != no
&&
15976 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15977 # have to relink, otherwise we might link with an installed library
15978 # when we should be linking with a yet-to-be-installed one
15979 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15980 test "$hardcode_minus_L_CXX" != no
; then
15981 # Linking always hardcodes the temporary library directory.
15982 hardcode_action_CXX
=relink
15984 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15985 hardcode_action_CXX
=immediate
15988 # We cannot hardcode anything, or else we can only hardcode existing
15990 hardcode_action_CXX
=unsupported
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15993 $as_echo "$hardcode_action_CXX" >&6; }
15995 if test "$hardcode_action_CXX" = relink ||
15996 test "$inherit_rpath_CXX" = yes; then
15997 # Fast installation is not supported
15998 enable_fast_install
=no
15999 elif test "$shlibpath_overrides_runpath" = yes ||
16000 test "$enable_shared" = no
; then
16001 # Fast installation is not necessary
16002 enable_fast_install
=needless
16011 fi # test -n "$compiler"
16017 with_gnu_ld
=$lt_save_with_gnu_ld
16018 lt_cv_path_LDCXX
=$lt_cv_path_LD
16019 lt_cv_path_LD
=$lt_save_path_LD
16020 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16021 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16022 fi # test "$_lt_caught_CXX_error" != yes
16025 ac_cpp
='$CPP $CPPFLAGS'
16026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16042 ac_config_commands
="$ac_config_commands libtool"
16047 # Only expand once:
16053 if test "${multilib}" = "yes"; then
16054 multilib_arg
="--enable-multilib"
16059 ac_fn_c_check_type
"$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "$ac_includes_default"
16060 if test "x$ac_cv_type_struct_timezone" = xyes
; then :
16062 cat >>confdefs.h
<<_ACEOF
16063 #define HAVE_STRUCT_TIMEZONE 1
16068 ac_fn_c_check_type
"$LINENO" "struct stat" "ac_cv_type_struct_stat" "$ac_includes_default"
16069 if test "x$ac_cv_type_struct_stat" = xyes
; then :
16071 cat >>confdefs.h
<<_ACEOF
16072 #define HAVE_STRUCT_STAT 1
16077 ac_fn_c_check_type
"$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$ac_includes_default"
16078 if test "x$ac_cv_type_struct_timeval" = xyes
; then :
16080 cat >>confdefs.h
<<_ACEOF
16081 #define HAVE_STRUCT_TIMEVAL 1
16089 ac_cpp
='$CPP $CPPFLAGS'
16090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16094 # Check the compiler.
16095 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
16096 # We must force CC to /not/ be precious variables; otherwise
16097 # the wrong, non-multilib-adjusted value will be used in multilibs.
16098 # As a side effect, we have to subst CFLAGS ourselves.
16103 ac_cpp
='$CPP $CPPFLAGS'
16104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16107 if test -n "$ac_tool_prefix"; then
16108 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16109 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16111 $as_echo_n "checking for $ac_word... " >&6; }
16112 if ${ac_cv_prog_CC+:} false
; then :
16113 $as_echo_n "(cached) " >&6
16115 if test -n "$CC"; then
16116 ac_cv_prog_CC
="$CC" # Let the user override the test.
16118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16119 for as_dir
in $PATH
16122 test -z "$as_dir" && as_dir
=.
16123 for ac_exec_ext
in '' $ac_executable_extensions; do
16124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16125 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16136 if test -n "$CC"; then
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16138 $as_echo "$CC" >&6; }
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16141 $as_echo "no" >&6; }
16146 if test -z "$ac_cv_prog_CC"; then
16148 # Extract the first word of "gcc", so it can be a program name with args.
16149 set dummy gcc
; ac_word
=$2
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16151 $as_echo_n "checking for $ac_word... " >&6; }
16152 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16153 $as_echo_n "(cached) " >&6
16155 if test -n "$ac_ct_CC"; then
16156 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16159 for as_dir
in $PATH
16162 test -z "$as_dir" && as_dir
=.
16163 for ac_exec_ext
in '' $ac_executable_extensions; do
16164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16165 ac_cv_prog_ac_ct_CC
="gcc"
16166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16175 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16176 if test -n "$ac_ct_CC"; then
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16178 $as_echo "$ac_ct_CC" >&6; }
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16181 $as_echo "no" >&6; }
16184 if test "x$ac_ct_CC" = x
; then
16187 case $cross_compiling:$ac_tool_warned in
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16191 ac_tool_warned
=yes ;;
16196 CC
="$ac_cv_prog_CC"
16199 if test -z "$CC"; then
16200 if test -n "$ac_tool_prefix"; then
16201 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16202 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16204 $as_echo_n "checking for $ac_word... " >&6; }
16205 if ${ac_cv_prog_CC+:} false
; then :
16206 $as_echo_n "(cached) " >&6
16208 if test -n "$CC"; then
16209 ac_cv_prog_CC
="$CC" # Let the user override the test.
16211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16212 for as_dir
in $PATH
16215 test -z "$as_dir" && as_dir
=.
16216 for ac_exec_ext
in '' $ac_executable_extensions; do
16217 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16218 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16229 if test -n "$CC"; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16231 $as_echo "$CC" >&6; }
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16234 $as_echo "no" >&6; }
16240 if test -z "$CC"; then
16241 # Extract the first word of "cc", so it can be a program name with args.
16242 set dummy cc
; ac_word
=$2
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16244 $as_echo_n "checking for $ac_word... " >&6; }
16245 if ${ac_cv_prog_CC+:} false
; then :
16246 $as_echo_n "(cached) " >&6
16248 if test -n "$CC"; then
16249 ac_cv_prog_CC
="$CC" # Let the user override the test.
16251 ac_prog_rejected
=no
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16260 ac_prog_rejected
=yes
16264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16271 if test $ac_prog_rejected = yes; then
16272 # We found a bogon in the path, so make sure we never use it.
16273 set dummy
$ac_cv_prog_CC
16275 if test $# != 0; then
16276 # We chose a different compiler from the bogus one.
16277 # However, it has the same basename, so the bogon will be chosen
16278 # first if we set CC to just the basename; use the full file name.
16280 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16286 if test -n "$CC"; then
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16288 $as_echo "$CC" >&6; }
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16291 $as_echo "no" >&6; }
16296 if test -z "$CC"; then
16297 if test -n "$ac_tool_prefix"; then
16298 for ac_prog
in cl.exe
16300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16301 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16303 $as_echo_n "checking for $ac_word... " >&6; }
16304 if ${ac_cv_prog_CC+:} false
; then :
16305 $as_echo_n "(cached) " >&6
16307 if test -n "$CC"; then
16308 ac_cv_prog_CC
="$CC" # Let the user override the test.
16310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16311 for as_dir
in $PATH
16314 test -z "$as_dir" && as_dir
=.
16315 for ac_exec_ext
in '' $ac_executable_extensions; do
16316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16317 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16328 if test -n "$CC"; then
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16330 $as_echo "$CC" >&6; }
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16333 $as_echo "no" >&6; }
16337 test -n "$CC" && break
16340 if test -z "$CC"; then
16342 for ac_prog
in cl.exe
16344 # Extract the first word of "$ac_prog", so it can be a program name with args.
16345 set dummy
$ac_prog; ac_word
=$2
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16347 $as_echo_n "checking for $ac_word... " >&6; }
16348 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16349 $as_echo_n "(cached) " >&6
16351 if test -n "$ac_ct_CC"; then
16352 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16355 for as_dir
in $PATH
16358 test -z "$as_dir" && as_dir
=.
16359 for ac_exec_ext
in '' $ac_executable_extensions; do
16360 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16361 ac_cv_prog_ac_ct_CC
="$ac_prog"
16362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16371 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16372 if test -n "$ac_ct_CC"; then
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16374 $as_echo "$ac_ct_CC" >&6; }
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16377 $as_echo "no" >&6; }
16381 test -n "$ac_ct_CC" && break
16384 if test "x$ac_ct_CC" = x
; then
16387 case $cross_compiling:$ac_tool_warned in
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16391 ac_tool_warned
=yes ;;
16400 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16402 as_fn_error $?
"no acceptable C compiler found in \$PATH
16403 See \`config.log' for more details" "$LINENO" 5; }
16405 # Provide some information about the compiler.
16406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16409 for ac_option
in --version -v -V -qversion; do
16410 { { ac_try
="$ac_compiler $ac_option >&5"
16411 case "(($ac_try" in
16412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16416 $as_echo "$ac_try_echo"; } >&5
16417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16419 if test -s conftest.err; then
16421 ... rest of stderr output deleted ...
16422 10q' conftest.err >conftest.er1
16423 cat conftest.er1 >&5
16425 rm -f conftest.er1 conftest.err
16426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16427 test $ac_status = 0; }
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16431 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16432 if ${ac_cv_c_compiler_gnu+:} false; then :
16433 $as_echo_n "(cached) " >&6
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16449 if ac_fn_c_try_compile "$LINENO"; then :
16450 ac_compiler_gnu=yes
16454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16455 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16459 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16460 if test $ac_compiler_gnu = yes; then
16465 ac_test_CFLAGS=${CFLAGS+set}
16466 ac_save_CFLAGS=$CFLAGS
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16468 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16469 if ${ac_cv_prog_cc_g+:} false; then :
16470 $as_echo_n "(cached) " >&6
16472 ac_save_c_werror_flag=$ac_c_werror_flag
16473 ac_c_werror_flag=yes
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16487 if ac_fn_c_try_compile "$LINENO"; then :
16488 ac_cv_prog_cc_g=yes
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16502 if ac_fn_c_try_compile "$LINENO"; then :
16505 ac_c_werror_flag=$ac_save_c_werror_flag
16507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h. */
16518 if ac_fn_c_try_compile "$LINENO"; then :
16519 ac_cv_prog_cc_g=yes
16521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16526 ac_c_werror_flag=$ac_save_c_werror_flag
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16529 $as_echo "$ac_cv_prog_cc_g" >&6; }
16530 if test "$ac_test_CFLAGS" = set; then
16531 CFLAGS=$ac_save_CFLAGS
16532 elif test $ac_cv_prog_cc_g = yes; then
16533 if test "$GCC" = yes; then
16539 if test "$GCC" = yes; then
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16546 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16547 if ${ac_cv_prog_cc_c89+:} false; then :
16548 $as_echo_n "(cached) " >&6
16550 ac_cv_prog_cc_c89=no
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16554 #include <stdarg.h>
16557 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16558 struct buf { int x; };
16559 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16560 static char *e (p, i)
16566 static char *f (char * (*g) (char **, int), char **p, ...)
16571 s = g (p, va_arg (v,int));
16576 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16577 function prototypes and stuff, but not '\xHH' hex character constants.
16578 These don't provoke an error unfortunately, instead are silently treated
16579 as 'x'. The following induces an error, until -std is added to get
16580 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16581 array size at least. It's necessary to write '\x00'==0 to get something
16582 that's true only with -std. */
16583 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16585 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16586 inside strings and character constants. */
16588 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16590 int test (int i, double x);
16591 struct s1 {int (*f) (int a);};
16592 struct s2 {int (*f) (double a);};
16593 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16599 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16604 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16605 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16607 CC="$ac_save_CC $ac_arg"
16608 if ac_fn_c_try_compile "$LINENO"; then :
16609 ac_cv_prog_cc_c89=$ac_arg
16611 rm -f core conftest.err conftest.$ac_objext
16612 test "x$ac_cv_prog_cc_c89" != "xno" && break
16614 rm -f conftest.$ac_ext
16619 case "x$ac_cv_prog_cc_c89" in
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16622 $as_echo "none needed" >&6; } ;;
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16625 $as_echo "unsupported" >&6; } ;;
16627 CC="$CC $ac_cv_prog_cc_c89"
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16629 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16631 if test "x$ac_cv_prog_cc_c89" != xno; then :
16636 ac_cpp='$CPP $CPPFLAGS'
16637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16642 ac_cpp='$CPP $CPPFLAGS'
16643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16647 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16648 if ${am_cv_prog_cc_c_o+:} false; then :
16649 $as_echo_n "(cached) " >&6
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16662 # Make sure it works both with $CC and with simple cc.
16663 # Following AC_PROG_CC_C_O, we do the test twice because some
16664 # compilers refuse to overwrite an existing .o file with -o,
16665 # though they will create one.
16666 am_cv_prog_cc_c_o=yes
16667 for am_i in 1 2; do
16668 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16669 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } \
16673 && test -f conftest2.$ac_objext; then
16676 am_cv_prog_cc_c_o=no
16680 rm -f core conftest*
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16684 $as_echo "$am_cv_prog_cc_c_o" >&6; }
16685 if test "$am_cv_prog_cc_c_o" != yes; then
16686 # Losing compiler, so override with the script.
16687 # FIXME: It is wrong to rewrite CC.
16688 # But if we don't then we get into trouble of one sort or another.
16689 # A longer-term fix would be to have automake use am__CC in this case,
16690 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16691 CC="$am_aux_dir/compile $CC"
16694 ac_cpp='$CPP $CPPFLAGS'
16695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for access" >&5
16710 $as_echo_n "checking m2 front end checking c library for access... " >&6; }
16711 if test x$gcc_no_link != xyes; then
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access in -lc" >&5
16713 $as_echo_n "checking for access in -lc... " >&6; }
16714 if ${ac_cv_lib_c_access+:} false; then :
16715 $as_echo_n "(cached) " >&6
16717 ac_check_lib_save_LIBS=$LIBS
16719 if test x$gcc_no_link = xyes; then
16720 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16725 /* Override any GCC internal prototype to avoid an error.
16726 Use char because int might match the return type of a GCC
16727 builtin and then its argument prototype would still apply. */
16740 if ac_fn_c_try_link "$LINENO"; then :
16741 ac_cv_lib_c_access=yes
16743 ac_cv_lib_c_access=no
16745 rm -f core conftest.err conftest.$ac_objext \
16746 conftest$ac_exeext conftest.$ac_ext
16747 LIBS=$ac_check_lib_save_LIBS
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_access" >&5
16750 $as_echo "$ac_cv_lib_c_access" >&6; }
16751 if test "x$ac_cv_lib_c_access" = xyes; then :
16753 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16757 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
16762 if test "x$ac_cv_lib_c_access" = xyes; then
16764 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16766 elif test "x$ac_cv_func_access" = xyes; then
16768 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16772 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for brk" >&5
16779 $as_echo_n "checking m2 front end checking c library for brk... " >&6; }
16780 if test x$gcc_no_link != xyes; then
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for brk in -lc" >&5
16782 $as_echo_n "checking for brk in -lc... " >&6; }
16783 if ${ac_cv_lib_c_brk+:} false; then :
16784 $as_echo_n "(cached) " >&6
16786 ac_check_lib_save_LIBS=$LIBS
16788 if test x$gcc_no_link = xyes; then
16789 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16792 /* end confdefs.h. */
16794 /* Override any GCC internal prototype to avoid an error.
16795 Use char because int might match the return type of a GCC
16796 builtin and then its argument prototype would still apply. */
16809 if ac_fn_c_try_link "$LINENO"; then :
16810 ac_cv_lib_c_brk=yes
16814 rm -f core conftest.err conftest.$ac_objext \
16815 conftest$ac_exeext conftest.$ac_ext
16816 LIBS=$ac_check_lib_save_LIBS
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_brk" >&5
16819 $as_echo "$ac_cv_lib_c_brk" >&6; }
16820 if test "x$ac_cv_lib_c_brk" = xyes; then :
16822 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16826 $as_echo "#undef HAVE_BRK" >>confdefs.h
16831 if test "x$ac_cv_lib_c_brk" = xyes; then
16833 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16835 elif test "x$ac_cv_func_brk" = xyes; then
16837 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16841 $as_echo "#undef HAVE_BRK" >>confdefs.h
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for cfmakeraw" >&5
16848 $as_echo_n "checking m2 front end checking c library for cfmakeraw... " >&6; }
16849 if test x$gcc_no_link != xyes; then
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfmakeraw in -lc" >&5
16851 $as_echo_n "checking for cfmakeraw in -lc... " >&6; }
16852 if ${ac_cv_lib_c_cfmakeraw+:} false; then :
16853 $as_echo_n "(cached) " >&6
16855 ac_check_lib_save_LIBS=$LIBS
16857 if test x$gcc_no_link = xyes; then
16858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16863 /* Override any GCC internal prototype to avoid an error.
16864 Use char because int might match the return type of a GCC
16865 builtin and then its argument prototype would still apply. */
16873 return cfmakeraw ();
16878 if ac_fn_c_try_link "$LINENO"; then :
16879 ac_cv_lib_c_cfmakeraw=yes
16881 ac_cv_lib_c_cfmakeraw=no
16883 rm -f core conftest.err conftest.$ac_objext \
16884 conftest$ac_exeext conftest.$ac_ext
16885 LIBS=$ac_check_lib_save_LIBS
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_cfmakeraw" >&5
16888 $as_echo "$ac_cv_lib_c_cfmakeraw" >&6; }
16889 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then :
16891 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
16895 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
16900 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then
16902 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
16904 elif test "x$ac_cv_func_cfmakeraw" = xyes; then
16906 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
16910 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for close" >&5
16917 $as_echo_n "checking m2 front end checking c library for close... " >&6; }
16918 if test x$gcc_no_link != xyes; then
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for close in -lc" >&5
16920 $as_echo_n "checking for close in -lc... " >&6; }
16921 if ${ac_cv_lib_c_close+:} false; then :
16922 $as_echo_n "(cached) " >&6
16924 ac_check_lib_save_LIBS=$LIBS
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16932 /* Override any GCC internal prototype to avoid an error.
16933 Use char because int might match the return type of a GCC
16934 builtin and then its argument prototype would still apply. */
16947 if ac_fn_c_try_link "$LINENO"; then :
16948 ac_cv_lib_c_close=yes
16950 ac_cv_lib_c_close=no
16952 rm -f core conftest.err conftest.$ac_objext \
16953 conftest$ac_exeext conftest.$ac_ext
16954 LIBS=$ac_check_lib_save_LIBS
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_close" >&5
16957 $as_echo "$ac_cv_lib_c_close" >&6; }
16958 if test "x$ac_cv_lib_c_close" = xyes; then :
16960 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
16964 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
16969 if test "x$ac_cv_lib_c_close" = xyes; then
16971 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
16973 elif test "x$ac_cv_func_close" = xyes; then
16975 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
16979 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ctime" >&5
16986 $as_echo_n "checking m2 front end checking c library for ctime... " >&6; }
16987 if test x$gcc_no_link != xyes; then
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime in -lc" >&5
16989 $as_echo_n "checking for ctime in -lc... " >&6; }
16990 if ${ac_cv_lib_c_ctime+:} false; then :
16991 $as_echo_n "(cached) " >&6
16993 ac_check_lib_save_LIBS=$LIBS
16995 if test x$gcc_no_link = xyes; then
16996 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17001 /* Override any GCC internal prototype to avoid an error.
17002 Use char because int might match the return type of a GCC
17003 builtin and then its argument prototype would still apply. */
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 ac_cv_lib_c_ctime=yes
17019 ac_cv_lib_c_ctime=no
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 LIBS=$ac_check_lib_save_LIBS
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ctime" >&5
17026 $as_echo "$ac_cv_lib_c_ctime" >&6; }
17027 if test "x$ac_cv_lib_c_ctime" = xyes; then :
17029 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17033 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17038 if test "x$ac_cv_lib_c_ctime" = xyes; then
17040 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17042 elif test "x$ac_cv_func_ctime" = xyes; then
17044 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17048 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for creat" >&5
17055 $as_echo_n "checking m2 front end checking c library for creat... " >&6; }
17056 if test x$gcc_no_link != xyes; then
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for creat in -lc" >&5
17058 $as_echo_n "checking for creat in -lc... " >&6; }
17059 if ${ac_cv_lib_c_creat+:} false; then :
17060 $as_echo_n "(cached) " >&6
17062 ac_check_lib_save_LIBS=$LIBS
17064 if test x$gcc_no_link = xyes; then
17065 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17070 /* Override any GCC internal prototype to avoid an error.
17071 Use char because int might match the return type of a GCC
17072 builtin and then its argument prototype would still apply. */
17085 if ac_fn_c_try_link "$LINENO"; then :
17086 ac_cv_lib_c_creat=yes
17088 ac_cv_lib_c_creat=no
17090 rm -f core conftest.err conftest.$ac_objext \
17091 conftest$ac_exeext conftest.$ac_ext
17092 LIBS=$ac_check_lib_save_LIBS
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_creat" >&5
17095 $as_echo "$ac_cv_lib_c_creat" >&6; }
17096 if test "x$ac_cv_lib_c_creat" = xyes; then :
17098 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17102 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17107 if test "x$ac_cv_lib_c_creat" = xyes; then
17109 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17111 elif test "x$ac_cv_func_creat" = xyes; then
17113 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17117 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for dup" >&5
17124 $as_echo_n "checking m2 front end checking c library for dup... " >&6; }
17125 if test x$gcc_no_link != xyes; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup in -lc" >&5
17127 $as_echo_n "checking for dup in -lc... " >&6; }
17128 if ${ac_cv_lib_c_dup+:} false; then :
17129 $as_echo_n "(cached) " >&6
17131 ac_check_lib_save_LIBS=$LIBS
17133 if test x$gcc_no_link = xyes; then
17134 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17139 /* Override any GCC internal prototype to avoid an error.
17140 Use char because int might match the return type of a GCC
17141 builtin and then its argument prototype would still apply. */
17154 if ac_fn_c_try_link "$LINENO"; then :
17155 ac_cv_lib_c_dup=yes
17159 rm -f core conftest.err conftest.$ac_objext \
17160 conftest$ac_exeext conftest.$ac_ext
17161 LIBS=$ac_check_lib_save_LIBS
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dup" >&5
17164 $as_echo "$ac_cv_lib_c_dup" >&6; }
17165 if test "x$ac_cv_lib_c_dup" = xyes; then :
17167 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17171 $as_echo "#undef HAVE_DUP" >>confdefs.h
17176 if test "x$ac_cv_lib_c_dup" = xyes; then
17178 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17180 elif test "x$ac_cv_func_dup" = xyes; then
17182 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17186 $as_echo "#undef HAVE_DUP" >>confdefs.h
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for execve" >&5
17193 $as_echo_n "checking m2 front end checking c library for execve... " >&6; }
17194 if test x$gcc_no_link != xyes; then
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execve in -lc" >&5
17196 $as_echo_n "checking for execve in -lc... " >&6; }
17197 if ${ac_cv_lib_c_execve+:} false; then :
17198 $as_echo_n "(cached) " >&6
17200 ac_check_lib_save_LIBS=$LIBS
17202 if test x$gcc_no_link = xyes; then
17203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17223 if ac_fn_c_try_link "$LINENO"; then :
17224 ac_cv_lib_c_execve=yes
17226 ac_cv_lib_c_execve=no
17228 rm -f core conftest.err conftest.$ac_objext \
17229 conftest$ac_exeext conftest.$ac_ext
17230 LIBS=$ac_check_lib_save_LIBS
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_execve" >&5
17233 $as_echo "$ac_cv_lib_c_execve" >&6; }
17234 if test "x$ac_cv_lib_c_execve" = xyes; then :
17236 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17240 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17245 if test "x$ac_cv_lib_c_execve" = xyes; then
17247 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17249 elif test "x$ac_cv_func_execve" = xyes; then
17251 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17255 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for exit" >&5
17262 $as_echo_n "checking m2 front end checking c library for exit... " >&6; }
17263 if test x$gcc_no_link != xyes; then
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lc" >&5
17265 $as_echo_n "checking for exit in -lc... " >&6; }
17266 if ${ac_cv_lib_c_exit+:} false; then :
17267 $as_echo_n "(cached) " >&6
17269 ac_check_lib_save_LIBS=$LIBS
17271 if test x$gcc_no_link = xyes; then
17272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17277 /* Override any GCC internal prototype to avoid an error.
17278 Use char because int might match the return type of a GCC
17279 builtin and then its argument prototype would still apply. */
17292 if ac_fn_c_try_link "$LINENO"; then :
17293 ac_cv_lib_c_exit=yes
17295 ac_cv_lib_c_exit=no
17297 rm -f core conftest.err conftest.$ac_objext \
17298 conftest$ac_exeext conftest.$ac_ext
17299 LIBS=$ac_check_lib_save_LIBS
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_exit" >&5
17302 $as_echo "$ac_cv_lib_c_exit" >&6; }
17303 if test "x$ac_cv_lib_c_exit" = xyes; then :
17305 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17309 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17314 if test "x$ac_cv_lib_c_exit" = xyes; then
17316 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17318 elif test "x$ac_cv_func_exit" = xyes; then
17320 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17324 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fcntl" >&5
17331 $as_echo_n "checking m2 front end checking c library for fcntl... " >&6; }
17332 if test x$gcc_no_link != xyes; then
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl in -lc" >&5
17334 $as_echo_n "checking for fcntl in -lc... " >&6; }
17335 if ${ac_cv_lib_c_fcntl+:} false; then :
17336 $as_echo_n "(cached) " >&6
17338 ac_check_lib_save_LIBS=$LIBS
17340 if test x$gcc_no_link = xyes; then
17341 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17344 /* end confdefs.h. */
17346 /* Override any GCC internal prototype to avoid an error.
17347 Use char because int might match the return type of a GCC
17348 builtin and then its argument prototype would still apply. */
17361 if ac_fn_c_try_link "$LINENO"; then :
17362 ac_cv_lib_c_fcntl=yes
17364 ac_cv_lib_c_fcntl=no
17366 rm -f core conftest.err conftest.$ac_objext \
17367 conftest$ac_exeext conftest.$ac_ext
17368 LIBS=$ac_check_lib_save_LIBS
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fcntl" >&5
17371 $as_echo "$ac_cv_lib_c_fcntl" >&6; }
17372 if test "x$ac_cv_lib_c_fcntl" = xyes; then :
17374 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17378 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17383 if test "x$ac_cv_lib_c_fcntl" = xyes; then
17385 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17387 elif test "x$ac_cv_func_fcntl" = xyes; then
17389 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17393 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fstat" >&5
17400 $as_echo_n "checking m2 front end checking c library for fstat... " >&6; }
17401 if test x$gcc_no_link != xyes; then
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fstat in -lc" >&5
17403 $as_echo_n "checking for fstat in -lc... " >&6; }
17404 if ${ac_cv_lib_c_fstat+:} false; then :
17405 $as_echo_n "(cached) " >&6
17407 ac_check_lib_save_LIBS=$LIBS
17409 if test x$gcc_no_link = xyes; then
17410 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17415 /* Override any GCC internal prototype to avoid an error.
17416 Use char because int might match the return type of a GCC
17417 builtin and then its argument prototype would still apply. */
17430 if ac_fn_c_try_link "$LINENO"; then :
17431 ac_cv_lib_c_fstat=yes
17433 ac_cv_lib_c_fstat=no
17435 rm -f core conftest.err conftest.$ac_objext \
17436 conftest$ac_exeext conftest.$ac_ext
17437 LIBS=$ac_check_lib_save_LIBS
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fstat" >&5
17440 $as_echo "$ac_cv_lib_c_fstat" >&6; }
17441 if test "x$ac_cv_lib_c_fstat" = xyes; then :
17443 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17447 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17452 if test "x$ac_cv_lib_c_fstat" = xyes; then
17454 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17456 elif test "x$ac_cv_func_fstat" = xyes; then
17458 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17462 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getdents" >&5
17469 $as_echo_n "checking m2 front end checking c library for getdents... " >&6; }
17470 if test x$gcc_no_link != xyes; then
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getdents in -lc" >&5
17472 $as_echo_n "checking for getdents in -lc... " >&6; }
17473 if ${ac_cv_lib_c_getdents+:} false; then :
17474 $as_echo_n "(cached) " >&6
17476 ac_check_lib_save_LIBS=$LIBS
17478 if test x$gcc_no_link = xyes; then
17479 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17484 /* Override any GCC internal prototype to avoid an error.
17485 Use char because int might match the return type of a GCC
17486 builtin and then its argument prototype would still apply. */
17494 return getdents ();
17499 if ac_fn_c_try_link "$LINENO"; then :
17500 ac_cv_lib_c_getdents=yes
17502 ac_cv_lib_c_getdents=no
17504 rm -f core conftest.err conftest.$ac_objext \
17505 conftest$ac_exeext conftest.$ac_ext
17506 LIBS=$ac_check_lib_save_LIBS
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getdents" >&5
17509 $as_echo "$ac_cv_lib_c_getdents" >&6; }
17510 if test "x$ac_cv_lib_c_getdents" = xyes; then :
17512 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17516 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17521 if test "x$ac_cv_lib_c_getdents" = xyes; then
17523 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17525 elif test "x$ac_cv_func_getdents" = xyes; then
17527 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17531 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getgid" >&5
17538 $as_echo_n "checking m2 front end checking c library for getgid... " >&6; }
17539 if test x$gcc_no_link != xyes; then
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
17541 $as_echo_n "checking for getgid in -lc... " >&6; }
17542 if ${ac_cv_lib_c_getgid+:} false; then :
17543 $as_echo_n "(cached) " >&6
17545 ac_check_lib_save_LIBS=$LIBS
17547 if test x$gcc_no_link = xyes; then
17548 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17553 /* Override any GCC internal prototype to avoid an error.
17554 Use char because int might match the return type of a GCC
17555 builtin and then its argument prototype would still apply. */
17568 if ac_fn_c_try_link "$LINENO"; then :
17569 ac_cv_lib_c_getgid=yes
17571 ac_cv_lib_c_getgid=no
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17575 LIBS=$ac_check_lib_save_LIBS
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
17578 $as_echo "$ac_cv_lib_c_getgid" >&6; }
17579 if test "x$ac_cv_lib_c_getgid" = xyes; then :
17581 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17585 $as_echo "#undef HAVE_GETGID" >>confdefs.h
17590 if test "x$ac_cv_lib_c_getgid" = xyes; then
17592 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17594 elif test "x$ac_cv_func_getgid" = xyes; then
17596 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17600 $as_echo "#undef HAVE_GETGID" >>confdefs.h
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getpid" >&5
17607 $as_echo_n "checking m2 front end checking c library for getpid... " >&6; }
17608 if test x$gcc_no_link != xyes; then
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
17610 $as_echo_n "checking for getpid in -lc... " >&6; }
17611 if ${ac_cv_lib_c_getpid+:} false; then :
17612 $as_echo_n "(cached) " >&6
17614 ac_check_lib_save_LIBS=$LIBS
17616 if test x$gcc_no_link = xyes; then
17617 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17622 /* Override any GCC internal prototype to avoid an error.
17623 Use char because int might match the return type of a GCC
17624 builtin and then its argument prototype would still apply. */
17637 if ac_fn_c_try_link "$LINENO"; then :
17638 ac_cv_lib_c_getpid=yes
17640 ac_cv_lib_c_getpid=no
17642 rm -f core conftest.err conftest.$ac_objext \
17643 conftest$ac_exeext conftest.$ac_ext
17644 LIBS=$ac_check_lib_save_LIBS
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
17647 $as_echo "$ac_cv_lib_c_getpid" >&6; }
17648 if test "x$ac_cv_lib_c_getpid" = xyes; then :
17650 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17654 $as_echo "#undef HAVE_GETPID" >>confdefs.h
17659 if test "x$ac_cv_lib_c_getpid" = xyes; then
17661 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17663 elif test "x$ac_cv_func_getpid" = xyes; then
17665 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17669 $as_echo "#undef HAVE_GETPID" >>confdefs.h
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for gettimeofday" >&5
17676 $as_echo_n "checking m2 front end checking c library for gettimeofday... " >&6; }
17677 if test x$gcc_no_link != xyes; then
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lc" >&5
17679 $as_echo_n "checking for gettimeofday in -lc... " >&6; }
17680 if ${ac_cv_lib_c_gettimeofday+:} false; then :
17681 $as_echo_n "(cached) " >&6
17683 ac_check_lib_save_LIBS=$LIBS
17685 if test x$gcc_no_link = xyes; then
17686 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17691 /* Override any GCC internal prototype to avoid an error.
17692 Use char because int might match the return type of a GCC
17693 builtin and then its argument prototype would still apply. */
17697 char gettimeofday ();
17701 return gettimeofday ();
17706 if ac_fn_c_try_link "$LINENO"; then :
17707 ac_cv_lib_c_gettimeofday=yes
17709 ac_cv_lib_c_gettimeofday=no
17711 rm -f core conftest.err conftest.$ac_objext \
17712 conftest$ac_exeext conftest.$ac_ext
17713 LIBS=$ac_check_lib_save_LIBS
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettimeofday" >&5
17716 $as_echo "$ac_cv_lib_c_gettimeofday" >&6; }
17717 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then :
17719 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
17723 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
17728 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then
17730 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
17732 elif test "x$ac_cv_func_gettimeofday" = xyes; then
17734 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
17738 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getuid" >&5
17745 $as_echo_n "checking m2 front end checking c library for getuid... " >&6; }
17746 if test x$gcc_no_link != xyes; then
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
17748 $as_echo_n "checking for getuid in -lc... " >&6; }
17749 if ${ac_cv_lib_c_getuid+:} false; then :
17750 $as_echo_n "(cached) " >&6
17752 ac_check_lib_save_LIBS=$LIBS
17754 if test x$gcc_no_link = xyes; then
17755 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17760 /* Override any GCC internal prototype to avoid an error.
17761 Use char because int might match the return type of a GCC
17762 builtin and then its argument prototype would still apply. */
17775 if ac_fn_c_try_link "$LINENO"; then :
17776 ac_cv_lib_c_getuid=yes
17778 ac_cv_lib_c_getuid=no
17780 rm -f core conftest.err conftest.$ac_objext \
17781 conftest$ac_exeext conftest.$ac_ext
17782 LIBS=$ac_check_lib_save_LIBS
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
17785 $as_echo "$ac_cv_lib_c_getuid" >&6; }
17786 if test "x$ac_cv_lib_c_getuid" = xyes; then :
17788 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
17792 $as_echo "#undef HAVE_GETUID" >>confdefs.h
17797 if test "x$ac_cv_lib_c_getuid" = xyes; then
17799 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
17801 elif test "x$ac_cv_func_getuid" = xyes; then
17803 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
17807 $as_echo "#undef HAVE_GETUID" >>confdefs.h
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ioctl" >&5
17814 $as_echo_n "checking m2 front end checking c library for ioctl... " >&6; }
17815 if test x$gcc_no_link != xyes; then
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl in -lc" >&5
17817 $as_echo_n "checking for ioctl in -lc... " >&6; }
17818 if ${ac_cv_lib_c_ioctl+:} false; then :
17819 $as_echo_n "(cached) " >&6
17821 ac_check_lib_save_LIBS=$LIBS
17823 if test x$gcc_no_link = xyes; then
17824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17829 /* Override any GCC internal prototype to avoid an error.
17830 Use char because int might match the return type of a GCC
17831 builtin and then its argument prototype would still apply. */
17844 if ac_fn_c_try_link "$LINENO"; then :
17845 ac_cv_lib_c_ioctl=yes
17847 ac_cv_lib_c_ioctl=no
17849 rm -f core conftest.err conftest.$ac_objext \
17850 conftest$ac_exeext conftest.$ac_ext
17851 LIBS=$ac_check_lib_save_LIBS
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ioctl" >&5
17854 $as_echo "$ac_cv_lib_c_ioctl" >&6; }
17855 if test "x$ac_cv_lib_c_ioctl" = xyes; then :
17857 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
17861 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
17866 if test "x$ac_cv_lib_c_ioctl" = xyes; then
17868 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
17870 elif test "x$ac_cv_func_ioctl" = xyes; then
17872 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
17876 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for kill" >&5
17883 $as_echo_n "checking m2 front end checking c library for kill... " >&6; }
17884 if test x$gcc_no_link != xyes; then
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kill in -lc" >&5
17886 $as_echo_n "checking for kill in -lc... " >&6; }
17887 if ${ac_cv_lib_c_kill+:} false; then :
17888 $as_echo_n "(cached) " >&6
17890 ac_check_lib_save_LIBS=$LIBS
17892 if test x$gcc_no_link = xyes; then
17893 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17898 /* Override any GCC internal prototype to avoid an error.
17899 Use char because int might match the return type of a GCC
17900 builtin and then its argument prototype would still apply. */
17913 if ac_fn_c_try_link "$LINENO"; then :
17914 ac_cv_lib_c_kill=yes
17916 ac_cv_lib_c_kill=no
17918 rm -f core conftest.err conftest.$ac_objext \
17919 conftest$ac_exeext conftest.$ac_ext
17920 LIBS=$ac_check_lib_save_LIBS
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_kill" >&5
17923 $as_echo "$ac_cv_lib_c_kill" >&6; }
17924 if test "x$ac_cv_lib_c_kill" = xyes; then :
17926 $as_echo "#define HAVE_KILL 1" >>confdefs.h
17930 $as_echo "#undef HAVE_KILL" >>confdefs.h
17935 if test "x$ac_cv_lib_c_kill" = xyes; then
17937 $as_echo "#define HAVE_KILL 1" >>confdefs.h
17939 elif test "x$ac_cv_func_kill" = xyes; then
17941 $as_echo "#define HAVE_KILL 1" >>confdefs.h
17945 $as_echo "#undef HAVE_KILL" >>confdefs.h
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for link" >&5
17952 $as_echo_n "checking m2 front end checking c library for link... " >&6; }
17953 if test x$gcc_no_link != xyes; then
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link in -lc" >&5
17955 $as_echo_n "checking for link in -lc... " >&6; }
17956 if ${ac_cv_lib_c_link+:} false; then :
17957 $as_echo_n "(cached) " >&6
17959 ac_check_lib_save_LIBS=$LIBS
17961 if test x$gcc_no_link = xyes; then
17962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17967 /* Override any GCC internal prototype to avoid an error.
17968 Use char because int might match the return type of a GCC
17969 builtin and then its argument prototype would still apply. */
17982 if ac_fn_c_try_link "$LINENO"; then :
17983 ac_cv_lib_c_link=yes
17985 ac_cv_lib_c_link=no
17987 rm -f core conftest.err conftest.$ac_objext \
17988 conftest$ac_exeext conftest.$ac_ext
17989 LIBS=$ac_check_lib_save_LIBS
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_link" >&5
17992 $as_echo "$ac_cv_lib_c_link" >&6; }
17993 if test "x$ac_cv_lib_c_link" = xyes; then :
17995 $as_echo "#define HAVE_LINK 1" >>confdefs.h
17999 $as_echo "#undef HAVE_LINK" >>confdefs.h
18004 if test "x$ac_cv_lib_c_link" = xyes; then
18006 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18008 elif test "x$ac_cv_func_link" = xyes; then
18010 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18014 $as_echo "#undef HAVE_LINK" >>confdefs.h
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for lseek" >&5
18021 $as_echo_n "checking m2 front end checking c library for lseek... " >&6; }
18022 if test x$gcc_no_link != xyes; then
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lc" >&5
18024 $as_echo_n "checking for lseek in -lc... " >&6; }
18025 if ${ac_cv_lib_c_lseek+:} false; then :
18026 $as_echo_n "(cached) " >&6
18028 ac_check_lib_save_LIBS=$LIBS
18030 if test x$gcc_no_link = xyes; then
18031 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 /* Override any GCC internal prototype to avoid an error.
18037 Use char because int might match the return type of a GCC
18038 builtin and then its argument prototype would still apply. */
18051 if ac_fn_c_try_link "$LINENO"; then :
18052 ac_cv_lib_c_lseek=yes
18054 ac_cv_lib_c_lseek=no
18056 rm -f core conftest.err conftest.$ac_objext \
18057 conftest$ac_exeext conftest.$ac_ext
18058 LIBS=$ac_check_lib_save_LIBS
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_lseek" >&5
18061 $as_echo "$ac_cv_lib_c_lseek" >&6; }
18062 if test "x$ac_cv_lib_c_lseek" = xyes; then :
18064 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18068 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18073 if test "x$ac_cv_lib_c_lseek" = xyes; then
18075 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18077 elif test "x$ac_cv_func_lseek" = xyes; then
18079 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18083 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for open" >&5
18090 $as_echo_n "checking m2 front end checking c library for open... " >&6; }
18091 if test x$gcc_no_link != xyes; then
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
18093 $as_echo_n "checking for open in -lc... " >&6; }
18094 if ${ac_cv_lib_c_open+:} false; then :
18095 $as_echo_n "(cached) " >&6
18097 ac_check_lib_save_LIBS=$LIBS
18099 if test x$gcc_no_link = xyes; then
18100 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18103 /* end confdefs.h. */
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18120 if ac_fn_c_try_link "$LINENO"; then :
18121 ac_cv_lib_c_open=yes
18123 ac_cv_lib_c_open=no
18125 rm -f core conftest.err conftest.$ac_objext \
18126 conftest$ac_exeext conftest.$ac_ext
18127 LIBS=$ac_check_lib_save_LIBS
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
18130 $as_echo "$ac_cv_lib_c_open" >&6; }
18131 if test "x$ac_cv_lib_c_open" = xyes; then :
18133 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18137 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18142 if test "x$ac_cv_lib_c_open" = xyes; then
18144 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18146 elif test "x$ac_cv_func_open" = xyes; then
18148 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18152 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pause" >&5
18159 $as_echo_n "checking m2 front end checking c library for pause... " >&6; }
18160 if test x$gcc_no_link != xyes; then
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pause in -lc" >&5
18162 $as_echo_n "checking for pause in -lc... " >&6; }
18163 if ${ac_cv_lib_c_pause+:} false; then :
18164 $as_echo_n "(cached) " >&6
18166 ac_check_lib_save_LIBS=$LIBS
18168 if test x$gcc_no_link = xyes; then
18169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18189 if ac_fn_c_try_link "$LINENO"; then :
18190 ac_cv_lib_c_pause=yes
18192 ac_cv_lib_c_pause=no
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext conftest.$ac_ext
18196 LIBS=$ac_check_lib_save_LIBS
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pause" >&5
18199 $as_echo "$ac_cv_lib_c_pause" >&6; }
18200 if test "x$ac_cv_lib_c_pause" = xyes; then :
18202 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18206 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18211 if test "x$ac_cv_lib_c_pause" = xyes; then
18213 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18215 elif test "x$ac_cv_func_pause" = xyes; then
18217 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18221 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pipe" >&5
18228 $as_echo_n "checking m2 front end checking c library for pipe... " >&6; }
18229 if test x$gcc_no_link != xyes; then
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe in -lc" >&5
18231 $as_echo_n "checking for pipe in -lc... " >&6; }
18232 if ${ac_cv_lib_c_pipe+:} false; then :
18233 $as_echo_n "(cached) " >&6
18235 ac_check_lib_save_LIBS=$LIBS
18237 if test x$gcc_no_link = xyes; then
18238 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18243 /* Override any GCC internal prototype to avoid an error.
18244 Use char because int might match the return type of a GCC
18245 builtin and then its argument prototype would still apply. */
18258 if ac_fn_c_try_link "$LINENO"; then :
18259 ac_cv_lib_c_pipe=yes
18261 ac_cv_lib_c_pipe=no
18263 rm -f core conftest.err conftest.$ac_objext \
18264 conftest$ac_exeext conftest.$ac_ext
18265 LIBS=$ac_check_lib_save_LIBS
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pipe" >&5
18268 $as_echo "$ac_cv_lib_c_pipe" >&6; }
18269 if test "x$ac_cv_lib_c_pipe" = xyes; then :
18271 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18275 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18280 if test "x$ac_cv_lib_c_pipe" = xyes; then
18282 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18284 elif test "x$ac_cv_func_pipe" = xyes; then
18286 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18290 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for rand" >&5
18297 $as_echo_n "checking m2 front end checking c library for rand... " >&6; }
18298 if test x$gcc_no_link != xyes; then
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rand in -lc" >&5
18300 $as_echo_n "checking for rand in -lc... " >&6; }
18301 if ${ac_cv_lib_c_rand+:} false; then :
18302 $as_echo_n "(cached) " >&6
18304 ac_check_lib_save_LIBS=$LIBS
18306 if test x$gcc_no_link = xyes; then
18307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18312 /* Override any GCC internal prototype to avoid an error.
18313 Use char because int might match the return type of a GCC
18314 builtin and then its argument prototype would still apply. */
18327 if ac_fn_c_try_link "$LINENO"; then :
18328 ac_cv_lib_c_rand=yes
18330 ac_cv_lib_c_rand=no
18332 rm -f core conftest.err conftest.$ac_objext \
18333 conftest$ac_exeext conftest.$ac_ext
18334 LIBS=$ac_check_lib_save_LIBS
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_rand" >&5
18337 $as_echo "$ac_cv_lib_c_rand" >&6; }
18338 if test "x$ac_cv_lib_c_rand" = xyes; then :
18340 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18344 $as_echo "#undef HAVE_RAND" >>confdefs.h
18349 if test "x$ac_cv_lib_c_rand" = xyes; then
18351 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18353 elif test "x$ac_cv_func_rand" = xyes; then
18355 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18359 $as_echo "#undef HAVE_RAND" >>confdefs.h
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for read" >&5
18366 $as_echo_n "checking m2 front end checking c library for read... " >&6; }
18367 if test x$gcc_no_link != xyes; then
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc" >&5
18369 $as_echo_n "checking for read in -lc... " >&6; }
18370 if ${ac_cv_lib_c_read+:} false; then :
18371 $as_echo_n "(cached) " >&6
18373 ac_check_lib_save_LIBS=$LIBS
18375 if test x$gcc_no_link = xyes; then
18376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18381 /* Override any GCC internal prototype to avoid an error.
18382 Use char because int might match the return type of a GCC
18383 builtin and then its argument prototype would still apply. */
18396 if ac_fn_c_try_link "$LINENO"; then :
18397 ac_cv_lib_c_read=yes
18399 ac_cv_lib_c_read=no
18401 rm -f core conftest.err conftest.$ac_objext \
18402 conftest$ac_exeext conftest.$ac_ext
18403 LIBS=$ac_check_lib_save_LIBS
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_read" >&5
18406 $as_echo "$ac_cv_lib_c_read" >&6; }
18407 if test "x$ac_cv_lib_c_read" = xyes; then :
18409 $as_echo "#define HAVE_READ 1" >>confdefs.h
18413 $as_echo "#undef HAVE_READ" >>confdefs.h
18418 if test "x$ac_cv_lib_c_read" = xyes; then
18420 $as_echo "#define HAVE_READ 1" >>confdefs.h
18422 elif test "x$ac_cv_func_read" = xyes; then
18424 $as_echo "#define HAVE_READ 1" >>confdefs.h
18428 $as_echo "#undef HAVE_READ" >>confdefs.h
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for select" >&5
18435 $as_echo_n "checking m2 front end checking c library for select... " >&6; }
18436 if test x$gcc_no_link != xyes; then
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lc" >&5
18438 $as_echo_n "checking for select in -lc... " >&6; }
18439 if ${ac_cv_lib_c_select+:} false; then :
18440 $as_echo_n "(cached) " >&6
18442 ac_check_lib_save_LIBS=$LIBS
18444 if test x$gcc_no_link = xyes; then
18445 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18450 /* Override any GCC internal prototype to avoid an error.
18451 Use char because int might match the return type of a GCC
18452 builtin and then its argument prototype would still apply. */
18465 if ac_fn_c_try_link "$LINENO"; then :
18466 ac_cv_lib_c_select=yes
18468 ac_cv_lib_c_select=no
18470 rm -f core conftest.err conftest.$ac_objext \
18471 conftest$ac_exeext conftest.$ac_ext
18472 LIBS=$ac_check_lib_save_LIBS
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_select" >&5
18475 $as_echo "$ac_cv_lib_c_select" >&6; }
18476 if test "x$ac_cv_lib_c_select" = xyes; then :
18478 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18482 $as_echo "#undef HAVE_SELECT" >>confdefs.h
18487 if test "x$ac_cv_lib_c_select" = xyes; then
18489 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18491 elif test "x$ac_cv_func_select" = xyes; then
18493 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18497 $as_echo "#undef HAVE_SELECT" >>confdefs.h
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setitimer" >&5
18504 $as_echo_n "checking m2 front end checking c library for setitimer... " >&6; }
18505 if test x$gcc_no_link != xyes; then
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setitimer in -lc" >&5
18507 $as_echo_n "checking for setitimer in -lc... " >&6; }
18508 if ${ac_cv_lib_c_setitimer+:} false; then :
18509 $as_echo_n "(cached) " >&6
18511 ac_check_lib_save_LIBS=$LIBS
18513 if test x$gcc_no_link = xyes; then
18514 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18519 /* Override any GCC internal prototype to avoid an error.
18520 Use char because int might match the return type of a GCC
18521 builtin and then its argument prototype would still apply. */
18529 return setitimer ();
18534 if ac_fn_c_try_link "$LINENO"; then :
18535 ac_cv_lib_c_setitimer=yes
18537 ac_cv_lib_c_setitimer=no
18539 rm -f core conftest.err conftest.$ac_objext \
18540 conftest$ac_exeext conftest.$ac_ext
18541 LIBS=$ac_check_lib_save_LIBS
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setitimer" >&5
18544 $as_echo "$ac_cv_lib_c_setitimer" >&6; }
18545 if test "x$ac_cv_lib_c_setitimer" = xyes; then :
18547 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18551 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
18556 if test "x$ac_cv_lib_c_setitimer" = xyes; then
18558 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18560 elif test "x$ac_cv_func_setitimer" = xyes; then
18562 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18566 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setgid" >&5
18573 $as_echo_n "checking m2 front end checking c library for setgid... " >&6; }
18574 if test x$gcc_no_link != xyes; then
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgid in -lc" >&5
18576 $as_echo_n "checking for setgid in -lc... " >&6; }
18577 if ${ac_cv_lib_c_setgid+:} false; then :
18578 $as_echo_n "(cached) " >&6
18580 ac_check_lib_save_LIBS=$LIBS
18582 if test x$gcc_no_link = xyes; then
18583 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18588 /* Override any GCC internal prototype to avoid an error.
18589 Use char because int might match the return type of a GCC
18590 builtin and then its argument prototype would still apply. */
18603 if ac_fn_c_try_link "$LINENO"; then :
18604 ac_cv_lib_c_setgid=yes
18606 ac_cv_lib_c_setgid=no
18608 rm -f core conftest.err conftest.$ac_objext \
18609 conftest$ac_exeext conftest.$ac_ext
18610 LIBS=$ac_check_lib_save_LIBS
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgid" >&5
18613 $as_echo "$ac_cv_lib_c_setgid" >&6; }
18614 if test "x$ac_cv_lib_c_setgid" = xyes; then :
18616 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18620 $as_echo "#undef HAVE_SETGID" >>confdefs.h
18625 if test "x$ac_cv_lib_c_setgid" = xyes; then
18627 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18629 elif test "x$ac_cv_func_setgid" = xyes; then
18631 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18635 $as_echo "#undef HAVE_SETGID" >>confdefs.h
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setuid" >&5
18642 $as_echo_n "checking m2 front end checking c library for setuid... " >&6; }
18643 if test x$gcc_no_link != xyes; then
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setuid in -lc" >&5
18645 $as_echo_n "checking for setuid in -lc... " >&6; }
18646 if ${ac_cv_lib_c_setuid+:} false; then :
18647 $as_echo_n "(cached) " >&6
18649 ac_check_lib_save_LIBS=$LIBS
18651 if test x$gcc_no_link = xyes; then
18652 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18655 /* end confdefs.h. */
18657 /* Override any GCC internal prototype to avoid an error.
18658 Use char because int might match the return type of a GCC
18659 builtin and then its argument prototype would still apply. */
18672 if ac_fn_c_try_link "$LINENO"; then :
18673 ac_cv_lib_c_setuid=yes
18675 ac_cv_lib_c_setuid=no
18677 rm -f core conftest.err conftest.$ac_objext \
18678 conftest$ac_exeext conftest.$ac_ext
18679 LIBS=$ac_check_lib_save_LIBS
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setuid" >&5
18682 $as_echo "$ac_cv_lib_c_setuid" >&6; }
18683 if test "x$ac_cv_lib_c_setuid" = xyes; then :
18685 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
18689 $as_echo "#undef HAVE_SETUID" >>confdefs.h
18694 if test "x$ac_cv_lib_c_setuid" = xyes; then
18696 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
18698 elif test "x$ac_cv_func_setuid" = xyes; then
18700 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
18704 $as_echo "#undef HAVE_SETUID" >>confdefs.h
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for stat" >&5
18711 $as_echo_n "checking m2 front end checking c library for stat... " >&6; }
18712 if test x$gcc_no_link != xyes; then
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat in -lc" >&5
18714 $as_echo_n "checking for stat in -lc... " >&6; }
18715 if ${ac_cv_lib_c_stat+:} false; then :
18716 $as_echo_n "(cached) " >&6
18718 ac_check_lib_save_LIBS=$LIBS
18720 if test x$gcc_no_link = xyes; then
18721 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18724 /* end confdefs.h. */
18726 /* Override any GCC internal prototype to avoid an error.
18727 Use char because int might match the return type of a GCC
18728 builtin and then its argument prototype would still apply. */
18741 if ac_fn_c_try_link "$LINENO"; then :
18742 ac_cv_lib_c_stat=yes
18744 ac_cv_lib_c_stat=no
18746 rm -f core conftest.err conftest.$ac_objext \
18747 conftest$ac_exeext conftest.$ac_ext
18748 LIBS=$ac_check_lib_save_LIBS
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_stat" >&5
18751 $as_echo "$ac_cv_lib_c_stat" >&6; }
18752 if test "x$ac_cv_lib_c_stat" = xyes; then :
18754 $as_echo "#define HAVE_STAT 1" >>confdefs.h
18758 $as_echo "#undef HAVE_STAT" >>confdefs.h
18763 if test "x$ac_cv_lib_c_stat" = xyes; then
18765 $as_echo "#define HAVE_STAT 1" >>confdefs.h
18767 elif test "x$ac_cv_func_stat" = xyes; then
18769 $as_echo "#define HAVE_STAT 1" >>confdefs.h
18773 $as_echo "#undef HAVE_STAT" >>confdefs.h
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strsignal" >&5
18780 $as_echo_n "checking m2 front end checking c library for strsignal... " >&6; }
18781 if test x$gcc_no_link != xyes; then
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strsignal in -lc" >&5
18783 $as_echo_n "checking for strsignal in -lc... " >&6; }
18784 if ${ac_cv_lib_c_strsignal+:} false; then :
18785 $as_echo_n "(cached) " >&6
18787 ac_check_lib_save_LIBS=$LIBS
18789 if test x$gcc_no_link = xyes; then
18790 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18795 /* Override any GCC internal prototype to avoid an error.
18796 Use char because int might match the return type of a GCC
18797 builtin and then its argument prototype would still apply. */
18805 return strsignal ();
18810 if ac_fn_c_try_link "$LINENO"; then :
18811 ac_cv_lib_c_strsignal=yes
18813 ac_cv_lib_c_strsignal=no
18815 rm -f core conftest.err conftest.$ac_objext \
18816 conftest$ac_exeext conftest.$ac_ext
18817 LIBS=$ac_check_lib_save_LIBS
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strsignal" >&5
18820 $as_echo "$ac_cv_lib_c_strsignal" >&6; }
18821 if test "x$ac_cv_lib_c_strsignal" = xyes; then :
18823 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
18827 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
18832 if test "x$ac_cv_lib_c_strsignal" = xyes; then
18834 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
18836 elif test "x$ac_cv_func_strsignal" = xyes; then
18838 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
18842 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtod" >&5
18849 $as_echo_n "checking m2 front end checking c library for strtod... " >&6; }
18850 if test x$gcc_no_link != xyes; then
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtod in -lc" >&5
18852 $as_echo_n "checking for strtod in -lc... " >&6; }
18853 if ${ac_cv_lib_c_strtod+:} false; then :
18854 $as_echo_n "(cached) " >&6
18856 ac_check_lib_save_LIBS=$LIBS
18858 if test x$gcc_no_link = xyes; then
18859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18864 /* Override any GCC internal prototype to avoid an error.
18865 Use char because int might match the return type of a GCC
18866 builtin and then its argument prototype would still apply. */
18879 if ac_fn_c_try_link "$LINENO"; then :
18880 ac_cv_lib_c_strtod=yes
18882 ac_cv_lib_c_strtod=no
18884 rm -f core conftest.err conftest.$ac_objext \
18885 conftest$ac_exeext conftest.$ac_ext
18886 LIBS=$ac_check_lib_save_LIBS
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtod" >&5
18889 $as_echo "$ac_cv_lib_c_strtod" >&6; }
18890 if test "x$ac_cv_lib_c_strtod" = xyes; then :
18892 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
18896 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
18901 if test "x$ac_cv_lib_c_strtod" = xyes; then
18903 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
18905 elif test "x$ac_cv_func_strtod" = xyes; then
18907 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
18911 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtold" >&5
18918 $as_echo_n "checking m2 front end checking c library for strtold... " >&6; }
18919 if test x$gcc_no_link != xyes; then
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold in -lc" >&5
18921 $as_echo_n "checking for strtold in -lc... " >&6; }
18922 if ${ac_cv_lib_c_strtold+:} false; then :
18923 $as_echo_n "(cached) " >&6
18925 ac_check_lib_save_LIBS=$LIBS
18927 if test x$gcc_no_link = xyes; then
18928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18931 /* end confdefs.h. */
18933 /* Override any GCC internal prototype to avoid an error.
18934 Use char because int might match the return type of a GCC
18935 builtin and then its argument prototype would still apply. */
18948 if ac_fn_c_try_link "$LINENO"; then :
18949 ac_cv_lib_c_strtold=yes
18951 ac_cv_lib_c_strtold=no
18953 rm -f core conftest.err conftest.$ac_objext \
18954 conftest$ac_exeext conftest.$ac_ext
18955 LIBS=$ac_check_lib_save_LIBS
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtold" >&5
18958 $as_echo "$ac_cv_lib_c_strtold" >&6; }
18959 if test "x$ac_cv_lib_c_strtold" = xyes; then :
18961 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
18965 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
18970 if test "x$ac_cv_lib_c_strtold" = xyes; then
18972 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
18974 elif test "x$ac_cv_func_strtold" = xyes; then
18976 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
18980 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for times" >&5
18987 $as_echo_n "checking m2 front end checking c library for times... " >&6; }
18988 if test x$gcc_no_link != xyes; then
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for times in -lc" >&5
18990 $as_echo_n "checking for times in -lc... " >&6; }
18991 if ${ac_cv_lib_c_times+:} false; then :
18992 $as_echo_n "(cached) " >&6
18994 ac_check_lib_save_LIBS=$LIBS
18996 if test x$gcc_no_link = xyes; then
18997 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19002 /* Override any GCC internal prototype to avoid an error.
19003 Use char because int might match the return type of a GCC
19004 builtin and then its argument prototype would still apply. */
19017 if ac_fn_c_try_link "$LINENO"; then :
19018 ac_cv_lib_c_times=yes
19020 ac_cv_lib_c_times=no
19022 rm -f core conftest.err conftest.$ac_objext \
19023 conftest$ac_exeext conftest.$ac_ext
19024 LIBS=$ac_check_lib_save_LIBS
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_times" >&5
19027 $as_echo "$ac_cv_lib_c_times" >&6; }
19028 if test "x$ac_cv_lib_c_times" = xyes; then :
19030 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19034 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19039 if test "x$ac_cv_lib_c_times" = xyes; then
19041 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19043 elif test "x$ac_cv_func_times" = xyes; then
19045 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19049 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for unlink" >&5
19056 $as_echo_n "checking m2 front end checking c library for unlink... " >&6; }
19057 if test x$gcc_no_link != xyes; then
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlink in -lc" >&5
19059 $as_echo_n "checking for unlink in -lc... " >&6; }
19060 if ${ac_cv_lib_c_unlink+:} false; then :
19061 $as_echo_n "(cached) " >&6
19063 ac_check_lib_save_LIBS=$LIBS
19065 if test x$gcc_no_link = xyes; then
19066 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19069 /* end confdefs.h. */
19071 /* Override any GCC internal prototype to avoid an error.
19072 Use char because int might match the return type of a GCC
19073 builtin and then its argument prototype would still apply. */
19086 if ac_fn_c_try_link "$LINENO"; then :
19087 ac_cv_lib_c_unlink=yes
19089 ac_cv_lib_c_unlink=no
19091 rm -f core conftest.err conftest.$ac_objext \
19092 conftest$ac_exeext conftest.$ac_ext
19093 LIBS=$ac_check_lib_save_LIBS
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_unlink" >&5
19096 $as_echo "$ac_cv_lib_c_unlink" >&6; }
19097 if test "x$ac_cv_lib_c_unlink" = xyes; then :
19099 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19103 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19108 if test "x$ac_cv_lib_c_unlink" = xyes; then
19110 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19112 elif test "x$ac_cv_func_unlink" = xyes; then
19114 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19118 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for wait" >&5
19125 $as_echo_n "checking m2 front end checking c library for wait... " >&6; }
19126 if test x$gcc_no_link != xyes; then
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait in -lc" >&5
19128 $as_echo_n "checking for wait in -lc... " >&6; }
19129 if ${ac_cv_lib_c_wait+:} false; then :
19130 $as_echo_n "(cached) " >&6
19132 ac_check_lib_save_LIBS=$LIBS
19134 if test x$gcc_no_link = xyes; then
19135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19140 /* Override any GCC internal prototype to avoid an error.
19141 Use char because int might match the return type of a GCC
19142 builtin and then its argument prototype would still apply. */
19155 if ac_fn_c_try_link "$LINENO"; then :
19156 ac_cv_lib_c_wait=yes
19158 ac_cv_lib_c_wait=no
19160 rm -f core conftest.err conftest.$ac_objext \
19161 conftest$ac_exeext conftest.$ac_ext
19162 LIBS=$ac_check_lib_save_LIBS
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_wait" >&5
19165 $as_echo "$ac_cv_lib_c_wait" >&6; }
19166 if test "x$ac_cv_lib_c_wait" = xyes; then :
19168 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19172 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19177 if test "x$ac_cv_lib_c_wait" = xyes; then
19179 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19181 elif test "x$ac_cv_func_wait" = xyes; then
19183 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19187 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for write" >&5
19194 $as_echo_n "checking m2 front end checking c library for write... " >&6; }
19195 if test x$gcc_no_link != xyes; then
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for write in -lc" >&5
19197 $as_echo_n "checking for write in -lc... " >&6; }
19198 if ${ac_cv_lib_c_write+:} false; then :
19199 $as_echo_n "(cached) " >&6
19201 ac_check_lib_save_LIBS=$LIBS
19203 if test x$gcc_no_link = xyes; then
19204 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19209 /* Override any GCC internal prototype to avoid an error.
19210 Use char because int might match the return type of a GCC
19211 builtin and then its argument prototype would still apply. */
19224 if ac_fn_c_try_link "$LINENO"; then :
19225 ac_cv_lib_c_write=yes
19227 ac_cv_lib_c_write=no
19229 rm -f core conftest.err conftest.$ac_objext \
19230 conftest$ac_exeext conftest.$ac_ext
19231 LIBS=$ac_check_lib_save_LIBS
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_write" >&5
19234 $as_echo "$ac_cv_lib_c_write" >&6; }
19235 if test "x$ac_cv_lib_c_write" = xyes; then :
19237 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19241 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19246 if test "x$ac_cv_lib_c_write" = xyes; then
19248 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19250 elif test "x$ac_cv_func_write" = xyes; then
19252 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19256 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbit" >&5
19264 $as_echo_n "checking m2 front end checking m library for signbit... " >&6; }
19265 if test x$gcc_no_link != xyes; then
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
19267 $as_echo_n "checking for signbit in -lm... " >&6; }
19268 if ${ac_cv_lib_m_signbit+:} false; then :
19269 $as_echo_n "(cached) " >&6
19271 ac_check_lib_save_LIBS=$LIBS
19273 if test x$gcc_no_link = xyes; then
19274 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19277 /* end confdefs.h. */
19279 /* Override any GCC internal prototype to avoid an error.
19280 Use char because int might match the return type of a GCC
19281 builtin and then its argument prototype would still apply. */
19294 if ac_fn_c_try_link "$LINENO"; then :
19295 ac_cv_lib_m_signbit=yes
19297 ac_cv_lib_m_signbit=no
19299 rm -f core conftest.err conftest.$ac_objext \
19300 conftest$ac_exeext conftest.$ac_ext
19301 LIBS=$ac_check_lib_save_LIBS
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
19304 $as_echo "$ac_cv_lib_m_signbit" >&6; }
19305 if test "x$ac_cv_lib_m_signbit" = xyes; then :
19307 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19311 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
19316 if test "x$ac_cv_lib_m_signbit" = xyes; then
19318 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19320 elif test "x$ac_cv_func_signbit" = xyes; then
19322 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19326 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitf" >&5
19333 $as_echo_n "checking m2 front end checking m library for signbitf... " >&6; }
19334 if test x$gcc_no_link != xyes; then
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
19336 $as_echo_n "checking for signbitf in -lm... " >&6; }
19337 if ${ac_cv_lib_m_signbitf+:} false; then :
19338 $as_echo_n "(cached) " >&6
19340 ac_check_lib_save_LIBS=$LIBS
19342 if test x$gcc_no_link = xyes; then
19343 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19346 /* end confdefs.h. */
19348 /* Override any GCC internal prototype to avoid an error.
19349 Use char because int might match the return type of a GCC
19350 builtin and then its argument prototype would still apply. */
19358 return signbitf ();
19363 if ac_fn_c_try_link "$LINENO"; then :
19364 ac_cv_lib_m_signbitf=yes
19366 ac_cv_lib_m_signbitf=no
19368 rm -f core conftest.err conftest.$ac_objext \
19369 conftest$ac_exeext conftest.$ac_ext
19370 LIBS=$ac_check_lib_save_LIBS
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
19373 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
19374 if test "x$ac_cv_lib_m_signbitf" = xyes; then :
19376 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19380 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
19385 if test "x$ac_cv_lib_m_signbitf" = xyes; then
19387 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19389 elif test "x$ac_cv_func_signbitf" = xyes; then
19391 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19395 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitl" >&5
19402 $as_echo_n "checking m2 front end checking m library for signbitl... " >&6; }
19403 if test x$gcc_no_link != xyes; then
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
19405 $as_echo_n "checking for signbitl in -lm... " >&6; }
19406 if ${ac_cv_lib_m_signbitl+:} false; then :
19407 $as_echo_n "(cached) " >&6
19409 ac_check_lib_save_LIBS=$LIBS
19411 if test x$gcc_no_link = xyes; then
19412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19415 /* end confdefs.h. */
19417 /* Override any GCC internal prototype to avoid an error.
19418 Use char because int might match the return type of a GCC
19419 builtin and then its argument prototype would still apply. */
19427 return signbitl ();
19432 if ac_fn_c_try_link "$LINENO"; then :
19433 ac_cv_lib_m_signbitl=yes
19435 ac_cv_lib_m_signbitl=no
19437 rm -f core conftest.err conftest.$ac_objext \
19438 conftest$ac_exeext conftest.$ac_ext
19439 LIBS=$ac_check_lib_save_LIBS
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
19442 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
19443 if test "x$ac_cv_lib_m_signbitl" = xyes; then :
19445 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19449 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
19454 if test "x$ac_cv_lib_m_signbitl" = xyes; then
19456 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19458 elif test "x$ac_cv_func_signbitl" = xyes; then
19460 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19464 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has finished checking target libc and libm contents." >&5
19471 $as_echo "$as_me: libgm2 has finished checking target libc and libm contents." >&6;}
19473 # We test the host here and later on check the target.
19475 # All known M2_HOST_OS values. This is the union of all host operating systems
19476 # supported by gm2.
19478 M2_SUPPORTED_HOST_OS="aix freebsd hurd linux netbsd openbsd solaris windows darwin"
19483 *-*-darwin*) M2_HOST_OS=darwin ;;
19484 *-*-freebsd*) M2_HOST_OS=freebsd ;;
19485 *-*-linux*) M2_HOST_OS=linux ;;
19486 *-*-netbsd*) M2_HOST_OS=netbsd ;;
19487 *-*-openbsd*) M2_HOST_OS=openbsd ;;
19488 *-*-solaris2*) M2_HOST_OS=solaris ;;
19489 *-*-aix*) M2_HOST_OS=aix ;;
19490 *-*-gnu*) M2_HOST_OS=hurd ;;
19493 M2_TARGET_OS=unknown
19496 *-*-darwin*) M2_TARGET_OS=darwin ;;
19497 *-*-freebsd*) M2_TARGET_OS=freebsd ;;
19498 *-*-linux*) M2_TARGET_OS=linux ;;
19499 *-*-netbsd*) M2_TARGET_OS=netbsd ;;
19500 *-*-openbsd*) M2_TARGET_OS=openbsd ;;
19501 *-*-solaris2*) M2_TARGET_OS=solaris ;;
19502 *-*-aix*) M2_TARGET_OS=aix ;;
19503 *-*-gnu*) M2_TARGET_OS=hurd ;;
19506 # M2_HOST_OS=unknown
19507 if test x${M2_HOST_OS} = xunknown; then
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported host, will build a minimal m2 library" >&5
19509 $as_echo "$as_me: unsupported host, will build a minimal m2 library" >&6;}
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library will be built on ${M2_HOST_OS}" >&5
19516 $as_echo "$as_me: m2 library will be built on ${M2_HOST_OS}" >&6;}
19523 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
19526 # Propagate GM2_FOR_TARGET into Makefiles
19527 GM2_FOR_TARGET=${GM2_FOR_TARGET:-gcc}
19530 # Now we check the target as long as it is a supported host.
19531 # For some embedded targets we choose minimal runtime system which is
19532 # just enough to satisfy the linker targetting raw metal.
19533 if test x${M2_HOST_OS} != xunknown; then
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library building for target ${target}" >&5
19535 $as_echo "$as_me: m2 library building for target ${target}" >&6;}
19538 avr25*-*-* | avr31*-*-* | avr35*-*-* | avr4*-*-* | avr5*-*-* | avr51*-*-* | avr6*-*-*)
19545 avrxmega2*-*-* | avrxmega4*-*-* | avrxmega5*-*-* | avrxmega6*-*-* | avrxmega7*-*-*)
19568 # GM2_MSG_RESULT issue a query message from the first parameter and a boolean result
19569 # in the second parameter is printed as a "yes" or "no".
19573 if test x${M2_HOST_OS} = xunknown; then
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 front end will only build minimal Modula-2 runtime library on this host" >&5
19575 $as_echo "$as_me: m2 front end will only build minimal Modula-2 runtime library on this host" >&6;}
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build PIM libraries:" >&5
19579 $as_echo_n "checking m2 front end will build PIM libraries:... " >&6; }
19580 if test x${BUILD_PIMLIB} = xtrue; then
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19582 $as_echo "yes" >&6; }
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19585 $as_echo "no" >&6; }
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build ISO libraries:" >&5
19590 $as_echo_n "checking m2 front end will build ISO libraries:... " >&6; }
19591 if test x${BUILD_ISOLIB} = xtrue; then
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19593 $as_echo "yes" >&6; }
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19596 $as_echo "no" >&6; }
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build coroutine libraries:" >&5
19601 $as_echo_n "checking m2 front end will build coroutine libraries:... " >&6; }
19602 if test x${BUILD_CORLIB} = xtrue; then
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19604 $as_echo "yes" >&6; }
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19607 $as_echo "no" >&6; }
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
19612 $as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
19613 if test x${BUILD_LOGLIB} = xtrue; then
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19615 $as_echo "yes" >&6; }
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19618 $as_echo "no" >&6; }
19623 if test x$BUILD_PIMLIB = xtrue; then
19625 BUILD_PIMLIB_FALSE='#'
19627 BUILD_PIMLIB_TRUE='#'
19628 BUILD_PIMLIB_FALSE=
19631 if test x$BUILD_ISOLIB = xtrue; then
19633 BUILD_ISOLIB_FALSE='#'
19635 BUILD_ISOLIB_TRUE='#'
19636 BUILD_ISOLIB_FALSE=
19639 if test x$BUILD_CORLIB = xtrue; then
19641 BUILD_CORLIB_FALSE='#'
19643 BUILD_CORLIB_TRUE='#'
19644 BUILD_CORLIB_FALSE=
19647 if test x$BUILD_LOGLIB = xtrue; then
19649 BUILD_LOGLIB_FALSE='#'
19651 BUILD_LOGLIB_TRUE='#'
19652 BUILD_LOGLIB_FALSE=
19655 if test x$M2_TARGET_OS = xdarwin; then
19656 TARGET_DARWIN_TRUE=
19657 TARGET_DARWIN_FALSE='#'
19659 TARGET_DARWIN_TRUE='#'
19660 TARGET_DARWIN_FALSE=
19664 # Determine what GCC version number to use in filesystem paths.
19666 get_gcc_base_ver="cat"
19668 # Check whether --with-gcc-major-version-only was given.
19669 if test "${with_gcc_major_version_only+set}" = set; then :
19670 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
19671 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
19680 ac_config_files="$ac_config_files Makefile"
19683 ac_config_files="$ac_config_files libm2min/Makefile libm2pim/Makefile libm2iso/Makefile libm2cor/Makefile libm2log/Makefile"
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has been configured." >&5
19687 $as_echo "$as_me: libgm2 has been configured." >&6;}
19689 cat >confcache <<\_ACEOF
19690 # This file is a shell script that caches the results of configure
19691 # tests run on this system so they can be shared between configure
19692 # scripts and configure runs, see configure's option --config-cache.
19693 # It is not useful on other systems. If it contains results you don't
19694 # want to keep, you may remove or edit it.
19696 # config.status only pays attention to the cache file if you give it
19697 # the --recheck option to rerun configure.
19699 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19700 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19701 # following values.
19705 # The following way of writing the cache mishandles newlines in values,
19706 # but we know of no workaround that is simple, portable, and efficient.
19707 # So, we kill variables containing newlines.
19708 # Ultrix sh set writes to stderr and can't be redirected directly,
19709 # and sets the high bit in the cache file unless we assign to the vars.
19711 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19712 eval ac_val
=\$
$ac_var
19716 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19717 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19720 _ | IFS | as_nl
) ;; #(
19721 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19722 *) { eval $ac_var=; unset $ac_var;} ;;
19728 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19729 *${as_nl}ac_space
=\
*)
19730 # `set' does not quote correctly, so add quotes: double-quote
19731 # substitution turns \\\\ into \\, and sed turns \\ into \.
19734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19737 # `set' quotes correctly as required by POSIX, so do not add quotes.
19738 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19747 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19749 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19751 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19752 if test -w "$cache_file"; then
19753 if test "x$cache_file" != "x/dev/null"; then
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19755 $as_echo "$as_me: updating cache $cache_file" >&6;}
19756 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19757 cat confcache
>"$cache_file"
19759 case $cache_file in #(
19761 mv -f confcache
"$cache_file"$$
&&
19762 mv -f "$cache_file"$$
"$cache_file" ;; #(
19764 mv -f confcache
"$cache_file" ;;
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19770 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19775 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19776 # Let make expand exec_prefix.
19777 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19779 DEFS
=-DHAVE_CONFIG_H
19784 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19785 # 1. Remove the extension, and $U if already installed.
19786 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19787 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19788 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19789 # will be set to the directory where LIBOBJS objects are built.
19790 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19791 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19793 LIBOBJS
=$ac_libobjs
19795 LTLIBOBJS
=$ac_ltlibobjs
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19799 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19800 if test -n "$am_sleep_pid"; then
19801 # Hide warnings about reused PIDs.
19802 wait $am_sleep_pid 2>/dev
/null
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19805 $as_echo "done" >&6; }
19806 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19807 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19810 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19811 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19814 if test -n "$EXEEXT"; then
19816 am__EXEEXT_FALSE
='#'
19818 am__EXEEXT_TRUE
='#'
19822 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19823 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19826 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19827 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19830 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
19831 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
19832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19834 if test -z "${BUILD_PIMLIB_TRUE}" && test -z "${BUILD_PIMLIB_FALSE}"; then
19835 as_fn_error $?
"conditional \"BUILD_PIMLIB\" was never defined.
19836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19838 if test -z "${BUILD_ISOLIB_TRUE}" && test -z "${BUILD_ISOLIB_FALSE}"; then
19839 as_fn_error $?
"conditional \"BUILD_ISOLIB\" was never defined.
19840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19842 if test -z "${BUILD_CORLIB_TRUE}" && test -z "${BUILD_CORLIB_FALSE}"; then
19843 as_fn_error $?
"conditional \"BUILD_CORLIB\" was never defined.
19844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19846 if test -z "${BUILD_LOGLIB_TRUE}" && test -z "${BUILD_LOGLIB_FALSE}"; then
19847 as_fn_error $?
"conditional \"BUILD_LOGLIB\" was never defined.
19848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19850 if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
19851 as_fn_error $?
"conditional \"TARGET_DARWIN\" was never defined.
19852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19855 : "${CONFIG_STATUS=./config.status}"
19857 ac_clean_files_save
=$ac_clean_files
19858 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19860 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19862 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19864 # Generated by $as_me.
19865 # Run this file to recreate the current configuration.
19866 # Compiler output produced by configure, useful for debugging
19867 # configure, is in config.log if it exists.
19870 ac_cs_recheck=false
19873 SHELL=\${CONFIG_SHELL-$SHELL}
19876 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19877 ## -------------------- ##
19878 ## M4sh Initialization. ##
19879 ## -------------------- ##
19881 # Be more Bourne compatible
19882 DUALCASE
=1; export DUALCASE
# for MKS sh
19883 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19886 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19887 # is contrary to our usage. Disable this feature.
19888 alias -g '${1+"$@"}'='"$@"'
19889 setopt NO_GLOB_SUBST
19891 case `(set -o) 2>/dev/null` in #(
19903 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19904 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19905 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19906 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19907 # Prefer a ksh shell builtin over an external printf program on Solaris,
19908 # but without wasting forks for bash or zsh.
19909 if test -z "$BASH_VERSION$ZSH_VERSION" \
19910 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19911 as_echo='print
-r --'
19912 as_echo_n='print
-rn --'
19913 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19914 as_echo='printf %s
\n'
19915 as_echo_n='printf %s
'
19917 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19918 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19919 as_echo_n='/usr
/ucb
/echo -n'
19921 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19922 as_echo_n_body='eval
19926 expr "X$arg" : "X\\(.*\\)$as_nl";
19927 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19929 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19931 export as_echo_n_body
19932 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19934 export as_echo_body
19935 as_echo='sh
-c $as_echo_body as_echo
'
19938 # The user is always right.
19939 if test "${PATH_SEPARATOR+set}" != set; then
19941 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19942 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19949 # We need space, tab and new line, in precisely that order. Quoting is
19950 # there to prevent editors from complaining about space-tab.
19951 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19952 # splitting by setting IFS to empty value.)
19955 # Find who we are. Look in the path if we contain no directory separator.
19958 *[\\/]* ) as_myself=$0 ;;
19959 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19960 for as_dir in $PATH
19963 test -z "$as_dir" && as_dir=.
19964 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19970 # We did not find ourselves, most probably we were run as `sh COMMAND'
19971 # in which case we are not to be found in the path.
19972 if test "x$as_myself" = x
; then
19975 if test ! -f "$as_myself"; then
19976 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19980 # Unset variables that we do not need and which cause bugs (e.g. in
19981 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19982 # suppresses any "Segmentation fault" message there. '((' could
19983 # trigger a bug in pdksh 5.2.14.
19984 for as_var
in BASH_ENV ENV MAIL MAILPATH
19985 do eval test x\
${$as_var+set} = xset \
19986 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19999 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20002 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20003 # ----------------------------------------
20004 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20005 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20006 # script with STATUS, using 1 if that was 0.
20009 as_status
=$1; test $as_status -eq 0 && as_status
=1
20011 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20012 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20014 $as_echo "$as_me: error: $2" >&2
20015 as_fn_exit
$as_status
20019 # as_fn_set_status STATUS
20020 # -----------------------
20021 # Set $? to STATUS, without forking.
20022 as_fn_set_status
()
20025 } # as_fn_set_status
20027 # as_fn_exit STATUS
20028 # -----------------
20029 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20033 as_fn_set_status
$1
20039 # Portably unset VAR.
20042 { eval $1=; unset $1;}
20044 as_unset
=as_fn_unset
20045 # as_fn_append VAR VALUE
20046 # ----------------------
20047 # Append the text in VALUE to the end of the definition contained in VAR. Take
20048 # advantage of any shell optimizations that allow amortized linear growth over
20049 # repeated appends, instead of the typical quadratic growth present in naive
20051 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20052 eval 'as_fn_append ()
20063 # as_fn_arith ARG...
20064 # ------------------
20065 # Perform arithmetic evaluation on the ARGs, and store the result in the
20066 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20067 # must be portable across $(()) and expr.
20068 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20069 eval 'as_fn_arith ()
20076 as_val
=`expr "$@" || test $? -eq 1`
20081 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20082 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20088 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20089 as_basename
=basename
20094 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20100 as_me
=`$as_basename -- "$0" ||
20101 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20102 X"$0" : 'X\(//\)$' \| \
20103 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20105 sed '/^.*\/\([^/][^/]*\)\/*$/{
20119 # Avoid depending upon Character Ranges.
20120 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20121 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20122 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20123 as_cr_digits
='0123456789'
20124 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20126 ECHO_C
= ECHO_N
= ECHO_T
=
20127 case `echo -n x` in #(((((
20129 case `echo 'xy\c'` in
20130 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20132 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20139 rm -f conf$$ conf$$.exe conf$$.
file
20140 if test -d conf$$.dir
; then
20141 rm -f conf$$.dir
/conf$$.
file
20144 mkdir conf$$.dir
2>/dev
/null
20146 if (echo >conf$$.
file) 2>/dev
/null
; then
20147 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20149 # ... but there are two gotchas:
20150 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20151 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20152 # In both cases, we have to default to `cp -pR'.
20153 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20155 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20163 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20164 rmdir conf$$.dir
2>/dev
/null
20169 # Create "$as_dir" as a directory, including parents if necessary.
20174 -*) as_dir
=.
/$as_dir;;
20176 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20180 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20181 *) as_qdir
=$as_dir;;
20183 as_dirs
="'$as_qdir' $as_dirs"
20184 as_dir
=`$as_dirname -- "$as_dir" ||
20185 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20186 X"$as_dir" : 'X\(//\)[^/]' \| \
20187 X"$as_dir" : 'X\(//\)$' \| \
20188 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20189 $as_echo X"$as_dir" |
20190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20194 /^X\(\/\/\)[^/].*/{
20207 test -d "$as_dir" && break
20209 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20210 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20214 if mkdir
-p .
2>/dev
/null
; then
20215 as_mkdir_p
='mkdir -p "$as_dir"'
20217 test -d .
/-p && rmdir .
/-p
20222 # as_fn_executable_p FILE
20223 # -----------------------
20224 # Test if FILE is an executable regular file.
20225 as_fn_executable_p
()
20227 test -f "$1" && test -x "$1"
20228 } # as_fn_executable_p
20229 as_test_x
='test -x'
20230 as_executable_p
=as_fn_executable_p
20232 # Sed expression to map a string onto a valid CPP name.
20233 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20235 # Sed expression to map a string onto a valid variable name.
20236 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20240 ## ----------------------------------- ##
20241 ## Main body of $CONFIG_STATUS script. ##
20242 ## ----------------------------------- ##
20244 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20247 # Save the log message, to keep $0 and so on meaningful, and to
20248 # report actual input values of CONFIG_FILES etc. instead of their
20249 # values after options handling.
20251 This file was extended by package-unused $as_me version-unused, which was
20252 generated by GNU Autoconf 2.69. Invocation command line was
20254 CONFIG_FILES = $CONFIG_FILES
20255 CONFIG_HEADERS = $CONFIG_HEADERS
20256 CONFIG_LINKS = $CONFIG_LINKS
20257 CONFIG_COMMANDS = $CONFIG_COMMANDS
20260 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20265 case $ac_config_files in *"
20266 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20269 case $ac_config_headers in *"
20270 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20275 # Files that config.status was made for.
20276 config_files="$ac_config_files"
20277 config_headers="$ac_config_headers"
20278 config_commands="$ac_config_commands"
20282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20284 \`$as_me' instantiates files and other configuration actions
20285 from templates according to the current configuration. Unless the files
20286 and actions are specified as TAGs, all are instantiated by default.
20288 Usage: $0 [OPTION]... [TAG]...
20290 -h, --help print this help, then exit
20291 -V, --version print version number and configuration settings, then exit
20292 --config print configuration, then exit
20293 -q, --quiet, --silent
20294 do not print progress messages
20295 -d, --debug don't remove temporary files
20296 --recheck update $as_me by reconfiguring in the same conditions
20297 --file=FILE[:TEMPLATE]
20298 instantiate the configuration file FILE
20299 --header=FILE[:TEMPLATE]
20300 instantiate the configuration header FILE
20302 Configuration files:
20305 Configuration headers:
20308 Configuration commands:
20311 Report bugs to the package provider."
20314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20315 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20317 package-unused config.status version-unused
20318 configured by $0, generated by GNU Autoconf 2.69,
20319 with options \\"\$ac_cs_config\\"
20321 Copyright (C) 2012 Free Software Foundation, Inc.
20322 This config.status script is free software; the Free Software Foundation
20323 gives unlimited permission to copy, distribute and modify it."
20330 test -n "\$AWK" || AWK=awk
20333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20334 # The default lists apply if the user does not specify any file.
20340 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20341 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20345 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20357 # Handling of the options.
20358 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20360 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20361 $as_echo "$ac_cs_version"; exit ;;
20362 --config |
--confi |
--conf |
--con |
--co |
--c )
20363 $as_echo "$ac_cs_config"; exit ;;
20364 --debug |
--debu |
--deb |
--de |
--d |
-d )
20366 --file |
--fil |
--fi |
--f )
20369 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20370 '') as_fn_error $?
"missing file argument" ;;
20372 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20373 ac_need_defaults
=false
;;
20374 --header |
--heade |
--head |
--hea )
20377 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20379 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20380 ac_need_defaults
=false
;;
20382 # Conflict between --help and --header
20383 as_fn_error $?
"ambiguous option: \`$1'
20384 Try \`$0 --help' for more information.";;
20385 --help |
--hel |
-h )
20386 $as_echo "$ac_cs_usage"; exit ;;
20387 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20388 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20391 # This is an error.
20392 -*) as_fn_error $?
"unrecognized option: \`$1'
20393 Try \`$0 --help' for more information." ;;
20395 *) as_fn_append ac_config_targets
" $1"
20396 ac_need_defaults
=false
;;
20402 ac_configure_extra_args
=
20404 if $ac_cs_silent; then
20406 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20411 if \$ac_cs_recheck; then
20412 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20414 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20415 CONFIG_SHELL='$SHELL'
20416 export CONFIG_SHELL
20421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20425 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20426 ## Running $as_me. ##
20432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20440 with_multisubdir="$with_multisubdir"
20441 with_multisrctop="$with_multisrctop"
20442 with_target_subdir="$with_target_subdir"
20443 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20444 multi_basedir="$multi_basedir"
20445 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20448 GFORTRAN="$GFORTRAN"
20450 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20453 # The HP-UX ksh and POSIX shell print the target directory to stdout
20454 # if CDPATH is set.
20455 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20457 sed_quote_subst='$sed_quote_subst'
20458 double_quote_subst='$double_quote_subst'
20459 delay_variable_subst='$delay_variable_subst'
20460 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20461 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20462 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20463 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20464 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20465 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20466 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20467 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20468 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20469 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20470 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20471 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20472 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20473 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20474 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20475 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20476 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20477 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20478 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20479 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20480 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20481 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20482 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20483 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20484 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20485 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20486 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20487 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20488 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20489 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20490 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20491 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20492 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20493 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20494 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20495 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20496 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20497 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20498 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20499 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20500 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20501 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20502 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20503 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20504 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20505 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20506 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20507 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20508 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"`'
20509 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20510 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20511 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20512 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20513 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20514 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20515 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20516 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20517 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20518 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20519 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20520 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20521 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20522 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20523 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20524 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20525 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20526 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20527 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20528 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20529 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20530 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20531 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20532 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20533 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20534 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20535 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20536 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20537 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20538 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20539 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20540 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20541 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20542 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20543 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20544 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20545 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20546 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20547 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20548 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20549 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
20550 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20551 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20552 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20553 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20554 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20555 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20556 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20557 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20558 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20559 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20560 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20561 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20562 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20563 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20564 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20565 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20566 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20567 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20568 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20569 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20570 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20571 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20572 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20573 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20574 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20575 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20576 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20577 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20578 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20579 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20580 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20581 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20582 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20583 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20584 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20585 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20586 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20587 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20588 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20589 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20590 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20591 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20592 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20593 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20594 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20595 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20596 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20597 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20598 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20599 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20600 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20601 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20602 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20603 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20604 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20605 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20606 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20607 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20608 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20609 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20610 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20611 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20612 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20613 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20614 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20615 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20616 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20617 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20618 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20619 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20620 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20621 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
20622 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20623 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20624 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20625 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20626 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20627 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20628 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20629 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20630 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20631 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20632 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20633 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20634 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20637 LTCFLAGS='$LTCFLAGS'
20638 compiler='$compiler_DEFAULT'
20640 # A function that is used when there is no print builtin or printf.
20641 func_fallback_echo ()
20643 eval 'cat <<_LTECHO_EOF
20648 # Quote evaled strings.
20662 deplibs_check_method \
20671 lt_cv_sys_global_symbol_pipe \
20672 lt_cv_sys_global_symbol_to_cdecl \
20673 lt_cv_sys_global_symbol_to_c_name_address \
20674 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20675 lt_prog_compiler_no_builtin_flag \
20676 lt_prog_compiler_wl \
20677 lt_prog_compiler_pic \
20678 lt_prog_compiler_static \
20679 lt_cv_prog_compiler_c_o \
20687 export_dynamic_flag_spec \
20688 whole_archive_flag_spec \
20689 compiler_needs_object \
20691 allow_undefined_flag \
20692 no_undefined_flag \
20693 hardcode_libdir_flag_spec \
20694 hardcode_libdir_flag_spec_ld \
20695 hardcode_libdir_separator \
20700 variables_saved_for_relink \
20702 library_names_spec \
20704 install_override_mode \
20708 compiler_lib_search_dirs \
20713 compiler_lib_search_path \
20717 lt_prog_compiler_no_builtin_flag_CXX \
20718 lt_prog_compiler_wl_CXX \
20719 lt_prog_compiler_pic_CXX \
20720 lt_prog_compiler_static_CXX \
20721 lt_cv_prog_compiler_c_o_CXX \
20722 export_dynamic_flag_spec_CXX \
20723 whole_archive_flag_spec_CXX \
20724 compiler_needs_object_CXX \
20726 allow_undefined_flag_CXX \
20727 no_undefined_flag_CXX \
20728 hardcode_libdir_flag_spec_CXX \
20729 hardcode_libdir_flag_spec_ld_CXX \
20730 hardcode_libdir_separator_CXX \
20731 fix_srcfile_path_CXX \
20732 exclude_expsyms_CXX \
20733 include_expsyms_CXX \
20734 file_list_spec_CXX \
20735 compiler_lib_search_dirs_CXX \
20736 predep_objects_CXX \
20737 postdep_objects_CXX \
20740 compiler_lib_search_path_CXX; do
20741 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20742 *[\\\\\\\`\\"\\\$]*)
20743 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20746 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20751 # Double-quote double-evaled strings.
20752 for var in reload_cmds \
20753 old_postinstall_cmds \
20754 old_postuninstall_cmds \
20756 extract_expsyms_cmds \
20757 old_archive_from_new_cmds \
20758 old_archive_from_expsyms_cmds \
20760 archive_expsym_cmds \
20762 module_expsym_cmds \
20763 export_symbols_cmds \
20766 postuninstall_cmds \
20768 sys_lib_search_path_spec \
20769 sys_lib_dlsearch_path_spec \
20771 old_archive_cmds_CXX \
20772 old_archive_from_new_cmds_CXX \
20773 old_archive_from_expsyms_cmds_CXX \
20775 archive_expsym_cmds_CXX \
20777 module_expsym_cmds_CXX \
20778 export_symbols_cmds_CXX \
20779 prelink_cmds_CXX; do
20780 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20781 *[\\\\\\\`\\"\\\$]*)
20782 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20785 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20790 ac_aux_dir='$ac_aux_dir'
20791 xsi_shell='$xsi_shell'
20792 lt_shell_append='$lt_shell_append'
20794 # See if we are running on zsh, and set the options which allow our
20795 # commands through without removal of \ escapes INIT.
20796 if test -n "\${ZSH_VERSION+set}" ; then
20797 setopt NO_GLOB_SUBST
20803 TIMESTAMP='$TIMESTAMP'
20814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20816 # Handling of arguments.
20817 for ac_config_target
in $ac_config_targets
20819 case $ac_config_target in
20820 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20821 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20822 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20823 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20824 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20825 "libm2min/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2min/Makefile" ;;
20826 "libm2pim/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2pim/Makefile" ;;
20827 "libm2iso/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2iso/Makefile" ;;
20828 "libm2cor/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2cor/Makefile" ;;
20829 "libm2log/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2log/Makefile" ;;
20831 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20836 # If the user did not use the arguments to specify the items to instantiate,
20837 # then the envvar interface is used. Set only those that are not.
20838 # We use the long form for the default assignment because of an extremely
20839 # bizarre bug on SunOS 4.1.3.
20840 if $ac_need_defaults; then
20841 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20842 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20843 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20846 # Have a temporary directory for convenience. Make it in the build tree
20847 # simply because there is no reason against having it here, and in addition,
20848 # creating and moving files from /tmp can sometimes cause problems.
20849 # Hook for its removal unless debugging.
20850 # Note that there is a small window in which the directory will not be cleaned:
20851 # after its creation but before its name has been assigned to `$tmp'.
20855 trap 'exit_status=$?
20856 : "${ac_tmp:=$tmp}"
20857 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20859 trap 'as_fn_exit 1' 1 2 13 15
20861 # Create a (secure) tmp directory for tmp files.
20864 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20868 tmp
=.
/conf$$
-$RANDOM
20869 (umask 077 && mkdir
"$tmp")
20870 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20873 # Set up the scripts for CONFIG_FILES section.
20874 # No need to generate them if there are no CONFIG_FILES.
20875 # This happens for instance with `./config.status config.h'.
20876 if test -n "$CONFIG_FILES"; then
20879 ac_cr
=`echo X | tr X '\015'`
20880 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20881 # But we know of no other shell where ac_cr would be empty at this
20882 # point, so we can use a bashism as a fallback.
20883 if test "x$ac_cr" = x
; then
20884 eval ac_cr
=\$
\'\\r
\'
20886 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20887 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20890 ac_cs_awk_cr
=$ac_cr
20893 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20898 echo "cat >conf$$subs.awk <<_ACEOF" &&
20899 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20901 } >conf$$subs.sh ||
20902 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20903 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20905 for ac_last_try in false false false false false :; do
20906 . ./conf$$subs.sh ||
20907 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20909 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20910 if test $ac_delim_n = $ac_delim_num; then
20912 elif $ac_last_try; then
20913 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20915 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20918 rm -f conf$$subs.sh
20920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20921 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20925 s/^/S["/; s
/!.
*/"]=/
20935 s/\(.\{148\}\)..*/\1/
20937 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20942 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20949 s/\(.\{148\}\)..*/\1/
20951 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20955 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20960 ' <conf$$subs.awk | sed '
20965 ' >>$CONFIG_STATUS || ac_write_fail=1
20966 rm -f conf$$subs.awk
20967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20969 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20970 for (key in S) S_is_set[key] = 1
20976 nfields = split(line, field, "@
")
20978 len = length(field[1])
20979 for (i = 2; i < nfields; i++) {
20981 keylen = length(key)
20982 if (S_is_set[key]) {
20984 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20985 len += length(value) + length(field[++i])
20996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20997 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20998 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21001 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21002 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21005 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21006 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21007 # trailing colons and then remove the whole line if VPATH becomes empty
21008 # (actually we leave an empty line to preserve line numbers).
21009 if test "x
$srcdir" = x.; then
21010 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21029 fi # test -n "$CONFIG_FILES"
21031 # Set up the scripts for CONFIG_HEADERS section.
21032 # No need to generate them if there are no CONFIG_HEADERS.
21033 # This happens for instance with `./config.status Makefile'.
21034 if test -n "$CONFIG_HEADERS"; then
21035 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21039 # Transform confdefs.h into an awk script `defines.awk', embedded as
21040 # here-document in config.status, that substitutes the proper values into
21041 # config.h.in to produce config.h.
21043 # Create a delimiter string that does not exist in confdefs.h, to ease
21044 # handling of long lines.
21046 for ac_last_try in false false :; do
21047 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21048 if test -z "$ac_tt"; then
21050 elif $ac_last_try; then
21051 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21053 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21057 # For the awk script, D is an array of macro values keyed by name,
21058 # likewise P contains macro parameters if any. Preserve backslash
21059 # newline sequences.
21061 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21063 s/.\{148\}/&'"$ac_delim"'/g
21066 s/^[ ]*#[ ]*define[ ][ ]*/ /
21073 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21075 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21079 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21080 D["\
1"]=" \
3\\\\\\n
"\\/p
21082 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21087 s/.\{148\}/&'"$ac_delim"'/g
21092 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21095 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21097 ' <confdefs.h | sed '
21098 s/'"$ac_delim"'/"\\\
21099 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21102 for (key in D) D_is_set[key] = 1
21105 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21107 split(line, arg, " ")
21108 if (arg[1] == "#") {
21112 defundef
= substr
(arg
[1], 2)
21115 split(mac1
, mac2
, "(") #)
21117 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21118 if (D_is_set
[macro
]) {
21119 # Preserve the white space surrounding the "#".
21120 print prefix
"define", macro P
[macro
] D
[macro
]
21123 # Replace #undef with comments. This is necessary, for example,
21124 # in the case of _POSIX_SOURCE, which is predefined and required
21125 # on some systems where configure will not decide to define it.
21126 if (defundef
== "undef") {
21127 print
"/*", prefix defundef
, macro
, "*/"
21135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21136 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21137 fi # test -n "$CONFIG_HEADERS"
21140 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21145 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21147 case $ac_mode$ac_tag in
21149 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21150 :[FH
]-) ac_tag
=-:-;;
21151 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21168 -) ac_f
="$ac_tmp/stdin";;
21169 *) # Look for the file first in the build tree, then in the source tree
21170 # (if the path is not absolute). The absolute path cannot be DOS-style,
21171 # because $ac_f cannot contain `:'.
21175 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21177 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21179 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21180 as_fn_append ac_file_inputs
" '$ac_f'"
21183 # Let's still pretend it is `configure' which instantiates (i.e., don't
21184 # use $as_me), people would be surprised to read:
21185 # /* config.h. Generated by config.status. */
21186 configure_input
='Generated from '`
21187 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21189 if test x
"$ac_file" != x-
; then
21190 configure_input
="$ac_file. $configure_input"
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21192 $as_echo "$as_me: creating $ac_file" >&6;}
21194 # Neutralize special characters interpreted by sed in replacement strings.
21195 case $configure_input in #(
21196 *\
&* |
*\|
* |
*\\* )
21197 ac_sed_conf_input
=`$as_echo "$configure_input" |
21198 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21199 *) ac_sed_conf_input
=$configure_input;;
21203 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21204 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21209 ac_dir
=`$as_dirname -- "$ac_file" ||
21210 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21211 X"$ac_file" : 'X\(//\)[^/]' \| \
21212 X"$ac_file" : 'X\(//\)$' \| \
21213 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21214 $as_echo X"$ac_file" |
21215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21219 /^X\(\/\/\)[^/].*/{
21232 as_dir
="$ac_dir"; as_fn_mkdir_p
21236 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21238 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21239 # A ".." for each directory in $ac_dir_suffix.
21240 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21241 case $ac_top_builddir_sub in
21242 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21243 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21246 ac_abs_top_builddir
=$ac_pwd
21247 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21248 # for backward compatibility:
21249 ac_top_builddir
=$ac_top_build_prefix
21252 .
) # We are building in place.
21254 ac_top_srcdir
=$ac_top_builddir_sub
21255 ac_abs_top_srcdir
=$ac_pwd ;;
21256 [\\/]* | ?
:[\\/]* ) # Absolute name.
21257 ac_srcdir
=$srcdir$ac_dir_suffix;
21258 ac_top_srcdir
=$srcdir
21259 ac_abs_top_srcdir
=$srcdir ;;
21260 *) # Relative name.
21261 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21262 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21263 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21265 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21275 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21276 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21278 ac_MKDIR_P
=$MKDIR_P
21280 [\\/$
]* | ?
:[\\/]* ) ;;
21281 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21286 # If the template does not know about datarootdir, expand it.
21287 # FIXME: This hack should be removed a few years after 2.60.
21288 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21299 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21300 *datarootdir
*) ac_datarootdir_seen
=yes;;
21301 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21303 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21306 ac_datarootdir_hack='
21307 s&@datadir@&$datadir&g
21308 s&@docdir@&$docdir&g
21309 s&@infodir@&$infodir&g
21310 s&@localedir@&$localedir&g
21311 s&@mandir@&$mandir&g
21312 s&\\\${datarootdir}&$datarootdir&g' ;;
21316 # Neutralize VPATH when `$srcdir' = `.'.
21317 # Shell code in configure.ac might set extrasub.
21318 # FIXME: do we really want to maintain this feature?
21319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21320 ac_sed_extra="$ac_vpsub
21323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21325 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21326 s|@configure_input@|
$ac_sed_conf_input|
;t t
21327 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21328 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21329 s
&@srcdir@
&$ac_srcdir&;t t
21330 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21331 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21332 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21333 s
&@builddir@
&$ac_builddir&;t t
21334 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21335 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21336 s
&@INSTALL@
&$ac_INSTALL&;t t
21337 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21338 $ac_datarootdir_hack
21340 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21341 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21343 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21344 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21345 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21346 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21348 which seems to be undefined. Please make sure it is defined" >&5
21349 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21350 which seems to be undefined. Please make sure it is defined" >&2;}
21352 rm -f "$ac_tmp/stdin"
21354 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21355 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21357 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21363 if test x"$ac_file" != x-; then
21365 $as_echo "/* $configure_input */" \
21366 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21367 } >"$ac_tmp/config.h" \
21368 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21369 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21371 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21374 mv "$ac_tmp/config.h" "$ac_file" \
21375 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21378 $as_echo "/* $configure_input */" \
21379 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21380 || as_fn_error $? "could not create -" "$LINENO" 5
21382 # Compute "$ac_file"'s index
in $config_headers.
21385 for _am_header
in $config_headers :; do
21386 case $_am_header in
21387 $_am_arg |
$_am_arg:* )
21390 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21393 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21394 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21395 X"$_am_arg" : 'X\(//\)[^/]' \| \
21396 X"$_am_arg" : 'X\(//\)$' \| \
21397 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21398 $as_echo X"$_am_arg" |
21399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21403 /^X\(\/\/\)[^/].*/{
21415 s/.*/./; q'`/stamp-h
$_am_stamp_count
21418 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21419 $as_echo "$as_me: executing $ac_file commands" >&6;}
21424 case $ac_file$ac_mode in
21426 # Only add multilib support code if we just rebuilt the top-level
21428 case " $CONFIG_FILES " in
21430 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21433 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21434 # Older Autoconf quotes --file arguments for eval, but not when files
21435 # are listed without --file. Let's play safe and only enable the eval
21436 # if we detect the quoting.
21437 case $CONFIG_FILES in
21438 *\'*) eval set x
"$CONFIG_FILES" ;;
21439 *) set x
$CONFIG_FILES ;;
21444 # Strip MF so we end up with the name of the file.
21445 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21446 # Check whether this is an Automake generated Makefile or not.
21447 # We used to match only the files named 'Makefile.in', but
21448 # some people rename them; so instead we look at the file content.
21449 # Grep'ing the first line is not enough: some people post-process
21450 # each Makefile.in and add a new line on top of each file to say so.
21451 # Grep'ing the whole file is not good either: AIX grep has a line
21452 # limit of 2048, but all sed's we know have understand at least 4000.
21453 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21454 dirpart
=`$as_dirname -- "$mf" ||
21455 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21456 X"$mf" : 'X\(//\)[^/]' \| \
21457 X"$mf" : 'X\(//\)$' \| \
21458 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21464 /^X\(\/\/\)[^/].*/{
21480 # Extract the definition of DEPDIR, am__include, and am__quote
21481 # from the Makefile without running 'make'.
21482 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21483 test -z "$DEPDIR" && continue
21484 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21485 test -z "$am__include" && continue
21486 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21487 # Find all dependency output files, they are included files with
21488 # $(DEPDIR) in their names. We invoke sed twice because it is the
21489 # simplest approach to changing $(DEPDIR) to its actual value in the
21491 for file in `sed -n "
21492 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21493 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21494 # Make sure the directory exists.
21495 test -f "$dirpart/$file" && continue
21496 fdir
=`$as_dirname -- "$file" ||
21497 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21498 X"$file" : 'X\(//\)[^/]' \| \
21499 X"$file" : 'X\(//\)$' \| \
21500 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21501 $as_echo X"$file" |
21502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21506 /^X\(\/\/\)[^/].*/{
21519 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21520 # echo "creating $dirpart/$file"
21521 echo '# dummy' > "$dirpart/$file"
21528 # See if we are running on zsh, and set the options which allow our
21529 # commands through without removal of \ escapes.
21530 if test -n "${ZSH_VERSION+set}" ; then
21531 setopt NO_GLOB_SUBST
21534 cfgfile
="${ofile}T"
21535 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21538 cat <<_LT_EOF >> "$cfgfile"
21541 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21542 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21543 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21544 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21546 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21547 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
21548 # Written by Gordon Matzigkeit, 1996
21550 # This file is part of GNU Libtool.
21552 # GNU Libtool is free software; you can redistribute it and/or
21553 # modify it under the terms of the GNU General Public License as
21554 # published by the Free Software Foundation; either version 2 of
21555 # the License, or (at your option) any later version.
21557 # As a special exception to the GNU General Public License,
21558 # if you distribute this file as part of a program or library that
21559 # is built using GNU Libtool, you may include this file under the
21560 # same distribution terms that you use for the rest of that program.
21562 # GNU Libtool is distributed in the hope that it will be useful,
21563 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21564 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21565 # GNU General Public License for more details.
21567 # You should have received a copy of the GNU General Public License
21568 # along with GNU Libtool; see the file COPYING. If not, a copy
21569 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21570 # obtained by writing to the Free Software Foundation, Inc.,
21571 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21574 # The names of the tagged configurations supported by this script.
21575 available_tags="CXX "
21577 # ### BEGIN LIBTOOL CONFIG
21579 # Which release of libtool.m4 was used?
21580 macro_version=$macro_version
21581 macro_revision=$macro_revision
21583 # Whether or not to build shared libraries.
21584 build_libtool_libs=$enable_shared
21586 # Whether or not to build static libraries.
21587 build_old_libs=$enable_static
21589 # What type of objects to build.
21592 # Whether or not to optimize for fast installation.
21593 fast_install=$enable_fast_install
21595 # Shell to use when invoking shell scripts.
21598 # An echo program that protects backslashes.
21602 host_alias=$host_alias
21606 # The build system.
21607 build_alias=$build_alias
21611 # A sed program that does not truncate output.
21614 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21615 Xsed="\$SED -e 1s/^X//"
21617 # A grep program that handles long lines.
21623 # A literal string matcher.
21626 # A BSD- or MS-compatible name lister.
21629 # Whether we need soft or hard links.
21632 # What is the maximum length of a command?
21633 max_cmd_len=$max_cmd_len
21635 # Object file suffix (normally "o").
21638 # Executable file suffix (normally "").
21641 # whether the shell understands "unset".
21644 # turn spaces into newlines.
21647 # turn newlines into spaces.
21650 # An object symbol dumper.
21651 OBJDUMP=$lt_OBJDUMP
21653 # Method to check whether dependent libraries are shared objects.
21654 deplibs_check_method=$lt_deplibs_check_method
21656 # Command to use when deplibs_check_method == "file_magic".
21657 file_magic_cmd=$lt_file_magic_cmd
21661 AR_FLAGS=$lt_AR_FLAGS
21663 # A symbol stripping program.
21666 # Commands used to install an old-style archive.
21668 old_postinstall_cmds=$lt_old_postinstall_cmds
21669 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21671 # Whether to use a lock for old archive extraction.
21672 lock_old_archive_extraction=$lock_old_archive_extraction
21677 # LTCC compiler flags.
21678 LTCFLAGS=$lt_CFLAGS
21680 # Take the output of nm and produce a listing of raw symbols and C names.
21681 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21683 # Transform the output of nm in a proper C declaration.
21684 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21686 # Transform the output of nm in a C name address pair.
21687 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21689 # Transform the output of nm in a C name address pair when lib prefix is needed.
21690 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21692 # The name of the directory that contains temporary libtool files.
21695 # Used to examine libraries when file_magic_cmd begins with "file".
21696 MAGIC_CMD=$MAGIC_CMD
21698 # Must we lock files when doing compilation?
21699 need_locks=$lt_need_locks
21701 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21702 DSYMUTIL=$lt_DSYMUTIL
21704 # Tool to change global to local symbols on Mac OS X.
21707 # Tool to manipulate fat objects and archives on Mac OS X.
21710 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21713 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21714 OTOOL64=$lt_OTOOL64
21716 # Old archive suffix (normally "a").
21719 # Shared library suffix (normally ".so").
21720 shrext_cmds=$lt_shrext_cmds
21722 # The commands to extract the exported symbol list from a shared archive.
21723 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21725 # Variables whose values should be saved in libtool wrapper scripts and
21726 # restored at link time.
21727 variables_saved_for_relink=$lt_variables_saved_for_relink
21729 # Do we need the "lib" prefix for modules?
21730 need_lib_prefix=$need_lib_prefix
21732 # Do we need a version for libraries?
21733 need_version=$need_version
21735 # Library versioning type.
21736 version_type=$version_type
21738 # Shared library runtime path variable.
21739 runpath_var=$runpath_var
21741 # Shared library path variable.
21742 shlibpath_var=$shlibpath_var
21744 # Is shlibpath searched before the hard-coded library search path?
21745 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21747 # Format of library name prefix.
21748 libname_spec=$lt_libname_spec
21750 # List of archive names. First name is the real one, the rest are links.
21751 # The last name is the one that the linker finds with -lNAME
21752 library_names_spec=$lt_library_names_spec
21754 # The coded name of the library, if different from the real name.
21755 soname_spec=$lt_soname_spec
21757 # Permission mode override for installation of shared libraries.
21758 install_override_mode=$lt_install_override_mode
21760 # Command to use after installation of a shared archive.
21761 postinstall_cmds=$lt_postinstall_cmds
21763 # Command to use after uninstallation of a shared archive.
21764 postuninstall_cmds=$lt_postuninstall_cmds
21766 # Commands used to finish a libtool library installation in a directory.
21767 finish_cmds=$lt_finish_cmds
21769 # As "finish_cmds", except a single script fragment to be evaled but
21771 finish_eval=$lt_finish_eval
21773 # Whether we should hardcode library paths into libraries.
21774 hardcode_into_libs=$hardcode_into_libs
21776 # Compile-time system search path for libraries.
21777 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21779 # Run-time system search path for libraries.
21780 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21782 # Whether dlopen is supported.
21783 dlopen_support=$enable_dlopen
21785 # Whether dlopen of programs is supported.
21786 dlopen_self=$enable_dlopen_self
21788 # Whether dlopen of statically linked programs is supported.
21789 dlopen_self_static=$enable_dlopen_self_static
21791 # Commands to strip libraries.
21792 old_striplib=$lt_old_striplib
21793 striplib=$lt_striplib
21796 # The linker used to build libraries.
21799 # How to create reloadable object files.
21800 reload_flag=$lt_reload_flag
21801 reload_cmds=$lt_reload_cmds
21803 # Commands used to build an old-style archive.
21804 old_archive_cmds=$lt_old_archive_cmds
21806 # A language specific compiler.
21809 # Is the compiler the GNU compiler?
21812 # Compiler flag to turn off builtin functions.
21813 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21815 # How to pass a linker flag through the compiler.
21816 wl=$lt_lt_prog_compiler_wl
21818 # Additional compiler flags for building library objects.
21819 pic_flag=$lt_lt_prog_compiler_pic
21821 # Compiler flag to prevent dynamic linking.
21822 link_static_flag=$lt_lt_prog_compiler_static
21824 # Does compiler simultaneously support -c and -o options?
21825 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21827 # Whether or not to add -lc for building shared libraries.
21828 build_libtool_need_lc=$archive_cmds_need_lc
21830 # Whether or not to disallow shared libs when runtime libs are static.
21831 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21833 # Compiler flag to allow reflexive dlopens.
21834 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21836 # Compiler flag to generate shared objects directly from archives.
21837 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21839 # Whether the compiler copes with passing no objects directly.
21840 compiler_needs_object=$lt_compiler_needs_object
21842 # Create an old-style archive from a shared archive.
21843 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21845 # Create a temporary old-style archive to link instead of a shared archive.
21846 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21848 # Commands used to build a shared archive.
21849 archive_cmds=$lt_archive_cmds
21850 archive_expsym_cmds=$lt_archive_expsym_cmds
21852 # Commands used to build a loadable module if different from building
21853 # a shared archive.
21854 module_cmds=$lt_module_cmds
21855 module_expsym_cmds=$lt_module_expsym_cmds
21857 # Whether we are building with GNU ld or not.
21858 with_gnu_ld=$lt_with_gnu_ld
21860 # Flag that allows shared libraries with undefined symbols to be built.
21861 allow_undefined_flag=$lt_allow_undefined_flag
21863 # Flag that enforces no undefined symbols.
21864 no_undefined_flag=$lt_no_undefined_flag
21866 # Flag to hardcode \$libdir into a binary during linking.
21867 # This must work even if \$libdir does not exist
21868 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21870 # If ld is used when linking, flag to hardcode \$libdir into a binary
21871 # during linking. This must work even if \$libdir does not exist.
21872 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21874 # Whether we need a single "-rpath" flag with a separated argument.
21875 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21877 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21878 # DIR into the resulting binary.
21879 hardcode_direct=$hardcode_direct
21881 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21882 # DIR into the resulting binary and the resulting library dependency is
21883 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21884 # library is relocated.
21885 hardcode_direct_absolute=$hardcode_direct_absolute
21887 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21888 # into the resulting binary.
21889 hardcode_minus_L=$hardcode_minus_L
21891 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21892 # into the resulting binary.
21893 hardcode_shlibpath_var=$hardcode_shlibpath_var
21895 # Set to "yes" if building a shared library automatically hardcodes DIR
21896 # into the library and all subsequent libraries and executables linked
21898 hardcode_automatic=$hardcode_automatic
21900 # Set to yes if linker adds runtime paths of dependent libraries
21901 # to runtime path list.
21902 inherit_rpath=$inherit_rpath
21904 # Whether libtool must link a program against all its dependency libraries.
21905 link_all_deplibs=$link_all_deplibs
21907 # Fix the shell variable \$srcfile for the compiler.
21908 fix_srcfile_path=$lt_fix_srcfile_path
21910 # Set to "yes" if exported symbols are required.
21911 always_export_symbols=$always_export_symbols
21913 # The commands to list exported symbols.
21914 export_symbols_cmds=$lt_export_symbols_cmds
21916 # Symbols that should not be listed in the preloaded symbols.
21917 exclude_expsyms=$lt_exclude_expsyms
21919 # Symbols that must always be exported.
21920 include_expsyms=$lt_include_expsyms
21922 # Commands necessary for linking programs (against libraries) with templates.
21923 prelink_cmds=$lt_prelink_cmds
21925 # Specify filename containing input files.
21926 file_list_spec=$lt_file_list_spec
21928 # How to hardcode a shared library path into an executable.
21929 hardcode_action=$hardcode_action
21931 # The directories searched by this compiler when creating a shared library.
21932 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21934 # Dependencies to place before and after the objects being linked to
21935 # create a shared library.
21936 predep_objects=$lt_predep_objects
21937 postdep_objects=$lt_postdep_objects
21938 predeps=$lt_predeps
21939 postdeps=$lt_postdeps
21941 # The library search path used internally by the compiler when linking
21942 # a shared library.
21943 compiler_lib_search_path=$lt_compiler_lib_search_path
21945 # ### END LIBTOOL CONFIG
21951 cat <<\_LT_EOF
>> "$cfgfile"
21952 # AIX sometimes has problems with the GCC collect2 program. For some
21953 # reason, if we set the COLLECT_NAMES environment variable, the problems
21954 # vanish in a puff of smoke.
21955 if test "X${COLLECT_NAMES+set}" != Xset
; then
21957 export COLLECT_NAMES
21964 ltmain
="$ac_aux_dir/ltmain.sh"
21967 # We use sed instead of cat because bash on DJGPP gets confused if
21968 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21969 # text mode, it properly converts lines to CR/LF. This bash problem
21970 # is reportedly fixed, but why not run on old versions too?
21971 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21972 ||
(rm -f "$cfgfile"; exit 1)
21976 cat << \_LT_EOF
>> "$cfgfile"
21978 # func_dirname file append nondir_replacement
21979 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21980 # otherwise set result to NONDIR_REPLACEMENT.
21984 */*) func_dirname_result
="${1%/*}${2}" ;;
21985 * ) func_dirname_result
="${3}" ;;
21989 # func_basename file
21992 func_basename_result
="${1##*/}"
21995 # func_dirname_and_basename file append nondir_replacement
21996 # perform func_basename and func_dirname in a single function
21998 # dirname: Compute the dirname of FILE. If nonempty,
21999 # add APPEND to the result, otherwise set result
22000 # to NONDIR_REPLACEMENT.
22001 # value returned in "$func_dirname_result"
22002 # basename: Compute filename of FILE.
22003 # value retuned in "$func_basename_result"
22004 # Implementation must be kept synchronized with func_dirname
22005 # and func_basename. For efficiency, we do not delegate to
22006 # those functions but instead duplicate the functionality here.
22007 func_dirname_and_basename
()
22010 */*) func_dirname_result
="${1%/*}${2}" ;;
22011 * ) func_dirname_result
="${3}" ;;
22013 func_basename_result
="${1##*/}"
22016 # func_stripname prefix suffix name
22017 # strip PREFIX and SUFFIX off of NAME.
22018 # PREFIX and SUFFIX must not contain globbing or regex special
22019 # characters, hashes, percent signs, but SUFFIX may contain a leading
22020 # dot (in which case that matches only a dot).
22023 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22024 # positional parameters, so assign one to ordinary parameter first.
22025 func_stripname_result
=${3}
22026 func_stripname_result
=${func_stripname_result#"${1}"}
22027 func_stripname_result
=${func_stripname_result%"${2}"}
22033 func_opt_split_opt
=${1%%=*}
22034 func_opt_split_arg
=${1#*=}
22041 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22042 *) func_lo2o_result
=${1} ;;
22046 # func_xform libobj-or-source
22049 func_xform_result
=${1%.*}.lo
22052 # func_arith arithmetic-term...
22055 func_arith_result
=$
(( $
* ))
22059 # STRING may not start with a hyphen.
22062 func_len_result
=${#1}
22067 *) # Bourne compatible functions.
22068 cat << \_LT_EOF
>> "$cfgfile"
22070 # func_dirname file append nondir_replacement
22071 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22072 # otherwise set result to NONDIR_REPLACEMENT.
22075 # Extract subdirectory from the argument.
22076 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
22077 if test "X$func_dirname_result" = "X${1}"; then
22078 func_dirname_result
="${3}"
22080 func_dirname_result
="$func_dirname_result${2}"
22084 # func_basename file
22087 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
22091 # func_stripname prefix suffix name
22092 # strip PREFIX and SUFFIX off of NAME.
22093 # PREFIX and SUFFIX must not contain globbing or regex special
22094 # characters, hashes, percent signs, but SUFFIX may contain a leading
22095 # dot (in which case that matches only a dot).
22096 # func_strip_suffix prefix name
22100 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
22101 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
22106 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22107 my_sed_long_arg
='1s/^-[^=]*=//'
22112 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
22113 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
22119 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
22122 # func_xform libobj-or-source
22125 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
22128 # func_arith arithmetic-term...
22131 func_arith_result
=`expr "$@"`
22135 # STRING may not start with a hyphen.
22138 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22144 case $lt_shell_append in
22146 cat << \_LT_EOF
>> "$cfgfile"
22148 # func_append var value
22149 # Append VALUE to the end of shell variable VAR.
22157 cat << \_LT_EOF
>> "$cfgfile"
22159 # func_append var value
22160 # Append VALUE to the end of shell variable VAR.
22171 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22172 ||
(rm -f "$cfgfile"; exit 1)
22174 mv -f "$cfgfile" "$ofile" ||
22175 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22179 cat <<_LT_EOF >> "$ofile"
22181 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22183 # The linker used to build libraries.
22186 # How to create reloadable object files.
22187 reload_flag=$lt_reload_flag_CXX
22188 reload_cmds=$lt_reload_cmds_CXX
22190 # Commands used to build an old-style archive.
22191 old_archive_cmds=$lt_old_archive_cmds_CXX
22193 # A language specific compiler.
22194 CC=$lt_compiler_CXX
22196 # Is the compiler the GNU compiler?
22199 # Compiler flag to turn off builtin functions.
22200 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22202 # How to pass a linker flag through the compiler.
22203 wl=$lt_lt_prog_compiler_wl_CXX
22205 # Additional compiler flags for building library objects.
22206 pic_flag=$lt_lt_prog_compiler_pic_CXX
22208 # Compiler flag to prevent dynamic linking.
22209 link_static_flag=$lt_lt_prog_compiler_static_CXX
22211 # Does compiler simultaneously support -c and -o options?
22212 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22214 # Whether or not to add -lc for building shared libraries.
22215 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22217 # Whether or not to disallow shared libs when runtime libs are static.
22218 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22220 # Compiler flag to allow reflexive dlopens.
22221 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22223 # Compiler flag to generate shared objects directly from archives.
22224 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22226 # Whether the compiler copes with passing no objects directly.
22227 compiler_needs_object=$lt_compiler_needs_object_CXX
22229 # Create an old-style archive from a shared archive.
22230 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22232 # Create a temporary old-style archive to link instead of a shared archive.
22233 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22235 # Commands used to build a shared archive.
22236 archive_cmds=$lt_archive_cmds_CXX
22237 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22239 # Commands used to build a loadable module if different from building
22240 # a shared archive.
22241 module_cmds=$lt_module_cmds_CXX
22242 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22244 # Whether we are building with GNU ld or not.
22245 with_gnu_ld=$lt_with_gnu_ld_CXX
22247 # Flag that allows shared libraries with undefined symbols to be built.
22248 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22250 # Flag that enforces no undefined symbols.
22251 no_undefined_flag=$lt_no_undefined_flag_CXX
22253 # Flag to hardcode \$libdir into a binary during linking.
22254 # This must work even if \$libdir does not exist
22255 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22257 # If ld is used when linking, flag to hardcode \$libdir into a binary
22258 # during linking. This must work even if \$libdir does not exist.
22259 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22261 # Whether we need a single "-rpath" flag with a separated argument.
22262 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22264 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22265 # DIR into the resulting binary.
22266 hardcode_direct=$hardcode_direct_CXX
22268 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22269 # DIR into the resulting binary and the resulting library dependency is
22270 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22271 # library is relocated.
22272 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22274 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22275 # into the resulting binary.
22276 hardcode_minus_L=$hardcode_minus_L_CXX
22278 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22279 # into the resulting binary.
22280 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22282 # Set to "yes" if building a shared library automatically hardcodes DIR
22283 # into the library and all subsequent libraries and executables linked
22285 hardcode_automatic=$hardcode_automatic_CXX
22287 # Set to yes if linker adds runtime paths of dependent libraries
22288 # to runtime path list.
22289 inherit_rpath=$inherit_rpath_CXX
22291 # Whether libtool must link a program against all its dependency libraries.
22292 link_all_deplibs=$link_all_deplibs_CXX
22294 # Fix the shell variable \$srcfile for the compiler.
22295 fix_srcfile_path=$lt_fix_srcfile_path_CXX
22297 # Set to "yes" if exported symbols are required.
22298 always_export_symbols=$always_export_symbols_CXX
22300 # The commands to list exported symbols.
22301 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22303 # Symbols that should not be listed in the preloaded symbols.
22304 exclude_expsyms=$lt_exclude_expsyms_CXX
22306 # Symbols that must always be exported.
22307 include_expsyms=$lt_include_expsyms_CXX
22309 # Commands necessary for linking programs (against libraries) with templates.
22310 prelink_cmds=$lt_prelink_cmds_CXX
22312 # Specify filename containing input files.
22313 file_list_spec=$lt_file_list_spec_CXX
22315 # How to hardcode a shared library path into an executable.
22316 hardcode_action=$hardcode_action_CXX
22318 # The directories searched by this compiler when creating a shared library.
22319 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22321 # Dependencies to place before and after the objects being linked to
22322 # create a shared library.
22323 predep_objects=$lt_predep_objects_CXX
22324 postdep_objects=$lt_postdep_objects_CXX
22325 predeps=$lt_predeps_CXX
22326 postdeps=$lt_postdeps_CXX
22328 # The library search path used internally by the compiler when linking
22329 # a shared library.
22330 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22332 # ### END LIBTOOL TAG CONFIG: CXX
22336 "libm2min/Makefile":F
) cat > vpsed$$
<< \_EOF
22337 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22339 sed -f vpsed$$
$ac_file > tmp$$
22342 echo 'MULTISUBDIR =' >> $ac_file
22344 .
${multi_basedir}/config-ml.
in
22345 { ml_norecursion
=; unset ml_norecursion
;}
22347 "libm2pim/Makefile":F
) cat > vpsed$$
<< \_EOF
22348 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22350 sed -f vpsed$$
$ac_file > tmp$$
22353 echo 'MULTISUBDIR =' >> $ac_file
22355 .
${multi_basedir}/config-ml.
in
22356 { ml_norecursion
=; unset ml_norecursion
;}
22358 "libm2iso/Makefile":F
) cat > vpsed$$
<< \_EOF
22359 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22361 sed -f vpsed$$
$ac_file > tmp$$
22364 echo 'MULTISUBDIR =' >> $ac_file
22366 .
${multi_basedir}/config-ml.
in
22367 { ml_norecursion
=; unset ml_norecursion
;}
22369 "libm2cor/Makefile":F
) cat > vpsed$$
<< \_EOF
22370 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22372 sed -f vpsed$$
$ac_file > tmp$$
22375 echo 'MULTISUBDIR =' >> $ac_file
22377 .
${multi_basedir}/config-ml.
in
22378 { ml_norecursion
=; unset ml_norecursion
;}
22380 "libm2log/Makefile":F
) cat > vpsed$$
<< \_EOF
22381 s
!`test -f '$<' || echo '$(srcdir)/'`!!
22383 sed -f vpsed$$
$ac_file > tmp$$
22386 echo 'MULTISUBDIR =' >> $ac_file
22388 .
${multi_basedir}/config-ml.
in
22389 { ml_norecursion
=; unset ml_norecursion
;}
22398 ac_clean_files
=$ac_clean_files_save
22400 test $ac_write_fail = 0 ||
22401 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22404 # configure is writing to config.log, and then calls config.status.
22405 # config.status does its own redirection, appending to config.log.
22406 # Unfortunately, on DOS this fails, as config.log is still kept open
22407 # by configure, so config.status won't be able to write to it; its
22408 # output is simply discarded. So we exec the FD to /dev/null,
22409 # effectively closing config.log, so it can be properly (re)opened and
22410 # appended to by config.status. When coming back to configure, we
22411 # need to make the FD available again.
22412 if test "$no_create" != yes; then
22414 ac_config_status_args
=
22415 test "$silent" = yes &&
22416 ac_config_status_args
="$ac_config_status_args --quiet"
22418 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22420 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22421 # would make configure fail if this is the last instruction.
22422 $ac_cs_success || as_fn_exit
1
22424 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22426 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}