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
619 offload_additional_lib_paths
620 offload_additional_options
625 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
626 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
627 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
628 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
629 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
630 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
638 MAINTAINER_MODE_FALSE
692 INSTALL_STRIP_PROGRAM
748 program_transform_name
761 enable_option_checking
762 enable_version_specific_runtime_libs
763 enable_generated_files_in_srcdir
765 enable_dependency_tracking
772 enable_maintainer_mode
777 ac_precious_vars
='build_alias
788 # Initialize some variables set by options.
790 ac_init_version
=false
791 ac_unrecognized_opts
=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
802 program_transform_name
=s
,x
,x
,
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir
='${exec_prefix}/bin'
817 sbindir
='${exec_prefix}/sbin'
818 libexecdir
='${exec_prefix}/libexec'
819 datarootdir
='${prefix}/share'
820 datadir
='${datarootdir}'
821 sysconfdir
='${prefix}/etc'
822 sharedstatedir
='${prefix}/com'
823 localstatedir
='${prefix}/var'
824 includedir
='${prefix}/include'
825 oldincludedir
='/usr/include'
826 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
827 infodir
='${datarootdir}/info'
832 libdir
='${exec_prefix}/lib'
833 localedir
='${datarootdir}/locale'
834 mandir
='${datarootdir}/man'
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\
$ac_option
848 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 # Accept the important Cygnus configure options, so we can diagnose typos.
854 case $ac_dashdash$ac_option in
858 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
860 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
863 -build |
--build |
--buil |
--bui |
--bu)
864 ac_prev
=build_alias
;;
865 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
866 build_alias
=$ac_optarg ;;
868 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
869 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
870 ac_prev
=cache_file
;;
871 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
872 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
873 cache_file
=$ac_optarg ;;
876 cache_file
=config.cache
;;
878 -datadir |
--datadir |
--datadi |
--datad)
880 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
881 datadir
=$ac_optarg ;;
883 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
884 |
--dataroo |
--dataro |
--datar)
885 ac_prev
=datarootdir
;;
886 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
887 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
888 datarootdir
=$ac_optarg ;;
890 -disable-* |
--disable-*)
891 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
894 as_fn_error
"invalid feature name: $ac_useropt"
895 ac_useropt_orig
=$ac_useropt
896 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
901 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
902 ac_unrecognized_sep
=', ';;
904 eval enable_
$ac_useropt=no
;;
906 -docdir |
--docdir |
--docdi |
--doc |
--do)
908 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
911 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
913 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
916 -enable-* |
--enable-*)
917 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
920 as_fn_error
"invalid feature name: $ac_useropt"
921 ac_useropt_orig
=$ac_useropt
922 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
927 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
928 ac_unrecognized_sep
=', ';;
930 eval enable_
$ac_useropt=\
$ac_optarg ;;
932 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
933 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
934 |
--exec |
--exe |
--ex)
935 ac_prev
=exec_prefix
;;
936 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
937 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
938 |
--exec=* |
--exe=* |
--ex=*)
939 exec_prefix
=$ac_optarg ;;
941 -gas |
--gas |
--ga |
--g)
942 # Obsolete; use --with-gas.
945 -help |
--help |
--hel |
--he |
-h)
947 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
948 ac_init_help
=recursive
;;
949 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
950 ac_init_help
=short
;;
952 -host |
--host |
--hos |
--ho)
953 ac_prev
=host_alias
;;
954 -host=* |
--host=* |
--hos=* |
--ho=*)
955 host_alias
=$ac_optarg ;;
957 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
959 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
961 htmldir
=$ac_optarg ;;
963 -includedir |
--includedir |
--includedi |
--included |
--include \
964 |
--includ |
--inclu |
--incl |
--inc)
965 ac_prev
=includedir
;;
966 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
967 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
968 includedir
=$ac_optarg ;;
970 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
972 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
973 infodir
=$ac_optarg ;;
975 -libdir |
--libdir |
--libdi |
--libd)
977 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
980 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
981 |
--libexe |
--libex |
--libe)
982 ac_prev
=libexecdir
;;
983 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
984 |
--libexe=* |
--libex=* |
--libe=*)
985 libexecdir
=$ac_optarg ;;
987 -localedir |
--localedir |
--localedi |
--localed |
--locale)
989 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
990 localedir
=$ac_optarg ;;
992 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
993 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
994 ac_prev
=localstatedir
;;
995 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
996 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
997 localstatedir
=$ac_optarg ;;
999 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1001 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1002 mandir
=$ac_optarg ;;
1004 -nfp |
--nfp |
--nf)
1005 # Obsolete; use --without-fp.
1008 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1009 |
--no-cr |
--no-c |
-n)
1012 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1013 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1016 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1017 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1018 |
--oldin |
--oldi |
--old |
--ol |
--o)
1019 ac_prev
=oldincludedir
;;
1020 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1021 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1022 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1023 oldincludedir
=$ac_optarg ;;
1025 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1027 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1028 prefix
=$ac_optarg ;;
1030 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1031 |
--program-pre |
--program-pr |
--program-p)
1032 ac_prev
=program_prefix
;;
1033 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1034 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1035 program_prefix
=$ac_optarg ;;
1037 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1038 |
--program-suf |
--program-su |
--program-s)
1039 ac_prev
=program_suffix
;;
1040 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1041 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1042 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1052 -program-transform-name=* |
--program-transform-name=* \
1053 |
--program-transform-nam=* |
--program-transform-na=* \
1054 |
--program-transform-n=* |
--program-transform-=* \
1055 |
--program-transform=* |
--program-transfor=* \
1056 |
--program-transfo=* |
--program-transf=* \
1057 |
--program-trans=* |
--program-tran=* \
1058 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1059 program_transform_name
=$ac_optarg ;;
1061 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1063 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1064 pdfdir
=$ac_optarg ;;
1066 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1068 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1071 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1072 |
-silent |
--silent |
--silen |
--sile |
--sil)
1075 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1077 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1079 sbindir
=$ac_optarg ;;
1081 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1082 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1083 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1085 ac_prev
=sharedstatedir
;;
1086 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1087 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1088 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1090 sharedstatedir
=$ac_optarg ;;
1092 -site |
--site |
--sit)
1094 -site=* |
--site=* |
--sit=*)
1097 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1099 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1100 srcdir
=$ac_optarg ;;
1102 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1103 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1104 ac_prev
=sysconfdir
;;
1105 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1106 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1107 sysconfdir
=$ac_optarg ;;
1109 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1110 ac_prev
=target_alias
;;
1111 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1112 target_alias
=$ac_optarg ;;
1114 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1117 -version |
--version |
--versio |
--versi |
--vers |
-V)
1118 ac_init_version
=: ;;
1121 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1124 as_fn_error
"invalid package name: $ac_useropt"
1125 ac_useropt_orig
=$ac_useropt
1126 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1131 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1132 ac_unrecognized_sep
=', ';;
1134 eval with_
$ac_useropt=\
$ac_optarg ;;
1136 -without-* |
--without-*)
1137 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1140 as_fn_error
"invalid package name: $ac_useropt"
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval with_
$ac_useropt=no
;;
1153 # Obsolete; use --with-x.
1156 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1157 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1158 ac_prev
=x_includes
;;
1159 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1160 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1161 x_includes
=$ac_optarg ;;
1163 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1164 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1165 ac_prev
=x_libraries
;;
1166 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1167 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1168 x_libraries
=$ac_optarg ;;
1170 -*) as_fn_error
"unrecognized option: \`$ac_option'
1171 Try \`$0 --help' for more information."
1175 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1176 # Reject names that are not valid shell variable names.
1177 case $ac_envvar in #(
1178 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1179 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1181 eval $ac_envvar=\
$ac_optarg
1182 export $ac_envvar ;;
1185 # FIXME: should be removed in autoconf 3.0.
1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1195 if test -n "$ac_prev"; then
1196 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1197 as_fn_error
"missing argument to $ac_option"
1200 if test -n "$ac_unrecognized_opts"; then
1201 case $enable_option_checking in
1203 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1204 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208 # Check all directory arguments for consistency.
1209 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1210 datadir sysconfdir sharedstatedir localstatedir includedir \
1211 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1212 libdir localedir mandir
1214 eval ac_val
=\$
$ac_var
1215 # Remove trailing slashes.
1218 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1219 eval $ac_var=\
$ac_val;;
1221 # Be sure to have absolute directory names.
1223 [\\/$
]* | ?
:[\\/]* ) continue;;
1224 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1226 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1229 # There might be people who depend on the old broken behavior: `$host'
1230 # used to hold the argument of --host etc.
1231 # FIXME: To remove some day.
1234 target
=$target_alias
1236 # FIXME: To remove some day.
1237 if test "x$host_alias" != x
; then
1238 if test "x$build_alias" = x
; then
1239 cross_compiling
=maybe
1240 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1241 If a cross compiler is detected then cross compile mode will be used." >&2
1242 elif test "x$build_alias" != "x$host_alias"; then
1248 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1250 test "$silent" = yes && exec 6>/dev
/null
1253 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di
=`ls -di .` &&
1255 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1256 as_fn_error
"working directory cannot be determined"
1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258 as_fn_error
"pwd does not report name of working directory"
1261 # Find the source files, if location was not specified.
1262 if test -z "$srcdir"; then
1263 ac_srcdir_defaulted
=yes
1264 # Try the directory containing this script, then the parent directory.
1265 ac_confdir
=`$as_dirname -- "$as_myself" ||
1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
1268 X"$as_myself" : 'X\(//\)$' \| \
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270 $as_echo X"$as_myself" |
1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1293 ac_srcdir_defaulted
=no
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1296 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1297 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1299 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1303 # When building in place, set srcdir=.
1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
1307 # Remove unnecessary trailing slashes from srcdir.
1308 # Double slashes in file names in object file debugging info
1309 # mess up M-x gdb in Emacs.
1311 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 for ac_var
in $ac_precious_vars; do
1314 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1315 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1316 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1317 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1321 # Report the --help message.
1323 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh.
1327 \`configure' configures GNU OpenMP Runtime Library 1.0 to adapt to many kinds of systems.
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
1334 Defaults for the options are specified in brackets.
1337 -h, --help display this help and exit
1338 --help=short display options specific to this package
1339 --help=recursive display the short help of all the included packages
1340 -V, --version display version information and exit
1341 -q, --quiet, --silent do not print \`checking...' messages
1342 --cache-file=FILE cache test results in FILE [disabled]
1343 -C, --config-cache alias for \`--cache-file=config.cache'
1344 -n, --no-create do not create output files
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347 Installation directories:
1348 --prefix=PREFIX install architecture-independent files in PREFIX
1349 [$ac_default_prefix]
1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1353 By default, \`make install' will install all the files in
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356 for instance \`--prefix=\$HOME'.
1358 For better control, use the options below.
1360 Fine tuning of the installation directories:
1361 --bindir=DIR user executables [EPREFIX/bin]
1362 --sbindir=DIR system admin executables [EPREFIX/sbin]
1363 --libexecdir=DIR program executables [EPREFIX/libexec]
1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1367 --libdir=DIR object code libraries [EPREFIX/lib]
1368 --includedir=DIR C header files [PREFIX/include]
1369 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1372 --infodir=DIR info documentation [DATAROOTDIR/info]
1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1374 --mandir=DIR man documentation [DATAROOTDIR/man]
1375 --docdir=DIR documentation root [DATAROOTDIR/doc/libgomp]
1376 --htmldir=DIR html documentation [DOCDIR]
1377 --dvidir=DIR dvi documentation [DOCDIR]
1378 --pdfdir=DIR pdf documentation [DOCDIR]
1379 --psdir=DIR ps documentation [DOCDIR]
1385 --program-prefix=PREFIX prepend PREFIX to installed program names
1386 --program-suffix=SUFFIX append SUFFIX to installed program names
1387 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1390 --build=BUILD configure
for building on BUILD
[guessed
]
1391 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1392 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1396 if test -n "$ac_init_help"; then
1397 case $ac_init_help in
1398 short | recursive
) echo "Configuration of GNU OpenMP Runtime Library 1.0:";;
1403 --disable-option-checking ignore unrecognized
--enable/--with options
1404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1406 --enable-version-specific-runtime-libs
1407 Specify that runtime libraries should be installed
1408 in a compiler-specific directory
[default
=no
]
1409 --enable-generated-files-in-srcdir
1410 put copies of generated files
in source dir intended
1411 for creating
source tarballs
for users without
1412 texinfo bison or flex.
[default
=no
]
1413 --enable-multilib build many library versions
(default
)
1414 --disable-dependency-tracking speeds up one-time build
1415 --enable-dependency-tracking do not reject slow dependency extractors
1416 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1417 --enable-static[=PKGS
] build static libraries
[default
=yes]
1418 --enable-fast-install[=PKGS
]
1419 optimize
for fast installation
[default
=yes]
1420 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1421 --enable-maintainer-mode enable make rules and dependencies not useful
1422 (and sometimes confusing
) to the casual installer
1423 --enable-linux-futex use the Linux futex system call
[default
=default
]
1424 --enable-tls Use thread-local storage
[default
=yes]
1425 --enable-symvers=STYLE enables symbol versioning of the shared library
1429 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1430 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1431 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1433 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1435 Some influential environment variables
:
1436 CC C compiler
command
1437 CFLAGS C compiler flags
1438 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1439 nonstandard directory
<lib dir
>
1440 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1441 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1442 you have headers
in a nonstandard directory
<include dir
>
1444 FC Fortran compiler
command
1445 FCFLAGS Fortran compiler flags
1447 Use these variables to override the choices made by
`configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to the package provider.
1451 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
1452 General help using GNU software: <http://www.gnu.org/gethelp/>.
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1476 ac_abs_top_builddir=$ac_pwd
1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir=$ac_top_build_prefix
1482 .) # We are building in place.
1484 ac_top_srcdir=$ac_top_builddir_sub
1485 ac_abs_top_srcdir=$ac_pwd ;;
1486 [\\/]* | ?:[\\/]* ) # Absolute name.
1487 ac_srcdir=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir=$srcdir
1489 ac_abs_top_srcdir=$srcdir ;;
1491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508 cd "$ac_pwd" || { ac_status=$?; break; }
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1515 GNU OpenMP Runtime Library configure 1.0
1516 generated by GNU Autoconf 2.64
1518 Copyright (C) 2009 Free Software Foundation, Inc.
1519 This configure script is free software; the Free Software Foundation
1520 gives unlimited permission to copy, distribute and modify it.
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1539 *) ac_try_echo
=$ac_try;;
1541 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1545 if test -s conftest.err
; then
1546 grep -v '^ *+' conftest.err
>conftest.er1
1547 cat conftest.er1
>&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.
$ac_objext; then :
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.
$ac_ext >&5
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_link LINENO
1568 # -----------------------
1569 # Try to link conftest.$ac_ext, and return whether this succeeded.
1572 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1573 rm -f conftest.
$ac_objext conftest
$ac_exeext
1574 if { { ac_try
="$ac_link"
1576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>conftest.err
1583 if test -s conftest.err; then
1584 grep -v '^ *+' conftest.err >conftest.er1
1585 cat conftest.er1 >&5
1586 mv -f conftest.er1 conftest.err
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } && {
1590 test -z "$ac_c_werror_flag" ||
1591 test ! -s conftest.err
1592 } && test -s conftest$ac_exeext && {
1593 test "$cross_compiling" = yes ||
1594 $as_test_x conftest$ac_exeext
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1603 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1605 # interfere with the next link command; also delete a directory that is
1606 # left behind by Apple's compiler. We do this before executing the actions.
1607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1611 } # ac_fn_c_try_link
1613 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1614 # -------------------------------------------------------
1615 # Tests whether HEADER exists and can be compiled using the include files in
1616 # INCLUDES, setting the cache variable VAR accordingly.
1617 ac_fn_c_check_header_compile ()
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1623 $as_echo_n "(cached) " >&6
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile "$LINENO"; then :
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1640 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1642 } # ac_fn_c_check_header_compile
1644 # ac_fn_c_try_cpp LINENO
1645 # ----------------------
1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 if { { ac_try="$ac_cpp conftest.$ac_ext"
1652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1653 *) ac_try_echo
=$ac_try;;
1655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1659 if test -s conftest.err
; then
1660 grep -v '^ *+' conftest.err
>conftest.er1
1661 cat conftest.er1
>&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } >/dev
/null
&& {
1666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1667 test ! -s conftest.err
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.
$ac_ext >&5
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1681 # ac_fn_c_try_run LINENO
1682 # ----------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1684 # that executables *can* be run.
1687 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1688 if { { ac_try
="$ac_link"
1690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>&5
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1699 { { case "(($ac_try" in
1700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_try") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; }; }; then :
1711 $as_echo "$as_me: program exited with status $ac_status" >&5
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.
$ac_ext >&5
1715 ac_retval
=$ac_status
1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1723 # ac_fn_c_check_func LINENO FUNC VAR
1724 # ----------------------------------
1725 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1726 ac_fn_c_check_func
()
1728 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730 $as_echo_n "checking for $2... " >&6; }
1731 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1732 $as_echo_n "(cached) " >&6
1734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h. */
1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1738 #define $2 innocuous_$2
1740 /* System header to define __stub macros and hopefully few prototypes,
1741 which can conflict with char $2 (); below.
1742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1743 <limits.h> exists even on freestanding compilers. */
1746 # include <limits.h>
1748 # include <assert.h>
1753 /* Override any GCC internal prototype to avoid an error.
1754 Use char because int might match the return type of a GCC
1755 builtin and then its argument prototype would still apply. */
1760 /* The GNU C library defines this for functions which it implements
1761 to always fail with ENOSYS. Some functions are actually named
1762 something starting with __ and the normal name is an alias. */
1763 #if defined __stub_$2 || defined __stub___$2
1775 if ac_fn_c_try_link
"$LINENO"; then :
1780 rm -f core conftest.err conftest.
$ac_objext \
1781 conftest
$ac_exeext conftest.
$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1788 } # ac_fn_c_check_func
1790 # ac_fn_fc_try_compile LINENO
1791 # ---------------------------
1792 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_fc_try_compile
()
1795 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1796 rm -f conftest.
$ac_objext
1797 if { { ac_try
="$ac_compile"
1799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1800 *) ac_try_echo=$ac_try;;
1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_compile") 2>conftest.err
1806 if test -s conftest.err; then
1807 grep -v '^ *+' conftest.err >conftest.er1
1808 cat conftest.er1 >&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } && {
1813 test -z "$ac_fc_werror_flag" ||
1814 test ! -s conftest.err
1815 } && test -s conftest.$ac_objext; then :
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1826 } # ac_fn_fc_try_compile
1828 # ac_fn_fc_try_link LINENO
1829 # ------------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_fc_try_link ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1838 *) ac_try_echo
=$ac_try;;
1840 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1844 if test -s conftest.err
; then
1845 grep -v '^ *+' conftest.err
>conftest.er1
1846 cat conftest.er1
>&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_fc_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest
$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 $as_test_x conftest
$ac_exeext
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.
$ac_ext >&5
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1872 } # ac_fn_fc_try_link
1874 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1875 # -------------------------------------------------------
1876 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1877 # the include files in INCLUDES and setting the cache variable VAR
1879 ac_fn_c_check_header_mongrel
()
1881 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1882 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1886 $as_echo_n "(cached) " >&6
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1892 # Is the header compilable?
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1894 $as_echo_n "checking $2 usability... " >&6; }
1895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1900 if ac_fn_c_try_compile
"$LINENO"; then :
1901 ac_header_compiler
=yes
1903 ac_header_compiler
=no
1905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1907 $as_echo "$ac_header_compiler" >&6; }
1909 # Is the header present?
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1911 $as_echo_n "checking $2 presence... " >&6; }
1912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h. */
1916 if ac_fn_c_try_cpp
"$LINENO"; then :
1917 ac_header_preproc
=yes
1919 ac_header_preproc
=no
1921 rm -f conftest.err conftest.
$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1923 $as_echo "$ac_header_preproc" >&6; }
1925 # So? What about this header?
1926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1929 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1931 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1935 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1937 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1939 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1941 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1943 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1949 $as_echo_n "(cached) " >&6
1951 eval "$3=\$ac_header_compiler"
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1959 } # ac_fn_c_check_header_mongrel
1961 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1962 # -------------------------------------------
1963 # Tests whether TYPE exists after having included INCLUDES, setting cache
1964 # variable VAR accordingly.
1965 ac_fn_c_check_type
()
1967 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; }
1970 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1971 $as_echo_n "(cached) " >&6
1974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1975 /* end confdefs.h. */
1986 if ac_fn_c_try_compile
"$LINENO"; then :
1987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1999 if ac_fn_c_try_compile
"$LINENO"; then :
2004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2013 } # ac_fn_c_check_type
2015 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2016 # --------------------------------------------
2017 # Tries to find the compile-time value of EXPR in a program that includes
2018 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2020 ac_fn_c_compute_int
()
2022 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2023 if test "$cross_compiling" = yes; then
2024 # Depending upon the size, compute the lo and hi bounds.
2025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2026 /* end confdefs.h. */
2031 static int test_array [1 - 2 * !(($2) >= 0)];
2038 if ac_fn_c_try_compile
"$LINENO"; then :
2041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2047 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2054 if ac_fn_c_try_compile
"$LINENO"; then :
2055 ac_hi
=$ac_mid; break
2057 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2058 if test $ac_lo -le $ac_mid; then
2062 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2073 static int test_array [1 - 2 * !(($2) < 0)];
2080 if ac_fn_c_try_compile
"$LINENO"; then :
2083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2089 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2096 if ac_fn_c_try_compile
"$LINENO"; then :
2097 ac_lo
=$ac_mid; break
2099 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2100 if test $ac_mid -le $ac_hi; then
2104 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2114 # Binary search between lo and hi bounds.
2115 while test "x$ac_lo" != "x$ac_hi"; do
2116 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2123 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2130 if ac_fn_c_try_compile
"$LINENO"; then :
2133 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2138 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2145 static long int longval () { return $2; }
2146 static unsigned long int ulongval () { return $2; }
2153 FILE *f = fopen ("conftest.val", "w");
2158 long int i = longval ();
2161 fprintf (f, "%ld", i);
2165 unsigned long int i = ulongval ();
2168 fprintf (f, "%lu", i);
2170 /* Do not output a trailing newline, as this causes \r\n confusion
2171 on some platforms. */
2172 return ferror (f) || fclose (f) != 0;
2178 if ac_fn_c_try_run
"$LINENO"; then :
2179 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2183 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2184 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2188 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2191 } # ac_fn_c_compute_int
2192 cat >config.log
<<_ACEOF
2193 This file contains any messages produced by compilers while
2194 running configure, to aid debugging if configure makes a mistake.
2196 It was created by GNU OpenMP Runtime Library $as_me 1.0, which was
2197 generated by GNU Autoconf 2.64. Invocation command line was
2209 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2210 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2211 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2212 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2213 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2215 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2216 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2218 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2219 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2220 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2221 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2222 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2223 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2224 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 $as_echo "PATH: $as_dir"
2249 # Keep a trace of the command line.
2250 # Strip out --no-create and --no-recursion so they do not pile up.
2251 # Strip out --silent because we don't want to record it for future runs.
2252 # Also quote any args containing shell meta-characters.
2253 # Make two passes to allow for proper duplicate-argument suppression.
2257 ac_must_keep_next
=false
2263 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2265 |
-silent |
--silent |
--silen |
--sile |
--sil)
2268 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2271 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2273 as_fn_append ac_configure_args1
" '$ac_arg'"
2274 if test $ac_must_keep_next = true
; then
2275 ac_must_keep_next
=false
# Got value, back to normal.
2278 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2279 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2280 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2281 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2282 case "$ac_configure_args0 " in
2283 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2286 -* ) ac_must_keep_next
=true
;;
2289 as_fn_append ac_configure_args
" '$ac_arg'"
2294 { ac_configure_args0
=; unset ac_configure_args0
;}
2295 { ac_configure_args1
=; unset ac_configure_args1
;}
2297 # When interrupted or exit'd, cleanup temporary files, and complete
2298 # config.log. We remove comments because anyway the quotes in there
2299 # would cause problems or look ugly.
2300 # WARNING: Use '\'' to represent an apostrophe within the trap.
2301 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2302 trap 'exit_status=$?
2303 # Save into config.log some information that might help in debugging.
2308 ## ---------------- ##
2309 ## Cache variables. ##
2310 ## ---------------- ##
2313 # The following way of writing the cache mishandles newlines in values,
2315 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2316 eval ac_val=\$$ac_var
2320 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2324 _ | IFS | as_nl) ;; #(
2325 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2326 *) { eval $ac_var=; unset $ac_var;} ;;
2331 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2332 *${as_nl}ac_space=\ *)
2334 "s/'\''/'\''\\\\'\'''\''/g;
2335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2338 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2346 ## ----------------- ##
2347 ## Output variables. ##
2348 ## ----------------- ##
2351 for ac_var in $ac_subst_vars
2353 eval ac_val=\$$ac_var
2355 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2357 $as_echo "$ac_var='\''$ac_val'\''"
2361 if test -n "$ac_subst_files"; then
2363 ## ------------------- ##
2364 ## File substitutions. ##
2365 ## ------------------- ##
2368 for ac_var
in $ac_subst_files
2370 eval ac_val
=\$
$ac_var
2372 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2374 $as_echo "$ac_var='\''$ac_val'\''"
2379 if test -s confdefs.h; then
2389 test "$ac_signal" != 0 &&
2390 $as_echo "$as_me: caught signal $ac_signal"
2391 $as_echo "$as_me: exit $exit_status"
2393 rm -f core *.core core.conftest.* &&
2394 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2397 for ac_signal
in 1 2 13 15; do
2398 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2403 rm -f -r conftest
* confdefs.h
2405 $as_echo "/* confdefs.h */" > confdefs.h
2407 # Predefined preprocessor variables.
2409 cat >>confdefs.h
<<_ACEOF
2410 #define PACKAGE_NAME "$PACKAGE_NAME"
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2421 cat >>confdefs.h
<<_ACEOF
2422 #define PACKAGE_STRING "$PACKAGE_STRING"
2425 cat >>confdefs.h
<<_ACEOF
2426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2429 cat >>confdefs.h
<<_ACEOF
2430 #define PACKAGE_URL "$PACKAGE_URL"
2434 # Let the site file select an alternate cache file if it wants to.
2435 # Prefer an explicitly selected file to automatically selected ones.
2438 if test -n "$CONFIG_SITE"; then
2439 ac_site_file1
=$CONFIG_SITE
2440 elif test "x$prefix" != xNONE
; then
2441 ac_site_file1
=$prefix/share
/config.site
2442 ac_site_file2
=$prefix/etc
/config.site
2444 ac_site_file1
=$ac_default_prefix/share
/config.site
2445 ac_site_file2
=$ac_default_prefix/etc
/config.site
2447 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2449 test "x$ac_site_file" = xNONE
&& continue
2450 if test -r "$ac_site_file"; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2452 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2453 sed 's/^/| /' "$ac_site_file" >&5
2458 if test -r "$cache_file"; then
2459 # Some versions of bash will fail to source /dev/null (special
2460 # files actually), so we avoid doing that.
2461 if test -f "$cache_file"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2463 $as_echo "$as_me: loading cache $cache_file" >&6;}
2465 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2466 *) .
"./$cache_file";;
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2471 $as_echo "$as_me: creating cache $cache_file" >&6;}
2475 # Check that the precious variables saved in the cache have kept the same
2477 ac_cache_corrupted
=false
2478 for ac_var
in $ac_precious_vars; do
2479 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2480 eval ac_new_set
=\
$ac_env_${ac_var}_set
2481 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2482 eval ac_new_val
=\
$ac_env_${ac_var}_value
2483 case $ac_old_set,$ac_new_set in
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2486 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2487 ac_cache_corrupted
=: ;;
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2490 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2491 ac_cache_corrupted
=: ;;
2494 if test "x$ac_old_val" != "x$ac_new_val"; then
2495 # differences in whitespace do not lead to failure.
2496 ac_old_val_w
=`echo x $ac_old_val`
2497 ac_new_val_w
=`echo x $ac_new_val`
2498 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2500 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2501 ac_cache_corrupted
=:
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2504 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2505 eval $ac_var=\
$ac_old_val
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2508 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2510 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2513 # Pass precious variables to config.status.
2514 if test "$ac_new_set" = set; then
2516 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2517 *) ac_arg
=$ac_var=$ac_new_val ;;
2519 case " $ac_configure_args " in
2520 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2521 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2525 if $ac_cache_corrupted; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2529 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2530 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2532 ## -------------------- ##
2533 ## Main body of script. ##
2534 ## -------------------- ##
2537 ac_cpp
='$CPP $CPPFLAGS'
2538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2546 ac_config_headers
="$ac_config_headers config.h"
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2554 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2555 # Check whether --enable-version-specific-runtime-libs was given.
2556 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2557 enableval
=$enable_version_specific_runtime_libs;
2558 case "$enableval" in
2560 *) as_fn_error
"Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2564 enable_version_specific_runtime_libs
=no
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2569 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2571 # We would like our source tree to be readonly. However when releases or
2572 # pre-releases are generated, the flex/bison generated files as well as the
2573 # various formats of manuals need to be included along with the rest of the
2574 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2577 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2578 # Check whether --enable-generated-files-in-srcdir was given.
2579 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2580 enableval
=$enable_generated_files_in_srcdir;
2581 case "$enableval" in
2583 *) as_fn_error
"Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2587 enable_generated_files_in_srcdir
=no
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2592 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2593 if test "$enable_generated_files_in_srcdir" = yes; then
2606 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2608 # You will slowly go insane if you do not grok the following fact: when
2609 # building this library, the top-level /target/ becomes the library's /host/.
2611 # configure then causes --target to default to --host, exactly like any
2612 # other package using autoconf. Therefore, 'target' and 'host' will
2613 # always be the same. This makes sense both for native and cross compilers
2614 # just think about it for a little while. :-)
2616 # Also, if this library is being configured as part of a cross compiler, the
2617 # top-level configure script will pass the "real" host as $with_cross_host.
2619 # Do not delete or change the following two lines. For why, see
2620 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2622 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2623 for ac_t
in install-sh
install.sh shtool
; do
2624 if test -f "$ac_dir/$ac_t"; then
2626 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2631 if test -z "$ac_aux_dir"; then
2632 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2635 # These three variables are undocumented and unsupported,
2636 # and are intended to be withdrawn in a future Autoconf release.
2637 # They can cause serious problems if a builder's source tree is in a directory
2638 # whose full name contains unusual characters.
2639 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2640 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2641 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2644 # Make sure we can run config.sub.
2645 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2646 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2649 $as_echo_n "checking build system type... " >&6; }
2650 if test "${ac_cv_build+set}" = set; then :
2651 $as_echo_n "(cached) " >&6
2653 ac_build_alias
=$build_alias
2654 test "x$ac_build_alias" = x
&&
2655 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2656 test "x$ac_build_alias" = x
&&
2657 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2658 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2659 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2663 $as_echo "$ac_cv_build" >&6; }
2664 case $ac_cv_build in
2666 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2669 ac_save_IFS
=$IFS; IFS
='-'
2675 # Remember, the first character of IFS is used to create $*,
2676 # except with old shells:
2679 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2683 $as_echo_n "checking host system type... " >&6; }
2684 if test "${ac_cv_host+set}" = set; then :
2685 $as_echo_n "(cached) " >&6
2687 if test "x$host_alias" = x
; then
2688 ac_cv_host
=$ac_cv_build
2690 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2691 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2696 $as_echo "$ac_cv_host" >&6; }
2699 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2702 ac_save_IFS
=$IFS; IFS
='-'
2708 # Remember, the first character of IFS is used to create $*,
2709 # except with old shells:
2712 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2716 $as_echo_n "checking target system type... " >&6; }
2717 if test "${ac_cv_target+set}" = set; then :
2718 $as_echo_n "(cached) " >&6
2720 if test "x$target_alias" = x
; then
2721 ac_cv_target
=$ac_cv_host
2723 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2724 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2729 $as_echo "$ac_cv_target" >&6; }
2730 case $ac_cv_target in
2732 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2734 target
=$ac_cv_target
2735 ac_save_IFS
=$IFS; IFS
='-'
2741 # Remember, the first character of IFS is used to create $*,
2742 # except with old shells:
2745 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2748 # The aliases save the names the user supplied, while $host etc.
2749 # will get canonicalized.
2750 test -n "$target_alias" &&
2751 test "$program_prefix$program_suffix$program_transform_name" = \
2753 program_prefix
=${target_alias}-
2755 target_alias
=${target_alias-$host_alias}
2757 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2758 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2759 # 1.9.0: minimum required version
2760 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2761 # of other PACKAGE_* variables will, however, and there's nothing
2762 # we can do about that; they come from AC_INIT).
2763 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2764 # file in the top srcdir, etc, etc), so stop complaining.
2765 # no-dist: we don't want 'dist' and related rules.
2766 # -Wall: turns on all automake warnings...
2767 # -Wno-portability: ...except this one, since GNU make is required.
2768 # -Wno-override: ... and this one, since we do want this in testsuite.
2769 am__api_version
='1.11'
2771 # Find a good install program. We prefer a C program (faster),
2772 # so one script is as good as another. But avoid the broken or
2773 # incompatible versions:
2774 # SysV /etc/install, /usr/sbin/install
2775 # SunOS /usr/etc/install
2776 # IRIX /sbin/install
2778 # AmigaOS /C/install, which installs bootblocks on floppy discs
2779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2782 # OS/2's system install, which has a completely different semantic
2783 # ./install, which can be erroneously created by make from ./install.sh.
2784 # Reject install programs that cannot install multiple files.
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2786 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2787 if test -z "$INSTALL"; then
2788 if test "${ac_cv_path_install+set}" = set; then :
2789 $as_echo_n "(cached) " >&6
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir
=.
2796 # Account for people who put trailing slashes in PATH elements.
2797 case $as_dir/ in #((
2798 .
/ | .
// |
/[cC
]/* | \
2799 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2800 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2803 # OSF1 and SCO ODT 3.0 have their own names for install.
2804 # Don't use installbsd from OSF since it installs stuff as root
2806 for ac_prog
in ginstall scoinst
install; do
2807 for ac_exec_ext
in '' $ac_executable_extensions; do
2808 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2809 if test $ac_prog = install &&
2810 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2811 # AIX install. It has an incompatible calling convention.
2813 elif test $ac_prog = install &&
2814 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2815 # program-specific install script used by HP pwplus--don't use.
2818 rm -rf conftest.one conftest.two conftest.dir
2819 echo one
> conftest.one
2820 echo two
> conftest.two
2822 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2823 test -s conftest.one
&& test -s conftest.two
&&
2824 test -s conftest.dir
/conftest.one
&&
2825 test -s conftest.dir
/conftest.two
2827 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2840 rm -rf conftest.one conftest.two conftest.dir
2843 if test "${ac_cv_path_install+set}" = set; then
2844 INSTALL
=$ac_cv_path_install
2846 # As a last resort, use the slow shell script. Don't cache a
2847 # value for INSTALL within a source directory, because that will
2848 # break other packages using the cache if that directory is
2849 # removed, or if the value is a relative name.
2850 INSTALL
=$ac_install_sh
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2854 $as_echo "$INSTALL" >&6; }
2856 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2857 # It thinks the first close brace ends the variable substitution.
2858 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2860 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2862 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2865 $as_echo_n "checking whether build environment is sane... " >&6; }
2868 echo timestamp
> conftest.
file
2869 # Reject unsafe characters in $srcdir or the absolute working directory
2870 # name. Accept space and tab only in the latter.
2874 *[\\\"\
#\$\&\'\`$am_lf]*)
2875 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2878 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2879 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2882 # Do `set' in a subshell so we don't clobber the current shell's
2883 # arguments. Must try -L first in case configure is actually a
2884 # symlink; some systems play weird games with the mod time of symlinks
2885 # (eg FreeBSD returns the mod time of the symlink's containing
2888 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2889 if test "$*" = "X"; then
2891 set X
`ls -t "$srcdir/configure" conftest.file`
2894 if test "$*" != "X $srcdir/configure conftest.file" \
2895 && test "$*" != "X conftest.file $srcdir/configure"; then
2897 # If neither matched, then we have a broken ls. This can happen
2898 # if, for instance, CONFIG_SHELL is bash and it inherits a
2899 # broken ls alias from the environment. This has actually
2900 # happened. Such a system could not be considered "sane".
2901 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2902 alias in your environment" "$LINENO" 5
2905 test "$2" = conftest.
file
2911 as_fn_error
"newly created file is older than distributed files!
2912 Check your system clock" "$LINENO" 5
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2915 $as_echo "yes" >&6; }
2916 test "$program_prefix" != NONE
&&
2917 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2918 # Use a double $ so make ignores it.
2919 test "$program_suffix" != NONE
&&
2920 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2921 # Double any \ or $.
2922 # By default was `s,x,x', remove it if useless.
2923 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2924 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2926 # expand $ac_aux_dir to an absolute path
2927 am_aux_dir
=`cd $ac_aux_dir && pwd`
2929 if test x
"${MISSING+set}" != xset
; then
2932 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2934 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2937 # Use eval to expand $SHELL
2938 if eval "$MISSING --run true"; then
2939 am_missing_run
="$MISSING --run "
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2943 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2946 if test x
"${install_sh}" != xset
; then
2949 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2951 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2955 # Installed binaries are usually stripped using `strip' when the user
2956 # run `make install-strip'. However `strip' might not be the right
2957 # tool to use in cross-compilation environments, therefore Automake
2958 # will honor the `STRIP' environment variable to overrule this program.
2959 if test "$cross_compiling" != no
; then
2960 if test -n "$ac_tool_prefix"; then
2961 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2962 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if test "${ac_cv_prog_STRIP+set}" = set; then :
2966 $as_echo_n "(cached) " >&6
2968 if test -n "$STRIP"; then
2969 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir
=.
2976 for ac_exec_ext
in '' $ac_executable_extensions; do
2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 STRIP
=$ac_cv_prog_STRIP
2989 if test -n "$STRIP"; then
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2991 $as_echo "$STRIP" >&6; }
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2994 $as_echo "no" >&6; }
2999 if test -z "$ac_cv_prog_STRIP"; then
3001 # Extract the first word of "strip", so it can be a program name with args.
3002 set dummy strip
; ac_word
=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$ac_ct_STRIP"; then
3009 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir
=.
3016 for ac_exec_ext
in '' $ac_executable_extensions; do
3017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3018 ac_cv_prog_ac_ct_STRIP
="strip"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3029 if test -n "$ac_ct_STRIP"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3031 $as_echo "$ac_ct_STRIP" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3037 if test "x$ac_ct_STRIP" = x
; then
3040 case $cross_compiling:$ac_tool_warned in
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3044 ac_tool_warned
=yes ;;
3049 STRIP
="$ac_cv_prog_STRIP"
3053 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3056 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3057 if test -z "$MKDIR_P"; then
3058 if test "${ac_cv_path_mkdir+set}" = set; then :
3059 $as_echo_n "(cached) " >&6
3061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3062 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3065 test -z "$as_dir" && as_dir
=.
3066 for ac_prog
in mkdir gmkdir
; do
3067 for ac_exec_ext
in '' $ac_executable_extensions; do
3068 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3069 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3070 'mkdir (GNU coreutils) '* | \
3071 'mkdir (coreutils) '* | \
3072 'mkdir (fileutils) '4.1*)
3073 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3083 if test "${ac_cv_path_mkdir+set}" = set; then
3084 MKDIR_P
="$ac_cv_path_mkdir -p"
3086 # As a last resort, use the slow shell script. Don't cache a
3087 # value for MKDIR_P within a source directory, because that will
3088 # break other packages using the cache if that directory is
3089 # removed, or if the value is a relative name.
3090 test -d .
/--version && rmdir .
/--version
3091 MKDIR_P
="$ac_install_sh -d"
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3095 $as_echo "$MKDIR_P" >&6; }
3099 [\\/$
]* | ?
:[\\/]*) ;;
3100 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3103 for ac_prog
in gawk mawk nawk
awk
3105 # Extract the first word of "$ac_prog", so it can be a program name with args.
3106 set dummy
$ac_prog; ac_word
=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if test "${ac_cv_prog_AWK+set}" = set; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$AWK"; then
3113 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir
=.
3120 for ac_exec_ext
in '' $ac_executable_extensions; do
3121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3122 ac_cv_prog_AWK
="$ac_prog"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test -n "$AWK"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3135 $as_echo "$AWK" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3142 test -n "$AWK" && break
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3146 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3148 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3149 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3150 $as_echo_n "(cached) " >&6
3152 cat >conftest.
make <<\_ACEOF
3155 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3157 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3158 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3160 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3162 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3166 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3168 $as_echo "yes" >&6; }
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172 $as_echo "no" >&6; }
3173 SET_MAKE
="MAKE=${MAKE-make}"
3176 rm -rf .tst
2>/dev
/null
3177 mkdir .tst
2>/dev
/null
3178 if test -d .tst
; then
3183 rmdir .tst
2>/dev
/null
3185 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3186 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3187 # is not polluted with repeated "-I."
3188 am__isrc
=' -I$(srcdir)'
3189 # test to see if srcdir already configured
3190 if test -f $srcdir/config.status
; then
3191 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3195 # test whether we have cygpath
3196 if test -z "$CYGPATH_W"; then
3197 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3198 CYGPATH_W
='cygpath -w'
3205 # Define the identity of the package.
3210 cat >>confdefs.h
<<_ACEOF
3211 #define PACKAGE "$PACKAGE"
3215 cat >>confdefs.h
<<_ACEOF
3216 #define VERSION "$VERSION"
3219 # Some tools Automake needs.
3221 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3224 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3227 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3230 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3233 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3235 # We need awk for the "check" target. The system "awk" is bad on
3237 # Always define AMTAR for backward compatibility.
3239 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3241 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3247 # Default to --enable-multilib
3248 # Check whether --enable-multilib was given.
3249 if test "${enable_multilib+set}" = set; then :
3250 enableval
=$enable_multilib; case "$enableval" in
3251 yes) multilib
=yes ;;
3253 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3260 # We may get other options which we leave undocumented:
3261 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3262 # See config-ml.in if you want the gory details.
3264 if test "$srcdir" = "."; then
3265 if test "$with_target_subdir" != "."; then
3266 multi_basedir
="$srcdir/$with_multisrctop../.."
3268 multi_basedir
="$srcdir/$with_multisrctop.."
3271 multi_basedir
="$srcdir/.."
3275 # Even if the default multilib is not a cross compilation,
3276 # it may be that some of the other multilibs are.
3277 if test $cross_compiling = no
&& test $multilib = yes \
3278 && test "x${with_multisubdir}" != x
; then
3279 cross_compiling
=maybe
3282 ac_config_commands
="$ac_config_commands default-1"
3285 # Calculate toolexeclibdir
3286 # Also toolexecdir, though it's only used in toolexeclibdir
3287 case ${enable_version_specific_runtime_libs} in
3289 # Need the gcc compiler version to know where to install libraries
3290 # and header files if --enable-version-specific-runtime-libs option
3292 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3293 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3296 if test -n "$with_cross_host" &&
3297 test x
"$with_cross_host" != x
"no"; then
3298 # Install a library built with a cross compiler in tooldir, not libdir.
3299 toolexecdir
='$(exec_prefix)/$(target_alias)'
3300 toolexeclibdir
='$(toolexecdir)/lib'
3302 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3303 toolexeclibdir
='$(libdir)'
3305 multi_os_directory
=`$CC -print-multi-os-directory`
3306 case $multi_os_directory in
3307 .
) ;; # Avoid trailing /.
3308 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3315 # Check the compiler.
3316 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3317 # We must force CC to /not/ be precious variables; otherwise
3318 # the wrong, non-multilib-adjusted value will be used in multilibs.
3319 # As a side effect, we have to subst CFLAGS ourselves.
3324 ac_cpp
='$CPP $CPPFLAGS'
3325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3328 if test -n "$ac_tool_prefix"; then
3329 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3330 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if test "${ac_cv_prog_CC+set}" = set; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -n "$CC"; then
3337 ac_cv_prog_CC
="$CC" # Let the user override the test.
3339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir
=.
3344 for ac_exec_ext
in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 if test -n "$CC"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3359 $as_echo "$CC" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3367 if test -z "$ac_cv_prog_CC"; then
3369 # Extract the first word of "gcc", so it can be a program name with args.
3370 set dummy gcc
; ac_word
=$2
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3374 $as_echo_n "(cached) " >&6
3376 if test -n "$ac_ct_CC"; then
3377 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir
=.
3384 for ac_exec_ext
in '' $ac_executable_extensions; do
3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386 ac_cv_prog_ac_ct_CC
="gcc"
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3397 if test -n "$ac_ct_CC"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3399 $as_echo "$ac_ct_CC" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3405 if test "x$ac_ct_CC" = x
; then
3408 case $cross_compiling:$ac_tool_warned in
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3412 ac_tool_warned
=yes ;;
3420 if test -z "$CC"; then
3421 if test -n "$ac_tool_prefix"; then
3422 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3423 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if test "${ac_cv_prog_CC+set}" = set; then :
3427 $as_echo_n "(cached) " >&6
3429 if test -n "$CC"; then
3430 ac_cv_prog_CC
="$CC" # Let the user override the test.
3432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3436 test -z "$as_dir" && as_dir
=.
3437 for ac_exec_ext
in '' $ac_executable_extensions; do
3438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3450 if test -n "$CC"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3452 $as_echo "$CC" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3461 if test -z "$CC"; then
3462 # Extract the first word of "cc", so it can be a program name with args.
3463 set dummy cc
; ac_word
=$2
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 $as_echo_n "checking for $ac_word... " >&6; }
3466 if test "${ac_cv_prog_CC+set}" = set; then :
3467 $as_echo_n "(cached) " >&6
3469 if test -n "$CC"; then
3470 ac_cv_prog_CC
="$CC" # Let the user override the test.
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir
=.
3478 for ac_exec_ext
in '' $ac_executable_extensions; do
3479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3480 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3481 ac_prog_rejected
=yes
3485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3492 if test $ac_prog_rejected = yes; then
3493 # We found a bogon in the path, so make sure we never use it.
3494 set dummy
$ac_cv_prog_CC
3496 if test $# != 0; then
3497 # We chose a different compiler from the bogus one.
3498 # However, it has the same basename, so the bogon will be chosen
3499 # first if we set CC to just the basename; use the full file name.
3501 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3507 if test -n "$CC"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3509 $as_echo "$CC" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3517 if test -z "$CC"; then
3518 if test -n "$ac_tool_prefix"; then
3519 for ac_prog
in cl.exe
3521 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3522 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if test "${ac_cv_prog_CC+set}" = set; then :
3526 $as_echo_n "(cached) " >&6
3528 if test -n "$CC"; then
3529 ac_cv_prog_CC
="$CC" # Let the user override the test.
3531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir
=.
3536 for ac_exec_ext
in '' $ac_executable_extensions; do
3537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3538 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3549 if test -n "$CC"; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3551 $as_echo "$CC" >&6; }
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3558 test -n "$CC" && break
3561 if test -z "$CC"; then
3563 for ac_prog
in cl.exe
3565 # Extract the first word of "$ac_prog", so it can be a program name with args.
3566 set dummy
$ac_prog; ac_word
=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3570 $as_echo_n "(cached) " >&6
3572 if test -n "$ac_ct_CC"; then
3573 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3579 test -z "$as_dir" && as_dir
=.
3580 for ac_exec_ext
in '' $ac_executable_extensions; do
3581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582 ac_cv_prog_ac_ct_CC
="$ac_prog"
3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3593 if test -n "$ac_ct_CC"; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3595 $as_echo "$ac_ct_CC" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 $as_echo "no" >&6; }
3602 test -n "$ac_ct_CC" && break
3605 if test "x$ac_ct_CC" = x
; then
3608 case $cross_compiling:$ac_tool_warned in
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3612 ac_tool_warned
=yes ;;
3621 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3623 as_fn_error
"no acceptable C compiler found in \$PATH
3624 See \`config.log' for more details." "$LINENO" 5; }
3626 # Provide some information about the compiler.
3627 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3630 for ac_option
in --version -v -V -qversion; do
3631 { { ac_try
="$ac_compiler $ac_option >&5"
3633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3637 $as_echo "$ac_try_echo"; } >&5
3638 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3640 if test -s conftest.err; then
3642 ... rest of stderr output deleted ...
3643 10q' conftest.err >conftest.er1
3644 cat conftest.er1 >&5
3645 rm -f conftest.er1 conftest.err
3647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3648 test $ac_status = 0; }
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3662 ac_clean_files_save=$ac_clean_files
3663 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3664 # Try to create an executable without -o first, disregard a.out.
3665 # It will help us diagnose broken compilers, and finding out an intuition
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3668 $as_echo_n "checking for C compiler default output file name... " >&6; }
3669 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3671 # The possible output files:
3672 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3675 for ac_file in $ac_files
3678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3679 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3684 if { { ac_try="$ac_link_default"
3686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3687 *) ac_try_echo
=$ac_try;;
3689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_link_default") 2>&5
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }; then :
3695 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3696 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3697 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3698 # so that the user can short-circuit this test for compilers unknown to
3700 for ac_file
in $ac_files ''
3702 test -f "$ac_file" ||
continue
3704 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3707 # We found the default executable, but exeext='' is most
3711 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3713 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3715 # We set ac_cv_exeext here because the later test for it is not
3716 # safe: cross compilers may not add the suffix if given an `-o'
3717 # argument, so we may need to know it at that point already.
3718 # Even if this section looks crufty: it has the advantage of
3725 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3731 $as_echo "$ac_file" >&6; }
3732 if test -z "$ac_file"; then :
3733 $as_echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.
$ac_ext >&5
3736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738 { as_fn_set_status
77
3739 as_fn_error
"C compiler cannot create executables
3740 See \`config.log' for more details." "$LINENO" 5; }; }
3742 ac_exeext
=$ac_cv_exeext
3744 # Check that the compiler produces executables we can run. If not, either
3745 # the compiler is broken, or we cross compile.
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3747 $as_echo_n "checking whether the C compiler works... " >&6; }
3748 # If not cross compiling, check that we can run a simple program.
3749 if test "$cross_compiling" != yes; then
3750 if { ac_try
='./$ac_file'
3751 { { case "(($ac_try" in
3752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3753 *) ac_try_echo=$ac_try;;
3755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3756 $as_echo "$ac_try_echo"; } >&5
3757 (eval "$ac_try") 2>&5
3759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760 test $ac_status = 0; }; }; then
3763 if test "$cross_compiling" = maybe; then
3766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3768 as_fn_error "cannot run C compiled programs.
3769 If you meant to cross compile
, use \
`--host'.
3770 See \`config.log
' for more details." "$LINENO" 5; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3775 $as_echo "yes" >&6; }
3777 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3778 ac_clean_files=$ac_clean_files_save
3779 # Check that the compiler produces executables we can run. If not, either
3780 # the compiler is broken, or we cross compile.
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3782 $as_echo_n "checking whether we are cross compiling... " >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3784 $as_echo "$cross_compiling" >&6; }
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3787 $as_echo_n "checking for suffix of executables... " >&6; }
3788 if { { ac_try="$ac_link"
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3794 $as_echo "$ac_try_echo"; } >&5
3795 (eval "$ac_link") 2>&5
3797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798 test $ac_status = 0; }; then :
3799 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3800 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3801 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3803 for ac_file
in conftest.exe conftest conftest.
*; do
3804 test -f "$ac_file" ||
continue
3806 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3807 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3815 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3816 See \`config.log' for more details." "$LINENO" 5; }
3818 rm -f conftest
$ac_cv_exeext
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3820 $as_echo "$ac_cv_exeext" >&6; }
3822 rm -f conftest.
$ac_ext
3823 EXEEXT
=$ac_cv_exeext
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3826 $as_echo_n "checking for suffix of object files... " >&6; }
3827 if test "${ac_cv_objext+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3841 rm -f conftest.o conftest.obj
3842 if { { ac_try
="$ac_compile"
3844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compile") 2>&5
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }; then :
3853 for ac_file in conftest.o conftest.obj conftest.*; do
3854 test -f "$ac_file" || continue;
3856 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3857 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3862 $as_echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error "cannot compute suffix of object files
: cannot compile
3868 See \
`config.log' for more details." "$LINENO" 5; }
3870 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3873 $as_echo "$ac_cv_objext" >&6; }
3874 OBJEXT=$ac_cv_objext
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3877 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3878 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3879 $as_echo_n "(cached) " >&6
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3895 if ac_fn_c_try_compile "$LINENO"; then :
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3905 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3906 if test $ac_compiler_gnu = yes; then
3911 ac_test_CFLAGS=${CFLAGS+set}
3912 ac_save_CFLAGS=$CFLAGS
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3914 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3915 if test "${ac_cv_prog_cc_g+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 ac_save_c_werror_flag=$ac_c_werror_flag
3919 ac_c_werror_flag=yes
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3933 if ac_fn_c_try_compile "$LINENO"; then :
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3948 if ac_fn_c_try_compile "$LINENO"; then :
3951 ac_c_werror_flag=$ac_save_c_werror_flag
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3964 if ac_fn_c_try_compile "$LINENO"; then :
3967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 ac_c_werror_flag=$ac_save_c_werror_flag
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3975 $as_echo "$ac_cv_prog_cc_g" >&6; }
3976 if test "$ac_test_CFLAGS" = set; then
3977 CFLAGS=$ac_save_CFLAGS
3978 elif test $ac_cv_prog_cc_g = yes; then
3979 if test "$GCC" = yes; then
3985 if test "$GCC" = yes; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3992 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3993 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 ac_cv_prog_cc_c89=no
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 #include <sys/types.h>
4003 #include <sys/stat.h>
4004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4005 struct buf { int x; };
4006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4007 static char *e (p, i)
4013 static char *f (char * (*g) (char **, int), char **p, ...)
4018 s = g (p, va_arg (v,int));
4023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4024 function prototypes and stuff, but not '\xHH' hex character constants.
4025 These don't provoke an error unfortunately, instead are silently treated
4026 as 'x'. The following induces an error, until -std is added to get
4027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4028 array size at least. It's necessary to write '\x00'==0 to get something
4029 that's true only with -std. */
4030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4033 inside strings and character constants. */
4035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4037 int test (int i, double x);
4038 struct s1 {int (*f) (int a);};
4039 struct s2 {int (*f) (double a);};
4040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4052 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4054 CC="$ac_save_CC $ac_arg"
4055 if ac_fn_c_try_compile "$LINENO"; then :
4056 ac_cv_prog_cc_c89=$ac_arg
4058 rm -f core conftest.err conftest.$ac_objext
4059 test "x$ac_cv_prog_cc_c89" != "xno" && break
4061 rm -f conftest.$ac_ext
4066 case "x$ac_cv_prog_cc_c89" in
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4069 $as_echo "none needed" >&6; } ;;
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4072 $as_echo "unsupported" >&6; } ;;
4074 CC="$CC $ac_cv_prog_cc_c89"
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4078 if test "x$ac_cv_prog_cc_c89" != xno; then :
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 DEPDIR="${am__leading_dot}deps"
4089 ac_config_commands="$ac_config_commands depfiles"
4092 am_make=${MAKE-make}
4093 cat > confinc << 'END'
4095 @echo this is the am__doit target
4098 # If we don't find an include directive, just comment out the code.
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4100 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4104 # First try GNU make style include.
4105 echo "include confinc" > confmf
4106 # Ignore all kinds of additional output from `make'.
4107 case `$am_make -s -f confmf 2> /dev/null` in #(
4108 *the\ am__doit\ target*)
4114 # Now try BSD make style include.
4115 if test "$am__include" = "#"; then
4116 echo '.include
"confinc"' > confmf
4117 case `$am_make -s -f confmf 2> /dev/null` in #(
4118 *the\ am__doit\ target*)
4119 am__include=.include
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4128 $as_echo "$_am_result" >&6; }
4129 rm -f confinc confmf
4131 # Check whether --enable-dependency-tracking was given.
4132 if test "${enable_dependency_tracking+set}" = set; then :
4133 enableval=$enable_dependency_tracking;
4136 if test "x$enable_dependency_tracking" != xno; then
4137 am_depcomp="$ac_aux_dir/depcomp"
4140 if test "x$enable_dependency_tracking" != xno
; then
4150 depcc
="$CC" am_compiler_list
=
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4153 $as_echo_n "checking dependency style of $depcc... " >&6; }
4154 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4157 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4158 # We make a subdir and do the tests there. Otherwise we can end up
4159 # making bogus files that we don't know about and never remove. For
4160 # instance it was reported that on HP-UX the gcc test will end up
4161 # making a dummy file named `D' -- because `-MD' means `put the output
4164 # Copy depcomp to subdir because otherwise we won't find it if we're
4165 # using a relative directory.
4166 cp "$am_depcomp" conftest.dir
4168 # We will build objects and dependencies in a subdirectory because
4169 # it helps to detect inapplicable dependency modes. For instance
4170 # both Tru64's cc and ICC support -MD to output dependencies as a
4171 # side effect of compilation, but ICC will put the dependencies in
4172 # the current directory while Tru64 will put them in the object
4176 am_cv_CC_dependencies_compiler_type
=none
4177 if test "$am_compiler_list" = ""; then
4178 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4181 case " $depcc " in #(
4182 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4185 for depmode
in $am_compiler_list; do
4186 # Setup a source with many dependencies, because some compilers
4187 # like to wrap large dependency lists on column 80 (with \), and
4188 # we should not choose a depcomp mode which is confused by this.
4190 # We need to recreate these files for each test, as the compiler may
4191 # overwrite some of them when testing with obscure command lines.
4192 # This happens at least with the AIX C compiler.
4194 for i
in 1 2 3 4 5 6; do
4195 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4196 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4197 # Solaris 8's {/usr,}/bin/sh.
4198 touch sub
/conftst
$i.h
4200 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4202 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4203 # mode. It turns out that the SunPro C++ compiler does not properly
4204 # handle `-M -o', and we need to detect this. Also, some Intel
4205 # versions had trouble with output in subdirs
4206 am__obj
=sub
/conftest.
${OBJEXT-o}
4207 am__minus_obj
="-o $am__obj"
4210 # This depmode causes a compiler race in universal mode.
4211 test "$am__universal" = false ||
continue
4214 # after this tag, mechanisms are not by side-effect, so they'll
4215 # only be used when explicitly requested
4216 if test "x$enable_dependency_tracking" = xyes
; then
4222 msvisualcpp | msvcmsys
)
4223 # This compiler won't grok `-c -o', but also, the minuso test has
4224 # not run yet. These depmodes are late enough in the game, and
4225 # so weak that their functioning should not be impacted.
4226 am__obj
=conftest.
${OBJEXT-o}
4231 if depmode
=$depmode \
4232 source=sub
/conftest.c object
=$am__obj \
4233 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4234 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4235 >/dev
/null
2>conftest.err
&&
4236 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4237 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4238 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4239 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4240 # icc doesn't choke on unknown options, it will just issue warnings
4241 # or remarks (even with -Werror). So we grep stderr for any message
4242 # that says an option was ignored or not supported.
4243 # When given -MP, icc 7.0 and 7.1 complain thusly:
4244 # icc: Command line warning: ignoring option '-M'; no argument required
4245 # The diagnosis changed in icc 8.0:
4246 # icc: Command line remark: option '-MP' not supported
4247 if (grep 'ignoring option' conftest.err ||
4248 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4249 am_cv_CC_dependencies_compiler_type
=$depmode
4258 am_cv_CC_dependencies_compiler_type
=none
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4263 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4264 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4267 test "x$enable_dependency_tracking" != xno \
4268 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4270 am__fastdepCC_FALSE
='#'
4272 am__fastdepCC_TRUE
='#'
4273 am__fastdepCC_FALSE
=
4281 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4282 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4283 # in both places for now and restore CFLAGS at the end of config.
4284 save_CFLAGS
="$CFLAGS"
4286 # Add -Wall -Werror if we are using GCC.
4287 if test "x$GCC" = "xyes"; then
4288 XCFLAGS
="$XCFLAGS -Wall -Werror"
4291 # Find other programs we need.
4292 if test -n "$ac_tool_prefix"; then
4293 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4294 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if test "${ac_cv_prog_AR+set}" = set; then :
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$AR"; then
4301 ac_cv_prog_AR
="$AR" # Let the user override the test.
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_exec_ext
in '' $ac_executable_extensions; do
4309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4310 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test -n "$AR"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4323 $as_echo "$AR" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4331 if test -z "$ac_cv_prog_AR"; then
4333 # Extract the first word of "ar", so it can be a program name with args.
4334 set dummy
ar; ac_word
=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -n "$ac_ct_AR"; then
4341 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir
=.
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4350 ac_cv_prog_ac_ct_AR
="ar"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4361 if test -n "$ac_ct_AR"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4363 $as_echo "$ac_ct_AR" >&6; }
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4369 if test "x$ac_ct_AR" = x
; then
4372 case $cross_compiling:$ac_tool_warned in
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4376 ac_tool_warned
=yes ;;
4384 if test -n "$ac_tool_prefix"; then
4385 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4386 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -n "$RANLIB"; then
4393 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 RANLIB
=$ac_cv_prog_RANLIB
4413 if test -n "$RANLIB"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4415 $as_echo "$RANLIB" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4423 if test -z "$ac_cv_prog_RANLIB"; then
4424 ac_ct_RANLIB
=$RANLIB
4425 # Extract the first word of "ranlib", so it can be a program name with args.
4426 set dummy ranlib
; ac_word
=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4430 $as_echo_n "(cached) " >&6
4432 if test -n "$ac_ct_RANLIB"; then
4433 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir
=.
4440 for ac_exec_ext
in '' $ac_executable_extensions; do
4441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4442 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4453 if test -n "$ac_ct_RANLIB"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4455 $as_echo "$ac_ct_RANLIB" >&6; }
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4461 if test "x$ac_ct_RANLIB" = x
; then
4462 RANLIB
="ranlib-not-found-in-path-error"
4464 case $cross_compiling:$ac_tool_warned in
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4468 ac_tool_warned
=yes ;;
4470 RANLIB
=$ac_ct_RANLIB
4473 RANLIB
="$ac_cv_prog_RANLIB"
4476 # Extract the first word of "perl", so it can be a program name with args.
4477 set dummy perl
; ac_word
=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_path_PERL+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4485 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir
=.
4493 for ac_exec_ext
in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4503 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
4507 PERL
=$ac_cv_path_PERL
4508 if test -n "$PERL"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4510 $as_echo "$PERL" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4518 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4520 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4521 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4522 $as_echo_n "(cached) " >&6
4524 cat >conftest.
make <<\_ACEOF
4527 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4529 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4530 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4532 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4534 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4538 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4540 $as_echo "yes" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 $as_echo "no" >&6; }
4545 SET_MAKE
="MAKE=${MAKE-make}"
4550 # See if makeinfo has been installed and is modern enough
4551 # that we can use it.
4553 # Extract the first word of "makeinfo", so it can be a program name with args.
4554 set dummy makeinfo
; ac_word
=$2
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4556 $as_echo_n "checking for $ac_word... " >&6; }
4557 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -n "$MAKEINFO"; then
4561 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir
=.
4568 for ac_exec_ext
in '' $ac_executable_extensions; do
4569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4570 ac_cv_prog_MAKEINFO
="makeinfo"
4571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 MAKEINFO
=$ac_cv_prog_MAKEINFO
4581 if test -n "$MAKEINFO"; then
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4583 $as_echo "$MAKEINFO" >&6; }
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 $as_echo "no" >&6; }
4590 if test -n "$MAKEINFO"; then
4591 # Found it, now check the version.
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4593 $as_echo_n "checking for modern makeinfo... " >&6; }
4594 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4595 $as_echo_n "(cached) " >&6
4597 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4598 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4600 case $ac_prog_version in
4601 '') gcc_cv_prog_makeinfo_modern
=no
;;
4602 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4603 *) gcc_cv_prog_makeinfo_modern
=no
;;
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4608 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4610 gcc_cv_prog_makeinfo_modern
=no
4612 if test $gcc_cv_prog_makeinfo_modern = no
; then
4613 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4616 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4618 BUILD_INFO_FALSE
='#'
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4630 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4635 macro_version
='2.2.7a'
4636 macro_revision
='1.3134'
4650 ltmain
="$ac_aux_dir/ltmain.sh"
4652 # Backslashify metacharacters that are still active within
4653 # double-quoted strings.
4654 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4656 # Same as above, but do not quote variable references.
4657 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4659 # Sed substitution to delay expansion of an escaped shell variable in a
4660 # double_quote_subst'ed string.
4661 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4663 # Sed substitution to delay expansion of an escaped single quote.
4664 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4666 # Sed substitution to avoid accidental globbing in evaled expressions
4667 no_glob_subst
='s/\*/\\\*/g'
4669 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4670 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4671 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4674 $as_echo_n "checking how to print strings... " >&6; }
4675 # Test print first, because it will be a builtin if present.
4676 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4677 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4679 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4682 # Use this function as a fallback that always works.
4683 func_fallback_echo ()
4685 eval 'cat <<_LTECHO_EOF
4689 ECHO='func_fallback_echo
'
4692 # func_echo_all arg...
4693 # Invoke $ECHO with all args, space-separated.
4700 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4701 $as_echo "printf" >&6; } ;;
4702 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4703 $as_echo "print -r" >&6; } ;;
4704 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4705 $as_echo "cat" >&6; } ;;
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4722 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4723 if test "${ac_cv_path_SED+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4727 for ac_i in 1 2 3 4 5 6 7; do
4728 ac_script="$ac_script$as_nl$ac_script"
4730 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4731 { ac_script=; unset ac_script;}
4732 if test -z "$SED"; then
4733 ac_path_SED_found=false
4734 # Loop through the user's path and
test for each of PROGNAME-LIST
4735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4739 test -z "$as_dir" && as_dir
=.
4740 for ac_prog
in sed gsed
; do
4741 for ac_exec_ext
in '' $ac_executable_extensions; do
4742 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4743 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4744 # Check for GNU ac_path_SED and select it if it is found.
4745 # Check for GNU $ac_path_SED
4746 case `"$ac_path_SED" --version 2>&1` in
4748 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4751 $as_echo_n 0123456789 >"conftest.in"
4754 cat "conftest.in" "conftest.in" >"conftest.tmp"
4755 mv "conftest.tmp" "conftest.in"
4756 cp "conftest.in" "conftest.nl"
4757 $as_echo '' >> "conftest.nl"
4758 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4759 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4760 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4761 if test $ac_count -gt ${ac_path_SED_max-0}; then
4762 # Best one so far, save it but keep looking for a better one
4763 ac_cv_path_SED
="$ac_path_SED"
4764 ac_path_SED_max
=$ac_count
4766 # 10*(2^10) chars as input seems more than enough
4767 test $ac_count -gt 10 && break
4769 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4772 $ac_path_SED_found && break 3
4777 if test -z "$ac_cv_path_SED"; then
4778 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4786 $as_echo "$ac_cv_path_SED" >&6; }
4787 SED
="$ac_cv_path_SED"
4790 test -z "$SED" && SED
=sed
4791 Xsed
="$SED -e 1s/^X//"
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4804 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4805 if test "${ac_cv_path_GREP+set}" = set; then :
4806 $as_echo_n "(cached) " >&6
4808 if test -z "$GREP"; then
4809 ac_path_GREP_found
=false
4810 # Loop through the user's path and test for each of PROGNAME-LIST
4811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4812 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4815 test -z "$as_dir" && as_dir
=.
4816 for ac_prog
in grep ggrep
; do
4817 for ac_exec_ext
in '' $ac_executable_extensions; do
4818 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4819 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4820 # Check for GNU ac_path_GREP and select it if it is found.
4821 # Check for GNU $ac_path_GREP
4822 case `"$ac_path_GREP" --version 2>&1` in
4824 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4827 $as_echo_n 0123456789 >"conftest.in"
4830 cat "conftest.in" "conftest.in" >"conftest.tmp"
4831 mv "conftest.tmp" "conftest.in"
4832 cp "conftest.in" "conftest.nl"
4833 $as_echo 'GREP' >> "conftest.nl"
4834 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4835 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4836 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4837 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4838 # Best one so far, save it but keep looking for a better one
4839 ac_cv_path_GREP
="$ac_path_GREP"
4840 ac_path_GREP_max
=$ac_count
4842 # 10*(2^10) chars as input seems more than enough
4843 test $ac_count -gt 10 && break
4845 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4848 $ac_path_GREP_found && break 3
4853 if test -z "$ac_cv_path_GREP"; then
4854 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4857 ac_cv_path_GREP
=$GREP
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4862 $as_echo "$ac_cv_path_GREP" >&6; }
4863 GREP
="$ac_cv_path_GREP"
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4867 $as_echo_n "checking for egrep... " >&6; }
4868 if test "${ac_cv_path_EGREP+set}" = set; then :
4869 $as_echo_n "(cached) " >&6
4871 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4872 then ac_cv_path_EGREP
="$GREP -E"
4874 if test -z "$EGREP"; then
4875 ac_path_EGREP_found
=false
4876 # Loop through the user's path and test for each of PROGNAME-LIST
4877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4878 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4881 test -z "$as_dir" && as_dir
=.
4882 for ac_prog
in egrep; do
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4885 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4886 # Check for GNU ac_path_EGREP and select it if it is found.
4887 # Check for GNU $ac_path_EGREP
4888 case `"$ac_path_EGREP" --version 2>&1` in
4890 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4893 $as_echo_n 0123456789 >"conftest.in"
4896 cat "conftest.in" "conftest.in" >"conftest.tmp"
4897 mv "conftest.tmp" "conftest.in"
4898 cp "conftest.in" "conftest.nl"
4899 $as_echo 'EGREP' >> "conftest.nl"
4900 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4901 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4902 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4903 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4904 # Best one so far, save it but keep looking for a better one
4905 ac_cv_path_EGREP
="$ac_path_EGREP"
4906 ac_path_EGREP_max
=$ac_count
4908 # 10*(2^10) chars as input seems more than enough
4909 test $ac_count -gt 10 && break
4911 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4914 $ac_path_EGREP_found && break 3
4919 if test -z "$ac_cv_path_EGREP"; then
4920 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4923 ac_cv_path_EGREP
=$EGREP
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4929 $as_echo "$ac_cv_path_EGREP" >&6; }
4930 EGREP
="$ac_cv_path_EGREP"
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4934 $as_echo_n "checking for fgrep... " >&6; }
4935 if test "${ac_cv_path_FGREP+set}" = set; then :
4936 $as_echo_n "(cached) " >&6
4938 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4939 then ac_cv_path_FGREP
="$GREP -F"
4941 if test -z "$FGREP"; then
4942 ac_path_FGREP_found
=false
4943 # Loop through the user's path and test for each of PROGNAME-LIST
4944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4948 test -z "$as_dir" && as_dir
=.
4949 for ac_prog
in fgrep
; do
4950 for ac_exec_ext
in '' $ac_executable_extensions; do
4951 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4952 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4953 # Check for GNU ac_path_FGREP and select it if it is found.
4954 # Check for GNU $ac_path_FGREP
4955 case `"$ac_path_FGREP" --version 2>&1` in
4957 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4960 $as_echo_n 0123456789 >"conftest.in"
4963 cat "conftest.in" "conftest.in" >"conftest.tmp"
4964 mv "conftest.tmp" "conftest.in"
4965 cp "conftest.in" "conftest.nl"
4966 $as_echo 'FGREP' >> "conftest.nl"
4967 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4968 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4969 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4970 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4971 # Best one so far, save it but keep looking for a better one
4972 ac_cv_path_FGREP
="$ac_path_FGREP"
4973 ac_path_FGREP_max
=$ac_count
4975 # 10*(2^10) chars as input seems more than enough
4976 test $ac_count -gt 10 && break
4978 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4981 $ac_path_FGREP_found && break 3
4986 if test -z "$ac_cv_path_FGREP"; then
4987 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4990 ac_cv_path_FGREP
=$FGREP
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4996 $as_echo "$ac_cv_path_FGREP" >&6; }
4997 FGREP
="$ac_cv_path_FGREP"
5000 test -z "$GREP" && GREP
=grep
5020 # Check whether --with-gnu-ld was given.
5021 if test "${with_gnu_ld+set}" = set; then :
5022 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5028 if test "$GCC" = yes; then
5029 # Check if gcc -print-prog-name=ld gives a path.
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5031 $as_echo_n "checking for ld used by $CC... " >&6; }
5034 # gcc leaves a trailing carriage return which upsets mingw
5035 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5037 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5040 # Accept absolute paths.
5042 re_direlt
='/[^/][^/]*/\.\./'
5043 # Canonicalize the pathname of ld
5044 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5045 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5046 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5048 test -z "$LD" && LD
="$ac_prog"
5051 # If it fails, then pretend we aren't using GCC.
5055 # If it is relative, then search for the first ld in PATH.
5059 elif test "$with_gnu_ld" = yes; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5061 $as_echo_n "checking for GNU ld... " >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5064 $as_echo_n "checking for non-GNU ld... " >&6; }
5066 if test "${lt_cv_path_LD+set}" = set; then :
5067 $as_echo_n "(cached) " >&6
5069 if test -z "$LD"; then
5070 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5071 for ac_dir
in $PATH; do
5073 test -z "$ac_dir" && ac_dir
=.
5074 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5075 lt_cv_path_LD
="$ac_dir/$ac_prog"
5076 # Check to see if the program is GNU ld. I'd rather use --version,
5077 # but apparently some variants of GNU ld only accept -v.
5078 # Break only if it was the GNU/non-GNU ld that we prefer.
5079 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5080 *GNU
* |
*'with BFD'*)
5081 test "$with_gnu_ld" != no
&& break
5084 test "$with_gnu_ld" != yes && break
5091 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5096 if test -n "$LD"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5098 $as_echo "$LD" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5103 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5105 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5106 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5107 $as_echo_n "(cached) " >&6
5109 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5110 case `$LD -v 2>&1 </dev/null` in
5111 *GNU
* |
*'with BFD'*)
5112 lt_cv_prog_gnu_ld
=yes
5115 lt_cv_prog_gnu_ld
=no
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5120 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5121 with_gnu_ld
=$lt_cv_prog_gnu_ld
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5132 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5133 if test "${lt_cv_path_NM+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$NM"; then
5137 # Let the user override the test.
5140 lt_nm_to_check
="${ac_tool_prefix}nm"
5141 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5142 lt_nm_to_check
="$lt_nm_to_check nm"
5144 for lt_tmp_nm
in $lt_nm_to_check; do
5145 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5146 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5148 test -z "$ac_dir" && ac_dir
=.
5149 tmp_nm
="$ac_dir/$lt_tmp_nm"
5150 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5151 # Check to see if the nm accepts a BSD-compat flag.
5152 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5153 # nm: unknown option "B" ignored
5154 # Tru64's nm complains that /dev/null is an invalid object file
5155 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5156 */dev
/null
* |
*'Invalid file or object type'*)
5157 lt_cv_path_NM
="$tmp_nm -B"
5161 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5163 lt_cv_path_NM
="$tmp_nm -p"
5167 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5168 continue # so that we can try to find one that supports BSD flags
5177 : ${lt_cv_path_NM=no}
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5181 $as_echo "$lt_cv_path_NM" >&6; }
5182 if test "$lt_cv_path_NM" != "no"; then
5185 # Didn't find any BSD compatible name lister, look for dumpbin.
5186 if test -n "$DUMPBIN"; then :
5187 # Let the user override the test.
5189 if test -n "$ac_tool_prefix"; then
5190 for ac_prog
in dumpbin
"link -dump"
5192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5193 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5195 $as_echo_n "checking for $ac_word... " >&6; }
5196 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5197 $as_echo_n "(cached) " >&6
5199 if test -n "$DUMPBIN"; then
5200 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5206 test -z "$as_dir" && as_dir
=.
5207 for ac_exec_ext
in '' $ac_executable_extensions; do
5208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5209 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 DUMPBIN
=$ac_cv_prog_DUMPBIN
5220 if test -n "$DUMPBIN"; then
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5222 $as_echo "$DUMPBIN" >&6; }
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5225 $as_echo "no" >&6; }
5229 test -n "$DUMPBIN" && break
5232 if test -z "$DUMPBIN"; then
5233 ac_ct_DUMPBIN
=$DUMPBIN
5234 for ac_prog
in dumpbin
"link -dump"
5236 # Extract the first word of "$ac_prog", so it can be a program name with args.
5237 set dummy
$ac_prog; ac_word
=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5241 $as_echo_n "(cached) " >&6
5243 if test -n "$ac_ct_DUMPBIN"; then
5244 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5264 if test -n "$ac_ct_DUMPBIN"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5266 $as_echo "$ac_ct_DUMPBIN" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5273 test -n "$ac_ct_DUMPBIN" && break
5276 if test "x$ac_ct_DUMPBIN" = x
; then
5279 case $cross_compiling:$ac_tool_warned in
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5283 ac_tool_warned
=yes ;;
5285 DUMPBIN
=$ac_ct_DUMPBIN
5289 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5291 DUMPBIN
="$DUMPBIN -symbols"
5299 if test "$DUMPBIN" != ":"; then
5303 test -z "$NM" && NM
=nm
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5311 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5312 if test "${lt_cv_nm_interface+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5315 lt_cv_nm_interface
="BSD nm"
5316 echo "int some_variable = 0;" > conftest.
$ac_ext
5317 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5318 (eval "$ac_compile" 2>conftest.err
)
5319 cat conftest.err
>&5
5320 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5321 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5322 cat conftest.err
>&5
5323 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5324 cat conftest.out
>&5
5325 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5326 lt_cv_nm_interface
="MS dumpbin"
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5331 $as_echo "$lt_cv_nm_interface" >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5334 $as_echo_n "checking whether ln -s works... " >&6; }
5336 if test "$LN_S" = "ln -s"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5338 $as_echo "yes" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5341 $as_echo "no, using $LN_S" >&6; }
5344 # find the maximum length of command line arguments
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5346 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5347 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5348 $as_echo_n "(cached) " >&6
5355 # On DJGPP, this test can blow up pretty badly due to problems in libc
5356 # (any single argument exceeding 2000 bytes causes a buffer overrun
5357 # during glob expansion). Even if it were fixed, the result of this
5358 # check would be larger than it should be.
5359 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5363 # Under GNU Hurd, this test is not required because there is
5364 # no limit to the length of command line arguments.
5365 # Libtool will interpret -1 as no limit whatsoever
5366 lt_cv_sys_max_cmd_len
=-1;
5369 cygwin
* | mingw
* | cegcc
*)
5370 # On Win9x/ME, this test blows up -- it succeeds, but takes
5371 # about 5 minutes as the teststring grows exponentially.
5372 # Worse, since 9x/ME are not pre-emptively multitasking,
5373 # you end up with a "frozen" computer, even though with patience
5374 # the test eventually succeeds (with a max line length of 256k).
5375 # Instead, let's just punt: use the minimum linelength reported by
5376 # all of the supported platforms: 8192 (on NT/2K/XP).
5377 lt_cv_sys_max_cmd_len
=8192;
5381 # On MiNT this can take a long time and run out of memory.
5382 lt_cv_sys_max_cmd_len
=8192;
5386 # On AmigaOS with pdksh, this test takes hours, literally.
5387 # So we just punt and use a minimum line length of 8192.
5388 lt_cv_sys_max_cmd_len
=8192;
5391 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5392 # This has been around since 386BSD, at least. Likely further.
5393 if test -x /sbin
/sysctl
; then
5394 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5395 elif test -x /usr
/sbin
/sysctl
; then
5396 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5398 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5400 # And add a safety zone
5401 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5402 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5406 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5407 lt_cv_sys_max_cmd_len
=196608
5411 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5412 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5413 # nice to cause kernel panics so lets avoid the loop below.
5414 # First set a reasonable default.
5415 lt_cv_sys_max_cmd_len
=16384
5417 if test -x /sbin
/sysconfig
; then
5418 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5419 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5424 lt_cv_sys_max_cmd_len
=102400
5426 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5427 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5428 if test -n "$kargmax"; then
5429 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5431 lt_cv_sys_max_cmd_len
=32768
5435 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5436 if test -n "$lt_cv_sys_max_cmd_len"; then
5437 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5438 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5440 # Make teststring a little bigger before we do anything with it.
5441 # a 1K string should be a reasonable start.
5442 for i
in 1 2 3 4 5 6 7 8 ; do
5443 teststring
=$teststring$teststring
5445 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5446 # If test is not a shell built-in, we'll probably end up computing a
5447 # maximum length that is only half of the actual maximum length, but
5449 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5450 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5451 test $i != 17 # 1/2 MB should be enough
5454 teststring
=$teststring$teststring
5456 # Only check the string length outside the loop.
5457 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5459 # Add a significant safety factor because C++ compilers can tack on
5460 # massive amounts of additional arguments before passing them to the
5461 # linker. It appears as though 1/2 is a usable value.
5462 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5469 if test -n $lt_cv_sys_max_cmd_len ; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5471 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5474 $as_echo "none" >&6; }
5476 max_cmd_len
=$lt_cv_sys_max_cmd_len
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5488 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5489 # Try some XSI features
5492 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5494 && eval 'test $(( 1 + 1 )) -eq 2 \
5495 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5498 $as_echo "$xsi_shell" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5502 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5504 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5506 && lt_shell_append=yes
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5508 $as_echo "$lt_shell_append" >&6; }
5511 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5521 # test EBCDIC or ASCII
5522 case `echo X|tr X '\101'` in
5523 A) # ASCII based system
5524 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5525 lt_SP2NL='tr \040 \012'
5526 lt_NL2SP='tr \015\012 \040\040'
5528 *) # EBCDIC based system
5529 lt_SP2NL='tr \100 \n'
5530 lt_NL2SP='tr \r\n \100\100'
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5543 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5544 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5545 $as_echo_n "(cached
) " >&6
5547 lt_cv_ld_reload_flag='-r'
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5550 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5551 reload_flag=$lt_cv_ld_reload_flag
5552 case $reload_flag in
5554 *) reload_flag=" $reload_flag" ;;
5556 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5559 if test "$GCC" = yes; then
5560 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5562 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5575 if test -n "$ac_tool_prefix"; then
5576 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5577 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5579 $as_echo_n "checking
for $ac_word...
" >&6; }
5580 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5581 $as_echo_n "(cached
) " >&6
5583 if test -n "$OBJDUMP"; then
5584 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5603 OBJDUMP=$ac_cv_prog_OBJDUMP
5604 if test -n "$OBJDUMP"; then
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5606 $as_echo "$OBJDUMP" >&6; }
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5609 $as_echo "no
" >&6; }
5614 if test -z "$ac_cv_prog_OBJDUMP"; then
5615 ac_ct_OBJDUMP=$OBJDUMP
5616 # Extract the first word of "objdump
", so it can be a program name with args.
5617 set dummy objdump; ac_word=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5619 $as_echo_n "checking
for $ac_word...
" >&6; }
5620 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5621 $as_echo_n "(cached
) " >&6
5623 if test -n "$ac_ct_OBJDUMP"; then
5624 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5633 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5643 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5644 if test -n "$ac_ct_OBJDUMP"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5646 $as_echo "$ac_ct_OBJDUMP" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5649 $as_echo "no
" >&6; }
5652 if test "x
$ac_ct_OBJDUMP" = x; then
5655 case $cross_compiling:$ac_tool_warned in
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5658 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5659 ac_tool_warned=yes ;;
5661 OBJDUMP=$ac_ct_OBJDUMP
5664 OBJDUMP="$ac_cv_prog_OBJDUMP"
5667 test -z "$OBJDUMP" && OBJDUMP=objdump
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5678 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5679 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5680 $as_echo_n "(cached
) " >&6
5682 lt_cv_file_magic_cmd='$MAGIC_CMD'
5683 lt_cv_file_magic_test_file=
5684 lt_cv_deplibs_check_method='unknown'
5685 # Need to set the preceding variable on all platforms that support
5686 # interlibrary dependencies.
5687 # 'none' -- dependencies not supported.
5688 # `unknown' -- same as none, but documents that we really don't know.
5689 # 'pass_all' -- all dependencies passed with no checks.
5690 # 'test_compile' -- check by making test program.
5691 # 'file_magic [[regex]]' -- check by looking for files in library path
5692 # which responds to the $file_magic_cmd with a given extended regex.
5693 # If you have `file' or equivalent on your system and you're not sure
5694 # whether `pass_all' will *always* work, you probably want this one.
5698 lt_cv_deplibs_check_method=pass_all
5702 lt_cv_deplibs_check_method=pass_all
5706 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5707 lt_cv_file_magic_cmd='/usr/bin/file -L'
5708 lt_cv_file_magic_test_file=/shlib/libc.so
5712 # func_win32_libid is a shell function defined in ltmain.sh
5713 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5714 lt_cv_file_magic_cmd='func_win32_libid'
5718 # Base MSYS/MinGW do not provide the 'file' command needed by
5719 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5720 # unless we find 'file', for example because we are cross-compiling.
5721 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5722 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5723 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5724 lt_cv_file_magic_cmd='func_win32_libid'
5726 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5727 lt_cv_file_magic_cmd='$OBJDUMP -f'
5732 # use the weaker test based on 'objdump'. See mingw*.
5733 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5734 lt_cv_file_magic_cmd='$OBJDUMP -f'
5737 darwin* | rhapsody*)
5738 lt_cv_deplibs_check_method=pass_all
5741 freebsd* | dragonfly*)
5742 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5745 # Not sure whether the presence of OpenBSD here was a mistake.
5746 # Let's accept both of them until this is cleared up.
5747 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5748 lt_cv_file_magic_cmd=/usr/bin/file
5749 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5753 lt_cv_deplibs_check_method=pass_all
5758 lt_cv_deplibs_check_method=pass_all
5762 lt_cv_deplibs_check_method=pass_all
5765 hpux10.20* | hpux11*)
5766 lt_cv_file_magic_cmd=/usr/bin/file
5769 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5770 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5773 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]'
5774 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5777 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5778 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5784 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5785 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5788 irix5* | irix6* | nonstopux*)
5790 *-32|*"-32 ") libmagic=32-bit;;
5791 *-n32|*"-n32 ") libmagic=N32;;
5792 *-64|*"-64 ") libmagic=64-bit;;
5793 *) libmagic=never-match;;
5795 lt_cv_deplibs_check_method=pass_all
5798 # This must be Linux ELF.
5799 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5800 lt_cv_deplibs_check_method=pass_all
5804 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5805 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5807 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5812 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5813 lt_cv_file_magic_cmd=/usr/bin/file
5814 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5818 lt_cv_deplibs_check_method=pass_all
5822 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5823 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5829 osf3* | osf4* | osf5*)
5830 lt_cv_deplibs_check_method=pass_all
5834 lt_cv_deplibs_check_method=pass_all
5838 lt_cv_deplibs_check_method=pass_all
5841 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5842 lt_cv_deplibs_check_method=pass_all
5846 case $host_vendor in
5848 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]'
5849 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5852 lt_cv_deplibs_check_method=pass_all
5855 lt_cv_file_magic_cmd='/bin/file'
5856 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5859 lt_cv_file_magic_cmd='/bin/file'
5860 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5861 lt_cv_file_magic_test_file=/lib/libc.so
5864 lt_cv_deplibs_check_method=pass_all
5867 lt_cv_deplibs_check_method=pass_all
5873 lt_cv_deplibs_check_method=pass_all
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5879 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5880 file_magic_cmd=$lt_cv_file_magic_cmd
5881 deplibs_check_method=$lt_cv_deplibs_check_method
5882 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5895 if test -n "$ac_tool_prefix"; then
5896 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5897 set dummy ${ac_tool_prefix}ar; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5899 $as_echo_n "checking
for $ac_word...
" >&6; }
5900 if test "${ac_cv_prog_AR+set}" = set; then :
5901 $as_echo_n "(cached
) " >&6
5903 if test -n "$AR"; then
5904 ac_cv_prog_AR="$AR" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5913 ac_cv_prog_AR="${ac_tool_prefix}ar"
5914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5924 if test -n "$AR"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5926 $as_echo "$AR" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5929 $as_echo "no
" >&6; }
5934 if test -z "$ac_cv_prog_AR"; then
5936 # Extract the first word of "ar", so it can be a program name with args.
5937 set dummy ar; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5939 $as_echo_n "checking
for $ac_word...
" >&6; }
5940 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5941 $as_echo_n "(cached
) " >&6
5943 if test -n "$ac_ct_AR"; then
5944 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953 ac_cv_prog_ac_ct_AR="ar"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5963 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5964 if test -n "$ac_ct_AR"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5966 $as_echo "$ac_ct_AR" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5969 $as_echo "no
" >&6; }
5972 if test "x
$ac_ct_AR" = x; then
5975 case $cross_compiling:$ac_tool_warned in
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5978 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5979 ac_tool_warned=yes ;;
5987 test -z "$AR" && AR=ar
5988 test -z "$AR_FLAGS" && AR_FLAGS=cru
6000 if test -n "$ac_tool_prefix"; then
6001 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6002 set dummy ${ac_tool_prefix}strip; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6004 $as_echo_n "checking
for $ac_word...
" >&6; }
6005 if test "${ac_cv_prog_STRIP+set}" = set; then :
6006 $as_echo_n "(cached
) " >&6
6008 if test -n "$STRIP"; then
6009 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6018 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6028 STRIP=$ac_cv_prog_STRIP
6029 if test -n "$STRIP"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6031 $as_echo "$STRIP" >&6; }
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6034 $as_echo "no
" >&6; }
6039 if test -z "$ac_cv_prog_STRIP"; then
6041 # Extract the first word of "strip
", so it can be a program name with args.
6042 set dummy strip; ac_word=$2
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6044 $as_echo_n "checking
for $ac_word...
" >&6; }
6045 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6046 $as_echo_n "(cached
) " >&6
6048 if test -n "$ac_ct_STRIP"; then
6049 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 test -z "$as_dir" && as_dir=.
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6058 ac_cv_prog_ac_ct_STRIP="strip
"
6059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6068 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6069 if test -n "$ac_ct_STRIP"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6071 $as_echo "$ac_ct_STRIP" >&6; }
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6074 $as_echo "no
" >&6; }
6077 if test "x
$ac_ct_STRIP" = x; then
6080 case $cross_compiling:$ac_tool_warned in
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6083 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6084 ac_tool_warned=yes ;;
6089 STRIP="$ac_cv_prog_STRIP"
6092 test -z "$STRIP" && STRIP=:
6099 if test -n "$ac_tool_prefix"; then
6100 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6101 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6103 $as_echo_n "checking
for $ac_word...
" >&6; }
6104 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6105 $as_echo_n "(cached
) " >&6
6107 if test -n "$RANLIB"; then
6108 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6127 RANLIB=$ac_cv_prog_RANLIB
6128 if test -n "$RANLIB"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6130 $as_echo "$RANLIB" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6133 $as_echo "no
" >&6; }
6138 if test -z "$ac_cv_prog_RANLIB"; then
6139 ac_ct_RANLIB=$RANLIB
6140 # Extract the first word of "ranlib
", so it can be a program name with args.
6141 set dummy ranlib; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6143 $as_echo_n "checking
for $ac_word...
" >&6; }
6144 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6145 $as_echo_n "(cached
) " >&6
6147 if test -n "$ac_ct_RANLIB"; then
6148 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6167 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6168 if test -n "$ac_ct_RANLIB"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6170 $as_echo "$ac_ct_RANLIB" >&6; }
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6173 $as_echo "no
" >&6; }
6176 if test "x
$ac_ct_RANLIB" = x; then
6179 case $cross_compiling:$ac_tool_warned in
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6182 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6183 ac_tool_warned=yes ;;
6185 RANLIB=$ac_ct_RANLIB
6188 RANLIB="$ac_cv_prog_RANLIB"
6191 test -z "$RANLIB" && RANLIB=:
6198 # Determine commands to create old-style static archives.
6199 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6200 old_postinstall_cmds='chmod 644 $oldlib'
6201 old_postuninstall_cmds=
6203 if test -n "$RANLIB"; then
6206 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6209 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6212 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6217 lock_old_archive_extraction=yes ;;
6219 lock_old_archive_extraction=no ;;
6260 # If no C compiler was specified, use CC.
6263 # If no C compiler flags were specified, use CFLAGS.
6264 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6266 # Allow CC to be a program name with arguments.
6270 # Check for command to grab the raw symbol name followed by C symbol from nm.
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6272 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6273 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6274 $as_echo_n "(cached
) " >&6
6277 # These are sane defaults that work on at least a few old systems.
6278 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6280 # Character class describing NM global symbol codes.
6281 symcode='[BCDEGRST]'
6283 # Regexp to match symbols that can be accessed directly from C.
6284 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6286 # Define system-specific variables.
6291 cygwin* | mingw* | pw32* | cegcc*)
6292 symcode='[ABCDGISTW]'
6295 if test "$host_cpu" = ia64; then
6296 symcode='[ABCDEGRST]'
6300 symcode='[BCDEGRST]'
6303 symcode='[BCDEGQRST]'
6314 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6322 # If we're using GNU nm, then use its standard symbol codes.
6323 case `$NM -V 2>&1` in
6324 *GNU* | *'with BFD'*)
6325 symcode='[ABCDGIRSTW]' ;;
6328 # Transform an extracted symbol line into a proper C declaration.
6329 # Some systems (esp. on ia64) link data and code symbols differently,
6330 # so use this general approach.
6331 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6333 # Transform an extracted symbol line into symbol name and symbol address
6334 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6335 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'"
6337 # Handle CRLF in mingw tool chain
6341 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6345 # Try without a prefix underscore, then with it.
6346 for ac_symprfx in "" "_
"; do
6348 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6349 symxfrm="\\1 $ac_symprfx\\2 \\2"
6351 # Write the raw and C identifiers.
6352 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6353 # Fake it for dumpbin and say T for any non-static function
6354 # and D for any global variable.
6355 # Also find C++ and __fastcall symbols from MSVC++,
6356 # which start with @ or ?.
6357 lt_cv_sys_global_symbol_pipe="$AWK '"\
6358 " {last_section=section; section=\$ 3};"\
6359 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6360 " \$ 0!~/External *\|/{next};"\
6361 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6362 " {if(hide[section]) next};"\
6363 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6364 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6365 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6366 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6367 " ' prfx
=^
$ac_symprfx"
6369 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6372 # Check to see that the pipe works correctly.
6376 cat > conftest.$ac_ext <<_LT_EOF
6381 void nm_test_func(void);
6382 void nm_test_func(void){}
6386 int main(){nm_test_var='a';nm_test_func();return(0);}
6389 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6390 (eval $ac_compile) 2>&5
6392 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6393 test $ac_status = 0; }; then
6394 # Now try to grab the symbols.
6396 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6397 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6399 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6400 test $ac_status = 0; } && test -s "$nlist"; then
6401 # Try sorting and uniquifying the output.
6402 if sort "$nlist" | uniq > "$nlist"T; then
6403 mv -f "$nlist"T "$nlist"
6408 # Make sure that we snagged all the symbols we need.
6409 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6410 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6411 cat <<_LT_EOF > conftest.$ac_ext
6417 # Now generate the symbol file.
6418 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6420 cat <<_LT_EOF >> conftest.$ac_ext
6422 /* The mapping between symbol names and symbols. */
6427 lt__PROGRAM__LTX_preloaded_symbols[] =
6429 { "@PROGRAM@
", (void *) 0 },
6431 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6432 cat <<\_LT_EOF >> conftest.$ac_ext
6436 /* This works around a problem in FreeBSD linker */
6437 #ifdef FREEBSD_WORKAROUND
6438 static const void *lt_preloaded_setup() {
6439 return lt__PROGRAM__LTX_preloaded_symbols;
6447 # Now try linking the two files.
6448 mv conftest.$ac_objext conftstm.$ac_objext
6449 lt_save_LIBS="$LIBS"
6450 lt_save_CFLAGS="$CFLAGS"
6451 LIBS="conftstm.
$ac_objext"
6452 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6453 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6454 (eval $ac_link) 2>&5
6456 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6457 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6460 LIBS="$lt_save_LIBS"
6461 CFLAGS="$lt_save_CFLAGS"
6463 echo "cannot
find nm_test_func
in $nlist" >&5
6466 echo "cannot
find nm_test_var
in $nlist" >&5
6469 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6472 echo "$progname: failed program was
:" >&5
6473 cat conftest.$ac_ext >&5
6475 rm -rf conftest* conftst*
6477 # Do not use the global_symbol_pipe unless it works.
6478 if test "$pipe_works" = yes; then
6481 lt_cv_sys_global_symbol_pipe=
6487 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6488 lt_cv_sys_global_symbol_to_cdecl=
6490 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6492 $as_echo "failed
" >&6; }
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6495 $as_echo "ok
" >&6; }
6520 # Check whether --enable-libtool-lock was given.
6521 if test "${enable_libtool_lock+set}" = set; then :
6522 enableval=$enable_libtool_lock;
6525 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6527 # Some flags need to be propagated to the compiler or linker for good
6531 # Find out which ABI we are using.
6532 echo 'int i;' > conftest.$ac_ext
6533 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6534 (eval $ac_compile) 2>&5
6536 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6537 test $ac_status = 0; }; then
6538 case `/usr/bin/file conftest.$ac_objext` in
6550 # Find out which ABI we are using.
6551 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6552 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6553 (eval $ac_compile) 2>&5
6555 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6556 test $ac_status = 0; }; then
6557 if test "$lt_cv_prog_gnu_ld" = yes; then
6558 case `/usr/bin/file conftest.$ac_objext` in
6560 LD="${LD-ld} -melf32bsmip"
6563 LD="${LD-ld} -melf32bmipn32"
6566 LD="${LD-ld} -melf64bmip"
6570 case `/usr/bin/file conftest.$ac_objext` in
6586 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6587 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6588 # Find out which ABI we are using.
6589 echo 'int i;' > conftest.$ac_ext
6590 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6591 (eval $ac_compile) 2>&5
6593 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6594 test $ac_status = 0; }; then
6595 case `/usr/bin/file conftest.o` in
6598 x86_64-*kfreebsd*-gnu)
6599 LD="${LD-ld} -m elf_i386_fbsd
"
6602 case `/usr/bin/file conftest.o` in
6604 LD="${LD-ld} -m elf32_x86_64
"
6607 LD="${LD-ld} -m elf_i386
"
6611 powerpc64le-*linux*)
6612 LD="${LD-ld} -m elf32lppclinux
"
6615 LD="${LD-ld} -m elf32ppclinux
"
6618 LD="${LD-ld} -m elf_s390
"
6621 LD="${LD-ld} -m elf32_sparc
"
6627 x86_64-*kfreebsd*-gnu)
6628 LD="${LD-ld} -m elf_x86_64_fbsd
"
6631 LD="${LD-ld} -m elf_x86_64
"
6634 LD="${LD-ld} -m elf64lppc
"
6637 LD="${LD-ld} -m elf64ppc
"
6639 s390*-*linux*|s390*-*tpf*)
6640 LD="${LD-ld} -m elf64_s390
"
6643 LD="${LD-ld} -m elf64_sparc
"
6653 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6654 SAVE_CFLAGS="$CFLAGS"
6655 CFLAGS="$CFLAGS -belf"
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6657 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6658 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6659 $as_echo_n "(cached
) " >&6
6662 ac_cpp='$CPP $CPPFLAGS'
6663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6678 if ac_fn_c_try_link "$LINENO"; then :
6679 lt_cv_cc_needs_belf=yes
6681 lt_cv_cc_needs_belf=no
6683 rm -f core conftest.err conftest.$ac_objext \
6684 conftest$ac_exeext conftest.$ac_ext
6686 ac_cpp='$CPP $CPPFLAGS'
6687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6693 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6694 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6695 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6696 CFLAGS="$SAVE_CFLAGS"
6700 # Find out which ABI we are using.
6701 echo 'int i;' > conftest.$ac_ext
6702 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6703 (eval $ac_compile) 2>&5
6705 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6706 test $ac_status = 0; }; then
6707 case `/usr/bin/file conftest.o` in
6709 case $lt_cv_prog_gnu_ld in
6710 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6712 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6724 need_locks="$enable_libtool_lock"
6728 rhapsody* | darwin*)
6729 if test -n "$ac_tool_prefix"; then
6730 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6731 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6733 $as_echo_n "checking
for $ac_word...
" >&6; }
6734 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6735 $as_echo_n "(cached
) " >&6
6737 if test -n "$DSYMUTIL"; then
6738 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6757 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6758 if test -n "$DSYMUTIL"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6760 $as_echo "$DSYMUTIL" >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6763 $as_echo "no
" >&6; }
6768 if test -z "$ac_cv_prog_DSYMUTIL"; then
6769 ac_ct_DSYMUTIL=$DSYMUTIL
6770 # Extract the first word of "dsymutil
", so it can be a program name with args.
6771 set dummy dsymutil; ac_word=$2
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6773 $as_echo_n "checking
for $ac_word...
" >&6; }
6774 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6775 $as_echo_n "(cached
) " >&6
6777 if test -n "$ac_ct_DSYMUTIL"; then
6778 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6784 test -z "$as_dir" && as_dir=.
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6787 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6797 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6798 if test -n "$ac_ct_DSYMUTIL"; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6800 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6803 $as_echo "no
" >&6; }
6806 if test "x
$ac_ct_DSYMUTIL" = x; then
6809 case $cross_compiling:$ac_tool_warned in
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6812 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6813 ac_tool_warned=yes ;;
6815 DSYMUTIL=$ac_ct_DSYMUTIL
6818 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6821 if test -n "$ac_tool_prefix"; then
6822 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6823 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6825 $as_echo_n "checking
for $ac_word...
" >&6; }
6826 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6827 $as_echo_n "(cached
) " >&6
6829 if test -n "$NMEDIT"; then
6830 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir=.
6837 for ac_exec_ext in '' $ac_executable_extensions; do
6838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6849 NMEDIT=$ac_cv_prog_NMEDIT
6850 if test -n "$NMEDIT"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6852 $as_echo "$NMEDIT" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6855 $as_echo "no
" >&6; }
6860 if test -z "$ac_cv_prog_NMEDIT"; then
6861 ac_ct_NMEDIT=$NMEDIT
6862 # Extract the first word of "nmedit
", so it can be a program name with args.
6863 set dummy nmedit; ac_word=$2
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6865 $as_echo_n "checking
for $ac_word...
" >&6; }
6866 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6867 $as_echo_n "(cached
) " >&6
6869 if test -n "$ac_ct_NMEDIT"; then
6870 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir=.
6877 for ac_exec_ext in '' $ac_executable_extensions; do
6878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6889 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6890 if test -n "$ac_ct_NMEDIT"; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6892 $as_echo "$ac_ct_NMEDIT" >&6; }
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6895 $as_echo "no
" >&6; }
6898 if test "x
$ac_ct_NMEDIT" = x; then
6901 case $cross_compiling:$ac_tool_warned in
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6904 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6905 ac_tool_warned=yes ;;
6907 NMEDIT=$ac_ct_NMEDIT
6910 NMEDIT="$ac_cv_prog_NMEDIT"
6913 if test -n "$ac_tool_prefix"; then
6914 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6915 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6917 $as_echo_n "checking
for $ac_word...
" >&6; }
6918 if test "${ac_cv_prog_LIPO+set}" = set; then :
6919 $as_echo_n "(cached
) " >&6
6921 if test -n "$LIPO"; then
6922 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928 test -z "$as_dir" && as_dir=.
6929 for ac_exec_ext in '' $ac_executable_extensions; do
6930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6931 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6941 LIPO=$ac_cv_prog_LIPO
6942 if test -n "$LIPO"; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6944 $as_echo "$LIPO" >&6; }
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6947 $as_echo "no
" >&6; }
6952 if test -z "$ac_cv_prog_LIPO"; then
6954 # Extract the first word of "lipo
", so it can be a program name with args.
6955 set dummy lipo; ac_word=$2
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6957 $as_echo_n "checking
for $ac_word...
" >&6; }
6958 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6959 $as_echo_n "(cached
) " >&6
6961 if test -n "$ac_ct_LIPO"; then
6962 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968 test -z "$as_dir" && as_dir=.
6969 for ac_exec_ext in '' $ac_executable_extensions; do
6970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6971 ac_cv_prog_ac_ct_LIPO="lipo
"
6972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6981 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6982 if test -n "$ac_ct_LIPO"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6984 $as_echo "$ac_ct_LIPO" >&6; }
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6987 $as_echo "no
" >&6; }
6990 if test "x
$ac_ct_LIPO" = x; then
6993 case $cross_compiling:$ac_tool_warned in
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6996 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6997 ac_tool_warned=yes ;;
7002 LIPO="$ac_cv_prog_LIPO"
7005 if test -n "$ac_tool_prefix"; then
7006 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7007 set dummy ${ac_tool_prefix}otool; ac_word=$2
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7009 $as_echo_n "checking
for $ac_word...
" >&6; }
7010 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7011 $as_echo_n "(cached
) " >&6
7013 if test -n "$OTOOL"; then
7014 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7020 test -z "$as_dir" && as_dir=.
7021 for ac_exec_ext in '' $ac_executable_extensions; do
7022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7023 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7033 OTOOL=$ac_cv_prog_OTOOL
7034 if test -n "$OTOOL"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7036 $as_echo "$OTOOL" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7039 $as_echo "no
" >&6; }
7044 if test -z "$ac_cv_prog_OTOOL"; then
7046 # Extract the first word of "otool
", so it can be a program name with args.
7047 set dummy otool; ac_word=$2
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7049 $as_echo_n "checking
for $ac_word...
" >&6; }
7050 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7051 $as_echo_n "(cached
) " >&6
7053 if test -n "$ac_ct_OTOOL"; then
7054 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7060 test -z "$as_dir" && as_dir=.
7061 for ac_exec_ext in '' $ac_executable_extensions; do
7062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7063 ac_cv_prog_ac_ct_OTOOL="otool
"
7064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7073 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7074 if test -n "$ac_ct_OTOOL"; then
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7076 $as_echo "$ac_ct_OTOOL" >&6; }
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7079 $as_echo "no
" >&6; }
7082 if test "x
$ac_ct_OTOOL" = x; then
7085 case $cross_compiling:$ac_tool_warned in
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7088 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7089 ac_tool_warned=yes ;;
7094 OTOOL="$ac_cv_prog_OTOOL"
7097 if test -n "$ac_tool_prefix"; then
7098 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7099 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7101 $as_echo_n "checking
for $ac_word...
" >&6; }
7102 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7103 $as_echo_n "(cached
) " >&6
7105 if test -n "$OTOOL64"; then
7106 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7115 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7125 OTOOL64=$ac_cv_prog_OTOOL64
7126 if test -n "$OTOOL64"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7128 $as_echo "$OTOOL64" >&6; }
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7131 $as_echo "no
" >&6; }
7136 if test -z "$ac_cv_prog_OTOOL64"; then
7137 ac_ct_OTOOL64=$OTOOL64
7138 # Extract the first word of "otool64
", so it can be a program name with args.
7139 set dummy otool64; ac_word=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7141 $as_echo_n "checking
for $ac_word...
" >&6; }
7142 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7143 $as_echo_n "(cached
) " >&6
7145 if test -n "$ac_ct_OTOOL64"; then
7146 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 test -z "$as_dir" && as_dir=.
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7165 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7166 if test -n "$ac_ct_OTOOL64"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7168 $as_echo "$ac_ct_OTOOL64" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7171 $as_echo "no
" >&6; }
7174 if test "x
$ac_ct_OTOOL64" = x; then
7177 case $cross_compiling:$ac_tool_warned in
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7180 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7181 ac_tool_warned=yes ;;
7183 OTOOL64=$ac_ct_OTOOL64
7186 OTOOL64="$ac_cv_prog_OTOOL64"
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7216 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7217 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7218 $as_echo_n "(cached
) " >&6
7220 lt_cv_apple_cc_single_mod=no
7221 if test -z "${LT_MULTI_MODULE}"; then
7222 # By default we will add the -single_module flag. You can override
7223 # by either setting the environment variable LT_MULTI_MODULE
7224 # non-empty at configure time, or by adding -multi_module to the
7226 rm -rf libconftest.dylib*
7227 echo "int foo
(void
){return 1;}" > conftest.c
7228 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7229 -dynamiclib -Wl,-single_module conftest.c
" >&5
7230 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7231 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7233 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7234 lt_cv_apple_cc_single_mod=yes
7236 cat conftest.err >&5
7238 rm -rf libconftest.dylib*
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7243 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7245 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7246 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7247 $as_echo_n "(cached
) " >&6
7249 lt_cv_ld_exported_symbols_list=no
7250 save_LDFLAGS=$LDFLAGS
7251 echo "_main
" > conftest.sym
7252 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7254 /* end confdefs.h. */
7264 if ac_fn_c_try_link "$LINENO"; then :
7265 lt_cv_ld_exported_symbols_list=yes
7267 lt_cv_ld_exported_symbols_list=no
7269 rm -f core conftest.err conftest.$ac_objext \
7270 conftest$ac_exeext conftest.$ac_ext
7271 LDFLAGS="$save_LDFLAGS"
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7275 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7277 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7278 if test "${lt_cv_ld_force_load+set}" = set; then :
7279 $as_echo_n "(cached
) " >&6
7281 lt_cv_ld_force_load=no
7282 cat > conftest.c << _LT_EOF
7283 int forced_loaded() { return 2;}
7285 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7286 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7287 echo "$AR cru libconftest.a conftest.o
" >&5
7288 $AR cru libconftest.a conftest.o 2>&5
7289 cat > conftest.c << _LT_EOF
7290 int main() { return 0;}
7292 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7293 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7295 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7296 lt_cv_ld_force_load=yes
7298 cat conftest.err >&5
7300 rm -f conftest.err libconftest.a conftest conftest.c
7301 rm -rf conftest.dSYM
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7305 $as_echo "$lt_cv_ld_force_load" >&6; }
7307 rhapsody* | darwin1.[012])
7308 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7310 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7311 darwin*) # darwin 5.x on
7312 # if running on 10.5 or later, the deployment target defaults
7313 # to the OS version, if on x86, and 10.4, the deployment
7314 # target defaults to 10.4. Don't you love it?
7315 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7316 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7317 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7319 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7321 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7325 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7326 _lt_dar_single_mod='$single_module'
7328 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7329 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7331 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7333 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7334 _lt_dsymutil='~$DSYMUTIL $lib || :'
7342 ac_cpp='$CPP $CPPFLAGS'
7343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7347 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7348 # On Suns, sometimes $CPP names a directory.
7349 if test -n "$CPP" && test -d "$CPP"; then
7352 if test -z "$CPP"; then
7353 if test "${ac_cv_prog_CPP+set}" = set; then :
7354 $as_echo_n "(cached
) " >&6
7356 # Double quotes because CPP needs to be expanded
7357 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7360 for ac_c_preproc_warn_flag in '' yes
7362 # Use a header file that comes with gcc, so configuring glibc
7363 # with a fresh cross-compiler works.
7364 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7365 # <limits.h> exists even on freestanding compilers.
7366 # On the NeXT, cc -E runs the code through the compiler's parser,
7367 # not just through cpp. "Syntax error
" is here to catch this case.
7368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7369 /* end confdefs.h. */
7371 # include <limits.h>
7373 # include <assert.h>
7377 if ac_fn_c_try_cpp "$LINENO"; then :
7380 # Broken: fails on valid input.
7383 rm -f conftest.err conftest.$ac_ext
7385 # OK, works on sane cases. Now check whether nonexistent headers
7386 # can be detected and how.
7387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388 /* end confdefs.h. */
7389 #include <ac_nonexistent.h>
7391 if ac_fn_c_try_cpp "$LINENO"; then :
7392 # Broken: success on invalid input.
7395 # Passes both tests.
7399 rm -f conftest.err conftest.$ac_ext
7402 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7403 rm -f conftest.err conftest.$ac_ext
7404 if $ac_preproc_ok; then :
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7417 $as_echo "$CPP" >&6; }
7419 for ac_c_preproc_warn_flag in '' yes
7421 # Use a header file that comes with gcc, so configuring glibc
7422 # with a fresh cross-compiler works.
7423 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7424 # <limits.h> exists even on freestanding compilers.
7425 # On the NeXT, cc -E runs the code through the compiler's parser,
7426 # not just through cpp. "Syntax error
" is here to catch this case.
7427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7428 /* end confdefs.h. */
7430 # include <limits.h>
7432 # include <assert.h>
7436 if ac_fn_c_try_cpp "$LINENO"; then :
7439 # Broken: fails on valid input.
7442 rm -f conftest.err conftest.$ac_ext
7444 # OK, works on sane cases. Now check whether nonexistent headers
7445 # can be detected and how.
7446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7447 /* end confdefs.h. */
7448 #include <ac_nonexistent.h>
7450 if ac_fn_c_try_cpp "$LINENO"; then :
7451 # Broken: success on invalid input.
7454 # Passes both tests.
7458 rm -f conftest.err conftest.$ac_ext
7461 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7462 rm -f conftest.err conftest.$ac_ext
7463 if $ac_preproc_ok; then :
7466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7468 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7469 See \`config.log' for more details.
" "$LINENO" 5; }
7473 ac_cpp='$CPP $CPPFLAGS'
7474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7480 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7481 if test "${ac_cv_header_stdc+set}" = set; then :
7482 $as_echo_n "(cached
) " >&6
7484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7485 /* end confdefs.h. */
7499 if ac_fn_c_try_compile "$LINENO"; then :
7500 ac_cv_header_stdc=yes
7502 ac_cv_header_stdc=no
7504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7506 if test $ac_cv_header_stdc = yes; then
7507 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h. */
7513 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7514 $EGREP "memchr
" >/dev/null 2>&1; then :
7517 ac_cv_header_stdc=no
7523 if test $ac_cv_header_stdc = yes; then
7524 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7530 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7531 $EGREP "free
" >/dev/null 2>&1; then :
7534 ac_cv_header_stdc=no
7540 if test $ac_cv_header_stdc = yes; then
7541 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7542 if test "$cross_compiling" = yes; then :
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7549 #if ((' ' & 0x0FF) == 0x020)
7550 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7551 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7553 # define ISLOWER(c) \
7554 (('a' <= (c) && (c) <= 'i') \
7555 || ('j' <= (c) && (c) <= 'r') \
7556 || ('s' <= (c) && (c) <= 'z'))
7557 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7560 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7565 for (i = 0; i < 256; i++)
7566 if (XOR (islower (i), ISLOWER (i))
7567 || toupper (i) != TOUPPER (i))
7572 if ac_fn_c_try_run "$LINENO"; then :
7575 ac_cv_header_stdc=no
7577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7578 conftest.$ac_objext conftest.beam conftest.$ac_ext
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7584 $as_echo "$ac_cv_header_stdc" >&6; }
7585 if test $ac_cv_header_stdc = yes; then
7587 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7591 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7592 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7593 inttypes.h stdint.h unistd.h
7595 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7596 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7598 eval as_val
=\$
$as_ac_Header
7599 if test "x$as_val" = x
""yes; then :
7600 cat >>confdefs.h
<<_ACEOF
7601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7609 for ac_header
in dlfcn.h
7611 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7613 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7614 cat >>confdefs.h
<<_ACEOF
7615 #define HAVE_DLFCN_H 1
7636 # Check whether --enable-shared was given.
7637 if test "${enable_shared+set}" = set; then :
7638 enableval
=$enable_shared; p
=${PACKAGE-default}
7640 yes) enable_shared
=yes ;;
7641 no
) enable_shared
=no
;;
7644 # Look at the argument we got. We use all the common list separators.
7645 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7646 for pkg
in $enableval; do
7648 if test "X$pkg" = "X$p"; then
7667 # Check whether --enable-static was given.
7668 if test "${enable_static+set}" = set; then :
7669 enableval
=$enable_static; p
=${PACKAGE-default}
7671 yes) enable_static
=yes ;;
7672 no
) enable_static
=no
;;
7675 # Look at the argument we got. We use all the common list separators.
7676 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7677 for pkg
in $enableval; do
7679 if test "X$pkg" = "X$p"; then
7699 # Check whether --with-pic was given.
7700 if test "${with_pic+set}" = set; then :
7701 withval
=$with_pic; pic_mode
="$withval"
7707 test -z "$pic_mode" && pic_mode
=default
7715 # Check whether --enable-fast-install was given.
7716 if test "${enable_fast_install+set}" = set; then :
7717 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7719 yes) enable_fast_install
=yes ;;
7720 no
) enable_fast_install
=no
;;
7722 enable_fast_install
=no
7723 # Look at the argument we got. We use all the common list separators.
7724 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7725 for pkg
in $enableval; do
7727 if test "X$pkg" = "X$p"; then
7728 enable_fast_install
=yes
7735 enable_fast_install
=yes
7748 # This can be used to rebuild libtool when needed
7749 LIBTOOL_DEPS
="$ltmain"
7751 # Always use our own libtool.
7752 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7779 test -z "$LN_S" && LN_S
="ln -s"
7794 if test -n "${ZSH_VERSION+set}" ; then
7795 setopt NO_GLOB_SUBST
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7799 $as_echo_n "checking for objdir... " >&6; }
7800 if test "${lt_cv_objdir+set}" = set; then :
7801 $as_echo_n "(cached) " >&6
7803 rm -f .libs
2>/dev
/null
7804 mkdir .libs
2>/dev
/null
7805 if test -d .libs
; then
7808 # MS-DOS does not allow filenames that begin with a dot.
7811 rmdir .libs
2>/dev
/null
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7814 $as_echo "$lt_cv_objdir" >&6; }
7815 objdir
=$lt_cv_objdir
7821 cat >>confdefs.h
<<_ACEOF
7822 #define LT_OBJDIR "$lt_cv_objdir/"
7830 # AIX sometimes has problems with the GCC collect2 program. For some
7831 # reason, if we set the COLLECT_NAMES environment variable, the problems
7832 # vanish in a puff of smoke.
7833 if test "X${COLLECT_NAMES+set}" != Xset
; then
7835 export COLLECT_NAMES
7842 can_build_shared
=yes
7844 # All known linkers require a `.a' archive for static linking (except MSVC,
7845 # which needs '.lib').
7848 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7851 old_CFLAGS
="$CFLAGS"
7853 # Set sane defaults for various variables
7854 test -z "$CC" && CC
=cc
7855 test -z "$LTCC" && LTCC
=$CC
7856 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7857 test -z "$LD" && LD
=ld
7858 test -z "$ac_objext" && ac_objext
=o
7860 for cc_temp
in $compiler""; do
7862 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7863 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7868 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7871 # Only perform the check for file, if the check method requires it
7872 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7873 case $deplibs_check_method in
7875 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7877 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7878 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7879 $as_echo_n "(cached) " >&6
7883 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7886 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7887 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7888 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7889 for ac_dir
in $ac_dummy; do
7891 test -z "$ac_dir" && ac_dir
=.
7892 if test -f $ac_dir/${ac_tool_prefix}file; then
7893 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7894 if test -n "$file_magic_test_file"; then
7895 case $deplibs_check_method in
7897 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7898 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7899 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7900 $EGREP "$file_magic_regex" > /dev
/null
; then
7905 *** Warning: the command libtool uses to detect shared libraries,
7906 *** $file_magic_cmd, produces output that libtool cannot recognize.
7907 *** The result is that libtool may fail to recognize shared libraries
7908 *** as such. This will affect the creation of libtool libraries that
7909 *** depend on shared libraries, but programs linked with such libtool
7910 *** libraries will work regardless of this problem. Nevertheless, you
7911 *** may want to report the problem to your system manager and/or to
7912 *** bug-libtool@gnu.org
7922 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7927 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7928 if test -n "$MAGIC_CMD"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7930 $as_echo "$MAGIC_CMD" >&6; }
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933 $as_echo "no" >&6; }
7940 if test -z "$lt_cv_path_MAGIC_CMD"; then
7941 if test -n "$ac_tool_prefix"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7943 $as_echo_n "checking for file... " >&6; }
7944 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7945 $as_echo_n "(cached) " >&6
7949 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7952 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7953 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7954 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7955 for ac_dir
in $ac_dummy; do
7957 test -z "$ac_dir" && ac_dir
=.
7958 if test -f $ac_dir/file; then
7959 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7960 if test -n "$file_magic_test_file"; then
7961 case $deplibs_check_method in
7963 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7964 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7965 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7966 $EGREP "$file_magic_regex" > /dev
/null
; then
7971 *** Warning: the command libtool uses to detect shared libraries,
7972 *** $file_magic_cmd, produces output that libtool cannot recognize.
7973 *** The result is that libtool may fail to recognize shared libraries
7974 *** as such. This will affect the creation of libtool libraries that
7975 *** depend on shared libraries, but programs linked with such libtool
7976 *** libraries will work regardless of this problem. Nevertheless, you
7977 *** may want to report the problem to your system manager and/or to
7978 *** bug-libtool@gnu.org
7988 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7993 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7994 if test -n "$MAGIC_CMD"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7996 $as_echo "$MAGIC_CMD" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8012 # Use C for the default configuration in the libtool script
8016 ac_cpp
='$CPP $CPPFLAGS'
8017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8022 # Source file extension for C test sources.
8025 # Object file extension for compiled C test sources.
8029 # Code to be used in simple compile tests
8030 lt_simple_compile_test_code
="int some_variable = 0;"
8032 # Code to be used in simple link tests
8033 lt_simple_link_test_code
='int main(){return(0);}'
8041 # If no C compiler was specified, use CC.
8044 # If no C compiler flags were specified, use CFLAGS.
8045 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8047 # Allow CC to be a program name with arguments.
8050 # Save the default compiler, since it gets overwritten when the other
8051 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8052 compiler_DEFAULT
=$CC
8054 # save warnings/boilerplate of simple test code
8055 ac_outfile
=conftest.
$ac_objext
8056 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8057 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8058 _lt_compiler_boilerplate
=`cat conftest.err`
8061 ac_outfile
=conftest.
$ac_objext
8062 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8063 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8064 _lt_linker_boilerplate
=`cat conftest.err`
8069 ## There is no encapsulation within the following macros, do not change
8070 ## the running order or otherwise move them around unless you know exactly
8071 ## what you are doing...
8072 if test -n "$compiler"; then
8074 lt_prog_compiler_no_builtin_flag
=
8076 if test "$GCC" = yes; then
8077 case $cc_basename in
8079 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8081 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8085 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8086 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8087 $as_echo_n "(cached) " >&6
8089 lt_cv_prog_compiler_rtti_exceptions
=no
8090 ac_outfile
=conftest.
$ac_objext
8091 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8092 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8093 # Insert the option either (1) after the last *FLAGS variable, or
8094 # (2) before a word containing "conftest.", or (3) at the end.
8095 # Note that $ac_compile itself does not contain backslashes and begins
8096 # with a dollar sign (not a hyphen), so the echo should work correctly.
8097 # The option is referenced via a variable to avoid confusing sed.
8098 lt_compile
=`echo "$ac_compile" | $SED \
8099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8101 -e 's:$: $lt_compiler_flag:'`
8102 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8103 (eval "$lt_compile" 2>conftest.err
)
8105 cat conftest.err
>&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 if (exit $ac_status) && test -s "$ac_outfile"; then
8108 # The compiler can only warn and ignore the option if not recognized
8109 # So say no if there are warnings other than the usual output.
8110 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8111 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8112 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8113 lt_cv_prog_compiler_rtti_exceptions
=yes
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8120 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8122 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8123 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8135 lt_prog_compiler_wl
=
8136 lt_prog_compiler_pic
=
8137 lt_prog_compiler_static
=
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8140 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8142 if test "$GCC" = yes; then
8143 lt_prog_compiler_wl
='-Wl,'
8144 lt_prog_compiler_static
='-static'
8148 # All AIX code is PIC.
8149 if test "$host_cpu" = ia64
; then
8150 # AIX 5 now supports IA64 processor
8151 lt_prog_compiler_static
='-Bstatic'
8153 lt_prog_compiler_pic
='-fPIC'
8159 # see comment about AmigaOS4 .so support
8160 lt_prog_compiler_pic
='-fPIC'
8163 # FIXME: we need at least 68020 code to build shared libraries, but
8164 # adding the `-m68020' flag to GCC prevents building anything better,
8166 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8171 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8172 # PIC is the default for these OSes.
8175 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8176 # This hack is so that the source file can tell whether it is being
8177 # built for inclusion in a dll (and should export symbols for example).
8178 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8179 # (--disable-auto-import) libraries
8180 lt_prog_compiler_pic
='-DDLL_EXPORT'
8183 darwin
* | rhapsody
*)
8184 # PIC is the default on this platform
8185 # Common symbols not allowed in MH_DYLIB files
8186 lt_prog_compiler_pic
='-fno-common'
8190 # PIC is the default for Haiku.
8191 # The "-static" flag exists, but is broken.
8192 lt_prog_compiler_static
=
8196 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8197 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8198 # sets the default TLS model and affects inlining.
8204 lt_prog_compiler_pic
='-fPIC'
8210 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8211 # Instead, we relocate shared libraries at runtime.
8215 # Just because we use GCC doesn't mean we suddenly get shared libraries
8216 # on systems that don't support them.
8217 lt_prog_compiler_can_build_shared
=no
8222 # QNX uses GNU C++, but need to define -shared option too, otherwise
8224 lt_prog_compiler_pic
='-fPIC -shared'
8228 if test -d /usr
/nec
; then
8229 lt_prog_compiler_pic
=-Kconform_pic
8234 lt_prog_compiler_pic
='-fPIC'
8238 case $cc_basename in
8239 nvcc
*) # Cuda Compiler Driver 2.2
8240 lt_prog_compiler_wl
='-Xlinker '
8241 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8245 # PORTME Check for flag to pass linker flags through the system compiler.
8248 lt_prog_compiler_wl
='-Wl,'
8249 if test "$host_cpu" = ia64
; then
8250 # AIX 5 now supports IA64 processor
8251 lt_prog_compiler_static
='-Bstatic'
8253 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8257 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8258 # This hack is so that the source file can tell whether it is being
8259 # built for inclusion in a dll (and should export symbols for example).
8260 lt_prog_compiler_pic
='-DDLL_EXPORT'
8263 hpux9
* | hpux10
* | hpux11
*)
8264 lt_prog_compiler_wl
='-Wl,'
8265 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8272 lt_prog_compiler_pic
='+Z'
8275 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8276 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8279 irix5
* | irix6
* | nonstopux
*)
8280 lt_prog_compiler_wl
='-Wl,'
8281 # PIC (with -KPIC) is the default.
8282 lt_prog_compiler_static
='-non_shared'
8285 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8286 case $cc_basename in
8287 # old Intel for x86_64 which still supported -KPIC.
8289 lt_prog_compiler_wl
='-Wl,'
8290 lt_prog_compiler_pic
='-KPIC'
8291 lt_prog_compiler_static
='-static'
8293 # icc used to be incompatible with GCC.
8294 # ICC 10 doesn't accept -KPIC any more.
8296 lt_prog_compiler_wl
='-Wl,'
8297 lt_prog_compiler_pic
='-fPIC'
8298 lt_prog_compiler_static
='-static'
8300 # Lahey Fortran 8.1.
8302 lt_prog_compiler_wl
='-Wl,'
8303 lt_prog_compiler_pic
='--shared'
8304 lt_prog_compiler_static
='--static'
8306 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8307 # Portland Group compilers (*not* the Pentium gcc compiler,
8308 # which looks to be a dead project)
8309 lt_prog_compiler_wl
='-Wl,'
8310 lt_prog_compiler_pic
='-fpic'
8311 lt_prog_compiler_static
='-Bstatic'
8314 lt_prog_compiler_wl
='-Wl,'
8315 # All Alpha code is PIC.
8316 lt_prog_compiler_static
='-non_shared'
8318 xl
* | bgxl
* | bgf
* | mpixl
*)
8319 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8320 lt_prog_compiler_wl
='-Wl,'
8321 lt_prog_compiler_pic
='-qpic'
8322 lt_prog_compiler_static
='-qstaticlink'
8325 case `$CC -V 2>&1 | sed 5q` in
8326 *Sun\ F
* |
*Sun
*Fortran
*)
8327 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8328 lt_prog_compiler_pic
='-KPIC'
8329 lt_prog_compiler_static
='-Bstatic'
8330 lt_prog_compiler_wl
=''
8334 lt_prog_compiler_pic
='-KPIC'
8335 lt_prog_compiler_static
='-Bstatic'
8336 lt_prog_compiler_wl
='-Wl,'
8344 lt_prog_compiler_pic
='-KPIC'
8345 lt_prog_compiler_static
='-Bstatic'
8349 # QNX uses GNU C++, but need to define -shared option too, otherwise
8351 lt_prog_compiler_pic
='-fPIC -shared'
8354 osf3
* | osf4
* | osf5
*)
8355 lt_prog_compiler_wl
='-Wl,'
8356 # All OSF/1 code is PIC.
8357 lt_prog_compiler_static
='-non_shared'
8361 lt_prog_compiler_static
='-non_shared'
8365 lt_prog_compiler_pic
='-KPIC'
8366 lt_prog_compiler_static
='-Bstatic'
8367 case $cc_basename in
8369 lt_prog_compiler_wl
='-Qoption ld ';;
8371 lt_prog_compiler_wl
='-Wl,';;
8376 lt_prog_compiler_wl
='-Qoption ld '
8377 lt_prog_compiler_pic
='-PIC'
8378 lt_prog_compiler_static
='-Bstatic'
8381 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8382 lt_prog_compiler_wl
='-Wl,'
8383 lt_prog_compiler_pic
='-KPIC'
8384 lt_prog_compiler_static
='-Bstatic'
8388 if test -d /usr
/nec
;then
8389 lt_prog_compiler_pic
='-Kconform_pic'
8390 lt_prog_compiler_static
='-Bstatic'
8394 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8395 lt_prog_compiler_wl
='-Wl,'
8396 lt_prog_compiler_pic
='-KPIC'
8397 lt_prog_compiler_static
='-Bstatic'
8401 lt_prog_compiler_wl
='-Wl,'
8402 lt_prog_compiler_can_build_shared
=no
8406 lt_prog_compiler_pic
='-pic'
8407 lt_prog_compiler_static
='-Bstatic'
8411 lt_prog_compiler_can_build_shared
=no
8417 # For platforms which do not support PIC, -DPIC is meaningless:
8419 lt_prog_compiler_pic
=
8422 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8426 $as_echo "$lt_prog_compiler_pic" >&6; }
8434 # Check to make sure the PIC flag actually works.
8436 if test -n "$lt_prog_compiler_pic"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8438 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8439 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8440 $as_echo_n "(cached) " >&6
8442 lt_cv_prog_compiler_pic_works
=no
8443 ac_outfile
=conftest.
$ac_objext
8444 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8445 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8446 # Insert the option either (1) after the last *FLAGS variable, or
8447 # (2) before a word containing "conftest.", or (3) at the end.
8448 # Note that $ac_compile itself does not contain backslashes and begins
8449 # with a dollar sign (not a hyphen), so the echo should work correctly.
8450 # The option is referenced via a variable to avoid confusing sed.
8451 lt_compile
=`echo "$ac_compile" | $SED \
8452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8454 -e 's:$: $lt_compiler_flag:'`
8455 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8456 (eval "$lt_compile" 2>conftest.err
)
8458 cat conftest.err
>&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 if (exit $ac_status) && test -s "$ac_outfile"; then
8461 # The compiler can only warn and ignore the option if not recognized
8462 # So say no if there are warnings other than the usual output.
8463 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8464 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8465 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8466 lt_cv_prog_compiler_pic_works
=yes
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8473 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8475 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8476 case $lt_prog_compiler_pic in
8478 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8481 lt_prog_compiler_pic
=
8482 lt_prog_compiler_can_build_shared
=no
8493 # Check to make sure the static flag actually works.
8495 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8497 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8498 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8499 $as_echo_n "(cached) " >&6
8501 lt_cv_prog_compiler_static_works
=no
8502 save_LDFLAGS
="$LDFLAGS"
8503 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8504 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8505 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8506 # The linker can only warn and ignore the option if not recognized
8507 # So say no if there are warnings
8508 if test -s conftest.err
; then
8509 # Append any errors to the config.log.
8510 cat conftest.err
1>&5
8511 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8512 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8513 if diff conftest.exp conftest.er2
>/dev
/null
; then
8514 lt_cv_prog_compiler_static_works
=yes
8517 lt_cv_prog_compiler_static_works
=yes
8521 LDFLAGS
="$save_LDFLAGS"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8525 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8527 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8530 lt_prog_compiler_static
=
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8540 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8541 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8542 $as_echo_n "(cached) " >&6
8544 lt_cv_prog_compiler_c_o
=no
8545 $RM -r conftest
2>/dev
/null
8549 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8551 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8552 # Insert the option either (1) after the last *FLAGS variable, or
8553 # (2) before a word containing "conftest.", or (3) at the end.
8554 # Note that $ac_compile itself does not contain backslashes and begins
8555 # with a dollar sign (not a hyphen), so the echo should work correctly.
8556 lt_compile
=`echo "$ac_compile" | $SED \
8557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8559 -e 's:$: $lt_compiler_flag:'`
8560 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8561 (eval "$lt_compile" 2>out
/conftest.err
)
8563 cat out
/conftest.err
>&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8567 # The compiler can only warn and ignore the option if not recognized
8568 # So say no if there are warnings
8569 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8570 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8571 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8572 lt_cv_prog_compiler_c_o
=yes
8577 # SGI C++ compiler will create directory out/ii_files/ for
8578 # template instantiation
8579 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8580 $RM out
/* && rmdir out
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8587 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8595 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8596 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8597 $as_echo_n "(cached) " >&6
8599 lt_cv_prog_compiler_c_o
=no
8600 $RM -r conftest
2>/dev
/null
8604 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8606 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8607 # Insert the option either (1) after the last *FLAGS variable, or
8608 # (2) before a word containing "conftest.", or (3) at the end.
8609 # Note that $ac_compile itself does not contain backslashes and begins
8610 # with a dollar sign (not a hyphen), so the echo should work correctly.
8611 lt_compile
=`echo "$ac_compile" | $SED \
8612 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8613 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8614 -e 's:$: $lt_compiler_flag:'`
8615 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8616 (eval "$lt_compile" 2>out
/conftest.err
)
8618 cat out
/conftest.err
>&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8622 # The compiler can only warn and ignore the option if not recognized
8623 # So say no if there are warnings
8624 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8625 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8626 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8627 lt_cv_prog_compiler_c_o
=yes
8632 # SGI C++ compiler will create directory out/ii_files/ for
8633 # template instantiation
8634 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8635 $RM out
/* && rmdir out
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8642 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8647 hard_links
="nottested"
8648 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8649 # do not overwrite the value of need_locks provided by the user
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8651 $as_echo_n "checking if we can lock with hard links... " >&6; }
8654 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8656 ln conftest.a conftest.b
2>&5 || hard_links
=no
8657 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8659 $as_echo "$hard_links" >&6; }
8660 if test "$hard_links" = no
; then
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8662 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8675 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8678 allow_undefined_flag
=
8679 always_export_symbols
=no
8681 archive_expsym_cmds
=
8682 compiler_needs_object
=no
8683 enable_shared_with_static_runtimes
=no
8684 export_dynamic_flag_spec
=
8685 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8686 hardcode_automatic
=no
8688 hardcode_direct_absolute
=no
8689 hardcode_libdir_flag_spec
=
8690 hardcode_libdir_flag_spec_ld
=
8691 hardcode_libdir_separator
=
8693 hardcode_shlibpath_var
=unsupported
8695 link_all_deplibs
=unknown
8698 old_archive_from_new_cmds
=
8699 old_archive_from_expsyms_cmds
=
8700 thread_safe_flag_spec
=
8701 whole_archive_flag_spec
=
8702 # include_expsyms should be a list of space-separated symbols to be *always*
8703 # included in the symbol list
8705 # exclude_expsyms can be an extended regexp of symbols to exclude
8706 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8707 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8708 # as well as any symbol that contains `d'.
8709 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8710 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8711 # platforms (ab)use it in PIC code, but their linkers get confused if
8712 # the symbol is explicitly referenced. Since portable code cannot
8713 # rely on this symbol name, it's probably fine to never include it in
8714 # preloaded symbol tables.
8715 # Exclude shared library initialization/finalization symbols.
8716 extract_expsyms_cmds
=
8719 cygwin
* | mingw
* | pw32
* | cegcc
*)
8720 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8721 # When not using gcc, we currently assume that we are using
8722 # Microsoft Visual C++.
8723 if test "$GCC" != yes; then
8728 # we just hope/assume this is gcc and not c89 (= MSVC++)
8738 # On some targets, GNU ld is compatible enough with the native linker
8739 # that we're better off using the native interface for both.
8740 lt_use_gnu_ld_interface
=no
8741 if test "$with_gnu_ld" = yes; then
8744 # The AIX port of GNU ld has always aspired to compatibility
8745 # with the native linker. However, as the warning in the GNU ld
8746 # block says, versions before 2.19.5* couldn't really create working
8747 # shared libraries, regardless of the interface used.
8748 case `$LD -v 2>&1` in
8749 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8750 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8751 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8753 lt_use_gnu_ld_interface
=yes
8758 lt_use_gnu_ld_interface
=yes
8763 if test "$lt_use_gnu_ld_interface" = yes; then
8764 # If archive_cmds runs LD, not CC, wlarc should be empty
8767 # Set some defaults for GNU ld with shared library support. These
8768 # are reset later if shared libraries are not supported. Putting them
8769 # here allows them to be overridden if necessary.
8770 runpath_var
=LD_RUN_PATH
8771 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8772 export_dynamic_flag_spec
='${wl}--export-dynamic'
8773 # ancient GNU ld didn't support --whole-archive et. al.
8774 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8775 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8777 whole_archive_flag_spec
=
8779 supports_anon_versioning
=no
8780 case `$LD -v 2>&1` in
8781 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8782 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8783 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8784 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8785 *\
2.11.
*) ;; # other 2.11 versions
8786 *) supports_anon_versioning
=yes ;;
8789 # See if GNU ld supports shared libraries.
8792 # On AIX/PPC, the GNU linker is very broken
8793 if test "$host_cpu" != ia64
; then
8797 *** Warning: the GNU linker, at least up to release 2.19, is reported
8798 *** to be unable to reliably create shared libraries on AIX.
8799 *** Therefore, libtool is disabling shared libraries support. If you
8800 *** really care for shared libraries, you may want to install binutils
8801 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8802 *** You will then need to restart the configuration process.
8811 # see comment about AmigaOS4 .so support
8812 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8813 archive_expsym_cmds
=''
8816 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)'
8817 hardcode_libdir_flag_spec
='-L$libdir'
8818 hardcode_minus_L
=yes
8824 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8825 allow_undefined_flag
=unsupported
8826 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8827 # support --undefined. This deserves some investigation. FIXME
8828 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8834 cygwin
* | mingw
* | pw32
* | cegcc
*)
8835 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8836 # as there is no search path for DLLs.
8837 hardcode_libdir_flag_spec
='-L$libdir'
8838 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8839 allow_undefined_flag
=unsupported
8840 always_export_symbols
=no
8841 enable_shared_with_static_runtimes
=yes
8842 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8844 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8845 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8846 # If the export-symbols file already is a .def file (1st line
8847 # is EXPORTS), use it as is; otherwise, prepend...
8848 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8849 cp $export_symbols $output_objdir/$soname.def;
8851 echo EXPORTS > $output_objdir/$soname.def;
8852 cat $export_symbols >> $output_objdir/$soname.def;
8854 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8861 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8862 link_all_deplibs
=yes
8867 hardcode_shlibpath_var
=no
8868 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8869 export_dynamic_flag_spec
='${wl}-E'
8870 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8871 # Instead, shared libraries are loaded at an image base (0x10000000 by
8872 # default) and relocated if they conflict, which is a slow very memory
8873 # consuming and fragmenting process. To avoid this, we pick a random,
8874 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8875 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8876 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8877 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'
8880 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8882 if test "$host_os" = linux-dietlibc
; then
8883 case $cc_basename in
8884 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8887 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8888 && test "$tmp_diet" = no
8891 tmp_sharedflag
='-shared'
8892 case $cc_basename,$host_cpu in
8893 pgcc
*) # Portland Group C compiler
8894 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'
8895 tmp_addflag
=' $pic_flag'
8897 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8898 # Portland Group f77 and f90 compilers
8899 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'
8900 tmp_addflag
=' $pic_flag -Mnomain' ;;
8901 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8902 tmp_addflag
=' -i_dynamic' ;;
8903 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8904 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8905 ifc
* | ifort
*) # Intel Fortran compiler
8906 tmp_addflag
=' -nofor_main' ;;
8907 lf95
*) # Lahey Fortran 8.1
8908 whole_archive_flag_spec
=
8909 tmp_sharedflag
='--shared' ;;
8910 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8911 tmp_sharedflag
='-qmkshrobj'
8913 nvcc
*) # Cuda Compiler Driver 2.2
8914 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'
8915 compiler_needs_object
=yes
8918 case `$CC -V 2>&1 | sed 5q` in
8919 *Sun\ C
*) # Sun C 5.9
8920 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'
8921 compiler_needs_object
=yes
8922 tmp_sharedflag
='-G' ;;
8923 *Sun\ F
*) # Sun Fortran 8.3
8924 tmp_sharedflag
='-G' ;;
8926 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8928 if test "x$supports_anon_versioning" = xyes
; then
8929 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8930 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8931 echo "local: *; };" >> $output_objdir/$libname.ver~
8932 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8935 case $cc_basename in
8936 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8937 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8938 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8939 hardcode_libdir_flag_spec
=
8940 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8941 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8942 if test "x$supports_anon_versioning" = xyes
; then
8943 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8944 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8945 echo "local: *; };" >> $output_objdir/$libname.ver~
8946 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8956 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8957 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8960 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8961 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8966 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8970 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8971 *** create shared libraries on Solaris systems. Therefore, libtool
8972 *** is disabling shared libraries support. We urge you to upgrade GNU
8973 *** binutils to release 2.9.1 or newer. Another option is to modify
8974 *** your PATH or compiler configuration so that the native linker is
8975 *** used, and then restart.
8978 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8979 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8980 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8986 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8987 case `$LD -v 2>&1` in
8988 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8992 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8993 *** reliably create shared libraries on SCO systems. Therefore, libtool
8994 *** is disabling shared libraries support. We urge you to upgrade GNU
8995 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8996 *** your PATH or compiler configuration so that the native linker is
8997 *** used, and then restart.
9002 # For security reasons, it is highly recommended that you always
9003 # use absolute paths for naming shared libraries, and exclude the
9004 # DT_RUNPATH tag from executables and libraries. But doing so
9005 # requires that you compile everything twice, which is a pain.
9006 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9007 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9008 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9018 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9021 hardcode_shlibpath_var
=no
9025 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9026 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9034 if test "$ld_shlibs" = no
; then
9036 hardcode_libdir_flag_spec
=
9037 export_dynamic_flag_spec
=
9038 whole_archive_flag_spec
=
9041 # PORTME fill in a description of your system's linker (not GNU ld)
9044 allow_undefined_flag
=unsupported
9045 always_export_symbols
=yes
9046 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'
9047 # Note: this linker hardcodes the directories in LIBPATH if there
9048 # are no directories specified by -L.
9049 hardcode_minus_L
=yes
9050 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9051 # Neither direct hardcoding nor static linking is supported with a
9053 hardcode_direct
=unsupported
9058 if test "$host_cpu" = ia64
; then
9059 # On IA64, the linker does run time linking by default, so we don't
9060 # have to do anything special.
9061 aix_use_runtimelinking
=no
9062 exp_sym_flag
='-Bexport'
9065 # If we're using GNU nm, then we don't want the "-C" option.
9066 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9067 # Also, AIX nm treats weak defined symbols like other global
9068 # defined symbols, whereas GNU nm marks them as "W".
9069 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9070 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'
9072 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'
9074 aix_use_runtimelinking
=no
9076 # Test if we are trying to use run time linking or normal
9077 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9078 # need to do runtime linking.
9079 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9080 for ld_flag
in $LDFLAGS; do
9081 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9082 aix_use_runtimelinking
=yes
9089 exp_sym_flag
='-bexport'
9090 no_entry_flag
='-bnoentry'
9093 # When large executables or shared objects are built, AIX ld can
9094 # have problems creating the table of contents. If linking a library
9095 # or program results in "error TOC overflow" add -mminimal-toc to
9096 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9097 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9101 hardcode_direct_absolute
=yes
9102 hardcode_libdir_separator
=':'
9103 link_all_deplibs
=yes
9104 file_list_spec
='${wl}-f,'
9106 if test "$GCC" = yes; then
9107 case $host_os in aix4.
[012]|aix4.
[012].
*)
9108 # We only want to do this on AIX 4.2 and lower, the check
9109 # below for broken collect2 doesn't work under 4.3+
9110 collect2name
=`${CC} -print-prog-name=collect2`
9111 if test -f "$collect2name" &&
9112 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9114 # We have reworked collect2
9117 # We have old collect2
9118 hardcode_direct
=unsupported
9119 # It fails to find uninstalled libraries when the uninstalled
9120 # path is not listed in the libpath. Setting hardcode_minus_L
9121 # to unsupported forces relinking
9122 hardcode_minus_L
=yes
9123 hardcode_libdir_flag_spec
='-L$libdir'
9124 hardcode_libdir_separator
=
9128 shared_flag
='-shared'
9129 if test "$aix_use_runtimelinking" = yes; then
9130 shared_flag
="$shared_flag "'${wl}-G'
9134 if test "$host_cpu" = ia64
; then
9135 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9136 # chokes on -Wl,-G. The following line is correct:
9139 if test "$aix_use_runtimelinking" = yes; then
9140 shared_flag
='${wl}-G'
9142 shared_flag
='${wl}-bM:SRE'
9147 export_dynamic_flag_spec
='${wl}-bexpall'
9148 # It seems that -bexpall does not export symbols beginning with
9149 # underscore (_), so it is better to generate a list of symbols to export.
9150 always_export_symbols
=yes
9151 if test "$aix_use_runtimelinking" = yes; then
9152 # Warning - without using the other runtime loading flags (-brtl),
9153 # -berok will link without error, but may produce a broken library.
9154 allow_undefined_flag
='-berok'
9155 # Determine the default libpath from the value encoded in an
9157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9168 if ac_fn_c_try_link
"$LINENO"; then :
9170 lt_aix_libpath_sed
='
9171 /Import File Strings/,/^$/ {
9177 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9178 # Check for a 64-bit object if we didn't find anything.
9179 if test -z "$aix_libpath"; then
9180 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9183 rm -f core conftest.err conftest.
$ac_objext \
9184 conftest
$ac_exeext conftest.
$ac_ext
9185 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9187 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9188 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"
9190 if test "$host_cpu" = ia64
; then
9191 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9192 allow_undefined_flag
="-z nodefs"
9193 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"
9195 # Determine the default libpath from the value encoded in an
9197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9208 if ac_fn_c_try_link
"$LINENO"; then :
9210 lt_aix_libpath_sed
='
9211 /Import File Strings/,/^$/ {
9217 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9218 # Check for a 64-bit object if we didn't find anything.
9219 if test -z "$aix_libpath"; then
9220 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9223 rm -f core conftest.err conftest.
$ac_objext \
9224 conftest
$ac_exeext conftest.
$ac_ext
9225 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9227 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9228 # Warning - without using the other run time loading flags,
9229 # -berok will link without error, but may produce a broken library.
9230 no_undefined_flag
=' ${wl}-bernotok'
9231 allow_undefined_flag
=' ${wl}-berok'
9232 if test "$with_gnu_ld" = yes; then
9233 # We only use this code for GNU lds that support --whole-archive.
9234 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9236 # Exported symbols can be pulled into shared objects from archives
9237 whole_archive_flag_spec
='$convenience'
9239 archive_cmds_need_lc
=yes
9240 # This is similar to how AIX traditionally builds its shared libraries.
9241 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'
9249 # see comment about AmigaOS4 .so support
9250 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 archive_expsym_cmds
=''
9254 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)'
9255 hardcode_libdir_flag_spec
='-L$libdir'
9256 hardcode_minus_L
=yes
9262 export_dynamic_flag_spec
=-rdynamic
9265 cygwin
* | mingw
* | pw32
* | cegcc
*)
9266 # When not using gcc, we currently assume that we are using
9267 # Microsoft Visual C++.
9268 # hardcode_libdir_flag_spec is actually meaningless, as there is
9269 # no search path for DLLs.
9270 hardcode_libdir_flag_spec
=' '
9271 allow_undefined_flag
=unsupported
9272 # Tell ltmain to make .lib files, not .a files.
9274 # Tell ltmain to make .dll files, not .so files.
9276 # FIXME: Setting linknames here is a bad hack.
9277 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9278 # The linker will automatically build a .lib file if we build a DLL.
9279 old_archive_from_new_cmds
='true'
9280 # FIXME: Should let the user specify the lib program.
9281 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9282 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9283 enable_shared_with_static_runtimes
=yes
9286 darwin
* | rhapsody
*)
9289 archive_cmds_need_lc
=no
9291 hardcode_automatic
=yes
9292 hardcode_shlibpath_var
=unsupported
9293 if test "$lt_cv_ld_force_load" = "yes"; then
9294 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\"`'
9296 whole_archive_flag_spec
=''
9298 link_all_deplibs
=yes
9299 allow_undefined_flag
="$_lt_dar_allow_undefined"
9300 case $cc_basename in
9301 ifort
*) _lt_dar_can_shared
=yes ;;
9302 *) _lt_dar_can_shared
=$GCC ;;
9304 if test "$_lt_dar_can_shared" = "yes"; then
9305 output_verbose_link_cmd
=func_echo_all
9306 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9307 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9308 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}"
9309 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}"
9318 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_libdir_flag_spec
='-L$libdir'
9320 hardcode_shlibpath_var
=no
9323 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9324 # support. Future versions do this automatically, but an explicit c++rt0.o
9325 # does not break anything, and helps significantly (at the cost of a little
9328 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9329 hardcode_libdir_flag_spec
='-R$libdir'
9331 hardcode_shlibpath_var
=no
9334 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9336 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9338 hardcode_minus_L
=yes
9339 hardcode_shlibpath_var
=no
9342 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9343 freebsd
* | dragonfly
*)
9344 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9345 hardcode_libdir_flag_spec
='-R$libdir'
9347 hardcode_shlibpath_var
=no
9351 if test "$GCC" = yes; then
9352 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'
9354 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'
9356 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9357 hardcode_libdir_separator
=:
9360 # hardcode_minus_L: Not really in the search PATH,
9361 # but as the default location of the library.
9362 hardcode_minus_L
=yes
9363 export_dynamic_flag_spec
='${wl}-E'
9367 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9368 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9372 if test "$with_gnu_ld" = no
; then
9373 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9374 hardcode_libdir_flag_spec_ld
='+b $libdir'
9375 hardcode_libdir_separator
=:
9377 hardcode_direct_absolute
=yes
9378 export_dynamic_flag_spec
='${wl}-E'
9379 # hardcode_minus_L: Not really in the search PATH,
9380 # but as the default location of the library.
9381 hardcode_minus_L
=yes
9386 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9389 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9392 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9395 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9401 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9404 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9408 # Older versions of the 11.00 compiler do not understand -b yet
9409 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9411 $as_echo_n "checking if $CC understands -b... " >&6; }
9412 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9413 $as_echo_n "(cached) " >&6
9415 lt_cv_prog_compiler__b
=no
9416 save_LDFLAGS
="$LDFLAGS"
9417 LDFLAGS
="$LDFLAGS -b"
9418 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9419 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9420 # The linker can only warn and ignore the option if not recognized
9421 # So say no if there are warnings
9422 if test -s conftest.err
; then
9423 # Append any errors to the config.log.
9424 cat conftest.err
1>&5
9425 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9426 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9427 if diff conftest.exp conftest.er2
>/dev
/null
; then
9428 lt_cv_prog_compiler__b
=yes
9431 lt_cv_prog_compiler__b
=yes
9435 LDFLAGS
="$save_LDFLAGS"
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9439 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9441 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9442 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9444 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9450 if test "$with_gnu_ld" = no
; then
9451 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9452 hardcode_libdir_separator
=:
9457 hardcode_shlibpath_var
=no
9461 hardcode_direct_absolute
=yes
9462 export_dynamic_flag_spec
='${wl}-E'
9464 # hardcode_minus_L: Not really in the search PATH,
9465 # but as the default location of the library.
9466 hardcode_minus_L
=yes
9472 irix5
* | irix6
* | nonstopux
*)
9473 if test "$GCC" = yes; then
9474 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'
9475 # Try to use the -exported_symbol ld option, if it does not
9476 # work, assume that -exports_file does not work either and
9477 # implicitly export all symbols.
9478 save_LDFLAGS
="$LDFLAGS"
9479 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9484 if ac_fn_c_try_link
"$LINENO"; then :
9485 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'
9488 rm -f core conftest.err conftest.
$ac_objext \
9489 conftest
$ac_exeext conftest.
$ac_ext
9490 LDFLAGS
="$save_LDFLAGS"
9492 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'
9493 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'
9495 archive_cmds_need_lc
='no'
9496 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9497 hardcode_libdir_separator
=:
9499 link_all_deplibs
=yes
9503 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9504 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9506 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9508 hardcode_libdir_flag_spec
='-R$libdir'
9510 hardcode_shlibpath_var
=no
9514 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9516 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9517 hardcode_libdir_separator
=:
9518 hardcode_shlibpath_var
=no
9525 if test -f /usr
/libexec
/ld.so
; then
9527 hardcode_shlibpath_var
=no
9528 hardcode_direct_absolute
=yes
9529 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9530 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9531 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9532 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9533 export_dynamic_flag_spec
='${wl}-E'
9536 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9537 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9538 hardcode_libdir_flag_spec
='-R$libdir'
9541 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9542 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9552 hardcode_libdir_flag_spec
='-L$libdir'
9553 hardcode_minus_L
=yes
9554 allow_undefined_flag
=unsupported
9555 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'
9556 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9560 if test "$GCC" = yes; then
9561 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9562 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'
9564 allow_undefined_flag
=' -expect_unresolved \*'
9565 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'
9567 archive_cmds_need_lc
='no'
9568 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9569 hardcode_libdir_separator
=:
9572 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9573 if test "$GCC" = yes; then
9574 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9575 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'
9576 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9578 allow_undefined_flag
=' -expect_unresolved \*'
9579 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'
9580 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~
9581 $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'
9583 # Both c and cxx compiler support -rpath directly
9584 hardcode_libdir_flag_spec
='-rpath $libdir'
9586 archive_cmds_need_lc
='no'
9587 hardcode_libdir_separator
=:
9591 no_undefined_flag
=' -z defs'
9592 if test "$GCC" = yes; then
9594 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9595 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9596 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9598 case `$CC -V 2>&1` in
9601 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9602 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9603 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9607 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9608 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9609 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9613 hardcode_libdir_flag_spec
='-R$libdir'
9614 hardcode_shlibpath_var
=no
9616 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9618 # The compiler driver will combine and reorder linker options,
9619 # but understands `-z linker_flag'. GCC discards it without `$wl',
9620 # but is careful enough not to reorder.
9621 # Supported since Solaris 2.6 (maybe 2.5.1?)
9622 if test "$GCC" = yes; then
9623 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9625 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9629 link_all_deplibs
=yes
9633 if test "x$host_vendor" = xsequent
; then
9634 # Use $CC to link under sequent, because it throws in some extra .o
9635 # files that make .init and .fini sections work.
9636 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9638 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9640 hardcode_libdir_flag_spec
='-L$libdir'
9642 hardcode_minus_L
=yes
9643 hardcode_shlibpath_var
=no
9647 case $host_vendor in
9649 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9650 hardcode_direct
=yes # is this really true???
9653 ## LD is ld it makes a PLAMLIB
9654 ## CC just makes a GrossModule.
9655 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9656 reload_cmds
='$CC -r -o $output$reload_objs'
9660 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9661 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9664 runpath_var
='LD_RUN_PATH'
9665 hardcode_shlibpath_var
=no
9669 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9670 hardcode_shlibpath_var
=no
9671 export_dynamic_flag_spec
='-Bexport'
9675 if test -d /usr
/nec
; then
9676 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9677 hardcode_shlibpath_var
=no
9678 runpath_var
=LD_RUN_PATH
9679 hardcode_runpath_var
=yes
9684 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9685 no_undefined_flag
='${wl}-z,text'
9686 archive_cmds_need_lc
=no
9687 hardcode_shlibpath_var
=no
9688 runpath_var
='LD_RUN_PATH'
9690 if test "$GCC" = yes; then
9691 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9692 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9694 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9695 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9699 sysv5
* | sco3.2v5
* | sco5v6
*)
9700 # Note: We can NOT use -z defs as we might desire, because we do not
9701 # link with -lc, and that would cause any symbols used from libc to
9702 # always be unresolved, which means just about no library would
9703 # ever link correctly. If we're not using GNU ld we use -z text
9704 # though, which does catch some bad symbols but isn't as heavy-handed
9706 no_undefined_flag
='${wl}-z,text'
9707 allow_undefined_flag
='${wl}-z,nodefs'
9708 archive_cmds_need_lc
=no
9709 hardcode_shlibpath_var
=no
9710 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9711 hardcode_libdir_separator
=':'
9712 link_all_deplibs
=yes
9713 export_dynamic_flag_spec
='${wl}-Bexport'
9714 runpath_var
='LD_RUN_PATH'
9716 if test "$GCC" = yes; then
9717 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9718 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9726 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec
='-L$libdir'
9728 hardcode_shlibpath_var
=no
9736 if test x
$host_vendor = xsni
; then
9738 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9739 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9746 $as_echo "$ld_shlibs" >&6; }
9747 test "$ld_shlibs" = no
&& can_build_shared
=no
9749 with_gnu_ld
=$with_gnu_ld
9766 # Do we need to explicitly link libc?
9768 case "x$archive_cmds_need_lc" in
9770 # Assume -lc should be added
9771 archive_cmds_need_lc
=yes
9773 if test "$enable_shared" = yes && test "$GCC" = yes; then
9774 case $archive_cmds in
9776 # FIXME: we may have to deal with multi-command sequences.
9779 # Test whether the compiler implicitly links with -lc since on some
9780 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9781 # to ld, don't add -lc before -lgcc.
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9783 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9784 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9785 $as_echo_n "(cached) " >&6
9788 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9791 (eval $ac_compile) 2>&5
9793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9794 test $ac_status = 0; } 2>conftest.err
; then
9797 libobjs
=conftest.
$ac_objext
9799 wl
=$lt_prog_compiler_wl
9800 pic_flag
=$lt_prog_compiler_pic
9806 lt_save_allow_undefined_flag
=$allow_undefined_flag
9807 allow_undefined_flag
=
9808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9809 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9812 test $ac_status = 0; }
9814 lt_cv_archive_cmds_need_lc
=no
9816 lt_cv_archive_cmds_need_lc
=yes
9818 allow_undefined_flag
=$lt_save_allow_undefined_flag
9820 cat conftest.err
1>&5
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9826 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9827 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9991 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9993 if test "$GCC" = yes; then
9995 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9996 *) lt_awk_arg
="/^libraries:/" ;;
9999 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10000 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10002 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10003 case $lt_search_path_spec in
10005 # if the path contains ";" then we assume it to be the separator
10006 # otherwise default to the standard path separator (i.e. ":") - it is
10007 # assumed that no part of a normal pathname contains ";" but that should
10008 # okay in the real world where ";" in dirpaths is itself problematic.
10009 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10012 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10015 # Ok, now we have the path, separated by spaces, we can step through it
10016 # and add multilib dir if necessary.
10017 lt_tmp_lt_search_path_spec
=
10018 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10019 for lt_sys_path
in $lt_search_path_spec; do
10020 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10021 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10023 test -d "$lt_sys_path" && \
10024 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10027 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10028 BEGIN {RS=" "; FS="/|\n";} {
10031 for (lt_i = NF; lt_i > 0; lt_i--) {
10032 if ($lt_i != "" && $lt_i != ".") {
10033 if ($lt_i == "..") {
10036 if (lt_count == 0) {
10037 lt_foo="/" $lt_i lt_foo;
10044 if (lt_foo != "") { lt_freq[lt_foo]++; }
10045 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10047 # AWK program above erroneously prepends '/' to C:/dos/paths
10050 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10051 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10053 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10055 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10057 library_names_spec
=
10058 libname_spec
='lib$name'
10062 postuninstall_cmds
=
10066 shlibpath_overrides_runpath
=unknown
10068 dynamic_linker
="$host_os ld.so"
10069 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10070 need_lib_prefix
=unknown
10071 hardcode_into_libs
=no
10073 # when you set need_version to no, make sure it does not cause -set_version
10074 # flags to be left without arguments
10075 need_version
=unknown
10080 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10081 shlibpath_var
=LIBPATH
10083 # AIX 3 has no versioning support, so we append a major version to the name.
10084 soname_spec
='${libname}${release}${shared_ext}$major'
10091 hardcode_into_libs
=yes
10092 if test "$host_cpu" = ia64
; then
10093 # AIX 5 supports IA64
10094 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10095 shlibpath_var
=LD_LIBRARY_PATH
10097 # With GCC up to 2.95.x, collect2 would create an import file
10098 # for dependence libraries. The import file would start with
10099 # the line `#! .'. This would cause the generated library to
10100 # depend on `.', always an invalid library. This was fixed in
10101 # development snapshots of GCC prior to 3.0.
10103 aix4 | aix4.
[01] | aix4.
[01].
*)
10104 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10106 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10109 can_build_shared
=no
10113 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10114 # soname into executable. Probably we can add versioning support to
10115 # collect2, so additional links can be useful in future.
10116 if test "$aix_use_runtimelinking" = yes; then
10117 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10118 # instead of lib<name>.a to let people know that these are not
10119 # typical AIX shared libraries.
10120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10122 # We preserve .a as extension for shared libraries through AIX4.2
10123 # and later when we are not doing run time linking.
10124 library_names_spec
='${libname}${release}.a $libname.a'
10125 soname_spec
='${libname}${release}${shared_ext}$major'
10127 shlibpath_var
=LIBPATH
10134 # Since July 2007 AmigaOS4 officially supports .so libraries.
10135 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10139 library_names_spec
='$libname.ixlibrary $libname.a'
10140 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10141 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'
10147 library_names_spec
='${libname}${shared_ext}'
10148 dynamic_linker
="$host_os ld.so"
10149 shlibpath_var
=LIBRARY_PATH
10155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10156 soname_spec
='${libname}${release}${shared_ext}$major'
10157 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10158 shlibpath_var
=LD_LIBRARY_PATH
10159 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10160 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10161 # the default ld.so.conf also contains /usr/contrib/lib and
10162 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10163 # libtool to hard-code these into programs
10166 cygwin
* | mingw
* | pw32
* | cegcc
*)
10167 version_type
=windows
10172 case $GCC,$host_os in
10173 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10174 library_names_spec
='$libname.dll.a'
10175 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10176 postinstall_cmds
='base_file=`basename \${file}`~
10177 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10178 dldir=$destdir/`dirname \$dlpath`~
10179 test -d \$dldir || mkdir -p \$dldir~
10180 $install_prog $dir/$dlname \$dldir/$dlname~
10181 chmod a+x \$dldir/$dlname~
10182 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10183 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10185 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10186 dlpath=$dir/\$dldll~
10188 shlibpath_overrides_runpath
=yes
10192 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10193 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10195 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10198 # MinGW DLLs use traditional 'lib' prefix
10199 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10202 # pw32 DLLs use 'pw' prefix rather than 'lib'
10203 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10209 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10212 dynamic_linker
='Win32 ld.exe'
10213 # FIXME: first we should search . and the directory the executable is in
10217 darwin
* | rhapsody
*)
10218 dynamic_linker
="$host_os dyld"
10219 version_type
=darwin
10222 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10223 soname_spec
='${libname}${release}${major}$shared_ext'
10224 shlibpath_overrides_runpath
=yes
10225 shlibpath_var
=DYLD_LIBRARY_PATH
10226 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10228 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10229 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10237 soname_spec
='${libname}${release}${shared_ext}$major'
10238 shlibpath_var
=LD_LIBRARY_PATH
10241 freebsd
* | dragonfly
*)
10242 # DragonFly does not have aout. When/if they implement a new
10243 # versioning mechanism, adjust this.
10244 if test -x /usr
/bin
/objformat
; then
10245 objformat
=`/usr/bin/objformat`
10248 freebsd
[23].
*) objformat
=aout
;;
10249 *) objformat
=elf
;;
10252 version_type
=freebsd-
$objformat
10253 case $version_type in
10255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10260 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10264 shlibpath_var
=LD_LIBRARY_PATH
10267 shlibpath_overrides_runpath
=yes
10269 freebsd3.
[01]* | freebsdelf3.
[01]*)
10270 shlibpath_overrides_runpath
=yes
10271 hardcode_into_libs
=yes
10273 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10274 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10275 shlibpath_overrides_runpath
=no
10276 hardcode_into_libs
=yes
10278 *) # from 4.6 on, and DragonFly
10279 shlibpath_overrides_runpath
=yes
10280 hardcode_into_libs
=yes
10289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10290 soname_spec
='${libname}${release}${shared_ext}$major'
10291 shlibpath_var
=LD_LIBRARY_PATH
10292 hardcode_into_libs
=yes
10299 dynamic_linker
="$host_os runtime_loader"
10300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10301 soname_spec
='${libname}${release}${shared_ext}$major'
10302 shlibpath_var
=LIBRARY_PATH
10303 shlibpath_overrides_runpath
=yes
10304 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10305 hardcode_into_libs
=yes
10308 hpux9
* | hpux10
* | hpux11
*)
10309 # Give a soname corresponding to the major version so that dld.sl refuses to
10310 # link against other versions.
10317 hardcode_into_libs
=yes
10318 dynamic_linker
="$host_os dld.so"
10319 shlibpath_var
=LD_LIBRARY_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 if test "X$HPUX_IA64_MODE" = X32
; then
10324 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10326 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10328 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10332 hardcode_into_libs
=yes
10333 dynamic_linker
="$host_os dld.sl"
10334 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10335 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10337 soname_spec
='${libname}${release}${shared_ext}$major'
10338 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10339 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10343 dynamic_linker
="$host_os dld.sl"
10344 shlibpath_var
=SHLIB_PATH
10345 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347 soname_spec
='${libname}${release}${shared_ext}$major'
10350 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10351 postinstall_cmds
='chmod 555 $lib'
10352 # or fails outright, so override atomically:
10353 install_override_mode
=555
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10361 soname_spec
='${libname}${release}${shared_ext}$major'
10362 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10363 shlibpath_var
=LD_LIBRARY_PATH
10364 shlibpath_overrides_runpath
=no
10365 hardcode_into_libs
=yes
10368 irix5
* | irix6
* | nonstopux
*)
10370 nonstopux
*) version_type
=nonstopux
;;
10372 if test "$lt_cv_prog_gnu_ld" = yes; then
10380 soname_spec
='${libname}${release}${shared_ext}$major'
10381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10383 irix5
* | nonstopux
*)
10384 libsuff
= shlibsuff
=
10387 case $LD in # libtool.m4 will add one of these switches to LD
10388 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10389 libsuff
= shlibsuff
= libmagic
=32-bit;;
10390 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10391 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10392 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10393 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10394 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10398 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10399 shlibpath_overrides_runpath
=no
10400 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10401 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10402 hardcode_into_libs
=yes
10405 # No shared lib support for Linux oldld, aout, or coff.
10406 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10410 # This must be Linux ELF.
10411 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10416 soname_spec
='${libname}${release}${shared_ext}$major'
10417 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10418 shlibpath_var
=LD_LIBRARY_PATH
10419 shlibpath_overrides_runpath
=no
10421 # Some binutils ld are patched to set DT_RUNPATH
10422 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10423 $as_echo_n "(cached) " >&6
10425 lt_cv_shlibpath_overrides_runpath
=no
10426 save_LDFLAGS
=$LDFLAGS
10427 save_libdir
=$libdir
10428 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10429 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10431 /* end confdefs.h. */
10441 if ac_fn_c_try_link
"$LINENO"; then :
10442 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10443 lt_cv_shlibpath_overrides_runpath
=yes
10446 rm -f core conftest.err conftest.
$ac_objext \
10447 conftest
$ac_exeext conftest.
$ac_ext
10448 LDFLAGS
=$save_LDFLAGS
10449 libdir
=$save_libdir
10453 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10455 # This implies no fast_install, which is unacceptable.
10456 # Some rework will be needed to allow for fast_install
10457 # before this can be enabled.
10458 hardcode_into_libs
=yes
10460 # Append ld.so.conf contents to the search path
10461 if test -f /etc
/ld.so.conf
; then
10462 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' ' '`
10463 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10466 # We used to test for /lib/ld.so.1 and disable shared libraries on
10467 # powerpc, because MkLinux only supported shared libraries with the
10468 # GNU dynamic linker. Since this was broken with cross compilers,
10469 # most powerpc-linux boxes support dynamic linking these days and
10470 # people can always --disable-shared, the test was removed, and we
10471 # assume the GNU/Linux dynamic linker is in use.
10472 dynamic_linker
='GNU/Linux ld.so'
10479 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10481 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10482 dynamic_linker
='NetBSD (a.out) ld.so'
10484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10485 soname_spec
='${libname}${release}${shared_ext}$major'
10486 dynamic_linker
='NetBSD ld.elf_so'
10488 shlibpath_var
=LD_LIBRARY_PATH
10489 shlibpath_overrides_runpath
=yes
10490 hardcode_into_libs
=yes
10495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10496 shlibpath_var
=LD_LIBRARY_PATH
10497 shlibpath_overrides_runpath
=yes
10504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505 soname_spec
='${libname}${release}${shared_ext}$major'
10506 shlibpath_var
=LD_LIBRARY_PATH
10507 shlibpath_overrides_runpath
=no
10508 hardcode_into_libs
=yes
10509 dynamic_linker
='ldqnx.so'
10514 sys_lib_dlsearch_path_spec
="/usr/lib"
10516 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10518 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10519 *) need_version
=no
;;
10521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10522 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10523 shlibpath_var
=LD_LIBRARY_PATH
10524 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10526 openbsd2.
[89] | openbsd2.
[89].
*)
10527 shlibpath_overrides_runpath
=no
10530 shlibpath_overrides_runpath
=yes
10534 shlibpath_overrides_runpath
=yes
10539 libname_spec
='$name'
10542 library_names_spec
='$libname${shared_ext} $libname.a'
10543 dynamic_linker
='OS/2 ld.exe'
10544 shlibpath_var
=LIBPATH
10547 osf3
* | osf4
* | osf5
*)
10551 soname_spec
='${libname}${release}${shared_ext}$major'
10552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 shlibpath_var
=LD_LIBRARY_PATH
10554 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10555 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec
='${libname}${release}${shared_ext}$major'
10568 shlibpath_var
=LD_LIBRARY_PATH
10569 shlibpath_overrides_runpath
=yes
10570 hardcode_into_libs
=yes
10571 # ldd complains unless libraries are executable
10572 postinstall_cmds
='chmod +x $lib'
10577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10578 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10579 shlibpath_var
=LD_LIBRARY_PATH
10580 shlibpath_overrides_runpath
=yes
10581 if test "$with_gnu_ld" = yes; then
10589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590 soname_spec
='${libname}${release}${shared_ext}$major'
10591 shlibpath_var
=LD_LIBRARY_PATH
10592 case $host_vendor in
10594 shlibpath_overrides_runpath
=no
10596 runpath_var
=LD_RUN_PATH
10604 shlibpath_overrides_runpath
=no
10605 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10611 if test -d /usr
/nec
;then
10613 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10614 soname_spec
='$libname${shared_ext}.$major'
10615 shlibpath_var
=LD_LIBRARY_PATH
10619 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10620 version_type
=freebsd-elf
10623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10624 soname_spec
='${libname}${release}${shared_ext}$major'
10625 shlibpath_var
=LD_LIBRARY_PATH
10626 shlibpath_overrides_runpath
=yes
10627 hardcode_into_libs
=yes
10628 if test "$with_gnu_ld" = yes; then
10629 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10631 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10634 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10638 sys_lib_dlsearch_path_spec
='/usr/lib'
10642 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 shlibpath_var
=LD_LIBRARY_PATH
10648 shlibpath_overrides_runpath
=no
10649 hardcode_into_libs
=yes
10654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 soname_spec
='${libname}${release}${shared_ext}$major'
10656 shlibpath_var
=LD_LIBRARY_PATH
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10664 $as_echo "$dynamic_linker" >&6; }
10665 test "$dynamic_linker" = no
&& can_build_shared
=no
10667 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10668 if test "$GCC" = yes; then
10669 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10672 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10673 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10675 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10676 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10771 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10773 if test -n "$hardcode_libdir_flag_spec" ||
10774 test -n "$runpath_var" ||
10775 test "X$hardcode_automatic" = "Xyes" ; then
10777 # We can hardcode non-existent directories.
10778 if test "$hardcode_direct" != no
&&
10779 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10780 # have to relink, otherwise we might link with an installed library
10781 # when we should be linking with a yet-to-be-installed one
10782 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10783 test "$hardcode_minus_L" != no
; then
10784 # Linking always hardcodes the temporary library directory.
10785 hardcode_action
=relink
10787 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10788 hardcode_action
=immediate
10791 # We cannot hardcode anything, or else we can only hardcode existing
10793 hardcode_action
=unsupported
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10796 $as_echo "$hardcode_action" >&6; }
10798 if test "$hardcode_action" = relink ||
10799 test "$inherit_rpath" = yes; then
10800 # Fast installation is not supported
10801 enable_fast_install
=no
10802 elif test "$shlibpath_overrides_runpath" = yes ||
10803 test "$enable_shared" = no
; then
10804 # Fast installation is not necessary
10805 enable_fast_install
=needless
10813 if test "x$enable_dlopen" != xyes
; then
10814 enable_dlopen
=unknown
10815 enable_dlopen_self
=unknown
10816 enable_dlopen_self_static
=unknown
10823 lt_cv_dlopen
="load_add_on"
10825 lt_cv_dlopen_self
=yes
10828 mingw
* | pw32
* | cegcc
*)
10829 lt_cv_dlopen
="LoadLibrary"
10834 lt_cv_dlopen
="dlopen"
10839 # if libdl is installed we need to link against it
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10841 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10842 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10843 $as_echo_n "(cached) " >&6
10845 ac_check_lib_save_LIBS
=$LIBS
10847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10865 if ac_fn_c_try_link
"$LINENO"; then :
10866 ac_cv_lib_dl_dlopen
=yes
10868 ac_cv_lib_dl_dlopen
=no
10870 rm -f core conftest.err conftest.
$ac_objext \
10871 conftest
$ac_exeext conftest.
$ac_ext
10872 LIBS
=$ac_check_lib_save_LIBS
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10875 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10876 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10877 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10880 lt_cv_dlopen
="dyld"
10882 lt_cv_dlopen_self
=yes
10889 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10890 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10891 lt_cv_dlopen
="shl_load"
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10894 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10895 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10896 $as_echo_n "(cached) " >&6
10898 ac_check_lib_save_LIBS
=$LIBS
10900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10913 return shl_load ();
10918 if ac_fn_c_try_link
"$LINENO"; then :
10919 ac_cv_lib_dld_shl_load
=yes
10921 ac_cv_lib_dld_shl_load
=no
10923 rm -f core conftest.err conftest.
$ac_objext \
10924 conftest
$ac_exeext conftest.
$ac_ext
10925 LIBS
=$ac_check_lib_save_LIBS
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10928 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10929 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10930 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10932 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10933 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10934 lt_cv_dlopen
="dlopen"
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10937 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10938 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10939 $as_echo_n "(cached) " >&6
10941 ac_check_lib_save_LIBS
=$LIBS
10943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10946 /* Override any GCC internal prototype to avoid an error.
10947 Use char because int might match the return type of a GCC
10948 builtin and then its argument prototype would still apply. */
10961 if ac_fn_c_try_link
"$LINENO"; then :
10962 ac_cv_lib_dl_dlopen
=yes
10964 ac_cv_lib_dl_dlopen
=no
10966 rm -f core conftest.err conftest.
$ac_objext \
10967 conftest
$ac_exeext conftest.
$ac_ext
10968 LIBS
=$ac_check_lib_save_LIBS
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10971 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10972 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10973 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10976 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10977 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10978 $as_echo_n "(cached) " >&6
10980 ac_check_lib_save_LIBS
=$LIBS
10981 LIBS
="-lsvld $LIBS"
10982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
11000 if ac_fn_c_try_link
"$LINENO"; then :
11001 ac_cv_lib_svld_dlopen
=yes
11003 ac_cv_lib_svld_dlopen
=no
11005 rm -f core conftest.err conftest.
$ac_objext \
11006 conftest
$ac_exeext conftest.
$ac_ext
11007 LIBS
=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11010 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11011 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11012 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11015 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11016 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11017 $as_echo_n "(cached) " >&6
11019 ac_check_lib_save_LIBS
=$LIBS
11021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11034 return dld_link ();
11039 if ac_fn_c_try_link
"$LINENO"; then :
11040 ac_cv_lib_dld_dld_link
=yes
11042 ac_cv_lib_dld_dld_link
=no
11044 rm -f core conftest.err conftest.
$ac_objext \
11045 conftest
$ac_exeext conftest.
$ac_ext
11046 LIBS
=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11049 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11050 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11051 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11072 if test "x$lt_cv_dlopen" != xno
; then
11078 case $lt_cv_dlopen in
11080 save_CPPFLAGS
="$CPPFLAGS"
11081 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11083 save_LDFLAGS
="$LDFLAGS"
11084 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11087 LIBS
="$lt_cv_dlopen_libs $LIBS"
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11090 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11091 if test "${lt_cv_dlopen_self+set}" = set; then :
11092 $as_echo_n "(cached) " >&6
11094 if test "$cross_compiling" = yes; then :
11095 lt_cv_dlopen_self
=cross
11097 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11098 lt_status
=$lt_dlunknown
11099 cat > conftest.
$ac_ext <<_LT_EOF
11100 #line 11100 "configure"
11101 #include "confdefs.h"
11110 # define LT_DLGLOBAL RTLD_GLOBAL
11113 # define LT_DLGLOBAL DL_GLOBAL
11115 # define LT_DLGLOBAL 0
11119 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11120 find out it does not work in some platform. */
11121 #ifndef LT_DLLAZY_OR_NOW
11123 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11126 # define LT_DLLAZY_OR_NOW DL_LAZY
11129 # define LT_DLLAZY_OR_NOW RTLD_NOW
11132 # define LT_DLLAZY_OR_NOW DL_NOW
11134 # define LT_DLLAZY_OR_NOW 0
11141 /* When -fvisbility=hidden is used, assume the code has been annotated
11142 correspondingly for the symbols needed. */
11143 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11144 void fnord () __attribute__((visibility("default")));
11147 void fnord () { int i=42; }
11150 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11151 int status = $lt_dlunknown;
11155 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11158 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11159 else puts (dlerror ());
11161 /* dlclose (self); */
11169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11170 (eval $ac_link) 2>&5
11172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11173 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11174 (.
/conftest
; exit; ) >&5 2>/dev
/null
11176 case x
$lt_status in
11177 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11178 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11179 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11182 # compilation failed
11183 lt_cv_dlopen_self
=no
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11191 $as_echo "$lt_cv_dlopen_self" >&6; }
11193 if test "x$lt_cv_dlopen_self" = xyes
; then
11194 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11196 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11197 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11198 $as_echo_n "(cached) " >&6
11200 if test "$cross_compiling" = yes; then :
11201 lt_cv_dlopen_self_static
=cross
11203 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11204 lt_status
=$lt_dlunknown
11205 cat > conftest.
$ac_ext <<_LT_EOF
11206 #line 11206 "configure"
11207 #include "confdefs.h"
11216 # define LT_DLGLOBAL RTLD_GLOBAL
11219 # define LT_DLGLOBAL DL_GLOBAL
11221 # define LT_DLGLOBAL 0
11225 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11226 find out it does not work in some platform. */
11227 #ifndef LT_DLLAZY_OR_NOW
11229 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11232 # define LT_DLLAZY_OR_NOW DL_LAZY
11235 # define LT_DLLAZY_OR_NOW RTLD_NOW
11238 # define LT_DLLAZY_OR_NOW DL_NOW
11240 # define LT_DLLAZY_OR_NOW 0
11247 /* When -fvisbility=hidden is used, assume the code has been annotated
11248 correspondingly for the symbols needed. */
11249 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11250 void fnord () __attribute__((visibility("default")));
11253 void fnord () { int i=42; }
11256 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11257 int status = $lt_dlunknown;
11261 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11264 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11265 else puts (dlerror ());
11267 /* dlclose (self); */
11275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11276 (eval $ac_link) 2>&5
11278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11279 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11280 (.
/conftest
; exit; ) >&5 2>/dev
/null
11282 case x
$lt_status in
11283 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11284 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11285 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11288 # compilation failed
11289 lt_cv_dlopen_self_static
=no
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11297 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11300 CPPFLAGS
="$save_CPPFLAGS"
11301 LDFLAGS
="$save_LDFLAGS"
11306 case $lt_cv_dlopen_self in
11307 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11308 *) enable_dlopen_self
=unknown
;;
11311 case $lt_cv_dlopen_self_static in
11312 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11313 *) enable_dlopen_self_static
=unknown
;;
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11336 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11337 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11338 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11339 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11341 $as_echo "yes" >&6; }
11343 # FIXME - insert some real tests, host_os isn't really good enough
11346 if test -n "$STRIP" ; then
11347 striplib
="$STRIP -x"
11348 old_striplib
="$STRIP -S"
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11350 $as_echo "yes" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11353 $as_echo "no" >&6; }
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11358 $as_echo "no" >&6; }
11374 # Report which library types will actually be built
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11376 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11378 $as_echo "$can_build_shared" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11381 $as_echo_n "checking whether to build shared libraries... " >&6; }
11382 test "$can_build_shared" = "no" && enable_shared
=no
11384 # On AIX, shared libraries and static libraries use the same namespace, and
11385 # are all built from PIC.
11388 test "$enable_shared" = yes && enable_static
=no
11389 if test -n "$RANLIB"; then
11390 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11391 postinstall_cmds
='$RANLIB $lib'
11396 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11397 test "$enable_shared" = yes && enable_static
=no
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11402 $as_echo "$enable_shared" >&6; }
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11405 $as_echo_n "checking whether to build static libraries... " >&6; }
11406 # Make sure either enable_shared or enable_static is yes.
11407 test "$enable_shared" = yes || enable_static
=yes
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11409 $as_echo "$enable_static" >&6; }
11416 ac_cpp
='$CPP $CPPFLAGS'
11417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11435 ac_config_commands
="$ac_config_commands libtool"
11440 # Only expand once:
11447 *-cygwin* |
*-mingw*)
11448 # 'host' will be top-level target in the case of a target lib,
11449 # we must compare to with_cross_host to decide if this is a native
11450 # or cross-compiler and select where to install dlls appropriately.
11451 if test -n "$with_cross_host" &&
11452 test x
"$with_cross_host" != x
"no"; then
11453 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
11455 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11470 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11471 # Check whether --enable-maintainer-mode was given.
11472 if test "${enable_maintainer_mode+set}" = set; then :
11473 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11475 USE_MAINTAINER_MODE
=no
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11479 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11480 if test $USE_MAINTAINER_MODE = yes; then
11481 MAINTAINER_MODE_TRUE
=
11482 MAINTAINER_MODE_FALSE
='#'
11484 MAINTAINER_MODE_TRUE
='#'
11485 MAINTAINER_MODE_FALSE
=
11488 MAINT
=$MAINTAINER_MODE_TRUE
11492 # Create a spec file, so that compile/link tests don't fail
11493 test -f libgfortran.spec ||
touch libgfortran.spec
11494 FCFLAGS
="$FCFLAGS -L."
11496 # We need gfortran to compile parts of the library
11497 # We can't use AC_PROG_FC because it expects a fully working gfortran.
11498 #AC_PROG_FC(gfortran)
11499 case `echo $GFORTRAN` in
11503 set dummy
$GFORTRAN; ac_word
=$2
11504 if test -x "$ac_word"; then
11510 ac_ext
=${ac_fc_srcext-f}
11511 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11512 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11513 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11514 if test -n "$ac_tool_prefix"; then
11515 for ac_prog
in gfortran
11517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11518 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11520 $as_echo_n "checking for $ac_word... " >&6; }
11521 if test "${ac_cv_prog_FC+set}" = set; then :
11522 $as_echo_n "(cached) " >&6
11524 if test -n "$FC"; then
11525 ac_cv_prog_FC
="$FC" # Let the user override the test.
11527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11528 for as_dir
in $PATH
11531 test -z "$as_dir" && as_dir
=.
11532 for ac_exec_ext
in '' $ac_executable_extensions; do
11533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11534 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11545 if test -n "$FC"; then
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11547 $as_echo "$FC" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 $as_echo "no" >&6; }
11554 test -n "$FC" && break
11557 if test -z "$FC"; then
11559 for ac_prog
in gfortran
11561 # Extract the first word of "$ac_prog", so it can be a program name with args.
11562 set dummy
$ac_prog; ac_word
=$2
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11564 $as_echo_n "checking for $ac_word... " >&6; }
11565 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11566 $as_echo_n "(cached) " >&6
11568 if test -n "$ac_ct_FC"; then
11569 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11572 for as_dir
in $PATH
11575 test -z "$as_dir" && as_dir
=.
11576 for ac_exec_ext
in '' $ac_executable_extensions; do
11577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11578 ac_cv_prog_ac_ct_FC
="$ac_prog"
11579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11588 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11589 if test -n "$ac_ct_FC"; then
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11591 $as_echo "$ac_ct_FC" >&6; }
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11594 $as_echo "no" >&6; }
11598 test -n "$ac_ct_FC" && break
11601 if test "x$ac_ct_FC" = x
; then
11604 case $cross_compiling:$ac_tool_warned in
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11608 ac_tool_warned
=yes ;;
11615 # Provide some information about the compiler.
11616 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11619 for ac_option
in --version -v -V -qversion; do
11620 { { ac_try
="$ac_compiler $ac_option >&5"
11621 case "(($ac_try" in
11622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11623 *) ac_try_echo=$ac_try;;
11625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11626 $as_echo "$ac_try_echo"; } >&5
11627 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11629 if test -s conftest.err; then
11631 ... rest of stderr output deleted ...
11632 10q' conftest.err >conftest.er1
11633 cat conftest.er1 >&5
11634 rm -f conftest.er1 conftest.err
11636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11637 test $ac_status = 0; }
11641 # If we don't use `.F
' as extension, the preprocessor is not run on the
11642 # input file. (Note that this only needs to work for GNU compilers.)
11643 ac_save_ext=$ac_ext
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11646 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11647 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11648 $as_echo_n "(cached) " >&6
11650 cat > conftest.$ac_ext <<_ACEOF
11658 if ac_fn_fc_try_compile "$LINENO"; then :
11659 ac_compiler_gnu=yes
11663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11664 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11668 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11669 ac_ext=$ac_save_ext
11670 ac_test_FCFLAGS=${FCFLAGS+set}
11671 ac_save_FCFLAGS=$FCFLAGS
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11674 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11675 if test "${ac_cv_prog_fc_g+set}" = set; then :
11676 $as_echo_n "(cached) " >&6
11679 cat > conftest.$ac_ext <<_ACEOF
11684 if ac_fn_fc_try_compile "$LINENO"; then :
11685 ac_cv_prog_fc_g=yes
11689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11693 $as_echo "$ac_cv_prog_fc_g" >&6; }
11694 if test "$ac_test_FCFLAGS" = set; then
11695 FCFLAGS=$ac_save_FCFLAGS
11696 elif test $ac_cv_prog_fc_g = yes; then
11697 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11703 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11711 ac_cpp='$CPP $CPPFLAGS'
11712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11713 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11716 ac_ext=${ac_fc_srcext-f}
11717 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11718 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11719 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11722 if test -z "$FC" || test "X$FC" = "Xno"; then
11726 archive_cmds_need_lc_FC=no
11727 allow_undefined_flag_FC=
11728 always_export_symbols_FC=no
11729 archive_expsym_cmds_FC=
11730 export_dynamic_flag_spec_FC=
11731 hardcode_direct_FC=no
11732 hardcode_direct_absolute_FC=no
11733 hardcode_libdir_flag_spec_FC=
11734 hardcode_libdir_flag_spec_ld_FC=
11735 hardcode_libdir_separator_FC=
11736 hardcode_minus_L_FC=no
11737 hardcode_automatic_FC=no
11738 inherit_rpath_FC=no
11740 module_expsym_cmds_FC=
11741 link_all_deplibs_FC=unknown
11742 old_archive_cmds_FC=$old_archive_cmds
11743 reload_flag_FC=$reload_flag
11744 reload_cmds_FC=$reload_cmds
11745 no_undefined_flag_FC=
11746 whole_archive_flag_spec_FC=
11747 enable_shared_with_static_runtimes_FC=no
11749 # Source file extension for fc test sources.
11750 ac_ext=${ac_fc_srcext-f}
11752 # Object file extension for compiled fc test sources.
11756 # No sense in running all these tests if we already determined that
11757 # the FC compiler isn't working. Some variables
(like enable_shared
)
11758 # are currently assumed to apply to all compilers on this platform,
11759 # and will be corrupted by setting them based on a non-working compiler.
11760 if test "$_lt_disable_FC" != yes; then
11761 # Code to be used in simple compile tests
11762 lt_simple_compile_test_code
="\
11768 # Code to be used in simple link tests
11769 lt_simple_link_test_code
="\
11774 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11781 # If no C compiler was specified, use CC.
11784 # If no C compiler flags were specified, use CFLAGS.
11785 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11787 # Allow CC to be a program name with arguments.
11791 # save warnings/boilerplate of simple test code
11792 ac_outfile
=conftest.
$ac_objext
11793 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11794 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11795 _lt_compiler_boilerplate
=`cat conftest.err`
11798 ac_outfile
=conftest.
$ac_objext
11799 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11800 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11801 _lt_linker_boilerplate
=`cat conftest.err`
11805 # Allow CC to be a program name with arguments.
11810 GCC
=$ac_cv_fc_compiler_gnu
11813 for cc_temp
in $compiler""; do
11815 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11816 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11821 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11824 if test -n "$compiler"; then
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11826 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11828 $as_echo "$can_build_shared" >&6; }
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11831 $as_echo_n "checking whether to build shared libraries... " >&6; }
11832 test "$can_build_shared" = "no" && enable_shared
=no
11834 # On AIX, shared libraries and static libraries use the same namespace, and
11835 # are all built from PIC.
11838 test "$enable_shared" = yes && enable_static
=no
11839 if test -n "$RANLIB"; then
11840 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11841 postinstall_cmds
='$RANLIB $lib'
11845 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11846 test "$enable_shared" = yes && enable_static
=no
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11851 $as_echo "$enable_shared" >&6; }
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11854 $as_echo_n "checking whether to build static libraries... " >&6; }
11855 # Make sure either enable_shared or enable_static is yes.
11856 test "$enable_shared" = yes || enable_static
=yes
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11858 $as_echo "$enable_static" >&6; }
11860 GCC_FC
="$ac_cv_fc_compiler_gnu"
11864 ## There is no encapsulation within the following macros, do not change
11865 ## the running order or otherwise move them around unless you know exactly
11866 ## what you are doing...
11867 # Dependencies to place before and after the object being linked:
11869 postdep_objects_FC
=
11872 compiler_lib_search_path_FC
=
11874 cat > conftest.
$ac_ext <<_LT_EOF
11883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11884 (eval $ac_compile) 2>&5
11886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11887 test $ac_status = 0; }; then
11888 # Parse the compiler output and extract the necessary
11889 # objects, libraries and library flags.
11891 # Sentinel used to keep track of whether or not we are before
11892 # the conftest object file.
11893 pre_test_object_deps_done
=no
11895 for p
in `eval "$output_verbose_link_cmd"`; do
11899 # Some compilers place space between "-{L,R}" and the path.
11900 # Remove the space.
11901 if test $p = "-L" ||
11902 test $p = "-R"; then
11909 if test "$pre_test_object_deps_done" = no
; then
11912 # Internal compiler library paths should come after those
11913 # provided the user. The postdeps already come after the
11914 # user supplied libs so there is no need to process them.
11915 if test -z "$compiler_lib_search_path_FC"; then
11916 compiler_lib_search_path_FC
="${prev}${p}"
11918 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
11921 # The "-l" case would never come before the object being
11922 # linked, so don't bother handling this case.
11925 if test -z "$postdeps_FC"; then
11926 postdeps_FC
="${prev}${p}"
11928 postdeps_FC
="${postdeps_FC} ${prev}${p}"
11934 # This assumes that the test object file only shows up
11935 # once in the compiler output.
11936 if test "$p" = "conftest.$objext"; then
11937 pre_test_object_deps_done
=yes
11941 if test "$pre_test_object_deps_done" = no
; then
11942 if test -z "$predep_objects_FC"; then
11943 predep_objects_FC
="$p"
11945 predep_objects_FC
="$predep_objects_FC $p"
11948 if test -z "$postdep_objects_FC"; then
11949 postdep_objects_FC
="$p"
11951 postdep_objects_FC
="$postdep_objects_FC $p"
11956 *) ;; # Ignore the rest.
11964 echo "libtool.m4: error: problem compiling FC test program"
11967 $RM -f confest.
$objext
11969 # PORTME: override above test on systems where it is broken
11972 case " $postdeps_FC " in
11973 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
11975 compiler_lib_search_dirs_FC
=
11976 if test -n "${compiler_lib_search_path_FC}"; then
11977 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12010 lt_prog_compiler_wl_FC
=
12011 lt_prog_compiler_pic_FC
=
12012 lt_prog_compiler_static_FC
=
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12015 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12017 if test "$GCC" = yes; then
12018 lt_prog_compiler_wl_FC
='-Wl,'
12019 lt_prog_compiler_static_FC
='-static'
12023 # All AIX code is PIC.
12024 if test "$host_cpu" = ia64
; then
12025 # AIX 5 now supports IA64 processor
12026 lt_prog_compiler_static_FC
='-Bstatic'
12028 lt_prog_compiler_pic_FC
='-fPIC'
12034 # see comment about AmigaOS4 .so support
12035 lt_prog_compiler_pic_FC
='-fPIC'
12038 # FIXME: we need at least 68020 code to build shared libraries, but
12039 # adding the `-m68020' flag to GCC prevents building anything better,
12041 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
12046 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12047 # PIC is the default for these OSes.
12050 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12051 # This hack is so that the source file can tell whether it is being
12052 # built for inclusion in a dll (and should export symbols for example).
12053 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12054 # (--disable-auto-import) libraries
12055 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12058 darwin
* | rhapsody
*)
12059 # PIC is the default on this platform
12060 # Common symbols not allowed in MH_DYLIB files
12061 lt_prog_compiler_pic_FC
='-fno-common'
12065 # PIC is the default for Haiku.
12066 # The "-static" flag exists, but is broken.
12067 lt_prog_compiler_static_FC
=
12071 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12072 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12073 # sets the default TLS model and affects inlining.
12079 lt_prog_compiler_pic_FC
='-fPIC'
12085 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12086 # Instead, we relocate shared libraries at runtime.
12090 # Just because we use GCC doesn't mean we suddenly get shared libraries
12091 # on systems that don't support them.
12092 lt_prog_compiler_can_build_shared_FC
=no
12097 # QNX uses GNU C++, but need to define -shared option too, otherwise
12098 # it will coredump.
12099 lt_prog_compiler_pic_FC
='-fPIC -shared'
12103 if test -d /usr
/nec
; then
12104 lt_prog_compiler_pic_FC
=-Kconform_pic
12109 lt_prog_compiler_pic_FC
='-fPIC'
12113 case $cc_basename in
12114 nvcc
*) # Cuda Compiler Driver 2.2
12115 lt_prog_compiler_wl_FC
='-Xlinker '
12116 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
12120 # PORTME Check for flag to pass linker flags through the system compiler.
12123 lt_prog_compiler_wl_FC
='-Wl,'
12124 if test "$host_cpu" = ia64
; then
12125 # AIX 5 now supports IA64 processor
12126 lt_prog_compiler_static_FC
='-Bstatic'
12128 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
12132 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12133 # This hack is so that the source file can tell whether it is being
12134 # built for inclusion in a dll (and should export symbols for example).
12135 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
12138 hpux9
* | hpux10
* | hpux11
*)
12139 lt_prog_compiler_wl_FC
='-Wl,'
12140 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12141 # not for PA HP-UX.
12147 lt_prog_compiler_pic_FC
='+Z'
12150 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12151 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
12154 irix5
* | irix6
* | nonstopux
*)
12155 lt_prog_compiler_wl_FC
='-Wl,'
12156 # PIC (with -KPIC) is the default.
12157 lt_prog_compiler_static_FC
='-non_shared'
12160 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12161 case $cc_basename in
12162 # old Intel for x86_64 which still supported -KPIC.
12164 lt_prog_compiler_wl_FC
='-Wl,'
12165 lt_prog_compiler_pic_FC
='-KPIC'
12166 lt_prog_compiler_static_FC
='-static'
12168 # icc used to be incompatible with GCC.
12169 # ICC 10 doesn't accept -KPIC any more.
12171 lt_prog_compiler_wl_FC
='-Wl,'
12172 lt_prog_compiler_pic_FC
='-fPIC'
12173 lt_prog_compiler_static_FC
='-static'
12175 # Lahey Fortran 8.1.
12177 lt_prog_compiler_wl_FC
='-Wl,'
12178 lt_prog_compiler_pic_FC
='--shared'
12179 lt_prog_compiler_static_FC
='--static'
12181 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12182 # Portland Group compilers (*not* the Pentium gcc compiler,
12183 # which looks to be a dead project)
12184 lt_prog_compiler_wl_FC
='-Wl,'
12185 lt_prog_compiler_pic_FC
='-fpic'
12186 lt_prog_compiler_static_FC
='-Bstatic'
12189 lt_prog_compiler_wl_FC
='-Wl,'
12190 # All Alpha code is PIC.
12191 lt_prog_compiler_static_FC
='-non_shared'
12193 xl
* | bgxl
* | bgf
* | mpixl
*)
12194 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12195 lt_prog_compiler_wl_FC
='-Wl,'
12196 lt_prog_compiler_pic_FC
='-qpic'
12197 lt_prog_compiler_static_FC
='-qstaticlink'
12200 case `$CC -V 2>&1 | sed 5q` in
12201 *Sun\ F
* |
*Sun
*Fortran
*)
12202 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12203 lt_prog_compiler_pic_FC
='-KPIC'
12204 lt_prog_compiler_static_FC
='-Bstatic'
12205 lt_prog_compiler_wl_FC
=''
12209 lt_prog_compiler_pic_FC
='-KPIC'
12210 lt_prog_compiler_static_FC
='-Bstatic'
12211 lt_prog_compiler_wl_FC
='-Wl,'
12219 lt_prog_compiler_pic_FC
='-KPIC'
12220 lt_prog_compiler_static_FC
='-Bstatic'
12224 # QNX uses GNU C++, but need to define -shared option too, otherwise
12225 # it will coredump.
12226 lt_prog_compiler_pic_FC
='-fPIC -shared'
12229 osf3
* | osf4
* | osf5
*)
12230 lt_prog_compiler_wl_FC
='-Wl,'
12231 # All OSF/1 code is PIC.
12232 lt_prog_compiler_static_FC
='-non_shared'
12236 lt_prog_compiler_static_FC
='-non_shared'
12240 lt_prog_compiler_pic_FC
='-KPIC'
12241 lt_prog_compiler_static_FC
='-Bstatic'
12242 case $cc_basename in
12243 f77
* | f90
* | f95
*)
12244 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12246 lt_prog_compiler_wl_FC
='-Wl,';;
12251 lt_prog_compiler_wl_FC
='-Qoption ld '
12252 lt_prog_compiler_pic_FC
='-PIC'
12253 lt_prog_compiler_static_FC
='-Bstatic'
12256 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12257 lt_prog_compiler_wl_FC
='-Wl,'
12258 lt_prog_compiler_pic_FC
='-KPIC'
12259 lt_prog_compiler_static_FC
='-Bstatic'
12263 if test -d /usr
/nec
;then
12264 lt_prog_compiler_pic_FC
='-Kconform_pic'
12265 lt_prog_compiler_static_FC
='-Bstatic'
12269 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12270 lt_prog_compiler_wl_FC
='-Wl,'
12271 lt_prog_compiler_pic_FC
='-KPIC'
12272 lt_prog_compiler_static_FC
='-Bstatic'
12276 lt_prog_compiler_wl_FC
='-Wl,'
12277 lt_prog_compiler_can_build_shared_FC
=no
12281 lt_prog_compiler_pic_FC
='-pic'
12282 lt_prog_compiler_static_FC
='-Bstatic'
12286 lt_prog_compiler_can_build_shared_FC
=no
12292 # For platforms which do not support PIC, -DPIC is meaningless:
12294 lt_prog_compiler_pic_FC
=
12297 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12301 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12306 # Check to make sure the PIC flag actually works.
12308 if test -n "$lt_prog_compiler_pic_FC"; then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12310 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12311 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12312 $as_echo_n "(cached) " >&6
12314 lt_cv_prog_compiler_pic_works_FC
=no
12315 ac_outfile
=conftest.
$ac_objext
12316 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12317 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12318 # Insert the option either (1) after the last *FLAGS variable, or
12319 # (2) before a word containing "conftest.", or (3) at the end.
12320 # Note that $ac_compile itself does not contain backslashes and begins
12321 # with a dollar sign (not a hyphen), so the echo should work correctly.
12322 # The option is referenced via a variable to avoid confusing sed.
12323 lt_compile
=`echo "$ac_compile" | $SED \
12324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12326 -e 's:$: $lt_compiler_flag:'`
12327 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12328 (eval "$lt_compile" 2>conftest.err
)
12330 cat conftest.err
>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 if (exit $ac_status) && test -s "$ac_outfile"; then
12333 # The compiler can only warn and ignore the option if not recognized
12334 # So say no if there are warnings other than the usual output.
12335 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12336 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12337 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12338 lt_cv_prog_compiler_pic_works_FC
=yes
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12345 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12347 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12348 case $lt_prog_compiler_pic_FC in
12350 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12353 lt_prog_compiler_pic_FC
=
12354 lt_prog_compiler_can_build_shared_FC
=no
12362 # Check to make sure the static flag actually works.
12364 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12366 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12367 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12368 $as_echo_n "(cached) " >&6
12370 lt_cv_prog_compiler_static_works_FC
=no
12371 save_LDFLAGS
="$LDFLAGS"
12372 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12373 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12374 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12375 # The linker can only warn and ignore the option if not recognized
12376 # So say no if there are warnings
12377 if test -s conftest.err
; then
12378 # Append any errors to the config.log.
12379 cat conftest.err
1>&5
12380 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12381 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12382 if diff conftest.exp conftest.er2
>/dev
/null
; then
12383 lt_cv_prog_compiler_static_works_FC
=yes
12386 lt_cv_prog_compiler_static_works_FC
=yes
12390 LDFLAGS
="$save_LDFLAGS"
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12394 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12396 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12399 lt_prog_compiler_static_FC
=
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12406 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12407 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12408 $as_echo_n "(cached) " >&6
12410 lt_cv_prog_compiler_c_o_FC
=no
12411 $RM -r conftest
2>/dev
/null
12415 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12417 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12418 # Insert the option either (1) after the last *FLAGS variable, or
12419 # (2) before a word containing "conftest.", or (3) at the end.
12420 # Note that $ac_compile itself does not contain backslashes and begins
12421 # with a dollar sign (not a hyphen), so the echo should work correctly.
12422 lt_compile
=`echo "$ac_compile" | $SED \
12423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12425 -e 's:$: $lt_compiler_flag:'`
12426 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12427 (eval "$lt_compile" 2>out
/conftest.err
)
12429 cat out
/conftest.err
>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12433 # The compiler can only warn and ignore the option if not recognized
12434 # So say no if there are warnings
12435 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12436 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12437 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12438 lt_cv_prog_compiler_c_o_FC
=yes
12443 # SGI C++ compiler will create directory out/ii_files/ for
12444 # template instantiation
12445 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12446 $RM out
/* && rmdir out
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12453 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12458 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12459 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12460 $as_echo_n "(cached) " >&6
12462 lt_cv_prog_compiler_c_o_FC
=no
12463 $RM -r conftest
2>/dev
/null
12467 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12469 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12470 # Insert the option either (1) after the last *FLAGS variable, or
12471 # (2) before a word containing "conftest.", or (3) at the end.
12472 # Note that $ac_compile itself does not contain backslashes and begins
12473 # with a dollar sign (not a hyphen), so the echo should work correctly.
12474 lt_compile
=`echo "$ac_compile" | $SED \
12475 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12476 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12477 -e 's:$: $lt_compiler_flag:'`
12478 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12479 (eval "$lt_compile" 2>out
/conftest.err
)
12481 cat out
/conftest.err
>&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12485 # The compiler can only warn and ignore the option if not recognized
12486 # So say no if there are warnings
12487 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12488 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12489 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12490 lt_cv_prog_compiler_c_o_FC
=yes
12495 # SGI C++ compiler will create directory out/ii_files/ for
12496 # template instantiation
12497 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12498 $RM out
/* && rmdir out
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12505 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12510 hard_links
="nottested"
12511 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12512 # do not overwrite the value of need_locks provided by the user
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12514 $as_echo_n "checking if we can lock with hard links... " >&6; }
12517 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12519 ln conftest.a conftest.b
2>&5 || hard_links
=no
12520 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12522 $as_echo "$hard_links" >&6; }
12523 if test "$hard_links" = no
; then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12525 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12535 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12538 allow_undefined_flag_FC
=
12539 always_export_symbols_FC
=no
12541 archive_expsym_cmds_FC
=
12542 compiler_needs_object_FC
=no
12543 enable_shared_with_static_runtimes_FC
=no
12544 export_dynamic_flag_spec_FC
=
12545 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12546 hardcode_automatic_FC
=no
12547 hardcode_direct_FC
=no
12548 hardcode_direct_absolute_FC
=no
12549 hardcode_libdir_flag_spec_FC
=
12550 hardcode_libdir_flag_spec_ld_FC
=
12551 hardcode_libdir_separator_FC
=
12552 hardcode_minus_L_FC
=no
12553 hardcode_shlibpath_var_FC
=unsupported
12554 inherit_rpath_FC
=no
12555 link_all_deplibs_FC
=unknown
12557 module_expsym_cmds_FC
=
12558 old_archive_from_new_cmds_FC
=
12559 old_archive_from_expsyms_cmds_FC
=
12560 thread_safe_flag_spec_FC
=
12561 whole_archive_flag_spec_FC
=
12562 # include_expsyms should be a list of space-separated symbols to be *always*
12563 # included in the symbol list
12564 include_expsyms_FC
=
12565 # exclude_expsyms can be an extended regexp of symbols to exclude
12566 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12567 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12568 # as well as any symbol that contains `d'.
12569 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12570 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12571 # platforms (ab)use it in PIC code, but their linkers get confused if
12572 # the symbol is explicitly referenced. Since portable code cannot
12573 # rely on this symbol name, it's probably fine to never include it in
12574 # preloaded symbol tables.
12575 # Exclude shared library initialization/finalization symbols.
12576 extract_expsyms_cmds
=
12579 cygwin
* | mingw
* | pw32
* | cegcc
*)
12580 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12581 # When not using gcc, we currently assume that we are using
12582 # Microsoft Visual C++.
12583 if test "$GCC" != yes; then
12588 # we just hope/assume this is gcc and not c89 (= MSVC++)
12598 # On some targets, GNU ld is compatible enough with the native linker
12599 # that we're better off using the native interface for both.
12600 lt_use_gnu_ld_interface
=no
12601 if test "$with_gnu_ld" = yes; then
12604 # The AIX port of GNU ld has always aspired to compatibility
12605 # with the native linker. However, as the warning in the GNU ld
12606 # block says, versions before 2.19.5* couldn't really create working
12607 # shared libraries, regardless of the interface used.
12608 case `$LD -v 2>&1` in
12609 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12610 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12611 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12613 lt_use_gnu_ld_interface
=yes
12618 lt_use_gnu_ld_interface
=yes
12623 if test "$lt_use_gnu_ld_interface" = yes; then
12624 # If archive_cmds runs LD, not CC, wlarc should be empty
12627 # Set some defaults for GNU ld with shared library support. These
12628 # are reset later if shared libraries are not supported. Putting them
12629 # here allows them to be overridden if necessary.
12630 runpath_var
=LD_RUN_PATH
12631 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12632 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12633 # ancient GNU ld didn't support --whole-archive et. al.
12634 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12635 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12637 whole_archive_flag_spec_FC
=
12639 supports_anon_versioning
=no
12640 case `$LD -v 2>&1` in
12641 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12642 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12643 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12644 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12645 *\
2.11.
*) ;; # other 2.11 versions
12646 *) supports_anon_versioning
=yes ;;
12649 # See if GNU ld supports shared libraries.
12652 # On AIX/PPC, the GNU linker is very broken
12653 if test "$host_cpu" != ia64
; then
12657 *** Warning: the GNU linker, at least up to release 2.19, is reported
12658 *** to be unable to reliably create shared libraries on AIX.
12659 *** Therefore, libtool is disabling shared libraries support. If you
12660 *** really care for shared libraries, you may want to install binutils
12661 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12662 *** You will then need to restart the configuration process.
12671 # see comment about AmigaOS4 .so support
12672 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12673 archive_expsym_cmds_FC
=''
12676 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)'
12677 hardcode_libdir_flag_spec_FC
='-L$libdir'
12678 hardcode_minus_L_FC
=yes
12684 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12685 allow_undefined_flag_FC
=unsupported
12686 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12687 # support --undefined. This deserves some investigation. FIXME
12688 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12694 cygwin
* | mingw
* | pw32
* | cegcc
*)
12695 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12696 # as there is no search path for DLLs.
12697 hardcode_libdir_flag_spec_FC
='-L$libdir'
12698 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
12699 allow_undefined_flag_FC
=unsupported
12700 always_export_symbols_FC
=no
12701 enable_shared_with_static_runtimes_FC
=yes
12702 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12704 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12705 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12706 # If the export-symbols file already is a .def file (1st line
12707 # is EXPORTS), use it as is; otherwise, prepend...
12708 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12709 cp $export_symbols $output_objdir/$soname.def;
12711 echo EXPORTS > $output_objdir/$soname.def;
12712 cat $export_symbols >> $output_objdir/$soname.def;
12714 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12721 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12722 link_all_deplibs_FC
=yes
12726 hardcode_direct_FC
=no
12727 hardcode_shlibpath_var_FC
=no
12728 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12729 export_dynamic_flag_spec_FC
='${wl}-E'
12730 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12731 # Instead, shared libraries are loaded at an image base (0x10000000 by
12732 # default) and relocated if they conflict, which is a slow very memory
12733 # consuming and fragmenting process. To avoid this, we pick a random,
12734 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12735 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12736 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'
12737 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'
12740 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12742 if test "$host_os" = linux-dietlibc
; then
12743 case $cc_basename in
12744 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12747 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12748 && test "$tmp_diet" = no
12751 tmp_sharedflag
='-shared'
12752 case $cc_basename,$host_cpu in
12753 pgcc
*) # Portland Group C compiler
12754 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'
12755 tmp_addflag
=' $pic_flag'
12757 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12758 # Portland Group f77 and f90 compilers
12759 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'
12760 tmp_addflag
=' $pic_flag -Mnomain' ;;
12761 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12762 tmp_addflag
=' -i_dynamic' ;;
12763 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12764 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12765 ifc
* | ifort
*) # Intel Fortran compiler
12766 tmp_addflag
=' -nofor_main' ;;
12767 lf95
*) # Lahey Fortran 8.1
12768 whole_archive_flag_spec_FC
=
12769 tmp_sharedflag
='--shared' ;;
12770 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12771 tmp_sharedflag
='-qmkshrobj'
12773 nvcc
*) # Cuda Compiler Driver 2.2
12774 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'
12775 compiler_needs_object_FC
=yes
12778 case `$CC -V 2>&1 | sed 5q` in
12779 *Sun\ C
*) # Sun C 5.9
12780 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'
12781 compiler_needs_object_FC
=yes
12782 tmp_sharedflag
='-G' ;;
12783 *Sun\ F
*) # Sun Fortran 8.3
12784 tmp_sharedflag
='-G' ;;
12786 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12788 if test "x$supports_anon_versioning" = xyes
; then
12789 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12790 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12791 echo "local: *; };" >> $output_objdir/$libname.ver~
12792 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12795 case $cc_basename in
12796 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12797 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12798 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12799 hardcode_libdir_flag_spec_FC
=
12800 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12801 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12802 if test "x$supports_anon_versioning" = xyes
; then
12803 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12804 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12805 echo "local: *; };" >> $output_objdir/$libname.ver~
12806 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12816 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12817 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12820 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12826 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12830 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12831 *** create shared libraries on Solaris systems. Therefore, libtool
12832 *** is disabling shared libraries support. We urge you to upgrade GNU
12833 *** binutils to release 2.9.1 or newer. Another option is to modify
12834 *** your PATH or compiler configuration so that the native linker is
12835 *** used, and then restart.
12838 elif $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'
12846 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12847 case `$LD -v 2>&1` in
12848 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12852 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12853 *** reliably create shared libraries on SCO systems. Therefore, libtool
12854 *** is disabling shared libraries support. We urge you to upgrade GNU
12855 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12856 *** your PATH or compiler configuration so that the native linker is
12857 *** used, and then restart.
12862 # For security reasons, it is highly recommended that you always
12863 # use absolute paths for naming shared libraries, and exclude the
12864 # DT_RUNPATH tag from executables and libraries. But doing so
12865 # requires that you compile everything twice, which is a pain.
12866 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12867 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12868 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12869 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12878 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12880 hardcode_direct_FC
=yes
12881 hardcode_shlibpath_var_FC
=no
12885 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12886 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12887 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12894 if test "$ld_shlibs_FC" = no
; then
12896 hardcode_libdir_flag_spec_FC
=
12897 export_dynamic_flag_spec_FC
=
12898 whole_archive_flag_spec_FC
=
12901 # PORTME fill in a description of your system's linker (not GNU ld)
12904 allow_undefined_flag_FC
=unsupported
12905 always_export_symbols_FC
=yes
12906 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'
12907 # Note: this linker hardcodes the directories in LIBPATH if there
12908 # are no directories specified by -L.
12909 hardcode_minus_L_FC
=yes
12910 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12911 # Neither direct hardcoding nor static linking is supported with a
12913 hardcode_direct_FC
=unsupported
12918 if test "$host_cpu" = ia64
; then
12919 # On IA64, the linker does run time linking by default, so we don't
12920 # have to do anything special.
12921 aix_use_runtimelinking
=no
12922 exp_sym_flag
='-Bexport'
12925 # If we're using GNU nm, then we don't want the "-C" option.
12926 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12927 # Also, AIX nm treats weak defined symbols like other global
12928 # defined symbols, whereas GNU nm marks them as "W".
12929 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12930 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'
12932 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'
12934 aix_use_runtimelinking
=no
12936 # Test if we are trying to use run time linking or normal
12937 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12938 # need to do runtime linking.
12939 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12940 for ld_flag
in $LDFLAGS; do
12941 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12942 aix_use_runtimelinking
=yes
12949 exp_sym_flag
='-bexport'
12950 no_entry_flag
='-bnoentry'
12953 # When large executables or shared objects are built, AIX ld can
12954 # have problems creating the table of contents. If linking a library
12955 # or program results in "error TOC overflow" add -mminimal-toc to
12956 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12957 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12960 hardcode_direct_FC
=yes
12961 hardcode_direct_absolute_FC
=yes
12962 hardcode_libdir_separator_FC
=':'
12963 link_all_deplibs_FC
=yes
12964 file_list_spec_FC
='${wl}-f,'
12966 if test "$GCC" = yes; then
12967 case $host_os in aix4.
[012]|aix4.
[012].
*)
12968 # We only want to do this on AIX 4.2 and lower, the check
12969 # below for broken collect2 doesn't work under 4.3+
12970 collect2name
=`${CC} -print-prog-name=collect2`
12971 if test -f "$collect2name" &&
12972 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12974 # We have reworked collect2
12977 # We have old collect2
12978 hardcode_direct_FC
=unsupported
12979 # It fails to find uninstalled libraries when the uninstalled
12980 # path is not listed in the libpath. Setting hardcode_minus_L
12981 # to unsupported forces relinking
12982 hardcode_minus_L_FC
=yes
12983 hardcode_libdir_flag_spec_FC
='-L$libdir'
12984 hardcode_libdir_separator_FC
=
12988 shared_flag
='-shared'
12989 if test "$aix_use_runtimelinking" = yes; then
12990 shared_flag
="$shared_flag "'${wl}-G'
12994 if test "$host_cpu" = ia64
; then
12995 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12996 # chokes on -Wl,-G. The following line is correct:
12999 if test "$aix_use_runtimelinking" = yes; then
13000 shared_flag
='${wl}-G'
13002 shared_flag
='${wl}-bM:SRE'
13007 export_dynamic_flag_spec_FC
='${wl}-bexpall'
13008 # It seems that -bexpall does not export symbols beginning with
13009 # underscore (_), so it is better to generate a list of symbols to export.
13010 always_export_symbols_FC
=yes
13011 if test "$aix_use_runtimelinking" = yes; then
13012 # Warning - without using the other runtime loading flags (-brtl),
13013 # -berok will link without error, but may produce a broken library.
13014 allow_undefined_flag_FC
='-berok'
13015 # Determine the default libpath from the value encoded in an
13016 # empty executable.
13017 cat > conftest.
$ac_ext <<_ACEOF
13022 if ac_fn_fc_try_link
"$LINENO"; then :
13024 lt_aix_libpath_sed
='
13025 /Import File Strings/,/^$/ {
13031 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13032 # Check for a 64-bit object if we didn't find anything.
13033 if test -z "$aix_libpath"; then
13034 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13037 rm -f core conftest.err conftest.
$ac_objext \
13038 conftest
$ac_exeext conftest.
$ac_ext
13039 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13041 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13042 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"
13044 if test "$host_cpu" = ia64
; then
13045 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
13046 allow_undefined_flag_FC
="-z nodefs"
13047 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"
13049 # Determine the default libpath from the value encoded in an
13050 # empty executable.
13051 cat > conftest.
$ac_ext <<_ACEOF
13056 if ac_fn_fc_try_link
"$LINENO"; then :
13058 lt_aix_libpath_sed
='
13059 /Import File Strings/,/^$/ {
13065 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13066 # Check for a 64-bit object if we didn't find anything.
13067 if test -z "$aix_libpath"; then
13068 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13071 rm -f core conftest.err conftest.
$ac_objext \
13072 conftest
$ac_exeext conftest.
$ac_ext
13073 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13075 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
13076 # Warning - without using the other run time loading flags,
13077 # -berok will link without error, but may produce a broken library.
13078 no_undefined_flag_FC
=' ${wl}-bernotok'
13079 allow_undefined_flag_FC
=' ${wl}-berok'
13080 if test "$with_gnu_ld" = yes; then
13081 # We only use this code for GNU lds that support --whole-archive.
13082 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13084 # Exported symbols can be pulled into shared objects from archives
13085 whole_archive_flag_spec_FC
='$convenience'
13087 archive_cmds_need_lc_FC
=yes
13088 # This is similar to how AIX traditionally builds its shared libraries.
13089 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'
13097 # see comment about AmigaOS4 .so support
13098 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13099 archive_expsym_cmds_FC
=''
13102 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)'
13103 hardcode_libdir_flag_spec_FC
='-L$libdir'
13104 hardcode_minus_L_FC
=yes
13110 export_dynamic_flag_spec_FC
=-rdynamic
13113 cygwin
* | mingw
* | pw32
* | cegcc
*)
13114 # When not using gcc, we currently assume that we are using
13115 # Microsoft Visual C++.
13116 # hardcode_libdir_flag_spec is actually meaningless, as there is
13117 # no search path for DLLs.
13118 hardcode_libdir_flag_spec_FC
=' '
13119 allow_undefined_flag_FC
=unsupported
13120 # Tell ltmain to make .lib files, not .a files.
13122 # Tell ltmain to make .dll files, not .so files.
13124 # FIXME: Setting linknames here is a bad hack.
13125 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13126 # The linker will automatically build a .lib file if we build a DLL.
13127 old_archive_from_new_cmds_FC
='true'
13128 # FIXME: Should let the user specify the lib program.
13129 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13130 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
13131 enable_shared_with_static_runtimes_FC
=yes
13134 darwin
* | rhapsody
*)
13137 archive_cmds_need_lc_FC
=no
13138 hardcode_direct_FC
=no
13139 hardcode_automatic_FC
=yes
13140 hardcode_shlibpath_var_FC
=unsupported
13141 if test "$lt_cv_ld_force_load" = "yes"; then
13142 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\"`'
13144 whole_archive_flag_spec_FC
=''
13146 link_all_deplibs_FC
=yes
13147 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
13148 case $cc_basename in
13149 ifort
*) _lt_dar_can_shared
=yes ;;
13150 *) _lt_dar_can_shared
=$GCC ;;
13152 if test "$_lt_dar_can_shared" = "yes"; then
13153 output_verbose_link_cmd
=func_echo_all
13154 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}"
13155 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13156 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}"
13157 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}"
13166 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13167 hardcode_libdir_flag_spec_FC
='-L$libdir'
13168 hardcode_shlibpath_var_FC
=no
13171 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13172 # support. Future versions do this automatically, but an explicit c++rt0.o
13173 # does not break anything, and helps significantly (at the cost of a little
13176 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13177 hardcode_libdir_flag_spec_FC
='-R$libdir'
13178 hardcode_direct_FC
=yes
13179 hardcode_shlibpath_var_FC
=no
13182 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13184 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13185 hardcode_direct_FC
=yes
13186 hardcode_minus_L_FC
=yes
13187 hardcode_shlibpath_var_FC
=no
13190 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13191 freebsd
* | dragonfly
*)
13192 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13193 hardcode_libdir_flag_spec_FC
='-R$libdir'
13194 hardcode_direct_FC
=yes
13195 hardcode_shlibpath_var_FC
=no
13199 if test "$GCC" = yes; then
13200 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'
13202 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'
13204 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13205 hardcode_libdir_separator_FC
=:
13206 hardcode_direct_FC
=yes
13208 # hardcode_minus_L: Not really in the search PATH,
13209 # but as the default location of the library.
13210 hardcode_minus_L_FC
=yes
13211 export_dynamic_flag_spec_FC
='${wl}-E'
13215 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13216 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13218 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13220 if test "$with_gnu_ld" = no
; then
13221 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13222 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13223 hardcode_libdir_separator_FC
=:
13224 hardcode_direct_FC
=yes
13225 hardcode_direct_absolute_FC
=yes
13226 export_dynamic_flag_spec_FC
='${wl}-E'
13227 # hardcode_minus_L: Not really in the search PATH,
13228 # but as the default location of the library.
13229 hardcode_minus_L_FC
=yes
13234 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13237 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13243 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13249 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13255 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13259 if test "$with_gnu_ld" = no
; then
13260 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13261 hardcode_libdir_separator_FC
=:
13265 hardcode_direct_FC
=no
13266 hardcode_shlibpath_var_FC
=no
13269 hardcode_direct_FC
=yes
13270 hardcode_direct_absolute_FC
=yes
13271 export_dynamic_flag_spec_FC
='${wl}-E'
13273 # hardcode_minus_L: Not really in the search PATH,
13274 # but as the default location of the library.
13275 hardcode_minus_L_FC
=yes
13281 irix5
* | irix6
* | nonstopux
*)
13282 if test "$GCC" = yes; then
13283 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'
13284 # Try to use the -exported_symbol ld option, if it does not
13285 # work, assume that -exports_file does not work either and
13286 # implicitly export all symbols.
13287 save_LDFLAGS
="$LDFLAGS"
13288 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13289 cat > conftest.
$ac_ext <<_ACEOF
13292 if ac_fn_fc_try_link
"$LINENO"; then :
13293 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'
13296 rm -f core conftest.err conftest.
$ac_objext \
13297 conftest
$ac_exeext conftest.
$ac_ext
13298 LDFLAGS
="$save_LDFLAGS"
13300 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'
13301 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'
13303 archive_cmds_need_lc_FC
='no'
13304 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13305 hardcode_libdir_separator_FC
=:
13306 inherit_rpath_FC
=yes
13307 link_all_deplibs_FC
=yes
13311 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13312 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13314 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13316 hardcode_libdir_flag_spec_FC
='-R$libdir'
13317 hardcode_direct_FC
=yes
13318 hardcode_shlibpath_var_FC
=no
13322 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13323 hardcode_direct_FC
=yes
13324 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13325 hardcode_libdir_separator_FC
=:
13326 hardcode_shlibpath_var_FC
=no
13333 if test -f /usr
/libexec
/ld.so
; then
13334 hardcode_direct_FC
=yes
13335 hardcode_shlibpath_var_FC
=no
13336 hardcode_direct_absolute_FC
=yes
13337 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13338 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13339 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13340 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13341 export_dynamic_flag_spec_FC
='${wl}-E'
13344 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13345 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13346 hardcode_libdir_flag_spec_FC
='-R$libdir'
13349 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13350 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13360 hardcode_libdir_flag_spec_FC
='-L$libdir'
13361 hardcode_minus_L_FC
=yes
13362 allow_undefined_flag_FC
=unsupported
13363 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'
13364 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13368 if test "$GCC" = yes; then
13369 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13370 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'
13372 allow_undefined_flag_FC
=' -expect_unresolved \*'
13373 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'
13375 archive_cmds_need_lc_FC
='no'
13376 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13377 hardcode_libdir_separator_FC
=:
13380 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13381 if test "$GCC" = yes; then
13382 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13383 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'
13384 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13386 allow_undefined_flag_FC
=' -expect_unresolved \*'
13387 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'
13388 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~
13389 $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'
13391 # Both c and cxx compiler support -rpath directly
13392 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13394 archive_cmds_need_lc_FC
='no'
13395 hardcode_libdir_separator_FC
=:
13399 no_undefined_flag_FC
=' -z defs'
13400 if test "$GCC" = yes; then
13402 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13403 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13404 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13406 case `$CC -V 2>&1` in
13409 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13410 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13411 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13415 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13416 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13417 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13421 hardcode_libdir_flag_spec_FC
='-R$libdir'
13422 hardcode_shlibpath_var_FC
=no
13424 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13426 # The compiler driver will combine and reorder linker options,
13427 # but understands `-z linker_flag'. GCC discards it without `$wl',
13428 # but is careful enough not to reorder.
13429 # Supported since Solaris 2.6 (maybe 2.5.1?)
13430 if test "$GCC" = yes; then
13431 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13433 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13437 link_all_deplibs_FC
=yes
13441 if test "x$host_vendor" = xsequent
; then
13442 # Use $CC to link under sequent, because it throws in some extra .o
13443 # files that make .init and .fini sections work.
13444 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13446 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13448 hardcode_libdir_flag_spec_FC
='-L$libdir'
13449 hardcode_direct_FC
=yes
13450 hardcode_minus_L_FC
=yes
13451 hardcode_shlibpath_var_FC
=no
13455 case $host_vendor in
13457 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13458 hardcode_direct_FC
=yes # is this really true???
13461 ## LD is ld it makes a PLAMLIB
13462 ## CC just makes a GrossModule.
13463 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13464 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13465 hardcode_direct_FC
=no
13468 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13469 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13472 runpath_var
='LD_RUN_PATH'
13473 hardcode_shlibpath_var_FC
=no
13477 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13478 hardcode_shlibpath_var_FC
=no
13479 export_dynamic_flag_spec_FC
='-Bexport'
13483 if test -d /usr
/nec
; then
13484 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13485 hardcode_shlibpath_var_FC
=no
13486 runpath_var
=LD_RUN_PATH
13487 hardcode_runpath_var
=yes
13492 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13493 no_undefined_flag_FC
='${wl}-z,text'
13494 archive_cmds_need_lc_FC
=no
13495 hardcode_shlibpath_var_FC
=no
13496 runpath_var
='LD_RUN_PATH'
13498 if test "$GCC" = yes; then
13499 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13500 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13502 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13503 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13507 sysv5
* | sco3.2v5
* | sco5v6
*)
13508 # Note: We can NOT use -z defs as we might desire, because we do not
13509 # link with -lc, and that would cause any symbols used from libc to
13510 # always be unresolved, which means just about no library would
13511 # ever link correctly. If we're not using GNU ld we use -z text
13512 # though, which does catch some bad symbols but isn't as heavy-handed
13514 no_undefined_flag_FC
='${wl}-z,text'
13515 allow_undefined_flag_FC
='${wl}-z,nodefs'
13516 archive_cmds_need_lc_FC
=no
13517 hardcode_shlibpath_var_FC
=no
13518 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13519 hardcode_libdir_separator_FC
=':'
13520 link_all_deplibs_FC
=yes
13521 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13522 runpath_var
='LD_RUN_PATH'
13524 if test "$GCC" = yes; then
13525 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13526 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13528 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13529 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13534 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13535 hardcode_libdir_flag_spec_FC
='-L$libdir'
13536 hardcode_shlibpath_var_FC
=no
13544 if test x
$host_vendor = xsni
; then
13546 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13547 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13554 $as_echo "$ld_shlibs_FC" >&6; }
13555 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13557 with_gnu_ld_FC
=$with_gnu_ld
13565 # Do we need to explicitly link libc?
13567 case "x$archive_cmds_need_lc_FC" in
13569 # Assume -lc should be added
13570 archive_cmds_need_lc_FC
=yes
13572 if test "$enable_shared" = yes && test "$GCC" = yes; then
13573 case $archive_cmds_FC in
13575 # FIXME: we may have to deal with multi-command sequences.
13578 # Test whether the compiler implicitly links with -lc since on some
13579 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13580 # to ld, don't add -lc before -lgcc.
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13582 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13583 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13584 $as_echo_n "(cached) " >&6
13587 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13590 (eval $ac_compile) 2>&5
13592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13593 test $ac_status = 0; } 2>conftest.err
; then
13596 libobjs
=conftest.
$ac_objext
13598 wl
=$lt_prog_compiler_wl_FC
13599 pic_flag
=$lt_prog_compiler_pic_FC
13605 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13606 allow_undefined_flag_FC
=
13607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13608 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13611 test $ac_status = 0; }
13613 lt_cv_archive_cmds_need_lc_FC
=no
13615 lt_cv_archive_cmds_need_lc_FC
=yes
13617 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13619 cat conftest.err
1>&5
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13625 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13626 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13697 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13699 library_names_spec
=
13700 libname_spec
='lib$name'
13704 postuninstall_cmds
=
13708 shlibpath_overrides_runpath
=unknown
13710 dynamic_linker
="$host_os ld.so"
13711 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13712 need_lib_prefix
=unknown
13713 hardcode_into_libs
=no
13715 # when you set need_version to no, make sure it does not cause -set_version
13716 # flags to be left without arguments
13717 need_version
=unknown
13722 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13723 shlibpath_var
=LIBPATH
13725 # AIX 3 has no versioning support, so we append a major version to the name.
13726 soname_spec
='${libname}${release}${shared_ext}$major'
13733 hardcode_into_libs
=yes
13734 if test "$host_cpu" = ia64
; then
13735 # AIX 5 supports IA64
13736 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13737 shlibpath_var
=LD_LIBRARY_PATH
13739 # With GCC up to 2.95.x, collect2 would create an import file
13740 # for dependence libraries. The import file would start with
13741 # the line `#! .'. This would cause the generated library to
13742 # depend on `.', always an invalid library. This was fixed in
13743 # development snapshots of GCC prior to 3.0.
13745 aix4 | aix4.
[01] | aix4.
[01].
*)
13746 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13748 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13751 can_build_shared
=no
13755 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13756 # soname into executable. Probably we can add versioning support to
13757 # collect2, so additional links can be useful in future.
13758 if test "$aix_use_runtimelinking" = yes; then
13759 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13760 # instead of lib<name>.a to let people know that these are not
13761 # typical AIX shared libraries.
13762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13764 # We preserve .a as extension for shared libraries through AIX4.2
13765 # and later when we are not doing run time linking.
13766 library_names_spec
='${libname}${release}.a $libname.a'
13767 soname_spec
='${libname}${release}${shared_ext}$major'
13769 shlibpath_var
=LIBPATH
13776 # Since July 2007 AmigaOS4 officially supports .so libraries.
13777 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13781 library_names_spec
='$libname.ixlibrary $libname.a'
13782 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13783 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'
13789 library_names_spec
='${libname}${shared_ext}'
13790 dynamic_linker
="$host_os ld.so"
13791 shlibpath_var
=LIBRARY_PATH
13797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13798 soname_spec
='${libname}${release}${shared_ext}$major'
13799 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13800 shlibpath_var
=LD_LIBRARY_PATH
13801 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13802 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13803 # the default ld.so.conf also contains /usr/contrib/lib and
13804 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13805 # libtool to hard-code these into programs
13808 cygwin
* | mingw
* | pw32
* | cegcc
*)
13809 version_type
=windows
13814 case $GCC,$host_os in
13815 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13816 library_names_spec
='$libname.dll.a'
13817 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13818 postinstall_cmds
='base_file=`basename \${file}`~
13819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13820 dldir=$destdir/`dirname \$dlpath`~
13821 test -d \$dldir || mkdir -p \$dldir~
13822 $install_prog $dir/$dlname \$dldir/$dlname~
13823 chmod a+x \$dldir/$dlname~
13824 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13825 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13827 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13828 dlpath=$dir/\$dldll~
13830 shlibpath_overrides_runpath
=yes
13834 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13835 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13839 # MinGW DLLs use traditional 'lib' prefix
13840 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13843 # pw32 DLLs use 'pw' prefix rather than 'lib'
13844 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13850 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13853 dynamic_linker
='Win32 ld.exe'
13854 # FIXME: first we should search . and the directory the executable is in
13858 darwin
* | rhapsody
*)
13859 dynamic_linker
="$host_os dyld"
13860 version_type
=darwin
13863 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13864 soname_spec
='${libname}${release}${major}$shared_ext'
13865 shlibpath_overrides_runpath
=yes
13866 shlibpath_var
=DYLD_LIBRARY_PATH
13867 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13869 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13877 soname_spec
='${libname}${release}${shared_ext}$major'
13878 shlibpath_var
=LD_LIBRARY_PATH
13881 freebsd
* | dragonfly
*)
13882 # DragonFly does not have aout. When/if they implement a new
13883 # versioning mechanism, adjust this.
13884 if test -x /usr
/bin
/objformat
; then
13885 objformat
=`/usr/bin/objformat`
13888 freebsd
[23].
*) objformat
=aout
;;
13889 *) objformat
=elf
;;
13892 version_type
=freebsd-
$objformat
13893 case $version_type in
13895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13900 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13904 shlibpath_var
=LD_LIBRARY_PATH
13907 shlibpath_overrides_runpath
=yes
13909 freebsd3.
[01]* | freebsdelf3.
[01]*)
13910 shlibpath_overrides_runpath
=yes
13911 hardcode_into_libs
=yes
13913 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13914 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13915 shlibpath_overrides_runpath
=no
13916 hardcode_into_libs
=yes
13918 *) # from 4.6 on, and DragonFly
13919 shlibpath_overrides_runpath
=yes
13920 hardcode_into_libs
=yes
13929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13930 soname_spec
='${libname}${release}${shared_ext}$major'
13931 shlibpath_var
=LD_LIBRARY_PATH
13932 hardcode_into_libs
=yes
13939 dynamic_linker
="$host_os runtime_loader"
13940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13941 soname_spec
='${libname}${release}${shared_ext}$major'
13942 shlibpath_var
=LIBRARY_PATH
13943 shlibpath_overrides_runpath
=yes
13944 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13945 hardcode_into_libs
=yes
13948 hpux9
* | hpux10
* | hpux11
*)
13949 # Give a soname corresponding to the major version so that dld.sl refuses to
13950 # link against other versions.
13957 hardcode_into_libs
=yes
13958 dynamic_linker
="$host_os dld.so"
13959 shlibpath_var
=LD_LIBRARY_PATH
13960 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32
; then
13964 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13966 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13968 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13972 hardcode_into_libs
=yes
13973 dynamic_linker
="$host_os dld.sl"
13974 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13975 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13977 soname_spec
='${libname}${release}${shared_ext}$major'
13978 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13979 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13983 dynamic_linker
="$host_os dld.sl"
13984 shlibpath_var
=SHLIB_PATH
13985 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13987 soname_spec
='${libname}${release}${shared_ext}$major'
13990 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13991 postinstall_cmds
='chmod 555 $lib'
13992 # or fails outright, so override atomically:
13993 install_override_mode
=555
14000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14001 soname_spec
='${libname}${release}${shared_ext}$major'
14002 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14003 shlibpath_var
=LD_LIBRARY_PATH
14004 shlibpath_overrides_runpath
=no
14005 hardcode_into_libs
=yes
14008 irix5
* | irix6
* | nonstopux
*)
14010 nonstopux
*) version_type
=nonstopux
;;
14012 if test "$lt_cv_prog_gnu_ld" = yes; then
14020 soname_spec
='${libname}${release}${shared_ext}$major'
14021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14023 irix5
* | nonstopux
*)
14024 libsuff
= shlibsuff
=
14027 case $LD in # libtool.m4 will add one of these switches to LD
14028 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14029 libsuff
= shlibsuff
= libmagic
=32-bit;;
14030 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14031 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14032 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14033 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14034 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14038 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14039 shlibpath_overrides_runpath
=no
14040 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14041 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14042 hardcode_into_libs
=yes
14045 # No shared lib support for Linux oldld, aout, or coff.
14046 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14050 # This must be Linux ELF.
14051 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14056 soname_spec
='${libname}${release}${shared_ext}$major'
14057 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14058 shlibpath_var
=LD_LIBRARY_PATH
14059 shlibpath_overrides_runpath
=no
14061 # Some binutils ld are patched to set DT_RUNPATH
14062 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14063 $as_echo_n "(cached) " >&6
14065 lt_cv_shlibpath_overrides_runpath
=no
14066 save_LDFLAGS
=$LDFLAGS
14067 save_libdir
=$libdir
14068 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14069 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14070 cat > conftest.
$ac_ext <<_ACEOF
14075 if ac_fn_fc_try_link
"$LINENO"; then :
14076 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14077 lt_cv_shlibpath_overrides_runpath
=yes
14080 rm -f core conftest.err conftest.
$ac_objext \
14081 conftest
$ac_exeext conftest.
$ac_ext
14082 LDFLAGS
=$save_LDFLAGS
14083 libdir
=$save_libdir
14087 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14089 # This implies no fast_install, which is unacceptable.
14090 # Some rework will be needed to allow for fast_install
14091 # before this can be enabled.
14092 hardcode_into_libs
=yes
14094 # Append ld.so.conf contents to the search path
14095 if test -f /etc
/ld.so.conf
; then
14096 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' ' '`
14097 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14100 # We used to test for /lib/ld.so.1 and disable shared libraries on
14101 # powerpc, because MkLinux only supported shared libraries with the
14102 # GNU dynamic linker. Since this was broken with cross compilers,
14103 # most powerpc-linux boxes support dynamic linking these days and
14104 # people can always --disable-shared, the test was removed, and we
14105 # assume the GNU/Linux dynamic linker is in use.
14106 dynamic_linker
='GNU/Linux ld.so'
14113 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14115 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14116 dynamic_linker
='NetBSD (a.out) ld.so'
14118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14119 soname_spec
='${libname}${release}${shared_ext}$major'
14120 dynamic_linker
='NetBSD ld.elf_so'
14122 shlibpath_var
=LD_LIBRARY_PATH
14123 shlibpath_overrides_runpath
=yes
14124 hardcode_into_libs
=yes
14129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14130 shlibpath_var
=LD_LIBRARY_PATH
14131 shlibpath_overrides_runpath
=yes
14138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14139 soname_spec
='${libname}${release}${shared_ext}$major'
14140 shlibpath_var
=LD_LIBRARY_PATH
14141 shlibpath_overrides_runpath
=no
14142 hardcode_into_libs
=yes
14143 dynamic_linker
='ldqnx.so'
14148 sys_lib_dlsearch_path_spec
="/usr/lib"
14150 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14152 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14153 *) need_version
=no
;;
14155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14156 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14157 shlibpath_var
=LD_LIBRARY_PATH
14158 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14160 openbsd2.
[89] | openbsd2.
[89].
*)
14161 shlibpath_overrides_runpath
=no
14164 shlibpath_overrides_runpath
=yes
14168 shlibpath_overrides_runpath
=yes
14173 libname_spec
='$name'
14176 library_names_spec
='$libname${shared_ext} $libname.a'
14177 dynamic_linker
='OS/2 ld.exe'
14178 shlibpath_var
=LIBPATH
14181 osf3
* | osf4
* | osf5
*)
14185 soname_spec
='${libname}${release}${shared_ext}$major'
14186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14187 shlibpath_var
=LD_LIBRARY_PATH
14188 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14189 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14201 soname_spec
='${libname}${release}${shared_ext}$major'
14202 shlibpath_var
=LD_LIBRARY_PATH
14203 shlibpath_overrides_runpath
=yes
14204 hardcode_into_libs
=yes
14205 # ldd complains unless libraries are executable
14206 postinstall_cmds
='chmod +x $lib'
14211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14212 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14213 shlibpath_var
=LD_LIBRARY_PATH
14214 shlibpath_overrides_runpath
=yes
14215 if test "$with_gnu_ld" = yes; then
14223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14224 soname_spec
='${libname}${release}${shared_ext}$major'
14225 shlibpath_var
=LD_LIBRARY_PATH
14226 case $host_vendor in
14228 shlibpath_overrides_runpath
=no
14230 runpath_var
=LD_RUN_PATH
14238 shlibpath_overrides_runpath
=no
14239 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14245 if test -d /usr
/nec
;then
14247 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14248 soname_spec
='$libname${shared_ext}.$major'
14249 shlibpath_var
=LD_LIBRARY_PATH
14253 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14254 version_type
=freebsd-elf
14257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14258 soname_spec
='${libname}${release}${shared_ext}$major'
14259 shlibpath_var
=LD_LIBRARY_PATH
14260 shlibpath_overrides_runpath
=yes
14261 hardcode_into_libs
=yes
14262 if test "$with_gnu_ld" = yes; then
14263 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14265 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14268 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14272 sys_lib_dlsearch_path_spec
='/usr/lib'
14276 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14281 shlibpath_var
=LD_LIBRARY_PATH
14282 shlibpath_overrides_runpath
=no
14283 hardcode_into_libs
=yes
14288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14289 soname_spec
='${libname}${release}${shared_ext}$major'
14290 shlibpath_var
=LD_LIBRARY_PATH
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14298 $as_echo "$dynamic_linker" >&6; }
14299 test "$dynamic_linker" = no
&& can_build_shared
=no
14301 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14302 if test "$GCC" = yes; then
14303 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14306 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14307 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14309 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14310 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14351 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14352 hardcode_action_FC
=
14353 if test -n "$hardcode_libdir_flag_spec_FC" ||
14354 test -n "$runpath_var_FC" ||
14355 test "X$hardcode_automatic_FC" = "Xyes" ; then
14357 # We can hardcode non-existent directories.
14358 if test "$hardcode_direct_FC" != no
&&
14359 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14360 # have to relink, otherwise we might link with an installed library
14361 # when we should be linking with a yet-to-be-installed one
14362 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14363 test "$hardcode_minus_L_FC" != no
; then
14364 # Linking always hardcodes the temporary library directory.
14365 hardcode_action_FC
=relink
14367 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14368 hardcode_action_FC
=immediate
14371 # We cannot hardcode anything, or else we can only hardcode existing
14373 hardcode_action_FC
=unsupported
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14376 $as_echo "$hardcode_action_FC" >&6; }
14378 if test "$hardcode_action_FC" = relink ||
14379 test "$inherit_rpath_FC" = yes; then
14380 # Fast installation is not supported
14381 enable_fast_install
=no
14382 elif test "$shlibpath_overrides_runpath" = yes ||
14383 test "$enable_shared" = no
; then
14384 # Fast installation is not necessary
14385 enable_fast_install
=needless
14394 fi # test -n "$compiler"
14398 fi # test "$_lt_disable_FC" != yes
14401 ac_cpp
='$CPP $CPPFLAGS'
14402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14407 FCFLAGS
="$FCFLAGS -Wall -L../libgfortran"
14409 # For libtool versioning info, format is CURRENT:REVISION:AGE
14410 libtool_VERSION
=1:0:0
14413 # Check header files.
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14415 $as_echo_n "checking for ANSI C header files... " >&6; }
14416 if test "${ac_cv_header_stdc+set}" = set; then :
14417 $as_echo_n "(cached) " >&6
14419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14421 #include <stdlib.h>
14422 #include <stdarg.h>
14423 #include <string.h>
14434 if ac_fn_c_try_compile
"$LINENO"; then :
14435 ac_cv_header_stdc
=yes
14437 ac_cv_header_stdc
=no
14439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14441 if test $ac_cv_header_stdc = yes; then
14442 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 #include <string.h>
14448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14449 $EGREP "memchr" >/dev
/null
2>&1; then :
14452 ac_cv_header_stdc
=no
14458 if test $ac_cv_header_stdc = yes; then
14459 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14462 #include <stdlib.h>
14465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14466 $EGREP "free" >/dev
/null
2>&1; then :
14469 ac_cv_header_stdc
=no
14475 if test $ac_cv_header_stdc = yes; then
14476 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14477 if test "$cross_compiling" = yes; then :
14480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14483 #include <stdlib.h>
14484 #if ((' ' & 0x0FF) == 0x020)
14485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14488 # define ISLOWER(c) \
14489 (('a' <= (c) && (c) <= 'i') \
14490 || ('j' <= (c) && (c) <= 'r') \
14491 || ('s' <= (c) && (c) <= 'z'))
14492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14500 for (i = 0; i < 256; i++)
14501 if (XOR (islower (i), ISLOWER (i))
14502 || toupper (i) != TOUPPER (i))
14507 if ac_fn_c_try_run
"$LINENO"; then :
14510 ac_cv_header_stdc
=no
14512 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14513 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14519 $as_echo "$ac_cv_header_stdc" >&6; }
14520 if test $ac_cv_header_stdc = yes; then
14522 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14527 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14528 if test "${ac_cv_header_time+set}" = set; then :
14529 $as_echo_n "(cached) " >&6
14531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14533 #include <sys/types.h>
14534 #include <sys/time.h>
14540 if ((struct tm *) 0)
14546 if ac_fn_c_try_compile
"$LINENO"; then :
14547 ac_cv_header_time
=yes
14549 ac_cv_header_time
=no
14551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14554 $as_echo "$ac_cv_header_time" >&6; }
14555 if test $ac_cv_header_time = yes; then
14557 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
14562 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
14563 if test "${gcc_cv_header_string+set}" = set; then :
14564 $as_echo_n "(cached) " >&6
14566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14568 #include <string.h>
14569 #include <strings.h>
14578 if ac_fn_c_try_compile
"$LINENO"; then :
14579 gcc_cv_header_string
=yes
14581 gcc_cv_header_string
=no
14583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
14586 $as_echo "$gcc_cv_header_string" >&6; }
14587 if test $gcc_cv_header_string = yes; then
14589 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
14593 for ac_header
in unistd.h semaphore.h sys
/loadavg.h sys
/time.h sys
/time.h
14595 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14596 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14597 eval as_val
=\$
$as_ac_Header
14598 if test "x$as_val" = x
""yes; then :
14599 cat >>confdefs.h
<<_ACEOF
14600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14610 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14612 acx_cv_header_stdint
=stddef.h
14613 acx_cv_header_stdint_kind
="(already complete)"
14614 for i
in stdint.h
$inttype_headers; do
14615 unset ac_cv_type_uintptr_t
14616 unset ac_cv_type_uintmax_t
14617 unset ac_cv_type_int_least32_t
14618 unset ac_cv_type_int_fast32_t
14619 unset ac_cv_type_uint64_t
14620 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
14621 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
14624 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
14625 acx_cv_header_stdint
=$i
14630 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14633 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14636 acx_cv_header_stdint_kind
="(mostly complete)"
14639 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
14642 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
14645 acx_cv_header_stdint_kind
="(mostly complete)"
14648 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
14651 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
14654 acx_cv_header_stdint_kind
="(mostly complete)"
14657 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14660 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14663 acx_cv_header_stdint_kind
="(lacks uint64_t)"
14668 if test "$acx_cv_header_stdint" = stddef.h
; then
14669 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
14670 for i
in stdint.h
$inttype_headers; do
14671 unset ac_cv_type_uintptr_t
14672 unset ac_cv_type_uint32_t
14673 unset ac_cv_type_uint64_t
14674 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
14675 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
14678 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
14679 acx_cv_header_stdint
=$i
14684 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
14687 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
14691 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
14694 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14701 if test "$acx_cv_header_stdint" = stddef.h
; then
14702 acx_cv_header_stdint_kind
="(u_intXX_t style)"
14703 for i
in sys
/types.h
$inttype_headers; do
14704 unset ac_cv_type_u_int32_t
14705 unset ac_cv_type_u_int64_t
14706 $as_echo_n "looking for u_intXX_t types in $i, " >&6
14707 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
14710 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
14711 acx_cv_header_stdint
=$i
14716 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
14719 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
14726 if test "$acx_cv_header_stdint" = stddef.h
; then
14727 acx_cv_header_stdint_kind
="(using manual detection)"
14730 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
14731 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
14732 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
14733 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
14734 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
14736 # ----------------- Summarize what we found so far
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
14739 $as_echo_n "checking what to include in gstdint.h... " >&6; }
14741 case `$as_basename -- gstdint.h ||
14742 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
14743 Xgstdint.h : 'X\(//\)$' \| \
14744 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
14745 $as_echo X/gstdint.h |
14746 sed '/^.*\/\([^/][^/]*\)\/*$/{
14759 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14760 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14761 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
14762 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
14767 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
14769 # ----------------- done included file, check C basic types --------
14771 # Lacking an uintptr_t? Test size of void *
14772 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
14773 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
14774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14776 # This bug is HP SR number 8606223364.
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
14778 $as_echo_n "checking size of void *... " >&6; }
14779 if test "${ac_cv_sizeof_void_p+set}" = set; then :
14780 $as_echo_n "(cached) " >&6
14782 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
14785 if test "$ac_cv_type_void_p" = yes; then
14786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14788 { as_fn_set_status
77
14789 as_fn_error
"cannot compute sizeof (void *)
14790 See \`config.log' for more details." "$LINENO" 5; }; }
14792 ac_cv_sizeof_void_p
=0
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
14798 $as_echo "$ac_cv_sizeof_void_p" >&6; }
14802 cat >>confdefs.h
<<_ACEOF
14803 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14809 # Lacking an uint64_t? Test size of long
14810 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14811 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
14812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14814 # This bug is HP SR number 8606223364.
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14816 $as_echo_n "checking size of long... " >&6; }
14817 if test "${ac_cv_sizeof_long+set}" = set; then :
14818 $as_echo_n "(cached) " >&6
14820 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14823 if test "$ac_cv_type_long" = yes; then
14824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14826 { as_fn_set_status
77
14827 as_fn_error
"cannot compute sizeof (long)
14828 See \`config.log' for more details." "$LINENO" 5; }; }
14830 ac_cv_sizeof_long
=0
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14836 $as_echo "$ac_cv_sizeof_long" >&6; }
14840 cat >>confdefs.h
<<_ACEOF
14841 #define SIZEOF_LONG $ac_cv_sizeof_long
14847 if test $acx_cv_header_stdint = stddef.h
; then
14848 # Lacking a good header? Test size of everything and deduce all types.
14849 # The cast to long int works around a bug in the HP C Compiler
14850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14852 # This bug is HP SR number 8606223364.
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14854 $as_echo_n "checking size of int... " >&6; }
14855 if test "${ac_cv_sizeof_int+set}" = set; then :
14856 $as_echo_n "(cached) " >&6
14858 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
14861 if test "$ac_cv_type_int" = yes; then
14862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14864 { as_fn_set_status
77
14865 as_fn_error
"cannot compute sizeof (int)
14866 See \`config.log' for more details." "$LINENO" 5; }; }
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14874 $as_echo "$ac_cv_sizeof_int" >&6; }
14878 cat >>confdefs.h
<<_ACEOF
14879 #define SIZEOF_INT $ac_cv_sizeof_int
14883 # The cast to long int works around a bug in the HP C Compiler
14884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14886 # This bug is HP SR number 8606223364.
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14888 $as_echo_n "checking size of short... " >&6; }
14889 if test "${ac_cv_sizeof_short+set}" = set; then :
14890 $as_echo_n "(cached) " >&6
14892 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
14895 if test "$ac_cv_type_short" = yes; then
14896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14898 { as_fn_set_status
77
14899 as_fn_error
"cannot compute sizeof (short)
14900 See \`config.log' for more details." "$LINENO" 5; }; }
14902 ac_cv_sizeof_short
=0
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14908 $as_echo "$ac_cv_sizeof_short" >&6; }
14912 cat >>confdefs.h
<<_ACEOF
14913 #define SIZEOF_SHORT $ac_cv_sizeof_short
14917 # The cast to long int works around a bug in the HP C Compiler
14918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14919 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14920 # This bug is HP SR number 8606223364.
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
14922 $as_echo_n "checking size of char... " >&6; }
14923 if test "${ac_cv_sizeof_char+set}" = set; then :
14924 $as_echo_n "(cached) " >&6
14926 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
14929 if test "$ac_cv_type_char" = yes; then
14930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14932 { as_fn_set_status
77
14933 as_fn_error
"cannot compute sizeof (char)
14934 See \`config.log' for more details." "$LINENO" 5; }; }
14936 ac_cv_sizeof_char
=0
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
14942 $as_echo "$ac_cv_sizeof_char" >&6; }
14946 cat >>confdefs.h
<<_ACEOF
14947 #define SIZEOF_CHAR $ac_cv_sizeof_char
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
14953 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
14954 case "$ac_cv_sizeof_char" in
14955 1) acx_cv_type_int8_t
=char
;;
14956 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
14959 $as_echo "$acx_cv_type_int8_t" >&6; }
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
14962 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
14963 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
14964 2:*) acx_cv_type_int16_t
=int
;;
14965 *:2) acx_cv_type_int16_t
=short
;;
14966 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
14969 $as_echo "$acx_cv_type_int16_t" >&6; }
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
14972 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
14973 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
14974 4:*) acx_cv_type_int32_t
=int
;;
14975 *:4) acx_cv_type_int32_t
=long
;;
14976 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
14979 $as_echo "$acx_cv_type_int32_t" >&6; }
14982 # These tests are here to make the output prettier
14984 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
14985 case "$ac_cv_sizeof_long" in
14986 8) acx_cv_type_int64_t
=long
;;
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
14989 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
14991 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
14994 # Now we can use the above types
14996 if test "$ac_cv_type_uintptr_t" != yes; then
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
14998 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
14999 case $ac_cv_sizeof_void_p in
15000 2) acx_cv_type_intptr_t
=int16_t
;;
15001 4) acx_cv_type_intptr_t
=int32_t
;;
15002 8) acx_cv_type_intptr_t
=int64_t
;;
15003 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15006 $as_echo "$acx_cv_type_intptr_t" >&6; }
15009 # ----------------- done all checks, emit header -------------
15010 ac_config_commands
="$ac_config_commands gstdint.h"
15015 # Check to see if -pthread or -lpthread is needed. Prefer the former.
15016 # In case the pthread.h system header is not found, this test will fail.
15018 CFLAGS
="$CFLAGS -pthread"
15019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15021 #include <pthread.h>
15022 void *g(void *d) { return NULL; }
15026 pthread_t t; pthread_create(&t,NULL,g,NULL);
15031 if ac_fn_c_try_link
"$LINENO"; then :
15032 XPCFLAGS
=" -Wc,-pthread"
15034 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
15035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15036 /* end confdefs.h. */
15037 #include <pthread.h>
15038 void *g(void *d) { return NULL; }
15042 pthread_t t; pthread_create(&t,NULL,g,NULL);
15047 if ac_fn_c_try_link
"$LINENO"; then :
15050 as_fn_error
"Pthreads are required to build libgomp" "$LINENO" 5
15052 rm -f core conftest.err conftest.
$ac_objext \
15053 conftest
$ac_exeext conftest.
$ac_ext
15055 rm -f core conftest.err conftest.
$ac_objext \
15056 conftest
$ac_exeext conftest.
$ac_ext
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
15060 $as_echo_n "checking for dlsym in -ldl... " >&6; }
15061 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
15062 $as_echo_n "(cached) " >&6
15064 ac_check_lib_save_LIBS
=$LIBS
15066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15084 if ac_fn_c_try_link
"$LINENO"; then :
15085 ac_cv_lib_dl_dlsym
=yes
15087 ac_cv_lib_dl_dlsym
=no
15089 rm -f core conftest.err conftest.
$ac_objext \
15090 conftest
$ac_exeext conftest.
$ac_ext
15091 LIBS
=$ac_check_lib_save_LIBS
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
15094 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
15095 if test "x$ac_cv_lib_dl_dlsym" = x
""yes; then :
15096 cat >>confdefs.h
<<_ACEOF
15097 #define HAVE_LIBDL 1
15106 if test x
"$plugin_support" = xyes
; then
15108 $as_echo "#define PLUGIN_SUPPORT 1" >>confdefs.h
15112 # Check for functions needed.
15113 for ac_func
in getloadavg clock_gettime strtoull
15115 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15116 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15117 eval as_val
=\$
$as_ac_var
15118 if test "x$as_val" = x
""yes; then :
15119 cat >>confdefs.h
<<_ACEOF
15120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15127 # Check for broken semaphore implementation on darwin.
15128 # sem_init returns: sem_init error: Function not implemented.
15132 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
15137 # Check whether --enable-linux-futex was given.
15138 if test "${enable_linux_futex+set}" = set; then :
15139 enableval
=$enable_linux_futex;
15140 case "$enableval" in
15142 *) as_fn_error
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
15146 enable_linux_futex
=default
15152 case "$enable_linux_futex" in
15154 # If headers don't have gettid/futex syscalls definition, then
15155 # default to no, otherwise there will be compile time failures.
15156 # Otherwise, default to yes. If we don't detect we are
15157 # compiled/linked against NPTL and not cross-compiling, check
15158 # if programs are run by default against NPTL and if not, issue
15160 enable_linux_futex
=no
15161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15163 #include <sys/syscall.h>
15168 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15173 if ac_fn_c_try_link
"$LINENO"; then :
15175 LIBS
="-lpthread $LIBS"
15176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 #ifndef _GNU_SOURCE
15179 #define _GNU_SOURCE 1
15181 #include <pthread.h>
15182 pthread_t th; void *status;
15186 pthread_tryjoin_np (th, &status);
15191 if ac_fn_c_try_link
"$LINENO"; then :
15192 enable_linux_futex
=yes
15194 if test x
$cross_compiling = xno
; then
15195 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
15196 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
15198 If so, please configure with --disable-linux-futex" >&5
15199 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
15200 If so, please configure with --disable-linux-futex" >&2;}
15203 enable_linux_futex
=yes
15205 rm -f core conftest.err conftest.
$ac_objext \
15206 conftest
$ac_exeext conftest.
$ac_ext
15209 rm -f core conftest.err conftest.
$ac_objext \
15210 conftest
$ac_exeext conftest.
$ac_ext
15213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15215 #include <sys/syscall.h>
15220 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
15225 if ac_fn_c_try_link
"$LINENO"; then :
15228 as_fn_error
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
15230 rm -f core conftest.err conftest.
$ac_objext \
15231 conftest
$ac_exeext conftest.
$ac_ext
15236 enable_linux_futex
=no
15239 if test x
$enable_linux_futex = xyes
; then
15244 # Check for pthread_{,attr_}[sg]etaffinity_np.
15245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15247 #define _GNU_SOURCE
15248 #include <pthread.h>
15253 pthread_attr_t attr;
15254 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15255 if (CPU_ISSET (0, &cpuset))
15256 CPU_SET (1, &cpuset);
15258 CPU_ZERO (&cpuset);
15259 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
15260 pthread_attr_init (&attr);
15261 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15262 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
15267 if ac_fn_c_try_link
"$LINENO"; then :
15269 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
15272 rm -f core conftest.err conftest.
$ac_objext \
15273 conftest
$ac_exeext conftest.
$ac_ext
15275 # At least for glibc, clock_gettime is in librt. But don't pull that
15276 # in if it still doesn't give us the function we want.
15277 if test $ac_cv_func_clock_gettime = no
; then
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
15279 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
15280 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
15281 $as_echo_n "(cached) " >&6
15283 ac_check_lib_save_LIBS
=$LIBS
15285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15288 /* Override any GCC internal prototype to avoid an error.
15289 Use char because int might match the return type of a GCC
15290 builtin and then its argument prototype would still apply. */
15294 char clock_gettime ();
15298 return clock_gettime ();
15303 if ac_fn_c_try_link
"$LINENO"; then :
15304 ac_cv_lib_rt_clock_gettime
=yes
15306 ac_cv_lib_rt_clock_gettime
=no
15308 rm -f core conftest.err conftest.
$ac_objext \
15309 conftest
$ac_exeext conftest.
$ac_ext
15310 LIBS
=$ac_check_lib_save_LIBS
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
15313 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
15314 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
15317 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15323 # See if we support thread-local storage.
15326 # Check whether --enable-tls was given.
15327 if test "${enable_tls+set}" = set; then :
15328 enableval
=$enable_tls;
15329 case "$enableval" in
15331 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
15340 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
15341 if test "${gcc_cv_have_tls+set}" = set; then :
15342 $as_echo_n "(cached) " >&6
15345 if test "$cross_compiling" = yes; then :
15346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348 __thread int a; int b; int main() { return a = b; }
15350 if ac_fn_c_try_link
"$LINENO"; then :
15351 chktls_save_LDFLAGS
="$LDFLAGS"
15354 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
15357 chktls_save_CFLAGS
="$CFLAGS"
15358 CFLAGS
="-fPIC $CFLAGS"
15359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15361 int f() { return 0; }
15363 if ac_fn_c_try_link
"$LINENO"; then :
15364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15366 __thread int a; int b; int f() { return a = b; }
15368 if ac_fn_c_try_link
"$LINENO"; then :
15369 gcc_cv_have_tls
=yes
15373 rm -f core conftest.err conftest.
$ac_objext \
15374 conftest
$ac_exeext conftest.
$ac_ext
15376 gcc_cv_have_tls
=yes
15378 rm -f core conftest.err conftest.
$ac_objext \
15379 conftest
$ac_exeext conftest.
$ac_ext
15380 CFLAGS
="$chktls_save_CFLAGS"
15381 LDFLAGS
="$chktls_save_LDFLAGS"
15385 rm -f core conftest.err conftest.
$ac_objext \
15386 conftest
$ac_exeext conftest.
$ac_ext
15390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15392 __thread int a; int b; int main() { return a = b; }
15394 if ac_fn_c_try_run
"$LINENO"; then :
15395 chktls_save_LDFLAGS
="$LDFLAGS"
15396 LDFLAGS
="-static $LDFLAGS"
15397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15399 int main() { return 0; }
15401 if ac_fn_c_try_link
"$LINENO"; then :
15402 if test "$cross_compiling" = yes; then :
15403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15405 as_fn_error
"cannot run test program while cross compiling
15406 See \`config.log' for more details." "$LINENO" 5; }
15408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15410 __thread int a; int b; int main() { return a = b; }
15412 if ac_fn_c_try_run
"$LINENO"; then :
15413 gcc_cv_have_tls
=yes
15417 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15418 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15422 gcc_cv_have_tls
=yes
15424 rm -f core conftest.err conftest.
$ac_objext \
15425 conftest
$ac_exeext conftest.
$ac_ext
15426 LDFLAGS
="$chktls_save_LDFLAGS"
15427 if test $gcc_cv_have_tls = yes; then
15428 chktls_save_CFLAGS
="$CFLAGS"
15429 thread_CFLAGS
=failed
15430 for flag
in '' '-pthread' '-lpthread'; do
15431 CFLAGS
="$flag $chktls_save_CFLAGS"
15432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15434 #include <pthread.h>
15435 void *g(void *d) { return NULL; }
15439 pthread_t t; pthread_create(&t,NULL,g,NULL);
15444 if ac_fn_c_try_link
"$LINENO"; then :
15445 thread_CFLAGS
="$flag"
15447 rm -f core conftest.err conftest.
$ac_objext \
15448 conftest
$ac_exeext conftest.
$ac_ext
15449 if test "X$thread_CFLAGS" != Xfailed
; then
15453 CFLAGS
="$chktls_save_CFLAGS"
15454 if test "X$thread_CFLAGS" != Xfailed
; then
15455 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
15456 if test "$cross_compiling" = yes; then :
15457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15459 as_fn_error
"cannot run test program while cross compiling
15460 See \`config.log' for more details." "$LINENO" 5; }
15462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15464 #include <pthread.h>
15466 static int *volatile a_in_other_thread;
15468 thread_func (void *arg)
15470 a_in_other_thread = &a;
15477 void *thread_retval;
15478 int *volatile a_in_main_thread;
15479 a_in_main_thread = &a;
15480 if (pthread_create (&thread, (pthread_attr_t *)0,
15481 thread_func, (void *)0))
15483 if (pthread_join (thread, &thread_retval))
15485 return (a_in_other_thread == a_in_main_thread);
15490 if ac_fn_c_try_run
"$LINENO"; then :
15491 gcc_cv_have_tls
=yes
15495 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15496 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15499 CFLAGS
="$chktls_save_CFLAGS"
15505 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15506 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
15511 $as_echo "$gcc_cv_have_tls" >&6; }
15512 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
15514 $as_echo "#define HAVE_TLS 1" >>confdefs.h
15518 # See what sort of export controls are available.
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
15521 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
15522 if test "${libgomp_cv_have_attribute_visibility+set}" = set; then :
15523 $as_echo_n "(cached) " >&6
15526 save_CFLAGS
="$CFLAGS"
15527 CFLAGS
="$CFLAGS -Werror"
15528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15529 /* end confdefs.h. */
15530 void __attribute__((visibility("hidden"))) foo(void) { }
15539 if ac_fn_c_try_compile
"$LINENO"; then :
15540 libgomp_cv_have_attribute_visibility
=yes
15542 libgomp_cv_have_attribute_visibility
=no
15544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15545 CFLAGS
="$save_CFLAGS"
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_visibility" >&5
15548 $as_echo "$libgomp_cv_have_attribute_visibility" >&6; }
15549 if test $libgomp_cv_have_attribute_visibility = yes; then
15551 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
15556 $as_echo_n "checking whether the target supports dllexport... " >&6; }
15557 if test "${libgomp_cv_have_attribute_dllexport+set}" = set; then :
15558 $as_echo_n "(cached) " >&6
15561 save_CFLAGS
="$CFLAGS"
15562 CFLAGS
="$CFLAGS -Werror"
15563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15564 /* end confdefs.h. */
15565 void __attribute__((dllexport)) foo(void) { }
15574 if ac_fn_c_try_compile
"$LINENO"; then :
15575 libgomp_cv_have_attribute_dllexport
=yes
15577 libgomp_cv_have_attribute_dllexport
=no
15579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15580 CFLAGS
="$save_CFLAGS"
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_dllexport" >&5
15583 $as_echo "$libgomp_cv_have_attribute_dllexport" >&6; }
15584 if test $libgomp_cv_have_attribute_dllexport = yes; then
15586 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
15591 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
15592 if test "${libgomp_cv_have_attribute_alias+set}" = set; then :
15593 $as_echo_n "(cached) " >&6
15596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15600 extern void bar(void) __attribute__((alias("foo")));
15609 if ac_fn_c_try_link
"$LINENO"; then :
15610 libgomp_cv_have_attribute_alias
=yes
15612 libgomp_cv_have_attribute_alias
=no
15614 rm -f core conftest.err conftest.
$ac_objext \
15615 conftest
$ac_exeext conftest.
$ac_ext
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_attribute_alias" >&5
15618 $as_echo "$libgomp_cv_have_attribute_alias" >&6; }
15619 if test $libgomp_cv_have_attribute_alias = yes; then
15621 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
15626 # Check whether --with-gnu-ld was given.
15627 if test "${with_gnu_ld+set}" = set; then :
15628 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
15634 if test "$GCC" = yes; then
15635 # Check if gcc -print-prog-name=ld gives a path.
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15637 $as_echo_n "checking for ld used by $CC... " >&6; }
15640 # gcc leaves a trailing carriage return which upsets mingw
15641 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15643 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15646 # Accept absolute paths.
15648 re_direlt
='/[^/][^/]*/\.\./'
15649 # Canonicalize the pathname of ld
15650 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15651 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15652 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15654 test -z "$LD" && LD
="$ac_prog"
15657 # If it fails, then pretend we aren't using GCC.
15661 # If it is relative, then search for the first ld in PATH.
15662 with_gnu_ld
=unknown
15665 elif test "$with_gnu_ld" = yes; then
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15667 $as_echo_n "checking for GNU ld... " >&6; }
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15670 $as_echo_n "checking for non-GNU ld... " >&6; }
15672 if test "${lt_cv_path_LD+set}" = set; then :
15673 $as_echo_n "(cached) " >&6
15675 if test -z "$LD"; then
15676 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15677 for ac_dir
in $PATH; do
15679 test -z "$ac_dir" && ac_dir
=.
15680 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15681 lt_cv_path_LD
="$ac_dir/$ac_prog"
15682 # Check to see if the program is GNU ld. I'd rather use --version,
15683 # but apparently some variants of GNU ld only accept -v.
15684 # Break only if it was the GNU/non-GNU ld that we prefer.
15685 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15686 *GNU
* |
*'with BFD'*)
15687 test "$with_gnu_ld" != no
&& break
15690 test "$with_gnu_ld" != yes && break
15697 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15701 LD
="$lt_cv_path_LD"
15702 if test -n "$LD"; then
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15704 $as_echo "$LD" >&6; }
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15707 $as_echo "no" >&6; }
15709 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15711 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15712 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
15713 $as_echo_n "(cached) " >&6
15715 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15716 case `$LD -v 2>&1 </dev/null` in
15717 *GNU
* |
*'with BFD'*)
15718 lt_cv_prog_gnu_ld
=yes
15721 lt_cv_prog_gnu_ld
=no
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15726 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15727 with_gnu_ld
=$lt_cv_prog_gnu_ld
15735 # If we're not using GNU ld, then there's no point in even trying these
15736 # tests. Check for that first. We should have already tested for gld
15737 # by now (in libtool), but require it now just to be safe...
15738 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
15739 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
15743 # The name set by libtool depends on the version of libtool. Shame on us
15744 # for depending on an impl detail, but c'est la vie. Older versions used
15745 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
15746 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
15747 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
15748 # set (hence we're using an older libtool), then set it.
15749 if test x
${with_gnu_ld+set} != xset
; then
15750 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
15751 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
15754 with_gnu_ld
=$ac_cv_prog_gnu_ld
15758 # Start by getting the version number. I think the libtool test already
15759 # does some of this, but throws away the result.
15760 libgomp_ld_is_gold
=no
15761 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
15762 libgomp_ld_is_gold
=yes
15765 ldver
=`$LD --version 2>/dev/null |
15766 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'`
15768 libgomp_gnu_ld_version
=`echo $ldver | \
15769 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
15771 # Set --gc-sections.
15772 if test "$with_gnu_ld" = "notbroken"; then
15773 # GNU ld it is! Joy and bunny rabbits!
15775 # All these tests are for C++; save the language and the compiler flags.
15776 # Need to do this so that g++ won't try to link in libstdc++
15777 ac_test_CFLAGS
="${CFLAGS+set}"
15778 ac_save_CFLAGS
="$CFLAGS"
15779 CFLAGS
='-x c++ -Wl,--gc-sections'
15781 # Check for -Wl,--gc-sections
15782 # XXX This test is broken at the moment, as symbols required for linking
15783 # are now in libsupc++ (not built yet). In addition, this test has
15784 # cored on solaris in the past. In addition, --gc-sections doesn't
15785 # really work at the moment (keeps on discarding used sections, first
15786 # .eh_frame and now some of the glibc sections for iconv).
15787 # Bzzzzt. Thanks for playing, maybe next time.
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
15789 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
15790 if test "$cross_compiling" = yes; then :
15791 ac_sectionLDflags
=yes
15793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15794 /* end confdefs.h. */
15804 if ac_fn_c_try_run
"$LINENO"; then :
15805 ac_sectionLDflags
=yes
15807 ac_sectionLDflags
=no
15809 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15810 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15813 if test "$ac_test_CFLAGS" = set; then
15814 CFLAGS
="$ac_save_CFLAGS"
15816 # this is the suspicious part
15819 if test "$ac_sectionLDflags" = "yes"; then
15820 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
15823 $as_echo "$ac_sectionLDflags" >&6; }
15826 # Set linker optimization flags.
15827 if test x
"$with_gnu_ld" = x
"yes"; then
15828 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
15836 # Check whether --enable-symvers was given.
15837 if test "${enable_symvers+set}" = set; then :
15838 enableval
=$enable_symvers;
15839 case "$enableval" in
15840 yes|no|gnu
*|sun
) ;;
15841 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
15850 # If we never went through the LIBGOMP_CHECK_LINKER_FEATURES macro, then we
15851 # don't know enough about $LD to do tricks...
15854 # Turn a 'yes' into a suitable default.
15855 if test x
$enable_symvers = xyes
; then
15856 # FIXME The following test is too strict, in theory.
15857 if test $enable_shared = no ||
test "x$LD" = x
; then
15860 if test $with_gnu_ld = yes ; then
15863 case ${target_os} in
15864 # Sun symbol versioning exists since Solaris 2.5.
15865 solaris2.
[5-9]* | solaris2.1
[0-9]*)
15866 enable_symvers
=sun
;;
15868 enable_symvers
=no
;;
15874 # Check if 'sun' was requested on non-Solaris 2 platforms.
15875 if test x
$enable_symvers = xsun
; then
15876 case ${target_os} in
15881 # Unlikely to work.
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
15883 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
15885 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15887 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15893 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
15894 if test $enable_symvers != no
; then
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
15896 $as_echo_n "checking for shared libgcc... " >&6; }
15897 ac_save_CFLAGS
="$CFLAGS"
15899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15910 if ac_fn_c_try_link
"$LINENO"; then :
15911 libgomp_shared_libgcc
=yes
15913 libgomp_shared_libgcc
=no
15915 rm -f core conftest.err conftest.
$ac_objext \
15916 conftest
$ac_exeext conftest.
$ac_ext
15917 CFLAGS
="$ac_save_CFLAGS"
15918 if test $libgomp_shared_libgcc = no
; then
15919 cat > conftest.c
<<EOF
15920 int main (void) { return 0; }
15922 libgomp_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
15923 -shared -shared-libgcc -o conftest.so \
15924 conftest.c -v 2>&1 >/dev/null \
15925 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
15926 rm -f conftest.c conftest.so
15927 if test x
${libgomp_libgcc_s_suffix+set} = xset
; then
15928 CFLAGS
=" -lgcc_s$libgomp_libgcc_s_suffix"
15929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15940 if ac_fn_c_try_link
"$LINENO"; then :
15941 libgomp_shared_libgcc
=yes
15943 rm -f core conftest.err conftest.
$ac_objext \
15944 conftest
$ac_exeext conftest.
$ac_ext
15945 CFLAGS
="$ac_save_CFLAGS"
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_shared_libgcc" >&5
15949 $as_echo "$libgomp_shared_libgcc" >&6; }
15952 # For GNU ld, we need at least this version. The format is described in
15953 # LIBGOMP_CHECK_LINKER_FEATURES above.
15954 libgomp_min_gnu_ld_version
=21400
15955 # XXXXXXXXXXX libgomp_gnu_ld_version=21390
15957 # Check to see if unspecified "yes" value can win, given results above.
15958 # Change "yes" into either "no" or a style name.
15959 if test $enable_symvers != no
&& test $libgomp_shared_libgcc = yes; then
15960 if test $with_gnu_ld = yes; then
15961 if test $libgomp_gnu_ld_version -ge $libgomp_min_gnu_ld_version ; then
15963 elif test $libgomp_ld_is_gold = yes ; then
15966 # The right tools, the right setup, but too old. Fallbacks?
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&5
15968 $as_echo "$as_me: WARNING: === Linker version $libgomp_gnu_ld_version is too old for" >&2;}
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
15970 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
15972 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&5
15974 $as_echo "$as_me: WARNING: === $libgomp_min_gnu_ld_version or later and rebuild GCC." >&2;}
15975 if test $libgomp_gnu_ld_version -ge 21200 ; then
15976 # Globbing fix is present, proper block support is not.
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15978 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15983 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
15987 elif test $enable_symvers = sun
; then
15988 : All interesting versions of Sun ld support sun style symbol versioning.
15990 # just fail for now
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
15992 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
15994 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
15996 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
15998 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
16004 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
16005 if test "${libgomp_cv_have_as_symver_directive+set}" = set; then :
16006 $as_echo_n "(cached) " >&6
16009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16011 void foo (void); __asm (".symver foo, bar@SYMVER");
16020 if ac_fn_c_try_compile
"$LINENO"; then :
16021 libgomp_cv_have_as_symver_directive
=yes
16023 libgomp_cv_have_as_symver_directive
=no
16025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_as_symver_directive" >&5
16028 $as_echo "$libgomp_cv_have_as_symver_directive" >&6; }
16029 if test $libgomp_cv_have_as_symver_directive = yes; then
16031 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
16035 if test $enable_symvers != no
; then
16036 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
=
16037 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
='#'
16039 LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE
='#'
16040 LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE
=
16043 if test $enable_symvers = gnu
; then
16044 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
=
16045 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
='#'
16047 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE
='#'
16048 LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE
=
16051 if test $enable_symvers = sun
; then
16052 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
=
16053 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
='#'
16055 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE
='#'
16056 LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE
=
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
16060 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
16062 if test $enable_symvers != no
; then
16063 case ${target_os} in
16064 # The Solaris 2 runtime linker doesn't support the GNU extension of
16065 # binding the same symbol to different versions
16068 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
16071 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
16078 if test $enable_symvers = gnu
; then
16080 $as_echo "#define LIBGOMP_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
16084 # Get target configury.
16085 .
${srcdir}/configure.tgt
16086 CFLAGS
="$save_CFLAGS $XCFLAGS"
16088 # Check for __sync_val_compare_and_swap, but only after the target has
16089 # had a chance to set XCFLAGS.
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
16092 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
16093 if test "${libgomp_cv_have_sync_builtins+set}" = set; then :
16094 $as_echo_n "(cached) " >&6
16097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16103 int foo; __sync_val_compare_and_swap(&foo, 0, 1);
16108 if ac_fn_c_try_link
"$LINENO"; then :
16109 libgomp_cv_have_sync_builtins
=yes
16111 libgomp_cv_have_sync_builtins
=no
16113 rm -f core conftest.err conftest.
$ac_objext \
16114 conftest
$ac_exeext conftest.
$ac_ext
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgomp_cv_have_sync_builtins" >&5
16117 $as_echo "$libgomp_cv_have_sync_builtins" >&6; }
16118 if test $libgomp_cv_have_sync_builtins = yes; then
16120 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
16124 XCFLAGS
="$XCFLAGS$XPCFLAGS"
16130 # Cleanup and exit.
16131 CFLAGS
="$save_CFLAGS"
16132 cat >confcache
<<\_ACEOF
16133 # This file is a shell script that caches the results of configure
16134 # tests run on this system so they can be shared between configure
16135 # scripts and configure runs, see configure's option --config-cache.
16136 # It is not useful on other systems. If it contains results you don't
16137 # want to keep, you may remove or edit it.
16139 # config.status only pays attention to the cache file if you give it
16140 # the --recheck option to rerun configure.
16142 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16144 # following values.
16148 # The following way of writing the cache mishandles newlines in values,
16149 # but we know of no workaround that is simple, portable, and efficient.
16150 # So, we kill variables containing newlines.
16151 # Ultrix sh set writes to stderr and can't be redirected directly,
16152 # and sets the high bit in the cache file unless we assign to the vars.
16154 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16155 eval ac_val
=\$
$ac_var
16159 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16160 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16163 _ | IFS | as_nl
) ;; #(
16164 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16165 *) { eval $ac_var=; unset $ac_var;} ;;
16171 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16172 *${as_nl}ac_space
=\
*)
16173 # `set' does not quote correctly, so add quotes: double-quote
16174 # substitution turns \\\\ into \\, and sed turns \\ into \.
16177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16180 # `set' quotes correctly as required by POSIX, so do not add quotes.
16181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16190 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16192 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16194 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16195 if test -w "$cache_file"; then
16196 test "x$cache_file" != "x/dev/null" &&
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16198 $as_echo "$as_me: updating cache $cache_file" >&6;}
16199 cat confcache
>$cache_file
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16202 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16207 if test ${multilib} = yes; then
16208 multilib_arg
="--enable-multilib"
16213 # Get accel target and path to install tree of accel compiler
16214 offload_additional_options
=
16215 offload_additional_lib_paths
=
16217 if test x
"$enable_offload_targets" != x
; then
16218 for tgt
in `echo $enable_offload_targets | sed -e 's#,# #g'`; do
16219 tgt_dir
=`echo $tgt | grep '=' | sed 's/.*=//'`
16220 tgt
=`echo $tgt | sed 's/=.*//'`
16222 *-intelmic-* |
*-intelmicemul-*)
16223 tgt_name
="intelmic" ;;
16225 as_fn_error
"unknown offload target specified" "$LINENO" 5 ;;
16227 if test x
"$offload_targets" = x
; then
16228 offload_targets
=$tgt_name
16230 offload_targets
=$offload_targets,$tgt_name
16232 if test x
"$tgt_dir" != x
; then
16233 offload_additional_options
="$offload_additional_options -B$tgt_dir/libexec/gcc/\$(target_alias)/\$(gcc_version) -B$tgt_dir/bin"
16234 offload_additional_lib_paths
="$offload_additional_lib_paths:$tgt_dir/lib64:$tgt_dir/lib"
16236 offload_additional_options
="$offload_additional_options -B\$(libexecdir)/gcc/\$(target_alias)/\$(gcc_version) -B\$(bindir)"
16237 offload_additional_lib_paths
="$offload_additional_lib_paths:$toolexeclibdir"
16242 cat >>confdefs.h
<<_ACEOF
16243 #define OFFLOAD_TARGETS "$offload_targets"
16250 # Set up the set of libraries that we need to link against for libgomp.
16251 # Note that the GOMP_SELF_SPEC in gcc.c may force -pthread,
16252 # which will force linkage against -lpthread (or equivalent for the system).
16253 # That's not 100% ideal, but about the best we can do easily.
16254 if test $enable_shared = yes; then
16255 link_gomp
="-lgomp %{static: $LIBS}"
16257 link_gomp
="-lgomp $LIBS"
16261 if test "$ac_cv_fc_compiler_gnu" = yes; then
16263 USE_FORTRAN_FALSE
='#'
16265 USE_FORTRAN_TRUE
='#'
16270 # ??? 2006-01-24: Paulo committed to asking autoconf folk to document
16271 # and export AC_COMPUTE_INT. If that happens, then we'll need to remove
16272 # the underscore here and update the PREREQ. If it doesn't, then we'll
16273 # need to copy this macro to our acinclude.m4.
16274 save_CFLAGS
="$CFLAGS"
16275 for i
in $config_path; do
16276 if test -f $srcdir/config
/$i/omp-lock.h
; then
16277 CFLAGS
="$CFLAGS -include confdefs.h -include $srcdir/config/$i/omp-lock.h"
16282 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_t)" "OMP_LOCK_SIZE" ""; then :
16285 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_t)" "$LINENO" 5
16289 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_t)" "OMP_LOCK_ALIGN" ""; then :
16294 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_t)" "OMP_NEST_LOCK_SIZE" ""; then :
16299 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_t)" "OMP_NEST_LOCK_ALIGN" ""; then :
16304 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_lock_25_t)" "OMP_LOCK_25_SIZE" ""; then :
16307 as_fn_error
"unsupported system, cannot find sizeof (omp_lock_25_t)" "$LINENO" 5
16311 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_lock_25_t)" "OMP_LOCK_25_ALIGN" ""; then :
16316 if ac_fn_c_compute_int
"$LINENO" "sizeof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_SIZE" ""; then :
16321 if ac_fn_c_compute_int
"$LINENO" "__alignof (omp_nest_lock_25_t)" "OMP_NEST_LOCK_25_ALIGN" ""; then :
16327 # If the lock fits in an integer, then arrange for Fortran to use that
16328 # integer. If it doesn't, then arrange for Fortran to use a pointer.
16329 # Except that we don't have a way at present to multi-lib the installed
16330 # Fortran modules, so we assume 8 bytes for pointers, regardless of the
16332 OMP_LOCK_KIND
=$OMP_LOCK_SIZE
16333 OMP_NEST_LOCK_KIND
=$OMP_NEST_LOCK_SIZE
16334 if test $OMP_LOCK_SIZE -gt 8 ||
test $OMP_LOCK_ALIGN -gt $OMP_LOCK_SIZE; then
16337 if test $OMP_NEST_LOCK_SIZE -gt 8 ||
test $OMP_NEST_LOCK_ALIGN -gt $OMP_NEST_LOCK_SIZE; then
16338 OMP_NEST_LOCK_KIND
=8
16340 OMP_LOCK_25_KIND
=$OMP_LOCK_25_SIZE
16341 OMP_NEST_LOCK_25_KIND
=$OMP_NEST_LOCK_25_SIZE
16342 if test $OMP_LOCK_25_SIZE -gt 8 ||
test $OMP_LOCK_25_ALIGN -gt $OMP_LOCK_25_SIZE; then
16345 if test $OMP_NEST_LOCK_25_SIZE -gt 8 ||
test $OMP_NEST_LOCK_25_ALIGN -gt $OMP_NEST_LOCK_25_SIZE; then
16346 OMP_NEST_LOCK_25_KIND
=8
16361 CFLAGS
="$save_CFLAGS"
16363 ac_config_files
="$ac_config_files omp.h omp_lib.h omp_lib.f90 libgomp_f.h"
16365 ac_config_files
="$ac_config_files Makefile testsuite/Makefile libgomp.spec"
16367 cat >confcache
<<\_ACEOF
16368 # This file is a shell script that caches the results of configure
16369 # tests run on this system so they can be shared between configure
16370 # scripts and configure runs, see configure's option --config-cache.
16371 # It is not useful on other systems. If it contains results you don't
16372 # want to keep, you may remove or edit it.
16374 # config.status only pays attention to the cache file if you give it
16375 # the --recheck option to rerun configure.
16377 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16378 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16379 # following values.
16383 # The following way of writing the cache mishandles newlines in values,
16384 # but we know of no workaround that is simple, portable, and efficient.
16385 # So, we kill variables containing newlines.
16386 # Ultrix sh set writes to stderr and can't be redirected directly,
16387 # and sets the high bit in the cache file unless we assign to the vars.
16389 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16390 eval ac_val
=\$
$ac_var
16394 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16395 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16398 _ | IFS | as_nl
) ;; #(
16399 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16400 *) { eval $ac_var=; unset $ac_var;} ;;
16406 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16407 *${as_nl}ac_space
=\
*)
16408 # `set' does not quote correctly, so add quotes: double-quote
16409 # substitution turns \\\\ into \\, and sed turns \\ into \.
16412 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16415 # `set' quotes correctly as required by POSIX, so do not add quotes.
16416 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16425 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16427 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16429 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16430 if test -w "$cache_file"; then
16431 test "x$cache_file" != "x/dev/null" &&
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16433 $as_echo "$as_me: updating cache $cache_file" >&6;}
16434 cat confcache
>$cache_file
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16437 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16442 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16443 # Let make expand exec_prefix.
16444 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16446 DEFS
=-DHAVE_CONFIG_H
16450 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16451 # 1. Remove the extension, and $U if already installed.
16452 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16453 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16454 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16455 # will be set to the directory where LIBOBJS objects are built.
16456 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16457 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16459 LIBOBJS
=$ac_libobjs
16461 LTLIBOBJS
=$ac_ltlibobjs
16464 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
16465 as_fn_error
"conditional \"GENINSRC\" was never defined.
16466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16468 if test -n "$EXEEXT"; then
16470 am__EXEEXT_FALSE
='#'
16472 am__EXEEXT_TRUE
='#'
16476 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16477 as_fn_error
"conditional \"AMDEP\" was never defined.
16478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16480 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16481 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
16482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16484 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
16485 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
16486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16488 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16489 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
16490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16492 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_FALSE}"; then
16493 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB\" was never defined.
16494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16496 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_GNU_FALSE}"; then
16497 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_GNU\" was never defined.
16498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16500 if test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_TRUE}" && test -z "${LIBGOMP_BUILD_VERSIONED_SHLIB_SUN_FALSE}"; then
16501 as_fn_error
"conditional \"LIBGOMP_BUILD_VERSIONED_SHLIB_SUN\" was never defined.
16502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16504 if test -z "${USE_FORTRAN_TRUE}" && test -z "${USE_FORTRAN_FALSE}"; then
16505 as_fn_error
"conditional \"USE_FORTRAN\" was never defined.
16506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16509 : ${CONFIG_STATUS=./config.status}
16511 ac_clean_files_save
=$ac_clean_files
16512 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16514 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16516 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16518 # Generated by $as_me.
16519 # Run this file to recreate the current configuration.
16520 # Compiler output produced by configure, useful for debugging
16521 # configure, is in config.log if it exists.
16524 ac_cs_recheck=false
16527 SHELL=\${CONFIG_SHELL-$SHELL}
16530 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16531 ## -------------------- ##
16532 ## M4sh Initialization. ##
16533 ## -------------------- ##
16535 # Be more Bourne compatible
16536 DUALCASE
=1; export DUALCASE
# for MKS sh
16537 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16540 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16541 # is contrary to our usage. Disable this feature.
16542 alias -g '${1+"$@"}'='"$@"'
16543 setopt NO_GLOB_SUBST
16545 case `(set -o) 2>/dev/null` in #(
16557 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16558 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16561 # Prefer a ksh shell builtin over an external printf program on Solaris,
16562 # but without wasting forks for bash or zsh.
16563 if test -z "$BASH_VERSION$ZSH_VERSION" \
16564 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16565 as_echo='print
-r --'
16566 as_echo_n='print
-rn --'
16567 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16568 as_echo='printf %s
\n'
16569 as_echo_n='printf %s
'
16571 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16572 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16573 as_echo_n='/usr
/ucb
/echo -n'
16575 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16576 as_echo_n_body='eval
16580 expr "X$arg" : "X\\(.*\\)$as_nl";
16581 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16583 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16585 export as_echo_n_body
16586 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16588 export as_echo_body
16589 as_echo='sh
-c $as_echo_body as_echo
'
16592 # The user is always right.
16593 if test "${PATH_SEPARATOR+set}" != set; then
16595 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16596 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16603 # We need space, tab and new line, in precisely that order. Quoting is
16604 # there to prevent editors from complaining about space-tab.
16605 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16606 # splitting by setting IFS to empty value.)
16609 # Find who we are. Look in the path if we contain no directory separator.
16611 *[\\/]* ) as_myself=$0 ;;
16612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16613 for as_dir in $PATH
16616 test -z "$as_dir" && as_dir=.
16617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16623 # We did not find ourselves, most probably we were run as `sh COMMAND'
16624 # in which case we are not to be found in the path.
16625 if test "x$as_myself" = x
; then
16628 if test ! -f "$as_myself"; then
16629 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16633 # Unset variables that we do not need and which cause bugs (e.g. in
16634 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16635 # suppresses any "Segmentation fault" message there. '((' could
16636 # trigger a bug in pdksh 5.2.14.
16637 for as_var
in BASH_ENV ENV MAIL MAILPATH
16638 do eval test x\
${$as_var+set} = xset \
16639 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16652 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16655 # as_fn_error ERROR [LINENO LOG_FD]
16656 # ---------------------------------
16657 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16658 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16659 # script with status $?, using 1 if that was 0.
16662 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16664 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16665 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16667 $as_echo "$as_me: error: $1" >&2
16668 as_fn_exit
$as_status
16672 # as_fn_set_status STATUS
16673 # -----------------------
16674 # Set $? to STATUS, without forking.
16675 as_fn_set_status
()
16678 } # as_fn_set_status
16680 # as_fn_exit STATUS
16681 # -----------------
16682 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16686 as_fn_set_status
$1
16692 # Portably unset VAR.
16695 { eval $1=; unset $1;}
16697 as_unset
=as_fn_unset
16698 # as_fn_append VAR VALUE
16699 # ----------------------
16700 # Append the text in VALUE to the end of the definition contained in VAR. Take
16701 # advantage of any shell optimizations that allow amortized linear growth over
16702 # repeated appends, instead of the typical quadratic growth present in naive
16704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16705 eval 'as_fn_append ()
16716 # as_fn_arith ARG...
16717 # ------------------
16718 # Perform arithmetic evaluation on the ARGs, and store the result in the
16719 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16720 # must be portable across $(()) and expr.
16721 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16722 eval 'as_fn_arith ()
16729 as_val
=`expr "$@" || test $? -eq 1`
16734 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16735 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16741 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16742 as_basename
=basename
16747 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16753 as_me
=`$as_basename -- "$0" ||
16754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16755 X"$0" : 'X\(//\)$' \| \
16756 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16758 sed '/^.*\/\([^/][^/]*\)\/*$/{
16772 # Avoid depending upon Character Ranges.
16773 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16774 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16775 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16776 as_cr_digits
='0123456789'
16777 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16779 ECHO_C
= ECHO_N
= ECHO_T
=
16780 case `echo -n x` in #(((((
16782 case `echo 'xy\c'` in
16783 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16785 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16792 rm -f conf$$ conf$$.exe conf$$.
file
16793 if test -d conf$$.dir
; then
16794 rm -f conf$$.dir
/conf$$.
file
16797 mkdir conf$$.dir
2>/dev
/null
16799 if (echo >conf$$.
file) 2>/dev
/null
; then
16800 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16802 # ... but there are two gotchas:
16803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16805 # In both cases, we have to default to `cp -p'.
16806 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16808 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16816 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16817 rmdir conf$$.dir
2>/dev
/null
16822 # Create "$as_dir" as a directory, including parents if necessary.
16827 -*) as_dir
=.
/$as_dir;;
16829 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16833 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16834 *) as_qdir
=$as_dir;;
16836 as_dirs
="'$as_qdir' $as_dirs"
16837 as_dir
=`$as_dirname -- "$as_dir" ||
16838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16839 X"$as_dir" : 'X\(//\)[^/]' \| \
16840 X"$as_dir" : 'X\(//\)$' \| \
16841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16842 $as_echo X"$as_dir" |
16843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16847 /^X\(\/\/\)[^/].*/{
16860 test -d "$as_dir" && break
16862 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16863 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16867 if mkdir
-p .
2>/dev
/null
; then
16868 as_mkdir_p
='mkdir -p "$as_dir"'
16870 test -d .
/-p && rmdir .
/-p
16874 if test -x / >/dev
/null
2>&1; then
16875 as_test_x
='test -x'
16877 if ls -dL / >/dev
/null
2>&1; then
16884 if test -d "$1"; then
16890 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16891 ???[sx]*):;;*)false;;esac;fi
16895 as_executable_p
=$as_test_x
16897 # Sed expression to map a string onto a valid CPP name.
16898 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16900 # Sed expression to map a string onto a valid variable name.
16901 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16905 ## ----------------------------------- ##
16906 ## Main body of $CONFIG_STATUS script. ##
16907 ## ----------------------------------- ##
16909 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16912 # Save the log message, to keep $0 and so on meaningful, and to
16913 # report actual input values of CONFIG_FILES etc. instead of their
16914 # values after options handling.
16916 This file was extended by GNU OpenMP Runtime Library $as_me 1.0, which was
16917 generated by GNU Autoconf 2.64. Invocation command line was
16919 CONFIG_FILES = $CONFIG_FILES
16920 CONFIG_HEADERS = $CONFIG_HEADERS
16921 CONFIG_LINKS = $CONFIG_LINKS
16922 CONFIG_COMMANDS = $CONFIG_COMMANDS
16925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16930 case $ac_config_files in *"
16931 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16934 case $ac_config_headers in *"
16935 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16940 # Files that config.status was made for.
16941 config_files="$ac_config_files"
16942 config_headers="$ac_config_headers"
16943 config_commands="$ac_config_commands"
16947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16949 \`$as_me' instantiates files and other configuration actions
16950 from templates according to the current configuration. Unless the files
16951 and actions are specified as TAGs, all are instantiated by default.
16953 Usage: $0 [OPTION]... [TAG]...
16955 -h, --help print this help, then exit
16956 -V, --version print version number and configuration settings, then exit
16957 -q, --quiet, --silent
16958 do not print progress messages
16959 -d, --debug don't remove temporary files
16960 --recheck update $as_me by reconfiguring in the same conditions
16961 --file=FILE[:TEMPLATE]
16962 instantiate the configuration file FILE
16963 --header=FILE[:TEMPLATE]
16964 instantiate the configuration header FILE
16966 Configuration files:
16969 Configuration headers:
16972 Configuration commands:
16975 Report bugs to the package provider.
16976 GNU OpenMP Runtime Library home page: <http://www.gnu.org/software/libgomp/>.
16977 General help using GNU software: <http://www.gnu.org/gethelp/>."
16980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16982 GNU OpenMP Runtime Library config.status 1.0
16983 configured by $0, generated by GNU Autoconf 2.64,
16984 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16986 Copyright (C) 2009 Free Software Foundation, Inc.
16987 This config.status script is free software; the Free Software Foundation
16988 gives unlimited permission to copy, distribute and modify it."
16995 test -n "\$AWK" || AWK=awk
16998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16999 # The default lists apply if the user does not specify any file.
17005 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17006 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17017 # Handling of the options.
17018 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17020 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17021 $as_echo "$ac_cs_version"; exit ;;
17022 --debug |
--debu |
--deb |
--de |
--d |
-d )
17024 --file |
--fil |
--fi |
--f )
17027 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17029 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17030 ac_need_defaults
=false
;;
17031 --header |
--heade |
--head |
--hea )
17034 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17036 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17037 ac_need_defaults
=false
;;
17039 # Conflict between --help and --header
17040 as_fn_error
"ambiguous option: \`$1'
17041 Try \`$0 --help' for more information.";;
17042 --help |
--hel |
-h )
17043 $as_echo "$ac_cs_usage"; exit ;;
17044 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17045 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17048 # This is an error.
17049 -*) as_fn_error
"unrecognized option: \`$1'
17050 Try \`$0 --help' for more information." ;;
17052 *) as_fn_append ac_config_targets
" $1"
17053 ac_need_defaults
=false
;;
17059 ac_configure_extra_args
=
17061 if $ac_cs_silent; then
17063 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17068 if \$ac_cs_recheck; then
17069 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17071 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17072 CONFIG_SHELL='$SHELL'
17073 export CONFIG_SHELL
17078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17082 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17083 ## Running $as_me. ##
17089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17097 with_multisubdir="$with_multisubdir"
17098 with_multisrctop="$with_multisrctop"
17099 with_target_subdir="$with_target_subdir"
17100 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17101 multi_basedir="$multi_basedir"
17102 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17105 GFORTRAN="$GFORTRAN"
17107 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17110 # The HP-UX ksh and POSIX shell print the target directory to stdout
17111 # if CDPATH is set.
17112 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17114 sed_quote_subst='$sed_quote_subst'
17115 double_quote_subst='$double_quote_subst'
17116 delay_variable_subst='$delay_variable_subst'
17117 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17118 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17119 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17120 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17121 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17122 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17123 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17124 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17125 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17126 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17127 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17128 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17129 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17130 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17131 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17132 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17133 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17134 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17135 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17136 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17137 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17138 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17139 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17140 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17141 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17142 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17143 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17144 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17145 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17146 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17147 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17148 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17149 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17150 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17151 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17152 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17153 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17154 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17155 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17156 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17157 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17158 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17159 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17160 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17161 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17162 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17163 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17164 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17165 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"`'
17166 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17167 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17168 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17169 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17170 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17171 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17172 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17173 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17174 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17175 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17176 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17177 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17178 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17179 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17180 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17181 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17182 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17183 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17184 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17185 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17186 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17187 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17188 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17189 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17190 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17191 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17192 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17193 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17194 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17195 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17196 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17197 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17198 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17199 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17200 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17201 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17202 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17203 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17204 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17205 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17206 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17207 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17208 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17209 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17210 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17211 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17212 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17213 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17214 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17215 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17216 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17217 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17218 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17219 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17220 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17221 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17222 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17223 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17224 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17225 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17226 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17227 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17228 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17229 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17230 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17231 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17232 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17233 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17234 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17235 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17236 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17237 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17238 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17239 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17240 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17241 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17242 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17243 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
17244 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
17245 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
17246 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
17247 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
17248 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
17249 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
17250 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
17251 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
17252 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
17253 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
17254 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
17255 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
17256 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17257 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17258 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
17259 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
17260 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
17261 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
17262 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
17263 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
17264 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
17265 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
17266 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
17267 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
17268 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
17269 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
17270 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
17271 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
17272 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
17273 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
17274 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
17275 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
17276 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
17277 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
17278 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
17279 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
17280 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
17281 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
17282 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
17283 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
17284 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
17285 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
17286 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
17287 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
17288 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
17289 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
17290 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
17291 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
17294 LTCFLAGS='$LTCFLAGS'
17295 compiler='$compiler_DEFAULT'
17297 # A function that is used when there is no print builtin or printf.
17298 func_fallback_echo ()
17300 eval 'cat <<_LTECHO_EOF
17305 # Quote evaled strings.
17319 deplibs_check_method \
17328 lt_cv_sys_global_symbol_pipe \
17329 lt_cv_sys_global_symbol_to_cdecl \
17330 lt_cv_sys_global_symbol_to_c_name_address \
17331 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17332 lt_prog_compiler_no_builtin_flag \
17333 lt_prog_compiler_wl \
17334 lt_prog_compiler_pic \
17335 lt_prog_compiler_static \
17336 lt_cv_prog_compiler_c_o \
17344 export_dynamic_flag_spec \
17345 whole_archive_flag_spec \
17346 compiler_needs_object \
17348 allow_undefined_flag \
17349 no_undefined_flag \
17350 hardcode_libdir_flag_spec \
17351 hardcode_libdir_flag_spec_ld \
17352 hardcode_libdir_separator \
17357 variables_saved_for_relink \
17359 library_names_spec \
17361 install_override_mode \
17365 compiler_lib_search_dirs \
17370 compiler_lib_search_path \
17374 lt_prog_compiler_no_builtin_flag_FC \
17375 lt_prog_compiler_wl_FC \
17376 lt_prog_compiler_pic_FC \
17377 lt_prog_compiler_static_FC \
17378 lt_cv_prog_compiler_c_o_FC \
17379 export_dynamic_flag_spec_FC \
17380 whole_archive_flag_spec_FC \
17381 compiler_needs_object_FC \
17383 allow_undefined_flag_FC \
17384 no_undefined_flag_FC \
17385 hardcode_libdir_flag_spec_FC \
17386 hardcode_libdir_flag_spec_ld_FC \
17387 hardcode_libdir_separator_FC \
17388 fix_srcfile_path_FC \
17389 exclude_expsyms_FC \
17390 include_expsyms_FC \
17391 file_list_spec_FC \
17392 compiler_lib_search_dirs_FC \
17393 predep_objects_FC \
17394 postdep_objects_FC \
17397 compiler_lib_search_path_FC; do
17398 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17399 *[\\\\\\\`\\"\\\$]*)
17400 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17403 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17408 # Double-quote double-evaled strings.
17409 for var in reload_cmds \
17410 old_postinstall_cmds \
17411 old_postuninstall_cmds \
17413 extract_expsyms_cmds \
17414 old_archive_from_new_cmds \
17415 old_archive_from_expsyms_cmds \
17417 archive_expsym_cmds \
17419 module_expsym_cmds \
17420 export_symbols_cmds \
17423 postuninstall_cmds \
17425 sys_lib_search_path_spec \
17426 sys_lib_dlsearch_path_spec \
17428 old_archive_cmds_FC \
17429 old_archive_from_new_cmds_FC \
17430 old_archive_from_expsyms_cmds_FC \
17432 archive_expsym_cmds_FC \
17434 module_expsym_cmds_FC \
17435 export_symbols_cmds_FC \
17436 prelink_cmds_FC; do
17437 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17438 *[\\\\\\\`\\"\\\$]*)
17439 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17442 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17447 ac_aux_dir='$ac_aux_dir'
17448 xsi_shell='$xsi_shell'
17449 lt_shell_append='$lt_shell_append'
17451 # See if we are running on zsh, and set the options which allow our
17452 # commands through without removal of \ escapes INIT.
17453 if test -n "\${ZSH_VERSION+set}" ; then
17454 setopt NO_GLOB_SUBST
17460 TIMESTAMP='$TIMESTAMP'
17471 acx_cv_header_stdint="$acx_cv_header_stdint"
17472 acx_cv_type_int8_t="$acx_cv_type_int8_t"
17473 acx_cv_type_int16_t="$acx_cv_type_int16_t"
17474 acx_cv_type_int32_t="$acx_cv_type_int32_t"
17475 acx_cv_type_int64_t="$acx_cv_type_int64_t"
17476 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
17477 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
17478 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
17479 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
17480 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
17481 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
17482 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
17483 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
17484 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
17489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17491 # Handling of arguments.
17492 for ac_config_target
in $ac_config_targets
17494 case $ac_config_target in
17495 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17496 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17497 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17498 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17499 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
17500 "omp.h") CONFIG_FILES
="$CONFIG_FILES omp.h" ;;
17501 "omp_lib.h") CONFIG_FILES
="$CONFIG_FILES omp_lib.h" ;;
17502 "omp_lib.f90") CONFIG_FILES
="$CONFIG_FILES omp_lib.f90" ;;
17503 "libgomp_f.h") CONFIG_FILES
="$CONFIG_FILES libgomp_f.h" ;;
17504 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17505 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17506 "libgomp.spec") CONFIG_FILES
="$CONFIG_FILES libgomp.spec" ;;
17508 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17513 # If the user did not use the arguments to specify the items to instantiate,
17514 # then the envvar interface is used. Set only those that are not.
17515 # We use the long form for the default assignment because of an extremely
17516 # bizarre bug on SunOS 4.1.3.
17517 if $ac_need_defaults; then
17518 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17519 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17520 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17523 # Have a temporary directory for convenience. Make it in the build tree
17524 # simply because there is no reason against having it here, and in addition,
17525 # creating and moving files from /tmp can sometimes cause problems.
17526 # Hook for its removal unless debugging.
17527 # Note that there is a small window in which the directory will not be cleaned:
17528 # after its creation but before its name has been assigned to `$tmp'.
17532 trap 'exit_status=$?
17533 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17535 trap 'as_fn_exit 1' 1 2 13 15
17537 # Create a (secure) tmp directory for tmp files.
17540 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17541 test -n "$tmp" && test -d "$tmp"
17544 tmp
=.
/conf$$
-$RANDOM
17545 (umask 077 && mkdir
"$tmp")
17546 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17548 # Set up the scripts for CONFIG_FILES section.
17549 # No need to generate them if there are no CONFIG_FILES.
17550 # This happens for instance with `./config.status config.h'.
17551 if test -n "$CONFIG_FILES"; then
17554 ac_cr
=`echo X | tr X '\015'`
17555 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17556 # But we know of no other shell where ac_cr would be empty at this
17557 # point, so we can use a bashism as a fallback.
17558 if test "x$ac_cr" = x
; then
17559 eval ac_cr
=\$
\'\\r
\'
17561 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17562 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17565 ac_cs_awk_cr
=$ac_cr
17568 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17573 echo "cat >conf$$subs.awk <<_ACEOF" &&
17574 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17576 } >conf$$subs.sh ||
17577 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17578 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17580 for ac_last_try in false false false false false :; do
17581 . ./conf$$subs.sh ||
17582 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17584 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17585 if test $ac_delim_n = $ac_delim_num; then
17587 elif $ac_last_try; then
17588 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17590 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17593 rm -f conf$$subs.sh
17595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17596 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17600 s/^/S["/; s
/!.
*/"]=/
17610 s/\(.\{148\}\).*/\1/
17612 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17617 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17624 s/\(.\{148\}\).*/\1/
17626 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17630 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17635 ' <conf$$subs.awk | sed '
17640 ' >>$CONFIG_STATUS || ac_write_fail=1
17641 rm -f conf$$subs.awk
17642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17644 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17645 for (key in S) S_is_set[key] = 1
17651 nfields = split(line, field, "@
")
17653 len = length(field[1])
17654 for (i = 2; i < nfields; i++) {
17656 keylen = length(key)
17657 if (S_is_set[key]) {
17659 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17660 len += length(value) + length(field[++i])
17671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17672 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17673 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17676 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17677 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17682 # trailing colons and then remove the whole line if VPATH becomes empty
17683 # (actually we leave an empty line to preserve line numbers).
17684 if test "x
$srcdir" = x.; then
17685 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17686 s/:*\$(srcdir):*/:/
17687 s/:*\${srcdir}:*/:/
17689 s/^\([^=]*=[ ]*\):*/\1/
17695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17696 fi # test -n "$CONFIG_FILES"
17698 # Set up the scripts for CONFIG_HEADERS section.
17699 # No need to generate them if there are no CONFIG_HEADERS.
17700 # This happens for instance with `./config.status Makefile'.
17701 if test -n "$CONFIG_HEADERS"; then
17702 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17706 # Transform confdefs.h into an awk script `defines.awk', embedded as
17707 # here-document in config.status, that substitutes the proper values into
17708 # config.h.in to produce config.h.
17710 # Create a delimiter string that does not exist in confdefs.h, to ease
17711 # handling of long lines.
17713 for ac_last_try in false false :; do
17714 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17715 if test -z "$ac_t"; then
17717 elif $ac_last_try; then
17718 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17720 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17724 # For the awk script, D is an array of macro values keyed by name,
17725 # likewise P contains macro parameters if any. Preserve backslash
17726 # newline sequences.
17728 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17730 s/.\{148\}/&'"$ac_delim"'/g
17733 s/^[ ]*#[ ]*define[ ][ ]*/ /
17740 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17742 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17746 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17747 D["\
1"]=" \
3\\\\\\n
"\\/p
17749 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17754 s/.\{148\}/&'"$ac_delim"'/g
17759 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17762 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17764 ' <confdefs.h | sed '
17765 s/'"$ac_delim"'/"\\\
17766 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17769 for (key in D) D_is_set[key] = 1
17772 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17774 split(line, arg, " ")
17775 if (arg[1] == "#") {
17779 defundef
= substr
(arg
[1], 2)
17782 split(mac1
, mac2
, "(") #)
17784 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17785 if (D_is_set
[macro
]) {
17786 # Preserve the white space surrounding the "#".
17787 print prefix
"define", macro P
[macro
] D
[macro
]
17790 # Replace #undef with comments. This is necessary, for example,
17791 # in the case of _POSIX_SOURCE, which is predefined and required
17792 # on some systems where configure will not decide to define it.
17793 if (defundef
== "undef") {
17794 print
"/*", prefix defundef
, macro
, "*/"
17802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17803 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17804 fi # test -n "$CONFIG_HEADERS"
17807 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17812 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17814 case $ac_mode$ac_tag in
17816 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17817 :[FH
]-) ac_tag
=-:-;;
17818 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17835 -) ac_f
="$tmp/stdin";;
17836 *) # Look for the file first in the build tree, then in the source tree
17837 # (if the path is not absolute). The absolute path cannot be DOS-style,
17838 # because $ac_f cannot contain `:'.
17842 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17844 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17846 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17847 as_fn_append ac_file_inputs
" '$ac_f'"
17850 # Let's still pretend it is `configure' which instantiates (i.e., don't
17851 # use $as_me), people would be surprised to read:
17852 # /* config.h. Generated by config.status. */
17853 configure_input
='Generated from '`
17854 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17856 if test x
"$ac_file" != x-
; then
17857 configure_input
="$ac_file. $configure_input"
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17859 $as_echo "$as_me: creating $ac_file" >&6;}
17861 # Neutralize special characters interpreted by sed in replacement strings.
17862 case $configure_input in #(
17863 *\
&* |
*\|
* |
*\\* )
17864 ac_sed_conf_input
=`$as_echo "$configure_input" |
17865 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17866 *) ac_sed_conf_input
=$configure_input;;
17870 *:-:* |
*:-) cat >"$tmp/stdin" \
17871 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17876 ac_dir
=`$as_dirname -- "$ac_file" ||
17877 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17878 X"$ac_file" : 'X\(//\)[^/]' \| \
17879 X"$ac_file" : 'X\(//\)$' \| \
17880 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17881 $as_echo X"$ac_file" |
17882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17886 /^X\(\/\/\)[^/].*/{
17899 as_dir
="$ac_dir"; as_fn_mkdir_p
17903 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17905 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17906 # A ".." for each directory in $ac_dir_suffix.
17907 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17908 case $ac_top_builddir_sub in
17909 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17910 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17913 ac_abs_top_builddir
=$ac_pwd
17914 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17915 # for backward compatibility:
17916 ac_top_builddir
=$ac_top_build_prefix
17919 .
) # We are building in place.
17921 ac_top_srcdir
=$ac_top_builddir_sub
17922 ac_abs_top_srcdir
=$ac_pwd ;;
17923 [\\/]* | ?
:[\\/]* ) # Absolute name.
17924 ac_srcdir
=$srcdir$ac_dir_suffix;
17925 ac_top_srcdir
=$srcdir
17926 ac_abs_top_srcdir
=$srcdir ;;
17927 *) # Relative name.
17928 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17929 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17930 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17932 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17942 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17943 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17945 ac_MKDIR_P
=$MKDIR_P
17947 [\\/$
]* | ?
:[\\/]* ) ;;
17948 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17953 # If the template does not know about datarootdir, expand it.
17954 # FIXME: This hack should be removed a few years after 2.60.
17955 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17967 *datarootdir
*) ac_datarootdir_seen
=yes;;
17968 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17973 ac_datarootdir_hack='
17974 s&@datadir@&$datadir&g
17975 s&@docdir@&$docdir&g
17976 s&@infodir@&$infodir&g
17977 s&@localedir@&$localedir&g
17978 s&@mandir@&$mandir&g
17979 s&\\\${datarootdir}&$datarootdir&g' ;;
17983 # Neutralize VPATH when `$srcdir' = `.'.
17984 # Shell code in configure.ac might set extrasub.
17985 # FIXME: do we really want to maintain this feature?
17986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17987 ac_sed_extra="$ac_vpsub
17990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17992 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17993 s|@configure_input@|
$ac_sed_conf_input|
;t t
17994 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17995 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17996 s
&@srcdir@
&$ac_srcdir&;t t
17997 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17998 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17999 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18000 s
&@builddir@
&$ac_builddir&;t t
18001 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18002 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18003 s
&@INSTALL@
&$ac_INSTALL&;t t
18004 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18005 $ac_datarootdir_hack
18007 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18008 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18010 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18011 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18012 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18014 which seems to be undefined. Please make sure it is defined." >&5
18015 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18016 which seems to be undefined. Please make sure it is defined." >&2;}
18020 -) cat "$tmp/out" && rm -f "$tmp/out";;
18021 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18023 || as_fn_error "could not create $ac_file" "$LINENO" 5
18029 if test x"$ac_file" != x-; then
18031 $as_echo "/* $configure_input */" \
18032 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18033 } >"$tmp/config.h" \
18034 || as_fn_error "could not create $ac_file" "$LINENO" 5
18035 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18037 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18040 mv "$tmp/config.h" "$ac_file" \
18041 || as_fn_error "could not create $ac_file" "$LINENO" 5
18044 $as_echo "/* $configure_input */" \
18045 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18046 || as_fn_error "could not create -" "$LINENO" 5
18048 # Compute "$ac_file"'s index
in $config_headers.
18051 for _am_header
in $config_headers :; do
18052 case $_am_header in
18053 $_am_arg |
$_am_arg:* )
18056 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18059 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18060 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18061 X"$_am_arg" : 'X\(//\)[^/]' \| \
18062 X"$_am_arg" : 'X\(//\)$' \| \
18063 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18064 $as_echo X"$_am_arg" |
18065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18069 /^X\(\/\/\)[^/].*/{
18081 s/.*/./; q'`/stamp-h
$_am_stamp_count
18084 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18085 $as_echo "$as_me: executing $ac_file commands" >&6;}
18090 case $ac_file$ac_mode in
18092 # Only add multilib support code if we just rebuilt the top-level
18094 case " $CONFIG_FILES " in
18096 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18099 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18100 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18101 # are listed without --file. Let's play safe and only enable the eval
18102 # if we detect the quoting.
18103 case $CONFIG_FILES in
18104 *\'*) eval set x
"$CONFIG_FILES" ;;
18105 *) set x
$CONFIG_FILES ;;
18110 # Strip MF so we end up with the name of the file.
18111 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18112 # Check whether this is an Automake generated Makefile or not.
18113 # We used to match only the files named `Makefile.in', but
18114 # some people rename them; so instead we look at the file content.
18115 # Grep'ing the first line is not enough: some people post-process
18116 # each Makefile.in and add a new line on top of each file to say so.
18117 # Grep'ing the whole file is not good either: AIX grep has a line
18118 # limit of 2048, but all sed's we know have understand at least 4000.
18119 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18120 dirpart
=`$as_dirname -- "$mf" ||
18121 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18122 X"$mf" : 'X\(//\)[^/]' \| \
18123 X"$mf" : 'X\(//\)$' \| \
18124 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18130 /^X\(\/\/\)[^/].*/{
18146 # Extract the definition of DEPDIR, am__include, and am__quote
18147 # from the Makefile without running `make'.
18148 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18149 test -z "$DEPDIR" && continue
18150 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18151 test -z "am__include" && continue
18152 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18153 # When using ansi2knr, U may be empty or an underscore; expand it
18154 U
=`sed -n 's/^U = //p' < "$mf"`
18155 # Find all dependency output files, they are included files with
18156 # $(DEPDIR) in their names. We invoke sed twice because it is the
18157 # simplest approach to changing $(DEPDIR) to its actual value in the
18159 for file in `sed -n "
18160 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18161 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18162 # Make sure the directory exists.
18163 test -f "$dirpart/$file" && continue
18164 fdir
=`$as_dirname -- "$file" ||
18165 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18166 X"$file" : 'X\(//\)[^/]' \| \
18167 X"$file" : 'X\(//\)$' \| \
18168 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18169 $as_echo X"$file" |
18170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18174 /^X\(\/\/\)[^/].*/{
18187 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18188 # echo "creating $dirpart/$file"
18189 echo '# dummy' > "$dirpart/$file"
18196 # See if we are running on zsh, and set the options which allow our
18197 # commands through without removal of \ escapes.
18198 if test -n "${ZSH_VERSION+set}" ; then
18199 setopt NO_GLOB_SUBST
18202 cfgfile
="${ofile}T"
18203 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18206 cat <<_LT_EOF >> "$cfgfile"
18209 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18210 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18211 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18212 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18214 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18215 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18216 # Written by Gordon Matzigkeit, 1996
18218 # This file is part of GNU Libtool.
18220 # GNU Libtool is free software; you can redistribute it and/or
18221 # modify it under the terms of the GNU General Public License as
18222 # published by the Free Software Foundation; either version 2 of
18223 # the License, or (at your option) any later version.
18225 # As a special exception to the GNU General Public License,
18226 # if you distribute this file as part of a program or library that
18227 # is built using GNU Libtool, you may include this file under the
18228 # same distribution terms that you use for the rest of that program.
18230 # GNU Libtool is distributed in the hope that it will be useful,
18231 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18232 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18233 # GNU General Public License for more details.
18235 # You should have received a copy of the GNU General Public License
18236 # along with GNU Libtool; see the file COPYING. If not, a copy
18237 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18238 # obtained by writing to the Free Software Foundation, Inc.,
18239 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18242 # The names of the tagged configurations supported by this script.
18243 available_tags="FC "
18245 # ### BEGIN LIBTOOL CONFIG
18247 # Which release of libtool.m4 was used?
18248 macro_version=$macro_version
18249 macro_revision=$macro_revision
18251 # Whether or not to build shared libraries.
18252 build_libtool_libs=$enable_shared
18254 # Whether or not to build static libraries.
18255 build_old_libs=$enable_static
18257 # What type of objects to build.
18260 # Whether or not to optimize for fast installation.
18261 fast_install=$enable_fast_install
18263 # Shell to use when invoking shell scripts.
18266 # An echo program that protects backslashes.
18270 host_alias=$host_alias
18274 # The build system.
18275 build_alias=$build_alias
18279 # A sed program that does not truncate output.
18282 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18283 Xsed="\$SED -e 1s/^X//"
18285 # A grep program that handles long lines.
18291 # A literal string matcher.
18294 # A BSD- or MS-compatible name lister.
18297 # Whether we need soft or hard links.
18300 # What is the maximum length of a command?
18301 max_cmd_len=$max_cmd_len
18303 # Object file suffix (normally "o").
18306 # Executable file suffix (normally "").
18309 # whether the shell understands "unset".
18312 # turn spaces into newlines.
18315 # turn newlines into spaces.
18318 # An object symbol dumper.
18319 OBJDUMP=$lt_OBJDUMP
18321 # Method to check whether dependent libraries are shared objects.
18322 deplibs_check_method=$lt_deplibs_check_method
18324 # Command to use when deplibs_check_method == "file_magic".
18325 file_magic_cmd=$lt_file_magic_cmd
18329 AR_FLAGS=$lt_AR_FLAGS
18331 # A symbol stripping program.
18334 # Commands used to install an old-style archive.
18336 old_postinstall_cmds=$lt_old_postinstall_cmds
18337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18339 # Whether to use a lock for old archive extraction.
18340 lock_old_archive_extraction=$lock_old_archive_extraction
18345 # LTCC compiler flags.
18346 LTCFLAGS=$lt_CFLAGS
18348 # Take the output of nm and produce a listing of raw symbols and C names.
18349 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18351 # Transform the output of nm in a proper C declaration.
18352 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18354 # Transform the output of nm in a C name address pair.
18355 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18357 # Transform the output of nm in a C name address pair when lib prefix is needed.
18358 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18360 # The name of the directory that contains temporary libtool files.
18363 # Used to examine libraries when file_magic_cmd begins with "file".
18364 MAGIC_CMD=$MAGIC_CMD
18366 # Must we lock files when doing compilation?
18367 need_locks=$lt_need_locks
18369 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18370 DSYMUTIL=$lt_DSYMUTIL
18372 # Tool to change global to local symbols on Mac OS X.
18375 # Tool to manipulate fat objects and archives on Mac OS X.
18378 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18381 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18382 OTOOL64=$lt_OTOOL64
18384 # Old archive suffix (normally "a").
18387 # Shared library suffix (normally ".so").
18388 shrext_cmds=$lt_shrext_cmds
18390 # The commands to extract the exported symbol list from a shared archive.
18391 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18393 # Variables whose values should be saved in libtool wrapper scripts and
18394 # restored at link time.
18395 variables_saved_for_relink=$lt_variables_saved_for_relink
18397 # Do we need the "lib" prefix for modules?
18398 need_lib_prefix=$need_lib_prefix
18400 # Do we need a version for libraries?
18401 need_version=$need_version
18403 # Library versioning type.
18404 version_type=$version_type
18406 # Shared library runtime path variable.
18407 runpath_var=$runpath_var
18409 # Shared library path variable.
18410 shlibpath_var=$shlibpath_var
18412 # Is shlibpath searched before the hard-coded library search path?
18413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18415 # Format of library name prefix.
18416 libname_spec=$lt_libname_spec
18418 # List of archive names. First name is the real one, the rest are links.
18419 # The last name is the one that the linker finds with -lNAME
18420 library_names_spec=$lt_library_names_spec
18422 # The coded name of the library, if different from the real name.
18423 soname_spec=$lt_soname_spec
18425 # Permission mode override for installation of shared libraries.
18426 install_override_mode=$lt_install_override_mode
18428 # Command to use after installation of a shared archive.
18429 postinstall_cmds=$lt_postinstall_cmds
18431 # Command to use after uninstallation of a shared archive.
18432 postuninstall_cmds=$lt_postuninstall_cmds
18434 # Commands used to finish a libtool library installation in a directory.
18435 finish_cmds=$lt_finish_cmds
18437 # As "finish_cmds", except a single script fragment to be evaled but
18439 finish_eval=$lt_finish_eval
18441 # Whether we should hardcode library paths into libraries.
18442 hardcode_into_libs=$hardcode_into_libs
18444 # Compile-time system search path for libraries.
18445 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18447 # Run-time system search path for libraries.
18448 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18450 # Whether dlopen is supported.
18451 dlopen_support=$enable_dlopen
18453 # Whether dlopen of programs is supported.
18454 dlopen_self=$enable_dlopen_self
18456 # Whether dlopen of statically linked programs is supported.
18457 dlopen_self_static=$enable_dlopen_self_static
18459 # Commands to strip libraries.
18460 old_striplib=$lt_old_striplib
18461 striplib=$lt_striplib
18464 # The linker used to build libraries.
18467 # How to create reloadable object files.
18468 reload_flag=$lt_reload_flag
18469 reload_cmds=$lt_reload_cmds
18471 # Commands used to build an old-style archive.
18472 old_archive_cmds=$lt_old_archive_cmds
18474 # A language specific compiler.
18477 # Is the compiler the GNU compiler?
18480 # Compiler flag to turn off builtin functions.
18481 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18483 # How to pass a linker flag through the compiler.
18484 wl=$lt_lt_prog_compiler_wl
18486 # Additional compiler flags for building library objects.
18487 pic_flag=$lt_lt_prog_compiler_pic
18489 # Compiler flag to prevent dynamic linking.
18490 link_static_flag=$lt_lt_prog_compiler_static
18492 # Does compiler simultaneously support -c and -o options?
18493 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18495 # Whether or not to add -lc for building shared libraries.
18496 build_libtool_need_lc=$archive_cmds_need_lc
18498 # Whether or not to disallow shared libs when runtime libs are static.
18499 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18501 # Compiler flag to allow reflexive dlopens.
18502 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18504 # Compiler flag to generate shared objects directly from archives.
18505 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18507 # Whether the compiler copes with passing no objects directly.
18508 compiler_needs_object=$lt_compiler_needs_object
18510 # Create an old-style archive from a shared archive.
18511 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18513 # Create a temporary old-style archive to link instead of a shared archive.
18514 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18516 # Commands used to build a shared archive.
18517 archive_cmds=$lt_archive_cmds
18518 archive_expsym_cmds=$lt_archive_expsym_cmds
18520 # Commands used to build a loadable module if different from building
18521 # a shared archive.
18522 module_cmds=$lt_module_cmds
18523 module_expsym_cmds=$lt_module_expsym_cmds
18525 # Whether we are building with GNU ld or not.
18526 with_gnu_ld=$lt_with_gnu_ld
18528 # Flag that allows shared libraries with undefined symbols to be built.
18529 allow_undefined_flag=$lt_allow_undefined_flag
18531 # Flag that enforces no undefined symbols.
18532 no_undefined_flag=$lt_no_undefined_flag
18534 # Flag to hardcode \$libdir into a binary during linking.
18535 # This must work even if \$libdir does not exist
18536 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18538 # If ld is used when linking, flag to hardcode \$libdir into a binary
18539 # during linking. This must work even if \$libdir does not exist.
18540 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18542 # Whether we need a single "-rpath" flag with a separated argument.
18543 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18545 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18546 # DIR into the resulting binary.
18547 hardcode_direct=$hardcode_direct
18549 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18550 # DIR into the resulting binary and the resulting library dependency is
18551 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18552 # library is relocated.
18553 hardcode_direct_absolute=$hardcode_direct_absolute
18555 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18556 # into the resulting binary.
18557 hardcode_minus_L=$hardcode_minus_L
18559 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18560 # into the resulting binary.
18561 hardcode_shlibpath_var=$hardcode_shlibpath_var
18563 # Set to "yes" if building a shared library automatically hardcodes DIR
18564 # into the library and all subsequent libraries and executables linked
18566 hardcode_automatic=$hardcode_automatic
18568 # Set to yes if linker adds runtime paths of dependent libraries
18569 # to runtime path list.
18570 inherit_rpath=$inherit_rpath
18572 # Whether libtool must link a program against all its dependency libraries.
18573 link_all_deplibs=$link_all_deplibs
18575 # Fix the shell variable \$srcfile for the compiler.
18576 fix_srcfile_path=$lt_fix_srcfile_path
18578 # Set to "yes" if exported symbols are required.
18579 always_export_symbols=$always_export_symbols
18581 # The commands to list exported symbols.
18582 export_symbols_cmds=$lt_export_symbols_cmds
18584 # Symbols that should not be listed in the preloaded symbols.
18585 exclude_expsyms=$lt_exclude_expsyms
18587 # Symbols that must always be exported.
18588 include_expsyms=$lt_include_expsyms
18590 # Commands necessary for linking programs (against libraries) with templates.
18591 prelink_cmds=$lt_prelink_cmds
18593 # Specify filename containing input files.
18594 file_list_spec=$lt_file_list_spec
18596 # How to hardcode a shared library path into an executable.
18597 hardcode_action=$hardcode_action
18599 # The directories searched by this compiler when creating a shared library.
18600 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18602 # Dependencies to place before and after the objects being linked to
18603 # create a shared library.
18604 predep_objects=$lt_predep_objects
18605 postdep_objects=$lt_postdep_objects
18606 predeps=$lt_predeps
18607 postdeps=$lt_postdeps
18609 # The library search path used internally by the compiler when linking
18610 # a shared library.
18611 compiler_lib_search_path=$lt_compiler_lib_search_path
18613 # ### END LIBTOOL CONFIG
18619 cat <<\_LT_EOF
>> "$cfgfile"
18620 # AIX sometimes has problems with the GCC collect2 program. For some
18621 # reason, if we set the COLLECT_NAMES environment variable, the problems
18622 # vanish in a puff of smoke.
18623 if test "X${COLLECT_NAMES+set}" != Xset
; then
18625 export COLLECT_NAMES
18632 ltmain
="$ac_aux_dir/ltmain.sh"
18635 # We use sed instead of cat because bash on DJGPP gets confused if
18636 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18637 # text mode, it properly converts lines to CR/LF. This bash problem
18638 # is reportedly fixed, but why not run on old versions too?
18639 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18640 ||
(rm -f "$cfgfile"; exit 1)
18644 cat << \_LT_EOF
>> "$cfgfile"
18646 # func_dirname file append nondir_replacement
18647 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18648 # otherwise set result to NONDIR_REPLACEMENT.
18652 */*) func_dirname_result
="${1%/*}${2}" ;;
18653 * ) func_dirname_result
="${3}" ;;
18657 # func_basename file
18660 func_basename_result
="${1##*/}"
18663 # func_dirname_and_basename file append nondir_replacement
18664 # perform func_basename and func_dirname in a single function
18666 # dirname: Compute the dirname of FILE. If nonempty,
18667 # add APPEND to the result, otherwise set result
18668 # to NONDIR_REPLACEMENT.
18669 # value returned in "$func_dirname_result"
18670 # basename: Compute filename of FILE.
18671 # value retuned in "$func_basename_result"
18672 # Implementation must be kept synchronized with func_dirname
18673 # and func_basename. For efficiency, we do not delegate to
18674 # those functions but instead duplicate the functionality here.
18675 func_dirname_and_basename
()
18678 */*) func_dirname_result
="${1%/*}${2}" ;;
18679 * ) func_dirname_result
="${3}" ;;
18681 func_basename_result
="${1##*/}"
18684 # func_stripname prefix suffix name
18685 # strip PREFIX and SUFFIX off of NAME.
18686 # PREFIX and SUFFIX must not contain globbing or regex special
18687 # characters, hashes, percent signs, but SUFFIX may contain a leading
18688 # dot (in which case that matches only a dot).
18691 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18692 # positional parameters, so assign one to ordinary parameter first.
18693 func_stripname_result
=${3}
18694 func_stripname_result
=${func_stripname_result#"${1}"}
18695 func_stripname_result
=${func_stripname_result%"${2}"}
18701 func_opt_split_opt
=${1%%=*}
18702 func_opt_split_arg
=${1#*=}
18709 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18710 *) func_lo2o_result
=${1} ;;
18714 # func_xform libobj-or-source
18717 func_xform_result
=${1%.*}.lo
18720 # func_arith arithmetic-term...
18723 func_arith_result
=$
(( $
* ))
18727 # STRING may not start with a hyphen.
18730 func_len_result
=${#1}
18735 *) # Bourne compatible functions.
18736 cat << \_LT_EOF
>> "$cfgfile"
18738 # func_dirname file append nondir_replacement
18739 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18740 # otherwise set result to NONDIR_REPLACEMENT.
18743 # Extract subdirectory from the argument.
18744 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
18745 if test "X$func_dirname_result" = "X${1}"; then
18746 func_dirname_result
="${3}"
18748 func_dirname_result
="$func_dirname_result${2}"
18752 # func_basename file
18755 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
18759 # func_stripname prefix suffix name
18760 # strip PREFIX and SUFFIX off of NAME.
18761 # PREFIX and SUFFIX must not contain globbing or regex special
18762 # characters, hashes, percent signs, but SUFFIX may contain a leading
18763 # dot (in which case that matches only a dot).
18764 # func_strip_suffix prefix name
18768 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18769 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18774 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18775 my_sed_long_arg
='1s/^-[^=]*=//'
18780 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18781 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18787 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
18790 # func_xform libobj-or-source
18793 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18796 # func_arith arithmetic-term...
18799 func_arith_result
=`expr "$@"`
18803 # STRING may not start with a hyphen.
18806 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18812 case $lt_shell_append in
18814 cat << \_LT_EOF
>> "$cfgfile"
18816 # func_append var value
18817 # Append VALUE to the end of shell variable VAR.
18825 cat << \_LT_EOF
>> "$cfgfile"
18827 # func_append var value
18828 # Append VALUE to the end of shell variable VAR.
18839 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18840 ||
(rm -f "$cfgfile"; exit 1)
18842 mv -f "$cfgfile" "$ofile" ||
18843 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18847 cat <<_LT_EOF >> "$ofile"
18849 # ### BEGIN LIBTOOL TAG CONFIG: FC
18851 # The linker used to build libraries.
18854 # How to create reloadable object files.
18855 reload_flag=$lt_reload_flag_FC
18856 reload_cmds=$lt_reload_cmds_FC
18858 # Commands used to build an old-style archive.
18859 old_archive_cmds=$lt_old_archive_cmds_FC
18861 # A language specific compiler.
18864 # Is the compiler the GNU compiler?
18867 # Compiler flag to turn off builtin functions.
18868 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
18870 # How to pass a linker flag through the compiler.
18871 wl=$lt_lt_prog_compiler_wl_FC
18873 # Additional compiler flags for building library objects.
18874 pic_flag=$lt_lt_prog_compiler_pic_FC
18876 # Compiler flag to prevent dynamic linking.
18877 link_static_flag=$lt_lt_prog_compiler_static_FC
18879 # Does compiler simultaneously support -c and -o options?
18880 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
18882 # Whether or not to add -lc for building shared libraries.
18883 build_libtool_need_lc=$archive_cmds_need_lc_FC
18885 # Whether or not to disallow shared libs when runtime libs are static.
18886 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
18888 # Compiler flag to allow reflexive dlopens.
18889 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
18891 # Compiler flag to generate shared objects directly from archives.
18892 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
18894 # Whether the compiler copes with passing no objects directly.
18895 compiler_needs_object=$lt_compiler_needs_object_FC
18897 # Create an old-style archive from a shared archive.
18898 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
18900 # Create a temporary old-style archive to link instead of a shared archive.
18901 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
18903 # Commands used to build a shared archive.
18904 archive_cmds=$lt_archive_cmds_FC
18905 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
18907 # Commands used to build a loadable module if different from building
18908 # a shared archive.
18909 module_cmds=$lt_module_cmds_FC
18910 module_expsym_cmds=$lt_module_expsym_cmds_FC
18912 # Whether we are building with GNU ld or not.
18913 with_gnu_ld=$lt_with_gnu_ld_FC
18915 # Flag that allows shared libraries with undefined symbols to be built.
18916 allow_undefined_flag=$lt_allow_undefined_flag_FC
18918 # Flag that enforces no undefined symbols.
18919 no_undefined_flag=$lt_no_undefined_flag_FC
18921 # Flag to hardcode \$libdir into a binary during linking.
18922 # This must work even if \$libdir does not exist
18923 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
18925 # If ld is used when linking, flag to hardcode \$libdir into a binary
18926 # during linking. This must work even if \$libdir does not exist.
18927 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
18929 # Whether we need a single "-rpath" flag with a separated argument.
18930 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
18932 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18933 # DIR into the resulting binary.
18934 hardcode_direct=$hardcode_direct_FC
18936 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18937 # DIR into the resulting binary and the resulting library dependency is
18938 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18939 # library is relocated.
18940 hardcode_direct_absolute=$hardcode_direct_absolute_FC
18942 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18943 # into the resulting binary.
18944 hardcode_minus_L=$hardcode_minus_L_FC
18946 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18947 # into the resulting binary.
18948 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
18950 # Set to "yes" if building a shared library automatically hardcodes DIR
18951 # into the library and all subsequent libraries and executables linked
18953 hardcode_automatic=$hardcode_automatic_FC
18955 # Set to yes if linker adds runtime paths of dependent libraries
18956 # to runtime path list.
18957 inherit_rpath=$inherit_rpath_FC
18959 # Whether libtool must link a program against all its dependency libraries.
18960 link_all_deplibs=$link_all_deplibs_FC
18962 # Fix the shell variable \$srcfile for the compiler.
18963 fix_srcfile_path=$lt_fix_srcfile_path_FC
18965 # Set to "yes" if exported symbols are required.
18966 always_export_symbols=$always_export_symbols_FC
18968 # The commands to list exported symbols.
18969 export_symbols_cmds=$lt_export_symbols_cmds_FC
18971 # Symbols that should not be listed in the preloaded symbols.
18972 exclude_expsyms=$lt_exclude_expsyms_FC
18974 # Symbols that must always be exported.
18975 include_expsyms=$lt_include_expsyms_FC
18977 # Commands necessary for linking programs (against libraries) with templates.
18978 prelink_cmds=$lt_prelink_cmds_FC
18980 # Specify filename containing input files.
18981 file_list_spec=$lt_file_list_spec_FC
18983 # How to hardcode a shared library path into an executable.
18984 hardcode_action=$hardcode_action_FC
18986 # The directories searched by this compiler when creating a shared library.
18987 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
18989 # Dependencies to place before and after the objects being linked to
18990 # create a shared library.
18991 predep_objects=$lt_predep_objects_FC
18992 postdep_objects=$lt_postdep_objects_FC
18993 predeps=$lt_predeps_FC
18994 postdeps=$lt_postdeps_FC
18996 # The library search path used internally by the compiler when linking
18997 # a shared library.
18998 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
19000 # ### END LIBTOOL TAG CONFIG: FC
19005 if test "$GCC" = yes; then
19006 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
19008 echo "/* generated for $CC */" > tmp-stdint.h
19011 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19013 #ifndef GCC_GENERATED_STDINT_H
19014 #define GCC_GENERATED_STDINT_H 1
19016 #include <sys/types.h>
19019 if test "$acx_cv_header_stdint" != stdint.h
; then
19020 echo "#include <stddef.h>" >> tmp-stdint.h
19022 if test "$acx_cv_header_stdint" != stddef.h
; then
19023 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
19026 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19027 /* glibc uses these symbols as guards to prevent redefinitions. */
19028 #ifdef __int8_t_defined
19033 #ifdef __uint32_t_defined
19039 # ----------------- done header, emit basic int types -------------
19040 if test "$acx_cv_header_stdint" = stddef.h
; then
19041 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19045 #ifndef __uint8_t_defined
19046 #define __uint8_t_defined
19048 typedef unsigned $acx_cv_type_int8_t uint8_t;
19055 #ifndef __uint16_t_defined
19056 #define __uint16_t_defined
19058 typedef unsigned $acx_cv_type_int16_t uint16_t;
19065 #ifndef __uint32_t_defined
19066 #define __uint32_t_defined
19068 typedef unsigned $acx_cv_type_int32_t uint32_t;
19075 #ifndef __int8_t_defined
19076 #define __int8_t_defined
19078 typedef $acx_cv_type_int8_t int8_t;
19085 #ifndef __int16_t_defined
19086 #define __int16_t_defined
19088 typedef $acx_cv_type_int16_t int16_t;
19095 #ifndef __int32_t_defined
19096 #define __int32_t_defined
19098 typedef $acx_cv_type_int32_t int32_t;
19103 elif test "$ac_cv_type_u_int32_t" = yes; then
19104 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19106 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
19119 #ifndef __uint8_t_defined
19120 #define __uint8_t_defined
19122 typedef u_int8_t uint8_t;
19129 #ifndef __uint16_t_defined
19130 #define __uint16_t_defined
19132 typedef u_int16_t uint16_t;
19139 #ifndef __uint32_t_defined
19140 #define __uint32_t_defined
19142 typedef u_int32_t uint32_t;
19148 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19150 /* Some systems have guard macros to prevent redefinitions, define them. */
19172 # ------------- done basic int types, emit int64_t types ------------
19173 if test "$ac_cv_type_uint64_t" = yes; then
19174 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19176 /* system headers have good uint64_t and int64_t */
19184 elif test "$ac_cv_type_u_int64_t" = yes; then
19185 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19187 /* system headers have an u_int64_t (and int64_t) */
19193 #ifndef __uint64_t_defined
19194 #define __uint64_t_defined
19196 typedef u_int64_t uint64_t;
19201 elif test -n "$acx_cv_type_int64_t"; then
19202 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19204 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
19208 typedef $acx_cv_type_int64_t int64_t;
19213 #ifndef __uint64_t_defined
19214 #define __uint64_t_defined
19216 typedef unsigned $acx_cv_type_int64_t uint64_t;
19222 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19224 /* some common heuristics for int64_t, using compiler-specific tests */
19225 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
19228 #ifndef __int64_t_defined
19230 typedef long long int64_t;
19237 typedef unsigned long long uint64_t;
19241 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
19242 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
19243 does not implement __extension__. But that compiler doesn't define
19245 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
19246 # define __extension__
19252 __extension__ typedef long long int64_t;
19258 __extension__ typedef unsigned long long uint64_t;
19262 #elif !defined __STRICT_ANSI__
19263 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
19268 typedef __int64 int64_t;
19274 typedef unsigned __int64 uint64_t;
19277 # endif /* compiler */
19279 #endif /* ANSI version */
19283 # ------------- done int64_t types, emit intptr types ------------
19284 if test "$ac_cv_type_uintptr_t" != yes; then
19285 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19287 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
19288 #ifndef __uintptr_t_defined
19290 typedef u$acx_cv_type_intptr_t uintptr_t;
19293 #ifndef __intptr_t_defined
19295 typedef $acx_cv_type_intptr_t intptr_t;
19301 # ------------- done intptr types, emit int_least types ------------
19302 if test "$ac_cv_type_int_least32_t" != yes; then
19303 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19305 /* Define int_least types */
19306 typedef int8_t int_least8_t;
19307 typedef int16_t int_least16_t;
19308 typedef int32_t int_least32_t;
19310 typedef int64_t int_least64_t;
19313 typedef uint8_t uint_least8_t;
19314 typedef uint16_t uint_least16_t;
19315 typedef uint32_t uint_least32_t;
19317 typedef uint64_t uint_least64_t;
19322 # ------------- done intptr types, emit int_fast types ------------
19323 if test "$ac_cv_type_int_fast32_t" != yes; then
19324 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19326 /* Define int_fast types. short is often slow */
19327 typedef int8_t int_fast8_t;
19328 typedef int int_fast16_t;
19329 typedef int32_t int_fast32_t;
19331 typedef int64_t int_fast64_t;
19334 typedef uint8_t uint_fast8_t;
19335 typedef unsigned int uint_fast16_t;
19336 typedef uint32_t uint_fast32_t;
19338 typedef uint64_t uint_fast64_t;
19343 if test "$ac_cv_type_uintmax_t" != yes; then
19344 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19346 /* Define intmax based on what we found */
19349 typedef int64_t intmax_t;
19351 typedef long intmax_t;
19356 typedef uint64_t uintmax_t;
19358 typedef unsigned long uintmax_t;
19364 sed 's/^ *//' >> tmp-stdint.h
<<EOF
19366 #endif /* GCC_GENERATED_STDINT_H */
19369 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
19372 mv -f tmp-stdint.h gstdint.h
19383 ac_clean_files
=$ac_clean_files_save
19385 test $ac_write_fail = 0 ||
19386 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19389 # configure is writing to config.log, and then calls config.status.
19390 # config.status does its own redirection, appending to config.log.
19391 # Unfortunately, on DOS this fails, as config.log is still kept open
19392 # by configure, so config.status won't be able to write to it; its
19393 # output is simply discarded. So we exec the FD to /dev/null,
19394 # effectively closing config.log, so it can be properly (re)opened and
19395 # appended to by config.status. When coming back to configure, we
19396 # need to make the FD available again.
19397 if test "$no_create" != yes; then
19399 ac_config_status_args
=
19400 test "$silent" = yes &&
19401 ac_config_status_args
="$ac_config_status_args --quiet"
19403 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19405 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19406 # would make configure fail if this is the last instruction.
19407 $ac_cs_success || as_fn_exit $?
19409 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19411 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}