2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU OpenMP Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU OpenMP Runtime Library'
558 PACKAGE_TARNAME
='libgomp'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='GNU OpenMP Runtime Library 1.0'
562 PACKAGE_URL
='http://www.gnu.org/software/libgomp/'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
600 ac_subst_vars
='am__EXEEXT_FALSE
604 OMP_NEST_LOCK_25_KIND
606 OMP_NEST_LOCK_25_ALIGN
607 OMP_NEST_LOCK_25_SIZE
622 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
623 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
631 MAINTAINER_MODE_FALSE
684 INSTALL_STRIP_PROGRAM
740 program_transform_name
753 enable_option_checking
754 enable_version_specific_runtime_libs
755 enable_generated_files_in_srcdir
757 enable_dependency_tracking
764 enable_maintainer_mode
769 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 ac_unrecognized_opts
=
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name
=s
,x
,x
,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir
='${exec_prefix}/bin'
809 sbindir
='${exec_prefix}/sbin'
810 libexecdir
='${exec_prefix}/libexec'
811 datarootdir
='${prefix}/share'
812 datadir
='${datarootdir}'
813 sysconfdir
='${prefix}/etc'
814 sharedstatedir
='${prefix}/com'
815 localstatedir
='${prefix}/var'
816 includedir
='${prefix}/include'
817 oldincludedir
='/usr/include'
818 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir
='${datarootdir}/info'
824 libdir
='${exec_prefix}/lib'
825 localedir
='${datarootdir}/locale'
826 mandir
='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\
$ac_option
840 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=no
;;
898 -docdir |
--docdir |
--docdi |
--doc |
--do)
900 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
903 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
905 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
908 -enable-* |
--enable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=\
$ac_optarg ;;
1128 -without-* |
--without-*)
1129 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error
"invalid package name: $ac_useropt"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval with_
$ac_useropt=no
;;
1145 # Obsolete; use --with-x.
1148 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1149 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1150 ac_prev
=x_includes
;;
1151 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1152 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1153 x_includes
=$ac_optarg ;;
1155 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1156 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1157 ac_prev
=x_libraries
;;
1158 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1159 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1160 x_libraries
=$ac_optarg ;;
1162 -*) as_fn_error
"unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information."
1167 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1171 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1173 eval $ac_envvar=\
$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1187 if test -n "$ac_prev"; then
1188 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error
"missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val
=\$
$ac_var
1207 # Remove trailing slashes.
1210 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\
$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target
=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x
; then
1230 if test "x$build_alias" = x
; then
1231 cross_compiling
=maybe
1232 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1233 If a cross compiler is detected then cross compile mode will be used." >&2
1234 elif test "x$build_alias" != "x$host_alias"; then
1240 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1242 test "$silent" = yes && exec 6>/dev
/null
1245 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di
=`ls -di .` &&
1247 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error
"working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error
"pwd does not report name of working directory"
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted
=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir
=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1285 ac_srcdir_defaulted
=no
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1289 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1291 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1303 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305 for ac_var
in $ac_precious_vars; do
1306 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1308 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1313 # Report the --help message.
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1319 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 Defaults for the options are specified in brackets.
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1350 For better control, use the options below.
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/libgomp]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1382 --build=BUILD configure
for building on BUILD
[guessed
]
1383 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1384 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
1395 --disable-option-checking ignore unrecognized
--enable/--with options
1396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1398 --enable-version-specific-runtime-libs
1399 Specify that runtime libraries should be installed
1400 in a compiler-specific directory
[default
=no
]
1401 --enable-generated-files-in-srcdir
1402 put copies of generated files
in source dir intended
1403 for creating
source tarballs
for users without
1404 texinfo bison or flex.
[default
=no
]
1405 --enable-multilib build many library versions
(default
)
1406 --disable-dependency-tracking speeds up one-time build
1407 --enable-dependency-tracking do not reject slow dependency extractors
1408 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1409 --enable-static[=PKGS
] build static libraries
[default
=yes]
1410 --enable-fast-install[=PKGS
]
1411 optimize
for fast installation
[default
=yes]
1412 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1413 --enable-maintainer-mode enable make rules and dependencies not useful
1414 (and sometimes confusing
) to the casual installer
1415 --enable-linux-futex use the Linux futex system call
[default
=default
]
1416 --enable-tls Use thread-local storage
[default
=yes]
1417 --enable-symvers=STYLE enables symbol versioning of the shared library
1421 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1422 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1423 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1425 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1427 Some influential environment variables
:
1428 CC C compiler
command
1429 CFLAGS C compiler flags
1430 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1431 nonstandard directory
<lib dir
>
1432 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1433 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1434 you have headers
in a nonstandard directory
<include dir
>
1436 FC Fortran compiler
command
1437 FCFLAGS Fortran compiler flags
1439 Use these variables to override the choices made by
`configure' or to help
1440 it to find libraries and programs with nonstandard names/locations.
1442 Report bugs to the package provider.
1443 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
1444 General help using GNU software: <http://www.gnu.org/gethelp/>.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir=$ac_pwd
1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir=$ac_top_build_prefix
1474 .) # We are building in place.
1476 ac_top_srcdir=$ac_top_builddir_sub
1477 ac_abs_top_srcdir=$ac_pwd ;;
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
1479 ac_srcdir=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir=$srcdir
1481 ac_abs_top_srcdir=$srcdir ;;
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" || { ac_status=$?; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" || { ac_status=$?; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 GNU OpenMP Runtime Library configure 1.0
1508 generated by GNU Autoconf 2.64
1510 Copyright (C) 2009 Free Software Foundation, Inc.
1511 This configure script is free software; the Free Software Foundation
1512 gives unlimited permission to copy, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile ()
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 rm -f conftest.$ac_objext
1528 if { { ac_try="$ac_compile"
1530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1531 *) ac_try_echo
=$ac_try;;
1533 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err
; then
1538 grep -v '^ *+' conftest.err
>conftest.er1
1539 cat conftest.er1
>&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.
$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.
$ac_ext >&5
1554 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1557 } # ac_fn_c_try_compile
1559 # ac_fn_c_try_link LINENO
1560 # -----------------------
1561 # Try to link conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1565 rm -f conftest.
$ac_objext conftest
$ac_exeext
1566 if { { ac_try
="$ac_link"
1568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1569 *) ac_try_echo=$ac_try;;
1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_link") 2>conftest.err
1575 if test -s conftest.err; then
1576 grep -v '^ *+' conftest.err >conftest.er1
1577 cat conftest.er1 >&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest$ac_exeext && {
1585 test "$cross_compiling" = yes ||
1586 $as_test_x conftest$ac_exeext
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.$ac_ext >&5
1595 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1596 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1597 # interfere with the next link command; also delete a directory that is
1598 # left behind by Apple's compiler. We do this before executing the actions.
1599 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1600 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1603 } # ac_fn_c_try_link
1605 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists and can be compiled using the include files in
1608 # INCLUDES, setting the cache variable VAR accordingly.
1609 ac_fn_c_check_header_compile ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615 $as_echo_n "(cached) " >&6
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile "$LINENO"; then :
1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1634 } # ac_fn_c_check_header_compile
1636 # ac_fn_c_try_cpp LINENO
1637 # ----------------------
1638 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 if { { ac_try="$ac_cpp conftest.$ac_ext"
1644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1645 *) ac_try_echo
=$ac_try;;
1647 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1651 if test -s conftest.err
; then
1652 grep -v '^ *+' conftest.err
>conftest.er1
1653 cat conftest.er1
>&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } >/dev
/null
&& {
1658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.
$ac_ext >&5
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1673 # ac_fn_c_try_run LINENO
1674 # ----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1676 # that executables *can* be run.
1679 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1680 if { { ac_try
="$ac_link"
1682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>&5
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1691 { { case "(($ac_try" in
1692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1693 *) ac_try_echo
=$ac_try;;
1695 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_try") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; }; }; then :
1703 $as_echo "$as_me: program exited with status $ac_status" >&5
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.
$ac_ext >&5
1707 ac_retval
=$ac_status
1709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1710 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1715 # ac_fn_c_check_func LINENO FUNC VAR
1716 # ----------------------------------
1717 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1718 ac_fn_c_check_func
()
1720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1724 $as_echo_n "(cached) " >&6
1726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1730 #define $2 innocuous_$2
1732 /* System header to define __stub macros and hopefully few prototypes,
1733 which can conflict with char $2 (); below.
1734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1735 <limits.h> exists even on freestanding compilers. */
1738 # include <limits.h>
1740 # include <assert.h>
1745 /* Override any GCC internal prototype to avoid an error.
1746 Use char because int might match the return type of a GCC
1747 builtin and then its argument prototype would still apply. */
1752 /* The GNU C library defines this for functions which it implements
1753 to always fail with ENOSYS. Some functions are actually named
1754 something starting with __ and the normal name is an alias. */
1755 #if defined __stub_$2 || defined __stub___$2
1767 if ac_fn_c_try_link
"$LINENO"; then :
1772 rm -f core conftest.err conftest.
$ac_objext \
1773 conftest
$ac_exeext conftest.
$ac_ext
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1780 } # ac_fn_c_check_func
1782 # ac_fn_fc_try_compile LINENO
1783 # ---------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_fc_try_compile
()
1787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1788 rm -f conftest.
$ac_objext
1789 if { { ac_try
="$ac_compile"
1791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_compile") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_fc_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest.$ac_objext; then :
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 } # ac_fn_fc_try_compile
1820 # ac_fn_fc_try_link LINENO
1821 # ------------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_fc_try_link ()
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 rm -f conftest.$ac_objext conftest$ac_exeext
1827 if { { ac_try="$ac_link"
1829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1830 *) ac_try_echo
=$ac_try;;
1832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>conftest.err
1836 if test -s conftest.err
; then
1837 grep -v '^ *+' conftest.err
>conftest.er1
1838 cat conftest.er1
>&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && {
1843 test -z "$ac_fc_werror_flag" ||
1844 test ! -s conftest.err
1845 } && test -s conftest
$ac_exeext && {
1846 test "$cross_compiling" = yes ||
1847 $as_test_x conftest
$ac_exeext
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.
$ac_ext >&5
1856 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1857 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1858 # interfere with the next link command; also delete a directory that is
1859 # left behind by Apple's compiler. We do this before executing the actions.
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1864 } # ac_fn_fc_try_link
1866 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1867 # -------------------------------------------------------
1868 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1869 # the include files in INCLUDES and setting the cache variable VAR
1871 ac_fn_c_check_header_mongrel
()
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882 $as_echo "$ac_res" >&6; }
1884 # Is the header compilable?
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1886 $as_echo_n "checking $2 usability... " >&6; }
1887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1892 if ac_fn_c_try_compile
"$LINENO"; then :
1893 ac_header_compiler
=yes
1895 ac_header_compiler
=no
1897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1899 $as_echo "$ac_header_compiler" >&6; }
1901 # Is the header present?
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1903 $as_echo_n "checking $2 presence... " >&6; }
1904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1908 if ac_fn_c_try_cpp
"$LINENO"; then :
1909 ac_header_preproc
=yes
1911 ac_header_preproc
=no
1913 rm -f conftest.err conftest.
$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1915 $as_echo "$ac_header_preproc" >&6; }
1917 # So? What about this header?
1918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1921 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1927 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1929 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1931 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1933 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941 $as_echo_n "(cached) " >&6
1943 eval "$3=\$ac_header_compiler"
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1951 } # ac_fn_c_check_header_mongrel
1953 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1954 # -------------------------------------------
1955 # Tests whether TYPE exists after having included INCLUDES, setting cache
1956 # variable VAR accordingly.
1957 ac_fn_c_check_type
()
1959 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1963 $as_echo_n "(cached) " >&6
1966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1978 if ac_fn_c_try_compile
"$LINENO"; then :
1979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1991 if ac_fn_c_try_compile
"$LINENO"; then :
1996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2002 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2005 } # ac_fn_c_check_type
2007 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2008 # --------------------------------------------
2009 # Tries to find the compile-time value of EXPR in a program that includes
2010 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2012 ac_fn_c_compute_int
()
2014 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2015 if test "$cross_compiling" = yes; then
2016 # Depending upon the size, compute the lo and hi bounds.
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2023 static int test_array [1 - 2 * !(($2) >= 0)];
2030 if ac_fn_c_try_compile
"$LINENO"; then :
2033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2039 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2046 if ac_fn_c_try_compile
"$LINENO"; then :
2047 ac_hi
=$ac_mid; break
2049 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2050 if test $ac_lo -le $ac_mid; then
2054 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) < 0)];
2072 if ac_fn_c_try_compile
"$LINENO"; then :
2075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2081 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2088 if ac_fn_c_try_compile
"$LINENO"; then :
2089 ac_lo
=$ac_mid; break
2091 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2092 if test $ac_mid -le $ac_hi; then
2096 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 # Binary search between lo and hi bounds.
2107 while test "x$ac_lo" != "x$ac_hi"; do
2108 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2122 if ac_fn_c_try_compile
"$LINENO"; then :
2125 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2137 static long int longval () { return $2; }
2138 static unsigned long int ulongval () { return $2; }
2145 FILE *f = fopen ("conftest.val", "w");
2150 long int i = longval ();
2153 fprintf (f, "%ld", i);
2157 unsigned long int i = ulongval ();
2160 fprintf (f, "%lu", i);
2162 /* Do not output a trailing newline, as this causes \r\n confusion
2163 on some platforms. */
2164 return ferror (f) || fclose (f) != 0;
2170 if ac_fn_c_try_run
"$LINENO"; then :
2171 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2175 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2176 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2183 } # ac_fn_c_compute_int
2184 cat >config.log
<<_ACEOF
2185 This file contains any messages produced by compilers while
2186 running configure, to aid debugging if configure makes a mistake.
2188 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
2189 generated by GNU Autoconf 2.64. Invocation command line was
2201 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2202 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2203 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2204 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2205 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2207 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2208 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2210 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2211 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2212 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2213 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2214 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2215 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2216 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2224 test -z "$as_dir" && as_dir
=.
2225 $as_echo "PATH: $as_dir"
2241 # Keep a trace of the command line.
2242 # Strip out --no-create and --no-recursion so they do not pile up.
2243 # Strip out --silent because we don't want to record it for future runs.
2244 # Also quote any args containing shell meta-characters.
2245 # Make two passes to allow for proper duplicate-argument suppression.
2249 ac_must_keep_next
=false
2255 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2256 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2257 |
-silent |
--silent |
--silen |
--sile |
--sil)
2260 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2263 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2265 as_fn_append ac_configure_args1
" '$ac_arg'"
2266 if test $ac_must_keep_next = true
; then
2267 ac_must_keep_next
=false
# Got value, back to normal.
2270 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2271 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2272 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2273 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2274 case "$ac_configure_args0 " in
2275 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2278 -* ) ac_must_keep_next
=true
;;
2281 as_fn_append ac_configure_args
" '$ac_arg'"
2286 { ac_configure_args0
=; unset ac_configure_args0
;}
2287 { ac_configure_args1
=; unset ac_configure_args1
;}
2289 # When interrupted or exit'd, cleanup temporary files, and complete
2290 # config.log. We remove comments because anyway the quotes in there
2291 # would cause problems or look ugly.
2292 # WARNING: Use '\'' to represent an apostrophe within the trap.
2293 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2294 trap 'exit_status=$?
2295 # Save into config.log some information that might help in debugging.
2300 ## ---------------- ##
2301 ## Cache variables. ##
2302 ## ---------------- ##
2305 # The following way of writing the cache mishandles newlines in values,
2307 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2308 eval ac_val=\$$ac_var
2312 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2313 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2316 _ | IFS | as_nl) ;; #(
2317 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2318 *) { eval $ac_var=; unset $ac_var;} ;;
2323 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2324 *${as_nl}ac_space=\ *)
2326 "s/'\''/'\''\\\\'\'''\''/g;
2327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2330 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2338 ## ----------------- ##
2339 ## Output variables. ##
2340 ## ----------------- ##
2343 for ac_var in $ac_subst_vars
2345 eval ac_val=\$$ac_var
2347 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2349 $as_echo "$ac_var='\''$ac_val'\''"
2353 if test -n "$ac_subst_files"; then
2355 ## ------------------- ##
2356 ## File substitutions. ##
2357 ## ------------------- ##
2360 for ac_var
in $ac_subst_files
2362 eval ac_val
=\$
$ac_var
2364 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2366 $as_echo "$ac_var='\''$ac_val'\''"
2371 if test -s confdefs.h; then
2381 test "$ac_signal" != 0 &&
2382 $as_echo "$as_me: caught signal $ac_signal"
2383 $as_echo "$as_me: exit $exit_status"
2385 rm -f core *.core core.conftest.* &&
2386 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2389 for ac_signal
in 1 2 13 15; do
2390 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2395 rm -f -r conftest
* confdefs.h
2397 $as_echo "/* confdefs.h */" > confdefs.h
2399 # Predefined preprocessor variables.
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_NAME "$PACKAGE_NAME"
2405 cat >>confdefs.h
<<_ACEOF
2406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_STRING "$PACKAGE_STRING"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2421 cat >>confdefs.h
<<_ACEOF
2422 #define PACKAGE_URL "$PACKAGE_URL"
2426 # Let the site file select an alternate cache file if it wants to.
2427 # Prefer an explicitly selected file to automatically selected ones.
2430 if test -n "$CONFIG_SITE"; then
2431 ac_site_file1
=$CONFIG_SITE
2432 elif test "x$prefix" != xNONE
; then
2433 ac_site_file1
=$prefix/share
/config.site
2434 ac_site_file2
=$prefix/etc
/config.site
2436 ac_site_file1
=$ac_default_prefix/share
/config.site
2437 ac_site_file2
=$ac_default_prefix/etc
/config.site
2439 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2441 test "x$ac_site_file" = xNONE
&& continue
2442 if test -r "$ac_site_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2444 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2445 sed 's/^/| /' "$ac_site_file" >&5
2450 if test -r "$cache_file"; then
2451 # Some versions of bash will fail to source /dev/null (special
2452 # files actually), so we avoid doing that.
2453 if test -f "$cache_file"; then
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2455 $as_echo "$as_me: loading cache $cache_file" >&6;}
2457 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2458 *) .
"./$cache_file";;
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2463 $as_echo "$as_me: creating cache $cache_file" >&6;}
2467 # Check that the precious variables saved in the cache have kept the same
2469 ac_cache_corrupted
=false
2470 for ac_var
in $ac_precious_vars; do
2471 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2472 eval ac_new_set
=\
$ac_env_${ac_var}_set
2473 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2474 eval ac_new_val
=\
$ac_env_${ac_var}_value
2475 case $ac_old_set,$ac_new_set in
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2478 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2479 ac_cache_corrupted
=: ;;
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2482 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2483 ac_cache_corrupted
=: ;;
2486 if test "x$ac_old_val" != "x$ac_new_val"; then
2487 # differences in whitespace do not lead to failure.
2488 ac_old_val_w
=`echo x $ac_old_val`
2489 ac_new_val_w
=`echo x $ac_new_val`
2490 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2492 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2493 ac_cache_corrupted
=:
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2496 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2497 eval $ac_var=\
$ac_old_val
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2500 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2502 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2505 # Pass precious variables to config.status.
2506 if test "$ac_new_set" = set; then
2508 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2509 *) ac_arg
=$ac_var=$ac_new_val ;;
2511 case " $ac_configure_args " in
2512 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2513 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2517 if $ac_cache_corrupted; then
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2521 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2522 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2524 ## -------------------- ##
2525 ## Main body of script. ##
2526 ## -------------------- ##
2529 ac_cpp
='$CPP $CPPFLAGS'
2530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2538 ac_config_headers
="$ac_config_headers config.h"
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2546 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2547 # Check whether --enable-version-specific-runtime-libs was given.
2548 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2549 enableval
=$enable_version_specific_runtime_libs;
2550 case "$enableval" in
2552 *) as_fn_error
"Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2556 enable_version_specific_runtime_libs
=no
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2561 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2563 # We would like our source tree to be readonly. However when releases or
2564 # pre-releases are generated, the flex/bison generated files as well as the
2565 # various formats of manuals need to be included along with the rest of the
2566 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2569 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2570 # Check whether --enable-generated-files-in-srcdir was given.
2571 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2572 enableval
=$enable_generated_files_in_srcdir;
2573 case "$enableval" in
2575 *) as_fn_error
"Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2579 enable_generated_files_in_srcdir
=no
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2584 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2585 if test "$enable_generated_files_in_srcdir" = yes; then
2598 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2600 # You will slowly go insane if you do not grok the following fact: when
2601 # building this library, the top-level /target/ becomes the library's /host/.
2603 # configure then causes --target to default to --host, exactly like any
2604 # other package using autoconf. Therefore, 'target' and 'host' will
2605 # always be the same. This makes sense both for native and cross compilers
2606 # just think about it for a little while. :-)
2608 # Also, if this library is being configured as part of a cross compiler, the
2609 # top-level configure script will pass the "real" host as $with_cross_host.
2611 # Do not delete or change the following two lines. For why, see
2612 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2614 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2615 for ac_t
in install-sh
install.sh shtool
; do
2616 if test -f "$ac_dir/$ac_t"; then
2618 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2623 if test -z "$ac_aux_dir"; then
2624 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2627 # These three variables are undocumented and unsupported,
2628 # and are intended to be withdrawn in a future Autoconf release.
2629 # They can cause serious problems if a builder's source tree is in a directory
2630 # whose full name contains unusual characters.
2631 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2632 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2633 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2636 # Make sure we can run config.sub.
2637 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2638 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2641 $as_echo_n "checking build system type... " >&6; }
2642 if test "${ac_cv_build+set}" = set; then :
2643 $as_echo_n "(cached) " >&6
2645 ac_build_alias
=$build_alias
2646 test "x$ac_build_alias" = x
&&
2647 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2648 test "x$ac_build_alias" = x
&&
2649 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2650 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2651 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2655 $as_echo "$ac_cv_build" >&6; }
2656 case $ac_cv_build in
2658 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2661 ac_save_IFS
=$IFS; IFS
='-'
2667 # Remember, the first character of IFS is used to create $*,
2668 # except with old shells:
2671 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2675 $as_echo_n "checking host system type... " >&6; }
2676 if test "${ac_cv_host+set}" = set; then :
2677 $as_echo_n "(cached) " >&6
2679 if test "x$host_alias" = x
; then
2680 ac_cv_host
=$ac_cv_build
2682 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2683 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2688 $as_echo "$ac_cv_host" >&6; }
2691 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2694 ac_save_IFS
=$IFS; IFS
='-'
2700 # Remember, the first character of IFS is used to create $*,
2701 # except with old shells:
2704 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2708 $as_echo_n "checking target system type... " >&6; }
2709 if test "${ac_cv_target+set}" = set; then :
2710 $as_echo_n "(cached) " >&6
2712 if test "x$target_alias" = x
; then
2713 ac_cv_target
=$ac_cv_host
2715 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2716 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2721 $as_echo "$ac_cv_target" >&6; }
2722 case $ac_cv_target in
2724 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2726 target
=$ac_cv_target
2727 ac_save_IFS
=$IFS; IFS
='-'
2733 # Remember, the first character of IFS is used to create $*,
2734 # except with old shells:
2737 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2740 # The aliases save the names the user supplied, while $host etc.
2741 # will get canonicalized.
2742 test -n "$target_alias" &&
2743 test "$program_prefix$program_suffix$program_transform_name" = \
2745 program_prefix
=${target_alias}-
2747 target_alias
=${target_alias-$host_alias}
2749 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2750 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2751 # 1.9.0: minimum required version
2752 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2753 # of other PACKAGE_* variables will, however, and there's nothing
2754 # we can do about that; they come from AC_INIT).
2755 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2756 # file in the top srcdir, etc, etc), so stop complaining.
2757 # -Wall: turns on all automake warnings...
2758 # -Wno-portability: ...except this one, since GNU make is required.
2759 # -Wno-override: ... and this one, since we do want this in testsuite.
2760 am__api_version
='1.11'
2762 # Find a good install program. We prefer a C program (faster),
2763 # so one script is as good as another. But avoid the broken or
2764 # incompatible versions:
2765 # SysV /etc/install, /usr/sbin/install
2766 # SunOS /usr/etc/install
2767 # IRIX /sbin/install
2769 # AmigaOS /C/install, which installs bootblocks on floppy discs
2770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2773 # OS/2's system install, which has a completely different semantic
2774 # ./install, which can be erroneously created by make from ./install.sh.
2775 # Reject install programs that cannot install multiple files.
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2777 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2778 if test -z "$INSTALL"; then
2779 if test "${ac_cv_path_install+set}" = set; then :
2780 $as_echo_n "(cached) " >&6
2782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir
=.
2787 # Account for people who put trailing slashes in PATH elements.
2788 case $as_dir/ in #((
2789 .
/ | .
// |
/[cC
]/* | \
2790 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2791 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2794 # OSF1 and SCO ODT 3.0 have their own names for install.
2795 # Don't use installbsd from OSF since it installs stuff as root
2797 for ac_prog
in ginstall scoinst
install; do
2798 for ac_exec_ext
in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2800 if test $ac_prog = install &&
2801 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2802 # AIX install. It has an incompatible calling convention.
2804 elif test $ac_prog = install &&
2805 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2806 # program-specific install script used by HP pwplus--don't use.
2809 rm -rf conftest.one conftest.two conftest.dir
2810 echo one
> conftest.one
2811 echo two
> conftest.two
2813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2814 test -s conftest.one
&& test -s conftest.two
&&
2815 test -s conftest.dir
/conftest.one
&&
2816 test -s conftest.dir
/conftest.two
2818 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2831 rm -rf conftest.one conftest.two conftest.dir
2834 if test "${ac_cv_path_install+set}" = set; then
2835 INSTALL
=$ac_cv_path_install
2837 # As a last resort, use the slow shell script. Don't cache a
2838 # value for INSTALL within a source directory, because that will
2839 # break other packages using the cache if that directory is
2840 # removed, or if the value is a relative name.
2841 INSTALL
=$ac_install_sh
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2845 $as_echo "$INSTALL" >&6; }
2847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2848 # It thinks the first close brace ends the variable substitution.
2849 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2851 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2853 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2856 $as_echo_n "checking whether build environment is sane... " >&6; }
2859 echo timestamp
> conftest.
file
2860 # Reject unsafe characters in $srcdir or the absolute working directory
2861 # name. Accept space and tab only in the latter.
2865 *[\\\"\
#\$\&\'\`$am_lf]*)
2866 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2869 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2870 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2873 # Do `set' in a subshell so we don't clobber the current shell's
2874 # arguments. Must try -L first in case configure is actually a
2875 # symlink; some systems play weird games with the mod time of symlinks
2876 # (eg FreeBSD returns the mod time of the symlink's containing
2879 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2880 if test "$*" = "X"; then
2882 set X
`ls -t "$srcdir/configure" conftest.file`
2885 if test "$*" != "X $srcdir/configure conftest.file" \
2886 && test "$*" != "X conftest.file $srcdir/configure"; then
2888 # If neither matched, then we have a broken ls. This can happen
2889 # if, for instance, CONFIG_SHELL is bash and it inherits a
2890 # broken ls alias from the environment. This has actually
2891 # happened. Such a system could not be considered "sane".
2892 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2893 alias in your environment" "$LINENO" 5
2896 test "$2" = conftest.
file
2902 as_fn_error
"newly created file is older than distributed files!
2903 Check your system clock" "$LINENO" 5
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2906 $as_echo "yes" >&6; }
2907 test "$program_prefix" != NONE
&&
2908 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2909 # Use a double $ so make ignores it.
2910 test "$program_suffix" != NONE
&&
2911 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2912 # Double any \ or $.
2913 # By default was `s,x,x', remove it if useless.
2914 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2915 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2917 # expand $ac_aux_dir to an absolute path
2918 am_aux_dir
=`cd $ac_aux_dir && pwd`
2920 if test x
"${MISSING+set}" != xset
; then
2923 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2925 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2928 # Use eval to expand $SHELL
2929 if eval "$MISSING --run true"; then
2930 am_missing_run
="$MISSING --run "
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2934 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2937 if test x
"${install_sh}" != xset
; then
2940 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2942 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2946 # Installed binaries are usually stripped using `strip' when the user
2947 # run `make install-strip'. However `strip' might not be the right
2948 # tool to use in cross-compilation environments, therefore Automake
2949 # will honor the `STRIP' environment variable to overrule this program.
2950 if test "$cross_compiling" != no
; then
2951 if test -n "$ac_tool_prefix"; then
2952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2953 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955 $as_echo_n "checking for $ac_word... " >&6; }
2956 if test "${ac_cv_prog_STRIP+set}" = set; then :
2957 $as_echo_n "(cached) " >&6
2959 if test -n "$STRIP"; then
2960 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2966 test -z "$as_dir" && as_dir
=.
2967 for ac_exec_ext
in '' $ac_executable_extensions; do
2968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 STRIP
=$ac_cv_prog_STRIP
2980 if test -n "$STRIP"; then
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2982 $as_echo "$STRIP" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 $as_echo "no" >&6; }
2990 if test -z "$ac_cv_prog_STRIP"; then
2992 # Extract the first word of "strip", so it can be a program name with args.
2993 set dummy strip
; ac_word
=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2997 $as_echo_n "(cached) " >&6
2999 if test -n "$ac_ct_STRIP"; then
3000 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir
=.
3007 for ac_exec_ext
in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 ac_cv_prog_ac_ct_STRIP
="strip"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3020 if test -n "$ac_ct_STRIP"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3022 $as_echo "$ac_ct_STRIP" >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3028 if test "x$ac_ct_STRIP" = x
; then
3031 case $cross_compiling:$ac_tool_warned in
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3035 ac_tool_warned
=yes ;;
3040 STRIP
="$ac_cv_prog_STRIP"
3044 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3047 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3048 if test -z "$MKDIR_P"; then
3049 if test "${ac_cv_path_mkdir+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3053 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3056 test -z "$as_dir" && as_dir
=.
3057 for ac_prog
in mkdir gmkdir
; do
3058 for ac_exec_ext
in '' $ac_executable_extensions; do
3059 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3060 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3061 'mkdir (GNU coreutils) '* | \
3062 'mkdir (coreutils) '* | \
3063 'mkdir (fileutils) '4.1*)
3064 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3074 if test "${ac_cv_path_mkdir+set}" = set; then
3075 MKDIR_P
="$ac_cv_path_mkdir -p"
3077 # As a last resort, use the slow shell script. Don't cache a
3078 # value for MKDIR_P within a source directory, because that will
3079 # break other packages using the cache if that directory is
3080 # removed, or if the value is a relative name.
3081 test -d .
/--version && rmdir .
/--version
3082 MKDIR_P
="$ac_install_sh -d"
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3086 $as_echo "$MKDIR_P" >&6; }
3090 [\\/$
]* | ?
:[\\/]*) ;;
3091 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3094 for ac_prog
in gawk mawk nawk
awk
3096 # Extract the first word of "$ac_prog", so it can be a program name with args.
3097 set dummy
$ac_prog; ac_word
=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if test "${ac_cv_prog_AWK+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3103 if test -n "$AWK"; then
3104 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir
=.
3111 for ac_exec_ext
in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113 ac_cv_prog_AWK
="$ac_prog"
3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 if test -n "$AWK"; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3126 $as_echo "$AWK" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3133 test -n "$AWK" && break
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3137 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3139 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3140 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3141 $as_echo_n "(cached) " >&6
3143 cat >conftest.
make <<\_ACEOF
3146 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3148 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3149 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3151 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3153 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3157 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3164 SET_MAKE
="MAKE=${MAKE-make}"
3167 rm -rf .tst
2>/dev
/null
3168 mkdir .tst
2>/dev
/null
3169 if test -d .tst
; then
3174 rmdir .tst
2>/dev
/null
3176 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3177 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3178 # is not polluted with repeated "-I."
3179 am__isrc
=' -I$(srcdir)'
3180 # test to see if srcdir already configured
3181 if test -f $srcdir/config.status
; then
3182 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3186 # test whether we have cygpath
3187 if test -z "$CYGPATH_W"; then
3188 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3189 CYGPATH_W
='cygpath -w'
3196 # Define the identity of the package.
3201 cat >>confdefs.h
<<_ACEOF
3202 #define PACKAGE "$PACKAGE"
3206 cat >>confdefs.h
<<_ACEOF
3207 #define VERSION "$VERSION"
3210 # Some tools Automake needs.
3212 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3215 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3218 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3221 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3224 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3226 # We need awk for the "check" target. The system "awk" is bad on
3228 # Always define AMTAR for backward compatibility.
3230 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3232 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3238 # Default to --enable-multilib
3239 # Check whether --enable-multilib was given.
3240 if test "${enable_multilib+set}" = set; then :
3241 enableval
=$enable_multilib; case "$enableval" in
3242 yes) multilib
=yes ;;
3244 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3251 # We may get other options which we leave undocumented:
3252 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3253 # See config-ml.in if you want the gory details.
3255 if test "$srcdir" = "."; then
3256 if test "$with_target_subdir" != "."; then
3257 multi_basedir
="$srcdir/$with_multisrctop../.."
3259 multi_basedir
="$srcdir/$with_multisrctop.."
3262 multi_basedir
="$srcdir/.."
3266 # Even if the default multilib is not a cross compilation,
3267 # it may be that some of the other multilibs are.
3268 if test $cross_compiling = no
&& test $multilib = yes \
3269 && test "x${with_multisubdir}" != x
; then
3270 cross_compiling
=maybe
3273 ac_config_commands
="$ac_config_commands default-1"
3276 # Calculate toolexeclibdir
3277 # Also toolexecdir, though it's only used in toolexeclibdir
3278 case ${enable_version_specific_runtime_libs} in
3280 # Need the gcc compiler version to know where to install libraries
3281 # and header files if --enable-version-specific-runtime-libs option
3283 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3284 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3287 if test -n "$with_cross_host" &&
3288 test x
"$with_cross_host" != x
"no"; then
3289 # Install a library built with a cross compiler in tooldir, not libdir.
3290 toolexecdir
='$(exec_prefix)/$(target_alias)'
3291 toolexeclibdir
='$(toolexecdir)/lib'
3293 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3294 toolexeclibdir
='$(libdir)'
3296 multi_os_directory
=`$CC -print-multi-os-directory`
3297 case $multi_os_directory in
3298 .
) ;; # Avoid trailing /.
3299 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3306 # Check the compiler.
3307 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3308 # We must force CC to /not/ be precious variables; otherwise
3309 # the wrong, non-multilib-adjusted value will be used in multilibs.
3310 # As a side effect, we have to subst CFLAGS ourselves.
3315 ac_cpp
='$CPP $CPPFLAGS'
3316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3319 if test -n "$ac_tool_prefix"; then
3320 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3321 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323 $as_echo_n "checking for $ac_word... " >&6; }
3324 if test "${ac_cv_prog_CC+set}" = set; then :
3325 $as_echo_n "(cached) " >&6
3327 if test -n "$CC"; then
3328 ac_cv_prog_CC
="$CC" # Let the user override the test.
3330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3334 test -z "$as_dir" && as_dir
=.
3335 for ac_exec_ext
in '' $ac_executable_extensions; do
3336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3337 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 if test -n "$CC"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3350 $as_echo "$CC" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3358 if test -z "$ac_cv_prog_CC"; then
3360 # Extract the first word of "gcc", so it can be a program name with args.
3361 set dummy gcc
; ac_word
=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$ac_ct_CC"; then
3368 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir
=.
3375 for ac_exec_ext
in '' $ac_executable_extensions; do
3376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377 ac_cv_prog_ac_ct_CC
="gcc"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3388 if test -n "$ac_ct_CC"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3390 $as_echo "$ac_ct_CC" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3396 if test "x$ac_ct_CC" = x
; then
3399 case $cross_compiling:$ac_tool_warned in
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3403 ac_tool_warned
=yes ;;
3411 if test -z "$CC"; then
3412 if test -n "$ac_tool_prefix"; then
3413 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3414 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if test "${ac_cv_prog_CC+set}" = set; then :
3418 $as_echo_n "(cached) " >&6
3420 if test -n "$CC"; then
3421 ac_cv_prog_CC
="$CC" # Let the user override the test.
3423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3427 test -z "$as_dir" && as_dir
=.
3428 for ac_exec_ext
in '' $ac_executable_extensions; do
3429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3430 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 if test -n "$CC"; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3443 $as_echo "$CC" >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3452 if test -z "$CC"; then
3453 # Extract the first word of "cc", so it can be a program name with args.
3454 set dummy cc
; ac_word
=$2
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 $as_echo_n "checking for $ac_word... " >&6; }
3457 if test "${ac_cv_prog_CC+set}" = set; then :
3458 $as_echo_n "(cached) " >&6
3460 if test -n "$CC"; then
3461 ac_cv_prog_CC
="$CC" # Let the user override the test.
3464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir
=.
3469 for ac_exec_ext
in '' $ac_executable_extensions; do
3470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3471 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3472 ac_prog_rejected
=yes
3476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 if test $ac_prog_rejected = yes; then
3484 # We found a bogon in the path, so make sure we never use it.
3485 set dummy
$ac_cv_prog_CC
3487 if test $# != 0; then
3488 # We chose a different compiler from the bogus one.
3489 # However, it has the same basename, so the bogon will be chosen
3490 # first if we set CC to just the basename; use the full file name.
3492 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3498 if test -n "$CC"; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3500 $as_echo "$CC" >&6; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3508 if test -z "$CC"; then
3509 if test -n "$ac_tool_prefix"; then
3510 for ac_prog
in cl.exe
3512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3513 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if test "${ac_cv_prog_CC+set}" = set; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$CC"; then
3520 ac_cv_prog_CC
="$CC" # Let the user override the test.
3522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir
=.
3527 for ac_exec_ext
in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test -n "$CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 $as_echo "$CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3549 test -n "$CC" && break
3552 if test -z "$CC"; then
3554 for ac_prog
in cl.exe
3556 # Extract the first word of "$ac_prog", so it can be a program name with args.
3557 set dummy
$ac_prog; ac_word
=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3563 if test -n "$ac_ct_CC"; then
3564 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir
=.
3571 for ac_exec_ext
in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_ac_ct_CC
="$ac_prog"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3584 if test -n "$ac_ct_CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3586 $as_echo "$ac_ct_CC" >&6; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3593 test -n "$ac_ct_CC" && break
3596 if test "x$ac_ct_CC" = x
; then
3599 case $cross_compiling:$ac_tool_warned in
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3603 ac_tool_warned
=yes ;;
3612 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error
"no acceptable C compiler found in \$PATH
3615 See \`config.log' for more details." "$LINENO" 5; }
3617 # Provide some information about the compiler.
3618 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3621 for ac_option
in --version -v -V -qversion; do
3622 { { ac_try
="$ac_compiler $ac_option >&5"
3624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628 $as_echo "$ac_try_echo"; } >&5
3629 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3631 if test -s conftest.err; then
3633 ... rest of stderr output deleted ...
3634 10q' conftest.err >conftest.er1
3635 cat conftest.er1 >&5
3636 rm -f conftest.er1 conftest.err
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; }
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 ac_clean_files_save=$ac_clean_files
3654 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3655 # Try to create an executable without -o first, disregard a.out.
3656 # It will help us diagnose broken compilers, and finding out an intuition
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3659 $as_echo_n "checking for C compiler default output file name... " >&6; }
3660 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3662 # The possible output files:
3663 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3666 for ac_file in $ac_files
3669 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3670 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3675 if { { ac_try="$ac_link_default"
3677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3678 *) ac_try_echo
=$ac_try;;
3680 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681 $as_echo "$ac_try_echo"; } >&5
3682 (eval "$ac_link_default") 2>&5
3684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3685 test $ac_status = 0; }; then :
3686 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3687 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3688 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3689 # so that the user can short-circuit this test for compilers unknown to
3691 for ac_file
in $ac_files ''
3693 test -f "$ac_file" ||
continue
3695 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3698 # We found the default executable, but exeext='' is most
3702 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3704 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3706 # We set ac_cv_exeext here because the later test for it is not
3707 # safe: cross compilers may not add the suffix if given an `-o'
3708 # argument, so we may need to know it at that point already.
3709 # Even if this section looks crufty: it has the advantage of
3716 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3722 $as_echo "$ac_file" >&6; }
3723 if test -z "$ac_file"; then :
3724 $as_echo "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.
$ac_ext >&5
3727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 { as_fn_set_status
77
3730 as_fn_error
"C compiler cannot create executables
3731 See \`config.log' for more details." "$LINENO" 5; }; }
3733 ac_exeext
=$ac_cv_exeext
3735 # Check that the compiler produces executables we can run. If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3738 $as_echo_n "checking whether the C compiler works... " >&6; }
3739 # If not cross compiling, check that we can run a simple program.
3740 if test "$cross_compiling" != yes; then
3741 if { ac_try
='./$ac_file'
3742 { { case "(($ac_try" in
3743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3747 $as_echo "$ac_try_echo"; } >&5
3748 (eval "$ac_try") 2>&5
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751 test $ac_status = 0; }; }; then
3754 if test "$cross_compiling" = maybe; then
3757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3759 as_fn_error "cannot run C compiled programs.
3760 If you meant to cross compile
, use \
`--host'.
3761 See \`config.log
' for more details." "$LINENO" 5; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3766 $as_echo "yes" >&6; }
3768 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3769 ac_clean_files=$ac_clean_files_save
3770 # Check that the compiler produces executables we can run. If not, either
3771 # the compiler is broken, or we cross compile.
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3773 $as_echo_n "checking whether we are cross compiling... " >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3775 $as_echo "$cross_compiling" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3778 $as_echo_n "checking for suffix of executables... " >&6; }
3779 if { { ac_try="$ac_link"
3781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3782 *) ac_try_echo=$ac_try;;
3784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3785 $as_echo "$ac_try_echo"; } >&5
3786 (eval "$ac_link") 2>&5
3788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3789 test $ac_status = 0; }; then :
3790 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3791 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3792 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3794 for ac_file
in conftest.exe conftest conftest.
*; do
3795 test -f "$ac_file" ||
continue
3797 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3798 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3807 See \`config.log' for more details." "$LINENO" 5; }
3809 rm -f conftest
$ac_cv_exeext
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3811 $as_echo "$ac_cv_exeext" >&6; }
3813 rm -f conftest.
$ac_ext
3814 EXEEXT
=$ac_cv_exeext
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3817 $as_echo_n "checking for suffix of object files... " >&6; }
3818 if test "${ac_cv_objext+set}" = set; then :
3819 $as_echo_n "(cached) " >&6
3821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3832 rm -f conftest.o conftest.obj
3833 if { { ac_try
="$ac_compile"
3835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3836 *) ac_try_echo=$ac_try;;
3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839 $as_echo "$ac_try_echo"; } >&5
3840 (eval "$ac_compile") 2>&5
3842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843 test $ac_status = 0; }; then :
3844 for ac_file in conftest.o conftest.obj conftest.*; do
3845 test -f "$ac_file" || continue;
3847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3848 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3853 $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "cannot compute suffix of object files
: cannot compile
3859 See \
`config.log' for more details." "$LINENO" 5; }
3861 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3864 $as_echo "$ac_cv_objext" >&6; }
3865 OBJEXT=$ac_cv_objext
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3868 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3869 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3870 $as_echo_n "(cached) " >&6
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3886 if ac_fn_c_try_compile "$LINENO"; then :
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3896 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3897 if test $ac_compiler_gnu = yes; then
3902 ac_test_CFLAGS=${CFLAGS+set}
3903 ac_save_CFLAGS=$CFLAGS
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3905 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3906 if test "${ac_cv_prog_cc_g+set}" = set; then :
3907 $as_echo_n "(cached) " >&6
3909 ac_save_c_werror_flag=$ac_c_werror_flag
3910 ac_c_werror_flag=yes
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_c_try_compile "$LINENO"; then :
3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3939 if ac_fn_c_try_compile "$LINENO"; then :
3942 ac_c_werror_flag=$ac_save_c_werror_flag
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3955 if ac_fn_c_try_compile "$LINENO"; then :
3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 ac_c_werror_flag=$ac_save_c_werror_flag
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3966 $as_echo "$ac_cv_prog_cc_g" >&6; }
3967 if test "$ac_test_CFLAGS" = set; then
3968 CFLAGS=$ac_save_CFLAGS
3969 elif test $ac_cv_prog_cc_g = yes; then
3970 if test "$GCC" = yes; then
3976 if test "$GCC" = yes; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3983 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3984 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3985 $as_echo_n "(cached) " >&6
3987 ac_cv_prog_cc_c89=no
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3993 #include <sys/types.h>
3994 #include <sys/stat.h>
3995 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3996 struct buf { int x; };
3997 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3998 static char *e (p, i)
4004 static char *f (char * (*g) (char **, int), char **p, ...)
4009 s = g (p, va_arg (v,int));
4014 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4015 function prototypes and stuff, but not '\xHH' hex character constants.
4016 These don't provoke an error unfortunately, instead are silently treated
4017 as 'x'. The following induces an error, until -std is added to get
4018 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4019 array size at least. It's necessary to write '\x00'==0 to get something
4020 that's true only with -std. */
4021 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4023 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4024 inside strings and character constants. */
4026 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4028 int test (int i, double x);
4029 struct s1 {int (*f) (int a);};
4030 struct s2 {int (*f) (double a);};
4031 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4037 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4042 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4043 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4045 CC="$ac_save_CC $ac_arg"
4046 if ac_fn_c_try_compile "$LINENO"; then :
4047 ac_cv_prog_cc_c89=$ac_arg
4049 rm -f core conftest.err conftest.$ac_objext
4050 test "x$ac_cv_prog_cc_c89" != "xno" && break
4052 rm -f conftest.$ac_ext
4057 case "x$ac_cv_prog_cc_c89" in
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4060 $as_echo "none needed" >&6; } ;;
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4063 $as_echo "unsupported" >&6; } ;;
4065 CC="$CC $ac_cv_prog_cc_c89"
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4067 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4069 if test "x$ac_cv_prog_cc_c89" != xno; then :
4074 ac_cpp='$CPP $CPPFLAGS'
4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4078 DEPDIR="${am__leading_dot}deps"
4080 ac_config_commands="$ac_config_commands depfiles"
4083 am_make=${MAKE-make}
4084 cat > confinc << 'END'
4086 @echo this is the am__doit target
4089 # If we don't find an include directive, just comment out the code.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4091 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4095 # First try GNU make style include.
4096 echo "include confinc" > confmf
4097 # Ignore all kinds of additional output from `make'.
4098 case `$am_make -s -f confmf 2> /dev/null` in #(
4099 *the\ am__doit\ target*)
4105 # Now try BSD make style include.
4106 if test "$am__include" = "#"; then
4107 echo '.include
"confinc"' > confmf
4108 case `$am_make -s -f confmf 2> /dev/null` in #(
4109 *the\ am__doit\ target*)
4110 am__include=.include
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4119 $as_echo "$_am_result" >&6; }
4120 rm -f confinc confmf
4122 # Check whether --enable-dependency-tracking was given.
4123 if test "${enable_dependency_tracking+set}" = set; then :
4124 enableval=$enable_dependency_tracking;
4127 if test "x$enable_dependency_tracking" != xno; then
4128 am_depcomp="$ac_aux_dir/depcomp"
4131 if test "x$enable_dependency_tracking" != xno
; then
4141 depcc
="$CC" am_compiler_list
=
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4144 $as_echo_n "checking dependency style of $depcc... " >&6; }
4145 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4146 $as_echo_n "(cached) " >&6
4148 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4149 # We make a subdir and do the tests there. Otherwise we can end up
4150 # making bogus files that we don't know about and never remove. For
4151 # instance it was reported that on HP-UX the gcc test will end up
4152 # making a dummy file named `D' -- because `-MD' means `put the output
4155 # Copy depcomp to subdir because otherwise we won't find it if we're
4156 # using a relative directory.
4157 cp "$am_depcomp" conftest.dir
4159 # We will build objects and dependencies in a subdirectory because
4160 # it helps to detect inapplicable dependency modes. For instance
4161 # both Tru64's cc and ICC support -MD to output dependencies as a
4162 # side effect of compilation, but ICC will put the dependencies in
4163 # the current directory while Tru64 will put them in the object
4167 am_cv_CC_dependencies_compiler_type
=none
4168 if test "$am_compiler_list" = ""; then
4169 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4172 case " $depcc " in #(
4173 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4176 for depmode
in $am_compiler_list; do
4177 # Setup a source with many dependencies, because some compilers
4178 # like to wrap large dependency lists on column 80 (with \), and
4179 # we should not choose a depcomp mode which is confused by this.
4181 # We need to recreate these files for each test, as the compiler may
4182 # overwrite some of them when testing with obscure command lines.
4183 # This happens at least with the AIX C compiler.
4185 for i
in 1 2 3 4 5 6; do
4186 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4187 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4188 # Solaris 8's {/usr,}/bin/sh.
4189 touch sub
/conftst
$i.h
4191 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4193 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4194 # mode. It turns out that the SunPro C++ compiler does not properly
4195 # handle `-M -o', and we need to detect this. Also, some Intel
4196 # versions had trouble with output in subdirs
4197 am__obj
=sub
/conftest.
${OBJEXT-o}
4198 am__minus_obj
="-o $am__obj"
4201 # This depmode causes a compiler race in universal mode.
4202 test "$am__universal" = false ||
continue
4205 # after this tag, mechanisms are not by side-effect, so they'll
4206 # only be used when explicitly requested
4207 if test "x$enable_dependency_tracking" = xyes
; then
4213 msvisualcpp | msvcmsys
)
4214 # This compiler won't grok `-c -o', but also, the minuso test has
4215 # not run yet. These depmodes are late enough in the game, and
4216 # so weak that their functioning should not be impacted.
4217 am__obj
=conftest.
${OBJEXT-o}
4222 if depmode
=$depmode \
4223 source=sub
/conftest.c object
=$am__obj \
4224 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4225 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4226 >/dev
/null
2>conftest.err
&&
4227 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4228 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4229 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4230 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4231 # icc doesn't choke on unknown options, it will just issue warnings
4232 # or remarks (even with -Werror). So we grep stderr for any message
4233 # that says an option was ignored or not supported.
4234 # When given -MP, icc 7.0 and 7.1 complain thusly:
4235 # icc: Command line warning: ignoring option '-M'; no argument required
4236 # The diagnosis changed in icc 8.0:
4237 # icc: Command line remark: option '-MP' not supported
4238 if (grep 'ignoring option' conftest.err ||
4239 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4240 am_cv_CC_dependencies_compiler_type
=$depmode
4249 am_cv_CC_dependencies_compiler_type
=none
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4254 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4255 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4258 test "x$enable_dependency_tracking" != xno \
4259 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4261 am__fastdepCC_FALSE
='#'
4263 am__fastdepCC_TRUE
='#'
4264 am__fastdepCC_FALSE
=
4272 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4273 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4274 # in both places for now and restore CFLAGS at the end of config.
4275 save_CFLAGS
="$CFLAGS"
4277 # Add -Wall -Werror if we are using GCC.
4278 if test "x$GCC" = "xyes"; then
4279 XCFLAGS
="$XCFLAGS -Wall -Werror"
4282 # Find other programs we need.
4283 if test -n "$ac_tool_prefix"; then
4284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4285 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4287 $as_echo_n "checking for $ac_word... " >&6; }
4288 if test "${ac_cv_prog_AR+set}" = set; then :
4289 $as_echo_n "(cached) " >&6
4291 if test -n "$AR"; then
4292 ac_cv_prog_AR
="$AR" # Let the user override the test.
4294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir
=.
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 if test -n "$AR"; then
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4314 $as_echo "$AR" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4322 if test -z "$ac_cv_prog_AR"; then
4324 # Extract the first word of "ar", so it can be a program name with args.
4325 set dummy
ar; ac_word
=$2
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4327 $as_echo_n "checking for $ac_word... " >&6; }
4328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 if test -n "$ac_ct_AR"; then
4332 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4341 ac_cv_prog_ac_ct_AR
="ar"
4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4352 if test -n "$ac_ct_AR"; then
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4354 $as_echo "$ac_ct_AR" >&6; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4357 $as_echo "no" >&6; }
4360 if test "x$ac_ct_AR" = x
; then
4363 case $cross_compiling:$ac_tool_warned in
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4367 ac_tool_warned
=yes ;;
4375 if test -n "$ac_tool_prefix"; then
4376 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4377 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4381 $as_echo_n "(cached) " >&6
4383 if test -n "$RANLIB"; then
4384 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4390 test -z "$as_dir" && as_dir
=.
4391 for ac_exec_ext
in '' $ac_executable_extensions; do
4392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4393 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 RANLIB
=$ac_cv_prog_RANLIB
4404 if test -n "$RANLIB"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4406 $as_echo "$RANLIB" >&6; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4414 if test -z "$ac_cv_prog_RANLIB"; then
4415 ac_ct_RANLIB
=$RANLIB
4416 # Extract the first word of "ranlib", so it can be a program name with args.
4417 set dummy ranlib
; ac_word
=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$ac_ct_RANLIB"; then
4424 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4433 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4444 if test -n "$ac_ct_RANLIB"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4446 $as_echo "$ac_ct_RANLIB" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4452 if test "x$ac_ct_RANLIB" = x
; then
4453 RANLIB
="ranlib-not-found-in-path-error"
4455 case $cross_compiling:$ac_tool_warned in
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4459 ac_tool_warned
=yes ;;
4461 RANLIB
=$ac_ct_RANLIB
4464 RANLIB
="$ac_cv_prog_RANLIB"
4467 # Extract the first word of "perl", so it can be a program name with args.
4468 set dummy perl
; ac_word
=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if test "${ac_cv_path_PERL+set}" = set; then :
4472 $as_echo_n "(cached) " >&6
4476 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir
=.
4484 for ac_exec_ext
in '' $ac_executable_extensions; do
4485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
4498 PERL
=$ac_cv_path_PERL
4499 if test -n "$PERL"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4501 $as_echo "$PERL" >&6; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4509 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4511 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4512 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4513 $as_echo_n "(cached) " >&6
4515 cat >conftest.
make <<\_ACEOF
4518 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4520 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4521 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4523 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4525 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4529 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4531 $as_echo "yes" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4536 SET_MAKE
="MAKE=${MAKE-make}"
4541 # See if makeinfo has been installed and is modern enough
4542 # that we can use it.
4544 # Extract the first word of "makeinfo", so it can be a program name with args.
4545 set dummy makeinfo
; ac_word
=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$MAKEINFO"; then
4552 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir
=.
4559 for ac_exec_ext
in '' $ac_executable_extensions; do
4560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561 ac_cv_prog_MAKEINFO
="makeinfo"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 MAKEINFO
=$ac_cv_prog_MAKEINFO
4572 if test -n "$MAKEINFO"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4574 $as_echo "$MAKEINFO" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 if test -n "$MAKEINFO"; then
4582 # Found it, now check the version.
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4584 $as_echo_n "checking for modern makeinfo... " >&6; }
4585 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4588 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4589 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4591 case $ac_prog_version in
4592 '') gcc_cv_prog_makeinfo_modern
=no
;;
4593 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4594 *) gcc_cv_prog_makeinfo_modern
=no
;;
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4599 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4601 gcc_cv_prog_makeinfo_modern
=no
4603 if test $gcc_cv_prog_makeinfo_modern = no
; then
4604 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4607 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4609 BUILD_INFO_FALSE
='#'
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4621 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4626 macro_version
='2.2.7a'
4627 macro_revision
='1.3134'
4641 ltmain
="$ac_aux_dir/ltmain.sh"
4643 # Backslashify metacharacters that are still active within
4644 # double-quoted strings.
4645 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4647 # Same as above, but do not quote variable references.
4648 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4650 # Sed substitution to delay expansion of an escaped shell variable in a
4651 # double_quote_subst'ed string.
4652 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4654 # Sed substitution to delay expansion of an escaped single quote.
4655 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4657 # Sed substitution to avoid accidental globbing in evaled expressions
4658 no_glob_subst
='s/\*/\\\*/g'
4660 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4661 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4662 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4665 $as_echo_n "checking how to print strings... " >&6; }
4666 # Test print first, because it will be a builtin if present.
4667 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4668 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4670 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4673 # Use this function as a fallback that always works.
4674 func_fallback_echo ()
4676 eval 'cat <<_LTECHO_EOF
4680 ECHO='func_fallback_echo
'
4683 # func_echo_all arg...
4684 # Invoke $ECHO with all args, space-separated.
4691 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4692 $as_echo "printf" >&6; } ;;
4693 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4694 $as_echo "print -r" >&6; } ;;
4695 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4696 $as_echo "cat" >&6; } ;;
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4713 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4714 if test "${ac_cv_path_SED+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4717 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4718 for ac_i in 1 2 3 4 5 6 7; do
4719 ac_script="$ac_script$as_nl$ac_script"
4721 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4722 { ac_script=; unset ac_script;}
4723 if test -z "$SED"; then
4724 ac_path_SED_found=false
4725 # Loop through the user's path and
test for each of PROGNAME-LIST
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_prog
in sed gsed
; do
4732 for ac_exec_ext
in '' $ac_executable_extensions; do
4733 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4734 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4735 # Check for GNU ac_path_SED and select it if it is found.
4736 # Check for GNU $ac_path_SED
4737 case `"$ac_path_SED" --version 2>&1` in
4739 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4742 $as_echo_n 0123456789 >"conftest.in"
4745 cat "conftest.in" "conftest.in" >"conftest.tmp"
4746 mv "conftest.tmp" "conftest.in"
4747 cp "conftest.in" "conftest.nl"
4748 $as_echo '' >> "conftest.nl"
4749 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4750 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4751 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4752 if test $ac_count -gt ${ac_path_SED_max-0}; then
4753 # Best one so far, save it but keep looking for a better one
4754 ac_cv_path_SED
="$ac_path_SED"
4755 ac_path_SED_max
=$ac_count
4757 # 10*(2^10) chars as input seems more than enough
4758 test $ac_count -gt 10 && break
4760 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4763 $ac_path_SED_found && break 3
4768 if test -z "$ac_cv_path_SED"; then
4769 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4777 $as_echo "$ac_cv_path_SED" >&6; }
4778 SED
="$ac_cv_path_SED"
4781 test -z "$SED" && SED
=sed
4782 Xsed
="$SED -e 1s/^X//"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4795 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4796 if test "${ac_cv_path_GREP+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -z "$GREP"; then
4800 ac_path_GREP_found
=false
4801 # Loop through the user's path and test for each of PROGNAME-LIST
4802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4803 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4806 test -z "$as_dir" && as_dir
=.
4807 for ac_prog
in grep ggrep
; do
4808 for ac_exec_ext
in '' $ac_executable_extensions; do
4809 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4810 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4811 # Check for GNU ac_path_GREP and select it if it is found.
4812 # Check for GNU $ac_path_GREP
4813 case `"$ac_path_GREP" --version 2>&1` in
4815 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4818 $as_echo_n 0123456789 >"conftest.in"
4821 cat "conftest.in" "conftest.in" >"conftest.tmp"
4822 mv "conftest.tmp" "conftest.in"
4823 cp "conftest.in" "conftest.nl"
4824 $as_echo 'GREP' >> "conftest.nl"
4825 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4826 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4827 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4828 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4829 # Best one so far, save it but keep looking for a better one
4830 ac_cv_path_GREP
="$ac_path_GREP"
4831 ac_path_GREP_max
=$ac_count
4833 # 10*(2^10) chars as input seems more than enough
4834 test $ac_count -gt 10 && break
4836 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4839 $ac_path_GREP_found && break 3
4844 if test -z "$ac_cv_path_GREP"; then
4845 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4848 ac_cv_path_GREP
=$GREP
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4853 $as_echo "$ac_cv_path_GREP" >&6; }
4854 GREP
="$ac_cv_path_GREP"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4858 $as_echo_n "checking for egrep... " >&6; }
4859 if test "${ac_cv_path_EGREP+set}" = set; then :
4860 $as_echo_n "(cached) " >&6
4862 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4863 then ac_cv_path_EGREP
="$GREP -E"
4865 if test -z "$EGREP"; then
4866 ac_path_EGREP_found
=false
4867 # Loop through the user's path and test for each of PROGNAME-LIST
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4869 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_prog
in egrep; do
4874 for ac_exec_ext
in '' $ac_executable_extensions; do
4875 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4876 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4877 # Check for GNU ac_path_EGREP and select it if it is found.
4878 # Check for GNU $ac_path_EGREP
4879 case `"$ac_path_EGREP" --version 2>&1` in
4881 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4884 $as_echo_n 0123456789 >"conftest.in"
4887 cat "conftest.in" "conftest.in" >"conftest.tmp"
4888 mv "conftest.tmp" "conftest.in"
4889 cp "conftest.in" "conftest.nl"
4890 $as_echo 'EGREP' >> "conftest.nl"
4891 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4892 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4893 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4894 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4895 # Best one so far, save it but keep looking for a better one
4896 ac_cv_path_EGREP
="$ac_path_EGREP"
4897 ac_path_EGREP_max
=$ac_count
4899 # 10*(2^10) chars as input seems more than enough
4900 test $ac_count -gt 10 && break
4902 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4905 $ac_path_EGREP_found && break 3
4910 if test -z "$ac_cv_path_EGREP"; then
4911 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4914 ac_cv_path_EGREP
=$EGREP
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4920 $as_echo "$ac_cv_path_EGREP" >&6; }
4921 EGREP
="$ac_cv_path_EGREP"
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4925 $as_echo_n "checking for fgrep... " >&6; }
4926 if test "${ac_cv_path_FGREP+set}" = set; then :
4927 $as_echo_n "(cached) " >&6
4929 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4930 then ac_cv_path_FGREP
="$GREP -F"
4932 if test -z "$FGREP"; then
4933 ac_path_FGREP_found
=false
4934 # Loop through the user's path and test for each of PROGNAME-LIST
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4936 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_prog
in fgrep
; do
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4943 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4944 # Check for GNU ac_path_FGREP and select it if it is found.
4945 # Check for GNU $ac_path_FGREP
4946 case `"$ac_path_FGREP" --version 2>&1` in
4948 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4951 $as_echo_n 0123456789 >"conftest.in"
4954 cat "conftest.in" "conftest.in" >"conftest.tmp"
4955 mv "conftest.tmp" "conftest.in"
4956 cp "conftest.in" "conftest.nl"
4957 $as_echo 'FGREP' >> "conftest.nl"
4958 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4959 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4960 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4961 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4962 # Best one so far, save it but keep looking for a better one
4963 ac_cv_path_FGREP
="$ac_path_FGREP"
4964 ac_path_FGREP_max
=$ac_count
4966 # 10*(2^10) chars as input seems more than enough
4967 test $ac_count -gt 10 && break
4969 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4972 $ac_path_FGREP_found && break 3
4977 if test -z "$ac_cv_path_FGREP"; then
4978 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4981 ac_cv_path_FGREP
=$FGREP
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4987 $as_echo "$ac_cv_path_FGREP" >&6; }
4988 FGREP
="$ac_cv_path_FGREP"
4991 test -z "$GREP" && GREP
=grep
5011 # Check whether --with-gnu-ld was given.
5012 if test "${with_gnu_ld+set}" = set; then :
5013 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5019 if test "$GCC" = yes; then
5020 # Check if gcc -print-prog-name=ld gives a path.
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5022 $as_echo_n "checking for ld used by $CC... " >&6; }
5025 # gcc leaves a trailing carriage return which upsets mingw
5026 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5028 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5031 # Accept absolute paths.
5033 re_direlt
='/[^/][^/]*/\.\./'
5034 # Canonicalize the pathname of ld
5035 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5036 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5037 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5039 test -z "$LD" && LD
="$ac_prog"
5042 # If it fails, then pretend we aren't using GCC.
5046 # If it is relative, then search for the first ld in PATH.
5050 elif test "$with_gnu_ld" = yes; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5052 $as_echo_n "checking for GNU ld... " >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5055 $as_echo_n "checking for non-GNU ld... " >&6; }
5057 if test "${lt_cv_path_LD+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -z "$LD"; then
5061 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5062 for ac_dir
in $PATH; do
5064 test -z "$ac_dir" && ac_dir
=.
5065 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5066 lt_cv_path_LD
="$ac_dir/$ac_prog"
5067 # Check to see if the program is GNU ld. I'd rather use --version,
5068 # but apparently some variants of GNU ld only accept -v.
5069 # Break only if it was the GNU/non-GNU ld that we prefer.
5070 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5071 *GNU
* |
*'with BFD'*)
5072 test "$with_gnu_ld" != no
&& break
5075 test "$with_gnu_ld" != yes && break
5082 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5087 if test -n "$LD"; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5089 $as_echo "$LD" >&6; }
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5094 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5096 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5097 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5098 $as_echo_n "(cached) " >&6
5100 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5101 case `$LD -v 2>&1 </dev/null` in
5102 *GNU
* |
*'with BFD'*)
5103 lt_cv_prog_gnu_ld
=yes
5106 lt_cv_prog_gnu_ld
=no
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5111 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5112 with_gnu_ld
=$lt_cv_prog_gnu_ld
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5123 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5124 if test "${lt_cv_path_NM+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5127 if test -n "$NM"; then
5128 # Let the user override the test.
5131 lt_nm_to_check
="${ac_tool_prefix}nm"
5132 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5133 lt_nm_to_check
="$lt_nm_to_check nm"
5135 for lt_tmp_nm
in $lt_nm_to_check; do
5136 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5137 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5139 test -z "$ac_dir" && ac_dir
=.
5140 tmp_nm
="$ac_dir/$lt_tmp_nm"
5141 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5142 # Check to see if the nm accepts a BSD-compat flag.
5143 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5144 # nm: unknown option "B" ignored
5145 # Tru64's nm complains that /dev/null is an invalid object file
5146 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5147 */dev
/null
* |
*'Invalid file or object type'*)
5148 lt_cv_path_NM
="$tmp_nm -B"
5152 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5154 lt_cv_path_NM
="$tmp_nm -p"
5158 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5159 continue # so that we can try to find one that supports BSD flags
5168 : ${lt_cv_path_NM=no}
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5172 $as_echo "$lt_cv_path_NM" >&6; }
5173 if test "$lt_cv_path_NM" != "no"; then
5176 # Didn't find any BSD compatible name lister, look for dumpbin.
5177 if test -n "$DUMPBIN"; then :
5178 # Let the user override the test.
5180 if test -n "$ac_tool_prefix"; then
5181 for ac_prog
in dumpbin
"link -dump"
5183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$DUMPBIN"; then
5191 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5200 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 DUMPBIN
=$ac_cv_prog_DUMPBIN
5211 if test -n "$DUMPBIN"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5213 $as_echo "$DUMPBIN" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5220 test -n "$DUMPBIN" && break
5223 if test -z "$DUMPBIN"; then
5224 ac_ct_DUMPBIN
=$DUMPBIN
5225 for ac_prog
in dumpbin
"link -dump"
5227 # Extract the first word of "$ac_prog", so it can be a program name with args.
5228 set dummy
$ac_prog; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$ac_ct_DUMPBIN"; then
5235 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5255 if test -n "$ac_ct_DUMPBIN"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5257 $as_echo "$ac_ct_DUMPBIN" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5264 test -n "$ac_ct_DUMPBIN" && break
5267 if test "x$ac_ct_DUMPBIN" = x
; then
5270 case $cross_compiling:$ac_tool_warned in
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5274 ac_tool_warned
=yes ;;
5276 DUMPBIN
=$ac_ct_DUMPBIN
5280 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5282 DUMPBIN
="$DUMPBIN -symbols"
5290 if test "$DUMPBIN" != ":"; then
5294 test -z "$NM" && NM
=nm
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5302 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5303 if test "${lt_cv_nm_interface+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5306 lt_cv_nm_interface
="BSD nm"
5307 echo "int some_variable = 0;" > conftest.
$ac_ext
5308 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5309 (eval "$ac_compile" 2>conftest.err
)
5310 cat conftest.err
>&5
5311 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5312 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5313 cat conftest.err
>&5
5314 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5315 cat conftest.out
>&5
5316 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5317 lt_cv_nm_interface
="MS dumpbin"
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5322 $as_echo "$lt_cv_nm_interface" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5325 $as_echo_n "checking whether ln -s works... " >&6; }
5327 if test "$LN_S" = "ln -s"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5329 $as_echo "yes" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5332 $as_echo "no, using $LN_S" >&6; }
5335 # find the maximum length of command line arguments
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5337 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5338 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5339 $as_echo_n "(cached) " >&6
5346 # On DJGPP, this test can blow up pretty badly due to problems in libc
5347 # (any single argument exceeding 2000 bytes causes a buffer overrun
5348 # during glob expansion). Even if it were fixed, the result of this
5349 # check would be larger than it should be.
5350 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5354 # Under GNU Hurd, this test is not required because there is
5355 # no limit to the length of command line arguments.
5356 # Libtool will interpret -1 as no limit whatsoever
5357 lt_cv_sys_max_cmd_len
=-1;
5360 cygwin
* | mingw
* | cegcc
*)
5361 # On Win9x/ME, this test blows up -- it succeeds, but takes
5362 # about 5 minutes as the teststring grows exponentially.
5363 # Worse, since 9x/ME are not pre-emptively multitasking,
5364 # you end up with a "frozen" computer, even though with patience
5365 # the test eventually succeeds (with a max line length of 256k).
5366 # Instead, let's just punt: use the minimum linelength reported by
5367 # all of the supported platforms: 8192 (on NT/2K/XP).
5368 lt_cv_sys_max_cmd_len
=8192;
5372 # On MiNT this can take a long time and run out of memory.
5373 lt_cv_sys_max_cmd_len
=8192;
5377 # On AmigaOS with pdksh, this test takes hours, literally.
5378 # So we just punt and use a minimum line length of 8192.
5379 lt_cv_sys_max_cmd_len
=8192;
5382 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5383 # This has been around since 386BSD, at least. Likely further.
5384 if test -x /sbin
/sysctl
; then
5385 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5386 elif test -x /usr
/sbin
/sysctl
; then
5387 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5389 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5391 # And add a safety zone
5392 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5393 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5397 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5398 lt_cv_sys_max_cmd_len
=196608
5402 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5403 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5404 # nice to cause kernel panics so lets avoid the loop below.
5405 # First set a reasonable default.
5406 lt_cv_sys_max_cmd_len
=16384
5408 if test -x /sbin
/sysconfig
; then
5409 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5410 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5415 lt_cv_sys_max_cmd_len
=102400
5417 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5418 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5419 if test -n "$kargmax"; then
5420 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5422 lt_cv_sys_max_cmd_len
=32768
5426 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5427 if test -n "$lt_cv_sys_max_cmd_len"; then
5428 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5429 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5431 # Make teststring a little bigger before we do anything with it.
5432 # a 1K string should be a reasonable start.
5433 for i
in 1 2 3 4 5 6 7 8 ; do
5434 teststring
=$teststring$teststring
5436 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5437 # If test is not a shell built-in, we'll probably end up computing a
5438 # maximum length that is only half of the actual maximum length, but
5440 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5441 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5442 test $i != 17 # 1/2 MB should be enough
5445 teststring
=$teststring$teststring
5447 # Only check the string length outside the loop.
5448 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5450 # Add a significant safety factor because C++ compilers can tack on
5451 # massive amounts of additional arguments before passing them to the
5452 # linker. It appears as though 1/2 is a usable value.
5453 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5460 if test -n $lt_cv_sys_max_cmd_len ; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5462 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5465 $as_echo "none" >&6; }
5467 max_cmd_len
=$lt_cv_sys_max_cmd_len
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5479 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5480 # Try some XSI features
5483 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5485 && eval 'test $(( 1 + 1 )) -eq 2 \
5486 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5489 $as_echo "$xsi_shell" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5493 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5495 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5497 && lt_shell_append=yes
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5499 $as_echo "$lt_shell_append" >&6; }
5502 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5512 # test EBCDIC or ASCII
5513 case `echo X|tr X '\101'` in
5514 A) # ASCII based system
5515 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5516 lt_SP2NL='tr \040 \012'
5517 lt_NL2SP='tr \015\012 \040\040'
5519 *) # EBCDIC based system
5520 lt_SP2NL='tr \100 \n'
5521 lt_NL2SP='tr \r\n \100\100'
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5534 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5535 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5536 $as_echo_n "(cached
) " >&6
5538 lt_cv_ld_reload_flag='-r'
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5541 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5542 reload_flag=$lt_cv_ld_reload_flag
5543 case $reload_flag in
5545 *) reload_flag=" $reload_flag" ;;
5547 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5550 if test "$GCC" = yes; then
5551 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5553 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5566 if test -n "$ac_tool_prefix"; then
5567 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5568 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5570 $as_echo_n "checking
for $ac_word...
" >&6; }
5571 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5572 $as_echo_n "(cached
) " >&6
5574 if test -n "$OBJDUMP"; then
5575 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5584 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5594 OBJDUMP=$ac_cv_prog_OBJDUMP
5595 if test -n "$OBJDUMP"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5597 $as_echo "$OBJDUMP" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5600 $as_echo "no
" >&6; }
5605 if test -z "$ac_cv_prog_OBJDUMP"; then
5606 ac_ct_OBJDUMP=$OBJDUMP
5607 # Extract the first word of "objdump
", so it can be a program name with args.
5608 set dummy objdump; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5610 $as_echo_n "checking
for $ac_word...
" >&6; }
5611 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5612 $as_echo_n "(cached
) " >&6
5614 if test -n "$ac_ct_OBJDUMP"; then
5615 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5634 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5635 if test -n "$ac_ct_OBJDUMP"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5637 $as_echo "$ac_ct_OBJDUMP" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5640 $as_echo "no
" >&6; }
5643 if test "x
$ac_ct_OBJDUMP" = x; then
5646 case $cross_compiling:$ac_tool_warned in
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5649 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5650 ac_tool_warned=yes ;;
5652 OBJDUMP=$ac_ct_OBJDUMP
5655 OBJDUMP="$ac_cv_prog_OBJDUMP"
5658 test -z "$OBJDUMP" && OBJDUMP=objdump
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5669 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5670 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5671 $as_echo_n "(cached
) " >&6
5673 lt_cv_file_magic_cmd='$MAGIC_CMD'
5674 lt_cv_file_magic_test_file=
5675 lt_cv_deplibs_check_method='unknown'
5676 # Need to set the preceding variable on all platforms that support
5677 # interlibrary dependencies.
5678 # 'none' -- dependencies not supported.
5679 # `unknown' -- same as none, but documents that we really don't know.
5680 # 'pass_all' -- all dependencies passed with no checks.
5681 # 'test_compile' -- check by making test program.
5682 # 'file_magic [[regex]]' -- check by looking for files in library path
5683 # which responds to the $file_magic_cmd with a given extended regex.
5684 # If you have `file' or equivalent on your system and you're not sure
5685 # whether `pass_all' will *always* work, you probably want this one.
5689 lt_cv_deplibs_check_method=pass_all
5693 lt_cv_deplibs_check_method=pass_all
5697 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5698 lt_cv_file_magic_cmd='/usr/bin/file -L'
5699 lt_cv_file_magic_test_file=/shlib/libc.so
5703 # func_win32_libid is a shell function defined in ltmain.sh
5704 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5705 lt_cv_file_magic_cmd='func_win32_libid'
5709 # Base MSYS/MinGW do not provide the 'file' command needed by
5710 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5711 # unless we find 'file', for example because we are cross-compiling.
5712 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5713 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5714 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5715 lt_cv_file_magic_cmd='func_win32_libid'
5717 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5718 lt_cv_file_magic_cmd='$OBJDUMP -f'
5723 # use the weaker test based on 'objdump'. See mingw*.
5724 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5725 lt_cv_file_magic_cmd='$OBJDUMP -f'
5728 darwin* | rhapsody*)
5729 lt_cv_deplibs_check_method=pass_all
5732 freebsd* | dragonfly*)
5733 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5736 # Not sure whether the presence of OpenBSD here was a mistake.
5737 # Let's accept both of them until this is cleared up.
5738 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5739 lt_cv_file_magic_cmd=/usr/bin/file
5740 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5744 lt_cv_deplibs_check_method=pass_all
5749 lt_cv_deplibs_check_method=pass_all
5753 lt_cv_deplibs_check_method=pass_all
5756 hpux10.20* | hpux11*)
5757 lt_cv_file_magic_cmd=/usr/bin/file
5760 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5761 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5764 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]'
5765 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5768 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5769 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5775 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5776 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5779 irix5* | irix6* | nonstopux*)
5781 *-32|*"-32 ") libmagic=32-bit;;
5782 *-n32|*"-n32 ") libmagic=N32;;
5783 *-64|*"-64 ") libmagic=64-bit;;
5784 *) libmagic=never-match;;
5786 lt_cv_deplibs_check_method=pass_all
5789 # This must be Linux ELF.
5790 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5791 lt_cv_deplibs_check_method=pass_all
5795 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5796 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5798 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5803 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5804 lt_cv_file_magic_cmd=/usr/bin/file
5805 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5809 lt_cv_deplibs_check_method=pass_all
5813 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5814 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5816 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5820 osf3* | osf4* | osf5*)
5821 lt_cv_deplibs_check_method=pass_all
5825 lt_cv_deplibs_check_method=pass_all
5829 lt_cv_deplibs_check_method=pass_all
5832 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5833 lt_cv_deplibs_check_method=pass_all
5837 case $host_vendor in
5839 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]'
5840 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5843 lt_cv_deplibs_check_method=pass_all
5846 lt_cv_file_magic_cmd='/bin/file'
5847 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5850 lt_cv_file_magic_cmd='/bin/file'
5851 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5852 lt_cv_file_magic_test_file=/lib/libc.so
5855 lt_cv_deplibs_check_method=pass_all
5858 lt_cv_deplibs_check_method=pass_all
5864 lt_cv_deplibs_check_method=pass_all
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5870 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5871 file_magic_cmd=$lt_cv_file_magic_cmd
5872 deplibs_check_method=$lt_cv_deplibs_check_method
5873 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5886 if test -n "$ac_tool_prefix"; then
5887 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5888 set dummy ${ac_tool_prefix}ar; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5890 $as_echo_n "checking
for $ac_word...
" >&6; }
5891 if test "${ac_cv_prog_AR+set}" = set; then :
5892 $as_echo_n "(cached
) " >&6
5894 if test -n "$AR"; then
5895 ac_cv_prog_AR="$AR" # Let the user override the test.
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5904 ac_cv_prog_AR="${ac_tool_prefix}ar"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5915 if test -n "$AR"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5917 $as_echo "$AR" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5920 $as_echo "no
" >&6; }
5925 if test -z "$ac_cv_prog_AR"; then
5927 # Extract the first word of "ar", so it can be a program name with args.
5928 set dummy ar; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5930 $as_echo_n "checking
for $ac_word...
" >&6; }
5931 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5932 $as_echo_n "(cached
) " >&6
5934 if test -n "$ac_ct_AR"; then
5935 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5944 ac_cv_prog_ac_ct_AR="ar"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5954 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5955 if test -n "$ac_ct_AR"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5957 $as_echo "$ac_ct_AR" >&6; }
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5960 $as_echo "no
" >&6; }
5963 if test "x
$ac_ct_AR" = x; then
5966 case $cross_compiling:$ac_tool_warned in
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5969 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5970 ac_tool_warned=yes ;;
5978 test -z "$AR" && AR=ar
5979 test -z "$AR_FLAGS" && AR_FLAGS=cru
5991 if test -n "$ac_tool_prefix"; then
5992 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5993 set dummy ${ac_tool_prefix}strip; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5995 $as_echo_n "checking
for $ac_word...
" >&6; }
5996 if test "${ac_cv_prog_STRIP+set}" = set; then :
5997 $as_echo_n "(cached
) " >&6
5999 if test -n "$STRIP"; then
6000 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6009 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6019 STRIP=$ac_cv_prog_STRIP
6020 if test -n "$STRIP"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6022 $as_echo "$STRIP" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6025 $as_echo "no
" >&6; }
6030 if test -z "$ac_cv_prog_STRIP"; then
6032 # Extract the first word of "strip
", so it can be a program name with args.
6033 set dummy strip; ac_word=$2
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6035 $as_echo_n "checking
for $ac_word...
" >&6; }
6036 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6037 $as_echo_n "(cached
) " >&6
6039 if test -n "$ac_ct_STRIP"; then
6040 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6049 ac_cv_prog_ac_ct_STRIP="strip
"
6050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6059 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6060 if test -n "$ac_ct_STRIP"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6062 $as_echo "$ac_ct_STRIP" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6065 $as_echo "no
" >&6; }
6068 if test "x
$ac_ct_STRIP" = x; then
6071 case $cross_compiling:$ac_tool_warned in
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6074 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6075 ac_tool_warned=yes ;;
6080 STRIP="$ac_cv_prog_STRIP"
6083 test -z "$STRIP" && STRIP=:
6090 if test -n "$ac_tool_prefix"; then
6091 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6092 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6094 $as_echo_n "checking
for $ac_word...
" >&6; }
6095 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6096 $as_echo_n "(cached
) " >&6
6098 if test -n "$RANLIB"; then
6099 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6118 RANLIB=$ac_cv_prog_RANLIB
6119 if test -n "$RANLIB"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6121 $as_echo "$RANLIB" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6124 $as_echo "no
" >&6; }
6129 if test -z "$ac_cv_prog_RANLIB"; then
6130 ac_ct_RANLIB=$RANLIB
6131 # Extract the first word of "ranlib
", so it can be a program name with args.
6132 set dummy ranlib; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6134 $as_echo_n "checking
for $ac_word...
" >&6; }
6135 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6136 $as_echo_n "(cached
) " >&6
6138 if test -n "$ac_ct_RANLIB"; then
6139 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6148 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6158 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6159 if test -n "$ac_ct_RANLIB"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6161 $as_echo "$ac_ct_RANLIB" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6164 $as_echo "no
" >&6; }
6167 if test "x
$ac_ct_RANLIB" = x; then
6170 case $cross_compiling:$ac_tool_warned in
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6173 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6174 ac_tool_warned=yes ;;
6176 RANLIB=$ac_ct_RANLIB
6179 RANLIB="$ac_cv_prog_RANLIB"
6182 test -z "$RANLIB" && RANLIB=:
6189 # Determine commands to create old-style static archives.
6190 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6191 old_postinstall_cmds='chmod 644 $oldlib'
6192 old_postuninstall_cmds=
6194 if test -n "$RANLIB"; then
6197 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6200 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6203 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6208 lock_old_archive_extraction=yes ;;
6210 lock_old_archive_extraction=no ;;
6251 # If no C compiler was specified, use CC.
6254 # If no C compiler flags were specified, use CFLAGS.
6255 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6257 # Allow CC to be a program name with arguments.
6261 # Check for command to grab the raw symbol name followed by C symbol from nm.
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6263 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6264 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6265 $as_echo_n "(cached
) " >&6
6268 # These are sane defaults that work on at least a few old systems.
6269 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6271 # Character class describing NM global symbol codes.
6272 symcode='[BCDEGRST]'
6274 # Regexp to match symbols that can be accessed directly from C.
6275 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6277 # Define system-specific variables.
6282 cygwin* | mingw* | pw32* | cegcc*)
6283 symcode='[ABCDGISTW]'
6286 if test "$host_cpu" = ia64; then
6287 symcode='[ABCDEGRST]'
6291 symcode='[BCDEGRST]'
6294 symcode='[BCDEGQRST]'
6305 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6313 # If we're using GNU nm, then use its standard symbol codes.
6314 case `$NM -V 2>&1` in
6315 *GNU* | *'with BFD'*)
6316 symcode='[ABCDGIRSTW]' ;;
6319 # Transform an extracted symbol line into a proper C declaration.
6320 # Some systems (esp. on ia64) link data and code symbols differently,
6321 # so use this general approach.
6322 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6324 # Transform an extracted symbol line into symbol name and symbol address
6325 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6326 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'"
6328 # Handle CRLF in mingw tool chain
6332 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6336 # Try without a prefix underscore, then with it.
6337 for ac_symprfx in "" "_
"; do
6339 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6340 symxfrm="\\1 $ac_symprfx\\2 \\2"
6342 # Write the raw and C identifiers.
6343 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6344 # Fake it for dumpbin and say T for any non-static function
6345 # and D for any global variable.
6346 # Also find C++ and __fastcall symbols from MSVC++,
6347 # which start with @ or ?.
6348 lt_cv_sys_global_symbol_pipe="$AWK '"\
6349 " {last_section=section; section=\$ 3};"\
6350 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6351 " \$ 0!~/External *\|/{next};"\
6352 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6353 " {if(hide[section]) next};"\
6354 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6355 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6356 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6357 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6358 " ' prfx
=^
$ac_symprfx"
6360 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6363 # Check to see that the pipe works correctly.
6367 cat > conftest.$ac_ext <<_LT_EOF
6372 void nm_test_func(void);
6373 void nm_test_func(void){}
6377 int main(){nm_test_var='a';nm_test_func();return(0);}
6380 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6381 (eval $ac_compile) 2>&5
6383 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6384 test $ac_status = 0; }; then
6385 # Now try to grab the symbols.
6387 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6388 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6390 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6391 test $ac_status = 0; } && test -s "$nlist"; then
6392 # Try sorting and uniquifying the output.
6393 if sort "$nlist" | uniq > "$nlist"T; then
6394 mv -f "$nlist"T "$nlist"
6399 # Make sure that we snagged all the symbols we need.
6400 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6401 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6402 cat <<_LT_EOF > conftest.$ac_ext
6408 # Now generate the symbol file.
6409 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6411 cat <<_LT_EOF >> conftest.$ac_ext
6413 /* The mapping between symbol names and symbols. */
6418 lt__PROGRAM__LTX_preloaded_symbols[] =
6420 { "@PROGRAM@
", (void *) 0 },
6422 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6423 cat <<\_LT_EOF >> conftest.$ac_ext
6427 /* This works around a problem in FreeBSD linker */
6428 #ifdef FREEBSD_WORKAROUND
6429 static const void *lt_preloaded_setup() {
6430 return lt__PROGRAM__LTX_preloaded_symbols;
6438 # Now try linking the two files.
6439 mv conftest.$ac_objext conftstm.$ac_objext
6440 lt_save_LIBS="$LIBS"
6441 lt_save_CFLAGS="$CFLAGS"
6442 LIBS="conftstm.
$ac_objext"
6443 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6444 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6445 (eval $ac_link) 2>&5
6447 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6448 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6451 LIBS="$lt_save_LIBS"
6452 CFLAGS="$lt_save_CFLAGS"
6454 echo "cannot
find nm_test_func
in $nlist" >&5
6457 echo "cannot
find nm_test_var
in $nlist" >&5
6460 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6463 echo "$progname: failed program was
:" >&5
6464 cat conftest.$ac_ext >&5
6466 rm -rf conftest* conftst*
6468 # Do not use the global_symbol_pipe unless it works.
6469 if test "$pipe_works" = yes; then
6472 lt_cv_sys_global_symbol_pipe=
6478 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6479 lt_cv_sys_global_symbol_to_cdecl=
6481 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6483 $as_echo "failed
" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6486 $as_echo "ok
" >&6; }
6511 # Check whether --enable-libtool-lock was given.
6512 if test "${enable_libtool_lock+set}" = set; then :
6513 enableval=$enable_libtool_lock;
6516 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6518 # Some flags need to be propagated to the compiler or linker for good
6522 # Find out which ABI we are using.
6523 echo 'int i;' > conftest.$ac_ext
6524 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6525 (eval $ac_compile) 2>&5
6527 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6528 test $ac_status = 0; }; then
6529 case `/usr/bin/file conftest.$ac_objext` in
6541 # Find out which ABI we are using.
6542 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6543 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6544 (eval $ac_compile) 2>&5
6546 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6547 test $ac_status = 0; }; then
6548 if test "$lt_cv_prog_gnu_ld" = yes; then
6549 case `/usr/bin/file conftest.$ac_objext` in
6551 LD="${LD-ld} -melf32bsmip"
6554 LD="${LD-ld} -melf32bmipn32"
6557 LD="${LD-ld} -melf64bmip"
6561 case `/usr/bin/file conftest.$ac_objext` in
6577 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6578 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6579 # Find out which ABI we are using.
6580 echo 'int i;' > conftest.$ac_ext
6581 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6582 (eval $ac_compile) 2>&5
6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6585 test $ac_status = 0; }; then
6586 case `/usr/bin/file conftest.o` in
6589 x86_64-*kfreebsd*-gnu)
6590 LD="${LD-ld} -m elf_i386_fbsd
"
6593 LD="${LD-ld} -m elf_i386
"
6595 ppc64-*linux*|powerpc64-*linux*)
6596 LD="${LD-ld} -m elf32ppclinux
"
6599 LD="${LD-ld} -m elf_s390
"
6602 LD="${LD-ld} -m elf32_sparc
"
6608 x86_64-*kfreebsd*-gnu)
6609 LD="${LD-ld} -m elf_x86_64_fbsd
"
6612 LD="${LD-ld} -m elf_x86_64
"
6614 ppc*-*linux*|powerpc*-*linux*)
6615 LD="${LD-ld} -m elf64ppc
"
6617 s390*-*linux*|s390*-*tpf*)
6618 LD="${LD-ld} -m elf64_s390
"
6621 LD="${LD-ld} -m elf64_sparc
"
6631 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6632 SAVE_CFLAGS="$CFLAGS"
6633 CFLAGS="$CFLAGS -belf"
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6635 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6636 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6637 $as_echo_n "(cached
) " >&6
6640 ac_cpp='$CPP $CPPFLAGS'
6641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6656 if ac_fn_c_try_link "$LINENO"; then :
6657 lt_cv_cc_needs_belf=yes
6659 lt_cv_cc_needs_belf=no
6661 rm -f core conftest.err conftest.$ac_objext \
6662 conftest$ac_exeext conftest.$ac_ext
6664 ac_cpp='$CPP $CPPFLAGS'
6665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6671 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6672 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6673 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6674 CFLAGS="$SAVE_CFLAGS"
6678 # Find out which ABI we are using.
6679 echo 'int i;' > conftest.$ac_ext
6680 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6681 (eval $ac_compile) 2>&5
6683 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6684 test $ac_status = 0; }; then
6685 case `/usr/bin/file conftest.o` in
6687 case $lt_cv_prog_gnu_ld in
6688 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6690 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6702 need_locks="$enable_libtool_lock"
6706 rhapsody* | darwin*)
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6711 $as_echo_n "checking
for $ac_word...
" >&6; }
6712 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6713 $as_echo_n "(cached
) " >&6
6715 if test -n "$DSYMUTIL"; then
6716 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6735 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6736 if test -n "$DSYMUTIL"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6738 $as_echo "$DSYMUTIL" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6741 $as_echo "no
" >&6; }
6746 if test -z "$ac_cv_prog_DSYMUTIL"; then
6747 ac_ct_DSYMUTIL=$DSYMUTIL
6748 # Extract the first word of "dsymutil
", so it can be a program name with args.
6749 set dummy dsymutil; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6751 $as_echo_n "checking
for $ac_word...
" >&6; }
6752 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6753 $as_echo_n "(cached
) " >&6
6755 if test -n "$ac_ct_DSYMUTIL"; then
6756 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6765 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6775 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6776 if test -n "$ac_ct_DSYMUTIL"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6778 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6781 $as_echo "no
" >&6; }
6784 if test "x
$ac_ct_DSYMUTIL" = x; then
6787 case $cross_compiling:$ac_tool_warned in
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6790 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6791 ac_tool_warned=yes ;;
6793 DSYMUTIL=$ac_ct_DSYMUTIL
6796 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6799 if test -n "$ac_tool_prefix"; then
6800 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6801 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6803 $as_echo_n "checking
for $ac_word...
" >&6; }
6804 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6805 $as_echo_n "(cached
) " >&6
6807 if test -n "$NMEDIT"; then
6808 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6827 NMEDIT=$ac_cv_prog_NMEDIT
6828 if test -n "$NMEDIT"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6830 $as_echo "$NMEDIT" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6833 $as_echo "no
" >&6; }
6838 if test -z "$ac_cv_prog_NMEDIT"; then
6839 ac_ct_NMEDIT=$NMEDIT
6840 # Extract the first word of "nmedit
", so it can be a program name with args.
6841 set dummy nmedit; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6843 $as_echo_n "checking
for $ac_word...
" >&6; }
6844 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6845 $as_echo_n "(cached
) " >&6
6847 if test -n "$ac_ct_NMEDIT"; then
6848 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6857 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6867 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6868 if test -n "$ac_ct_NMEDIT"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6870 $as_echo "$ac_ct_NMEDIT" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6873 $as_echo "no
" >&6; }
6876 if test "x
$ac_ct_NMEDIT" = x; then
6879 case $cross_compiling:$ac_tool_warned in
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6882 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6883 ac_tool_warned=yes ;;
6885 NMEDIT=$ac_ct_NMEDIT
6888 NMEDIT="$ac_cv_prog_NMEDIT"
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6895 $as_echo_n "checking
for $ac_word...
" >&6; }
6896 if test "${ac_cv_prog_LIPO+set}" = set; then :
6897 $as_echo_n "(cached
) " >&6
6899 if test -n "$LIPO"; then
6900 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6919 LIPO=$ac_cv_prog_LIPO
6920 if test -n "$LIPO"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6922 $as_echo "$LIPO" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6925 $as_echo "no
" >&6; }
6930 if test -z "$ac_cv_prog_LIPO"; then
6932 # Extract the first word of "lipo
", so it can be a program name with args.
6933 set dummy lipo; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6935 $as_echo_n "checking
for $ac_word...
" >&6; }
6936 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6937 $as_echo_n "(cached
) " >&6
6939 if test -n "$ac_ct_LIPO"; then
6940 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_prog_ac_ct_LIPO="lipo
"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6959 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6960 if test -n "$ac_ct_LIPO"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6962 $as_echo "$ac_ct_LIPO" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6965 $as_echo "no
" >&6; }
6968 if test "x
$ac_ct_LIPO" = x; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6974 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6975 ac_tool_warned=yes ;;
6980 LIPO="$ac_cv_prog_LIPO"
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}otool; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6987 $as_echo_n "checking
for $ac_word...
" >&6; }
6988 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6989 $as_echo_n "(cached
) " >&6
6991 if test -n "$OTOOL"; then
6992 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7011 OTOOL=$ac_cv_prog_OTOOL
7012 if test -n "$OTOOL"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7014 $as_echo "$OTOOL" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7017 $as_echo "no
" >&6; }
7022 if test -z "$ac_cv_prog_OTOOL"; then
7024 # Extract the first word of "otool
", so it can be a program name with args.
7025 set dummy otool; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7027 $as_echo_n "checking
for $ac_word...
" >&6; }
7028 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7029 $as_echo_n "(cached
) " >&6
7031 if test -n "$ac_ct_OTOOL"; then
7032 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041 ac_cv_prog_ac_ct_OTOOL="otool
"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7052 if test -n "$ac_ct_OTOOL"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7054 $as_echo "$ac_ct_OTOOL" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7057 $as_echo "no
" >&6; }
7060 if test "x
$ac_ct_OTOOL" = x; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7066 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7067 ac_tool_warned=yes ;;
7072 OTOOL="$ac_cv_prog_OTOOL"
7075 if test -n "$ac_tool_prefix"; then
7076 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7079 $as_echo_n "checking
for $ac_word...
" >&6; }
7080 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7081 $as_echo_n "(cached
) " >&6
7083 if test -n "$OTOOL64"; then
7084 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7093 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7103 OTOOL64=$ac_cv_prog_OTOOL64
7104 if test -n "$OTOOL64"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7106 $as_echo "$OTOOL64" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7109 $as_echo "no
" >&6; }
7114 if test -z "$ac_cv_prog_OTOOL64"; then
7115 ac_ct_OTOOL64=$OTOOL64
7116 # Extract the first word of "otool64
", so it can be a program name with args.
7117 set dummy otool64; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7119 $as_echo_n "checking
for $ac_word...
" >&6; }
7120 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7121 $as_echo_n "(cached
) " >&6
7123 if test -n "$ac_ct_OTOOL64"; then
7124 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7143 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7144 if test -n "$ac_ct_OTOOL64"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7146 $as_echo "$ac_ct_OTOOL64" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7149 $as_echo "no
" >&6; }
7152 if test "x
$ac_ct_OTOOL64" = x; then
7155 case $cross_compiling:$ac_tool_warned in
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7158 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7159 ac_tool_warned=yes ;;
7161 OTOOL64=$ac_ct_OTOOL64
7164 OTOOL64="$ac_cv_prog_OTOOL64"
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7194 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7195 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7196 $as_echo_n "(cached
) " >&6
7198 lt_cv_apple_cc_single_mod=no
7199 if test -z "${LT_MULTI_MODULE}"; then
7200 # By default we will add the -single_module flag. You can override
7201 # by either setting the environment variable LT_MULTI_MODULE
7202 # non-empty at configure time, or by adding -multi_module to the
7204 rm -rf libconftest.dylib*
7205 echo "int foo
(void
){return 1;}" > conftest.c
7206 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7207 -dynamiclib -Wl,-single_module conftest.c
" >&5
7208 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7209 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7211 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7212 lt_cv_apple_cc_single_mod=yes
7214 cat conftest.err >&5
7216 rm -rf libconftest.dylib*
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7221 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7223 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7224 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7225 $as_echo_n "(cached
) " >&6
7227 lt_cv_ld_exported_symbols_list=no
7228 save_LDFLAGS=$LDFLAGS
7229 echo "_main
" > conftest.sym
7230 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7242 if ac_fn_c_try_link "$LINENO"; then :
7243 lt_cv_ld_exported_symbols_list=yes
7245 lt_cv_ld_exported_symbols_list=no
7247 rm -f core conftest.err conftest.$ac_objext \
7248 conftest$ac_exeext conftest.$ac_ext
7249 LDFLAGS="$save_LDFLAGS"
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7253 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7255 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7256 if test "${lt_cv_ld_force_load+set}" = set; then :
7257 $as_echo_n "(cached
) " >&6
7259 lt_cv_ld_force_load=no
7260 cat > conftest.c << _LT_EOF
7261 int forced_loaded() { return 2;}
7263 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7264 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7265 echo "$AR cru libconftest.a conftest.o
" >&5
7266 $AR cru libconftest.a conftest.o 2>&5
7267 cat > conftest.c << _LT_EOF
7268 int main() { return 0;}
7270 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7271 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7273 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7274 lt_cv_ld_force_load=yes
7276 cat conftest.err >&5
7278 rm -f conftest.err libconftest.a conftest conftest.c
7279 rm -rf conftest.dSYM
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7283 $as_echo "$lt_cv_ld_force_load" >&6; }
7285 rhapsody* | darwin1.[012])
7286 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7288 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7289 darwin*) # darwin 5.x on
7290 # if running on 10.5 or later, the deployment target defaults
7291 # to the OS version, if on x86, and 10.4, the deployment
7292 # target defaults to 10.4. Don't you love it?
7293 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7294 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7295 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7297 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7299 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7303 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7304 _lt_dar_single_mod='$single_module'
7306 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7307 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7309 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7311 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7312 _lt_dsymutil='~$DSYMUTIL $lib || :'
7320 ac_cpp='$CPP $CPPFLAGS'
7321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7325 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7326 # On Suns, sometimes $CPP names a directory.
7327 if test -n "$CPP" && test -d "$CPP"; then
7330 if test -z "$CPP"; then
7331 if test "${ac_cv_prog_CPP+set}" = set; then :
7332 $as_echo_n "(cached
) " >&6
7334 # Double quotes because CPP needs to be expanded
7335 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7338 for ac_c_preproc_warn_flag in '' yes
7340 # Use a header file that comes with gcc, so configuring glibc
7341 # with a fresh cross-compiler works.
7342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7343 # <limits.h> exists even on freestanding compilers.
7344 # On the NeXT, cc -E runs the code through the compiler's parser,
7345 # not just through cpp. "Syntax error
" is here to catch this case.
7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7349 # include <limits.h>
7351 # include <assert.h>
7355 if ac_fn_c_try_cpp "$LINENO"; then :
7358 # Broken: fails on valid input.
7361 rm -f conftest.err conftest.$ac_ext
7363 # OK, works on sane cases. Now check whether nonexistent headers
7364 # can be detected and how.
7365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7366 /* end confdefs.h. */
7367 #include <ac_nonexistent.h>
7369 if ac_fn_c_try_cpp "$LINENO"; then :
7370 # Broken: success on invalid input.
7373 # Passes both tests.
7377 rm -f conftest.err conftest.$ac_ext
7380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7381 rm -f conftest.err conftest.$ac_ext
7382 if $ac_preproc_ok; then :
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7395 $as_echo "$CPP" >&6; }
7397 for ac_c_preproc_warn_flag in '' yes
7399 # Use a header file that comes with gcc, so configuring glibc
7400 # with a fresh cross-compiler works.
7401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7402 # <limits.h> exists even on freestanding compilers.
7403 # On the NeXT, cc -E runs the code through the compiler's parser,
7404 # not just through cpp. "Syntax error
" is here to catch this case.
7405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406 /* end confdefs.h. */
7408 # include <limits.h>
7410 # include <assert.h>
7414 if ac_fn_c_try_cpp "$LINENO"; then :
7417 # Broken: fails on valid input.
7420 rm -f conftest.err conftest.$ac_ext
7422 # OK, works on sane cases. Now check whether nonexistent headers
7423 # can be detected and how.
7424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7425 /* end confdefs.h. */
7426 #include <ac_nonexistent.h>
7428 if ac_fn_c_try_cpp "$LINENO"; then :
7429 # Broken: success on invalid input.
7432 # Passes both tests.
7436 rm -f conftest.err conftest.$ac_ext
7439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7440 rm -f conftest.err conftest.$ac_ext
7441 if $ac_preproc_ok; then :
7444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7446 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7447 See \`config.log' for more details.
" "$LINENO" 5; }
7451 ac_cpp='$CPP $CPPFLAGS'
7452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7458 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7459 if test "${ac_cv_header_stdc+set}" = set; then :
7460 $as_echo_n "(cached
) " >&6
7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7477 if ac_fn_c_try_compile "$LINENO"; then :
7478 ac_cv_header_stdc=yes
7480 ac_cv_header_stdc=no
7482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7484 if test $ac_cv_header_stdc = yes; then
7485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h. */
7491 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7492 $EGREP "memchr
" >/dev/null 2>&1; then :
7495 ac_cv_header_stdc=no
7501 if test $ac_cv_header_stdc = yes; then
7502 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7508 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7509 $EGREP "free
" >/dev/null 2>&1; then :
7512 ac_cv_header_stdc=no
7518 if test $ac_cv_header_stdc = yes; then
7519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7520 if test "$cross_compiling" = yes; then :
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7527 #if ((' ' & 0x0FF) == 0x020)
7528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7531 # define ISLOWER(c) \
7532 (('a' <= (c) && (c) <= 'i') \
7533 || ('j' <= (c) && (c) <= 'r') \
7534 || ('s' <= (c) && (c) <= 'z'))
7535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7543 for (i = 0; i < 256; i++)
7544 if (XOR (islower (i), ISLOWER (i))
7545 || toupper (i) != TOUPPER (i))
7550 if ac_fn_c_try_run "$LINENO"; then :
7553 ac_cv_header_stdc=no
7555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7556 conftest.$ac_objext conftest.beam conftest.$ac_ext
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7562 $as_echo "$ac_cv_header_stdc" >&6; }
7563 if test $ac_cv_header_stdc = yes; then
7565 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7569 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7570 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7571 inttypes.h stdint.h unistd.h
7573 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7574 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7576 eval as_val
=\$
$as_ac_Header
7577 if test "x$as_val" = x
""yes; then :
7578 cat >>confdefs.h
<<_ACEOF
7579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7587 for ac_header
in dlfcn.h
7589 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7591 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7592 cat >>confdefs.h
<<_ACEOF
7593 #define HAVE_DLFCN_H 1
7614 # Check whether --enable-shared was given.
7615 if test "${enable_shared+set}" = set; then :
7616 enableval
=$enable_shared; p
=${PACKAGE-default}
7618 yes) enable_shared
=yes ;;
7619 no
) enable_shared
=no
;;
7622 # Look at the argument we got. We use all the common list separators.
7623 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7624 for pkg
in $enableval; do
7626 if test "X$pkg" = "X$p"; then
7645 # Check whether --enable-static was given.
7646 if test "${enable_static+set}" = set; then :
7647 enableval
=$enable_static; p
=${PACKAGE-default}
7649 yes) enable_static
=yes ;;
7650 no
) enable_static
=no
;;
7653 # Look at the argument we got. We use all the common list separators.
7654 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7655 for pkg
in $enableval; do
7657 if test "X$pkg" = "X$p"; then
7677 # Check whether --with-pic was given.
7678 if test "${with_pic+set}" = set; then :
7679 withval
=$with_pic; pic_mode
="$withval"
7685 test -z "$pic_mode" && pic_mode
=default
7693 # Check whether --enable-fast-install was given.
7694 if test "${enable_fast_install+set}" = set; then :
7695 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7697 yes) enable_fast_install
=yes ;;
7698 no
) enable_fast_install
=no
;;
7700 enable_fast_install
=no
7701 # Look at the argument we got. We use all the common list separators.
7702 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7703 for pkg
in $enableval; do
7705 if test "X$pkg" = "X$p"; then
7706 enable_fast_install
=yes
7713 enable_fast_install
=yes
7726 # This can be used to rebuild libtool when needed
7727 LIBTOOL_DEPS
="$ltmain"
7729 # Always use our own libtool.
7730 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7757 test -z "$LN_S" && LN_S
="ln -s"
7772 if test -n "${ZSH_VERSION+set}" ; then
7773 setopt NO_GLOB_SUBST
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7777 $as_echo_n "checking for objdir... " >&6; }
7778 if test "${lt_cv_objdir+set}" = set; then :
7779 $as_echo_n "(cached) " >&6
7781 rm -f .libs
2>/dev
/null
7782 mkdir .libs
2>/dev
/null
7783 if test -d .libs
; then
7786 # MS-DOS does not allow filenames that begin with a dot.
7789 rmdir .libs
2>/dev
/null
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7792 $as_echo "$lt_cv_objdir" >&6; }
7793 objdir
=$lt_cv_objdir
7799 cat >>confdefs.h
<<_ACEOF
7800 #define LT_OBJDIR "$lt_cv_objdir/"
7808 # AIX sometimes has problems with the GCC collect2 program. For some
7809 # reason, if we set the COLLECT_NAMES environment variable, the problems
7810 # vanish in a puff of smoke.
7811 if test "X${COLLECT_NAMES+set}" != Xset
; then
7813 export COLLECT_NAMES
7820 can_build_shared
=yes
7822 # All known linkers require a `.a' archive for static linking (except MSVC,
7823 # which needs '.lib').
7826 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7829 old_CFLAGS
="$CFLAGS"
7831 # Set sane defaults for various variables
7832 test -z "$CC" && CC
=cc
7833 test -z "$LTCC" && LTCC
=$CC
7834 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7835 test -z "$LD" && LD
=ld
7836 test -z "$ac_objext" && ac_objext
=o
7838 for cc_temp
in $compiler""; do
7840 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7841 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7846 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7849 # Only perform the check for file, if the check method requires it
7850 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7851 case $deplibs_check_method in
7853 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7855 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7856 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7857 $as_echo_n "(cached) " >&6
7861 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7864 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7865 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7866 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7867 for ac_dir
in $ac_dummy; do
7869 test -z "$ac_dir" && ac_dir
=.
7870 if test -f $ac_dir/${ac_tool_prefix}file; then
7871 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7872 if test -n "$file_magic_test_file"; then
7873 case $deplibs_check_method in
7875 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7876 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7877 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7878 $EGREP "$file_magic_regex" > /dev
/null
; then
7883 *** Warning: the command libtool uses to detect shared libraries,
7884 *** $file_magic_cmd, produces output that libtool cannot recognize.
7885 *** The result is that libtool may fail to recognize shared libraries
7886 *** as such. This will affect the creation of libtool libraries that
7887 *** depend on shared libraries, but programs linked with such libtool
7888 *** libraries will work regardless of this problem. Nevertheless, you
7889 *** may want to report the problem to your system manager and/or to
7890 *** bug-libtool@gnu.org
7900 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7905 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7906 if test -n "$MAGIC_CMD"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7908 $as_echo "$MAGIC_CMD" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7918 if test -z "$lt_cv_path_MAGIC_CMD"; then
7919 if test -n "$ac_tool_prefix"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7921 $as_echo_n "checking for file... " >&6; }
7922 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7923 $as_echo_n "(cached) " >&6
7927 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7930 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7931 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7932 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7933 for ac_dir
in $ac_dummy; do
7935 test -z "$ac_dir" && ac_dir
=.
7936 if test -f $ac_dir/file; then
7937 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7938 if test -n "$file_magic_test_file"; then
7939 case $deplibs_check_method in
7941 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7942 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7943 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7944 $EGREP "$file_magic_regex" > /dev
/null
; then
7949 *** Warning: the command libtool uses to detect shared libraries,
7950 *** $file_magic_cmd, produces output that libtool cannot recognize.
7951 *** The result is that libtool may fail to recognize shared libraries
7952 *** as such. This will affect the creation of libtool libraries that
7953 *** depend on shared libraries, but programs linked with such libtool
7954 *** libraries will work regardless of this problem. Nevertheless, you
7955 *** may want to report the problem to your system manager and/or to
7956 *** bug-libtool@gnu.org
7966 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7971 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7972 if test -n "$MAGIC_CMD"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7974 $as_echo "$MAGIC_CMD" >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977 $as_echo "no" >&6; }
7990 # Use C for the default configuration in the libtool script
7994 ac_cpp
='$CPP $CPPFLAGS'
7995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8000 # Source file extension for C test sources.
8003 # Object file extension for compiled C test sources.
8007 # Code to be used in simple compile tests
8008 lt_simple_compile_test_code
="int some_variable = 0;"
8010 # Code to be used in simple link tests
8011 lt_simple_link_test_code
='int main(){return(0);}'
8019 # If no C compiler was specified, use CC.
8022 # If no C compiler flags were specified, use CFLAGS.
8023 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8025 # Allow CC to be a program name with arguments.
8028 # Save the default compiler, since it gets overwritten when the other
8029 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8030 compiler_DEFAULT
=$CC
8032 # save warnings/boilerplate of simple test code
8033 ac_outfile
=conftest.
$ac_objext
8034 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8035 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8036 _lt_compiler_boilerplate
=`cat conftest.err`
8039 ac_outfile
=conftest.
$ac_objext
8040 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8041 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8042 _lt_linker_boilerplate
=`cat conftest.err`
8047 ## There is no encapsulation within the following macros, do not change
8048 ## the running order or otherwise move them around unless you know exactly
8049 ## what you are doing...
8050 if test -n "$compiler"; then
8052 lt_prog_compiler_no_builtin_flag
=
8054 if test "$GCC" = yes; then
8055 case $cc_basename in
8057 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8059 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8063 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8064 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8065 $as_echo_n "(cached) " >&6
8067 lt_cv_prog_compiler_rtti_exceptions
=no
8068 ac_outfile
=conftest.
$ac_objext
8069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8070 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8071 # Insert the option either (1) after the last *FLAGS variable, or
8072 # (2) before a word containing "conftest.", or (3) at the end.
8073 # Note that $ac_compile itself does not contain backslashes and begins
8074 # with a dollar sign (not a hyphen), so the echo should work correctly.
8075 # The option is referenced via a variable to avoid confusing sed.
8076 lt_compile
=`echo "$ac_compile" | $SED \
8077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8079 -e 's:$: $lt_compiler_flag:'`
8080 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8081 (eval "$lt_compile" 2>conftest.err
)
8083 cat conftest.err
>&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 if (exit $ac_status) && test -s "$ac_outfile"; then
8086 # The compiler can only warn and ignore the option if not recognized
8087 # So say no if there are warnings other than the usual output.
8088 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8089 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8090 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8091 lt_cv_prog_compiler_rtti_exceptions
=yes
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8098 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8100 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8101 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8113 lt_prog_compiler_wl
=
8114 lt_prog_compiler_pic
=
8115 lt_prog_compiler_static
=
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8118 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8120 if test "$GCC" = yes; then
8121 lt_prog_compiler_wl
='-Wl,'
8122 lt_prog_compiler_static
='-static'
8126 # All AIX code is PIC.
8127 if test "$host_cpu" = ia64
; then
8128 # AIX 5 now supports IA64 processor
8129 lt_prog_compiler_static
='-Bstatic'
8136 # see comment about AmigaOS4 .so support
8137 lt_prog_compiler_pic
='-fPIC'
8140 # FIXME: we need at least 68020 code to build shared libraries, but
8141 # adding the `-m68020' flag to GCC prevents building anything better,
8143 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8148 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8149 # PIC is the default for these OSes.
8152 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8153 # This hack is so that the source file can tell whether it is being
8154 # built for inclusion in a dll (and should export symbols for example).
8155 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8156 # (--disable-auto-import) libraries
8157 lt_prog_compiler_pic
='-DDLL_EXPORT'
8160 darwin
* | rhapsody
*)
8161 # PIC is the default on this platform
8162 # Common symbols not allowed in MH_DYLIB files
8163 lt_prog_compiler_pic
='-fno-common'
8167 # PIC is the default for Haiku.
8168 # The "-static" flag exists, but is broken.
8169 lt_prog_compiler_static
=
8173 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8174 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8175 # sets the default TLS model and affects inlining.
8181 lt_prog_compiler_pic
='-fPIC'
8187 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8188 # Instead, we relocate shared libraries at runtime.
8192 # Just because we use GCC doesn't mean we suddenly get shared libraries
8193 # on systems that don't support them.
8194 lt_prog_compiler_can_build_shared
=no
8199 # QNX uses GNU C++, but need to define -shared option too, otherwise
8201 lt_prog_compiler_pic
='-fPIC -shared'
8205 if test -d /usr
/nec
; then
8206 lt_prog_compiler_pic
=-Kconform_pic
8211 lt_prog_compiler_pic
='-fPIC'
8215 case $cc_basename in
8216 nvcc
*) # Cuda Compiler Driver 2.2
8217 lt_prog_compiler_wl
='-Xlinker '
8218 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8222 # PORTME Check for flag to pass linker flags through the system compiler.
8225 lt_prog_compiler_wl
='-Wl,'
8226 if test "$host_cpu" = ia64
; then
8227 # AIX 5 now supports IA64 processor
8228 lt_prog_compiler_static
='-Bstatic'
8230 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8234 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8235 # This hack is so that the source file can tell whether it is being
8236 # built for inclusion in a dll (and should export symbols for example).
8237 lt_prog_compiler_pic
='-DDLL_EXPORT'
8240 hpux9
* | hpux10
* | hpux11
*)
8241 lt_prog_compiler_wl
='-Wl,'
8242 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8249 lt_prog_compiler_pic
='+Z'
8252 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8253 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8256 irix5
* | irix6
* | nonstopux
*)
8257 lt_prog_compiler_wl
='-Wl,'
8258 # PIC (with -KPIC) is the default.
8259 lt_prog_compiler_static
='-non_shared'
8262 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8263 case $cc_basename in
8264 # old Intel for x86_64 which still supported -KPIC.
8266 lt_prog_compiler_wl
='-Wl,'
8267 lt_prog_compiler_pic
='-KPIC'
8268 lt_prog_compiler_static
='-static'
8270 # icc used to be incompatible with GCC.
8271 # ICC 10 doesn't accept -KPIC any more.
8273 lt_prog_compiler_wl
='-Wl,'
8274 lt_prog_compiler_pic
='-fPIC'
8275 lt_prog_compiler_static
='-static'
8277 # Lahey Fortran 8.1.
8279 lt_prog_compiler_wl
='-Wl,'
8280 lt_prog_compiler_pic
='--shared'
8281 lt_prog_compiler_static
='--static'
8283 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8284 # Portland Group compilers (*not* the Pentium gcc compiler,
8285 # which looks to be a dead project)
8286 lt_prog_compiler_wl
='-Wl,'
8287 lt_prog_compiler_pic
='-fpic'
8288 lt_prog_compiler_static
='-Bstatic'
8291 lt_prog_compiler_wl
='-Wl,'
8292 # All Alpha code is PIC.
8293 lt_prog_compiler_static
='-non_shared'
8295 xl
* | bgxl
* | bgf
* | mpixl
*)
8296 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8297 lt_prog_compiler_wl
='-Wl,'
8298 lt_prog_compiler_pic
='-qpic'
8299 lt_prog_compiler_static
='-qstaticlink'
8302 case `$CC -V 2>&1 | sed 5q` in
8303 *Sun\ F
* |
*Sun
*Fortran
*)
8304 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8305 lt_prog_compiler_pic
='-KPIC'
8306 lt_prog_compiler_static
='-Bstatic'
8307 lt_prog_compiler_wl
=''
8311 lt_prog_compiler_pic
='-KPIC'
8312 lt_prog_compiler_static
='-Bstatic'
8313 lt_prog_compiler_wl
='-Wl,'
8321 lt_prog_compiler_pic
='-KPIC'
8322 lt_prog_compiler_static
='-Bstatic'
8326 # QNX uses GNU C++, but need to define -shared option too, otherwise
8328 lt_prog_compiler_pic
='-fPIC -shared'
8331 osf3
* | osf4
* | osf5
*)
8332 lt_prog_compiler_wl
='-Wl,'
8333 # All OSF/1 code is PIC.
8334 lt_prog_compiler_static
='-non_shared'
8338 lt_prog_compiler_static
='-non_shared'
8342 lt_prog_compiler_pic
='-KPIC'
8343 lt_prog_compiler_static
='-Bstatic'
8344 case $cc_basename in
8346 lt_prog_compiler_wl
='-Qoption ld ';;
8348 lt_prog_compiler_wl
='-Wl,';;
8353 lt_prog_compiler_wl
='-Qoption ld '
8354 lt_prog_compiler_pic
='-PIC'
8355 lt_prog_compiler_static
='-Bstatic'
8358 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8359 lt_prog_compiler_wl
='-Wl,'
8360 lt_prog_compiler_pic
='-KPIC'
8361 lt_prog_compiler_static
='-Bstatic'
8365 if test -d /usr
/nec
;then
8366 lt_prog_compiler_pic
='-Kconform_pic'
8367 lt_prog_compiler_static
='-Bstatic'
8371 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8372 lt_prog_compiler_wl
='-Wl,'
8373 lt_prog_compiler_pic
='-KPIC'
8374 lt_prog_compiler_static
='-Bstatic'
8378 lt_prog_compiler_wl
='-Wl,'
8379 lt_prog_compiler_can_build_shared
=no
8383 lt_prog_compiler_pic
='-pic'
8384 lt_prog_compiler_static
='-Bstatic'
8388 lt_prog_compiler_can_build_shared
=no
8394 # For platforms which do not support PIC, -DPIC is meaningless:
8396 lt_prog_compiler_pic
=
8399 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8403 $as_echo "$lt_prog_compiler_pic" >&6; }
8411 # Check to make sure the PIC flag actually works.
8413 if test -n "$lt_prog_compiler_pic"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8415 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8416 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8417 $as_echo_n "(cached) " >&6
8419 lt_cv_prog_compiler_pic_works
=no
8420 ac_outfile
=conftest.
$ac_objext
8421 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8422 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8423 # Insert the option either (1) after the last *FLAGS variable, or
8424 # (2) before a word containing "conftest.", or (3) at the end.
8425 # Note that $ac_compile itself does not contain backslashes and begins
8426 # with a dollar sign (not a hyphen), so the echo should work correctly.
8427 # The option is referenced via a variable to avoid confusing sed.
8428 lt_compile
=`echo "$ac_compile" | $SED \
8429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8431 -e 's:$: $lt_compiler_flag:'`
8432 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8433 (eval "$lt_compile" 2>conftest.err
)
8435 cat conftest.err
>&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 if (exit $ac_status) && test -s "$ac_outfile"; then
8438 # The compiler can only warn and ignore the option if not recognized
8439 # So say no if there are warnings other than the usual output.
8440 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8441 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8442 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8443 lt_cv_prog_compiler_pic_works
=yes
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8450 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8452 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8453 case $lt_prog_compiler_pic in
8455 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8458 lt_prog_compiler_pic
=
8459 lt_prog_compiler_can_build_shared
=no
8470 # Check to make sure the static flag actually works.
8472 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8475 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8478 lt_cv_prog_compiler_static_works
=no
8479 save_LDFLAGS
="$LDFLAGS"
8480 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8481 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8482 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8483 # The linker can only warn and ignore the option if not recognized
8484 # So say no if there are warnings
8485 if test -s conftest.err
; then
8486 # Append any errors to the config.log.
8487 cat conftest.err
1>&5
8488 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8489 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8490 if diff conftest.exp conftest.er2
>/dev
/null
; then
8491 lt_cv_prog_compiler_static_works
=yes
8494 lt_cv_prog_compiler_static_works
=yes
8498 LDFLAGS
="$save_LDFLAGS"
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8502 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8504 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8507 lt_prog_compiler_static
=
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8518 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8519 $as_echo_n "(cached) " >&6
8521 lt_cv_prog_compiler_c_o
=no
8522 $RM -r conftest
2>/dev
/null
8526 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8528 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8529 # Insert the option either (1) after the last *FLAGS variable, or
8530 # (2) before a word containing "conftest.", or (3) at the end.
8531 # Note that $ac_compile itself does not contain backslashes and begins
8532 # with a dollar sign (not a hyphen), so the echo should work correctly.
8533 lt_compile
=`echo "$ac_compile" | $SED \
8534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8536 -e 's:$: $lt_compiler_flag:'`
8537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8538 (eval "$lt_compile" 2>out
/conftest.err
)
8540 cat out
/conftest.err
>&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8544 # The compiler can only warn and ignore the option if not recognized
8545 # So say no if there are warnings
8546 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8547 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8548 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8549 lt_cv_prog_compiler_c_o
=yes
8554 # SGI C++ compiler will create directory out/ii_files/ for
8555 # template instantiation
8556 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8557 $RM out
/* && rmdir out
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8564 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8572 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8573 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8574 $as_echo_n "(cached) " >&6
8576 lt_cv_prog_compiler_c_o
=no
8577 $RM -r conftest
2>/dev
/null
8581 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8583 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8584 # Insert the option either (1) after the last *FLAGS variable, or
8585 # (2) before a word containing "conftest.", or (3) at the end.
8586 # Note that $ac_compile itself does not contain backslashes and begins
8587 # with a dollar sign (not a hyphen), so the echo should work correctly.
8588 lt_compile
=`echo "$ac_compile" | $SED \
8589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8591 -e 's:$: $lt_compiler_flag:'`
8592 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8593 (eval "$lt_compile" 2>out
/conftest.err
)
8595 cat out
/conftest.err
>&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8599 # The compiler can only warn and ignore the option if not recognized
8600 # So say no if there are warnings
8601 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8602 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8603 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8604 lt_cv_prog_compiler_c_o
=yes
8609 # SGI C++ compiler will create directory out/ii_files/ for
8610 # template instantiation
8611 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8612 $RM out
/* && rmdir out
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8619 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8624 hard_links
="nottested"
8625 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8626 # do not overwrite the value of need_locks provided by the user
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8628 $as_echo_n "checking if we can lock with hard links... " >&6; }
8631 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8633 ln conftest.a conftest.b
2>&5 || hard_links
=no
8634 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8636 $as_echo "$hard_links" >&6; }
8637 if test "$hard_links" = no
; then
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8639 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8652 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8655 allow_undefined_flag
=
8656 always_export_symbols
=no
8658 archive_expsym_cmds
=
8659 compiler_needs_object
=no
8660 enable_shared_with_static_runtimes
=no
8661 export_dynamic_flag_spec
=
8662 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8663 hardcode_automatic
=no
8665 hardcode_direct_absolute
=no
8666 hardcode_libdir_flag_spec
=
8667 hardcode_libdir_flag_spec_ld
=
8668 hardcode_libdir_separator
=
8670 hardcode_shlibpath_var
=unsupported
8672 link_all_deplibs
=unknown
8675 old_archive_from_new_cmds
=
8676 old_archive_from_expsyms_cmds
=
8677 thread_safe_flag_spec
=
8678 whole_archive_flag_spec
=
8679 # include_expsyms should be a list of space-separated symbols to be *always*
8680 # included in the symbol list
8682 # exclude_expsyms can be an extended regexp of symbols to exclude
8683 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8684 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8685 # as well as any symbol that contains `d'.
8686 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8687 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8688 # platforms (ab)use it in PIC code, but their linkers get confused if
8689 # the symbol is explicitly referenced. Since portable code cannot
8690 # rely on this symbol name, it's probably fine to never include it in
8691 # preloaded symbol tables.
8692 # Exclude shared library initialization/finalization symbols.
8693 extract_expsyms_cmds
=
8696 cygwin
* | mingw
* | pw32
* | cegcc
*)
8697 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8698 # When not using gcc, we currently assume that we are using
8699 # Microsoft Visual C++.
8700 if test "$GCC" != yes; then
8705 # we just hope/assume this is gcc and not c89 (= MSVC++)
8715 # On some targets, GNU ld is compatible enough with the native linker
8716 # that we're better off using the native interface for both.
8717 lt_use_gnu_ld_interface
=no
8718 if test "$with_gnu_ld" = yes; then
8721 # The AIX port of GNU ld has always aspired to compatibility
8722 # with the native linker. However, as the warning in the GNU ld
8723 # block says, versions before 2.19.5* couldn't really create working
8724 # shared libraries, regardless of the interface used.
8725 case `$LD -v 2>&1` in
8726 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8727 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8728 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8730 lt_use_gnu_ld_interface
=yes
8735 lt_use_gnu_ld_interface
=yes
8740 if test "$lt_use_gnu_ld_interface" = yes; then
8741 # If archive_cmds runs LD, not CC, wlarc should be empty
8744 # Set some defaults for GNU ld with shared library support. These
8745 # are reset later if shared libraries are not supported. Putting them
8746 # here allows them to be overridden if necessary.
8747 runpath_var
=LD_RUN_PATH
8748 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8749 export_dynamic_flag_spec
='${wl}--export-dynamic'
8750 # ancient GNU ld didn't support --whole-archive et. al.
8751 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8752 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8754 whole_archive_flag_spec
=
8756 supports_anon_versioning
=no
8757 case `$LD -v 2>&1` in
8758 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8759 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8760 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8761 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8762 *\
2.11.
*) ;; # other 2.11 versions
8763 *) supports_anon_versioning
=yes ;;
8766 # See if GNU ld supports shared libraries.
8769 # On AIX/PPC, the GNU linker is very broken
8770 if test "$host_cpu" != ia64
; then
8774 *** Warning: the GNU linker, at least up to release 2.19, is reported
8775 *** to be unable to reliably create shared libraries on AIX.
8776 *** Therefore, libtool is disabling shared libraries support. If you
8777 *** really care for shared libraries, you may want to install binutils
8778 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8779 *** You will then need to restart the configuration process.
8788 # see comment about AmigaOS4 .so support
8789 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8790 archive_expsym_cmds
=''
8793 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)'
8794 hardcode_libdir_flag_spec
='-L$libdir'
8795 hardcode_minus_L
=yes
8801 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8802 allow_undefined_flag
=unsupported
8803 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8804 # support --undefined. This deserves some investigation. FIXME
8805 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8811 cygwin
* | mingw
* | pw32
* | cegcc
*)
8812 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8813 # as there is no search path for DLLs.
8814 hardcode_libdir_flag_spec
='-L$libdir'
8815 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8816 allow_undefined_flag
=unsupported
8817 always_export_symbols
=no
8818 enable_shared_with_static_runtimes
=yes
8819 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8821 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8822 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8823 # If the export-symbols file already is a .def file (1st line
8824 # is EXPORTS), use it as is; otherwise, prepend...
8825 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8826 cp $export_symbols $output_objdir/$soname.def;
8828 echo EXPORTS > $output_objdir/$soname.def;
8829 cat $export_symbols >> $output_objdir/$soname.def;
8831 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8838 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8839 link_all_deplibs
=yes
8844 hardcode_shlibpath_var
=no
8845 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8846 export_dynamic_flag_spec
='${wl}-E'
8847 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8848 # Instead, shared libraries are loaded at an image base (0x10000000 by
8849 # default) and relocated if they conflict, which is a slow very memory
8850 # consuming and fragmenting process. To avoid this, we pick a random,
8851 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8852 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8853 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8854 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'
8857 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8859 if test "$host_os" = linux-dietlibc
; then
8860 case $cc_basename in
8861 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8864 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8865 && test "$tmp_diet" = no
8868 tmp_sharedflag
='-shared'
8869 case $cc_basename,$host_cpu in
8870 pgcc
*) # Portland Group C compiler
8871 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'
8872 tmp_addflag
=' $pic_flag'
8874 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8875 # Portland Group f77 and f90 compilers
8876 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'
8877 tmp_addflag
=' $pic_flag -Mnomain' ;;
8878 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8879 tmp_addflag
=' -i_dynamic' ;;
8880 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8881 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8882 ifc
* | ifort
*) # Intel Fortran compiler
8883 tmp_addflag
=' -nofor_main' ;;
8884 lf95
*) # Lahey Fortran 8.1
8885 whole_archive_flag_spec
=
8886 tmp_sharedflag
='--shared' ;;
8887 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8888 tmp_sharedflag
='-qmkshrobj'
8890 nvcc
*) # Cuda Compiler Driver 2.2
8891 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'
8892 compiler_needs_object
=yes
8895 case `$CC -V 2>&1 | sed 5q` in
8896 *Sun\ C
*) # Sun C 5.9
8897 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'
8898 compiler_needs_object
=yes
8899 tmp_sharedflag
='-G' ;;
8900 *Sun\ F
*) # Sun Fortran 8.3
8901 tmp_sharedflag
='-G' ;;
8903 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8905 if test "x$supports_anon_versioning" = xyes
; then
8906 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8907 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8908 echo "local: *; };" >> $output_objdir/$libname.ver~
8909 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8912 case $cc_basename in
8913 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8914 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8915 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8916 hardcode_libdir_flag_spec
=
8917 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8918 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8919 if test "x$supports_anon_versioning" = xyes
; then
8920 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8921 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8922 echo "local: *; };" >> $output_objdir/$libname.ver~
8923 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8933 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8934 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8937 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8938 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8943 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8947 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8948 *** create shared libraries on Solaris systems. Therefore, libtool
8949 *** is disabling shared libraries support. We urge you to upgrade GNU
8950 *** binutils to release 2.9.1 or newer. Another option is to modify
8951 *** your PATH or compiler configuration so that the native linker is
8952 *** used, and then restart.
8955 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8956 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8957 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8963 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8964 case `$LD -v 2>&1` in
8965 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8969 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8970 *** reliably create shared libraries on SCO systems. Therefore, libtool
8971 *** is disabling shared libraries support. We urge you to upgrade GNU
8972 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8973 *** your PATH or compiler configuration so that the native linker is
8974 *** used, and then restart.
8979 # For security reasons, it is highly recommended that you always
8980 # use absolute paths for naming shared libraries, and exclude the
8981 # DT_RUNPATH tag from executables and libraries. But doing so
8982 # requires that you compile everything twice, which is a pain.
8983 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8984 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8985 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8986 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8995 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8998 hardcode_shlibpath_var
=no
9002 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9003 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9004 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9011 if test "$ld_shlibs" = no
; then
9013 hardcode_libdir_flag_spec
=
9014 export_dynamic_flag_spec
=
9015 whole_archive_flag_spec
=
9018 # PORTME fill in a description of your system's linker (not GNU ld)
9021 allow_undefined_flag
=unsupported
9022 always_export_symbols
=yes
9023 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'
9024 # Note: this linker hardcodes the directories in LIBPATH if there
9025 # are no directories specified by -L.
9026 hardcode_minus_L
=yes
9027 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9028 # Neither direct hardcoding nor static linking is supported with a
9030 hardcode_direct
=unsupported
9035 if test "$host_cpu" = ia64
; then
9036 # On IA64, the linker does run time linking by default, so we don't
9037 # have to do anything special.
9038 aix_use_runtimelinking
=no
9039 exp_sym_flag
='-Bexport'
9042 # If we're using GNU nm, then we don't want the "-C" option.
9043 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9044 # Also, AIX nm treats weak defined symbols like other global
9045 # defined symbols, whereas GNU nm marks them as "W".
9046 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9047 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'
9049 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9051 aix_use_runtimelinking
=no
9053 # Test if we are trying to use run time linking or normal
9054 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9055 # need to do runtime linking.
9056 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9057 for ld_flag
in $LDFLAGS; do
9058 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9059 aix_use_runtimelinking
=yes
9066 exp_sym_flag
='-bexport'
9067 no_entry_flag
='-bnoentry'
9070 # When large executables or shared objects are built, AIX ld can
9071 # have problems creating the table of contents. If linking a library
9072 # or program results in "error TOC overflow" add -mminimal-toc to
9073 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9074 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9078 hardcode_direct_absolute
=yes
9079 hardcode_libdir_separator
=':'
9080 link_all_deplibs
=yes
9081 file_list_spec
='${wl}-f,'
9083 if test "$GCC" = yes; then
9084 case $host_os in aix4.
[012]|aix4.
[012].
*)
9085 # We only want to do this on AIX 4.2 and lower, the check
9086 # below for broken collect2 doesn't work under 4.3+
9087 collect2name
=`${CC} -print-prog-name=collect2`
9088 if test -f "$collect2name" &&
9089 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9091 # We have reworked collect2
9094 # We have old collect2
9095 hardcode_direct
=unsupported
9096 # It fails to find uninstalled libraries when the uninstalled
9097 # path is not listed in the libpath. Setting hardcode_minus_L
9098 # to unsupported forces relinking
9099 hardcode_minus_L
=yes
9100 hardcode_libdir_flag_spec
='-L$libdir'
9101 hardcode_libdir_separator
=
9105 shared_flag
='-shared'
9106 if test "$aix_use_runtimelinking" = yes; then
9107 shared_flag
="$shared_flag "'${wl}-G'
9111 if test "$host_cpu" = ia64
; then
9112 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9113 # chokes on -Wl,-G. The following line is correct:
9116 if test "$aix_use_runtimelinking" = yes; then
9117 shared_flag
='${wl}-G'
9119 shared_flag
='${wl}-bM:SRE'
9124 export_dynamic_flag_spec
='${wl}-bexpall'
9125 # It seems that -bexpall does not export symbols beginning with
9126 # underscore (_), so it is better to generate a list of symbols to export.
9127 always_export_symbols
=yes
9128 if test "$aix_use_runtimelinking" = yes; then
9129 # Warning - without using the other runtime loading flags (-brtl),
9130 # -berok will link without error, but may produce a broken library.
9131 allow_undefined_flag
='-berok'
9132 # Determine the default libpath from the value encoded in an
9134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9145 if ac_fn_c_try_link
"$LINENO"; then :
9147 lt_aix_libpath_sed
='
9148 /Import File Strings/,/^$/ {
9154 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9155 # Check for a 64-bit object if we didn't find anything.
9156 if test -z "$aix_libpath"; then
9157 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9160 rm -f core conftest.err conftest.
$ac_objext \
9161 conftest
$ac_exeext conftest.
$ac_ext
9162 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9164 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9165 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"
9167 if test "$host_cpu" = ia64
; then
9168 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9169 allow_undefined_flag
="-z nodefs"
9170 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"
9172 # Determine the default libpath from the value encoded in an
9174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9185 if ac_fn_c_try_link
"$LINENO"; then :
9187 lt_aix_libpath_sed
='
9188 /Import File Strings/,/^$/ {
9194 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9195 # Check for a 64-bit object if we didn't find anything.
9196 if test -z "$aix_libpath"; then
9197 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9200 rm -f core conftest.err conftest.
$ac_objext \
9201 conftest
$ac_exeext conftest.
$ac_ext
9202 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9204 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9205 # Warning - without using the other run time loading flags,
9206 # -berok will link without error, but may produce a broken library.
9207 no_undefined_flag
=' ${wl}-bernotok'
9208 allow_undefined_flag
=' ${wl}-berok'
9209 if test "$with_gnu_ld" = yes; then
9210 # We only use this code for GNU lds that support --whole-archive.
9211 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9213 # Exported symbols can be pulled into shared objects from archives
9214 whole_archive_flag_spec
='$convenience'
9216 archive_cmds_need_lc
=yes
9217 # This is similar to how AIX traditionally builds its shared libraries.
9218 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'
9226 # see comment about AmigaOS4 .so support
9227 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228 archive_expsym_cmds
=''
9231 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)'
9232 hardcode_libdir_flag_spec
='-L$libdir'
9233 hardcode_minus_L
=yes
9239 export_dynamic_flag_spec
=-rdynamic
9242 cygwin
* | mingw
* | pw32
* | cegcc
*)
9243 # When not using gcc, we currently assume that we are using
9244 # Microsoft Visual C++.
9245 # hardcode_libdir_flag_spec is actually meaningless, as there is
9246 # no search path for DLLs.
9247 hardcode_libdir_flag_spec
=' '
9248 allow_undefined_flag
=unsupported
9249 # Tell ltmain to make .lib files, not .a files.
9251 # Tell ltmain to make .dll files, not .so files.
9253 # FIXME: Setting linknames here is a bad hack.
9254 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9255 # The linker will automatically build a .lib file if we build a DLL.
9256 old_archive_from_new_cmds
='true'
9257 # FIXME: Should let the user specify the lib program.
9258 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9259 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9260 enable_shared_with_static_runtimes
=yes
9263 darwin
* | rhapsody
*)
9266 archive_cmds_need_lc
=no
9268 hardcode_automatic
=yes
9269 hardcode_shlibpath_var
=unsupported
9270 if test "$lt_cv_ld_force_load" = "yes"; then
9271 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\"`'
9273 whole_archive_flag_spec
=''
9275 link_all_deplibs
=yes
9276 allow_undefined_flag
="$_lt_dar_allow_undefined"
9277 case $cc_basename in
9278 ifort
*) _lt_dar_can_shared
=yes ;;
9279 *) _lt_dar_can_shared
=$GCC ;;
9281 if test "$_lt_dar_can_shared" = "yes"; then
9282 output_verbose_link_cmd
=func_echo_all
9283 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9284 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9285 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}"
9286 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}"
9295 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9296 hardcode_libdir_flag_spec
='-L$libdir'
9297 hardcode_shlibpath_var
=no
9304 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9305 # support. Future versions do this automatically, but an explicit c++rt0.o
9306 # does not break anything, and helps significantly (at the cost of a little
9309 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9310 hardcode_libdir_flag_spec
='-R$libdir'
9312 hardcode_shlibpath_var
=no
9315 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9317 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_minus_L
=yes
9320 hardcode_shlibpath_var
=no
9323 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9324 freebsd
* | dragonfly
*)
9325 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9326 hardcode_libdir_flag_spec
='-R$libdir'
9328 hardcode_shlibpath_var
=no
9332 if test "$GCC" = yes; then
9333 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'
9335 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'
9337 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9338 hardcode_libdir_separator
=:
9341 # hardcode_minus_L: Not really in the search PATH,
9342 # but as the default location of the library.
9343 hardcode_minus_L
=yes
9344 export_dynamic_flag_spec
='${wl}-E'
9348 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9349 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9351 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9353 if test "$with_gnu_ld" = no
; then
9354 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9355 hardcode_libdir_flag_spec_ld
='+b $libdir'
9356 hardcode_libdir_separator
=:
9358 hardcode_direct_absolute
=yes
9359 export_dynamic_flag_spec
='${wl}-E'
9360 # hardcode_minus_L: Not really in the search PATH,
9361 # but as the default location of the library.
9362 hardcode_minus_L
=yes
9367 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9370 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9373 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9376 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9389 # Older versions of the 11.00 compiler do not understand -b yet
9390 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9392 $as_echo_n "checking if $CC understands -b... " >&6; }
9393 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9394 $as_echo_n "(cached) " >&6
9396 lt_cv_prog_compiler__b
=no
9397 save_LDFLAGS
="$LDFLAGS"
9398 LDFLAGS
="$LDFLAGS -b"
9399 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9400 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9401 # The linker can only warn and ignore the option if not recognized
9402 # So say no if there are warnings
9403 if test -s conftest.err
; then
9404 # Append any errors to the config.log.
9405 cat conftest.err
1>&5
9406 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9407 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9408 if diff conftest.exp conftest.er2
>/dev
/null
; then
9409 lt_cv_prog_compiler__b
=yes
9412 lt_cv_prog_compiler__b
=yes
9416 LDFLAGS
="$save_LDFLAGS"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9420 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9422 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9423 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9425 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9431 if test "$with_gnu_ld" = no
; then
9432 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9433 hardcode_libdir_separator
=:
9438 hardcode_shlibpath_var
=no
9442 hardcode_direct_absolute
=yes
9443 export_dynamic_flag_spec
='${wl}-E'
9445 # hardcode_minus_L: Not really in the search PATH,
9446 # but as the default location of the library.
9447 hardcode_minus_L
=yes
9453 irix5
* | irix6
* | nonstopux
*)
9454 if test "$GCC" = yes; then
9455 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'
9456 # Try to use the -exported_symbol ld option, if it does not
9457 # work, assume that -exports_file does not work either and
9458 # implicitly export all symbols.
9459 save_LDFLAGS
="$LDFLAGS"
9460 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9465 if ac_fn_c_try_link
"$LINENO"; then :
9466 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'
9469 rm -f core conftest.err conftest.
$ac_objext \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 LDFLAGS
="$save_LDFLAGS"
9473 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'
9474 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'
9476 archive_cmds_need_lc
='no'
9477 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9478 hardcode_libdir_separator
=:
9480 link_all_deplibs
=yes
9484 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9485 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9487 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9489 hardcode_libdir_flag_spec
='-R$libdir'
9491 hardcode_shlibpath_var
=no
9495 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9497 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9498 hardcode_libdir_separator
=:
9499 hardcode_shlibpath_var
=no
9506 if test -f /usr
/libexec
/ld.so
; then
9508 hardcode_shlibpath_var
=no
9509 hardcode_direct_absolute
=yes
9510 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9511 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9513 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9514 export_dynamic_flag_spec
='${wl}-E'
9517 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9518 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9519 hardcode_libdir_flag_spec
='-R$libdir'
9522 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9523 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9533 hardcode_libdir_flag_spec
='-L$libdir'
9534 hardcode_minus_L
=yes
9535 allow_undefined_flag
=unsupported
9536 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'
9537 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9541 if test "$GCC" = yes; then
9542 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9543 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'
9545 allow_undefined_flag
=' -expect_unresolved \*'
9546 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'
9548 archive_cmds_need_lc
='no'
9549 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9550 hardcode_libdir_separator
=:
9553 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9554 if test "$GCC" = yes; then
9555 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9556 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'
9557 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9559 allow_undefined_flag
=' -expect_unresolved \*'
9560 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'
9561 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~
9562 $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'
9564 # Both c and cxx compiler support -rpath directly
9565 hardcode_libdir_flag_spec
='-rpath $libdir'
9567 archive_cmds_need_lc
='no'
9568 hardcode_libdir_separator
=:
9572 no_undefined_flag
=' -z defs'
9573 if test "$GCC" = yes; then
9575 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9577 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9579 case `$CC -V 2>&1` in
9582 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9583 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9584 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9588 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9590 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9594 hardcode_libdir_flag_spec
='-R$libdir'
9595 hardcode_shlibpath_var
=no
9597 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9599 # The compiler driver will combine and reorder linker options,
9600 # but understands `-z linker_flag'. GCC discards it without `$wl',
9601 # but is careful enough not to reorder.
9602 # Supported since Solaris 2.6 (maybe 2.5.1?)
9603 if test "$GCC" = yes; then
9604 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9606 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9610 link_all_deplibs
=yes
9614 if test "x$host_vendor" = xsequent
; then
9615 # Use $CC to link under sequent, because it throws in some extra .o
9616 # files that make .init and .fini sections work.
9617 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9619 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9621 hardcode_libdir_flag_spec
='-L$libdir'
9623 hardcode_minus_L
=yes
9624 hardcode_shlibpath_var
=no
9628 case $host_vendor in
9630 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631 hardcode_direct
=yes # is this really true???
9634 ## LD is ld it makes a PLAMLIB
9635 ## CC just makes a GrossModule.
9636 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9637 reload_cmds
='$CC -r -o $output$reload_objs'
9641 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9642 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9645 runpath_var
='LD_RUN_PATH'
9646 hardcode_shlibpath_var
=no
9650 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9651 hardcode_shlibpath_var
=no
9652 export_dynamic_flag_spec
='-Bexport'
9656 if test -d /usr
/nec
; then
9657 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_shlibpath_var
=no
9659 runpath_var
=LD_RUN_PATH
9660 hardcode_runpath_var
=yes
9665 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9666 no_undefined_flag
='${wl}-z,text'
9667 archive_cmds_need_lc
=no
9668 hardcode_shlibpath_var
=no
9669 runpath_var
='LD_RUN_PATH'
9671 if test "$GCC" = yes; then
9672 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9680 sysv5
* | sco3.2v5
* | sco5v6
*)
9681 # Note: We can NOT use -z defs as we might desire, because we do not
9682 # link with -lc, and that would cause any symbols used from libc to
9683 # always be unresolved, which means just about no library would
9684 # ever link correctly. If we're not using GNU ld we use -z text
9685 # though, which does catch some bad symbols but isn't as heavy-handed
9687 no_undefined_flag
='${wl}-z,text'
9688 allow_undefined_flag
='${wl}-z,nodefs'
9689 archive_cmds_need_lc
=no
9690 hardcode_shlibpath_var
=no
9691 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9692 hardcode_libdir_separator
=':'
9693 link_all_deplibs
=yes
9694 export_dynamic_flag_spec
='${wl}-Bexport'
9695 runpath_var
='LD_RUN_PATH'
9697 if test "$GCC" = yes; then
9698 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9701 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9707 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_libdir_flag_spec
='-L$libdir'
9709 hardcode_shlibpath_var
=no
9717 if test x
$host_vendor = xsni
; then
9719 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9720 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9727 $as_echo "$ld_shlibs" >&6; }
9728 test "$ld_shlibs" = no
&& can_build_shared
=no
9730 with_gnu_ld
=$with_gnu_ld
9747 # Do we need to explicitly link libc?
9749 case "x$archive_cmds_need_lc" in
9751 # Assume -lc should be added
9752 archive_cmds_need_lc
=yes
9754 if test "$enable_shared" = yes && test "$GCC" = yes; then
9755 case $archive_cmds in
9757 # FIXME: we may have to deal with multi-command sequences.
9760 # Test whether the compiler implicitly links with -lc since on some
9761 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9762 # to ld, don't add -lc before -lgcc.
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9764 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9765 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9766 $as_echo_n "(cached) " >&6
9769 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9772 (eval $ac_compile) 2>&5
9774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9775 test $ac_status = 0; } 2>conftest.err
; then
9778 libobjs
=conftest.
$ac_objext
9780 wl
=$lt_prog_compiler_wl
9781 pic_flag
=$lt_prog_compiler_pic
9787 lt_save_allow_undefined_flag
=$allow_undefined_flag
9788 allow_undefined_flag
=
9789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9790 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793 test $ac_status = 0; }
9795 lt_cv_archive_cmds_need_lc
=no
9797 lt_cv_archive_cmds_need_lc
=yes
9799 allow_undefined_flag
=$lt_save_allow_undefined_flag
9801 cat conftest.err
1>&5
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9807 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9808 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9972 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9974 if test "$GCC" = yes; then
9976 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9977 *) lt_awk_arg
="/^libraries:/" ;;
9980 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9981 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9983 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9984 case $lt_search_path_spec in
9986 # if the path contains ";" then we assume it to be the separator
9987 # otherwise default to the standard path separator (i.e. ":") - it is
9988 # assumed that no part of a normal pathname contains ";" but that should
9989 # okay in the real world where ";" in dirpaths is itself problematic.
9990 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9993 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9996 # Ok, now we have the path, separated by spaces, we can step through it
9997 # and add multilib dir if necessary.
9998 lt_tmp_lt_search_path_spec
=
9999 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10000 for lt_sys_path
in $lt_search_path_spec; do
10001 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10002 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10004 test -d "$lt_sys_path" && \
10005 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10008 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10009 BEGIN {RS=" "; FS="/|\n";} {
10012 for (lt_i = NF; lt_i > 0; lt_i--) {
10013 if ($lt_i != "" && $lt_i != ".") {
10014 if ($lt_i == "..") {
10017 if (lt_count == 0) {
10018 lt_foo="/" $lt_i lt_foo;
10025 if (lt_foo != "") { lt_freq[lt_foo]++; }
10026 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10028 # AWK program above erroneously prepends '/' to C:/dos/paths
10031 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10032 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10034 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10036 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10038 library_names_spec
=
10039 libname_spec
='lib$name'
10043 postuninstall_cmds
=
10047 shlibpath_overrides_runpath
=unknown
10049 dynamic_linker
="$host_os ld.so"
10050 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10051 need_lib_prefix
=unknown
10052 hardcode_into_libs
=no
10054 # when you set need_version to no, make sure it does not cause -set_version
10055 # flags to be left without arguments
10056 need_version
=unknown
10061 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10062 shlibpath_var
=LIBPATH
10064 # AIX 3 has no versioning support, so we append a major version to the name.
10065 soname_spec
='${libname}${release}${shared_ext}$major'
10072 hardcode_into_libs
=yes
10073 if test "$host_cpu" = ia64
; then
10074 # AIX 5 supports IA64
10075 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10076 shlibpath_var
=LD_LIBRARY_PATH
10078 # With GCC up to 2.95.x, collect2 would create an import file
10079 # for dependence libraries. The import file would start with
10080 # the line `#! .'. This would cause the generated library to
10081 # depend on `.', always an invalid library. This was fixed in
10082 # development snapshots of GCC prior to 3.0.
10084 aix4 | aix4.
[01] | aix4.
[01].
*)
10085 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10087 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10090 can_build_shared
=no
10094 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10095 # soname into executable. Probably we can add versioning support to
10096 # collect2, so additional links can be useful in future.
10097 if test "$aix_use_runtimelinking" = yes; then
10098 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10099 # instead of lib<name>.a to let people know that these are not
10100 # typical AIX shared libraries.
10101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10103 # We preserve .a as extension for shared libraries through AIX4.2
10104 # and later when we are not doing run time linking.
10105 library_names_spec
='${libname}${release}.a $libname.a'
10106 soname_spec
='${libname}${release}${shared_ext}$major'
10108 shlibpath_var
=LIBPATH
10115 # Since July 2007 AmigaOS4 officially supports .so libraries.
10116 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10120 library_names_spec
='$libname.ixlibrary $libname.a'
10121 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10122 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'
10128 library_names_spec
='${libname}${shared_ext}'
10129 dynamic_linker
="$host_os ld.so"
10130 shlibpath_var
=LIBRARY_PATH
10136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137 soname_spec
='${libname}${release}${shared_ext}$major'
10138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10139 shlibpath_var
=LD_LIBRARY_PATH
10140 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10141 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10142 # the default ld.so.conf also contains /usr/contrib/lib and
10143 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10144 # libtool to hard-code these into programs
10147 cygwin
* | mingw
* | pw32
* | cegcc
*)
10148 version_type
=windows
10153 case $GCC,$host_os in
10154 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10155 library_names_spec
='$libname.dll.a'
10156 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10157 postinstall_cmds
='base_file=`basename \${file}`~
10158 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10159 dldir=$destdir/`dirname \$dlpath`~
10160 test -d \$dldir || mkdir -p \$dldir~
10161 $install_prog $dir/$dlname \$dldir/$dlname~
10162 chmod a+x \$dldir/$dlname~
10163 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10164 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10166 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10167 dlpath=$dir/\$dldll~
10169 shlibpath_overrides_runpath
=yes
10173 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10174 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10176 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10179 # MinGW DLLs use traditional 'lib' prefix
10180 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10183 # pw32 DLLs use 'pw' prefix rather than 'lib'
10184 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10190 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10193 dynamic_linker
='Win32 ld.exe'
10194 # FIXME: first we should search . and the directory the executable is in
10198 darwin
* | rhapsody
*)
10199 dynamic_linker
="$host_os dyld"
10200 version_type
=darwin
10203 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10204 soname_spec
='${libname}${release}${major}$shared_ext'
10205 shlibpath_overrides_runpath
=yes
10206 shlibpath_var
=DYLD_LIBRARY_PATH
10207 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10209 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10210 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10218 soname_spec
='${libname}${release}${shared_ext}$major'
10219 shlibpath_var
=LD_LIBRARY_PATH
10226 freebsd
* | dragonfly
*)
10227 # DragonFly does not have aout. When/if they implement a new
10228 # versioning mechanism, adjust this.
10229 if test -x /usr
/bin
/objformat
; then
10230 objformat
=`/usr/bin/objformat`
10233 freebsd
[123]*) objformat
=aout
;;
10234 *) objformat
=elf
;;
10237 version_type
=freebsd-
$objformat
10238 case $version_type in
10240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10245 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10249 shlibpath_var
=LD_LIBRARY_PATH
10252 shlibpath_overrides_runpath
=yes
10254 freebsd3.
[01]* | freebsdelf3.
[01]*)
10255 shlibpath_overrides_runpath
=yes
10256 hardcode_into_libs
=yes
10258 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10259 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10260 shlibpath_overrides_runpath
=no
10261 hardcode_into_libs
=yes
10263 *) # from 4.6 on, and DragonFly
10264 shlibpath_overrides_runpath
=yes
10265 hardcode_into_libs
=yes
10274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10275 soname_spec
='${libname}${release}${shared_ext}$major'
10276 shlibpath_var
=LD_LIBRARY_PATH
10277 hardcode_into_libs
=yes
10284 dynamic_linker
="$host_os runtime_loader"
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10286 soname_spec
='${libname}${release}${shared_ext}$major'
10287 shlibpath_var
=LIBRARY_PATH
10288 shlibpath_overrides_runpath
=yes
10289 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10290 hardcode_into_libs
=yes
10293 hpux9
* | hpux10
* | hpux11
*)
10294 # Give a soname corresponding to the major version so that dld.sl refuses to
10295 # link against other versions.
10302 hardcode_into_libs
=yes
10303 dynamic_linker
="$host_os dld.so"
10304 shlibpath_var
=LD_LIBRARY_PATH
10305 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 soname_spec
='${libname}${release}${shared_ext}$major'
10308 if test "X$HPUX_IA64_MODE" = X32
; then
10309 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10311 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10313 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10317 hardcode_into_libs
=yes
10318 dynamic_linker
="$host_os dld.sl"
10319 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10320 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10322 soname_spec
='${libname}${release}${shared_ext}$major'
10323 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10324 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10328 dynamic_linker
="$host_os dld.sl"
10329 shlibpath_var
=SHLIB_PATH
10330 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332 soname_spec
='${libname}${release}${shared_ext}$major'
10335 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10336 postinstall_cmds
='chmod 555 $lib'
10337 # or fails outright, so override atomically:
10338 install_override_mode
=555
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10346 soname_spec
='${libname}${release}${shared_ext}$major'
10347 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10348 shlibpath_var
=LD_LIBRARY_PATH
10349 shlibpath_overrides_runpath
=no
10350 hardcode_into_libs
=yes
10353 irix5
* | irix6
* | nonstopux
*)
10355 nonstopux
*) version_type
=nonstopux
;;
10357 if test "$lt_cv_prog_gnu_ld" = yes; then
10365 soname_spec
='${libname}${release}${shared_ext}$major'
10366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10368 irix5
* | nonstopux
*)
10369 libsuff
= shlibsuff
=
10372 case $LD in # libtool.m4 will add one of these switches to LD
10373 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10374 libsuff
= shlibsuff
= libmagic
=32-bit;;
10375 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10376 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10377 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10378 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10379 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10383 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10384 shlibpath_overrides_runpath
=no
10385 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10386 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10387 hardcode_into_libs
=yes
10390 # No shared lib support for Linux oldld, aout, or coff.
10391 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10395 # This must be Linux ELF.
10396 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10401 soname_spec
='${libname}${release}${shared_ext}$major'
10402 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10403 shlibpath_var
=LD_LIBRARY_PATH
10404 shlibpath_overrides_runpath
=no
10406 # Some binutils ld are patched to set DT_RUNPATH
10407 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10408 $as_echo_n "(cached) " >&6
10410 lt_cv_shlibpath_overrides_runpath
=no
10411 save_LDFLAGS
=$LDFLAGS
10412 save_libdir
=$libdir
10413 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10414 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10426 if ac_fn_c_try_link
"$LINENO"; then :
10427 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10428 lt_cv_shlibpath_overrides_runpath
=yes
10431 rm -f core conftest.err conftest.
$ac_objext \
10432 conftest
$ac_exeext conftest.
$ac_ext
10433 LDFLAGS
=$save_LDFLAGS
10434 libdir
=$save_libdir
10438 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10440 # This implies no fast_install, which is unacceptable.
10441 # Some rework will be needed to allow for fast_install
10442 # before this can be enabled.
10443 hardcode_into_libs
=yes
10445 # Append ld.so.conf contents to the search path
10446 if test -f /etc
/ld.so.conf
; then
10447 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' ' '`
10448 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10451 # We used to test for /lib/ld.so.1 and disable shared libraries on
10452 # powerpc, because MkLinux only supported shared libraries with the
10453 # GNU dynamic linker. Since this was broken with cross compilers,
10454 # most powerpc-linux boxes support dynamic linking these days and
10455 # people can always --disable-shared, the test was removed, and we
10456 # assume the GNU/Linux dynamic linker is in use.
10457 dynamic_linker
='GNU/Linux ld.so'
10464 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10467 dynamic_linker
='NetBSD (a.out) ld.so'
10469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10470 soname_spec
='${libname}${release}${shared_ext}$major'
10471 dynamic_linker
='NetBSD ld.elf_so'
10473 shlibpath_var
=LD_LIBRARY_PATH
10474 shlibpath_overrides_runpath
=yes
10475 hardcode_into_libs
=yes
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10481 shlibpath_var
=LD_LIBRARY_PATH
10482 shlibpath_overrides_runpath
=yes
10489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490 soname_spec
='${libname}${release}${shared_ext}$major'
10491 shlibpath_var
=LD_LIBRARY_PATH
10492 shlibpath_overrides_runpath
=no
10493 hardcode_into_libs
=yes
10494 dynamic_linker
='ldqnx.so'
10499 sys_lib_dlsearch_path_spec
="/usr/lib"
10501 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10503 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10504 *) need_version
=no
;;
10506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10507 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10508 shlibpath_var
=LD_LIBRARY_PATH
10509 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10511 openbsd2.
[89] | openbsd2.
[89].
*)
10512 shlibpath_overrides_runpath
=no
10515 shlibpath_overrides_runpath
=yes
10519 shlibpath_overrides_runpath
=yes
10524 libname_spec
='$name'
10527 library_names_spec
='$libname${shared_ext} $libname.a'
10528 dynamic_linker
='OS/2 ld.exe'
10529 shlibpath_var
=LIBPATH
10532 osf3
* | osf4
* | osf5
*)
10536 soname_spec
='${libname}${release}${shared_ext}$major'
10537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 shlibpath_var
=LD_LIBRARY_PATH
10539 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10540 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552 soname_spec
='${libname}${release}${shared_ext}$major'
10553 shlibpath_var
=LD_LIBRARY_PATH
10554 shlibpath_overrides_runpath
=yes
10555 hardcode_into_libs
=yes
10556 # ldd complains unless libraries are executable
10557 postinstall_cmds
='chmod +x $lib'
10562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10563 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10564 shlibpath_var
=LD_LIBRARY_PATH
10565 shlibpath_overrides_runpath
=yes
10566 if test "$with_gnu_ld" = yes; then
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575 soname_spec
='${libname}${release}${shared_ext}$major'
10576 shlibpath_var
=LD_LIBRARY_PATH
10577 case $host_vendor in
10579 shlibpath_overrides_runpath
=no
10581 runpath_var
=LD_RUN_PATH
10589 shlibpath_overrides_runpath
=no
10590 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10596 if test -d /usr
/nec
;then
10598 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10599 soname_spec
='$libname${shared_ext}.$major'
10600 shlibpath_var
=LD_LIBRARY_PATH
10604 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10605 version_type
=freebsd-elf
10608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10609 soname_spec
='${libname}${release}${shared_ext}$major'
10610 shlibpath_var
=LD_LIBRARY_PATH
10611 shlibpath_overrides_runpath
=yes
10612 hardcode_into_libs
=yes
10613 if test "$with_gnu_ld" = yes; then
10614 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10616 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10619 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10623 sys_lib_dlsearch_path_spec
='/usr/lib'
10627 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10632 shlibpath_var
=LD_LIBRARY_PATH
10633 shlibpath_overrides_runpath
=no
10634 hardcode_into_libs
=yes
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640 soname_spec
='${libname}${release}${shared_ext}$major'
10641 shlibpath_var
=LD_LIBRARY_PATH
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10649 $as_echo "$dynamic_linker" >&6; }
10650 test "$dynamic_linker" = no
&& can_build_shared
=no
10652 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10653 if test "$GCC" = yes; then
10654 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10657 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10658 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10660 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10661 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10756 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10758 if test -n "$hardcode_libdir_flag_spec" ||
10759 test -n "$runpath_var" ||
10760 test "X$hardcode_automatic" = "Xyes" ; then
10762 # We can hardcode non-existent directories.
10763 if test "$hardcode_direct" != no
&&
10764 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10765 # have to relink, otherwise we might link with an installed library
10766 # when we should be linking with a yet-to-be-installed one
10767 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10768 test "$hardcode_minus_L" != no
; then
10769 # Linking always hardcodes the temporary library directory.
10770 hardcode_action
=relink
10772 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10773 hardcode_action
=immediate
10776 # We cannot hardcode anything, or else we can only hardcode existing
10778 hardcode_action
=unsupported
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10781 $as_echo "$hardcode_action" >&6; }
10783 if test "$hardcode_action" = relink ||
10784 test "$inherit_rpath" = yes; then
10785 # Fast installation is not supported
10786 enable_fast_install
=no
10787 elif test "$shlibpath_overrides_runpath" = yes ||
10788 test "$enable_shared" = no
; then
10789 # Fast installation is not necessary
10790 enable_fast_install
=needless
10798 if test "x$enable_dlopen" != xyes
; then
10799 enable_dlopen
=unknown
10800 enable_dlopen_self
=unknown
10801 enable_dlopen_self_static
=unknown
10808 lt_cv_dlopen
="load_add_on"
10810 lt_cv_dlopen_self
=yes
10813 mingw
* | pw32
* | cegcc
*)
10814 lt_cv_dlopen
="LoadLibrary"
10819 lt_cv_dlopen
="dlopen"
10824 # if libdl is installed we need to link against it
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10826 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10827 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10828 $as_echo_n "(cached) " >&6
10830 ac_check_lib_save_LIBS
=$LIBS
10832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10850 if ac_fn_c_try_link
"$LINENO"; then :
10851 ac_cv_lib_dl_dlopen
=yes
10853 ac_cv_lib_dl_dlopen
=no
10855 rm -f core conftest.err conftest.
$ac_objext \
10856 conftest
$ac_exeext conftest.
$ac_ext
10857 LIBS
=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10860 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10861 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10862 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10865 lt_cv_dlopen
="dyld"
10867 lt_cv_dlopen_self
=yes
10874 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10875 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10876 lt_cv_dlopen
="shl_load"
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10879 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10880 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10881 $as_echo_n "(cached) " >&6
10883 ac_check_lib_save_LIBS
=$LIBS
10885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10888 /* Override any GCC internal prototype to avoid an error.
10889 Use char because int might match the return type of a GCC
10890 builtin and then its argument prototype would still apply. */
10898 return shl_load ();
10903 if ac_fn_c_try_link
"$LINENO"; then :
10904 ac_cv_lib_dld_shl_load
=yes
10906 ac_cv_lib_dld_shl_load
=no
10908 rm -f core conftest.err conftest.
$ac_objext \
10909 conftest
$ac_exeext conftest.
$ac_ext
10910 LIBS
=$ac_check_lib_save_LIBS
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10913 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10914 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10915 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10917 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10918 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10919 lt_cv_dlopen
="dlopen"
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10922 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10923 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10924 $as_echo_n "(cached) " >&6
10926 ac_check_lib_save_LIBS
=$LIBS
10928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10946 if ac_fn_c_try_link
"$LINENO"; then :
10947 ac_cv_lib_dl_dlopen
=yes
10949 ac_cv_lib_dl_dlopen
=no
10951 rm -f core conftest.err conftest.
$ac_objext \
10952 conftest
$ac_exeext conftest.
$ac_ext
10953 LIBS
=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10956 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10957 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10958 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10961 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10962 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10963 $as_echo_n "(cached) " >&6
10965 ac_check_lib_save_LIBS
=$LIBS
10966 LIBS
="-lsvld $LIBS"
10967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10985 if ac_fn_c_try_link
"$LINENO"; then :
10986 ac_cv_lib_svld_dlopen
=yes
10988 ac_cv_lib_svld_dlopen
=no
10990 rm -f core conftest.err conftest.
$ac_objext \
10991 conftest
$ac_exeext conftest.
$ac_ext
10992 LIBS
=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10995 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10996 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10997 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11000 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11001 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11002 $as_echo_n "(cached) " >&6
11004 ac_check_lib_save_LIBS
=$LIBS
11006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11019 return dld_link ();
11024 if ac_fn_c_try_link
"$LINENO"; then :
11025 ac_cv_lib_dld_dld_link
=yes
11027 ac_cv_lib_dld_dld_link
=no
11029 rm -f core conftest.err conftest.
$ac_objext \
11030 conftest
$ac_exeext conftest.
$ac_ext
11031 LIBS
=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11034 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11035 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11036 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11057 if test "x$lt_cv_dlopen" != xno
; then
11063 case $lt_cv_dlopen in
11065 save_CPPFLAGS
="$CPPFLAGS"
11066 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11068 save_LDFLAGS
="$LDFLAGS"
11069 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11072 LIBS
="$lt_cv_dlopen_libs $LIBS"
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11075 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11076 if test "${lt_cv_dlopen_self+set}" = set; then :
11077 $as_echo_n "(cached) " >&6
11079 if test "$cross_compiling" = yes; then :
11080 lt_cv_dlopen_self
=cross
11082 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11083 lt_status
=$lt_dlunknown
11084 cat > conftest.
$ac_ext <<_LT_EOF
11085 #line 11085 "configure"
11086 #include "confdefs.h"
11095 # define LT_DLGLOBAL RTLD_GLOBAL
11098 # define LT_DLGLOBAL DL_GLOBAL
11100 # define LT_DLGLOBAL 0
11104 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11105 find out it does not work in some platform. */
11106 #ifndef LT_DLLAZY_OR_NOW
11108 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11111 # define LT_DLLAZY_OR_NOW DL_LAZY
11114 # define LT_DLLAZY_OR_NOW RTLD_NOW
11117 # define LT_DLLAZY_OR_NOW DL_NOW
11119 # define LT_DLLAZY_OR_NOW 0
11126 /* When -fvisbility=hidden is used, assume the code has been annotated
11127 correspondingly for the symbols needed. */
11128 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11129 void fnord () __attribute__((visibility("default")));
11132 void fnord () { int i=42; }
11135 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11136 int status = $lt_dlunknown;
11140 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11143 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11144 else puts (dlerror ());
11146 /* dlclose (self); */
11154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11155 (eval $ac_link) 2>&5
11157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11158 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11159 (.
/conftest
; exit; ) >&5 2>/dev
/null
11161 case x
$lt_status in
11162 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11163 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11164 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11167 # compilation failed
11168 lt_cv_dlopen_self
=no
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11176 $as_echo "$lt_cv_dlopen_self" >&6; }
11178 if test "x$lt_cv_dlopen_self" = xyes
; then
11179 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11181 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11182 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11183 $as_echo_n "(cached) " >&6
11185 if test "$cross_compiling" = yes; then :
11186 lt_cv_dlopen_self_static
=cross
11188 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11189 lt_status
=$lt_dlunknown
11190 cat > conftest.
$ac_ext <<_LT_EOF
11191 #line 11191 "configure"
11192 #include "confdefs.h"
11201 # define LT_DLGLOBAL RTLD_GLOBAL
11204 # define LT_DLGLOBAL DL_GLOBAL
11206 # define LT_DLGLOBAL 0
11210 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11211 find out it does not work in some platform. */
11212 #ifndef LT_DLLAZY_OR_NOW
11214 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11217 # define LT_DLLAZY_OR_NOW DL_LAZY
11220 # define LT_DLLAZY_OR_NOW RTLD_NOW
11223 # define LT_DLLAZY_OR_NOW DL_NOW
11225 # define LT_DLLAZY_OR_NOW 0
11232 /* When -fvisbility=hidden is used, assume the code has been annotated
11233 correspondingly for the symbols needed. */
11234 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11235 void fnord () __attribute__((visibility("default")));
11238 void fnord () { int i=42; }
11241 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11242 int status = $lt_dlunknown;
11246 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11249 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11250 else puts (dlerror ());
11252 /* dlclose (self); */
11260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11261 (eval $ac_link) 2>&5
11263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11264 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11265 (.
/conftest
; exit; ) >&5 2>/dev
/null
11267 case x
$lt_status in
11268 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11269 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11270 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11273 # compilation failed
11274 lt_cv_dlopen_self_static
=no
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11282 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11285 CPPFLAGS
="$save_CPPFLAGS"
11286 LDFLAGS
="$save_LDFLAGS"
11291 case $lt_cv_dlopen_self in
11292 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11293 *) enable_dlopen_self
=unknown
;;
11296 case $lt_cv_dlopen_self_static in
11297 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11298 *) enable_dlopen_self_static
=unknown
;;
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11321 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11322 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11323 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11324 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11326 $as_echo "yes" >&6; }
11328 # FIXME - insert some real tests, host_os isn't really good enough
11331 if test -n "$STRIP" ; then
11332 striplib
="$STRIP -x"
11333 old_striplib
="$STRIP -S"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11335 $as_echo "yes" >&6; }
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11338 $as_echo "no" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11343 $as_echo "no" >&6; }
11359 # Report which library types will actually be built
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11361 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11363 $as_echo "$can_build_shared" >&6; }
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11366 $as_echo_n "checking whether to build shared libraries... " >&6; }
11367 test "$can_build_shared" = "no" && enable_shared
=no
11369 # On AIX, shared libraries and static libraries use the same namespace, and
11370 # are all built from PIC.
11373 test "$enable_shared" = yes && enable_static
=no
11374 if test -n "$RANLIB"; then
11375 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11376 postinstall_cmds
='$RANLIB $lib'
11381 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11382 test "$enable_shared" = yes && enable_static
=no
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11387 $as_echo "$enable_shared" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11390 $as_echo_n "checking whether to build static libraries... " >&6; }
11391 # Make sure either enable_shared or enable_static is yes.
11392 test "$enable_shared" = yes || enable_static
=yes
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11394 $as_echo "$enable_static" >&6; }
11401 ac_cpp
='$CPP $CPPFLAGS'
11402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11420 ac_config_commands
="$ac_config_commands libtool"
11425 # Only expand once:
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11433 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11434 # Check whether --enable-maintainer-mode was given.
11435 if test "${enable_maintainer_mode+set}" = set; then :
11436 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11438 USE_MAINTAINER_MODE
=no
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11442 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11443 if test $USE_MAINTAINER_MODE = yes; then
11444 MAINTAINER_MODE_TRUE
=
11445 MAINTAINER_MODE_FALSE
='#'
11447 MAINTAINER_MODE_TRUE
='#'
11448 MAINTAINER_MODE_FALSE
=
11451 MAINT
=$MAINTAINER_MODE_TRUE
11455 # We need gfortran to compile parts of the library
11456 # We can't use AC_PROG_FC because it expects a fully working gfortran.
11457 #AC_PROG_FC(gfortran)
11458 case `echo $GFORTRAN` in
11464 ac_ext
=${ac_fc_srcext-f}
11465 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11466 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11467 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11468 if test -n "$ac_tool_prefix"; then
11469 for ac_prog
in gfortran
11471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11472 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11474 $as_echo_n "checking for $ac_word... " >&6; }
11475 if test "${ac_cv_prog_FC+set}" = set; then :
11476 $as_echo_n "(cached) " >&6
11478 if test -n "$FC"; then
11479 ac_cv_prog_FC
="$FC" # Let the user override the test.
11481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11482 for as_dir
in $PATH
11485 test -z "$as_dir" && as_dir
=.
11486 for ac_exec_ext
in '' $ac_executable_extensions; do
11487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11488 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11499 if test -n "$FC"; then
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11501 $as_echo "$FC" >&6; }
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11504 $as_echo "no" >&6; }
11508 test -n "$FC" && break
11511 if test -z "$FC"; then
11513 for ac_prog
in gfortran
11515 # Extract the first word of "$ac_prog", so it can be a program name with args.
11516 set dummy
$ac_prog; ac_word
=$2
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11518 $as_echo_n "checking for $ac_word... " >&6; }
11519 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11520 $as_echo_n "(cached) " >&6
11522 if test -n "$ac_ct_FC"; then
11523 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11526 for as_dir
in $PATH
11529 test -z "$as_dir" && as_dir
=.
11530 for ac_exec_ext
in '' $ac_executable_extensions; do
11531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11532 ac_cv_prog_ac_ct_FC
="$ac_prog"
11533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11542 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11543 if test -n "$ac_ct_FC"; then
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11545 $as_echo "$ac_ct_FC" >&6; }
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11548 $as_echo "no" >&6; }
11552 test -n "$ac_ct_FC" && break
11555 if test "x$ac_ct_FC" = x
; then
11558 case $cross_compiling:$ac_tool_warned in
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11562 ac_tool_warned
=yes ;;
11569 # Provide some information about the compiler.
11570 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11573 for ac_option
in --version -v -V -qversion; do
11574 { { ac_try
="$ac_compiler $ac_option >&5"
11575 case "(($ac_try" in
11576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11577 *) ac_try_echo=$ac_try;;
11579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11580 $as_echo "$ac_try_echo"; } >&5
11581 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11583 if test -s conftest.err; then
11585 ... rest of stderr output deleted ...
11586 10q' conftest.err >conftest.er1
11587 cat conftest.er1 >&5
11588 rm -f conftest.er1 conftest.err
11590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11591 test $ac_status = 0; }
11595 # If we don't use `.F
' as extension, the preprocessor is not run on the
11596 # input file. (Note that this only needs to work for GNU compilers.)
11597 ac_save_ext=$ac_ext
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11600 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11601 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11602 $as_echo_n "(cached) " >&6
11604 cat > conftest.$ac_ext <<_ACEOF
11612 if ac_fn_fc_try_compile "$LINENO"; then :
11613 ac_compiler_gnu=yes
11617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11618 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11622 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11623 ac_ext=$ac_save_ext
11624 ac_test_FCFLAGS=${FCFLAGS+set}
11625 ac_save_FCFLAGS=$FCFLAGS
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11628 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11629 if test "${ac_cv_prog_fc_g+set}" = set; then :
11630 $as_echo_n "(cached) " >&6
11633 cat > conftest.$ac_ext <<_ACEOF
11638 if ac_fn_fc_try_compile "$LINENO"; then :
11639 ac_cv_prog_fc_g=yes
11643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11647 $as_echo "$ac_cv_prog_fc_g" >&6; }
11648 if test "$ac_test_FCFLAGS" = set; then
11649 FCFLAGS=$ac_save_FCFLAGS
11650 elif test $ac_cv_prog_fc_g = yes; then
11651 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11657 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11665 ac_cpp='$CPP $CPPFLAGS'
11666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11667 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11670 ac_ext=${ac_fc_srcext-f}
11671 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11672 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11673 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11676 if test -z "$FC" || test "X$FC" = "Xno"; then
11680 archive_cmds_need_lc_FC=no
11681 allow_undefined_flag_FC=
11682 always_export_symbols_FC=no
11683 archive_expsym_cmds_FC=
11684 export_dynamic_flag_spec_FC=
11685 hardcode_direct_FC=no
11686 hardcode_direct_absolute_FC=no
11687 hardcode_libdir_flag_spec_FC=
11688 hardcode_libdir_flag_spec_ld_FC=
11689 hardcode_libdir_separator_FC=
11690 hardcode_minus_L_FC=no
11691 hardcode_automatic_FC=no
11692 inherit_rpath_FC=no
11694 module_expsym_cmds_FC=
11695 link_all_deplibs_FC=unknown
11696 old_archive_cmds_FC=$old_archive_cmds
11697 reload_flag_FC=$reload_flag
11698 reload_cmds_FC=$reload_cmds
11699 no_undefined_flag_FC=
11700 whole_archive_flag_spec_FC=
11701 enable_shared_with_static_runtimes_FC=no
11703 # Source file extension for fc test sources.
11704 ac_ext=${ac_fc_srcext-f}
11706 # Object file extension for compiled fc test sources.
11710 # No sense in running all these tests if we already determined that
11711 # the FC compiler isn't working. Some variables
(like enable_shared
)
11712 # are currently assumed to apply to all compilers on this platform,
11713 # and will be corrupted by setting them based on a non-working compiler.
11714 if test "$_lt_disable_FC" != yes; then
11715 # Code to be used in simple compile tests
11716 lt_simple_compile_test_code
="\
11722 # Code to be used in simple link tests
11723 lt_simple_link_test_code
="\
11728 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11735 # If no C compiler was specified, use CC.
11738 # If no C compiler flags were specified, use CFLAGS.
11739 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11741 # Allow CC to be a program name with arguments.
11745 # save warnings/boilerplate of simple test code
11746 ac_outfile
=conftest.
$ac_objext
11747 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11748 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11749 _lt_compiler_boilerplate
=`cat conftest.err`
11752 ac_outfile
=conftest.
$ac_objext
11753 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11754 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11755 _lt_linker_boilerplate
=`cat conftest.err`
11759 # Allow CC to be a program name with arguments.
11764 GCC
=$ac_cv_fc_compiler_gnu
11767 for cc_temp
in $compiler""; do
11769 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11770 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11775 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11778 if test -n "$compiler"; then
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11780 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11782 $as_echo "$can_build_shared" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11785 $as_echo_n "checking whether to build shared libraries... " >&6; }
11786 test "$can_build_shared" = "no" && enable_shared
=no
11788 # On AIX, shared libraries and static libraries use the same namespace, and
11789 # are all built from PIC.
11792 test "$enable_shared" = yes && enable_static
=no
11793 if test -n "$RANLIB"; then
11794 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11795 postinstall_cmds
='$RANLIB $lib'
11799 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11800 test "$enable_shared" = yes && enable_static
=no
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11805 $as_echo "$enable_shared" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11808 $as_echo_n "checking whether to build static libraries... " >&6; }
11809 # Make sure either enable_shared or enable_static is yes.
11810 test "$enable_shared" = yes || enable_static
=yes
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11812 $as_echo "$enable_static" >&6; }
11814 GCC_FC
="$ac_cv_fc_compiler_gnu"
11818 ## There is no encapsulation within the following macros, do not change
11819 ## the running order or otherwise move them around unless you know exactly
11820 ## what you are doing...
11821 # Dependencies to place before and after the object being linked:
11823 postdep_objects_FC
=
11826 compiler_lib_search_path_FC
=
11828 cat > conftest.
$ac_ext <<_LT_EOF
11837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11838 (eval $ac_compile) 2>&5
11840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11841 test $ac_status = 0; }; then
11842 # Parse the compiler output and extract the necessary
11843 # objects, libraries and library flags.
11845 # Sentinel used to keep track of whether or not we are before
11846 # the conftest object file.
11847 pre_test_object_deps_done
=no
11849 for p
in `eval "$output_verbose_link_cmd"`; do
11853 # Some compilers place space between "-{L,R}" and the path.
11854 # Remove the space.
11855 if test $p = "-L" ||
11856 test $p = "-R"; then
11863 if test "$pre_test_object_deps_done" = no
; then
11866 # Internal compiler library paths should come after those
11867 # provided the user. The postdeps already come after the
11868 # user supplied libs so there is no need to process them.
11869 if test -z "$compiler_lib_search_path_FC"; then
11870 compiler_lib_search_path_FC
="${prev}${p}"
11872 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
11875 # The "-l" case would never come before the object being
11876 # linked, so don't bother handling this case.
11879 if test -z "$postdeps_FC"; then
11880 postdeps_FC
="${prev}${p}"
11882 postdeps_FC
="${postdeps_FC} ${prev}${p}"
11888 # This assumes that the test object file only shows up
11889 # once in the compiler output.
11890 if test "$p" = "conftest.$objext"; then
11891 pre_test_object_deps_done
=yes
11895 if test "$pre_test_object_deps_done" = no
; then
11896 if test -z "$predep_objects_FC"; then
11897 predep_objects_FC
="$p"
11899 predep_objects_FC
="$predep_objects_FC $p"
11902 if test -z "$postdep_objects_FC"; then
11903 postdep_objects_FC
="$p"
11905 postdep_objects_FC
="$postdep_objects_FC $p"
11910 *) ;; # Ignore the rest.
11918 echo "libtool.m4: error: problem compiling FC test program"
11921 $RM -f confest.
$objext
11923 # PORTME: override above test on systems where it is broken
11926 case " $postdeps_FC " in
11927 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
11929 compiler_lib_search_dirs_FC
=
11930 if test -n "${compiler_lib_search_path_FC}"; then
11931 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11964 lt_prog_compiler_wl_FC
=
11965 lt_prog_compiler_pic_FC
=
11966 lt_prog_compiler_static_FC
=
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11969 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11971 if test "$GCC" = yes; then
11972 lt_prog_compiler_wl_FC
='-Wl,'
11973 lt_prog_compiler_static_FC
='-static'
11977 # All AIX code is PIC.
11978 if test "$host_cpu" = ia64
; then
11979 # AIX 5 now supports IA64 processor
11980 lt_prog_compiler_static_FC
='-Bstatic'
11987 # see comment about AmigaOS4 .so support
11988 lt_prog_compiler_pic_FC
='-fPIC'
11991 # FIXME: we need at least 68020 code to build shared libraries, but
11992 # adding the `-m68020' flag to GCC prevents building anything better,
11994 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
11999 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12000 # PIC is the default for these OSes.
12003 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12004 # This hack is so that the source file can tell whether it is being
12005 # built for inclusion in a dll (and should export symbols for example).
12006 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12007 # (--disable-auto-import) libraries
12008 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12011 darwin
* | rhapsody
*)
12012 # PIC is the default on this platform
12013 # Common symbols not allowed in MH_DYLIB files
12014 lt_prog_compiler_pic_FC
='-fno-common'
12018 # PIC is the default for Haiku.
12019 # The "-static" flag exists, but is broken.
12020 lt_prog_compiler_static_FC
=
12024 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12025 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12026 # sets the default TLS model and affects inlining.
12032 lt_prog_compiler_pic_FC
='-fPIC'
12038 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12039 # Instead, we relocate shared libraries at runtime.
12043 # Just because we use GCC doesn't mean we suddenly get shared libraries
12044 # on systems that don't support them.
12045 lt_prog_compiler_can_build_shared_FC
=no
12050 # QNX uses GNU C++, but need to define -shared option too, otherwise
12051 # it will coredump.
12052 lt_prog_compiler_pic_FC
='-fPIC -shared'
12056 if test -d /usr
/nec
; then
12057 lt_prog_compiler_pic_FC
=-Kconform_pic
12062 lt_prog_compiler_pic_FC
='-fPIC'
12066 case $cc_basename in
12067 nvcc
*) # Cuda Compiler Driver 2.2
12068 lt_prog_compiler_wl_FC
='-Xlinker '
12069 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12073 # PORTME Check for flag to pass linker flags through the system compiler.
12076 lt_prog_compiler_wl_FC
='-Wl,'
12077 if test "$host_cpu" = ia64
; then
12078 # AIX 5 now supports IA64 processor
12079 lt_prog_compiler_static_FC
='-Bstatic'
12081 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12085 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12086 # This hack is so that the source file can tell whether it is being
12087 # built for inclusion in a dll (and should export symbols for example).
12088 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12091 hpux9
* | hpux10
* | hpux11
*)
12092 lt_prog_compiler_wl_FC
='-Wl,'
12093 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12094 # not for PA HP-UX.
12100 lt_prog_compiler_pic_FC
='+Z'
12103 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12104 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12107 irix5
* | irix6
* | nonstopux
*)
12108 lt_prog_compiler_wl_FC
='-Wl,'
12109 # PIC (with -KPIC) is the default.
12110 lt_prog_compiler_static_FC
='-non_shared'
12113 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12114 case $cc_basename in
12115 # old Intel for x86_64 which still supported -KPIC.
12117 lt_prog_compiler_wl_FC
='-Wl,'
12118 lt_prog_compiler_pic_FC
='-KPIC'
12119 lt_prog_compiler_static_FC
='-static'
12121 # icc used to be incompatible with GCC.
12122 # ICC 10 doesn't accept -KPIC any more.
12124 lt_prog_compiler_wl_FC
='-Wl,'
12125 lt_prog_compiler_pic_FC
='-fPIC'
12126 lt_prog_compiler_static_FC
='-static'
12128 # Lahey Fortran 8.1.
12130 lt_prog_compiler_wl_FC
='-Wl,'
12131 lt_prog_compiler_pic_FC
='--shared'
12132 lt_prog_compiler_static_FC
='--static'
12134 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12135 # Portland Group compilers (*not* the Pentium gcc compiler,
12136 # which looks to be a dead project)
12137 lt_prog_compiler_wl_FC
='-Wl,'
12138 lt_prog_compiler_pic_FC
='-fpic'
12139 lt_prog_compiler_static_FC
='-Bstatic'
12142 lt_prog_compiler_wl_FC
='-Wl,'
12143 # All Alpha code is PIC.
12144 lt_prog_compiler_static_FC
='-non_shared'
12146 xl
* | bgxl
* | bgf
* | mpixl
*)
12147 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12148 lt_prog_compiler_wl_FC
='-Wl,'
12149 lt_prog_compiler_pic_FC
='-qpic'
12150 lt_prog_compiler_static_FC
='-qstaticlink'
12153 case `$CC -V 2>&1 | sed 5q` in
12154 *Sun\ F
* |
*Sun
*Fortran
*)
12155 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12156 lt_prog_compiler_pic_FC
='-KPIC'
12157 lt_prog_compiler_static_FC
='-Bstatic'
12158 lt_prog_compiler_wl_FC
=''
12162 lt_prog_compiler_pic_FC
='-KPIC'
12163 lt_prog_compiler_static_FC
='-Bstatic'
12164 lt_prog_compiler_wl_FC
='-Wl,'
12172 lt_prog_compiler_pic_FC
='-KPIC'
12173 lt_prog_compiler_static_FC
='-Bstatic'
12177 # QNX uses GNU C++, but need to define -shared option too, otherwise
12178 # it will coredump.
12179 lt_prog_compiler_pic_FC
='-fPIC -shared'
12182 osf3
* | osf4
* | osf5
*)
12183 lt_prog_compiler_wl_FC
='-Wl,'
12184 # All OSF/1 code is PIC.
12185 lt_prog_compiler_static_FC
='-non_shared'
12189 lt_prog_compiler_static_FC
='-non_shared'
12193 lt_prog_compiler_pic_FC
='-KPIC'
12194 lt_prog_compiler_static_FC
='-Bstatic'
12195 case $cc_basename in
12196 f77
* | f90
* | f95
*)
12197 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12199 lt_prog_compiler_wl_FC
='-Wl,';;
12204 lt_prog_compiler_wl_FC
='-Qoption ld '
12205 lt_prog_compiler_pic_FC
='-PIC'
12206 lt_prog_compiler_static_FC
='-Bstatic'
12209 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12210 lt_prog_compiler_wl_FC
='-Wl,'
12211 lt_prog_compiler_pic_FC
='-KPIC'
12212 lt_prog_compiler_static_FC
='-Bstatic'
12216 if test -d /usr
/nec
;then
12217 lt_prog_compiler_pic_FC
='-Kconform_pic'
12218 lt_prog_compiler_static_FC
='-Bstatic'
12222 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12223 lt_prog_compiler_wl_FC
='-Wl,'
12224 lt_prog_compiler_pic_FC
='-KPIC'
12225 lt_prog_compiler_static_FC
='-Bstatic'
12229 lt_prog_compiler_wl_FC
='-Wl,'
12230 lt_prog_compiler_can_build_shared_FC
=no
12234 lt_prog_compiler_pic_FC
='-pic'
12235 lt_prog_compiler_static_FC
='-Bstatic'
12239 lt_prog_compiler_can_build_shared_FC
=no
12245 # For platforms which do not support PIC, -DPIC is meaningless:
12247 lt_prog_compiler_pic_FC
=
12250 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12254 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12259 # Check to make sure the PIC flag actually works.
12261 if test -n "$lt_prog_compiler_pic_FC"; then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12263 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12264 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12265 $as_echo_n "(cached) " >&6
12267 lt_cv_prog_compiler_pic_works_FC
=no
12268 ac_outfile
=conftest.
$ac_objext
12269 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12270 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12271 # Insert the option either (1) after the last *FLAGS variable, or
12272 # (2) before a word containing "conftest.", or (3) at the end.
12273 # Note that $ac_compile itself does not contain backslashes and begins
12274 # with a dollar sign (not a hyphen), so the echo should work correctly.
12275 # The option is referenced via a variable to avoid confusing sed.
12276 lt_compile
=`echo "$ac_compile" | $SED \
12277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12279 -e 's:$: $lt_compiler_flag:'`
12280 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12281 (eval "$lt_compile" 2>conftest.err
)
12283 cat conftest.err
>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 if (exit $ac_status) && test -s "$ac_outfile"; then
12286 # The compiler can only warn and ignore the option if not recognized
12287 # So say no if there are warnings other than the usual output.
12288 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12289 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12290 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12291 lt_cv_prog_compiler_pic_works_FC
=yes
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12298 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12300 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12301 case $lt_prog_compiler_pic_FC in
12303 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12306 lt_prog_compiler_pic_FC
=
12307 lt_prog_compiler_can_build_shared_FC
=no
12315 # Check to make sure the static flag actually works.
12317 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12319 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12320 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12321 $as_echo_n "(cached) " >&6
12323 lt_cv_prog_compiler_static_works_FC
=no
12324 save_LDFLAGS
="$LDFLAGS"
12325 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12326 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12327 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12328 # The linker can only warn and ignore the option if not recognized
12329 # So say no if there are warnings
12330 if test -s conftest.err
; then
12331 # Append any errors to the config.log.
12332 cat conftest.err
1>&5
12333 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12334 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12335 if diff conftest.exp conftest.er2
>/dev
/null
; then
12336 lt_cv_prog_compiler_static_works_FC
=yes
12339 lt_cv_prog_compiler_static_works_FC
=yes
12343 LDFLAGS
="$save_LDFLAGS"
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12347 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12349 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12352 lt_prog_compiler_static_FC
=
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12359 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12360 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12361 $as_echo_n "(cached) " >&6
12363 lt_cv_prog_compiler_c_o_FC
=no
12364 $RM -r conftest
2>/dev
/null
12368 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12370 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12371 # Insert the option either (1) after the last *FLAGS variable, or
12372 # (2) before a word containing "conftest.", or (3) at the end.
12373 # Note that $ac_compile itself does not contain backslashes and begins
12374 # with a dollar sign (not a hyphen), so the echo should work correctly.
12375 lt_compile
=`echo "$ac_compile" | $SED \
12376 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12377 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12378 -e 's:$: $lt_compiler_flag:'`
12379 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12380 (eval "$lt_compile" 2>out
/conftest.err
)
12382 cat out
/conftest.err
>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12386 # The compiler can only warn and ignore the option if not recognized
12387 # So say no if there are warnings
12388 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12389 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12390 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12391 lt_cv_prog_compiler_c_o_FC
=yes
12396 # SGI C++ compiler will create directory out/ii_files/ for
12397 # template instantiation
12398 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12399 $RM out
/* && rmdir out
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12406 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12411 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12412 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12413 $as_echo_n "(cached) " >&6
12415 lt_cv_prog_compiler_c_o_FC
=no
12416 $RM -r conftest
2>/dev
/null
12420 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12422 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12423 # Insert the option either (1) after the last *FLAGS variable, or
12424 # (2) before a word containing "conftest.", or (3) at the end.
12425 # Note that $ac_compile itself does not contain backslashes and begins
12426 # with a dollar sign (not a hyphen), so the echo should work correctly.
12427 lt_compile
=`echo "$ac_compile" | $SED \
12428 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12429 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12430 -e 's:$: $lt_compiler_flag:'`
12431 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12432 (eval "$lt_compile" 2>out
/conftest.err
)
12434 cat out
/conftest.err
>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12438 # The compiler can only warn and ignore the option if not recognized
12439 # So say no if there are warnings
12440 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12441 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12442 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12443 lt_cv_prog_compiler_c_o_FC
=yes
12448 # SGI C++ compiler will create directory out/ii_files/ for
12449 # template instantiation
12450 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12451 $RM out
/* && rmdir out
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12458 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12463 hard_links
="nottested"
12464 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12465 # do not overwrite the value of need_locks provided by the user
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12467 $as_echo_n "checking if we can lock with hard links... " >&6; }
12470 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12472 ln conftest.a conftest.b
2>&5 || hard_links
=no
12473 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12475 $as_echo "$hard_links" >&6; }
12476 if test "$hard_links" = no
; then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12478 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12488 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12491 allow_undefined_flag_FC
=
12492 always_export_symbols_FC
=no
12494 archive_expsym_cmds_FC
=
12495 compiler_needs_object_FC
=no
12496 enable_shared_with_static_runtimes_FC
=no
12497 export_dynamic_flag_spec_FC
=
12498 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12499 hardcode_automatic_FC
=no
12500 hardcode_direct_FC
=no
12501 hardcode_direct_absolute_FC
=no
12502 hardcode_libdir_flag_spec_FC
=
12503 hardcode_libdir_flag_spec_ld_FC
=
12504 hardcode_libdir_separator_FC
=
12505 hardcode_minus_L_FC
=no
12506 hardcode_shlibpath_var_FC
=unsupported
12507 inherit_rpath_FC
=no
12508 link_all_deplibs_FC
=unknown
12510 module_expsym_cmds_FC
=
12511 old_archive_from_new_cmds_FC
=
12512 old_archive_from_expsyms_cmds_FC
=
12513 thread_safe_flag_spec_FC
=
12514 whole_archive_flag_spec_FC
=
12515 # include_expsyms should be a list of space-separated symbols to be *always*
12516 # included in the symbol list
12517 include_expsyms_FC
=
12518 # exclude_expsyms can be an extended regexp of symbols to exclude
12519 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12520 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12521 # as well as any symbol that contains `d'.
12522 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12523 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12524 # platforms (ab)use it in PIC code, but their linkers get confused if
12525 # the symbol is explicitly referenced. Since portable code cannot
12526 # rely on this symbol name, it's probably fine to never include it in
12527 # preloaded symbol tables.
12528 # Exclude shared library initialization/finalization symbols.
12529 extract_expsyms_cmds
=
12532 cygwin
* | mingw
* | pw32
* | cegcc
*)
12533 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12534 # When not using gcc, we currently assume that we are using
12535 # Microsoft Visual C++.
12536 if test "$GCC" != yes; then
12541 # we just hope/assume this is gcc and not c89 (= MSVC++)
12551 # On some targets, GNU ld is compatible enough with the native linker
12552 # that we're better off using the native interface for both.
12553 lt_use_gnu_ld_interface
=no
12554 if test "$with_gnu_ld" = yes; then
12557 # The AIX port of GNU ld has always aspired to compatibility
12558 # with the native linker. However, as the warning in the GNU ld
12559 # block says, versions before 2.19.5* couldn't really create working
12560 # shared libraries, regardless of the interface used.
12561 case `$LD -v 2>&1` in
12562 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12563 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12564 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12566 lt_use_gnu_ld_interface
=yes
12571 lt_use_gnu_ld_interface
=yes
12576 if test "$lt_use_gnu_ld_interface" = yes; then
12577 # If archive_cmds runs LD, not CC, wlarc should be empty
12580 # Set some defaults for GNU ld with shared library support. These
12581 # are reset later if shared libraries are not supported. Putting them
12582 # here allows them to be overridden if necessary.
12583 runpath_var
=LD_RUN_PATH
12584 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12585 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12586 # ancient GNU ld didn't support --whole-archive et. al.
12587 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12588 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12590 whole_archive_flag_spec_FC
=
12592 supports_anon_versioning
=no
12593 case `$LD -v 2>&1` in
12594 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12595 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12596 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12597 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12598 *\
2.11.
*) ;; # other 2.11 versions
12599 *) supports_anon_versioning
=yes ;;
12602 # See if GNU ld supports shared libraries.
12605 # On AIX/PPC, the GNU linker is very broken
12606 if test "$host_cpu" != ia64
; then
12610 *** Warning: the GNU linker, at least up to release 2.19, is reported
12611 *** to be unable to reliably create shared libraries on AIX.
12612 *** Therefore, libtool is disabling shared libraries support. If you
12613 *** really care for shared libraries, you may want to install binutils
12614 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12615 *** You will then need to restart the configuration process.
12624 # see comment about AmigaOS4 .so support
12625 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12626 archive_expsym_cmds_FC
=''
12629 archive_cmds_FC
='$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)'
12630 hardcode_libdir_flag_spec_FC
='-L$libdir'
12631 hardcode_minus_L_FC
=yes
12637 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12638 allow_undefined_flag_FC
=unsupported
12639 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12640 # support --undefined. This deserves some investigation. FIXME
12641 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12647 cygwin
* | mingw
* | pw32
* | cegcc
*)
12648 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12649 # as there is no search path for DLLs.
12650 hardcode_libdir_flag_spec_FC
='-L$libdir'
12651 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
12652 allow_undefined_flag_FC
=unsupported
12653 always_export_symbols_FC
=no
12654 enable_shared_with_static_runtimes_FC
=yes
12655 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12657 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12658 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12659 # If the export-symbols file already is a .def file (1st line
12660 # is EXPORTS), use it as is; otherwise, prepend...
12661 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12662 cp $export_symbols $output_objdir/$soname.def;
12664 echo EXPORTS > $output_objdir/$soname.def;
12665 cat $export_symbols >> $output_objdir/$soname.def;
12667 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12674 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12675 link_all_deplibs_FC
=yes
12679 hardcode_direct_FC
=no
12680 hardcode_shlibpath_var_FC
=no
12681 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12682 export_dynamic_flag_spec_FC
='${wl}-E'
12683 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12684 # Instead, shared libraries are loaded at an image base (0x10000000 by
12685 # default) and relocated if they conflict, which is a slow very memory
12686 # consuming and fragmenting process. To avoid this, we pick a random,
12687 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12688 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12689 archive_cmds_FC
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12690 archive_expsym_cmds_FC
='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'
12693 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12695 if test "$host_os" = linux-dietlibc
; then
12696 case $cc_basename in
12697 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12700 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12701 && test "$tmp_diet" = no
12704 tmp_sharedflag
='-shared'
12705 case $cc_basename,$host_cpu in
12706 pgcc
*) # Portland Group C compiler
12707 whole_archive_flag_spec_FC
='${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'
12708 tmp_addflag
=' $pic_flag'
12710 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12711 # Portland Group f77 and f90 compilers
12712 whole_archive_flag_spec_FC
='${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'
12713 tmp_addflag
=' $pic_flag -Mnomain' ;;
12714 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12715 tmp_addflag
=' -i_dynamic' ;;
12716 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12717 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12718 ifc
* | ifort
*) # Intel Fortran compiler
12719 tmp_addflag
=' -nofor_main' ;;
12720 lf95
*) # Lahey Fortran 8.1
12721 whole_archive_flag_spec_FC
=
12722 tmp_sharedflag
='--shared' ;;
12723 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12724 tmp_sharedflag
='-qmkshrobj'
12726 nvcc
*) # Cuda Compiler Driver 2.2
12727 whole_archive_flag_spec_FC
='${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'
12728 compiler_needs_object_FC
=yes
12731 case `$CC -V 2>&1 | sed 5q` in
12732 *Sun\ C
*) # Sun C 5.9
12733 whole_archive_flag_spec_FC
='${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'
12734 compiler_needs_object_FC
=yes
12735 tmp_sharedflag
='-G' ;;
12736 *Sun\ F
*) # Sun Fortran 8.3
12737 tmp_sharedflag
='-G' ;;
12739 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12741 if test "x$supports_anon_versioning" = xyes
; then
12742 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12743 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12744 echo "local: *; };" >> $output_objdir/$libname.ver~
12745 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12748 case $cc_basename in
12749 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12750 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12751 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12752 hardcode_libdir_flag_spec_FC
=
12753 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12754 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12755 if test "x$supports_anon_versioning" = xyes
; then
12756 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12757 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12758 echo "local: *; };" >> $output_objdir/$libname.ver~
12759 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12769 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12770 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12773 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12774 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12779 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12783 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12784 *** create shared libraries on Solaris systems. Therefore, libtool
12785 *** is disabling shared libraries support. We urge you to upgrade GNU
12786 *** binutils to release 2.9.1 or newer. Another option is to modify
12787 *** your PATH or compiler configuration so that the native linker is
12788 *** used, and then restart.
12791 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12792 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12793 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12799 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12800 case `$LD -v 2>&1` in
12801 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12805 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12806 *** reliably create shared libraries on SCO systems. Therefore, libtool
12807 *** is disabling shared libraries support. We urge you to upgrade GNU
12808 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12809 *** your PATH or compiler configuration so that the native linker is
12810 *** used, and then restart.
12815 # For security reasons, it is highly recommended that you always
12816 # use absolute paths for naming shared libraries, and exclude the
12817 # DT_RUNPATH tag from executables and libraries. But doing so
12818 # requires that you compile everything twice, which is a pain.
12819 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12820 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12821 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12822 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12831 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12833 hardcode_direct_FC
=yes
12834 hardcode_shlibpath_var_FC
=no
12838 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12839 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12840 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12847 if test "$ld_shlibs_FC" = no
; then
12849 hardcode_libdir_flag_spec_FC
=
12850 export_dynamic_flag_spec_FC
=
12851 whole_archive_flag_spec_FC
=
12854 # PORTME fill in a description of your system's linker (not GNU ld)
12857 allow_undefined_flag_FC
=unsupported
12858 always_export_symbols_FC
=yes
12859 archive_expsym_cmds_FC
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12860 # Note: this linker hardcodes the directories in LIBPATH if there
12861 # are no directories specified by -L.
12862 hardcode_minus_L_FC
=yes
12863 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12864 # Neither direct hardcoding nor static linking is supported with a
12866 hardcode_direct_FC
=unsupported
12871 if test "$host_cpu" = ia64
; then
12872 # On IA64, the linker does run time linking by default, so we don't
12873 # have to do anything special.
12874 aix_use_runtimelinking
=no
12875 exp_sym_flag
='-Bexport'
12878 # If we're using GNU nm, then we don't want the "-C" option.
12879 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12880 # Also, AIX nm treats weak defined symbols like other global
12881 # defined symbols, whereas GNU nm marks them as "W".
12882 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12883 export_symbols_cmds_FC
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12885 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12887 aix_use_runtimelinking
=no
12889 # Test if we are trying to use run time linking or normal
12890 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12891 # need to do runtime linking.
12892 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12893 for ld_flag
in $LDFLAGS; do
12894 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12895 aix_use_runtimelinking
=yes
12902 exp_sym_flag
='-bexport'
12903 no_entry_flag
='-bnoentry'
12906 # When large executables or shared objects are built, AIX ld can
12907 # have problems creating the table of contents. If linking a library
12908 # or program results in "error TOC overflow" add -mminimal-toc to
12909 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12910 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12913 hardcode_direct_FC
=yes
12914 hardcode_direct_absolute_FC
=yes
12915 hardcode_libdir_separator_FC
=':'
12916 link_all_deplibs_FC
=yes
12917 file_list_spec_FC
='${wl}-f,'
12919 if test "$GCC" = yes; then
12920 case $host_os in aix4.
[012]|aix4.
[012].
*)
12921 # We only want to do this on AIX 4.2 and lower, the check
12922 # below for broken collect2 doesn't work under 4.3+
12923 collect2name
=`${CC} -print-prog-name=collect2`
12924 if test -f "$collect2name" &&
12925 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12927 # We have reworked collect2
12930 # We have old collect2
12931 hardcode_direct_FC
=unsupported
12932 # It fails to find uninstalled libraries when the uninstalled
12933 # path is not listed in the libpath. Setting hardcode_minus_L
12934 # to unsupported forces relinking
12935 hardcode_minus_L_FC
=yes
12936 hardcode_libdir_flag_spec_FC
='-L$libdir'
12937 hardcode_libdir_separator_FC
=
12941 shared_flag
='-shared'
12942 if test "$aix_use_runtimelinking" = yes; then
12943 shared_flag
="$shared_flag "'${wl}-G'
12947 if test "$host_cpu" = ia64
; then
12948 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12949 # chokes on -Wl,-G. The following line is correct:
12952 if test "$aix_use_runtimelinking" = yes; then
12953 shared_flag
='${wl}-G'
12955 shared_flag
='${wl}-bM:SRE'
12960 export_dynamic_flag_spec_FC
='${wl}-bexpall'
12961 # It seems that -bexpall does not export symbols beginning with
12962 # underscore (_), so it is better to generate a list of symbols to export.
12963 always_export_symbols_FC
=yes
12964 if test "$aix_use_runtimelinking" = yes; then
12965 # Warning - without using the other runtime loading flags (-brtl),
12966 # -berok will link without error, but may produce a broken library.
12967 allow_undefined_flag_FC
='-berok'
12968 # Determine the default libpath from the value encoded in an
12969 # empty executable.
12970 cat > conftest.
$ac_ext <<_ACEOF
12975 if ac_fn_fc_try_link
"$LINENO"; then :
12977 lt_aix_libpath_sed
='
12978 /Import File Strings/,/^$/ {
12984 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12985 # Check for a 64-bit object if we didn't find anything.
12986 if test -z "$aix_libpath"; then
12987 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12990 rm -f core conftest.err conftest.
$ac_objext \
12991 conftest
$ac_exeext conftest.
$ac_ext
12992 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12994 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
12995 archive_expsym_cmds_FC
='$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"
12997 if test "$host_cpu" = ia64
; then
12998 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
12999 allow_undefined_flag_FC
="-z nodefs"
13000 archive_expsym_cmds_FC
="\$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"
13002 # Determine the default libpath from the value encoded in an
13003 # empty executable.
13004 cat > conftest.
$ac_ext <<_ACEOF
13009 if ac_fn_fc_try_link
"$LINENO"; then :
13011 lt_aix_libpath_sed
='
13012 /Import File Strings/,/^$/ {
13018 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13019 # Check for a 64-bit object if we didn't find anything.
13020 if test -z "$aix_libpath"; then
13021 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13024 rm -f core conftest.err conftest.
$ac_objext \
13025 conftest
$ac_exeext conftest.
$ac_ext
13026 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13028 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13029 # Warning - without using the other run time loading flags,
13030 # -berok will link without error, but may produce a broken library.
13031 no_undefined_flag_FC
=' ${wl}-bernotok'
13032 allow_undefined_flag_FC
=' ${wl}-berok'
13033 if test "$with_gnu_ld" = yes; then
13034 # We only use this code for GNU lds that support --whole-archive.
13035 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13037 # Exported symbols can be pulled into shared objects from archives
13038 whole_archive_flag_spec_FC
='$convenience'
13040 archive_cmds_need_lc_FC
=yes
13041 # This is similar to how AIX traditionally builds its shared libraries.
13042 archive_expsym_cmds_FC
="\$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'
13050 # see comment about AmigaOS4 .so support
13051 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13052 archive_expsym_cmds_FC
=''
13055 archive_cmds_FC
='$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)'
13056 hardcode_libdir_flag_spec_FC
='-L$libdir'
13057 hardcode_minus_L_FC
=yes
13063 export_dynamic_flag_spec_FC
=-rdynamic
13066 cygwin
* | mingw
* | pw32
* | cegcc
*)
13067 # When not using gcc, we currently assume that we are using
13068 # Microsoft Visual C++.
13069 # hardcode_libdir_flag_spec is actually meaningless, as there is
13070 # no search path for DLLs.
13071 hardcode_libdir_flag_spec_FC
=' '
13072 allow_undefined_flag_FC
=unsupported
13073 # Tell ltmain to make .lib files, not .a files.
13075 # Tell ltmain to make .dll files, not .so files.
13077 # FIXME: Setting linknames here is a bad hack.
13078 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13079 # The linker will automatically build a .lib file if we build a DLL.
13080 old_archive_from_new_cmds_FC
='true'
13081 # FIXME: Should let the user specify the lib program.
13082 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13083 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13084 enable_shared_with_static_runtimes_FC
=yes
13087 darwin
* | rhapsody
*)
13090 archive_cmds_need_lc_FC
=no
13091 hardcode_direct_FC
=no
13092 hardcode_automatic_FC
=yes
13093 hardcode_shlibpath_var_FC
=unsupported
13094 if test "$lt_cv_ld_force_load" = "yes"; then
13095 whole_archive_flag_spec_FC
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13097 whole_archive_flag_spec_FC
=''
13099 link_all_deplibs_FC
=yes
13100 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13101 case $cc_basename in
13102 ifort
*) _lt_dar_can_shared
=yes ;;
13103 *) _lt_dar_can_shared
=$GCC ;;
13105 if test "$_lt_dar_can_shared" = "yes"; then
13106 output_verbose_link_cmd
=func_echo_all
13107 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13108 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13109 archive_expsym_cmds_FC
="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}"
13110 module_expsym_cmds_FC
="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}"
13119 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13120 hardcode_libdir_flag_spec_FC
='-L$libdir'
13121 hardcode_shlibpath_var_FC
=no
13128 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13129 # support. Future versions do this automatically, but an explicit c++rt0.o
13130 # does not break anything, and helps significantly (at the cost of a little
13133 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13134 hardcode_libdir_flag_spec_FC
='-R$libdir'
13135 hardcode_direct_FC
=yes
13136 hardcode_shlibpath_var_FC
=no
13139 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13141 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13142 hardcode_direct_FC
=yes
13143 hardcode_minus_L_FC
=yes
13144 hardcode_shlibpath_var_FC
=no
13147 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13148 freebsd
* | dragonfly
*)
13149 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13150 hardcode_libdir_flag_spec_FC
='-R$libdir'
13151 hardcode_direct_FC
=yes
13152 hardcode_shlibpath_var_FC
=no
13156 if test "$GCC" = yes; then
13157 archive_cmds_FC
='$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'
13159 archive_cmds_FC
='$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'
13161 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13162 hardcode_libdir_separator_FC
=:
13163 hardcode_direct_FC
=yes
13165 # hardcode_minus_L: Not really in the search PATH,
13166 # but as the default location of the library.
13167 hardcode_minus_L_FC
=yes
13168 export_dynamic_flag_spec_FC
='${wl}-E'
13172 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13173 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13175 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13177 if test "$with_gnu_ld" = no
; then
13178 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13179 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13180 hardcode_libdir_separator_FC
=:
13181 hardcode_direct_FC
=yes
13182 hardcode_direct_absolute_FC
=yes
13183 export_dynamic_flag_spec_FC
='${wl}-E'
13184 # hardcode_minus_L: Not really in the search PATH,
13185 # but as the default location of the library.
13186 hardcode_minus_L_FC
=yes
13191 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13194 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13197 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13200 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13206 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13209 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13212 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13216 if test "$with_gnu_ld" = no
; then
13217 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13218 hardcode_libdir_separator_FC
=:
13222 hardcode_direct_FC
=no
13223 hardcode_shlibpath_var_FC
=no
13226 hardcode_direct_FC
=yes
13227 hardcode_direct_absolute_FC
=yes
13228 export_dynamic_flag_spec_FC
='${wl}-E'
13230 # hardcode_minus_L: Not really in the search PATH,
13231 # but as the default location of the library.
13232 hardcode_minus_L_FC
=yes
13238 irix5
* | irix6
* | nonstopux
*)
13239 if test "$GCC" = yes; then
13240 archive_cmds_FC
='$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'
13241 # Try to use the -exported_symbol ld option, if it does not
13242 # work, assume that -exports_file does not work either and
13243 # implicitly export all symbols.
13244 save_LDFLAGS
="$LDFLAGS"
13245 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13246 cat > conftest.
$ac_ext <<_ACEOF
13249 if ac_fn_fc_try_link
"$LINENO"; then :
13250 archive_expsym_cmds_FC
='$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'
13253 rm -f core conftest.err conftest.
$ac_objext \
13254 conftest
$ac_exeext conftest.
$ac_ext
13255 LDFLAGS
="$save_LDFLAGS"
13257 archive_cmds_FC
='$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'
13258 archive_expsym_cmds_FC
='$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'
13260 archive_cmds_need_lc_FC
='no'
13261 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13262 hardcode_libdir_separator_FC
=:
13263 inherit_rpath_FC
=yes
13264 link_all_deplibs_FC
=yes
13268 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13269 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13271 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13273 hardcode_libdir_flag_spec_FC
='-R$libdir'
13274 hardcode_direct_FC
=yes
13275 hardcode_shlibpath_var_FC
=no
13279 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13280 hardcode_direct_FC
=yes
13281 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13282 hardcode_libdir_separator_FC
=:
13283 hardcode_shlibpath_var_FC
=no
13290 if test -f /usr
/libexec
/ld.so
; then
13291 hardcode_direct_FC
=yes
13292 hardcode_shlibpath_var_FC
=no
13293 hardcode_direct_absolute_FC
=yes
13294 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13295 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13296 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13297 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13298 export_dynamic_flag_spec_FC
='${wl}-E'
13301 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13302 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13303 hardcode_libdir_flag_spec_FC
='-R$libdir'
13306 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13307 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13317 hardcode_libdir_flag_spec_FC
='-L$libdir'
13318 hardcode_minus_L_FC
=yes
13319 allow_undefined_flag_FC
=unsupported
13320 archive_cmds_FC
='$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'
13321 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13325 if test "$GCC" = yes; then
13326 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13327 archive_cmds_FC
='$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'
13329 allow_undefined_flag_FC
=' -expect_unresolved \*'
13330 archive_cmds_FC
='$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'
13332 archive_cmds_need_lc_FC
='no'
13333 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13334 hardcode_libdir_separator_FC
=:
13337 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13338 if test "$GCC" = yes; then
13339 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13340 archive_cmds_FC
='$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'
13341 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13343 allow_undefined_flag_FC
=' -expect_unresolved \*'
13344 archive_cmds_FC
='$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'
13345 archive_expsym_cmds_FC
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13346 $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'
13348 # Both c and cxx compiler support -rpath directly
13349 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13351 archive_cmds_need_lc_FC
='no'
13352 hardcode_libdir_separator_FC
=:
13356 no_undefined_flag_FC
=' -z defs'
13357 if test "$GCC" = yes; then
13359 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13360 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13361 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13363 case `$CC -V 2>&1` in
13366 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13367 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13368 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13372 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13373 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13374 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13378 hardcode_libdir_flag_spec_FC
='-R$libdir'
13379 hardcode_shlibpath_var_FC
=no
13381 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13383 # The compiler driver will combine and reorder linker options,
13384 # but understands `-z linker_flag'. GCC discards it without `$wl',
13385 # but is careful enough not to reorder.
13386 # Supported since Solaris 2.6 (maybe 2.5.1?)
13387 if test "$GCC" = yes; then
13388 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13390 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13394 link_all_deplibs_FC
=yes
13398 if test "x$host_vendor" = xsequent
; then
13399 # Use $CC to link under sequent, because it throws in some extra .o
13400 # files that make .init and .fini sections work.
13401 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13403 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13405 hardcode_libdir_flag_spec_FC
='-L$libdir'
13406 hardcode_direct_FC
=yes
13407 hardcode_minus_L_FC
=yes
13408 hardcode_shlibpath_var_FC
=no
13412 case $host_vendor in
13414 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13415 hardcode_direct_FC
=yes # is this really true???
13418 ## LD is ld it makes a PLAMLIB
13419 ## CC just makes a GrossModule.
13420 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13421 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13422 hardcode_direct_FC
=no
13425 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13426 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13429 runpath_var
='LD_RUN_PATH'
13430 hardcode_shlibpath_var_FC
=no
13434 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13435 hardcode_shlibpath_var_FC
=no
13436 export_dynamic_flag_spec_FC
='-Bexport'
13440 if test -d /usr
/nec
; then
13441 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13442 hardcode_shlibpath_var_FC
=no
13443 runpath_var
=LD_RUN_PATH
13444 hardcode_runpath_var
=yes
13449 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13450 no_undefined_flag_FC
='${wl}-z,text'
13451 archive_cmds_need_lc_FC
=no
13452 hardcode_shlibpath_var_FC
=no
13453 runpath_var
='LD_RUN_PATH'
13455 if test "$GCC" = yes; then
13456 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13457 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13459 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13460 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13464 sysv5
* | sco3.2v5
* | sco5v6
*)
13465 # Note: We can NOT use -z defs as we might desire, because we do not
13466 # link with -lc, and that would cause any symbols used from libc to
13467 # always be unresolved, which means just about no library would
13468 # ever link correctly. If we're not using GNU ld we use -z text
13469 # though, which does catch some bad symbols but isn't as heavy-handed
13471 no_undefined_flag_FC
='${wl}-z,text'
13472 allow_undefined_flag_FC
='${wl}-z,nodefs'
13473 archive_cmds_need_lc_FC
=no
13474 hardcode_shlibpath_var_FC
=no
13475 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13476 hardcode_libdir_separator_FC
=':'
13477 link_all_deplibs_FC
=yes
13478 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13479 runpath_var
='LD_RUN_PATH'
13481 if test "$GCC" = yes; then
13482 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13483 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13485 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13486 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13492 hardcode_libdir_flag_spec_FC
='-L$libdir'
13493 hardcode_shlibpath_var_FC
=no
13501 if test x
$host_vendor = xsni
; then
13503 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13504 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13511 $as_echo "$ld_shlibs_FC" >&6; }
13512 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13514 with_gnu_ld_FC
=$with_gnu_ld
13522 # Do we need to explicitly link libc?
13524 case "x$archive_cmds_need_lc_FC" in
13526 # Assume -lc should be added
13527 archive_cmds_need_lc_FC
=yes
13529 if test "$enable_shared" = yes && test "$GCC" = yes; then
13530 case $archive_cmds_FC in
13532 # FIXME: we may have to deal with multi-command sequences.
13535 # Test whether the compiler implicitly links with -lc since on some
13536 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13537 # to ld, don't add -lc before -lgcc.
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13539 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13540 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13541 $as_echo_n "(cached) " >&6
13544 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13547 (eval $ac_compile) 2>&5
13549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13550 test $ac_status = 0; } 2>conftest.err
; then
13553 libobjs
=conftest.
$ac_objext
13555 wl
=$lt_prog_compiler_wl_FC
13556 pic_flag
=$lt_prog_compiler_pic_FC
13562 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13563 allow_undefined_flag_FC
=
13564 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13565 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13568 test $ac_status = 0; }
13570 lt_cv_archive_cmds_need_lc_FC
=no
13572 lt_cv_archive_cmds_need_lc_FC
=yes
13574 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13576 cat conftest.err
1>&5
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13582 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13583 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13654 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13656 library_names_spec
=
13657 libname_spec
='lib$name'
13661 postuninstall_cmds
=
13665 shlibpath_overrides_runpath
=unknown
13667 dynamic_linker
="$host_os ld.so"
13668 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13669 need_lib_prefix
=unknown
13670 hardcode_into_libs
=no
13672 # when you set need_version to no, make sure it does not cause -set_version
13673 # flags to be left without arguments
13674 need_version
=unknown
13679 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13680 shlibpath_var
=LIBPATH
13682 # AIX 3 has no versioning support, so we append a major version to the name.
13683 soname_spec
='${libname}${release}${shared_ext}$major'
13690 hardcode_into_libs
=yes
13691 if test "$host_cpu" = ia64
; then
13692 # AIX 5 supports IA64
13693 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13694 shlibpath_var
=LD_LIBRARY_PATH
13696 # With GCC up to 2.95.x, collect2 would create an import file
13697 # for dependence libraries. The import file would start with
13698 # the line `#! .'. This would cause the generated library to
13699 # depend on `.', always an invalid library. This was fixed in
13700 # development snapshots of GCC prior to 3.0.
13702 aix4 | aix4.
[01] | aix4.
[01].
*)
13703 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13705 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13708 can_build_shared
=no
13712 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13713 # soname into executable. Probably we can add versioning support to
13714 # collect2, so additional links can be useful in future.
13715 if test "$aix_use_runtimelinking" = yes; then
13716 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13717 # instead of lib<name>.a to let people know that these are not
13718 # typical AIX shared libraries.
13719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13721 # We preserve .a as extension for shared libraries through AIX4.2
13722 # and later when we are not doing run time linking.
13723 library_names_spec
='${libname}${release}.a $libname.a'
13724 soname_spec
='${libname}${release}${shared_ext}$major'
13726 shlibpath_var
=LIBPATH
13733 # Since July 2007 AmigaOS4 officially supports .so libraries.
13734 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13738 library_names_spec
='$libname.ixlibrary $libname.a'
13739 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13740 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'
13746 library_names_spec
='${libname}${shared_ext}'
13747 dynamic_linker
="$host_os ld.so"
13748 shlibpath_var
=LIBRARY_PATH
13754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13755 soname_spec
='${libname}${release}${shared_ext}$major'
13756 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13757 shlibpath_var
=LD_LIBRARY_PATH
13758 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13759 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13760 # the default ld.so.conf also contains /usr/contrib/lib and
13761 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13762 # libtool to hard-code these into programs
13765 cygwin
* | mingw
* | pw32
* | cegcc
*)
13766 version_type
=windows
13771 case $GCC,$host_os in
13772 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13773 library_names_spec
='$libname.dll.a'
13774 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13775 postinstall_cmds
='base_file=`basename \${file}`~
13776 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13777 dldir=$destdir/`dirname \$dlpath`~
13778 test -d \$dldir || mkdir -p \$dldir~
13779 $install_prog $dir/$dlname \$dldir/$dlname~
13780 chmod a+x \$dldir/$dlname~
13781 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13782 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13784 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13785 dlpath=$dir/\$dldll~
13787 shlibpath_overrides_runpath
=yes
13791 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13792 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13796 # MinGW DLLs use traditional 'lib' prefix
13797 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13800 # pw32 DLLs use 'pw' prefix rather than 'lib'
13801 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13807 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13810 dynamic_linker
='Win32 ld.exe'
13811 # FIXME: first we should search . and the directory the executable is in
13815 darwin
* | rhapsody
*)
13816 dynamic_linker
="$host_os dyld"
13817 version_type
=darwin
13820 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13821 soname_spec
='${libname}${release}${major}$shared_ext'
13822 shlibpath_overrides_runpath
=yes
13823 shlibpath_var
=DYLD_LIBRARY_PATH
13824 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13826 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13834 soname_spec
='${libname}${release}${shared_ext}$major'
13835 shlibpath_var
=LD_LIBRARY_PATH
13842 freebsd
* | dragonfly
*)
13843 # DragonFly does not have aout. When/if they implement a new
13844 # versioning mechanism, adjust this.
13845 if test -x /usr
/bin
/objformat
; then
13846 objformat
=`/usr/bin/objformat`
13849 freebsd
[123]*) objformat
=aout
;;
13850 *) objformat
=elf
;;
13853 version_type
=freebsd-
$objformat
13854 case $version_type in
13856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13861 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13865 shlibpath_var
=LD_LIBRARY_PATH
13868 shlibpath_overrides_runpath
=yes
13870 freebsd3.
[01]* | freebsdelf3.
[01]*)
13871 shlibpath_overrides_runpath
=yes
13872 hardcode_into_libs
=yes
13874 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13875 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13876 shlibpath_overrides_runpath
=no
13877 hardcode_into_libs
=yes
13879 *) # from 4.6 on, and DragonFly
13880 shlibpath_overrides_runpath
=yes
13881 hardcode_into_libs
=yes
13890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13891 soname_spec
='${libname}${release}${shared_ext}$major'
13892 shlibpath_var
=LD_LIBRARY_PATH
13893 hardcode_into_libs
=yes
13900 dynamic_linker
="$host_os runtime_loader"
13901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13902 soname_spec
='${libname}${release}${shared_ext}$major'
13903 shlibpath_var
=LIBRARY_PATH
13904 shlibpath_overrides_runpath
=yes
13905 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13906 hardcode_into_libs
=yes
13909 hpux9
* | hpux10
* | hpux11
*)
13910 # Give a soname corresponding to the major version so that dld.sl refuses to
13911 # link against other versions.
13918 hardcode_into_libs
=yes
13919 dynamic_linker
="$host_os dld.so"
13920 shlibpath_var
=LD_LIBRARY_PATH
13921 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13923 soname_spec
='${libname}${release}${shared_ext}$major'
13924 if test "X$HPUX_IA64_MODE" = X32
; then
13925 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13927 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13929 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13933 hardcode_into_libs
=yes
13934 dynamic_linker
="$host_os dld.sl"
13935 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13936 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13938 soname_spec
='${libname}${release}${shared_ext}$major'
13939 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13940 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13944 dynamic_linker
="$host_os dld.sl"
13945 shlibpath_var
=SHLIB_PATH
13946 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13948 soname_spec
='${libname}${release}${shared_ext}$major'
13951 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13952 postinstall_cmds
='chmod 555 $lib'
13953 # or fails outright, so override atomically:
13954 install_override_mode
=555
13961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13962 soname_spec
='${libname}${release}${shared_ext}$major'
13963 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13964 shlibpath_var
=LD_LIBRARY_PATH
13965 shlibpath_overrides_runpath
=no
13966 hardcode_into_libs
=yes
13969 irix5
* | irix6
* | nonstopux
*)
13971 nonstopux
*) version_type
=nonstopux
;;
13973 if test "$lt_cv_prog_gnu_ld" = yes; then
13981 soname_spec
='${libname}${release}${shared_ext}$major'
13982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13984 irix5
* | nonstopux
*)
13985 libsuff
= shlibsuff
=
13988 case $LD in # libtool.m4 will add one of these switches to LD
13989 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13990 libsuff
= shlibsuff
= libmagic
=32-bit;;
13991 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13992 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13993 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13994 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13995 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13999 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14000 shlibpath_overrides_runpath
=no
14001 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14002 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14003 hardcode_into_libs
=yes
14006 # No shared lib support for Linux oldld, aout, or coff.
14007 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14011 # This must be Linux ELF.
14012 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14017 soname_spec
='${libname}${release}${shared_ext}$major'
14018 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14019 shlibpath_var
=LD_LIBRARY_PATH
14020 shlibpath_overrides_runpath
=no
14022 # Some binutils ld are patched to set DT_RUNPATH
14023 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14024 $as_echo_n "(cached) " >&6
14026 lt_cv_shlibpath_overrides_runpath
=no
14027 save_LDFLAGS
=$LDFLAGS
14028 save_libdir
=$libdir
14029 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14030 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14031 cat > conftest.
$ac_ext <<_ACEOF
14036 if ac_fn_fc_try_link
"$LINENO"; then :
14037 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14038 lt_cv_shlibpath_overrides_runpath
=yes
14041 rm -f core conftest.err conftest.
$ac_objext \
14042 conftest
$ac_exeext conftest.
$ac_ext
14043 LDFLAGS
=$save_LDFLAGS
14044 libdir
=$save_libdir
14048 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14050 # This implies no fast_install, which is unacceptable.
14051 # Some rework will be needed to allow for fast_install
14052 # before this can be enabled.
14053 hardcode_into_libs
=yes
14055 # Append ld.so.conf contents to the search path
14056 if test -f /etc
/ld.so.conf
; then
14057 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' ' '`
14058 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14061 # We used to test for /lib/ld.so.1 and disable shared libraries on
14062 # powerpc, because MkLinux only supported shared libraries with the
14063 # GNU dynamic linker. Since this was broken with cross compilers,
14064 # most powerpc-linux boxes support dynamic linking these days and
14065 # people can always --disable-shared, the test was removed, and we
14066 # assume the GNU/Linux dynamic linker is in use.
14067 dynamic_linker
='GNU/Linux ld.so'
14074 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14077 dynamic_linker
='NetBSD (a.out) ld.so'
14079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14080 soname_spec
='${libname}${release}${shared_ext}$major'
14081 dynamic_linker
='NetBSD ld.elf_so'
14083 shlibpath_var
=LD_LIBRARY_PATH
14084 shlibpath_overrides_runpath
=yes
14085 hardcode_into_libs
=yes
14090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14091 shlibpath_var
=LD_LIBRARY_PATH
14092 shlibpath_overrides_runpath
=yes
14099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14100 soname_spec
='${libname}${release}${shared_ext}$major'
14101 shlibpath_var
=LD_LIBRARY_PATH
14102 shlibpath_overrides_runpath
=no
14103 hardcode_into_libs
=yes
14104 dynamic_linker
='ldqnx.so'
14109 sys_lib_dlsearch_path_spec
="/usr/lib"
14111 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14113 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14114 *) need_version
=no
;;
14116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14117 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14118 shlibpath_var
=LD_LIBRARY_PATH
14119 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14121 openbsd2.
[89] | openbsd2.
[89].
*)
14122 shlibpath_overrides_runpath
=no
14125 shlibpath_overrides_runpath
=yes
14129 shlibpath_overrides_runpath
=yes
14134 libname_spec
='$name'
14137 library_names_spec
='$libname${shared_ext} $libname.a'
14138 dynamic_linker
='OS/2 ld.exe'
14139 shlibpath_var
=LIBPATH
14142 osf3
* | osf4
* | osf5
*)
14146 soname_spec
='${libname}${release}${shared_ext}$major'
14147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14148 shlibpath_var
=LD_LIBRARY_PATH
14149 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14150 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14162 soname_spec
='${libname}${release}${shared_ext}$major'
14163 shlibpath_var
=LD_LIBRARY_PATH
14164 shlibpath_overrides_runpath
=yes
14165 hardcode_into_libs
=yes
14166 # ldd complains unless libraries are executable
14167 postinstall_cmds
='chmod +x $lib'
14172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14173 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14174 shlibpath_var
=LD_LIBRARY_PATH
14175 shlibpath_overrides_runpath
=yes
14176 if test "$with_gnu_ld" = yes; then
14184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14185 soname_spec
='${libname}${release}${shared_ext}$major'
14186 shlibpath_var
=LD_LIBRARY_PATH
14187 case $host_vendor in
14189 shlibpath_overrides_runpath
=no
14191 runpath_var
=LD_RUN_PATH
14199 shlibpath_overrides_runpath
=no
14200 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14206 if test -d /usr
/nec
;then
14208 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14209 soname_spec
='$libname${shared_ext}.$major'
14210 shlibpath_var
=LD_LIBRARY_PATH
14214 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14215 version_type
=freebsd-elf
14218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14219 soname_spec
='${libname}${release}${shared_ext}$major'
14220 shlibpath_var
=LD_LIBRARY_PATH
14221 shlibpath_overrides_runpath
=yes
14222 hardcode_into_libs
=yes
14223 if test "$with_gnu_ld" = yes; then
14224 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14226 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14229 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14233 sys_lib_dlsearch_path_spec
='/usr/lib'
14237 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14242 shlibpath_var
=LD_LIBRARY_PATH
14243 shlibpath_overrides_runpath
=no
14244 hardcode_into_libs
=yes
14249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14250 soname_spec
='${libname}${release}${shared_ext}$major'
14251 shlibpath_var
=LD_LIBRARY_PATH
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14259 $as_echo "$dynamic_linker" >&6; }
14260 test "$dynamic_linker" = no
&& can_build_shared
=no
14262 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14263 if test "$GCC" = yes; then
14264 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14267 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14268 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14270 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14271 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14312 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14313 hardcode_action_FC
=
14314 if test -n "$hardcode_libdir_flag_spec_FC" ||
14315 test -n "$runpath_var_FC" ||
14316 test "X$hardcode_automatic_FC" = "Xyes" ; then
14318 # We can hardcode non-existent directories.
14319 if test "$hardcode_direct_FC" != no
&&
14320 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14321 # have to relink, otherwise we might link with an installed library
14322 # when we should be linking with a yet-to-be-installed one
14323 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14324 test "$hardcode_minus_L_FC" != no
; then
14325 # Linking always hardcodes the temporary library directory.
14326 hardcode_action_FC
=relink
14328 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14329 hardcode_action_FC
=immediate
14332 # We cannot hardcode anything, or else we can only hardcode existing
14334 hardcode_action_FC
=unsupported
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14337 $as_echo "$hardcode_action_FC" >&6; }
14339 if test "$hardcode_action_FC" = relink ||
14340 test "$inherit_rpath_FC" = yes; then
14341 # Fast installation is not supported
14342 enable_fast_install
=no
14343 elif test "$shlibpath_overrides_runpath" = yes ||
14344 test "$enable_shared" = no
; then
14345 # Fast installation is not necessary
14346 enable_fast_install
=needless
14355 fi # test -n "$compiler"
14359 fi # test "$_lt_disable_FC" != yes
14362 ac_cpp
='$CPP $CPPFLAGS'
14363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14368 FCFLAGS
="$FCFLAGS -Wall"
14370 # For libtool versioning info, format is CURRENT:REVISION:AGE
14371 libtool_VERSION
=1:0:0
14374 # Check header files.
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14376 $as_echo_n "checking for ANSI C header files... " >&6; }
14377 if test "${ac_cv_header_stdc+set}" = set; then :
14378 $as_echo_n "(cached) " >&6
14380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 #include <stdlib.h>
14383 #include <stdarg.h>
14384 #include <string.h>
14395 if ac_fn_c_try_compile
"$LINENO"; then :
14396 ac_cv_header_stdc
=yes
14398 ac_cv_header_stdc
=no
14400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14402 if test $ac_cv_header_stdc = yes; then
14403 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14406 #include <string.h>
14409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14410 $EGREP "memchr" >/dev
/null
2>&1; then :
14413 ac_cv_header_stdc
=no
14419 if test $ac_cv_header_stdc = yes; then
14420 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 #include <stdlib.h>
14426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14427 $EGREP "free" >/dev
/null
2>&1; then :
14430 ac_cv_header_stdc
=no
14436 if test $ac_cv_header_stdc = yes; then
14437 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14438 if test "$cross_compiling" = yes; then :
14441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14444 #include <stdlib.h>
14445 #if ((' ' & 0x0FF) == 0x020)
14446 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14447 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14449 # define ISLOWER(c) \
14450 (('a' <= (c) && (c) <= 'i') \
14451 || ('j' <= (c) && (c) <= 'r') \
14452 || ('s' <= (c) && (c) <= 'z'))
14453 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14456 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14461 for (i = 0; i < 256; i++)
14462 if (XOR (islower (i), ISLOWER (i))
14463 || toupper (i) != TOUPPER (i))
14468 if ac_fn_c_try_run
"$LINENO"; then :
14471 ac_cv_header_stdc
=no
14473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14474 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14480 $as_echo "$ac_cv_header_stdc" >&6; }
14481 if test $ac_cv_header_stdc = yes; then
14483 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14488 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14489 if test "${ac_cv_header_time+set}" = set; then :
14490 $as_echo_n "(cached) " >&6
14492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14494 #include <sys/types.h>
14495 #include <sys/time.h>
14501 if ((struct tm *) 0)
14507 if ac_fn_c_try_compile
"$LINENO"; then :
14508 ac_cv_header_time
=yes
14510 ac_cv_header_time
=no
14512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14515 $as_echo "$ac_cv_header_time" >&6; }
14516 if test $ac_cv_header_time = yes; then
14518 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14523 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14524 if test "${gcc_cv_header_string+set}" = set; then :
14525 $as_echo_n "(cached) " >&6
14527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 #include <string.h>
14530 #include <strings.h>
14539 if ac_fn_c_try_compile
"$LINENO"; then :
14540 gcc_cv_header_string
=yes
14542 gcc_cv_header_string
=no
14544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14547 $as_echo "$gcc_cv_header_string" >&6; }
14548 if test $gcc_cv_header_string = yes; then
14550 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14554 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h sys
/time.h
14556 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14557 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14558 eval as_val
=\$
$as_ac_Header
14559 if test "x$as_val" = x
""yes; then :
14560 cat >>confdefs.h
<<_ACEOF
14561 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14571 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14573 acx_cv_header_stdint
=stddef.h
14574 acx_cv_header_stdint_kind
="(already complete)"
14575 for i
in stdint.h
$inttype_headers; do
14576 unset ac_cv_type_uintptr_t
14577 unset ac_cv_type_uintmax_t
14578 unset ac_cv_type_int_least32_t
14579 unset ac_cv_type_int_fast32_t
14580 unset ac_cv_type_uint64_t
14581 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
14582 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
14585 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
14586 acx_cv_header_stdint
=$i
14591 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14594 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14597 acx_cv_header_stdint_kind
="(mostly complete)"
14600 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
14603 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
14606 acx_cv_header_stdint_kind
="(mostly complete)"
14609 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
14612 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
14615 acx_cv_header_stdint_kind
="(mostly complete)"
14618 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14621 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14624 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14629 if test "$acx_cv_header_stdint" = stddef.h
; then
14630 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14631 for i
in stdint.h
$inttype_headers; do
14632 unset ac_cv_type_uintptr_t
14633 unset ac_cv_type_uint32_t
14634 unset ac_cv_type_uint64_t
14635 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
14636 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
14639 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
14640 acx_cv_header_stdint
=$i
14645 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14648 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14652 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14655 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14662 if test "$acx_cv_header_stdint" = stddef.h
; then
14663 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14664 for i
in sys
/types.h
$inttype_headers; do
14665 unset ac_cv_type_u_int32_t
14666 unset ac_cv_type_u_int64_t
14667 $as_echo_n "looking for u_intXX_t types in $i, " >&6
14668 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
14671 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
14672 acx_cv_header_stdint
=$i
14677 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
14680 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
14687 if test "$acx_cv_header_stdint" = stddef.h
; then
14688 acx_cv_header_stdint_kind
="(using manual detection)"
14691 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14692 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14693 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14694 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14695 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14697 # ----------------- Summarize what we found so far
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
14700 $as_echo_n "checking what to include in gstdint.h... " >&6; }
14702 case `$as_basename -- gstdint.h ||
14703 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
14704 Xgstdint.h : 'X\(//\)$' \| \
14705 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
14706 $as_echo X/gstdint.h |
14707 sed '/^.*\/\([^/][^/]*\)\/*$/{
14720 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14721 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14722 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14723 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14728 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
14730 # ----------------- done included file, check C basic types --------
14732 # Lacking an uintptr_t? Test size of void *
14733 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14734 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
14735 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14736 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14737 # This bug is HP SR number 8606223364.
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14739 $as_echo_n "checking size of void *... " >&6; }
14740 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14741 $as_echo_n "(cached) " >&6
14743 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14746 if test "$ac_cv_type_void_p" = yes; then
14747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14749 { as_fn_set_status
77
14750 as_fn_error
"cannot compute sizeof (void *)
14751 See \`config.log' for more details." "$LINENO" 5; }; }
14753 ac_cv_sizeof_void_p
=0
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14759 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14763 cat >>confdefs.h
<<_ACEOF
14764 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14770 # Lacking an uint64_t? Test size of long
14771 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14772 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
14773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14774 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14775 # This bug is HP SR number 8606223364.
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14777 $as_echo_n "checking size of long... " >&6; }
14778 if test "${ac_cv_sizeof_long+set}" = set; then :
14779 $as_echo_n "(cached) " >&6
14781 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14784 if test "$ac_cv_type_long" = yes; then
14785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14787 { as_fn_set_status
77
14788 as_fn_error
"cannot compute sizeof (long)
14789 See \`config.log' for more details." "$LINENO" 5; }; }
14791 ac_cv_sizeof_long
=0
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14797 $as_echo "$ac_cv_sizeof_long" >&6; }
14801 cat >>confdefs.h
<<_ACEOF
14802 #define SIZEOF_LONG $ac_cv_sizeof_long
14808 if test $acx_cv_header_stdint = stddef.h
; then
14809 # Lacking a good header? Test size of everything and deduce all types.
14810 # The cast to long int works around a bug in the HP C Compiler
14811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14813 # This bug is HP SR number 8606223364.
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14815 $as_echo_n "checking size of int... " >&6; }
14816 if test "${ac_cv_sizeof_int+set}" = set; then :
14817 $as_echo_n "(cached) " >&6
14819 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
14822 if test "$ac_cv_type_int" = yes; then
14823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14825 { as_fn_set_status
77
14826 as_fn_error
"cannot compute sizeof (int)
14827 See \`config.log' for more details." "$LINENO" 5; }; }
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14835 $as_echo "$ac_cv_sizeof_int" >&6; }
14839 cat >>confdefs.h
<<_ACEOF
14840 #define SIZEOF_INT $ac_cv_sizeof_int
14844 # The cast to long int works around a bug in the HP C Compiler
14845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14847 # This bug is HP SR number 8606223364.
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14849 $as_echo_n "checking size of short... " >&6; }
14850 if test "${ac_cv_sizeof_short+set}" = set; then :
14851 $as_echo_n "(cached) " >&6
14853 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
14856 if test "$ac_cv_type_short" = yes; then
14857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14859 { as_fn_set_status
77
14860 as_fn_error
"cannot compute sizeof (short)
14861 See \`config.log' for more details." "$LINENO" 5; }; }
14863 ac_cv_sizeof_short
=0
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14869 $as_echo "$ac_cv_sizeof_short" >&6; }
14873 cat >>confdefs.h
<<_ACEOF
14874 #define SIZEOF_SHORT $ac_cv_sizeof_short
14878 # The cast to long int works around a bug in the HP C Compiler
14879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14881 # This bug is HP SR number 8606223364.
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
14883 $as_echo_n "checking size of char... " >&6; }
14884 if test "${ac_cv_sizeof_char+set}" = set; then :
14885 $as_echo_n "(cached) " >&6
14887 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
14890 if test "$ac_cv_type_char" = yes; then
14891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14893 { as_fn_set_status
77
14894 as_fn_error
"cannot compute sizeof (char)
14895 See \`config.log' for more details." "$LINENO" 5; }; }
14897 ac_cv_sizeof_char
=0
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
14903 $as_echo "$ac_cv_sizeof_char" >&6; }
14907 cat >>confdefs.h
<<_ACEOF
14908 #define SIZEOF_CHAR $ac_cv_sizeof_char
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
14914 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
14915 case "$ac_cv_sizeof_char" in
14916 1) acx_cv_type_int8_t
=char
;;
14917 *) { as_fn_set_status please report a bug
14918 as_fn_error
"no 8-bit type" "$LINENO" 5; }
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
14921 $as_echo "$acx_cv_type_int8_t" >&6; }
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
14924 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
14925 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14926 2:*) acx_cv_type_int16_t
=int
;;
14927 *:2) acx_cv_type_int16_t
=short
;;
14928 *) { as_fn_set_status please report a bug
14929 as_fn_error
"no 16-bit type" "$LINENO" 5; }
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
14932 $as_echo "$acx_cv_type_int16_t" >&6; }
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
14935 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
14936 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14937 4:*) acx_cv_type_int32_t
=int
;;
14938 *:4) acx_cv_type_int32_t
=long
;;
14939 *) { as_fn_set_status please report a bug
14940 as_fn_error
"no 32-bit type" "$LINENO" 5; }
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
14943 $as_echo "$acx_cv_type_int32_t" >&6; }
14946 # These tests are here to make the output prettier
14948 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14949 case "$ac_cv_sizeof_long" in
14950 8) acx_cv_type_int64_t
=long
;;
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
14953 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14955 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
14958 # Now we can use the above types
14960 if test "$ac_cv_type_uintptr_t" != yes; then
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
14962 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
14963 case $ac_cv_sizeof_void_p in
14964 2) acx_cv_type_intptr_t
=int16_t
;;
14965 4) acx_cv_type_intptr_t
=int32_t
;;
14966 8) acx_cv_type_intptr_t
=int64_t
;;
14967 *) { as_fn_set_status please report a bug
14968 as_fn_error
"no equivalent for intptr_t" "$LINENO" 5; }
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
14971 $as_echo "$acx_cv_type_intptr_t" >&6; }
14974 # ----------------- done all checks, emit header -------------
14975 ac_config_commands
="$ac_config_commands gstdint.h"
14980 # Check to see if -pthread or -lpthread is needed. Prefer the former.
14981 # In case the pthread.h system header is not found, this test will fail.
14983 CFLAGS
="$CFLAGS -pthread"
14984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 #include <pthread.h>
14987 void *g(void *d) { return NULL; }
14991 pthread_t t; pthread_create(&t,NULL,g,NULL);
14996 if ac_fn_c_try_link
"$LINENO"; then :
14997 XPCFLAGS
=" -Wc,-pthread"
14999 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
15000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15002 #include <pthread.h>
15003 void *g(void *d) { return NULL; }
15007 pthread_t t; pthread_create(&t,NULL,g,NULL);
15012 if ac_fn_c_try_link
"$LINENO"; then :
15015 as_fn_error
"Pthreads are required to build libgomp" "$LINENO" 5
15017 rm -f core conftest.err conftest.
$ac_objext \
15018 conftest
$ac_exeext conftest.
$ac_ext
15020 rm -f core conftest.err conftest.
$ac_objext \
15021 conftest
$ac_exeext conftest.
$ac_ext
15023 # Check for functions needed.
15024 for ac_func
in getloadavg clock_gettime strtoull
15026 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15027 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15028 eval as_val
=\$
$as_ac_var
15029 if test "x$as_val" = x
""yes; then :
15030 cat >>confdefs.h
<<_ACEOF
15031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15038 # Check for broken semaphore implementation on darwin.
15039 # sem_init returns: sem_init error: Function not implemented.
15043 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
15048 # Check whether --enable-linux-futex was given.
15049 if test "${enable_linux_futex+set}" = set; then :
15050 enableval
=$enable_linux_futex;
15051 case "$enableval" in
15053 *) as_fn_error
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
15057 enable_linux_futex
=default
15063 case "$enable_linux_futex" in
15065 # If headers don't have gettid/futex syscalls definition, then
15066 # default to no, otherwise there will be compile time failures.
15067 # Otherwise, default to yes. If we don't detect we are
15068 # compiled/linked against NPTL and not cross-compiling, check
15069 # if programs are run by default against NPTL and if not, issue
15071 enable_linux_futex
=no
15072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #include <sys/syscall.h>
15079 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15084 if ac_fn_c_try_link
"$LINENO"; then :
15086 LIBS
="-lpthread $LIBS"
15087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15089 #ifndef _GNU_SOURCE
15090 #define _GNU_SOURCE 1
15092 #include <pthread.h>
15093 pthread_t th; void *status;
15097 pthread_tryjoin_np (th, &status);
15102 if ac_fn_c_try_link
"$LINENO"; then :
15103 enable_linux_futex
=yes
15105 if test x
$cross_compiling = xno
; then
15106 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
15107 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
15109 If so, please configure with --disable-linux-futex" >&5
15110 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
15111 If so, please configure with --disable-linux-futex" >&2;}
15114 enable_linux_futex
=yes
15116 rm -f core conftest.err conftest.
$ac_objext \
15117 conftest
$ac_exeext conftest.
$ac_ext
15120 rm -f core conftest.err conftest.
$ac_objext \
15121 conftest
$ac_exeext conftest.
$ac_ext
15124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15126 #include <sys/syscall.h>
15131 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15136 if ac_fn_c_try_link
"$LINENO"; then :
15139 as_fn_error
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
15141 rm -f core conftest.err conftest.
$ac_objext \
15142 conftest
$ac_exeext conftest.
$ac_ext
15147 enable_linux_futex
=no
15150 if test x
$enable_linux_futex = xyes
; then
15155 # Check for pthread_{,attr_}[sg]etaffinity_np.
15156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #define _GNU_SOURCE
15159 #include <pthread.h>
15164 pthread_attr_t attr;
15165 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15166 if (CPU_ISSET (0, &cpuset))
15167 CPU_SET (1, &cpuset);
15169 CPU_ZERO (&cpuset);
15170 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15171 pthread_attr_init (&attr);
15172 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15173 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15178 if ac_fn_c_try_link
"$LINENO"; then :
15180 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
15183 rm -f core conftest.err conftest.
$ac_objext \
15184 conftest
$ac_exeext conftest.
$ac_ext
15186 # At least for glibc, clock_gettime is in librt. But don't pull that
15187 # in if it still doesn't give us the function we want.
15188 if test $ac_cv_func_clock_gettime = no
; then
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15190 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15191 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
15192 $as_echo_n "(cached) " >&6
15194 ac_check_lib_save_LIBS
=$LIBS
15196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15205 char clock_gettime ();
15209 return clock_gettime ();
15214 if ac_fn_c_try_link
"$LINENO"; then :
15215 ac_cv_lib_rt_clock_gettime
=yes
15217 ac_cv_lib_rt_clock_gettime
=no
15219 rm -f core conftest.err conftest.
$ac_objext \
15220 conftest
$ac_exeext conftest.
$ac_ext
15221 LIBS
=$ac_check_lib_save_LIBS
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15224 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15225 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
15228 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15234 # See if we support thread-local storage.
15237 # Check whether --enable-tls was given.
15238 if test "${enable_tls+set}" = set; then :
15239 enableval
=$enable_tls;
15240 case "$enableval" in
15242 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
15251 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
15252 if test "${gcc_cv_have_tls+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15256 if test "$cross_compiling" = yes; then :
15257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15258 /* end confdefs.h. */
15259 __thread int a; int b; int main() { return a = b; }
15261 if ac_fn_c_try_link
"$LINENO"; then :
15262 chktls_save_LDFLAGS
="$LDFLAGS"
15265 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
15268 chktls_save_CFLAGS
="$CFLAGS"
15269 CFLAGS
="-fPIC $CFLAGS"
15270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15272 int f() { return 0; }
15274 if ac_fn_c_try_link
"$LINENO"; then :
15275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277 __thread int a; int b; int f() { return a = b; }
15279 if ac_fn_c_try_link
"$LINENO"; then :
15280 gcc_cv_have_tls
=yes
15284 rm -f core conftest.err conftest.
$ac_objext \
15285 conftest
$ac_exeext conftest.
$ac_ext
15287 gcc_cv_have_tls
=yes
15289 rm -f core conftest.err conftest.
$ac_objext \
15290 conftest
$ac_exeext conftest.
$ac_ext
15291 CFLAGS
="$chktls_save_CFLAGS"
15292 LDFLAGS
="$chktls_save_LDFLAGS"
15296 rm -f core conftest.err conftest.
$ac_objext \
15297 conftest
$ac_exeext conftest.
$ac_ext
15301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15303 __thread int a; int b; int main() { return a = b; }
15305 if ac_fn_c_try_run
"$LINENO"; then :
15306 chktls_save_LDFLAGS
="$LDFLAGS"
15307 LDFLAGS
="-static $LDFLAGS"
15308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 int main() { return 0; }
15312 if ac_fn_c_try_link
"$LINENO"; then :
15313 if test "$cross_compiling" = yes; then :
15314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15316 as_fn_error
"cannot run test program while cross compiling
15317 See \`config.log' for more details." "$LINENO" 5; }
15319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 __thread int a; int b; int main() { return a = b; }
15323 if ac_fn_c_try_run
"$LINENO"; then :
15324 gcc_cv_have_tls
=yes
15328 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15329 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15333 gcc_cv_have_tls
=yes
15335 rm -f core conftest.err conftest.
$ac_objext \
15336 conftest
$ac_exeext conftest.
$ac_ext
15337 LDFLAGS
="$chktls_save_LDFLAGS"
15338 if test $gcc_cv_have_tls = yes; then
15339 chktls_save_CFLAGS
="$CFLAGS"
15340 thread_CFLAGS
=failed
15341 for flag
in '' '-pthread' '-lpthread'; do
15342 CFLAGS
="$flag $chktls_save_CFLAGS"
15343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345 #include <pthread.h>
15346 void *g(void *d) { return NULL; }
15350 pthread_t t; pthread_create(&t,NULL,g,NULL);
15355 if ac_fn_c_try_link
"$LINENO"; then :
15356 thread_CFLAGS
="$flag"
15358 rm -f core conftest.err conftest.
$ac_objext \
15359 conftest
$ac_exeext conftest.
$ac_ext
15360 if test "X$thread_CFLAGS" != Xfailed
; then
15364 CFLAGS
="$chktls_save_CFLAGS"
15365 if test "X$thread_CFLAGS" != Xfailed
; then
15366 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
15367 if test "$cross_compiling" = yes; then :
15368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15370 as_fn_error
"cannot run test program while cross compiling
15371 See \`config.log' for more details." "$LINENO" 5; }
15373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15375 #include <pthread.h>
15377 static int *a_in_other_thread;
15379 thread_func (void *arg)
15381 a_in_other_thread = &a;
15388 void *thread_retval;
15389 int *a_in_main_thread;
15390 if (pthread_create (&thread, (pthread_attr_t *)0,
15391 thread_func, (void *)0))
15393 a_in_main_thread = &a;
15394 if (pthread_join (thread, &thread_retval))
15396 return (a_in_other_thread == a_in_main_thread);
15401 if ac_fn_c_try_run
"$LINENO"; then :
15402 gcc_cv_have_tls
=yes
15406 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15407 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15410 CFLAGS
="$chktls_save_CFLAGS"
15416 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15417 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
15422 $as_echo "$gcc_cv_have_tls" >&6; }
15423 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
15425 $as_echo "#define HAVE_TLS 1" >>confdefs.h
15429 # See what sort of export controls are availible.
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
15432 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
15433 if test "${libgomp_cv_have_attribute_visibility+set}" = set; then :
15434 $as_echo_n "(cached) " >&6
15437 save_CFLAGS
="$CFLAGS"
15438 CFLAGS
="$CFLAGS -Werror"
15439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15440 /* end confdefs.h. */
15441 void __attribute__((visibility("hidden"))) foo(void) { }
15450 if ac_fn_c_try_compile
"$LINENO"; then :
15451 libgomp_cv_have_attribute_visibility
=yes
15453 libgomp_cv_have_attribute_visibility
=no
15455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15456 CFLAGS
="$save_CFLAGS"
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_visibility" >&5
15459 $as_echo "$libgomp_cv_have_attribute_visibility" >&6; }
15460 if test $libgomp_cv_have_attribute_visibility = yes; then
15462 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
15467 $as_echo_n "checking whether the target supports dllexport... " >&6; }
15468 if test "${libgomp_cv_have_attribute_dllexport+set}" = set; then :
15469 $as_echo_n "(cached) " >&6
15472 save_CFLAGS
="$CFLAGS"
15473 CFLAGS
="$CFLAGS -Werror"
15474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15476 void __attribute__((dllexport)) foo(void) { }
15485 if ac_fn_c_try_compile
"$LINENO"; then :
15486 libgomp_cv_have_attribute_dllexport
=yes
15488 libgomp_cv_have_attribute_dllexport
=no
15490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15491 CFLAGS
="$save_CFLAGS"
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_dllexport" >&5
15494 $as_echo "$libgomp_cv_have_attribute_dllexport" >&6; }
15495 if test $libgomp_cv_have_attribute_dllexport = yes; then
15497 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
15502 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
15503 if test "${libgomp_cv_have_attribute_alias+set}" = set; then :
15504 $as_echo_n "(cached) " >&6
15507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15511 extern void bar(void) __attribute__((alias("foo")));
15520 if ac_fn_c_try_link
"$LINENO"; then :
15521 libgomp_cv_have_attribute_alias
=yes
15523 libgomp_cv_have_attribute_alias
=no
15525 rm -f core conftest.err conftest.
$ac_objext \
15526 conftest
$ac_exeext conftest.
$ac_ext
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_alias" >&5
15529 $as_echo "$libgomp_cv_have_attribute_alias" >&6; }
15530 if test $libgomp_cv_have_attribute_alias = yes; then
15532 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
15537 # Check whether --with-gnu-ld was given.
15538 if test "${with_gnu_ld+set}" = set; then :
15539 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
15545 if test "$GCC" = yes; then
15546 # Check if gcc -print-prog-name=ld gives a path.
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15548 $as_echo_n "checking for ld used by $CC... " >&6; }
15551 # gcc leaves a trailing carriage return which upsets mingw
15552 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15554 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15557 # Accept absolute paths.
15559 re_direlt
='/[^/][^/]*/\.\./'
15560 # Canonicalize the pathname of ld
15561 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15562 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15563 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15565 test -z "$LD" && LD
="$ac_prog"
15568 # If it fails, then pretend we aren't using GCC.
15572 # If it is relative, then search for the first ld in PATH.
15573 with_gnu_ld
=unknown
15576 elif test "$with_gnu_ld" = yes; then
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15578 $as_echo_n "checking for GNU ld... " >&6; }
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15581 $as_echo_n "checking for non-GNU ld... " >&6; }
15583 if test "${lt_cv_path_LD+set}" = set; then :
15584 $as_echo_n "(cached) " >&6
15586 if test -z "$LD"; then
15587 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15588 for ac_dir
in $PATH; do
15590 test -z "$ac_dir" && ac_dir
=.
15591 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15592 lt_cv_path_LD
="$ac_dir/$ac_prog"
15593 # Check to see if the program is GNU ld. I'd rather use --version,
15594 # but apparently some variants of GNU ld only accept -v.
15595 # Break only if it was the GNU/non-GNU ld that we prefer.
15596 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15597 *GNU
* |
*'with BFD'*)
15598 test "$with_gnu_ld" != no
&& break
15601 test "$with_gnu_ld" != yes && break
15608 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15612 LD
="$lt_cv_path_LD"
15613 if test -n "$LD"; then
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15615 $as_echo "$LD" >&6; }
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15618 $as_echo "no" >&6; }
15620 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15622 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15623 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
15624 $as_echo_n "(cached) " >&6
15626 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15627 case `$LD -v 2>&1 </dev/null` in
15628 *GNU
* |
*'with BFD'*)
15629 lt_cv_prog_gnu_ld
=yes
15632 lt_cv_prog_gnu_ld
=no
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15637 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15638 with_gnu_ld
=$lt_cv_prog_gnu_ld
15646 # If we're not using GNU ld, then there's no point in even trying these
15647 # tests. Check for that first. We should have already tested for gld
15648 # by now (in libtool), but require it now just to be safe...
15649 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
15650 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
15654 # The name set by libtool depends on the version of libtool. Shame on us
15655 # for depending on an impl detail, but c'est la vie. Older versions used
15656 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
15657 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
15658 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
15659 # set (hence we're using an older libtool), then set it.
15660 if test x
${with_gnu_ld+set} != xset
; then
15661 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
15662 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
15665 with_gnu_ld
=$ac_cv_prog_gnu_ld
15669 # Start by getting the version number. I think the libtool test already
15670 # does some of this, but throws away the result.
15671 libgomp_ld_is_gold
=no
15672 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
15673 libgomp_ld_is_gold
=yes
15676 ldver
=`$LD --version 2>/dev/null |
15677 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
15679 libgomp_gnu_ld_version
=`echo $ldver | \
15680 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
15682 # Set --gc-sections.
15683 if test "$with_gnu_ld" = "notbroken"; then
15684 # GNU ld it is! Joy and bunny rabbits!
15686 # All these tests are for C++; save the language and the compiler flags.
15687 # Need to do this so that g++ won't try to link in libstdc++
15688 ac_test_CFLAGS
="${CFLAGS+set}"
15689 ac_save_CFLAGS
="$CFLAGS"
15690 CFLAGS
='-x c++ -Wl,--gc-sections'
15692 # Check for -Wl,--gc-sections
15693 # XXX This test is broken at the moment, as symbols required for linking
15694 # are now in libsupc++ (not built yet). In addition, this test has
15695 # cored on solaris in the past. In addition, --gc-sections doesn't
15696 # really work at the moment (keeps on discarding used sections, first
15697 # .eh_frame and now some of the glibc sections for iconv).
15698 # Bzzzzt. Thanks for playing, maybe next time.
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
15700 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
15701 if test "$cross_compiling" = yes; then :
15702 ac_sectionLDflags
=yes
15704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15715 if ac_fn_c_try_run
"$LINENO"; then :
15716 ac_sectionLDflags
=yes
15718 ac_sectionLDflags
=no
15720 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15721 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15724 if test "$ac_test_CFLAGS" = set; then
15725 CFLAGS
="$ac_save_CFLAGS"
15727 # this is the suspicious part
15730 if test "$ac_sectionLDflags" = "yes"; then
15731 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
15734 $as_echo "$ac_sectionLDflags" >&6; }
15737 # Set linker optimization flags.
15738 if test x
"$with_gnu_ld" = x
"yes"; then
15739 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
15747 # Check whether --enable-symvers was given.
15748 if test "${enable_symvers+set}" = set; then :
15749 enableval
=$enable_symvers;
15750 case "$enableval" in
15752 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
15761 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
15762 # don't know enough about $LD to do tricks...
15764 # FIXME The following test is too strict, in theory.
15765 if test $enable_shared = no ||
15767 test x
$libgomp_gnu_ld_version = x
; then
15771 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
15772 if test $enable_symvers != no
; then
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
15774 $as_echo_n "checking for shared libgcc... " >&6; }
15775 ac_save_CFLAGS
="$CFLAGS"
15777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15788 if ac_fn_c_try_link
"$LINENO"; then :
15789 libgomp_shared_libgcc
=yes
15791 libgomp_shared_libgcc
=no
15793 rm -f core conftest.err conftest.
$ac_objext \
15794 conftest
$ac_exeext conftest.
$ac_ext
15795 CFLAGS
="$ac_save_CFLAGS"
15796 if test $libgomp_shared_libgcc = no
; then
15797 cat > conftest.c
<<EOF
15798 int main (void) { return 0; }
15800 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
15801 -shared -shared-libgcc -o conftest.so \
15802 conftest.c -v 2>&1 >/dev/null \
15803 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
15804 rm -f conftest.c conftest.so
15805 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
15806 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
15807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15818 if ac_fn_c_try_link
"$LINENO"; then :
15819 libgomp_shared_libgcc
=yes
15821 rm -f core conftest.err conftest.
$ac_objext \
15822 conftest
$ac_exeext conftest.
$ac_ext
15823 CFLAGS
="$ac_save_CFLAGS"
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_shared_libgcc" >&5
15827 $as_echo "$libgomp_shared_libgcc" >&6; }
15830 # For GNU ld, we need at least this version. The format is described in
15831 # LIBGOMP_CHECK_LINKER_FEATURES above.
15832 libgomp_min_gnu_ld_version
=21400
15833 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
15835 # Check to see if unspecified "yes" value can win, given results above.
15836 # Change "yes" into either "no" or a style name.
15837 if test $enable_symvers = yes; then
15838 if test $with_gnu_ld = yes &&
15839 test $libgomp_shared_libgcc = yes;
15841 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
15843 elif test $libgomp_ld_is_gold = yes ; then
15846 # The right tools, the right setup, but too old. Fallbacks?
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
15848 $as_echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
15850 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
15852 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
15854 $as_echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
15855 if test $libgomp_gnu_ld_version -ge 21200 ; then
15856 # Globbing fix is present, proper block support is not.
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15858 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15863 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15868 # just fail for now
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
15870 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
15872 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
15874 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15876 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
15882 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
15883 if test "${libgomp_cv_have_as_symver_directive+set}" = set; then :
15884 $as_echo_n "(cached) " >&6
15887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15889 void foo (void); __asm (".symver foo, bar@SYMVER");
15898 if ac_fn_c_try_compile
"$LINENO"; then :
15899 libgomp_cv_have_as_symver_directive
=yes
15901 libgomp_cv_have_as_symver_directive
=no
15903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_as_symver_directive" >&5
15906 $as_echo "$libgomp_cv_have_as_symver_directive" >&6; }
15907 if test $libgomp_cv_have_as_symver_directive = yes; then
15909 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
15913 if test $enable_symvers != no
; then
15914 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
15915 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
15917 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
15918 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
15922 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
15925 if test $enable_symvers = gnu
; then
15927 $as_echo "#define LIBGOMP_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
15931 # Get target configury.
15932 .
${srcdir}/configure.tgt
15933 CFLAGS
="$save_CFLAGS $XCFLAGS"
15935 # Check for __sync_val_compare_and_swap, but only after the target has
15936 # had a chance to set XCFLAGS.
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
15939 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
15940 if test "${libgomp_cv_have_sync_builtins+set}" = set; then :
15941 $as_echo_n "(cached) " >&6
15944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15950 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
15955 if ac_fn_c_try_link
"$LINENO"; then :
15956 libgomp_cv_have_sync_builtins
=yes
15958 libgomp_cv_have_sync_builtins
=no
15960 rm -f core conftest.err conftest.
$ac_objext \
15961 conftest
$ac_exeext conftest.
$ac_ext
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_sync_builtins" >&5
15964 $as_echo "$libgomp_cv_have_sync_builtins" >&6; }
15965 if test $libgomp_cv_have_sync_builtins = yes; then
15967 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
15971 XCFLAGS
="$XCFLAGS$XPCFLAGS"
15977 # Cleanup and exit.
15978 CFLAGS
="$save_CFLAGS"
15979 cat >confcache
<<\_ACEOF
15980 # This file is a shell script that caches the results of configure
15981 # tests run on this system so they can be shared between configure
15982 # scripts and configure runs, see configure's option --config-cache.
15983 # It is not useful on other systems. If it contains results you don't
15984 # want to keep, you may remove or edit it.
15986 # config.status only pays attention to the cache file if you give it
15987 # the --recheck option to rerun configure.
15989 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15990 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15991 # following values.
15995 # The following way of writing the cache mishandles newlines in values,
15996 # but we know of no workaround that is simple, portable, and efficient.
15997 # So, we kill variables containing newlines.
15998 # Ultrix sh set writes to stderr and can't be redirected directly,
15999 # and sets the high bit in the cache file unless we assign to the vars.
16001 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16002 eval ac_val
=\$
$ac_var
16006 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16007 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16010 _ | IFS | as_nl
) ;; #(
16011 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16012 *) { eval $ac_var=; unset $ac_var;} ;;
16018 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16019 *${as_nl}ac_space
=\
*)
16020 # `set' does not quote correctly, so add quotes: double-quote
16021 # substitution turns \\\\ into \\, and sed turns \\ into \.
16024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16027 # `set' quotes correctly as required by POSIX, so do not add quotes.
16028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16041 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16042 if test -w "$cache_file"; then
16043 test "x$cache_file" != "x/dev/null" &&
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16045 $as_echo "$as_me: updating cache $cache_file" >&6;}
16046 cat confcache
>$cache_file
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16049 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16054 if test ${multilib} = yes; then
16055 multilib_arg
="--enable-multilib"
16060 # Set up the set of libraries that we need to link against for libgomp.
16061 # Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp,
16062 # which will force linkage against -lpthread (or equivalent for the system).
16063 # That's not 100% ideal, but about the best we can do easily.
16064 if test $enable_shared = yes; then
16065 link_gomp
="-lgomp %{static: $LIBS}"
16067 link_gomp
="-lgomp $LIBS"
16071 if test "$ac_cv_fc_compiler_gnu" = yes; then
16073 USE_FORTRAN_FALSE
='#'
16075 USE_FORTRAN_TRUE
='#'
16080 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
16081 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
16082 # the underscore here and update the PREREQ. If it doesn't, then we'll
16083 # need to copy this macro to our acinclude.m4.
16084 save_CFLAGS
="$CFLAGS"
16085 for i
in $config_path; do
16086 if test -f $srcdir/config
/$i/omp-lock.h
; then
16087 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
16092 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_t)" "OMP_LOCK_SIZE" ""; then :
16095 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_t)" "$LINENO" 5
16099 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_t)" "OMP_LOCK_ALIGN" ""; then :
16104 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_t)" "OMP_NEST_LOCK_SIZE" ""; then :
16109 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_t)" "OMP_NEST_LOCK_ALIGN" ""; then :
16114 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_25_t)" "OMP_LOCK_25_SIZE" ""; then :
16117 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_25_t)" "$LINENO" 5
16121 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_25_t)" "OMP_LOCK_25_ALIGN" ""; then :
16126 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_SIZE" ""; then :
16131 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_ALIGN" ""; then :
16137 # If the lock fits in an integer, then arrange for Fortran to use that
16138 # integer. If it doesn't, then arrange for Fortran to use a pointer.
16139 # Except that we don't have a way at present to multi-lib the installed
16140 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
16142 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
16143 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
16144 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
16147 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
16148 OMP_NEST_LOCK_KIND
=8
16150 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
16151 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
16152 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
16155 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
16156 OMP_NEST_LOCK_25_KIND
=8
16171 CFLAGS
="$save_CFLAGS"
16173 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
16175 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
16177 cat >confcache
<<\_ACEOF
16178 # This file is a shell script that caches the results of configure
16179 # tests run on this system so they can be shared between configure
16180 # scripts and configure runs, see configure's option --config-cache.
16181 # It is not useful on other systems. If it contains results you don't
16182 # want to keep, you may remove or edit it.
16184 # config.status only pays attention to the cache file if you give it
16185 # the --recheck option to rerun configure.
16187 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16188 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16189 # following values.
16193 # The following way of writing the cache mishandles newlines in values,
16194 # but we know of no workaround that is simple, portable, and efficient.
16195 # So, we kill variables containing newlines.
16196 # Ultrix sh set writes to stderr and can't be redirected directly,
16197 # and sets the high bit in the cache file unless we assign to the vars.
16199 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16200 eval ac_val
=\$
$ac_var
16204 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16208 _ | IFS | as_nl
) ;; #(
16209 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16210 *) { eval $ac_var=; unset $ac_var;} ;;
16216 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16217 *${as_nl}ac_space
=\
*)
16218 # `set' does not quote correctly, so add quotes: double-quote
16219 # substitution turns \\\\ into \\, and sed turns \\ into \.
16222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16225 # `set' quotes correctly as required by POSIX, so do not add quotes.
16226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16235 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16237 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16239 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16240 if test -w "$cache_file"; then
16241 test "x$cache_file" != "x/dev/null" &&
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16243 $as_echo "$as_me: updating cache $cache_file" >&6;}
16244 cat confcache
>$cache_file
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16247 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16252 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16253 # Let make expand exec_prefix.
16254 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16256 DEFS
=-DHAVE_CONFIG_H
16260 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16261 # 1. Remove the extension, and $U if already installed.
16262 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16263 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16264 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16265 # will be set to the directory where LIBOBJS objects are built.
16266 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16267 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16269 LIBOBJS
=$ac_libobjs
16271 LTLIBOBJS
=$ac_ltlibobjs
16274 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
16275 as_fn_error
"conditional \"GENINSRC\" was never defined.
16276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16278 if test -n "$EXEEXT"; then
16280 am__EXEEXT_FALSE
='#'
16282 am__EXEEXT_TRUE
='#'
16286 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16287 as_fn_error
"conditional \"AMDEP\" was never defined.
16288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16290 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16291 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16294 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
16295 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
16296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16298 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16299 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16302 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
16303 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
16304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16306 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
16307 as_fn_error
"conditional \"USE_FORTRAN\" was never defined.
16308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16311 : ${CONFIG_STATUS=./config.status}
16313 ac_clean_files_save
=$ac_clean_files
16314 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16316 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16318 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16320 # Generated by $as_me.
16321 # Run this file to recreate the current configuration.
16322 # Compiler output produced by configure, useful for debugging
16323 # configure, is in config.log if it exists.
16326 ac_cs_recheck=false
16329 SHELL=\${CONFIG_SHELL-$SHELL}
16332 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16333 ## -------------------- ##
16334 ## M4sh Initialization. ##
16335 ## -------------------- ##
16337 # Be more Bourne compatible
16338 DUALCASE
=1; export DUALCASE
# for MKS sh
16339 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16342 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16343 # is contrary to our usage. Disable this feature.
16344 alias -g '${1+"$@"}'='"$@"'
16345 setopt NO_GLOB_SUBST
16347 case `(set -o) 2>/dev/null` in #(
16359 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16360 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16361 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16362 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16363 # Prefer a ksh shell builtin over an external printf program on Solaris,
16364 # but without wasting forks for bash or zsh.
16365 if test -z "$BASH_VERSION$ZSH_VERSION" \
16366 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16367 as_echo='print
-r --'
16368 as_echo_n='print
-rn --'
16369 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16370 as_echo='printf %s
\n'
16371 as_echo_n='printf %s
'
16373 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16374 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16375 as_echo_n='/usr
/ucb
/echo -n'
16377 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16378 as_echo_n_body='eval
16382 expr "X$arg" : "X\\(.*\\)$as_nl";
16383 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16385 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16387 export as_echo_n_body
16388 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16390 export as_echo_body
16391 as_echo='sh
-c $as_echo_body as_echo
'
16394 # The user is always right.
16395 if test "${PATH_SEPARATOR+set}" != set; then
16397 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16398 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16405 # We need space, tab and new line, in precisely that order. Quoting is
16406 # there to prevent editors from complaining about space-tab.
16407 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16408 # splitting by setting IFS to empty value.)
16411 # Find who we are. Look in the path if we contain no directory separator.
16413 *[\\/]* ) as_myself=$0 ;;
16414 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16415 for as_dir in $PATH
16418 test -z "$as_dir" && as_dir=.
16419 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16425 # We did not find ourselves, most probably we were run as `sh COMMAND'
16426 # in which case we are not to be found in the path.
16427 if test "x$as_myself" = x
; then
16430 if test ! -f "$as_myself"; then
16431 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16435 # Unset variables that we do not need and which cause bugs (e.g. in
16436 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16437 # suppresses any "Segmentation fault" message there. '((' could
16438 # trigger a bug in pdksh 5.2.14.
16439 for as_var
in BASH_ENV ENV MAIL MAILPATH
16440 do eval test x\
${$as_var+set} = xset \
16441 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16454 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16457 # as_fn_error ERROR [LINENO LOG_FD]
16458 # ---------------------------------
16459 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16460 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16461 # script with status $?, using 1 if that was 0.
16464 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16466 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16467 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16469 $as_echo "$as_me: error: $1" >&2
16470 as_fn_exit
$as_status
16474 # as_fn_set_status STATUS
16475 # -----------------------
16476 # Set $? to STATUS, without forking.
16477 as_fn_set_status
()
16480 } # as_fn_set_status
16482 # as_fn_exit STATUS
16483 # -----------------
16484 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16488 as_fn_set_status
$1
16494 # Portably unset VAR.
16497 { eval $1=; unset $1;}
16499 as_unset
=as_fn_unset
16500 # as_fn_append VAR VALUE
16501 # ----------------------
16502 # Append the text in VALUE to the end of the definition contained in VAR. Take
16503 # advantage of any shell optimizations that allow amortized linear growth over
16504 # repeated appends, instead of the typical quadratic growth present in naive
16506 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16507 eval 'as_fn_append ()
16518 # as_fn_arith ARG...
16519 # ------------------
16520 # Perform arithmetic evaluation on the ARGs, and store the result in the
16521 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16522 # must be portable across $(()) and expr.
16523 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16524 eval 'as_fn_arith ()
16531 as_val
=`expr "$@" || test $? -eq 1`
16536 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16537 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16543 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16544 as_basename
=basename
16549 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16555 as_me
=`$as_basename -- "$0" ||
16556 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16557 X"$0" : 'X\(//\)$' \| \
16558 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16560 sed '/^.*\/\([^/][^/]*\)\/*$/{
16574 # Avoid depending upon Character Ranges.
16575 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16576 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16577 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16578 as_cr_digits
='0123456789'
16579 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16581 ECHO_C
= ECHO_N
= ECHO_T
=
16582 case `echo -n x` in #(((((
16584 case `echo 'xy\c'` in
16585 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16587 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16594 rm -f conf$$ conf$$.exe conf$$.
file
16595 if test -d conf$$.dir
; then
16596 rm -f conf$$.dir
/conf$$.
file
16599 mkdir conf$$.dir
2>/dev
/null
16601 if (echo >conf$$.
file) 2>/dev
/null
; then
16602 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16604 # ... but there are two gotchas:
16605 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16606 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16607 # In both cases, we have to default to `cp -p'.
16608 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16610 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16618 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16619 rmdir conf$$.dir
2>/dev
/null
16624 # Create "$as_dir" as a directory, including parents if necessary.
16629 -*) as_dir
=.
/$as_dir;;
16631 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16635 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16636 *) as_qdir
=$as_dir;;
16638 as_dirs
="'$as_qdir' $as_dirs"
16639 as_dir
=`$as_dirname -- "$as_dir" ||
16640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16641 X"$as_dir" : 'X\(//\)[^/]' \| \
16642 X"$as_dir" : 'X\(//\)$' \| \
16643 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16644 $as_echo X"$as_dir" |
16645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16649 /^X\(\/\/\)[^/].*/{
16662 test -d "$as_dir" && break
16664 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16665 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16669 if mkdir
-p .
2>/dev
/null
; then
16670 as_mkdir_p
='mkdir -p "$as_dir"'
16672 test -d .
/-p && rmdir .
/-p
16676 if test -x / >/dev
/null
2>&1; then
16677 as_test_x
='test -x'
16679 if ls -dL / >/dev
/null
2>&1; then
16686 if test -d "$1"; then
16692 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16693 ???[sx]*):;;*)false;;esac;fi
16697 as_executable_p
=$as_test_x
16699 # Sed expression to map a string onto a valid CPP name.
16700 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16702 # Sed expression to map a string onto a valid variable name.
16703 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16707 ## ----------------------------------- ##
16708 ## Main body of $CONFIG_STATUS script. ##
16709 ## ----------------------------------- ##
16711 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16714 # Save the log message, to keep $0 and so on meaningful, and to
16715 # report actual input values of CONFIG_FILES etc. instead of their
16716 # values after options handling.
16718 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
16719 generated by GNU Autoconf 2.64. Invocation command line was
16721 CONFIG_FILES = $CONFIG_FILES
16722 CONFIG_HEADERS = $CONFIG_HEADERS
16723 CONFIG_LINKS = $CONFIG_LINKS
16724 CONFIG_COMMANDS = $CONFIG_COMMANDS
16727 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16732 case $ac_config_files in *"
16733 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16736 case $ac_config_headers in *"
16737 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16742 # Files that config.status was made for.
16743 config_files="$ac_config_files"
16744 config_headers="$ac_config_headers"
16745 config_commands="$ac_config_commands"
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16751 \`$as_me' instantiates files and other configuration actions
16752 from templates according to the current configuration. Unless the files
16753 and actions are specified as TAGs, all are instantiated by default.
16755 Usage: $0 [OPTION]... [TAG]...
16757 -h, --help print this help, then exit
16758 -V, --version print version number and configuration settings, then exit
16759 -q, --quiet, --silent
16760 do not print progress messages
16761 -d, --debug don't remove temporary files
16762 --recheck update $as_me by reconfiguring in the same conditions
16763 --file=FILE[:TEMPLATE]
16764 instantiate the configuration file FILE
16765 --header=FILE[:TEMPLATE]
16766 instantiate the configuration header FILE
16768 Configuration files:
16771 Configuration headers:
16774 Configuration commands:
16777 Report bugs to the package provider.
16778 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
16779 General help using GNU software: <http://www.gnu.org/gethelp/>."
16782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16784 GNU OpenMP Runtime Library config.status 1.0
16785 configured by $0, generated by GNU Autoconf 2.64,
16786 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16788 Copyright (C) 2009 Free Software Foundation, Inc.
16789 This config.status script is free software; the Free Software Foundation
16790 gives unlimited permission to copy, distribute and modify it."
16797 test -n "\$AWK" || AWK=awk
16800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16801 # The default lists apply if the user does not specify any file.
16807 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16808 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16819 # Handling of the options.
16820 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16822 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16823 $as_echo "$ac_cs_version"; exit ;;
16824 --debug |
--debu |
--deb |
--de |
--d |
-d )
16826 --file |
--fil |
--fi |
--f )
16829 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16831 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16832 ac_need_defaults
=false
;;
16833 --header |
--heade |
--head |
--hea )
16836 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16838 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16839 ac_need_defaults
=false
;;
16841 # Conflict between --help and --header
16842 as_fn_error
"ambiguous option: \`$1'
16843 Try \`$0 --help' for more information.";;
16844 --help |
--hel |
-h )
16845 $as_echo "$ac_cs_usage"; exit ;;
16846 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16847 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16850 # This is an error.
16851 -*) as_fn_error
"unrecognized option: \`$1'
16852 Try \`$0 --help' for more information." ;;
16854 *) as_fn_append ac_config_targets
" $1"
16855 ac_need_defaults
=false
;;
16861 ac_configure_extra_args
=
16863 if $ac_cs_silent; then
16865 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16870 if \$ac_cs_recheck; then
16871 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16873 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16874 CONFIG_SHELL='$SHELL'
16875 export CONFIG_SHELL
16880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16884 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16885 ## Running $as_me. ##
16891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16899 with_multisubdir="$with_multisubdir"
16900 with_multisrctop="$with_multisrctop"
16901 with_target_subdir="$with_target_subdir"
16902 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16903 multi_basedir="$multi_basedir"
16904 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16907 GFORTRAN="$GFORTRAN"
16909 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16912 # The HP-UX ksh and POSIX shell print the target directory to stdout
16913 # if CDPATH is set.
16914 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16916 sed_quote_subst='$sed_quote_subst'
16917 double_quote_subst='$double_quote_subst'
16918 delay_variable_subst='$delay_variable_subst'
16919 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16920 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16921 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16922 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16923 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16924 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16925 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16926 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16927 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16928 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16929 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16930 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16931 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16932 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16933 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16934 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16935 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16936 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16937 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16938 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16939 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16940 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16941 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16942 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16943 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16944 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16945 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16946 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16947 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16948 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16949 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16950 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16951 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16952 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16953 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16954 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16955 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16956 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16957 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16958 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16959 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16960 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16961 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16962 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16963 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16964 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16965 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16966 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16967 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"`'
16968 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16969 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16970 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16971 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16972 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16973 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16974 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16975 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16976 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16977 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16978 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16979 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16980 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16981 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16982 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16983 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16984 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16985 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16986 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16987 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16988 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16989 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16990 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16991 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16992 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16993 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16994 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16995 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16996 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16997 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16998 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16999 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17000 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17001 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17002 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17003 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17004 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17005 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17006 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17007 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17008 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17009 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17010 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17011 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17012 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17013 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17014 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17015 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17016 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17017 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17018 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17019 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17020 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17021 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17022 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17023 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17024 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17025 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17026 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17027 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17028 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17029 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17030 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17031 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17032 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17033 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17034 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17035 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17036 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17037 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17038 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17039 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17040 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17041 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17042 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17043 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17044 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17045 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
17046 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
17047 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
17048 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
17049 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
17050 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
17051 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
17052 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
17053 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
17054 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
17055 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
17056 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
17057 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
17058 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17059 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17060 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
17061 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
17062 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
17063 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
17064 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
17065 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
17066 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
17067 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
17068 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
17069 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
17070 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17071 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
17072 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
17073 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
17074 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
17075 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
17076 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
17077 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
17078 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
17079 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
17080 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
17081 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
17082 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
17083 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
17084 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
17085 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
17086 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
17087 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
17088 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
17089 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
17090 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
17091 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
17092 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
17093 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
17096 LTCFLAGS='$LTCFLAGS'
17097 compiler='$compiler_DEFAULT'
17099 # A function that is used when there is no print builtin or printf.
17100 func_fallback_echo ()
17102 eval 'cat <<_LTECHO_EOF
17107 # Quote evaled strings.
17121 deplibs_check_method \
17130 lt_cv_sys_global_symbol_pipe \
17131 lt_cv_sys_global_symbol_to_cdecl \
17132 lt_cv_sys_global_symbol_to_c_name_address \
17133 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17134 lt_prog_compiler_no_builtin_flag \
17135 lt_prog_compiler_wl \
17136 lt_prog_compiler_pic \
17137 lt_prog_compiler_static \
17138 lt_cv_prog_compiler_c_o \
17146 export_dynamic_flag_spec \
17147 whole_archive_flag_spec \
17148 compiler_needs_object \
17150 allow_undefined_flag \
17151 no_undefined_flag \
17152 hardcode_libdir_flag_spec \
17153 hardcode_libdir_flag_spec_ld \
17154 hardcode_libdir_separator \
17159 variables_saved_for_relink \
17161 library_names_spec \
17163 install_override_mode \
17167 compiler_lib_search_dirs \
17172 compiler_lib_search_path \
17176 lt_prog_compiler_no_builtin_flag_FC \
17177 lt_prog_compiler_wl_FC \
17178 lt_prog_compiler_pic_FC \
17179 lt_prog_compiler_static_FC \
17180 lt_cv_prog_compiler_c_o_FC \
17181 export_dynamic_flag_spec_FC \
17182 whole_archive_flag_spec_FC \
17183 compiler_needs_object_FC \
17185 allow_undefined_flag_FC \
17186 no_undefined_flag_FC \
17187 hardcode_libdir_flag_spec_FC \
17188 hardcode_libdir_flag_spec_ld_FC \
17189 hardcode_libdir_separator_FC \
17190 fix_srcfile_path_FC \
17191 exclude_expsyms_FC \
17192 include_expsyms_FC \
17193 file_list_spec_FC \
17194 compiler_lib_search_dirs_FC \
17195 predep_objects_FC \
17196 postdep_objects_FC \
17199 compiler_lib_search_path_FC; do
17200 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17201 *[\\\\\\\`\\"\\\$]*)
17202 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17205 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17210 # Double-quote double-evaled strings.
17211 for var in reload_cmds \
17212 old_postinstall_cmds \
17213 old_postuninstall_cmds \
17215 extract_expsyms_cmds \
17216 old_archive_from_new_cmds \
17217 old_archive_from_expsyms_cmds \
17219 archive_expsym_cmds \
17221 module_expsym_cmds \
17222 export_symbols_cmds \
17225 postuninstall_cmds \
17227 sys_lib_search_path_spec \
17228 sys_lib_dlsearch_path_spec \
17230 old_archive_cmds_FC \
17231 old_archive_from_new_cmds_FC \
17232 old_archive_from_expsyms_cmds_FC \
17234 archive_expsym_cmds_FC \
17236 module_expsym_cmds_FC \
17237 export_symbols_cmds_FC \
17238 prelink_cmds_FC; do
17239 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17240 *[\\\\\\\`\\"\\\$]*)
17241 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17244 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17249 ac_aux_dir='$ac_aux_dir'
17250 xsi_shell='$xsi_shell'
17251 lt_shell_append='$lt_shell_append'
17253 # See if we are running on zsh, and set the options which allow our
17254 # commands through without removal of \ escapes INIT.
17255 if test -n "\${ZSH_VERSION+set}" ; then
17256 setopt NO_GLOB_SUBST
17262 TIMESTAMP='$TIMESTAMP'
17273 acx_cv_header_stdint="$acx_cv_header_stdint"
17274 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17275 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17276 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17277 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17278 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17279 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17280 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17281 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17282 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17283 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17284 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17285 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17286 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17293 # Handling of arguments.
17294 for ac_config_target
in $ac_config_targets
17296 case $ac_config_target in
17297 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17298 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17299 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17300 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17301 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17302 "omp.h") CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
17303 "omp_lib.h") CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
17304 "omp_lib.f90") CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
17305 "libgomp_f.h") CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
17306 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17307 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17308 "libgomp.spec") CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
17310 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17315 # If the user did not use the arguments to specify the items to instantiate,
17316 # then the envvar interface is used. Set only those that are not.
17317 # We use the long form for the default assignment because of an extremely
17318 # bizarre bug on SunOS 4.1.3.
17319 if $ac_need_defaults; then
17320 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17321 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17325 # Have a temporary directory for convenience. Make it in the build tree
17326 # simply because there is no reason against having it here, and in addition,
17327 # creating and moving files from /tmp can sometimes cause problems.
17328 # Hook for its removal unless debugging.
17329 # Note that there is a small window in which the directory will not be cleaned:
17330 # after its creation but before its name has been assigned to `$tmp'.
17334 trap 'exit_status=$?
17335 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17337 trap 'as_fn_exit 1' 1 2 13 15
17339 # Create a (secure) tmp directory for tmp files.
17342 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17343 test -n "$tmp" && test -d "$tmp"
17346 tmp
=.
/conf$$
-$RANDOM
17347 (umask 077 && mkdir
"$tmp")
17348 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17350 # Set up the scripts for CONFIG_FILES section.
17351 # No need to generate them if there are no CONFIG_FILES.
17352 # This happens for instance with `./config.status config.h'.
17353 if test -n "$CONFIG_FILES"; then
17356 ac_cr
=`echo X | tr X '\015'`
17357 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17358 # But we know of no other shell where ac_cr would be empty at this
17359 # point, so we can use a bashism as a fallback.
17360 if test "x$ac_cr" = x
; then
17361 eval ac_cr
=\$
\'\\r
\'
17363 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17364 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17367 ac_cs_awk_cr
=$ac_cr
17370 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17375 echo "cat >conf$$subs.awk <<_ACEOF" &&
17376 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17378 } >conf$$subs.sh ||
17379 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17380 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17382 for ac_last_try in false false false false false :; do
17383 . ./conf$$subs.sh ||
17384 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17386 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17387 if test $ac_delim_n = $ac_delim_num; then
17389 elif $ac_last_try; then
17390 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17392 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17395 rm -f conf$$subs.sh
17397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17398 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17402 s/^/S["/; s
/!.
*/"]=/
17412 s/\(.\{148\}\).*/\1/
17414 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17419 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17426 s/\(.\{148\}\).*/\1/
17428 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17432 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17437 ' <conf$$subs.awk | sed '
17442 ' >>$CONFIG_STATUS || ac_write_fail=1
17443 rm -f conf$$subs.awk
17444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17446 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17447 for (key in S) S_is_set[key] = 1
17453 nfields = split(line, field, "@
")
17455 len = length(field[1])
17456 for (i = 2; i < nfields; i++) {
17458 keylen = length(key)
17459 if (S_is_set[key]) {
17461 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17462 len += length(value) + length(field[++i])
17473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17474 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17475 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17478 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17479 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17482 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17483 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17484 # trailing colons and then remove the whole line if VPATH becomes empty
17485 # (actually we leave an empty line to preserve line numbers).
17486 if test "x
$srcdir" = x.; then
17487 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17488 s/:*\$(srcdir):*/:/
17489 s/:*\${srcdir}:*/:/
17491 s/^\([^=]*=[ ]*\):*/\1/
17497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17498 fi # test -n "$CONFIG_FILES"
17500 # Set up the scripts for CONFIG_HEADERS section.
17501 # No need to generate them if there are no CONFIG_HEADERS.
17502 # This happens for instance with `./config.status Makefile'.
17503 if test -n "$CONFIG_HEADERS"; then
17504 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17508 # Transform confdefs.h into an awk script `defines.awk', embedded as
17509 # here-document in config.status, that substitutes the proper values into
17510 # config.h.in to produce config.h.
17512 # Create a delimiter string that does not exist in confdefs.h, to ease
17513 # handling of long lines.
17515 for ac_last_try in false false :; do
17516 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17517 if test -z "$ac_t"; then
17519 elif $ac_last_try; then
17520 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17522 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17526 # For the awk script, D is an array of macro values keyed by name,
17527 # likewise P contains macro parameters if any. Preserve backslash
17528 # newline sequences.
17530 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17532 s/.\{148\}/&'"$ac_delim"'/g
17535 s/^[ ]*#[ ]*define[ ][ ]*/ /
17542 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17544 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17548 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17549 D["\
1"]=" \
3\\\\\\n
"\\/p
17551 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17556 s/.\{148\}/&'"$ac_delim"'/g
17561 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17564 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17566 ' <confdefs.h | sed '
17567 s/'"$ac_delim"'/"\\\
17568 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17571 for (key in D) D_is_set[key] = 1
17574 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17576 split(line, arg, " ")
17577 if (arg[1] == "#") {
17581 defundef
= substr
(arg
[1], 2)
17584 split(mac1
, mac2
, "(") #)
17586 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17587 if (D_is_set
[macro
]) {
17588 # Preserve the white space surrounding the "#".
17589 print prefix
"define", macro P
[macro
] D
[macro
]
17592 # Replace #undef with comments. This is necessary, for example,
17593 # in the case of _POSIX_SOURCE, which is predefined and required
17594 # on some systems where configure will not decide to define it.
17595 if (defundef
== "undef") {
17596 print
"/*", prefix defundef
, macro
, "*/"
17604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17605 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17606 fi # test -n "$CONFIG_HEADERS"
17609 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17614 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17616 case $ac_mode$ac_tag in
17618 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17619 :[FH
]-) ac_tag
=-:-;;
17620 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17637 -) ac_f
="$tmp/stdin";;
17638 *) # Look for the file first in the build tree, then in the source tree
17639 # (if the path is not absolute). The absolute path cannot be DOS-style,
17640 # because $ac_f cannot contain `:'.
17644 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17646 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17648 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17649 as_fn_append ac_file_inputs
" '$ac_f'"
17652 # Let's still pretend it is `configure' which instantiates (i.e., don't
17653 # use $as_me), people would be surprised to read:
17654 # /* config.h. Generated by config.status. */
17655 configure_input
='Generated from '`
17656 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17658 if test x
"$ac_file" != x-
; then
17659 configure_input
="$ac_file. $configure_input"
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17661 $as_echo "$as_me: creating $ac_file" >&6;}
17663 # Neutralize special characters interpreted by sed in replacement strings.
17664 case $configure_input in #(
17665 *\
&* |
*\|
* |
*\\* )
17666 ac_sed_conf_input
=`$as_echo "$configure_input" |
17667 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17668 *) ac_sed_conf_input
=$configure_input;;
17672 *:-:* |
*:-) cat >"$tmp/stdin" \
17673 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17678 ac_dir
=`$as_dirname -- "$ac_file" ||
17679 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17680 X"$ac_file" : 'X\(//\)[^/]' \| \
17681 X"$ac_file" : 'X\(//\)$' \| \
17682 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17683 $as_echo X"$ac_file" |
17684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17688 /^X\(\/\/\)[^/].*/{
17701 as_dir
="$ac_dir"; as_fn_mkdir_p
17705 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17707 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17708 # A ".." for each directory in $ac_dir_suffix.
17709 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17710 case $ac_top_builddir_sub in
17711 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17712 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17715 ac_abs_top_builddir
=$ac_pwd
17716 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17717 # for backward compatibility:
17718 ac_top_builddir
=$ac_top_build_prefix
17721 .
) # We are building in place.
17723 ac_top_srcdir
=$ac_top_builddir_sub
17724 ac_abs_top_srcdir
=$ac_pwd ;;
17725 [\\/]* | ?
:[\\/]* ) # Absolute name.
17726 ac_srcdir
=$srcdir$ac_dir_suffix;
17727 ac_top_srcdir
=$srcdir
17728 ac_abs_top_srcdir
=$srcdir ;;
17729 *) # Relative name.
17730 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17731 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17732 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17734 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17744 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17745 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17747 ac_MKDIR_P
=$MKDIR_P
17749 [\\/$
]* | ?
:[\\/]* ) ;;
17750 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17755 # If the template does not know about datarootdir, expand it.
17756 # FIXME: This hack should be removed a few years after 2.60.
17757 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17768 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17769 *datarootdir
*) ac_datarootdir_seen
=yes;;
17770 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17772 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17775 ac_datarootdir_hack='
17776 s&@datadir@&$datadir&g
17777 s&@docdir@&$docdir&g
17778 s&@infodir@&$infodir&g
17779 s&@localedir@&$localedir&g
17780 s&@mandir@&$mandir&g
17781 s&\\\${datarootdir}&$datarootdir&g' ;;
17785 # Neutralize VPATH when `$srcdir' = `.'.
17786 # Shell code in configure.ac might set extrasub.
17787 # FIXME: do we really want to maintain this feature?
17788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17789 ac_sed_extra="$ac_vpsub
17792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17794 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17795 s|@configure_input@|
$ac_sed_conf_input|
;t t
17796 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17797 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17798 s
&@srcdir@
&$ac_srcdir&;t t
17799 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17800 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17801 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17802 s
&@builddir@
&$ac_builddir&;t t
17803 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17804 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17805 s
&@INSTALL@
&$ac_INSTALL&;t t
17806 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17807 $ac_datarootdir_hack
17809 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17810 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17812 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17813 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17814 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17816 which seems to be undefined. Please make sure it is defined." >&5
17817 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17818 which seems to be undefined. Please make sure it is defined." >&2;}
17822 -) cat "$tmp/out" && rm -f "$tmp/out";;
17823 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17825 || as_fn_error "could not create $ac_file" "$LINENO" 5
17831 if test x"$ac_file" != x-; then
17833 $as_echo "/* $configure_input */" \
17834 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17835 } >"$tmp/config.h" \
17836 || as_fn_error "could not create $ac_file" "$LINENO" 5
17837 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17839 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17842 mv "$tmp/config.h" "$ac_file" \
17843 || as_fn_error "could not create $ac_file" "$LINENO" 5
17846 $as_echo "/* $configure_input */" \
17847 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17848 || as_fn_error "could not create -" "$LINENO" 5
17850 # Compute "$ac_file"'s index
in $config_headers.
17853 for _am_header
in $config_headers :; do
17854 case $_am_header in
17855 $_am_arg |
$_am_arg:* )
17858 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17861 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17862 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17863 X"$_am_arg" : 'X\(//\)[^/]' \| \
17864 X"$_am_arg" : 'X\(//\)$' \| \
17865 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17866 $as_echo X"$_am_arg" |
17867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17871 /^X\(\/\/\)[^/].*/{
17883 s/.*/./; q'`/stamp-h
$_am_stamp_count
17886 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17887 $as_echo "$as_me: executing $ac_file commands" >&6;}
17892 case $ac_file$ac_mode in
17894 # Only add multilib support code if we just rebuilt the top-level
17896 case " $CONFIG_FILES " in
17898 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17901 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17902 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17903 # are listed without --file. Let's play safe and only enable the eval
17904 # if we detect the quoting.
17905 case $CONFIG_FILES in
17906 *\'*) eval set x
"$CONFIG_FILES" ;;
17907 *) set x
$CONFIG_FILES ;;
17912 # Strip MF so we end up with the name of the file.
17913 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17914 # Check whether this is an Automake generated Makefile or not.
17915 # We used to match only the files named `Makefile.in', but
17916 # some people rename them; so instead we look at the file content.
17917 # Grep'ing the first line is not enough: some people post-process
17918 # each Makefile.in and add a new line on top of each file to say so.
17919 # Grep'ing the whole file is not good either: AIX grep has a line
17920 # limit of 2048, but all sed's we know have understand at least 4000.
17921 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17922 dirpart
=`$as_dirname -- "$mf" ||
17923 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17924 X"$mf" : 'X\(//\)[^/]' \| \
17925 X"$mf" : 'X\(//\)$' \| \
17926 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17932 /^X\(\/\/\)[^/].*/{
17948 # Extract the definition of DEPDIR, am__include, and am__quote
17949 # from the Makefile without running `make'.
17950 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17951 test -z "$DEPDIR" && continue
17952 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17953 test -z "am__include" && continue
17954 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17955 # When using ansi2knr, U may be empty or an underscore; expand it
17956 U
=`sed -n 's/^U = //p' < "$mf"`
17957 # Find all dependency output files, they are included files with
17958 # $(DEPDIR) in their names. We invoke sed twice because it is the
17959 # simplest approach to changing $(DEPDIR) to its actual value in the
17961 for file in `sed -n "
17962 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17963 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17964 # Make sure the directory exists.
17965 test -f "$dirpart/$file" && continue
17966 fdir
=`$as_dirname -- "$file" ||
17967 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17968 X"$file" : 'X\(//\)[^/]' \| \
17969 X"$file" : 'X\(//\)$' \| \
17970 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17971 $as_echo X"$file" |
17972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17976 /^X\(\/\/\)[^/].*/{
17989 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17990 # echo "creating $dirpart/$file"
17991 echo '# dummy' > "$dirpart/$file"
17998 # See if we are running on zsh, and set the options which allow our
17999 # commands through without removal of \ escapes.
18000 if test -n "${ZSH_VERSION+set}" ; then
18001 setopt NO_GLOB_SUBST
18004 cfgfile
="${ofile}T"
18005 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18008 cat <<_LT_EOF >> "$cfgfile"
18011 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18012 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18013 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18014 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18016 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18017 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18018 # Written by Gordon Matzigkeit, 1996
18020 # This file is part of GNU Libtool.
18022 # GNU Libtool is free software; you can redistribute it and/or
18023 # modify it under the terms of the GNU General Public License as
18024 # published by the Free Software Foundation; either version 2 of
18025 # the License, or (at your option) any later version.
18027 # As a special exception to the GNU General Public License,
18028 # if you distribute this file as part of a program or library that
18029 # is built using GNU Libtool, you may include this file under the
18030 # same distribution terms that you use for the rest of that program.
18032 # GNU Libtool is distributed in the hope that it will be useful,
18033 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18034 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18035 # GNU General Public License for more details.
18037 # You should have received a copy of the GNU General Public License
18038 # along with GNU Libtool; see the file COPYING. If not, a copy
18039 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18040 # obtained by writing to the Free Software Foundation, Inc.,
18041 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18044 # The names of the tagged configurations supported by this script.
18045 available_tags="FC "
18047 # ### BEGIN LIBTOOL CONFIG
18049 # Which release of libtool.m4 was used?
18050 macro_version=$macro_version
18051 macro_revision=$macro_revision
18053 # Whether or not to build shared libraries.
18054 build_libtool_libs=$enable_shared
18056 # Whether or not to build static libraries.
18057 build_old_libs=$enable_static
18059 # What type of objects to build.
18062 # Whether or not to optimize for fast installation.
18063 fast_install=$enable_fast_install
18065 # Shell to use when invoking shell scripts.
18068 # An echo program that protects backslashes.
18072 host_alias=$host_alias
18076 # The build system.
18077 build_alias=$build_alias
18081 # A sed program that does not truncate output.
18084 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18085 Xsed="\$SED -e 1s/^X//"
18087 # A grep program that handles long lines.
18093 # A literal string matcher.
18096 # A BSD- or MS-compatible name lister.
18099 # Whether we need soft or hard links.
18102 # What is the maximum length of a command?
18103 max_cmd_len=$max_cmd_len
18105 # Object file suffix (normally "o").
18108 # Executable file suffix (normally "").
18111 # whether the shell understands "unset".
18114 # turn spaces into newlines.
18117 # turn newlines into spaces.
18120 # An object symbol dumper.
18121 OBJDUMP=$lt_OBJDUMP
18123 # Method to check whether dependent libraries are shared objects.
18124 deplibs_check_method=$lt_deplibs_check_method
18126 # Command to use when deplibs_check_method == "file_magic".
18127 file_magic_cmd=$lt_file_magic_cmd
18131 AR_FLAGS=$lt_AR_FLAGS
18133 # A symbol stripping program.
18136 # Commands used to install an old-style archive.
18138 old_postinstall_cmds=$lt_old_postinstall_cmds
18139 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18141 # Whether to use a lock for old archive extraction.
18142 lock_old_archive_extraction=$lock_old_archive_extraction
18147 # LTCC compiler flags.
18148 LTCFLAGS=$lt_CFLAGS
18150 # Take the output of nm and produce a listing of raw symbols and C names.
18151 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18153 # Transform the output of nm in a proper C declaration.
18154 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18156 # Transform the output of nm in a C name address pair.
18157 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18159 # Transform the output of nm in a C name address pair when lib prefix is needed.
18160 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18162 # The name of the directory that contains temporary libtool files.
18165 # Used to examine libraries when file_magic_cmd begins with "file".
18166 MAGIC_CMD=$MAGIC_CMD
18168 # Must we lock files when doing compilation?
18169 need_locks=$lt_need_locks
18171 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18172 DSYMUTIL=$lt_DSYMUTIL
18174 # Tool to change global to local symbols on Mac OS X.
18177 # Tool to manipulate fat objects and archives on Mac OS X.
18180 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18183 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18184 OTOOL64=$lt_OTOOL64
18186 # Old archive suffix (normally "a").
18189 # Shared library suffix (normally ".so").
18190 shrext_cmds=$lt_shrext_cmds
18192 # The commands to extract the exported symbol list from a shared archive.
18193 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18195 # Variables whose values should be saved in libtool wrapper scripts and
18196 # restored at link time.
18197 variables_saved_for_relink=$lt_variables_saved_for_relink
18199 # Do we need the "lib" prefix for modules?
18200 need_lib_prefix=$need_lib_prefix
18202 # Do we need a version for libraries?
18203 need_version=$need_version
18205 # Library versioning type.
18206 version_type=$version_type
18208 # Shared library runtime path variable.
18209 runpath_var=$runpath_var
18211 # Shared library path variable.
18212 shlibpath_var=$shlibpath_var
18214 # Is shlibpath searched before the hard-coded library search path?
18215 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18217 # Format of library name prefix.
18218 libname_spec=$lt_libname_spec
18220 # List of archive names. First name is the real one, the rest are links.
18221 # The last name is the one that the linker finds with -lNAME
18222 library_names_spec=$lt_library_names_spec
18224 # The coded name of the library, if different from the real name.
18225 soname_spec=$lt_soname_spec
18227 # Permission mode override for installation of shared libraries.
18228 install_override_mode=$lt_install_override_mode
18230 # Command to use after installation of a shared archive.
18231 postinstall_cmds=$lt_postinstall_cmds
18233 # Command to use after uninstallation of a shared archive.
18234 postuninstall_cmds=$lt_postuninstall_cmds
18236 # Commands used to finish a libtool library installation in a directory.
18237 finish_cmds=$lt_finish_cmds
18239 # As "finish_cmds", except a single script fragment to be evaled but
18241 finish_eval=$lt_finish_eval
18243 # Whether we should hardcode library paths into libraries.
18244 hardcode_into_libs=$hardcode_into_libs
18246 # Compile-time system search path for libraries.
18247 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18249 # Run-time system search path for libraries.
18250 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18252 # Whether dlopen is supported.
18253 dlopen_support=$enable_dlopen
18255 # Whether dlopen of programs is supported.
18256 dlopen_self=$enable_dlopen_self
18258 # Whether dlopen of statically linked programs is supported.
18259 dlopen_self_static=$enable_dlopen_self_static
18261 # Commands to strip libraries.
18262 old_striplib=$lt_old_striplib
18263 striplib=$lt_striplib
18266 # The linker used to build libraries.
18269 # How to create reloadable object files.
18270 reload_flag=$lt_reload_flag
18271 reload_cmds=$lt_reload_cmds
18273 # Commands used to build an old-style archive.
18274 old_archive_cmds=$lt_old_archive_cmds
18276 # A language specific compiler.
18279 # Is the compiler the GNU compiler?
18282 # Compiler flag to turn off builtin functions.
18283 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18285 # How to pass a linker flag through the compiler.
18286 wl=$lt_lt_prog_compiler_wl
18288 # Additional compiler flags for building library objects.
18289 pic_flag=$lt_lt_prog_compiler_pic
18291 # Compiler flag to prevent dynamic linking.
18292 link_static_flag=$lt_lt_prog_compiler_static
18294 # Does compiler simultaneously support -c and -o options?
18295 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18297 # Whether or not to add -lc for building shared libraries.
18298 build_libtool_need_lc=$archive_cmds_need_lc
18300 # Whether or not to disallow shared libs when runtime libs are static.
18301 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18303 # Compiler flag to allow reflexive dlopens.
18304 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18306 # Compiler flag to generate shared objects directly from archives.
18307 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18309 # Whether the compiler copes with passing no objects directly.
18310 compiler_needs_object=$lt_compiler_needs_object
18312 # Create an old-style archive from a shared archive.
18313 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18315 # Create a temporary old-style archive to link instead of a shared archive.
18316 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18318 # Commands used to build a shared archive.
18319 archive_cmds=$lt_archive_cmds
18320 archive_expsym_cmds=$lt_archive_expsym_cmds
18322 # Commands used to build a loadable module if different from building
18323 # a shared archive.
18324 module_cmds=$lt_module_cmds
18325 module_expsym_cmds=$lt_module_expsym_cmds
18327 # Whether we are building with GNU ld or not.
18328 with_gnu_ld=$lt_with_gnu_ld
18330 # Flag that allows shared libraries with undefined symbols to be built.
18331 allow_undefined_flag=$lt_allow_undefined_flag
18333 # Flag that enforces no undefined symbols.
18334 no_undefined_flag=$lt_no_undefined_flag
18336 # Flag to hardcode \$libdir into a binary during linking.
18337 # This must work even if \$libdir does not exist
18338 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18340 # If ld is used when linking, flag to hardcode \$libdir into a binary
18341 # during linking. This must work even if \$libdir does not exist.
18342 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18344 # Whether we need a single "-rpath" flag with a separated argument.
18345 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18347 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18348 # DIR into the resulting binary.
18349 hardcode_direct=$hardcode_direct
18351 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18352 # DIR into the resulting binary and the resulting library dependency is
18353 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18354 # library is relocated.
18355 hardcode_direct_absolute=$hardcode_direct_absolute
18357 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18358 # into the resulting binary.
18359 hardcode_minus_L=$hardcode_minus_L
18361 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18362 # into the resulting binary.
18363 hardcode_shlibpath_var=$hardcode_shlibpath_var
18365 # Set to "yes" if building a shared library automatically hardcodes DIR
18366 # into the library and all subsequent libraries and executables linked
18368 hardcode_automatic=$hardcode_automatic
18370 # Set to yes if linker adds runtime paths of dependent libraries
18371 # to runtime path list.
18372 inherit_rpath=$inherit_rpath
18374 # Whether libtool must link a program against all its dependency libraries.
18375 link_all_deplibs=$link_all_deplibs
18377 # Fix the shell variable \$srcfile for the compiler.
18378 fix_srcfile_path=$lt_fix_srcfile_path
18380 # Set to "yes" if exported symbols are required.
18381 always_export_symbols=$always_export_symbols
18383 # The commands to list exported symbols.
18384 export_symbols_cmds=$lt_export_symbols_cmds
18386 # Symbols that should not be listed in the preloaded symbols.
18387 exclude_expsyms=$lt_exclude_expsyms
18389 # Symbols that must always be exported.
18390 include_expsyms=$lt_include_expsyms
18392 # Commands necessary for linking programs (against libraries) with templates.
18393 prelink_cmds=$lt_prelink_cmds
18395 # Specify filename containing input files.
18396 file_list_spec=$lt_file_list_spec
18398 # How to hardcode a shared library path into an executable.
18399 hardcode_action=$hardcode_action
18401 # The directories searched by this compiler when creating a shared library.
18402 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18404 # Dependencies to place before and after the objects being linked to
18405 # create a shared library.
18406 predep_objects=$lt_predep_objects
18407 postdep_objects=$lt_postdep_objects
18408 predeps=$lt_predeps
18409 postdeps=$lt_postdeps
18411 # The library search path used internally by the compiler when linking
18412 # a shared library.
18413 compiler_lib_search_path=$lt_compiler_lib_search_path
18415 # ### END LIBTOOL CONFIG
18421 cat <<\_LT_EOF
>> "$cfgfile"
18422 # AIX sometimes has problems with the GCC collect2 program. For some
18423 # reason, if we set the COLLECT_NAMES environment variable, the problems
18424 # vanish in a puff of smoke.
18425 if test "X${COLLECT_NAMES+set}" != Xset
; then
18427 export COLLECT_NAMES
18434 ltmain
="$ac_aux_dir/ltmain.sh"
18437 # We use sed instead of cat because bash on DJGPP gets confused if
18438 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18439 # text mode, it properly converts lines to CR/LF. This bash problem
18440 # is reportedly fixed, but why not run on old versions too?
18441 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18442 ||
(rm -f "$cfgfile"; exit 1)
18446 cat << \_LT_EOF
>> "$cfgfile"
18448 # func_dirname file append nondir_replacement
18449 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18450 # otherwise set result to NONDIR_REPLACEMENT.
18454 */*) func_dirname_result
="${1%/*}${2}" ;;
18455 * ) func_dirname_result
="${3}" ;;
18459 # func_basename file
18462 func_basename_result
="${1##*/}"
18465 # func_dirname_and_basename file append nondir_replacement
18466 # perform func_basename and func_dirname in a single function
18468 # dirname: Compute the dirname of FILE. If nonempty,
18469 # add APPEND to the result, otherwise set result
18470 # to NONDIR_REPLACEMENT.
18471 # value returned in "$func_dirname_result"
18472 # basename: Compute filename of FILE.
18473 # value retuned in "$func_basename_result"
18474 # Implementation must be kept synchronized with func_dirname
18475 # and func_basename. For efficiency, we do not delegate to
18476 # those functions but instead duplicate the functionality here.
18477 func_dirname_and_basename
()
18480 */*) func_dirname_result
="${1%/*}${2}" ;;
18481 * ) func_dirname_result
="${3}" ;;
18483 func_basename_result
="${1##*/}"
18486 # func_stripname prefix suffix name
18487 # strip PREFIX and SUFFIX off of NAME.
18488 # PREFIX and SUFFIX must not contain globbing or regex special
18489 # characters, hashes, percent signs, but SUFFIX may contain a leading
18490 # dot (in which case that matches only a dot).
18493 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18494 # positional parameters, so assign one to ordinary parameter first.
18495 func_stripname_result
=${3}
18496 func_stripname_result
=${func_stripname_result#"${1}"}
18497 func_stripname_result
=${func_stripname_result%"${2}"}
18503 func_opt_split_opt
=${1%%=*}
18504 func_opt_split_arg
=${1#*=}
18511 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18512 *) func_lo2o_result
=${1} ;;
18516 # func_xform libobj-or-source
18519 func_xform_result
=${1%.*}.lo
18522 # func_arith arithmetic-term...
18525 func_arith_result
=$
(( $
* ))
18529 # STRING may not start with a hyphen.
18532 func_len_result
=${#1}
18537 *) # Bourne compatible functions.
18538 cat << \_LT_EOF
>> "$cfgfile"
18540 # func_dirname file append nondir_replacement
18541 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18542 # otherwise set result to NONDIR_REPLACEMENT.
18545 # Extract subdirectory from the argument.
18546 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18547 if test "X$func_dirname_result" = "X${1}"; then
18548 func_dirname_result
="${3}"
18550 func_dirname_result
="$func_dirname_result${2}"
18554 # func_basename file
18557 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18561 # func_stripname prefix suffix name
18562 # strip PREFIX and SUFFIX off of NAME.
18563 # PREFIX and SUFFIX must not contain globbing or regex special
18564 # characters, hashes, percent signs, but SUFFIX may contain a leading
18565 # dot (in which case that matches only a dot).
18566 # func_strip_suffix prefix name
18570 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18571 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18576 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18577 my_sed_long_arg
='1s/^-[^=]*=//'
18582 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18583 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18589 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18592 # func_xform libobj-or-source
18595 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18598 # func_arith arithmetic-term...
18601 func_arith_result
=`expr "$@"`
18605 # STRING may not start with a hyphen.
18608 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18614 case $lt_shell_append in
18616 cat << \_LT_EOF
>> "$cfgfile"
18618 # func_append var value
18619 # Append VALUE to the end of shell variable VAR.
18627 cat << \_LT_EOF
>> "$cfgfile"
18629 # func_append var value
18630 # Append VALUE to the end of shell variable VAR.
18641 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18642 ||
(rm -f "$cfgfile"; exit 1)
18644 mv -f "$cfgfile" "$ofile" ||
18645 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18649 cat <<_LT_EOF >> "$ofile"
18651 # ### BEGIN LIBTOOL TAG CONFIG: FC
18653 # The linker used to build libraries.
18656 # How to create reloadable object files.
18657 reload_flag=$lt_reload_flag_FC
18658 reload_cmds=$lt_reload_cmds_FC
18660 # Commands used to build an old-style archive.
18661 old_archive_cmds=$lt_old_archive_cmds_FC
18663 # A language specific compiler.
18666 # Is the compiler the GNU compiler?
18669 # Compiler flag to turn off builtin functions.
18670 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
18672 # How to pass a linker flag through the compiler.
18673 wl=$lt_lt_prog_compiler_wl_FC
18675 # Additional compiler flags for building library objects.
18676 pic_flag=$lt_lt_prog_compiler_pic_FC
18678 # Compiler flag to prevent dynamic linking.
18679 link_static_flag=$lt_lt_prog_compiler_static_FC
18681 # Does compiler simultaneously support -c and -o options?
18682 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
18684 # Whether or not to add -lc for building shared libraries.
18685 build_libtool_need_lc=$archive_cmds_need_lc_FC
18687 # Whether or not to disallow shared libs when runtime libs are static.
18688 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
18690 # Compiler flag to allow reflexive dlopens.
18691 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
18693 # Compiler flag to generate shared objects directly from archives.
18694 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
18696 # Whether the compiler copes with passing no objects directly.
18697 compiler_needs_object=$lt_compiler_needs_object_FC
18699 # Create an old-style archive from a shared archive.
18700 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
18702 # Create a temporary old-style archive to link instead of a shared archive.
18703 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
18705 # Commands used to build a shared archive.
18706 archive_cmds=$lt_archive_cmds_FC
18707 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
18709 # Commands used to build a loadable module if different from building
18710 # a shared archive.
18711 module_cmds=$lt_module_cmds_FC
18712 module_expsym_cmds=$lt_module_expsym_cmds_FC
18714 # Whether we are building with GNU ld or not.
18715 with_gnu_ld=$lt_with_gnu_ld_FC
18717 # Flag that allows shared libraries with undefined symbols to be built.
18718 allow_undefined_flag=$lt_allow_undefined_flag_FC
18720 # Flag that enforces no undefined symbols.
18721 no_undefined_flag=$lt_no_undefined_flag_FC
18723 # Flag to hardcode \$libdir into a binary during linking.
18724 # This must work even if \$libdir does not exist
18725 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
18727 # If ld is used when linking, flag to hardcode \$libdir into a binary
18728 # during linking. This must work even if \$libdir does not exist.
18729 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
18731 # Whether we need a single "-rpath" flag with a separated argument.
18732 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
18734 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18735 # DIR into the resulting binary.
18736 hardcode_direct=$hardcode_direct_FC
18738 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18739 # DIR into the resulting binary and the resulting library dependency is
18740 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18741 # library is relocated.
18742 hardcode_direct_absolute=$hardcode_direct_absolute_FC
18744 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18745 # into the resulting binary.
18746 hardcode_minus_L=$hardcode_minus_L_FC
18748 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18749 # into the resulting binary.
18750 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
18752 # Set to "yes" if building a shared library automatically hardcodes DIR
18753 # into the library and all subsequent libraries and executables linked
18755 hardcode_automatic=$hardcode_automatic_FC
18757 # Set to yes if linker adds runtime paths of dependent libraries
18758 # to runtime path list.
18759 inherit_rpath=$inherit_rpath_FC
18761 # Whether libtool must link a program against all its dependency libraries.
18762 link_all_deplibs=$link_all_deplibs_FC
18764 # Fix the shell variable \$srcfile for the compiler.
18765 fix_srcfile_path=$lt_fix_srcfile_path_FC
18767 # Set to "yes" if exported symbols are required.
18768 always_export_symbols=$always_export_symbols_FC
18770 # The commands to list exported symbols.
18771 export_symbols_cmds=$lt_export_symbols_cmds_FC
18773 # Symbols that should not be listed in the preloaded symbols.
18774 exclude_expsyms=$lt_exclude_expsyms_FC
18776 # Symbols that must always be exported.
18777 include_expsyms=$lt_include_expsyms_FC
18779 # Commands necessary for linking programs (against libraries) with templates.
18780 prelink_cmds=$lt_prelink_cmds_FC
18782 # Specify filename containing input files.
18783 file_list_spec=$lt_file_list_spec_FC
18785 # How to hardcode a shared library path into an executable.
18786 hardcode_action=$hardcode_action_FC
18788 # The directories searched by this compiler when creating a shared library.
18789 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
18791 # Dependencies to place before and after the objects being linked to
18792 # create a shared library.
18793 predep_objects=$lt_predep_objects_FC
18794 postdep_objects=$lt_postdep_objects_FC
18795 predeps=$lt_predeps_FC
18796 postdeps=$lt_postdeps_FC
18798 # The library search path used internally by the compiler when linking
18799 # a shared library.
18800 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
18802 # ### END LIBTOOL TAG CONFIG: FC
18807 if test "$GCC" = yes; then
18808 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
18810 echo "/* generated for $CC */" > tmp-stdint.h
18813 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18815 #ifndef GCC_GENERATED_STDINT_H
18816 #define GCC_GENERATED_STDINT_H 1
18818 #include <sys/types.h>
18821 if test "$acx_cv_header_stdint" != stdint.h
; then
18822 echo "#include <stddef.h>" >> tmp-stdint.h
18824 if test "$acx_cv_header_stdint" != stddef.h
; then
18825 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
18828 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18829 /* glibc uses these symbols as guards to prevent redefinitions. */
18830 #ifdef __int8_t_defined
18835 #ifdef __uint32_t_defined
18841 # ----------------- done header, emit basic int types -------------
18842 if test "$acx_cv_header_stdint" = stddef.h
; then
18843 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18847 #ifndef __uint8_t_defined
18848 #define __uint8_t_defined
18850 typedef unsigned $acx_cv_type_int8_t uint8_t;
18857 #ifndef __uint16_t_defined
18858 #define __uint16_t_defined
18860 typedef unsigned $acx_cv_type_int16_t uint16_t;
18867 #ifndef __uint32_t_defined
18868 #define __uint32_t_defined
18870 typedef unsigned $acx_cv_type_int32_t uint32_t;
18877 #ifndef __int8_t_defined
18878 #define __int8_t_defined
18880 typedef $acx_cv_type_int8_t int8_t;
18887 #ifndef __int16_t_defined
18888 #define __int16_t_defined
18890 typedef $acx_cv_type_int16_t int16_t;
18897 #ifndef __int32_t_defined
18898 #define __int32_t_defined
18900 typedef $acx_cv_type_int32_t int32_t;
18905 elif test "$ac_cv_type_u_int32_t" = yes; then
18906 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18908 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
18921 #ifndef __uint8_t_defined
18922 #define __uint8_t_defined
18924 typedef u_int8_t uint8_t;
18931 #ifndef __uint16_t_defined
18932 #define __uint16_t_defined
18934 typedef u_int16_t uint16_t;
18941 #ifndef __uint32_t_defined
18942 #define __uint32_t_defined
18944 typedef u_int32_t uint32_t;
18950 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18952 /* Some systems have guard macros to prevent redefinitions, define them. */
18974 # ------------- done basic int types, emit int64_t types ------------
18975 if test "$ac_cv_type_uint64_t" = yes; then
18976 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18978 /* system headers have good uint64_t and int64_t */
18986 elif test "$ac_cv_type_u_int64_t" = yes; then
18987 sed 's/^ *//' >> tmp-stdint.h
<<EOF
18989 /* system headers have an u_int64_t (and int64_t) */
18995 #ifndef __uint64_t_defined
18996 #define __uint64_t_defined
18998 typedef u_int64_t uint64_t;
19003 elif test -n "$acx_cv_type_int64_t"; then
19004 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19006 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19010 typedef $acx_cv_type_int64_t int64_t;
19015 #ifndef __uint64_t_defined
19016 #define __uint64_t_defined
19018 typedef unsigned $acx_cv_type_int64_t uint64_t;
19024 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19026 /* some common heuristics for int64_t, using compiler-specific tests */
19027 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19030 #ifndef __int64_t_defined
19032 typedef long long int64_t;
19039 typedef unsigned long long uint64_t;
19043 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19044 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19045 does not implement __extension__. But that compiler doesn't define
19047 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19048 # define __extension__
19054 __extension__ typedef long long int64_t;
19060 __extension__ typedef unsigned long long uint64_t;
19064 #elif !defined __STRICT_ANSI__
19065 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19070 typedef __int64 int64_t;
19076 typedef unsigned __int64 uint64_t;
19079 # endif /* compiler */
19081 #endif /* ANSI version */
19085 # ------------- done int64_t types, emit intptr types ------------
19086 if test "$ac_cv_type_uintptr_t" != yes; then
19087 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19089 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19090 #ifndef __uintptr_t_defined
19092 typedef u$acx_cv_type_intptr_t uintptr_t;
19095 #ifndef __intptr_t_defined
19097 typedef $acx_cv_type_intptr_t intptr_t;
19103 # ------------- done intptr types, emit int_least types ------------
19104 if test "$ac_cv_type_int_least32_t" != yes; then
19105 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19107 /* Define int_least types */
19108 typedef int8_t int_least8_t;
19109 typedef int16_t int_least16_t;
19110 typedef int32_t int_least32_t;
19112 typedef int64_t int_least64_t;
19115 typedef uint8_t uint_least8_t;
19116 typedef uint16_t uint_least16_t;
19117 typedef uint32_t uint_least32_t;
19119 typedef uint64_t uint_least64_t;
19124 # ------------- done intptr types, emit int_fast types ------------
19125 if test "$ac_cv_type_int_fast32_t" != yes; then
19126 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19128 /* Define int_fast types. short is often slow */
19129 typedef int8_t int_fast8_t;
19130 typedef int int_fast16_t;
19131 typedef int32_t int_fast32_t;
19133 typedef int64_t int_fast64_t;
19136 typedef uint8_t uint_fast8_t;
19137 typedef unsigned int uint_fast16_t;
19138 typedef uint32_t uint_fast32_t;
19140 typedef uint64_t uint_fast64_t;
19145 if test "$ac_cv_type_uintmax_t" != yes; then
19146 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19148 /* Define intmax based on what we found */
19151 typedef int64_t intmax_t;
19153 typedef long intmax_t;
19158 typedef uint64_t uintmax_t;
19160 typedef unsigned long uintmax_t;
19166 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19168 #endif /* GCC_GENERATED_STDINT_H */
19171 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19174 mv -f tmp-stdint.h gstdint.h
19185 ac_clean_files
=$ac_clean_files_save
19187 test $ac_write_fail = 0 ||
19188 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19191 # configure is writing to config.log, and then calls config.status.
19192 # config.status does its own redirection, appending to config.log.
19193 # Unfortunately, on DOS this fails, as config.log is still kept open
19194 # by configure, so config.status won't be able to write to it; its
19195 # output is simply discarded. So we exec the FD to /dev/null,
19196 # effectively closing config.log, so it can be properly (re)opened and
19197 # appended to by config.status. When coming back to configure, we
19198 # need to make the FD available again.
19199 if test "$no_create" != yes; then
19201 ac_config_status_args
=
19202 test "$silent" = yes &&
19203 ac_config_status_args
="$ac_config_status_args --quiet"
19205 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19207 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19208 # would make configure fail if this is the last instruction.
19209 $ac_cs_success || as_fn_exit $?
19211 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19213 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}