2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU UPC 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 UPC Runtime Library'
558 PACKAGE_TARNAME
='libgupc'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='GNU UPC Runtime Library 1.0'
562 PACKAGE_URL
='http://www.gnu.org/software/libgupc/'
564 ac_unique_file
="include/upc.h"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
604 LIBGUPC_NODE_LOCAL_MEM_MMAP_FALSE
605 LIBGUPC_NODE_LOCAL_MEM_MMAP_TRUE
606 LIBGUPC_NODE_LOCAL_MEM_POSIX_FALSE
607 LIBGUPC_NODE_LOCAL_MEM_POSIX_TRUE
608 LIBGUPC_BACKTRACE_SUP_FALSE
609 LIBGUPC_BACKTRACE_SUP_TRUE
610 LIBGUPC_BACKTRACE_FALSE
611 LIBGUPC_BACKTRACE_TRUE
616 LIBGUPC_AFFINITY_FALSE
617 LIBGUPC_AFFINITY_TRUE
618 LIBGUPC_PTHREADS_FALSE
619 LIBGUPC_PTHREADS_TRUE
620 LIBGUPC_GENERIC_COLLECTIVES_FALSE
621 LIBGUPC_GENERIC_COLLECTIVES_TRUE
622 LIBGUPC_LINK_SCRIPT_FALSE
623 LIBGUPC_LINK_SCRIPT_TRUE
624 LIBGUPC_CRTSTUFF_FALSE
625 LIBGUPC_CRTSTUFF_TRUE
626 LIBGUPC_RUNTIME_DEBUG_FALSE
627 LIBGUPC_RUNTIME_DEBUG_TRUE
628 LIBGUPC_PORTALS4_RUNTIME_FALSE
629 LIBGUPC_PORTALS4_RUNTIME_TRUE
630 LIBGUPC_SMP_RUNTIME_FALSE
631 LIBGUPC_SMP_RUNTIME_TRUE
700 enable_upc_runtime_debug
701 LIBGUPC_BUILD_VERSIONED_SHLIB_FALSE
702 LIBGUPC_BUILD_VERSIONED_SHLIB_TRUE
708 MAINTAINER_MODE_FALSE
766 INSTALL_STRIP_PROGRAM
822 program_transform_name
835 enable_option_checking
836 enable_version_specific_runtime_libs
837 enable_generated_files_in_srcdir
839 enable_dependency_tracking
846 enable_maintainer_mode
852 enable_upc_runtime_checks
853 enable_upc_runtime_stats
854 enable_upc_runtime_trace
855 enable_upc_runtime_debug
856 enable_upc_link_script
857 with_upc_runtime_tree_fanout
870 enable_upc_backtrace_gdb
871 with_upc_backtrace_gdb
872 enable_upc_backtrace_signal
873 with_upc_backtrace_signal
877 with_upc_runtime_max_locks
879 with_portals4_include
881 with_upc_runtime_pte_base
882 with_upc_runtime_bounce_buffer_size
883 with_upc_max_outstanding_puts
884 enable_upc_runtime_triggered_ops
885 enable_upc_node_local_mem
886 with_upc_node_local_mem
887 with_upc_job_launcher
888 with_upc_memory_page_size
890 ac_precious_vars
='build_alias
906 # Initialize some variables set by options.
908 ac_init_version
=false
909 ac_unrecognized_opts
=
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
920 program_transform_name
=s
,x
,x
,
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir
='${exec_prefix}/bin'
935 sbindir
='${exec_prefix}/sbin'
936 libexecdir
='${exec_prefix}/libexec'
937 datarootdir
='${prefix}/share'
938 datadir
='${datarootdir}'
939 sysconfdir
='${prefix}/etc'
940 sharedstatedir
='${prefix}/com'
941 localstatedir
='${prefix}/var'
942 includedir
='${prefix}/include'
943 oldincludedir
='/usr/include'
944 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
945 infodir
='${datarootdir}/info'
950 libdir
='${exec_prefix}/lib'
951 localedir
='${datarootdir}/locale'
952 mandir
='${datarootdir}/man'
958 # If the previous option needs an argument, assign it.
959 if test -n "$ac_prev"; then
960 eval $ac_prev=\
$ac_option
966 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
970 # Accept the important Cygnus configure options, so we can diagnose typos.
972 case $ac_dashdash$ac_option in
976 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
978 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
981 -build |
--build |
--buil |
--bui |
--bu)
982 ac_prev
=build_alias
;;
983 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
984 build_alias
=$ac_optarg ;;
986 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
987 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
988 ac_prev
=cache_file
;;
989 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
990 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
991 cache_file
=$ac_optarg ;;
994 cache_file
=config.cache
;;
996 -datadir |
--datadir |
--datadi |
--datad)
998 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
999 datadir
=$ac_optarg ;;
1001 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1002 |
--dataroo |
--dataro |
--datar)
1003 ac_prev
=datarootdir
;;
1004 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1005 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1006 datarootdir
=$ac_optarg ;;
1008 -disable-* |
--disable-*)
1009 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1012 as_fn_error
"invalid feature name: $ac_useropt"
1013 ac_useropt_orig
=$ac_useropt
1014 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "enable_
$ac_useropt"
1019 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1020 ac_unrecognized_sep
=', ';;
1022 eval enable_
$ac_useropt=no
;;
1024 -docdir |
--docdir |
--docdi |
--doc |
--do)
1026 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1027 docdir
=$ac_optarg ;;
1029 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1031 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1032 dvidir
=$ac_optarg ;;
1034 -enable-* |
--enable-*)
1035 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1038 as_fn_error
"invalid feature name: $ac_useropt"
1039 ac_useropt_orig
=$ac_useropt
1040 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1043 "enable_
$ac_useropt"
1045 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1046 ac_unrecognized_sep
=', ';;
1048 eval enable_
$ac_useropt=\
$ac_optarg ;;
1050 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1051 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1052 |
--exec |
--exe |
--ex)
1053 ac_prev
=exec_prefix
;;
1054 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1055 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1056 |
--exec=* |
--exe=* |
--ex=*)
1057 exec_prefix
=$ac_optarg ;;
1059 -gas |
--gas |
--ga |
--g)
1060 # Obsolete; use --with-gas.
1063 -help |
--help |
--hel |
--he |
-h)
1064 ac_init_help
=long
;;
1065 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1066 ac_init_help
=recursive
;;
1067 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1068 ac_init_help
=short
;;
1070 -host |
--host |
--hos |
--ho)
1071 ac_prev
=host_alias
;;
1072 -host=* |
--host=* |
--hos=* |
--ho=*)
1073 host_alias
=$ac_optarg ;;
1075 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1077 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1079 htmldir
=$ac_optarg ;;
1081 -includedir |
--includedir |
--includedi |
--included |
--include \
1082 |
--includ |
--inclu |
--incl |
--inc)
1083 ac_prev
=includedir
;;
1084 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1085 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1086 includedir
=$ac_optarg ;;
1088 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1090 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1091 infodir
=$ac_optarg ;;
1093 -libdir |
--libdir |
--libdi |
--libd)
1095 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1096 libdir
=$ac_optarg ;;
1098 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1099 |
--libexe |
--libex |
--libe)
1100 ac_prev
=libexecdir
;;
1101 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1102 |
--libexe=* |
--libex=* |
--libe=*)
1103 libexecdir
=$ac_optarg ;;
1105 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1106 ac_prev
=localedir
;;
1107 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1108 localedir
=$ac_optarg ;;
1110 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1111 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1112 ac_prev
=localstatedir
;;
1113 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1114 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1115 localstatedir
=$ac_optarg ;;
1117 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1119 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1120 mandir
=$ac_optarg ;;
1122 -nfp |
--nfp |
--nf)
1123 # Obsolete; use --without-fp.
1126 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1127 |
--no-cr |
--no-c |
-n)
1130 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1131 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1134 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1135 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1136 |
--oldin |
--oldi |
--old |
--ol |
--o)
1137 ac_prev
=oldincludedir
;;
1138 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1139 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1140 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1141 oldincludedir
=$ac_optarg ;;
1143 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1145 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1146 prefix
=$ac_optarg ;;
1148 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1149 |
--program-pre |
--program-pr |
--program-p)
1150 ac_prev
=program_prefix
;;
1151 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1152 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1153 program_prefix
=$ac_optarg ;;
1155 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1156 |
--program-suf |
--program-su |
--program-s)
1157 ac_prev
=program_suffix
;;
1158 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1159 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1160 program_suffix
=$ac_optarg ;;
1162 -program-transform-name |
--program-transform-name \
1163 |
--program-transform-nam |
--program-transform-na \
1164 |
--program-transform-n |
--program-transform- \
1165 |
--program-transform |
--program-transfor \
1166 |
--program-transfo |
--program-transf \
1167 |
--program-trans |
--program-tran \
1168 |
--progr-tra |
--program-tr |
--program-t)
1169 ac_prev
=program_transform_name
;;
1170 -program-transform-name=* |
--program-transform-name=* \
1171 |
--program-transform-nam=* |
--program-transform-na=* \
1172 |
--program-transform-n=* |
--program-transform-=* \
1173 |
--program-transform=* |
--program-transfor=* \
1174 |
--program-transfo=* |
--program-transf=* \
1175 |
--program-trans=* |
--program-tran=* \
1176 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1177 program_transform_name
=$ac_optarg ;;
1179 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1181 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1182 pdfdir
=$ac_optarg ;;
1184 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1186 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1189 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1190 |
-silent |
--silent |
--silen |
--sile |
--sil)
1193 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1195 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1197 sbindir
=$ac_optarg ;;
1199 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1200 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1201 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1203 ac_prev
=sharedstatedir
;;
1204 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1205 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1206 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1208 sharedstatedir
=$ac_optarg ;;
1210 -site |
--site |
--sit)
1212 -site=* |
--site=* |
--sit=*)
1215 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1217 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1218 srcdir
=$ac_optarg ;;
1220 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1221 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1222 ac_prev
=sysconfdir
;;
1223 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1224 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1225 sysconfdir
=$ac_optarg ;;
1227 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1228 ac_prev
=target_alias
;;
1229 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1230 target_alias
=$ac_optarg ;;
1232 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1235 -version |
--version |
--versio |
--versi |
--vers |
-V)
1236 ac_init_version
=: ;;
1239 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 as_fn_error
"invalid package name: $ac_useropt"
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=\
$ac_optarg ;;
1254 -without-* |
--without-*)
1255 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1258 as_fn_error
"invalid package name: $ac_useropt"
1259 ac_useropt_orig
=$ac_useropt
1260 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1265 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1266 ac_unrecognized_sep
=', ';;
1268 eval with_
$ac_useropt=no
;;
1271 # Obsolete; use --with-x.
1274 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1275 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1276 ac_prev
=x_includes
;;
1277 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1278 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1279 x_includes
=$ac_optarg ;;
1281 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1282 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1283 ac_prev
=x_libraries
;;
1284 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1285 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1286 x_libraries
=$ac_optarg ;;
1288 -*) as_fn_error
"unrecognized option: \`$ac_option'
1289 Try \`$0 --help' for more information."
1293 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1294 # Reject names that are not valid shell variable names.
1295 case $ac_envvar in #(
1296 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1297 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1299 eval $ac_envvar=\
$ac_optarg
1300 export $ac_envvar ;;
1303 # FIXME: should be removed in autoconf 3.0.
1304 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1305 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1306 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1307 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1313 if test -n "$ac_prev"; then
1314 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1315 as_fn_error
"missing argument to $ac_option"
1318 if test -n "$ac_unrecognized_opts"; then
1319 case $enable_option_checking in
1321 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1322 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1326 # Check all directory arguments for consistency.
1327 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1328 datadir sysconfdir sharedstatedir localstatedir includedir \
1329 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1330 libdir localedir mandir
1332 eval ac_val
=\$
$ac_var
1333 # Remove trailing slashes.
1336 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1337 eval $ac_var=\
$ac_val;;
1339 # Be sure to have absolute directory names.
1341 [\\/$
]* | ?
:[\\/]* ) continue;;
1342 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1344 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1347 # There might be people who depend on the old broken behavior: `$host'
1348 # used to hold the argument of --host etc.
1349 # FIXME: To remove some day.
1352 target
=$target_alias
1354 # FIXME: To remove some day.
1355 if test "x$host_alias" != x
; then
1356 if test "x$build_alias" = x
; then
1357 cross_compiling
=maybe
1358 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1359 If a cross compiler is detected then cross compile mode will be used." >&2
1360 elif test "x$build_alias" != "x$host_alias"; then
1366 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1368 test "$silent" = yes && exec 6>/dev
/null
1371 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1372 ac_ls_di
=`ls -di .` &&
1373 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1374 as_fn_error
"working directory cannot be determined"
1375 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1376 as_fn_error
"pwd does not report name of working directory"
1379 # Find the source files, if location was not specified.
1380 if test -z "$srcdir"; then
1381 ac_srcdir_defaulted
=yes
1382 # Try the directory containing this script, then the parent directory.
1383 ac_confdir
=`$as_dirname -- "$as_myself" ||
1384 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1385 X"$as_myself" : 'X\(//\)[^/]' \| \
1386 X"$as_myself" : 'X\(//\)$' \| \
1387 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1388 $as_echo X"$as_myself" |
1389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1411 ac_srcdir_defaulted
=no
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1415 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1417 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1419 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1421 # When building in place, set srcdir=.
1422 if test "$ac_abs_confdir" = "$ac_pwd"; then
1425 # Remove unnecessary trailing slashes from srcdir.
1426 # Double slashes in file names in object file debugging info
1427 # mess up M-x gdb in Emacs.
1429 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1431 for ac_var
in $ac_precious_vars; do
1432 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1433 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1434 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1435 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1439 # Report the --help message.
1441 if test "$ac_init_help" = "long"; then
1442 # Omit some internal or obsolete options to make the list less imposing.
1443 # This message is too long to be a string in the A/UX 3.1 sh.
1445 \`configure' configures GNU UPC Runtime Library 1.0 to adapt to many kinds of systems.
1447 Usage: $0 [OPTION]... [VAR=VALUE]...
1449 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1450 VAR=VALUE. See below for descriptions of some of the useful variables.
1452 Defaults for the options are specified in brackets.
1455 -h, --help display this help and exit
1456 --help=short display options specific to this package
1457 --help=recursive display the short help of all the included packages
1458 -V, --version display version information and exit
1459 -q, --quiet, --silent do not print \`checking...' messages
1460 --cache-file=FILE cache test results in FILE [disabled]
1461 -C, --config-cache alias for \`--cache-file=config.cache'
1462 -n, --no-create do not create output files
1463 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1465 Installation directories:
1466 --prefix=PREFIX install architecture-independent files in PREFIX
1467 [$ac_default_prefix]
1468 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1471 By default, \`make install' will install all the files in
1472 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1473 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1474 for instance \`--prefix=\$HOME'.
1476 For better control, use the options below.
1478 Fine tuning of the installation directories:
1479 --bindir=DIR user executables [EPREFIX/bin]
1480 --sbindir=DIR system admin executables [EPREFIX/sbin]
1481 --libexecdir=DIR program executables [EPREFIX/libexec]
1482 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1483 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1484 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1485 --libdir=DIR object code libraries [EPREFIX/lib]
1486 --includedir=DIR C header files [PREFIX/include]
1487 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1488 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1489 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1490 --infodir=DIR info documentation [DATAROOTDIR/info]
1491 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1492 --mandir=DIR man documentation [DATAROOTDIR/man]
1493 --docdir=DIR documentation root [DATAROOTDIR/doc/libgupc]
1494 --htmldir=DIR html documentation [DOCDIR]
1495 --dvidir=DIR dvi documentation [DOCDIR]
1496 --pdfdir=DIR pdf documentation [DOCDIR]
1497 --psdir=DIR ps documentation [DOCDIR]
1503 --program-prefix=PREFIX prepend PREFIX to installed program names
1504 --program-suffix=SUFFIX append SUFFIX to installed program names
1505 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1508 --build=BUILD configure
for building on BUILD
[guessed
]
1509 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1510 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive
) echo "Configuration of GNU UPC Runtime Library 1.0:";;
1521 --disable-option-checking ignore unrecognized
--enable/--with options
1522 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1523 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1524 --enable-version-specific-runtime-libs
1525 specify that runtime libraries should be installed
1526 in a compiler-specific directory
[default
=no
]
1527 --enable-generated-files-in-srcdir
1528 put copies of generated files
in source dir intended
1529 for creating
source tarballs
for users without
1530 texinfo bison or flex
[default
=no
]
1531 --enable-multilib build many library versions
(default
)
1532 --disable-dependency-tracking speeds up one-time build
1533 --enable-dependency-tracking do not reject slow dependency extractors
1534 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1535 --enable-static[=PKGS
] build static libraries
[default
=yes]
1536 --enable-fast-install[=PKGS
]
1537 optimize
for fast installation
[default
=yes]
1538 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1539 --enable-maintainer-mode enable make rules and dependencies not useful
1540 (and sometimes confusing
) to the casual installer
1541 --disable-largefile omit support
for large files
1542 --enable-linux-futex use the Linux futex system call
[default
=default
]
1543 --enable-tls Use thread-local storage
[default
=yes]
1544 --enable-symvers=STYLE enables symbol versioning of the shared library
1546 --enable-upc-runtime-checks
1547 enable internal UPC runtime checks that validate
1548 arguments
, and check
for inconsistent runtime state.
1550 --enable-upc-runtime-stats
1551 enable internal UPC runtime statistics collection
1552 support
; these statistics count the number of
1553 various significant internal operations
, and dump
1554 those counts into a per-process statistics
file.
1556 --enable-upc-runtime-trace
1557 enable internal UPC runtime trace collection
1558 support
; a runtime trace is a
time stamped log that
1559 records various significant internal events
; this
1560 trace is written to a per-process log
file.
1562 --enable-upc-runtime-debug
1563 enable UPC runtime debugging mode
, where
more
1564 expensive internal checks are implemented
, and
1565 conservative algorithms are used that reduce the
1566 degree of parallelism
, and that exercise
less
1567 complex
/sophisticated operations provided by the
1568 operating system and
/or the network communication
1569 packages called by the UPC runtime. In addition
,
1570 conservative compilation options will be used to
1571 build the runtime
, and debugging symbols will be
1572 generated.
[default
=no
]
1573 --enable-upc-link-script
1574 enable UPC
's use of a custom linker script; this
1575 will define the UPC shared section as a no load
1576 section on targets where this feature is supported
1578 --enable-upc-gum-debug enable UPC's
source level debugging with GDB and GUM
1579 support
(requires UPC aware GDB
)
1580 --enable-doxygen-doc generate any doxygen documentation
1581 --enable-doxygen-dot generate graphics
for doxygen documentation
1582 --enable-doxygen-man generate doxygen manual pages
1583 --enable-doxygen-rtf generate doxygen RTF documentation
1584 --enable-doxygen-xml generate doxygen XML documentation
1585 --enable-doxygen-chm generate doxygen compressed HTML
help documentation
1586 --enable-doxygen-chi generate doxygen seperate compressed HTML
help index
1588 --disable-doxygen-html don
't generate doxygen plain HTML documentation
1589 --disable-doxygen-ps don't generate doxygen PostScript documentation
1590 --disable-doxygen-pdf don
't generate doxygen PDF documentation
1591 --enable-upc-backtrace enable UPC backtrace; enable stack frame backtrace
1592 report when UPC run-time fatal errors occur or by
1593 user request (via signal)
1594 --enable-upc-backtrace-gdb
1595 enable the use of GDB for UPC stack backtrace
1597 --enable-upc-backtrace-signal
1598 enable signal support for UPC stack backtrace
1600 --enable-upc-runtime-triggered-ops
1601 enable UPC runtime support for Portals4 triggered
1602 operations. [default=yes]
1603 --enable-upc-node-local-mem
1604 enable UPC runtime support for accessing shared
1605 memory of the node local threads. [default=yes]
1608 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1609 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1610 --with-pic try to use only PIC/non-PIC objects [default=use
1612 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1613 --with-upc-runtime=MODEL
1614 specify the runtime implementation model for UPC,
1615 where MODEL may be: 'SMP
' (Symmetric
1616 Multiprocessing) or 'Portals4
'. [default='SMP
']
1617 --with-upc-runtime-tree-fanout=WIDTH
1618 specify the maximum number of children in each
1619 sub-tree used to implement UPC collectives
1620 operations (e. g. upc_barrier) [default=4]
1621 --with-upc-backtrace-gdb=GDB
1622 specify which GDB to use for UPC backtrace support
1624 --with-upc-backtrace-signal=SIGNAL
1625 specify the signal to be used for UPC stack
1626 backtrace [default='SIGUSR1
']
1627 --with-bfd=PATH specify prefix directory for the installed BFD
1628 library needed to provide extended UPC backtrace
1629 information (source file name and line numbers);
1630 equivalent to --with-bfd-include=PATH/include plus
1631 --with-bfd-lib=PATH/lib
1632 --with-bfd-include=PATH specify directory for installed BFD include files
1633 --with-bfd-lib=PATH specify directory for the installed BFD library
1634 --with-upc-runtime-max-locks=MAX_LOCKS
1635 specify the maximum number of locks that can be held
1636 by a single UPC thread [default=1024]
1637 --with-portals4=PATH specify prefix directory for installed portals4
1638 package. Equivalent to
1639 --with-portals4-include=PATH/include plus
1640 --with-portals4-lib=PATH/lib
1641 --with-portals4-include=PATH
1642 specify directory for installed portals4 include
1644 --with-portals4-lib=PATH
1645 specify directory for the installed portals4 library
1646 --with-upc-runtime-pte-base=BASE
1647 specify the base index of the first Portals4 PTE
1648 used by the UPC runtime [default=16]
1649 --with-upc-runtime-max-locks=MAX_LOCKS
1650 specify the maximum number of locks that can be held
1651 by a single UPC thread [default=1024]
1652 --with-upc-runtime-bounce-buffer-size=SIZE
1653 specify the size (in bytes) of the bounce buffer
1654 that is used by the UPC runtime to buffer network
1656 --with-upc-max-outstanding-puts=SIZE
1657 specify the maximum number of outstanding remote put
1658 requests. [default=256]
1659 --with-upc-runtime-tree-fanout=WIDTH
1660 specify the maximum number of children in each
1661 sub-tree used to implement UPC collective operations
1662 (e. g., upc_barrier and upc_global_alloc).
1664 --with-upc-node-local-mem=SHMEM
1665 specify type of shared memory used for node local
1666 memory accesses (posix or mmap). [default=posix]
1667 --with-upc-job-launcher Select UPC Portals4 job launcher. [default=slurm]
1668 --with-upc-memory-page-size
1669 Select target memory page size. [default=4096]
1671 Some influential environment variables:
1672 CC C compiler command
1673 CFLAGS C compiler flags
1674 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1675 nonstandard directory <lib dir>
1676 LIBS libraries to pass to the linker, e.g. -l<library>
1677 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1678 you have headers in a nonstandard directory <include dir>
1679 UPC Unified Parallel C compiler command
1680 UPCFLAGS Unified Parallel C compiler flags
1683 letter (default), a4, a4wide, legal or executive
1685 Location of small logo graphic (for HTML)
1687 Location of larger logo graphic (for PDF)
1689 Doxygen document title
1691 Doxygen document author
1693 Doxygen date and time value
1697 Use these variables to override the choices made by `configure' or to
help
1698 it to
find libraries and programs with nonstandard names
/locations.
1700 Report bugs to the package provider.
1701 GNU UPC Runtime Library home page
: <http
://www.gnu.org
/software
/libgupc
/>.
1702 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1707 if test "$ac_init_help" = "recursive"; then
1708 # If there are subdirs, report their specific --help.
1709 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1710 test -d "$ac_dir" ||
1711 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1716 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1718 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1719 # A ".." for each directory in $ac_dir_suffix.
1720 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1721 case $ac_top_builddir_sub in
1722 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1723 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1726 ac_abs_top_builddir
=$ac_pwd
1727 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1728 # for backward compatibility:
1729 ac_top_builddir
=$ac_top_build_prefix
1732 .
) # We are building in place.
1734 ac_top_srcdir
=$ac_top_builddir_sub
1735 ac_abs_top_srcdir
=$ac_pwd ;;
1736 [\\/]* | ?
:[\\/]* ) # Absolute name.
1737 ac_srcdir
=$srcdir$ac_dir_suffix;
1738 ac_top_srcdir
=$srcdir
1739 ac_abs_top_srcdir
=$srcdir ;;
1741 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1742 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1743 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1745 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1747 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1748 # Check for guested configure.
1749 if test -f "$ac_srcdir/configure.gnu"; then
1751 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1752 elif test -f "$ac_srcdir/configure"; then
1754 $SHELL "$ac_srcdir/configure" --help=recursive
1756 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1758 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1762 test -n "$ac_init_help" && exit $ac_status
1763 if $ac_init_version; then
1765 GNU UPC Runtime Library configure
1.0
1766 generated by GNU Autoconf
2.64
1768 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1769 This configure
script is free software
; the Free Software Foundation
1770 gives unlimited permission to copy
, distribute and modify it.
1775 ## ------------------------ ##
1776 ## Autoconf initialization. ##
1777 ## ------------------------ ##
1779 # ac_fn_c_try_compile LINENO
1780 # --------------------------
1781 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_compile
()
1784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1785 rm -f conftest.
$ac_objext
1786 if { { ac_try
="$ac_compile"
1788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_compile") 2>conftest.err
1795 if test -s conftest.err; then
1796 grep -v '^ *+' conftest.err >conftest.er1
1797 cat conftest.er1 >&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest.$ac_objext; then :
1807 $as_echo "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.$ac_ext >&5
1812 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815 } # ac_fn_c_try_compile
1817 # ac_fn_c_try_link LINENO
1818 # -----------------------
1819 # Try to link conftest.$ac_ext, and return whether this succeeded.
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 rm -f conftest.$ac_objext conftest$ac_exeext
1824 if { { ac_try="$ac_link"
1826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1827 *) ac_try_echo
=$ac_try;;
1829 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_link") 2>conftest.err
1833 if test -s conftest.err
; then
1834 grep -v '^ *+' conftest.err
>conftest.er1
1835 cat conftest.er1
>&5
1836 mv -f conftest.er1 conftest.err
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } && {
1840 test -z "$ac_c_werror_flag" ||
1841 test ! -s conftest.err
1842 } && test -s conftest
$ac_exeext && {
1843 test "$cross_compiling" = yes ||
1844 $as_test_x conftest
$ac_exeext
1848 $as_echo "$as_me: failed program was:" >&5
1849 sed 's/^/| /' conftest.
$ac_ext >&5
1853 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1854 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1855 # interfere with the next link command; also delete a directory that is
1856 # left behind by Apple's compiler. We do this before executing the actions.
1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1861 } # ac_fn_c_try_link
1863 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1864 # -------------------------------------------------------
1865 # Tests whether HEADER exists and can be compiled using the include files in
1866 # INCLUDES, setting the cache variable VAR accordingly.
1867 ac_fn_c_check_header_compile
()
1869 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1873 $as_echo_n "(cached) " >&6
1875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1880 if ac_fn_c_try_compile
"$LINENO"; then :
1885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889 $as_echo "$ac_res" >&6; }
1890 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1892 } # ac_fn_c_check_header_compile
1894 # ac_fn_c_try_cpp LINENO
1895 # ----------------------
1896 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1899 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1900 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1909 if test -s conftest.err; then
1910 grep -v '^ *+' conftest.err >conftest.er1
1911 cat conftest.er1 >&5
1912 mv -f conftest.er1 conftest.err
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; } >/dev/null && {
1916 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1917 test ! -s conftest.err
1921 $as_echo "$as_me: failed program was:" >&5
1922 sed 's/^/| /' conftest.$ac_ext >&5
1926 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1931 # ac_fn_c_try_run LINENO
1932 # ----------------------
1933 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1934 # that executables *can* be run.
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 if { { ac_try="$ac_link"
1940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1941 *) ac_try_echo
=$ac_try;;
1943 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944 $as_echo "$ac_try_echo"; } >&5
1945 (eval "$ac_link") 2>&5
1947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1948 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1949 { { case "(($ac_try" in
1950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1951 *) ac_try_echo=$ac_try;;
1953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954 $as_echo "$ac_try_echo"; } >&5
1955 (eval "$ac_try") 2>&5
1957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958 test $ac_status = 0; }; }; then :
1961 $as_echo "$as_me: program exited with status $ac_status" >&5
1962 $as_echo "$as_me: failed program was:" >&5
1963 sed 's/^/| /' conftest.$ac_ext >&5
1965 ac_retval=$ac_status
1967 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1968 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 # ac_fn_c_check_func LINENO FUNC VAR
1974 # ----------------------------------
1975 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1976 ac_fn_c_check_func ()
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1980 $as_echo_n "checking for $2... " >&6; }
1981 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1982 $as_echo_n "(cached) " >&6
1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1986 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1988 #define $2 innocuous_$2
1990 /* System header to define __stub macros and hopefully few prototypes,
1991 which can conflict with char $2 (); below.
1992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1993 <limits.h> exists even on freestanding compilers. */
1996 # include <limits.h>
1998 # include <assert.h>
2003 /* Override any GCC internal prototype to avoid an error.
2004 Use char because int might match the return type of a GCC
2005 builtin and then its argument prototype would still apply. */
2010 /* The GNU C library defines this for functions which it implements
2011 to always fail with ENOSYS. Some functions are actually named
2012 something starting with __ and the normal name is an alias. */
2013 #if defined __stub_$2 || defined __stub___$2
2025 if ac_fn_c_try_link "$LINENO"; then :
2030 rm -f core conftest.err conftest.$ac_objext \
2031 conftest$ac_exeext conftest.$ac_ext
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2036 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2038 } # ac_fn_c_check_func
2040 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2041 # -------------------------------------------
2042 # Tests whether TYPE exists after having included INCLUDES, setting cache
2043 # variable VAR accordingly.
2044 ac_fn_c_check_type ()
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050 $as_echo_n "(cached) " >&6
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2065 if ac_fn_c_try_compile "$LINENO"; then :
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2078 if ac_fn_c_try_compile "$LINENO"; then :
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2090 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092 } # ac_fn_c_check_type
2094 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2095 # --------------------------------------------
2096 # Tries to find the compile-time value of EXPR in a program that includes
2097 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2099 ac_fn_c_compute_int ()
2101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102 if test "$cross_compiling" = yes; then
2103 # Depending upon the size, compute the lo and hi bounds.
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2110 static int test_array [1 - 2 * !(($2) >= 0)];
2117 if ac_fn_c_try_compile "$LINENO"; then :
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2126 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2133 if ac_fn_c_try_compile "$LINENO"; then :
2134 ac_hi=$ac_mid; break
2136 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2137 if test $ac_lo -le $ac_mid; then
2141 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147 /* end confdefs.h. */
2152 static int test_array [1 - 2 * !(($2) < 0)];
2159 if ac_fn_c_try_compile "$LINENO"; then :
2162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163 /* end confdefs.h. */
2168 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2175 if ac_fn_c_try_compile "$LINENO"; then :
2176 ac_lo=$ac_mid; break
2178 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2179 if test $ac_mid -le $ac_hi; then
2183 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2193 # Binary search between lo and hi bounds.
2194 while test "x$ac_lo" != "x$ac_hi"; do
2195 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2202 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2209 if ac_fn_c_try_compile "$LINENO"; then :
2212 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2224 static long int longval () { return $2; }
2225 static unsigned long int ulongval () { return $2; }
2232 FILE *f = fopen ("conftest.val", "w");
2237 long int i = longval ();
2240 fprintf (f, "%ld", i);
2244 unsigned long int i = ulongval ();
2247 fprintf (f, "%lu", i);
2249 /* Do not output a trailing newline, as this causes \r\n confusion
2250 on some platforms. */
2251 return ferror (f) || fclose (f) != 0;
2257 if ac_fn_c_try_run "$LINENO"; then :
2258 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2263 conftest.$ac_objext conftest.beam conftest.$ac_ext
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2270 } # ac_fn_c_compute_int
2272 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2273 # -------------------------------------------------------
2274 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2275 # the include files in INCLUDES and setting the cache variable VAR
2277 ac_fn_c_check_header_mongrel ()
2279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2280 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2282 $as_echo_n "checking for $2... " >&6; }
2283 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2284 $as_echo_n "(cached) " >&6
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2288 $as_echo "$ac_res" >&6; }
2290 # Is the header compilable?
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2292 $as_echo_n "checking $2 usability... " >&6; }
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299 ac_header_compiler=yes
2301 ac_header_compiler=no
2303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2305 $as_echo "$ac_header_compiler" >&6; }
2307 # Is the header present?
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2309 $as_echo_n "checking $2 presence... " >&6; }
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2314 if ac_fn_c_try_cpp "$LINENO"; then :
2315 ac_header_preproc=yes
2317 ac_header_preproc=no
2319 rm -f conftest.err conftest.$ac_ext
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2321 $as_echo "$ac_header_preproc" >&6; }
2323 # So? What about this header?
2324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2327 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2329 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2333 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2335 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2337 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2339 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2341 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2345 $as_echo_n "checking for $2... " >&6; }
2346 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2347 $as_echo_n "(cached) " >&6
2349 eval "$3=\$ac_header_compiler"
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2353 $as_echo "$ac_res" >&6; }
2355 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2357 } # ac_fn_c_check_header_mongrel
2359 # ac_fn_c_check_decl LINENO SYMBOL VAR
2360 # ------------------------------------
2361 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2362 ac_fn_c_check_decl ()
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2366 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2368 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2369 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2370 $as_echo_n "(cached) " >&6
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2378 #ifndef $as_decl_name
2380 (void) $as_decl_use;
2382 (void) $as_decl_name;
2390 if ac_fn_c_try_compile "$LINENO"; then :
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2399 $as_echo "$ac_res" >&6; }
2400 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2402 } # ac_fn_c_check_decl
2403 cat >config.log <<_ACEOF
2404 This file contains any messages produced by compilers while
2405 running configure, to aid debugging if configure makes a mistake.
2407 It was created by GNU UPC Runtime Library $as_me 1.0, which was
2408 generated by GNU Autoconf 2.64. Invocation command line was
2420 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2421 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2422 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2423 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2424 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2426 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2427 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2429 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2430 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2431 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2432 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2433 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2434 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2435 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir=.
2444 $as_echo "PATH: $as_dir"
2460 # Keep a trace of the command line.
2461 # Strip out --no-create and --no-recursion so they do not pile up.
2462 # Strip out --silent because we don't want to record it for future runs.
2463 # Also quote any args containing shell meta-characters.
2464 # Make two passes to allow for proper duplicate-argument suppression.
2468 ac_must_keep_next=false
2474 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2476 | -silent | --silent | --silen | --sile | --sil)
2479 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2482 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2484 as_fn_append ac_configure_args1 " '$ac_arg'"
2485 if test $ac_must_keep_next = true; then
2486 ac_must_keep_next=false # Got value, back to normal.
2489 *=* | --config-cache | -C | -disable-* | --disable-* \
2490 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2491 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2492 | -with-* | --with-* | -without-* | --without-* | --x)
2493 case "$ac_configure_args0 " in
2494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2497 -* ) ac_must_keep_next=true ;;
2500 as_fn_append ac_configure_args " '$ac_arg'"
2505 { ac_configure_args0=; unset ac_configure_args0;}
2506 { ac_configure_args1=; unset ac_configure_args1;}
2508 # When interrupted or exit'd, cleanup temporary files, and complete
2509 # config.log. We remove comments because anyway the quotes in there
2510 # would cause problems or look ugly.
2511 # WARNING: Use '\'' to represent an apostrophe within the trap.
2512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2513 trap 'exit_status=$?
2514 # Save into config.log some information that might help in debugging.
2519 ## ---------------- ##
2520 ## Cache variables. ##
2521 ## ---------------- ##
2524 # The following way of writing the cache mishandles newlines in values,
2526 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2527 eval ac_val=\$$ac_var
2531 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2532 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2535 _ | IFS | as_nl) ;; #(
2536 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2537 *) { eval $ac_var=; unset $ac_var;} ;;
2542 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2543 *${as_nl}ac_space=\ *)
2545 "s/'\''/'\''\\\\'\'''\''/g;
2546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2549 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2557 ## ----------------- ##
2558 ## Output variables. ##
2559 ## ----------------- ##
2562 for ac_var in $ac_subst_vars
2564 eval ac_val=\$$ac_var
2566 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2568 $as_echo "$ac_var='\''$ac_val'\''"
2572 if test -n "$ac_subst_files"; then
2574 ## ------------------- ##
2575 ## File substitutions. ##
2576 ## ------------------- ##
2579 for ac_var in $ac_subst_files
2581 eval ac_val=\$$ac_var
2583 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2585 $as_echo "$ac_var='\''$ac_val'\''"
2590 if test -s confdefs.h; then
2600 test "$ac_signal" != 0 &&
2601 $as_echo "$as_me: caught signal $ac_signal"
2602 $as_echo "$as_me: exit $exit_status"
2604 rm -f core *.core core.conftest.* &&
2605 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2608 for ac_signal in 1 2 13 15; do
2609 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2613 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2614 rm -f -r conftest* confdefs.h
2616 $as_echo "/* confdefs.h */" > confdefs.h
2618 # Predefined preprocessor variables.
2620 cat >>confdefs.h <<_ACEOF
2621 #define PACKAGE_NAME "$PACKAGE_NAME"
2624 cat >>confdefs.h <<_ACEOF
2625 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2628 cat >>confdefs.h <<_ACEOF
2629 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2632 cat >>confdefs.h <<_ACEOF
2633 #define PACKAGE_STRING "$PACKAGE_STRING"
2636 cat >>confdefs.h <<_ACEOF
2637 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2640 cat >>confdefs.h <<_ACEOF
2641 #define PACKAGE_URL "$PACKAGE_URL"
2645 # Let the site file select an alternate cache file if it wants to.
2646 # Prefer an explicitly selected file to automatically selected ones.
2649 if test -n "$CONFIG_SITE"; then
2650 ac_site_file1=$CONFIG_SITE
2651 elif test "x$prefix" != xNONE; then
2652 ac_site_file1=$prefix/share/config.site
2653 ac_site_file2=$prefix/etc/config.site
2655 ac_site_file1=$ac_default_prefix/share/config.site
2656 ac_site_file2=$ac_default_prefix/etc/config.site
2658 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2660 test "x$ac_site_file" = xNONE && continue
2661 if test -r "$ac_site_file"; then
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2663 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2664 sed 's/^/| /' "$ac_site_file" >&5
2669 if test -r "$cache_file"; then
2670 # Some versions of bash will fail to source /dev/null (special
2671 # files actually), so we avoid doing that.
2672 if test -f "$cache_file"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2674 $as_echo "$as_me: loading cache $cache_file" >&6;}
2676 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2677 *) . "./$cache_file";;
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2682 $as_echo "$as_me: creating cache $cache_file" >&6;}
2686 # Check that the precious variables saved in the cache have kept the same
2688 ac_cache_corrupted=false
2689 for ac_var in $ac_precious_vars; do
2690 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2691 eval ac_new_set=\$ac_env_${ac_var}_set
2692 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2693 eval ac_new_val=\$ac_env_${ac_var}_value
2694 case $ac_old_set,$ac_new_set in
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2697 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2698 ac_cache_corrupted=: ;;
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2701 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2702 ac_cache_corrupted=: ;;
2705 if test "x$ac_old_val" != "x$ac_new_val"; then
2706 # differences in whitespace do not lead to failure.
2707 ac_old_val_w=`echo x
$ac_old_val`
2708 ac_new_val_w=`echo x
$ac_new_val`
2709 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2711 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2712 ac_cache_corrupted=:
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2715 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2716 eval $ac_var=\$ac_old_val
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2719 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2721 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2724 # Pass precious variables to config.status.
2725 if test "$ac_new_set" = set; then
2727 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2728 *) ac_arg=$ac_var=$ac_new_val ;;
2730 case " $ac_configure_args " in
2731 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2732 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2736 if $ac_cache_corrupted; then
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2740 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2741 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2743 ## -------------------- ##
2744 ## Main body of script. ##
2745 ## -------------------- ##
2748 ac_cpp='$CPP $CPPFLAGS'
2749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2758 ac_config_headers="$ac_config_headers config.h"
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2766 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2767 # Check whether --enable-version-specific-runtime-libs was given.
2768 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2769 enableval=$enable_version_specific_runtime_libs;
2770 case "$enableval" in
2772 *) as_fn_error "Unknown argument to enable/disable version-specific-runtime-libs" "$LINENO" 5 ;;
2776 enable_version_specific_runtime_libs=no
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_version_specific_runtime_libs" >&5
2781 $as_echo "$enable_version_specific_runtime_libs" >&6; }
2783 # We would like our source tree to be readonly. However when releases or
2784 # pre-releases are generated, the flex/bison generated files as well as the
2785 # various formats of manuals need to be included along with the rest of the
2786 # sources. Therefore we have --enable-generated-files-in-srcdir to do
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-generated-files-in-srcdir" >&5
2789 $as_echo_n "checking for --enable-generated-files-in-srcdir... " >&6; }
2790 # Check whether --enable-generated-files-in-srcdir was given.
2791 if test "${enable_generated_files_in_srcdir+set}" = set; then :
2792 enableval=$enable_generated_files_in_srcdir;
2793 case "$enableval" in
2795 *) as_fn_error "Unknown argument to enable/disable generated-files-in-srcdir" "$LINENO" 5 ;;
2799 enable_generated_files_in_srcdir=no
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
2804 $as_echo "$enable_generated_files_in_srcdir" >&6; }
2805 if test "$enable_generated_files_in_srcdir" = yes; then
2816 # Get build environment
2819 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2821 # You will slowly go insane if you do not grok the following fact: when
2822 # building this library, the top-level /target/ becomes the library's /host/.
2824 # configure then causes --target to default to --host, exactly like any
2825 # other package using autoconf. Therefore, 'target' and 'host' will
2826 # always be the same. This makes sense both for native and cross compilers
2827 # just think about it for a little while. :-)
2829 # Also, if this library is being configured as part of a cross compiler, the
2830 # top-level configure script will pass the "real" host as $with_cross_host.
2832 # Do not delete or change the following two lines. For why, see
2833 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2835 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2836 for ac_t in install-sh install.sh shtool; do
2837 if test -f "$ac_dir/$ac_t"; then
2839 ac_install_sh="$ac_aux_dir/$ac_t -c"
2844 if test -z "$ac_aux_dir"; then
2845 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2848 # These three variables are undocumented and unsupported,
2849 # and are intended to be withdrawn in a future Autoconf release.
2850 # They can cause serious problems if a builder's source tree is in a directory
2851 # whose full name contains unusual characters.
2852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2857 # Make sure we can run config.sub.
2858 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2859 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2862 $as_echo_n "checking build system type... " >&6; }
2863 if test "${ac_cv_build+set}" = set; then :
2864 $as_echo_n "(cached) " >&6
2866 ac_build_alias=$build_alias
2867 test "x$ac_build_alias" = x &&
2868 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2869 test "x$ac_build_alias" = x &&
2870 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2871 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2872 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2876 $as_echo "$ac_cv_build" >&6; }
2877 case $ac_cv_build in
2879 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2882 ac_save_IFS=$IFS; IFS='-'
2888 # Remember, the first character of IFS is used to create $*,
2889 # except with old shells:
2892 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2896 $as_echo_n "checking host system type... " >&6; }
2897 if test "${ac_cv_host+set}" = set; then :
2898 $as_echo_n "(cached) " >&6
2900 if test "x$host_alias" = x; then
2901 ac_cv_host=$ac_cv_build
2903 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2904 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2909 $as_echo "$ac_cv_host" >&6; }
2912 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2915 ac_save_IFS=$IFS; IFS='-'
2921 # Remember, the first character of IFS is used to create $*,
2922 # except with old shells:
2925 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2929 $as_echo_n "checking target system type... " >&6; }
2930 if test "${ac_cv_target+set}" = set; then :
2931 $as_echo_n "(cached) " >&6
2933 if test "x$target_alias" = x; then
2934 ac_cv_target=$ac_cv_host
2936 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2937 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2942 $as_echo "$ac_cv_target" >&6; }
2943 case $ac_cv_target in
2945 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2947 target=$ac_cv_target
2948 ac_save_IFS=$IFS; IFS='-'
2954 # Remember, the first character of IFS is used to create $*,
2955 # except with old shells:
2958 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2961 # The aliases save the names the user supplied, while $host etc.
2962 # will get canonicalized.
2963 test -n "$target_alias" &&
2964 test "$program_prefix$program_suffix$program_transform_name" = \
2966 program_prefix=${target_alias}-
2968 target_alias=${target_alias-$host_alias}
2970 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2971 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2972 # 1.11.1: minimum required version
2973 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2974 # of other PACKAGE_* variables will, however, and there's nothing
2975 # we can do about that; they come from AC_INIT).
2976 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2977 # file in the top srcdir, etc, etc), so stop complaining.
2978 # -Wall: turns on all automake warnings...
2979 # -Wno-portability: ...except this one, since GNU make is required.
2980 # -Wno-override: ... and this one, since we do want this in testsuite.
2981 am__api_version='1.11'
2983 # Find a good install program. We prefer a C program (faster),
2984 # so one script is as good as another. But avoid the broken or
2985 # incompatible versions:
2986 # SysV /etc/install, /usr/sbin/install
2987 # SunOS /usr/etc/install
2988 # IRIX /sbin/install
2990 # AmigaOS /C/install, which installs bootblocks on floppy discs
2991 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2992 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2993 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2994 # OS/2's system install, which has a completely different semantic
2995 # ./install, which can be erroneously created by make from ./install.sh.
2996 # Reject install programs that cannot install multiple files.
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2998 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2999 if test -z "$INSTALL"; then
3000 if test "${ac_cv_path_install+set}" = set; then :
3001 $as_echo_n "(cached) " >&6
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir=.
3008 # Account for people who put trailing slashes in PATH elements.
3009 case $as_dir/ in #((
3010 ./ | .// | /[cC]/* | \
3011 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3012 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3015 # OSF1 and SCO ODT 3.0 have their own names for install.
3016 # Don't use installbsd from OSF since it installs stuff as root
3018 for ac_prog in ginstall scoinst install; do
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3021 if test $ac_prog = install &&
3022 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3023 # AIX install. It has an incompatible calling convention.
3025 elif test $ac_prog = install &&
3026 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3027 # program-specific install script used by HP pwplus--don't use.
3030 rm -rf conftest.one conftest.two conftest.dir
3031 echo one > conftest.one
3032 echo two > conftest.two
3034 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3035 test -s conftest.one && test -s conftest.two &&
3036 test -s conftest.dir/conftest.one &&
3037 test -s conftest.dir/conftest.two
3039 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3052 rm -rf conftest.one conftest.two conftest.dir
3055 if test "${ac_cv_path_install+set}" = set; then
3056 INSTALL=$ac_cv_path_install
3058 # As a last resort, use the slow shell script. Don't cache a
3059 # value for INSTALL within a source directory, because that will
3060 # break other packages using the cache if that directory is
3061 # removed, or if the value is a relative name.
3062 INSTALL=$ac_install_sh
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3066 $as_echo "$INSTALL" >&6; }
3068 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3069 # It thinks the first close brace ends the variable substitution.
3070 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3072 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3074 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3077 $as_echo_n "checking whether build environment is sane... " >&6; }
3080 echo timestamp > conftest.file
3081 # Reject unsafe characters in $srcdir or the absolute working directory
3082 # name. Accept space and tab only in the latter.
3086 *[\\\"\#\$\&\'\`$am_lf]*)
3087 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3090 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3091 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3094 # Do `set' in a subshell so we don't clobber the current shell's
3095 # arguments. Must try -L first in case configure is actually a
3096 # symlink; some systems play weird games with the mod time of symlinks
3097 # (eg FreeBSD returns the mod time of the symlink's containing
3100 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3101 if test "$*" = "X"; then
3103 set X
`ls -t "$srcdir/configure" conftest.file`
3106 if test "$*" != "X $srcdir/configure conftest.file" \
3107 && test "$*" != "X conftest.file $srcdir/configure"; then
3109 # If neither matched, then we have a broken ls. This can happen
3110 # if, for instance, CONFIG_SHELL is bash and it inherits a
3111 # broken ls alias from the environment. This has actually
3112 # happened. Such a system could not be considered "sane".
3113 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3114 alias in your environment" "$LINENO" 5
3117 test "$2" = conftest.
file
3123 as_fn_error
"newly created file is older than distributed files!
3124 Check your system clock" "$LINENO" 5
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3127 $as_echo "yes" >&6; }
3128 test "$program_prefix" != NONE
&&
3129 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3130 # Use a double $ so make ignores it.
3131 test "$program_suffix" != NONE
&&
3132 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3133 # Double any \ or $.
3134 # By default was `s,x,x', remove it if useless.
3135 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3136 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3138 # expand $ac_aux_dir to an absolute path
3139 am_aux_dir
=`cd $ac_aux_dir && pwd`
3141 if test x
"${MISSING+set}" != xset
; then
3144 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3146 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3149 # Use eval to expand $SHELL
3150 if eval "$MISSING --run true"; then
3151 am_missing_run
="$MISSING --run "
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3155 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3158 if test x
"${install_sh}" != xset
; then
3161 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3163 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3167 # Installed binaries are usually stripped using `strip' when the user
3168 # run `make install-strip'. However `strip' might not be the right
3169 # tool to use in cross-compilation environments, therefore Automake
3170 # will honor the `STRIP' environment variable to overrule this program.
3171 if test "$cross_compiling" != no
; then
3172 if test -n "$ac_tool_prefix"; then
3173 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3174 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if test "${ac_cv_prog_STRIP+set}" = set; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$STRIP"; then
3181 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir
=.
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3190 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 STRIP
=$ac_cv_prog_STRIP
3201 if test -n "$STRIP"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3203 $as_echo "$STRIP" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3211 if test -z "$ac_cv_prog_STRIP"; then
3213 # Extract the first word of "strip", so it can be a program name with args.
3214 set dummy strip
; ac_word
=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$ac_ct_STRIP"; then
3221 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3230 ac_cv_prog_ac_ct_STRIP
="strip"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3241 if test -n "$ac_ct_STRIP"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3243 $as_echo "$ac_ct_STRIP" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3249 if test "x$ac_ct_STRIP" = x
; then
3252 case $cross_compiling:$ac_tool_warned in
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3256 ac_tool_warned
=yes ;;
3261 STRIP
="$ac_cv_prog_STRIP"
3265 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3268 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3269 if test -z "$MKDIR_P"; then
3270 if test "${ac_cv_path_mkdir+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3274 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3277 test -z "$as_dir" && as_dir
=.
3278 for ac_prog
in mkdir gmkdir
; do
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3281 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3282 'mkdir (GNU coreutils) '* | \
3283 'mkdir (coreutils) '* | \
3284 'mkdir (fileutils) '4.1*)
3285 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3295 if test "${ac_cv_path_mkdir+set}" = set; then
3296 MKDIR_P
="$ac_cv_path_mkdir -p"
3298 # As a last resort, use the slow shell script. Don't cache a
3299 # value for MKDIR_P within a source directory, because that will
3300 # break other packages using the cache if that directory is
3301 # removed, or if the value is a relative name.
3302 test -d .
/--version && rmdir .
/--version
3303 MKDIR_P
="$ac_install_sh -d"
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3307 $as_echo "$MKDIR_P" >&6; }
3311 [\\/$
]* | ?
:[\\/]*) ;;
3312 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3315 for ac_prog
in gawk mawk nawk
awk
3317 # Extract the first word of "$ac_prog", so it can be a program name with args.
3318 set dummy
$ac_prog; ac_word
=$2
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if test "${ac_cv_prog_AWK+set}" = set; then :
3322 $as_echo_n "(cached) " >&6
3324 if test -n "$AWK"; then
3325 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir
=.
3332 for ac_exec_ext
in '' $ac_executable_extensions; do
3333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3334 ac_cv_prog_AWK
="$ac_prog"
3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 if test -n "$AWK"; then
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3347 $as_echo "$AWK" >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350 $as_echo "no" >&6; }
3354 test -n "$AWK" && break
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3358 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3360 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3361 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3362 $as_echo_n "(cached) " >&6
3364 cat >conftest.
make <<\_ACEOF
3367 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3369 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3370 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3372 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3374 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3378 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3380 $as_echo "yes" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3385 SET_MAKE
="MAKE=${MAKE-make}"
3388 rm -rf .tst
2>/dev
/null
3389 mkdir .tst
2>/dev
/null
3390 if test -d .tst
; then
3395 rmdir .tst
2>/dev
/null
3397 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3398 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3399 # is not polluted with repeated "-I."
3400 am__isrc
=' -I$(srcdir)'
3401 # test to see if srcdir already configured
3402 if test -f $srcdir/config.status
; then
3403 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3407 # test whether we have cygpath
3408 if test -z "$CYGPATH_W"; then
3409 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3410 CYGPATH_W
='cygpath -w'
3417 # Define the identity of the package.
3422 cat >>confdefs.h
<<_ACEOF
3423 #define PACKAGE "$PACKAGE"
3427 cat >>confdefs.h
<<_ACEOF
3428 #define VERSION "$VERSION"
3431 # Some tools Automake needs.
3433 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3436 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3439 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3442 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3445 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3447 # We need awk for the "check" target. The system "awk" is bad on
3449 # Always define AMTAR for backward compatibility.
3451 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3453 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3460 # UPC disables multilib for portals4 runtime
3461 if echo "${with_upc_runtime}" |
grep -v -i '^portals4$' 2>&1 >/dev
/null
; then
3462 # Default to --enable-multilib
3463 # Check whether --enable-multilib was given.
3464 if test "${enable_multilib+set}" = set; then :
3465 enableval
=$enable_multilib; case "$enableval" in
3466 yes) multilib
=yes ;;
3468 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3475 # We may get other options which we leave undocumented:
3476 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3477 # See config-ml.in if you want the gory details.
3479 if test "$srcdir" = "."; then
3480 if test "$with_target_subdir" != "."; then
3481 multi_basedir
="$srcdir/$with_multisrctop../.."
3483 multi_basedir
="$srcdir/$with_multisrctop.."
3486 multi_basedir
="$srcdir/.."
3490 # Even if the default multilib is not a cross compilation,
3491 # it may be that some of the other multilibs are.
3492 if test $cross_compiling = no
&& test $multilib = yes \
3493 && test "x${with_multisubdir}" != x
; then
3494 cross_compiling
=maybe
3497 ac_config_commands
="$ac_config_commands default-1"
3501 # Calculate toolexeclibdir
3502 # Also toolexecdir, though it's only used in toolexeclibdir
3503 case ${enable_version_specific_runtime_libs} in
3505 # Need the gcc compiler version to know where to install libraries
3506 # and header files if --enable-version-specific-runtime-libs option
3508 toolexecdir
='$(libdir)/gcc/$(target_alias)'
3509 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3512 if test -n "$with_cross_host" &&
3513 test x
"$with_cross_host" != x
"no"; then
3514 # Install a library built with a cross compiler in tooldir, not libdir.
3515 toolexecdir
='$(exec_prefix)/$(target_alias)'
3516 toolexeclibdir
='$(toolexecdir)/lib'
3518 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
3519 toolexeclibdir
='$(libdir)'
3521 multi_os_directory
=`$CC -print-multi-os-directory`
3522 case $multi_os_directory in
3523 .
) ;; # Avoid trailing /.
3524 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
3528 as_fn_error
"'$enable_version_specific_runtime_libs' is not set" "$LINENO" 5
3534 # If the language specific compiler does not exist, but the "gcc" directory
3535 # does, we do not build anything. Note, $r is set by the top-level Makefile.
3536 # Note that when we look for the compiler, we search both with and without
3537 # extension to handle cross and canadian cross builds.
3538 compiler_name
=cc1upc
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler $compiler_name has been built" >&5
3541 $as_echo_n "checking if compiler $compiler_name has been built... " >&6; }
3542 if test "${upc_cv_compiler_exists+set}" = set; then :
3543 $as_echo_n "(cached) " >&6
3546 upc_cv_compiler_exists
=yes
3547 if test -n "$r"; then
3548 if test -d "$r"/gcc
; then
3549 if test -f "$r"/gcc
/$compiler_name \
3550 -o -f "$r"/gcc
/$compiler_name.exe
; then
3553 upc_cv_compiler_exists
=no
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_cv_compiler_exists" >&5
3561 $as_echo "$upc_cv_compiler_exists" >&6; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if UPC driver 'gupc' has been built" >&5
3563 $as_echo_n "checking if UPC driver 'gupc' has been built... " >&6; }
3564 if test "${upc_cv_driver_exists+set}" = set; then :
3565 $as_echo_n "(cached) " >&6
3568 upc_cv_driver_exists
=yes
3569 if test -n "$r"; then
3570 if test -d "$r"/gcc
; then
3571 if (test -f "$r"/gcc
/gupc
&& test -f "$r"/gcc
/gupc
); then
3574 upc_cv_driver_exists
=no
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_cv_driver_exists" >&5
3582 $as_echo "$upc_cv_driver_exists" >&6; }
3583 if test x
$upc_cv_compiler_exists = xno \
3584 -o x
$upc_cv_driver_exists = xno
3586 echo "rm -f config.cache config.log multilib.out" > skip-this-dir
3587 rm -f Makefile conftest
* confdefs
* core
3591 # Check the compiler.
3592 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3593 # We must force CC to /not/ be precious variables; otherwise
3594 # the wrong, non-multilib-adjusted value will be used in multilibs.
3595 # As a side effect, we have to subst CFLAGS ourselves.
3600 ac_cpp
='$CPP $CPPFLAGS'
3601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3604 if test -n "$ac_tool_prefix"; then
3605 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3606 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if test "${ac_cv_prog_CC+set}" = set; then :
3610 $as_echo_n "(cached) " >&6
3612 if test -n "$CC"; then
3613 ac_cv_prog_CC
="$CC" # Let the user override the test.
3615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3619 test -z "$as_dir" && as_dir
=.
3620 for ac_exec_ext
in '' $ac_executable_extensions; do
3621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 if test -n "$CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3643 if test -z "$ac_cv_prog_CC"; then
3645 # Extract the first word of "gcc", so it can be a program name with args.
3646 set dummy gcc
; ac_word
=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -n "$ac_ct_CC"; then
3653 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_ac_ct_CC
="gcc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3673 if test -n "$ac_ct_CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3675 $as_echo "$ac_ct_CC" >&6; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3681 if test "x$ac_ct_CC" = x
; then
3684 case $cross_compiling:$ac_tool_warned in
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3688 ac_tool_warned
=yes ;;
3696 if test -z "$CC"; then
3697 if test -n "$ac_tool_prefix"; then
3698 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3699 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if test "${ac_cv_prog_CC+set}" = set; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC
="$CC" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3737 if test -z "$CC"; then
3738 # Extract the first word of "cc", so it can be a program name with args.
3739 set dummy cc
; ac_word
=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC
="$CC" # Let the user override the test.
3749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3753 test -z "$as_dir" && as_dir
=.
3754 for ac_exec_ext
in '' $ac_executable_extensions; do
3755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3756 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3757 ac_prog_rejected
=yes
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 if test $ac_prog_rejected = yes; then
3769 # We found a bogon in the path, so make sure we never use it.
3770 set dummy
$ac_cv_prog_CC
3772 if test $# != 0; then
3773 # We chose a different compiler from the bogus one.
3774 # However, it has the same basename, so the bogon will be chosen
3775 # first if we set CC to just the basename; use the full file name.
3777 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3783 if test -n "$CC"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3785 $as_echo "$CC" >&6; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3793 if test -z "$CC"; then
3794 if test -n "$ac_tool_prefix"; then
3795 for ac_prog
in cl.exe
3797 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3798 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if test "${ac_cv_prog_CC+set}" = set; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$CC"; then
3805 ac_cv_prog_CC
="$CC" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3814 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 if test -n "$CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3827 $as_echo "$CC" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3834 test -n "$CC" && break
3837 if test -z "$CC"; then
3839 for ac_prog
in cl.exe
3841 # Extract the first word of "$ac_prog", so it can be a program name with args.
3842 set dummy
$ac_prog; ac_word
=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3846 $as_echo_n "(cached) " >&6
3848 if test -n "$ac_ct_CC"; then
3849 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3858 ac_cv_prog_ac_ct_CC
="$ac_prog"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3869 if test -n "$ac_ct_CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3871 $as_echo "$ac_ct_CC" >&6; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3878 test -n "$ac_ct_CC" && break
3881 if test "x$ac_ct_CC" = x
; then
3884 case $cross_compiling:$ac_tool_warned in
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3888 ac_tool_warned
=yes ;;
3897 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3899 as_fn_error
"no acceptable C compiler found in \$PATH
3900 See \`config.log' for more details." "$LINENO" 5; }
3902 # Provide some information about the compiler.
3903 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3906 for ac_option
in --version -v -V -qversion; do
3907 { { ac_try
="$ac_compiler $ac_option >&5"
3909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913 $as_echo "$ac_try_echo"; } >&5
3914 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3916 if test -s conftest.err; then
3918 ... rest of stderr output deleted ...
3919 10q' conftest.err >conftest.er1
3920 cat conftest.er1 >&5
3921 rm -f conftest.er1 conftest.err
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3938 ac_clean_files_save=$ac_clean_files
3939 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3940 # Try to create an executable without -o first, disregard a.out.
3941 # It will help us diagnose broken compilers, and finding out an intuition
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3944 $as_echo_n "checking for C compiler default output file name... " >&6; }
3945 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3947 # The possible output files:
3948 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3951 for ac_file in $ac_files
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3955 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3960 if { { ac_try="$ac_link_default"
3962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3963 *) ac_try_echo
=$ac_try;;
3965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link_default") 2>&5
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3972 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3973 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3974 # so that the user can short-circuit this test for compilers unknown to
3976 for ac_file
in $ac_files ''
3978 test -f "$ac_file" ||
continue
3980 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3983 # We found the default executable, but exeext='' is most
3987 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3989 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3991 # We set ac_cv_exeext here because the later test for it is not
3992 # safe: cross compilers may not add the suffix if given an `-o'
3993 # argument, so we may need to know it at that point already.
3994 # Even if this section looks crufty: it has the advantage of
4001 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4007 $as_echo "$ac_file" >&6; }
4008 if test -z "$ac_file"; then :
4009 $as_echo "$as_me: failed program was:" >&5
4010 sed 's/^/| /' conftest.
$ac_ext >&5
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 { as_fn_set_status
77
4015 as_fn_error
"C compiler cannot create executables
4016 See \`config.log' for more details." "$LINENO" 5; }; }
4018 ac_exeext
=$ac_cv_exeext
4020 # Check that the compiler produces executables we can run. If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4023 $as_echo_n "checking whether the C compiler works... " >&6; }
4024 # If not cross compiling, check that we can run a simple program.
4025 if test "$cross_compiling" != yes; then
4026 if { ac_try
='./$ac_file'
4027 { { case "(($ac_try" in
4028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_try") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; }; then
4039 if test "$cross_compiling" = maybe; then
4042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044 as_fn_error "cannot run C compiled programs.
4045 If you meant to cross compile
, use \
`--host'.
4046 See \`config.log
' for more details." "$LINENO" 5; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4051 $as_echo "yes" >&6; }
4053 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4054 ac_clean_files=$ac_clean_files_save
4055 # Check that the compiler produces executables we can run. If not, either
4056 # the compiler is broken, or we cross compile.
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4058 $as_echo_n "checking whether we are cross compiling... " >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4060 $as_echo "$cross_compiling" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4063 $as_echo_n "checking for suffix of executables... " >&6; }
4064 if { { ac_try="$ac_link"
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_link") 2>&5
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }; then :
4075 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4076 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4077 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4079 for ac_file
in conftest.exe conftest conftest.
*; do
4080 test -f "$ac_file" ||
continue
4082 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4083 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4091 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4092 See \`config.log' for more details." "$LINENO" 5; }
4094 rm -f conftest
$ac_cv_exeext
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4096 $as_echo "$ac_cv_exeext" >&6; }
4098 rm -f conftest.
$ac_ext
4099 EXEEXT
=$ac_cv_exeext
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4102 $as_echo_n "checking for suffix of object files... " >&6; }
4103 if test "${ac_cv_objext+set}" = set; then :
4104 $as_echo_n "(cached) " >&6
4106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4117 rm -f conftest.o conftest.obj
4118 if { { ac_try
="$ac_compile"
4120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4121 *) ac_try_echo=$ac_try;;
4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124 $as_echo "$ac_try_echo"; } >&5
4125 (eval "$ac_compile") 2>&5
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }; then :
4129 for ac_file in conftest.o conftest.obj conftest.*; do
4130 test -f "$ac_file" || continue;
4132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4133 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4138 $as_echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.$ac_ext >&5
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error "cannot compute suffix of object files
: cannot compile
4144 See \
`config.log' for more details." "$LINENO" 5; }
4146 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4149 $as_echo "$ac_cv_objext" >&6; }
4150 OBJEXT=$ac_cv_objext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4153 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4154 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4171 if ac_fn_c_try_compile "$LINENO"; then :
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4181 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4182 if test $ac_compiler_gnu = yes; then
4187 ac_test_CFLAGS=${CFLAGS+set}
4188 ac_save_CFLAGS=$CFLAGS
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4190 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4191 if test "${ac_cv_prog_cc_g+set}" = set; then :
4192 $as_echo_n "(cached) " >&6
4194 ac_save_c_werror_flag=$ac_c_werror_flag
4195 ac_c_werror_flag=yes
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4209 if ac_fn_c_try_compile "$LINENO"; then :
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4224 if ac_fn_c_try_compile "$LINENO"; then :
4227 ac_c_werror_flag=$ac_save_c_werror_flag
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4240 if ac_fn_c_try_compile "$LINENO"; then :
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 ac_c_werror_flag=$ac_save_c_werror_flag
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4251 $as_echo "$ac_cv_prog_cc_g" >&6; }
4252 if test "$ac_test_CFLAGS" = set; then
4253 CFLAGS=$ac_save_CFLAGS
4254 elif test $ac_cv_prog_cc_g = yes; then
4255 if test "$GCC" = yes; then
4261 if test "$GCC" = yes; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4268 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4269 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 ac_cv_prog_cc_c89=no
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4278 #include <sys/types.h>
4279 #include <sys/stat.h>
4280 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4281 struct buf { int x; };
4282 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4283 static char *e (p, i)
4289 static char *f (char * (*g) (char **, int), char **p, ...)
4294 s = g (p, va_arg (v,int));
4299 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4300 function prototypes and stuff, but not '\xHH' hex character constants.
4301 These don't provoke an error unfortunately, instead are silently treated
4302 as 'x'. The following induces an error, until -std is added to get
4303 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4304 array size at least. It's necessary to write '\x00'==0 to get something
4305 that's true only with -std. */
4306 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4308 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4309 inside strings and character constants. */
4311 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4313 int test (int i, double x);
4314 struct s1 {int (*f) (int a);};
4315 struct s2 {int (*f) (double a);};
4316 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4322 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4327 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4328 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4330 CC="$ac_save_CC $ac_arg"
4331 if ac_fn_c_try_compile "$LINENO"; then :
4332 ac_cv_prog_cc_c89=$ac_arg
4334 rm -f core conftest.err conftest.$ac_objext
4335 test "x$ac_cv_prog_cc_c89" != "xno" && break
4337 rm -f conftest.$ac_ext
4342 case "x$ac_cv_prog_cc_c89" in
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4345 $as_echo "none needed" >&6; } ;;
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4348 $as_echo "unsupported" >&6; } ;;
4350 CC="$CC $ac_cv_prog_cc_c89"
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4352 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4354 if test "x$ac_cv_prog_cc_c89" != xno; then :
4359 ac_cpp='$CPP $CPPFLAGS'
4360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4363 DEPDIR="${am__leading_dot}deps"
4365 ac_config_commands="$ac_config_commands depfiles"
4368 am_make=${MAKE-make}
4369 cat > confinc << 'END'
4371 @echo this is the am__doit target
4374 # If we don't find an include directive, just comment out the code.
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4376 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4380 # First try GNU make style include.
4381 echo "include confinc" > confmf
4382 # Ignore all kinds of additional output from `make'.
4383 case `$am_make -s -f confmf 2> /dev/null` in #(
4384 *the\ am__doit\ target*)
4390 # Now try BSD make style include.
4391 if test "$am__include" = "#"; then
4392 echo '.include
"confinc"' > confmf
4393 case `$am_make -s -f confmf 2> /dev/null` in #(
4394 *the\ am__doit\ target*)
4395 am__include=.include
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4404 $as_echo "$_am_result" >&6; }
4405 rm -f confinc confmf
4407 # Check whether --enable-dependency-tracking was given.
4408 if test "${enable_dependency_tracking+set}" = set; then :
4409 enableval=$enable_dependency_tracking;
4412 if test "x$enable_dependency_tracking" != xno; then
4413 am_depcomp="$ac_aux_dir/depcomp"
4416 if test "x$enable_dependency_tracking" != xno
; then
4426 depcc
="$CC" am_compiler_list
=
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4429 $as_echo_n "checking dependency style of $depcc... " >&6; }
4430 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4434 # We make a subdir and do the tests there. Otherwise we can end up
4435 # making bogus files that we don't know about and never remove. For
4436 # instance it was reported that on HP-UX the gcc test will end up
4437 # making a dummy file named `D' -- because `-MD' means `put the output
4440 # Copy depcomp to subdir because otherwise we won't find it if we're
4441 # using a relative directory.
4442 cp "$am_depcomp" conftest.dir
4444 # We will build objects and dependencies in a subdirectory because
4445 # it helps to detect inapplicable dependency modes. For instance
4446 # both Tru64's cc and ICC support -MD to output dependencies as a
4447 # side effect of compilation, but ICC will put the dependencies in
4448 # the current directory while Tru64 will put them in the object
4452 am_cv_CC_dependencies_compiler_type
=none
4453 if test "$am_compiler_list" = ""; then
4454 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4457 case " $depcc " in #(
4458 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4461 for depmode
in $am_compiler_list; do
4462 # Setup a source with many dependencies, because some compilers
4463 # like to wrap large dependency lists on column 80 (with \), and
4464 # we should not choose a depcomp mode which is confused by this.
4466 # We need to recreate these files for each test, as the compiler may
4467 # overwrite some of them when testing with obscure command lines.
4468 # This happens at least with the AIX C compiler.
4470 for i
in 1 2 3 4 5 6; do
4471 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4472 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4473 # Solaris 8's {/usr,}/bin/sh.
4474 touch sub
/conftst
$i.h
4476 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4478 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4479 # mode. It turns out that the SunPro C++ compiler does not properly
4480 # handle `-M -o', and we need to detect this. Also, some Intel
4481 # versions had trouble with output in subdirs
4482 am__obj
=sub
/conftest.
${OBJEXT-o}
4483 am__minus_obj
="-o $am__obj"
4486 # This depmode causes a compiler race in universal mode.
4487 test "$am__universal" = false ||
continue
4490 # after this tag, mechanisms are not by side-effect, so they'll
4491 # only be used when explicitly requested
4492 if test "x$enable_dependency_tracking" = xyes
; then
4498 msvisualcpp | msvcmsys
)
4499 # This compiler won't grok `-c -o', but also, the minuso test has
4500 # not run yet. These depmodes are late enough in the game, and
4501 # so weak that their functioning should not be impacted.
4502 am__obj
=conftest.
${OBJEXT-o}
4507 if depmode
=$depmode \
4508 source=sub
/conftest.c object
=$am__obj \
4509 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4510 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4511 >/dev
/null
2>conftest.err
&&
4512 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4513 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4514 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4515 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4516 # icc doesn't choke on unknown options, it will just issue warnings
4517 # or remarks (even with -Werror). So we grep stderr for any message
4518 # that says an option was ignored or not supported.
4519 # When given -MP, icc 7.0 and 7.1 complain thusly:
4520 # icc: Command line warning: ignoring option '-M'; no argument required
4521 # The diagnosis changed in icc 8.0:
4522 # icc: Command line remark: option '-MP' not supported
4523 if (grep 'ignoring option' conftest.err ||
4524 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4525 am_cv_CC_dependencies_compiler_type
=$depmode
4534 am_cv_CC_dependencies_compiler_type
=none
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4539 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4540 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4543 test "x$enable_dependency_tracking" != xno \
4544 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4546 am__fastdepCC_FALSE
='#'
4548 am__fastdepCC_TRUE
='#'
4549 am__fastdepCC_FALSE
=
4558 # If UPCFLAGS hasn't been set explicitly then default to "$CFLAGS".
4560 if test x
"$UPCFLAGS" = "x"; then
4566 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
4567 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
4568 # in both places for now and restore CFLAGS at the end of config.
4569 save_CFLAGS
="$CFLAGS"
4571 # Add -Wall -Werror if we are using GCC.
4572 if test "x$GCC" = "xyes"; then
4573 XCFLAGS
="$XCFLAGS -Wall -Werror"
4576 if echo "$CC" |
grep '/xgcc ' >/dev
/null
2>&1; then
4577 UPC
=`echo "$CC" | sed -e 's=/xgcc =/gupc ='`
4579 as_fn_error
"cannot create UPC from CC because it does not contain the
4580 string '/xgcc '; the value of CC is: \"$CC\"" "$LINENO" 5
4582 # The just built UPC compiler is not fully functional as it is
4583 # unable to auto pre-include "gcc-upc.h" and "gcc-upc-lib.h".
4584 # Make sure that "upc-pre-include" feature is disabled for any of the
4585 # UPC program checks (e.g. checking for dependency options).
4587 UPC
="$UPC -fno-upc-pre-include"
4588 if test -n "$ac_tool_prefix"; then
4589 for ac_prog
in upcc upc
4591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4592 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if test "${ac_cv_prog_UPC+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$UPC"; then
4599 ac_cv_prog_UPC
="$UPC" # Let the user override the test.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4608 ac_cv_prog_UPC
="$ac_tool_prefix$ac_prog"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 if test -n "$UPC"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPC" >&5
4621 $as_echo "$UPC" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4628 test -n "$UPC" && break
4631 if test -z "$UPC"; then
4633 for ac_prog
in upcc upc
4635 # Extract the first word of "$ac_prog", so it can be a program name with args.
4636 set dummy
$ac_prog; ac_word
=$2
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if test "${ac_cv_prog_ac_ct_UPC+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4642 if test -n "$ac_ct_UPC"; then
4643 ac_cv_prog_ac_ct_UPC
="$ac_ct_UPC" # Let the user override the test.
4645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4649 test -z "$as_dir" && as_dir
=.
4650 for ac_exec_ext
in '' $ac_executable_extensions; do
4651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4652 ac_cv_prog_ac_ct_UPC
="$ac_prog"
4653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 ac_ct_UPC
=$ac_cv_prog_ac_ct_UPC
4663 if test -n "$ac_ct_UPC"; then
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_UPC" >&5
4665 $as_echo "$ac_ct_UPC" >&6; }
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668 $as_echo "no" >&6; }
4672 test -n "$ac_ct_UPC" && break
4675 if test "x$ac_ct_UPC" = x
; then
4678 case $cross_compiling:$ac_tool_warned in
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4682 ac_tool_warned
=yes ;;
4688 if test "$UPC" = :; then
4689 { as_fn_set_status
77
4690 as_fn_error
"no Unified Parallel C compiler was found" "$LINENO" 5; }
4693 depcc
="$UPC" am_compiler_list
=
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4696 $as_echo_n "checking dependency style of $depcc... " >&6; }
4697 if test "${am_cv_UPC_dependencies_compiler_type+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4700 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4701 # We make a subdir and do the tests there. Otherwise we can end up
4702 # making bogus files that we don't know about and never remove. For
4703 # instance it was reported that on HP-UX the gcc test will end up
4704 # making a dummy file named `D' -- because `-MD' means `put the output
4707 # Copy depcomp to subdir because otherwise we won't find it if we're
4708 # using a relative directory.
4709 cp "$am_depcomp" conftest.dir
4711 # We will build objects and dependencies in a subdirectory because
4712 # it helps to detect inapplicable dependency modes. For instance
4713 # both Tru64's cc and ICC support -MD to output dependencies as a
4714 # side effect of compilation, but ICC will put the dependencies in
4715 # the current directory while Tru64 will put them in the object
4719 am_cv_UPC_dependencies_compiler_type
=none
4720 if test "$am_compiler_list" = ""; then
4721 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4726 for depmode
in $am_compiler_list; do
4727 # Setup a source with many dependencies, because some compilers
4728 # like to wrap large dependency lists on column 80 (with \), and
4729 # we should not choose a depcomp mode which is confused by this.
4731 # We need to recreate these files for each test, as the compiler may
4732 # overwrite some of them when testing with obscure command lines.
4733 # This happens at least with the AIX C compiler.
4735 for i
in 1 2 3 4 5 6; do
4736 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4737 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4738 # Solaris 8's {/usr,}/bin/sh.
4739 touch sub
/conftst
$i.h
4741 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4743 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4744 # mode. It turns out that the SunPro C++ compiler does not properly
4745 # handle `-M -o', and we need to detect this. Also, some Intel
4746 # versions had trouble with output in subdirs
4747 am__obj
=sub
/conftest.
${OBJEXT-o}
4748 am__minus_obj
="-o $am__obj"
4751 # This depmode causes a compiler race in universal mode.
4752 test "$am__universal" = false ||
continue
4755 # after this tag, mechanisms are not by side-effect, so they'll
4756 # only be used when explicitly requested
4757 if test "x$enable_dependency_tracking" = xyes
; then
4763 msvisualcpp | msvcmsys
)
4764 # This compiler won't grok `-c -o', but also, the minuso test has
4765 # not run yet. These depmodes are late enough in the game, and
4766 # so weak that their functioning should not be impacted.
4767 am__obj
=conftest.
${OBJEXT-o}
4772 if depmode
=$depmode \
4773 source=sub
/conftest.c object
=$am__obj \
4774 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4775 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4776 >/dev
/null
2>conftest.err
&&
4777 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4778 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4779 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4780 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4781 # icc doesn't choke on unknown options, it will just issue warnings
4782 # or remarks (even with -Werror). So we grep stderr for any message
4783 # that says an option was ignored or not supported.
4784 # When given -MP, icc 7.0 and 7.1 complain thusly:
4785 # icc: Command line warning: ignoring option '-M'; no argument required
4786 # The diagnosis changed in icc 8.0:
4787 # icc: Command line remark: option '-MP' not supported
4788 if (grep 'ignoring option' conftest.err ||
4789 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4790 am_cv_UPC_dependencies_compiler_type
=$depmode
4799 am_cv_UPC_dependencies_compiler_type
=none
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_UPC_dependencies_compiler_type" >&5
4804 $as_echo "$am_cv_UPC_dependencies_compiler_type" >&6; }
4805 UPCDEPMODE
=depmode
=$am_cv_UPC_dependencies_compiler_type
4808 test "x$enable_dependency_tracking" != xno \
4809 && test "$am_cv_UPC_dependencies_compiler_type" = gcc3
; then
4810 am__fastdepUPC_TRUE
=
4811 am__fastdepUPC_FALSE
='#'
4813 am__fastdepUPC_TRUE
='#'
4814 am__fastdepUPC_FALSE
=
4820 # Find other programs we need.
4821 if test -n "$ac_tool_prefix"; then
4822 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4823 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if test "${ac_cv_prog_AR+set}" = set; then :
4827 $as_echo_n "(cached) " >&6
4829 if test -n "$AR"; then
4830 ac_cv_prog_AR
="$AR" # Let the user override the test.
4832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir
=.
4837 for ac_exec_ext
in '' $ac_executable_extensions; do
4838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4839 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 if test -n "$AR"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4852 $as_echo "$AR" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4860 if test -z "$ac_cv_prog_AR"; then
4862 # Extract the first word of "ar", so it can be a program name with args.
4863 set dummy
ar; ac_word
=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$ac_ct_AR"; then
4870 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_ac_ct_AR
="ar"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4890 if test -n "$ac_ct_AR"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4892 $as_echo "$ac_ct_AR" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4898 if test "x$ac_ct_AR" = x
; then
4901 case $cross_compiling:$ac_tool_warned in
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4905 ac_tool_warned
=yes ;;
4913 if test -n "$ac_tool_prefix"; then
4914 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4915 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4921 if test -n "$RANLIB"; then
4922 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4931 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 RANLIB
=$ac_cv_prog_RANLIB
4942 if test -n "$RANLIB"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4944 $as_echo "$RANLIB" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4952 if test -z "$ac_cv_prog_RANLIB"; then
4953 ac_ct_RANLIB
=$RANLIB
4954 # Extract the first word of "ranlib", so it can be a program name with args.
4955 set dummy ranlib
; ac_word
=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4961 if test -n "$ac_ct_RANLIB"; then
4962 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir
=.
4969 for ac_exec_ext
in '' $ac_executable_extensions; do
4970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4971 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4982 if test -n "$ac_ct_RANLIB"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4984 $as_echo "$ac_ct_RANLIB" >&6; }
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4990 if test "x$ac_ct_RANLIB" = x
; then
4991 RANLIB
="ranlib-not-found-in-path-error"
4993 case $cross_compiling:$ac_tool_warned in
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4997 ac_tool_warned
=yes ;;
4999 RANLIB
=$ac_ct_RANLIB
5002 RANLIB
="$ac_cv_prog_RANLIB"
5005 # Extract the first word of "perl", so it can be a program name with args.
5006 set dummy perl
; ac_word
=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if test "${ac_cv_path_PERL+set}" = set; then :
5010 $as_echo_n "(cached) " >&6
5014 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
5017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5021 test -z "$as_dir" && as_dir
=.
5022 for ac_exec_ext
in '' $ac_executable_extensions; do
5023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5024 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
5036 PERL
=$ac_cv_path_PERL
5037 if test -n "$PERL"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5039 $as_echo "$PERL" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 # Extract the first word of "addr2line", so it can be a program name with args.
5047 set dummy addr2line
; ac_word
=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if test "${ac_cv_path_ADDR2LINE+set}" = set; then :
5051 $as_echo_n "(cached) " >&6
5055 ac_cv_path_ADDR2LINE
="$ADDR2LINE" # Let the user override the test with a path.
5058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir
=.
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_path_ADDR2LINE
="$as_dir/$ac_word$ac_exec_ext"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 test -z "$ac_cv_path_ADDR2LINE" && ac_cv_path_ADDR2LINE
="addr2line-not-found-in-path-error"
5077 ADDR2LINE
=$ac_cv_path_ADDR2LINE
5078 if test -n "$ADDR2LINE"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ADDR2LINE" >&5
5080 $as_echo "$ADDR2LINE" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5088 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5090 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5091 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5092 $as_echo_n "(cached) " >&6
5094 cat >conftest.
make <<\_ACEOF
5097 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5099 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5100 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5102 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5104 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5108 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5110 $as_echo "yes" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5115 SET_MAKE
="MAKE=${MAKE-make}"
5120 # See if makeinfo has been installed and is modern enough
5121 # that we can use it.
5123 # Extract the first word of "makeinfo", so it can be a program name with args.
5124 set dummy makeinfo
; ac_word
=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
5128 $as_echo_n "(cached) " >&6
5130 if test -n "$MAKEINFO"; then
5131 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
5133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir
=.
5138 for ac_exec_ext
in '' $ac_executable_extensions; do
5139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5140 ac_cv_prog_MAKEINFO
="makeinfo"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 MAKEINFO
=$ac_cv_prog_MAKEINFO
5151 if test -n "$MAKEINFO"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
5153 $as_echo "$MAKEINFO" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5160 if test -n "$MAKEINFO"; then
5161 # Found it, now check the version.
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
5163 $as_echo_n "checking for modern makeinfo... " >&6; }
5164 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5167 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
5168 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
5170 case $ac_prog_version in
5171 '') gcc_cv_prog_makeinfo_modern
=no
;;
5172 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
5173 *) gcc_cv_prog_makeinfo_modern
=no
;;
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
5178 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
5180 gcc_cv_prog_makeinfo_modern
=no
5182 if test $gcc_cv_prog_makeinfo_modern = no
; then
5183 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
5186 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
5188 BUILD_INFO_FALSE
='#'
5196 # libgupc cannot be built as shared library
5199 # Check whether --enable-shared was given.
5200 if test "${enable_shared+set}" = set; then :
5201 enableval
=$enable_shared; p
=${PACKAGE-default}
5203 yes) enable_shared
=yes ;;
5204 no
) enable_shared
=no
;;
5207 # Look at the argument we got. We use all the common list separators.
5208 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5209 for pkg
in $enableval; do
5211 if test "X$pkg" = "X$p"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5233 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5238 macro_version
='2.2.7a'
5239 macro_revision
='1.3134'
5253 ltmain
="$ac_aux_dir/ltmain.sh"
5255 # Backslashify metacharacters that are still active within
5256 # double-quoted strings.
5257 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5259 # Same as above, but do not quote variable references.
5260 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5262 # Sed substitution to delay expansion of an escaped shell variable in a
5263 # double_quote_subst'ed string.
5264 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5266 # Sed substitution to delay expansion of an escaped single quote.
5267 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5269 # Sed substitution to avoid accidental globbing in evaled expressions
5270 no_glob_subst
='s/\*/\\\*/g'
5272 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5273 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5274 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5277 $as_echo_n "checking how to print strings... " >&6; }
5278 # Test print first, because it will be a builtin if present.
5279 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5280 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5282 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5285 # Use this function as a fallback that always works.
5286 func_fallback_echo ()
5288 eval 'cat <<_LTECHO_EOF
5292 ECHO='func_fallback_echo
'
5295 # func_echo_all arg...
5296 # Invoke $ECHO with all args, space-separated.
5303 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5304 $as_echo "printf" >&6; } ;;
5305 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5306 $as_echo "print -r" >&6; } ;;
5307 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5308 $as_echo "cat" >&6; } ;;
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5325 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5326 if test "${ac_cv_path_SED+set}" = set; then :
5327 $as_echo_n "(cached) " >&6
5329 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5330 for ac_i in 1 2 3 4 5 6 7; do
5331 ac_script="$ac_script$as_nl$ac_script"
5333 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5334 { ac_script=; unset ac_script;}
5335 if test -z "$SED"; then
5336 ac_path_SED_found=false
5337 # Loop through the user's path and
test for each of PROGNAME-LIST
5338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir
=.
5343 for ac_prog
in sed gsed
; do
5344 for ac_exec_ext
in '' $ac_executable_extensions; do
5345 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5346 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5347 # Check for GNU ac_path_SED and select it if it is found.
5348 # Check for GNU $ac_path_SED
5349 case `"$ac_path_SED" --version 2>&1` in
5351 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5354 $as_echo_n 0123456789 >"conftest.in"
5357 cat "conftest.in" "conftest.in" >"conftest.tmp"
5358 mv "conftest.tmp" "conftest.in"
5359 cp "conftest.in" "conftest.nl"
5360 $as_echo '' >> "conftest.nl"
5361 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5362 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5363 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5364 if test $ac_count -gt ${ac_path_SED_max-0}; then
5365 # Best one so far, save it but keep looking for a better one
5366 ac_cv_path_SED
="$ac_path_SED"
5367 ac_path_SED_max
=$ac_count
5369 # 10*(2^10) chars as input seems more than enough
5370 test $ac_count -gt 10 && break
5372 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5375 $ac_path_SED_found && break 3
5380 if test -z "$ac_cv_path_SED"; then
5381 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5389 $as_echo "$ac_cv_path_SED" >&6; }
5390 SED
="$ac_cv_path_SED"
5393 test -z "$SED" && SED
=sed
5394 Xsed
="$SED -e 1s/^X//"
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5407 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5408 if test "${ac_cv_path_GREP+set}" = set; then :
5409 $as_echo_n "(cached) " >&6
5411 if test -z "$GREP"; then
5412 ac_path_GREP_found
=false
5413 # Loop through the user's path and test for each of PROGNAME-LIST
5414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5415 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5418 test -z "$as_dir" && as_dir
=.
5419 for ac_prog
in grep ggrep
; do
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5422 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5423 # Check for GNU ac_path_GREP and select it if it is found.
5424 # Check for GNU $ac_path_GREP
5425 case `"$ac_path_GREP" --version 2>&1` in
5427 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5430 $as_echo_n 0123456789 >"conftest.in"
5433 cat "conftest.in" "conftest.in" >"conftest.tmp"
5434 mv "conftest.tmp" "conftest.in"
5435 cp "conftest.in" "conftest.nl"
5436 $as_echo 'GREP' >> "conftest.nl"
5437 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5438 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5439 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5440 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5441 # Best one so far, save it but keep looking for a better one
5442 ac_cv_path_GREP
="$ac_path_GREP"
5443 ac_path_GREP_max
=$ac_count
5445 # 10*(2^10) chars as input seems more than enough
5446 test $ac_count -gt 10 && break
5448 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5451 $ac_path_GREP_found && break 3
5456 if test -z "$ac_cv_path_GREP"; then
5457 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5460 ac_cv_path_GREP
=$GREP
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5465 $as_echo "$ac_cv_path_GREP" >&6; }
5466 GREP
="$ac_cv_path_GREP"
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5470 $as_echo_n "checking for egrep... " >&6; }
5471 if test "${ac_cv_path_EGREP+set}" = set; then :
5472 $as_echo_n "(cached) " >&6
5474 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5475 then ac_cv_path_EGREP
="$GREP -E"
5477 if test -z "$EGREP"; then
5478 ac_path_EGREP_found
=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5481 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5484 test -z "$as_dir" && as_dir
=.
5485 for ac_prog
in egrep; do
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5488 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5489 # Check for GNU ac_path_EGREP and select it if it is found.
5490 # Check for GNU $ac_path_EGREP
5491 case `"$ac_path_EGREP" --version 2>&1` in
5493 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5496 $as_echo_n 0123456789 >"conftest.in"
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo 'EGREP' >> "conftest.nl"
5503 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5504 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5505 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5506 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_EGREP
="$ac_path_EGREP"
5509 ac_path_EGREP_max
=$ac_count
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5514 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5517 $ac_path_EGREP_found && break 3
5522 if test -z "$ac_cv_path_EGREP"; then
5523 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5526 ac_cv_path_EGREP
=$EGREP
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5532 $as_echo "$ac_cv_path_EGREP" >&6; }
5533 EGREP
="$ac_cv_path_EGREP"
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5537 $as_echo_n "checking for fgrep... " >&6; }
5538 if test "${ac_cv_path_FGREP+set}" = set; then :
5539 $as_echo_n "(cached) " >&6
5541 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5542 then ac_cv_path_FGREP
="$GREP -F"
5544 if test -z "$FGREP"; then
5545 ac_path_FGREP_found
=false
5546 # Loop through the user's path and test for each of PROGNAME-LIST
5547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5551 test -z "$as_dir" && as_dir
=.
5552 for ac_prog
in fgrep
; do
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5555 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5556 # Check for GNU ac_path_FGREP and select it if it is found.
5557 # Check for GNU $ac_path_FGREP
5558 case `"$ac_path_FGREP" --version 2>&1` in
5560 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5563 $as_echo_n 0123456789 >"conftest.in"
5566 cat "conftest.in" "conftest.in" >"conftest.tmp"
5567 mv "conftest.tmp" "conftest.in"
5568 cp "conftest.in" "conftest.nl"
5569 $as_echo 'FGREP' >> "conftest.nl"
5570 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5571 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5572 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5573 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5574 # Best one so far, save it but keep looking for a better one
5575 ac_cv_path_FGREP
="$ac_path_FGREP"
5576 ac_path_FGREP_max
=$ac_count
5578 # 10*(2^10) chars as input seems more than enough
5579 test $ac_count -gt 10 && break
5581 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5584 $ac_path_FGREP_found && break 3
5589 if test -z "$ac_cv_path_FGREP"; then
5590 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5593 ac_cv_path_FGREP
=$FGREP
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5599 $as_echo "$ac_cv_path_FGREP" >&6; }
5600 FGREP
="$ac_cv_path_FGREP"
5603 test -z "$GREP" && GREP
=grep
5623 # Check whether --with-gnu-ld was given.
5624 if test "${with_gnu_ld+set}" = set; then :
5625 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5631 if test "$GCC" = yes; then
5632 # Check if gcc -print-prog-name=ld gives a path.
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5634 $as_echo_n "checking for ld used by $CC... " >&6; }
5637 # gcc leaves a trailing carriage return which upsets mingw
5638 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5640 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5643 # Accept absolute paths.
5645 re_direlt
='/[^/][^/]*/\.\./'
5646 # Canonicalize the pathname of ld
5647 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5648 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5649 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5651 test -z "$LD" && LD
="$ac_prog"
5654 # If it fails, then pretend we aren't using GCC.
5658 # If it is relative, then search for the first ld in PATH.
5662 elif test "$with_gnu_ld" = yes; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5664 $as_echo_n "checking for GNU ld... " >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5667 $as_echo_n "checking for non-GNU ld... " >&6; }
5669 if test "${lt_cv_path_LD+set}" = set; then :
5670 $as_echo_n "(cached) " >&6
5672 if test -z "$LD"; then
5673 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5674 for ac_dir
in $PATH; do
5676 test -z "$ac_dir" && ac_dir
=.
5677 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5678 lt_cv_path_LD
="$ac_dir/$ac_prog"
5679 # Check to see if the program is GNU ld. I'd rather use --version,
5680 # but apparently some variants of GNU ld only accept -v.
5681 # Break only if it was the GNU/non-GNU ld that we prefer.
5682 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5683 *GNU
* |
*'with BFD'*)
5684 test "$with_gnu_ld" != no
&& break
5687 test "$with_gnu_ld" != yes && break
5694 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5699 if test -n "$LD"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5701 $as_echo "$LD" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5706 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5708 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5709 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5710 $as_echo_n "(cached) " >&6
5712 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5713 case `$LD -v 2>&1 </dev/null` in
5714 *GNU
* |
*'with BFD'*)
5715 lt_cv_prog_gnu_ld
=yes
5718 lt_cv_prog_gnu_ld
=no
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5723 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5724 with_gnu_ld
=$lt_cv_prog_gnu_ld
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5735 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5736 if test "${lt_cv_path_NM+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5739 if test -n "$NM"; then
5740 # Let the user override the test.
5743 lt_nm_to_check
="${ac_tool_prefix}nm"
5744 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5745 lt_nm_to_check
="$lt_nm_to_check nm"
5747 for lt_tmp_nm
in $lt_nm_to_check; do
5748 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5749 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5751 test -z "$ac_dir" && ac_dir
=.
5752 tmp_nm
="$ac_dir/$lt_tmp_nm"
5753 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5754 # Check to see if the nm accepts a BSD-compat flag.
5755 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5756 # nm: unknown option "B" ignored
5757 # Tru64's nm complains that /dev/null is an invalid object file
5758 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5759 */dev
/null
* |
*'Invalid file or object type'*)
5760 lt_cv_path_NM
="$tmp_nm -B"
5764 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5766 lt_cv_path_NM
="$tmp_nm -p"
5770 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5771 continue # so that we can try to find one that supports BSD flags
5780 : ${lt_cv_path_NM=no}
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5784 $as_echo "$lt_cv_path_NM" >&6; }
5785 if test "$lt_cv_path_NM" != "no"; then
5788 # Didn't find any BSD compatible name lister, look for dumpbin.
5789 if test -n "$DUMPBIN"; then :
5790 # Let the user override the test.
5792 if test -n "$ac_tool_prefix"; then
5793 for ac_prog
in dumpbin
"link -dump"
5795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5796 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$DUMPBIN"; then
5803 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 DUMPBIN
=$ac_cv_prog_DUMPBIN
5823 if test -n "$DUMPBIN"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5825 $as_echo "$DUMPBIN" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5832 test -n "$DUMPBIN" && break
5835 if test -z "$DUMPBIN"; then
5836 ac_ct_DUMPBIN
=$DUMPBIN
5837 for ac_prog
in dumpbin
"link -dump"
5839 # Extract the first word of "$ac_prog", so it can be a program name with args.
5840 set dummy
$ac_prog; ac_word
=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5844 $as_echo_n "(cached) " >&6
5846 if test -n "$ac_ct_DUMPBIN"; then
5847 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir
=.
5854 for ac_exec_ext
in '' $ac_executable_extensions; do
5855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5867 if test -n "$ac_ct_DUMPBIN"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5869 $as_echo "$ac_ct_DUMPBIN" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 test -n "$ac_ct_DUMPBIN" && break
5879 if test "x$ac_ct_DUMPBIN" = x
; then
5882 case $cross_compiling:$ac_tool_warned in
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5886 ac_tool_warned
=yes ;;
5888 DUMPBIN
=$ac_ct_DUMPBIN
5892 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5894 DUMPBIN
="$DUMPBIN -symbols"
5902 if test "$DUMPBIN" != ":"; then
5906 test -z "$NM" && NM
=nm
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5914 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5915 if test "${lt_cv_nm_interface+set}" = set; then :
5916 $as_echo_n "(cached) " >&6
5918 lt_cv_nm_interface
="BSD nm"
5919 echo "int some_variable = 0;" > conftest.
$ac_ext
5920 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5921 (eval "$ac_compile" 2>conftest.err
)
5922 cat conftest.err
>&5
5923 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5924 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5925 cat conftest.err
>&5
5926 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5927 cat conftest.out
>&5
5928 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5929 lt_cv_nm_interface
="MS dumpbin"
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5934 $as_echo "$lt_cv_nm_interface" >&6; }
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5937 $as_echo_n "checking whether ln -s works... " >&6; }
5939 if test "$LN_S" = "ln -s"; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5941 $as_echo "yes" >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5944 $as_echo "no, using $LN_S" >&6; }
5947 # find the maximum length of command line arguments
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5949 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5950 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5951 $as_echo_n "(cached) " >&6
5958 # On DJGPP, this test can blow up pretty badly due to problems in libc
5959 # (any single argument exceeding 2000 bytes causes a buffer overrun
5960 # during glob expansion). Even if it were fixed, the result of this
5961 # check would be larger than it should be.
5962 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5966 # Under GNU Hurd, this test is not required because there is
5967 # no limit to the length of command line arguments.
5968 # Libtool will interpret -1 as no limit whatsoever
5969 lt_cv_sys_max_cmd_len
=-1;
5972 cygwin
* | mingw
* | cegcc
*)
5973 # On Win9x/ME, this test blows up -- it succeeds, but takes
5974 # about 5 minutes as the teststring grows exponentially.
5975 # Worse, since 9x/ME are not pre-emptively multitasking,
5976 # you end up with a "frozen" computer, even though with patience
5977 # the test eventually succeeds (with a max line length of 256k).
5978 # Instead, let's just punt: use the minimum linelength reported by
5979 # all of the supported platforms: 8192 (on NT/2K/XP).
5980 lt_cv_sys_max_cmd_len
=8192;
5984 # On MiNT this can take a long time and run out of memory.
5985 lt_cv_sys_max_cmd_len
=8192;
5989 # On AmigaOS with pdksh, this test takes hours, literally.
5990 # So we just punt and use a minimum line length of 8192.
5991 lt_cv_sys_max_cmd_len
=8192;
5994 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5995 # This has been around since 386BSD, at least. Likely further.
5996 if test -x /sbin
/sysctl
; then
5997 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5998 elif test -x /usr
/sbin
/sysctl
; then
5999 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6001 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6003 # And add a safety zone
6004 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6005 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6009 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6010 lt_cv_sys_max_cmd_len
=196608
6014 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6015 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6016 # nice to cause kernel panics so lets avoid the loop below.
6017 # First set a reasonable default.
6018 lt_cv_sys_max_cmd_len
=16384
6020 if test -x /sbin
/sysconfig
; then
6021 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6022 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6027 lt_cv_sys_max_cmd_len
=102400
6029 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6030 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6031 if test -n "$kargmax"; then
6032 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6034 lt_cv_sys_max_cmd_len
=32768
6038 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6039 if test -n "$lt_cv_sys_max_cmd_len"; then
6040 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6041 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 # Make teststring a little bigger before we do anything with it.
6044 # a 1K string should be a reasonable start.
6045 for i
in 1 2 3 4 5 6 7 8 ; do
6046 teststring
=$teststring$teststring
6048 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6049 # If test is not a shell built-in, we'll probably end up computing a
6050 # maximum length that is only half of the actual maximum length, but
6052 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6053 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6054 test $i != 17 # 1/2 MB should be enough
6057 teststring
=$teststring$teststring
6059 # Only check the string length outside the loop.
6060 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6062 # Add a significant safety factor because C++ compilers can tack on
6063 # massive amounts of additional arguments before passing them to the
6064 # linker. It appears as though 1/2 is a usable value.
6065 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6072 if test -n $lt_cv_sys_max_cmd_len ; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6074 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6077 $as_echo "none" >&6; }
6079 max_cmd_len
=$lt_cv_sys_max_cmd_len
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6091 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6092 # Try some XSI features
6095 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6097 && eval 'test $(( 1 + 1 )) -eq 2 \
6098 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6101 $as_echo "$xsi_shell" >&6; }
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6105 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6107 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6109 && lt_shell_append=yes
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6111 $as_echo "$lt_shell_append" >&6; }
6114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6124 # test EBCDIC or ASCII
6125 case `echo X|tr X '\101'` in
6126 A) # ASCII based system
6127 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6128 lt_SP2NL='tr \040 \012'
6129 lt_NL2SP='tr \015\012 \040\040'
6131 *) # EBCDIC based system
6132 lt_SP2NL='tr \100 \n'
6133 lt_NL2SP='tr \r\n \100\100'
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6146 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6147 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6148 $as_echo_n "(cached
) " >&6
6150 lt_cv_ld_reload_flag='-r'
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6153 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6154 reload_flag=$lt_cv_ld_reload_flag
6155 case $reload_flag in
6157 *) reload_flag=" $reload_flag" ;;
6159 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6162 if test "$GCC" = yes; then
6163 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6165 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6178 if test -n "$ac_tool_prefix"; then
6179 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6180 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6182 $as_echo_n "checking
for $ac_word...
" >&6; }
6183 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6184 $as_echo_n "(cached
) " >&6
6186 if test -n "$OBJDUMP"; then
6187 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 test -z "$as_dir" && as_dir=.
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6196 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6206 OBJDUMP=$ac_cv_prog_OBJDUMP
6207 if test -n "$OBJDUMP"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6209 $as_echo "$OBJDUMP" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6212 $as_echo "no
" >&6; }
6217 if test -z "$ac_cv_prog_OBJDUMP"; then
6218 ac_ct_OBJDUMP=$OBJDUMP
6219 # Extract the first word of "objdump
", so it can be a program name with args.
6220 set dummy objdump; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6222 $as_echo_n "checking
for $ac_word...
" >&6; }
6223 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6224 $as_echo_n "(cached
) " >&6
6226 if test -n "$ac_ct_OBJDUMP"; then
6227 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 test -z "$as_dir" && as_dir=.
6234 for ac_exec_ext in '' $ac_executable_extensions; do
6235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6236 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6246 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6247 if test -n "$ac_ct_OBJDUMP"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6249 $as_echo "$ac_ct_OBJDUMP" >&6; }
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6252 $as_echo "no
" >&6; }
6255 if test "x
$ac_ct_OBJDUMP" = x; then
6258 case $cross_compiling:$ac_tool_warned in
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6261 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6262 ac_tool_warned=yes ;;
6264 OBJDUMP=$ac_ct_OBJDUMP
6267 OBJDUMP="$ac_cv_prog_OBJDUMP"
6270 test -z "$OBJDUMP" && OBJDUMP=objdump
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6281 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6282 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6283 $as_echo_n "(cached
) " >&6
6285 lt_cv_file_magic_cmd='$MAGIC_CMD'
6286 lt_cv_file_magic_test_file=
6287 lt_cv_deplibs_check_method='unknown'
6288 # Need to set the preceding variable on all platforms that support
6289 # interlibrary dependencies.
6290 # 'none' -- dependencies not supported.
6291 # `unknown' -- same as none, but documents that we really don't know.
6292 # 'pass_all' -- all dependencies passed with no checks.
6293 # 'test_compile' -- check by making test program.
6294 # 'file_magic [[regex]]' -- check by looking for files in library path
6295 # which responds to the $file_magic_cmd with a given extended regex.
6296 # If you have `file' or equivalent on your system and you're not sure
6297 # whether `pass_all' will *always* work, you probably want this one.
6301 lt_cv_deplibs_check_method=pass_all
6305 lt_cv_deplibs_check_method=pass_all
6309 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6310 lt_cv_file_magic_cmd='/usr/bin/file -L'
6311 lt_cv_file_magic_test_file=/shlib/libc.so
6315 # func_win32_libid is a shell function defined in ltmain.sh
6316 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6317 lt_cv_file_magic_cmd='func_win32_libid'
6321 # Base MSYS/MinGW do not provide the 'file' command needed by
6322 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6323 # unless we find 'file', for example because we are cross-compiling.
6324 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6325 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6326 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6327 lt_cv_file_magic_cmd='func_win32_libid'
6329 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6330 lt_cv_file_magic_cmd='$OBJDUMP -f'
6335 # use the weaker test based on 'objdump'. See mingw*.
6336 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6337 lt_cv_file_magic_cmd='$OBJDUMP -f'
6340 darwin* | rhapsody*)
6341 lt_cv_deplibs_check_method=pass_all
6344 freebsd* | dragonfly*)
6345 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6348 # Not sure whether the presence of OpenBSD here was a mistake.
6349 # Let's accept both of them until this is cleared up.
6350 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6351 lt_cv_file_magic_cmd=/usr/bin/file
6352 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6356 lt_cv_deplibs_check_method=pass_all
6361 lt_cv_deplibs_check_method=pass_all
6365 lt_cv_deplibs_check_method=pass_all
6368 hpux10.20* | hpux11*)
6369 lt_cv_file_magic_cmd=/usr/bin/file
6372 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6373 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6376 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]'
6377 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6380 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6381 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6387 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6388 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6391 irix5* | irix6* | nonstopux*)
6393 *-32|*"-32 ") libmagic=32-bit;;
6394 *-n32|*"-n32 ") libmagic=N32;;
6395 *-64|*"-64 ") libmagic=64-bit;;
6396 *) libmagic=never-match;;
6398 lt_cv_deplibs_check_method=pass_all
6401 # This must be Linux ELF.
6402 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6403 lt_cv_deplibs_check_method=pass_all
6407 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6408 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6410 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6415 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6416 lt_cv_file_magic_cmd=/usr/bin/file
6417 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6421 lt_cv_deplibs_check_method=pass_all
6425 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6432 osf3* | osf4* | osf5*)
6433 lt_cv_deplibs_check_method=pass_all
6437 lt_cv_deplibs_check_method=pass_all
6441 lt_cv_deplibs_check_method=pass_all
6444 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6445 lt_cv_deplibs_check_method=pass_all
6449 case $host_vendor in
6451 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]'
6452 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6455 lt_cv_deplibs_check_method=pass_all
6458 lt_cv_file_magic_cmd='/bin/file'
6459 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6462 lt_cv_file_magic_cmd='/bin/file'
6463 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6464 lt_cv_file_magic_test_file=/lib/libc.so
6467 lt_cv_deplibs_check_method=pass_all
6470 lt_cv_deplibs_check_method=pass_all
6476 lt_cv_deplibs_check_method=pass_all
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6482 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6483 file_magic_cmd=$lt_cv_file_magic_cmd
6484 deplibs_check_method=$lt_cv_deplibs_check_method
6485 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6498 if test -n "$ac_tool_prefix"; then
6499 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6500 set dummy ${ac_tool_prefix}ar; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6502 $as_echo_n "checking
for $ac_word...
" >&6; }
6503 if test "${ac_cv_prog_AR+set}" = set; then :
6504 $as_echo_n "(cached
) " >&6
6506 if test -n "$AR"; then
6507 ac_cv_prog_AR="$AR" # Let the user override the test.
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_prog_AR="${ac_tool_prefix}ar"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6527 if test -n "$AR"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6529 $as_echo "$AR" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6532 $as_echo "no
" >&6; }
6537 if test -z "$ac_cv_prog_AR"; then
6539 # Extract the first word of "ar", so it can be a program name with args.
6540 set dummy ar; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6542 $as_echo_n "checking
for $ac_word...
" >&6; }
6543 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6544 $as_echo_n "(cached
) " >&6
6546 if test -n "$ac_ct_AR"; then
6547 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556 ac_cv_prog_ac_ct_AR="ar"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6566 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6567 if test -n "$ac_ct_AR"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6569 $as_echo "$ac_ct_AR" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6572 $as_echo "no
" >&6; }
6575 if test "x
$ac_ct_AR" = x; then
6578 case $cross_compiling:$ac_tool_warned in
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6581 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6582 ac_tool_warned=yes ;;
6590 test -z "$AR" && AR=ar
6591 test -z "$AR_FLAGS" && AR_FLAGS=cru
6603 if test -n "$ac_tool_prefix"; then
6604 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6605 set dummy ${ac_tool_prefix}strip; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6607 $as_echo_n "checking
for $ac_word...
" >&6; }
6608 if test "${ac_cv_prog_STRIP+set}" = set; then :
6609 $as_echo_n "(cached
) " >&6
6611 if test -n "$STRIP"; then
6612 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6621 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6622 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6631 STRIP=$ac_cv_prog_STRIP
6632 if test -n "$STRIP"; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6634 $as_echo "$STRIP" >&6; }
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6637 $as_echo "no
" >&6; }
6642 if test -z "$ac_cv_prog_STRIP"; then
6644 # Extract the first word of "strip
", so it can be a program name with args.
6645 set dummy strip; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6647 $as_echo_n "checking
for $ac_word...
" >&6; }
6648 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6649 $as_echo_n "(cached
) " >&6
6651 if test -n "$ac_ct_STRIP"; then
6652 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661 ac_cv_prog_ac_ct_STRIP="strip
"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6672 if test -n "$ac_ct_STRIP"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6674 $as_echo "$ac_ct_STRIP" >&6; }
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6677 $as_echo "no
" >&6; }
6680 if test "x
$ac_ct_STRIP" = x; then
6683 case $cross_compiling:$ac_tool_warned in
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6686 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6687 ac_tool_warned=yes ;;
6692 STRIP="$ac_cv_prog_STRIP"
6695 test -z "$STRIP" && STRIP=:
6702 if test -n "$ac_tool_prefix"; then
6703 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6704 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6706 $as_echo_n "checking
for $ac_word...
" >&6; }
6707 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6708 $as_echo_n "(cached
) " >&6
6710 if test -n "$RANLIB"; then
6711 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir=.
6718 for ac_exec_ext in '' $ac_executable_extensions; do
6719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6730 RANLIB=$ac_cv_prog_RANLIB
6731 if test -n "$RANLIB"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6733 $as_echo "$RANLIB" >&6; }
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6736 $as_echo "no
" >&6; }
6741 if test -z "$ac_cv_prog_RANLIB"; then
6742 ac_ct_RANLIB=$RANLIB
6743 # Extract the first word of "ranlib
", so it can be a program name with args.
6744 set dummy ranlib; ac_word=$2
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6746 $as_echo_n "checking
for $ac_word...
" >&6; }
6747 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6748 $as_echo_n "(cached
) " >&6
6750 if test -n "$ac_ct_RANLIB"; then
6751 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 test -z "$as_dir" && as_dir=.
6758 for ac_exec_ext in '' $ac_executable_extensions; do
6759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6760 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6770 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6771 if test -n "$ac_ct_RANLIB"; then
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6773 $as_echo "$ac_ct_RANLIB" >&6; }
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6776 $as_echo "no
" >&6; }
6779 if test "x
$ac_ct_RANLIB" = x; then
6782 case $cross_compiling:$ac_tool_warned in
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6785 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6786 ac_tool_warned=yes ;;
6788 RANLIB=$ac_ct_RANLIB
6791 RANLIB="$ac_cv_prog_RANLIB"
6794 test -z "$RANLIB" && RANLIB=:
6801 # Determine commands to create old-style static archives.
6802 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6803 old_postinstall_cmds='chmod 644 $oldlib'
6804 old_postuninstall_cmds=
6806 if test -n "$RANLIB"; then
6809 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6812 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6815 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6820 lock_old_archive_extraction=yes ;;
6822 lock_old_archive_extraction=no ;;
6863 # If no C compiler was specified, use CC.
6866 # If no C compiler flags were specified, use CFLAGS.
6867 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6869 # Allow CC to be a program name with arguments.
6873 # Check for command to grab the raw symbol name followed by C symbol from nm.
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6875 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6876 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6877 $as_echo_n "(cached
) " >&6
6880 # These are sane defaults that work on at least a few old systems.
6881 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6883 # Character class describing NM global symbol codes.
6884 symcode='[BCDEGRST]'
6886 # Regexp to match symbols that can be accessed directly from C.
6887 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6889 # Define system-specific variables.
6894 cygwin* | mingw* | pw32* | cegcc*)
6895 symcode='[ABCDGISTW]'
6898 if test "$host_cpu" = ia64; then
6899 symcode='[ABCDEGRST]'
6903 symcode='[BCDEGRST]'
6906 symcode='[BCDEGQRST]'
6917 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6925 # If we're using GNU nm, then use its standard symbol codes.
6926 case `$NM -V 2>&1` in
6927 *GNU* | *'with BFD'*)
6928 symcode='[ABCDGIRSTW]' ;;
6931 # Transform an extracted symbol line into a proper C declaration.
6932 # Some systems (esp. on ia64) link data and code symbols differently,
6933 # so use this general approach.
6934 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6936 # Transform an extracted symbol line into symbol name and symbol address
6937 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6938 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'"
6940 # Handle CRLF in mingw tool chain
6944 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6948 # Try without a prefix underscore, then with it.
6949 for ac_symprfx in "" "_
"; do
6951 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6952 symxfrm="\\1 $ac_symprfx\\2 \\2"
6954 # Write the raw and C identifiers.
6955 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6956 # Fake it for dumpbin and say T for any non-static function
6957 # and D for any global variable.
6958 # Also find C++ and __fastcall symbols from MSVC++,
6959 # which start with @ or ?.
6960 lt_cv_sys_global_symbol_pipe="$AWK '"\
6961 " {last_section=section; section=\$ 3};"\
6962 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6963 " \$ 0!~/External *\|/{next};"\
6964 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6965 " {if(hide[section]) next};"\
6966 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6967 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6968 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6969 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6970 " ' prfx
=^
$ac_symprfx"
6972 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6975 # Check to see that the pipe works correctly.
6979 cat > conftest.$ac_ext <<_LT_EOF
6984 void nm_test_func(void);
6985 void nm_test_func(void){}
6989 int main(){nm_test_var='a';nm_test_func();return(0);}
6992 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6993 (eval $ac_compile) 2>&5
6995 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6996 test $ac_status = 0; }; then
6997 # Now try to grab the symbols.
6999 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7000 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7002 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7003 test $ac_status = 0; } && test -s "$nlist"; then
7004 # Try sorting and uniquifying the output.
7005 if sort "$nlist" | uniq > "$nlist"T; then
7006 mv -f "$nlist"T "$nlist"
7011 # Make sure that we snagged all the symbols we need.
7012 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7013 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7014 cat <<_LT_EOF > conftest.$ac_ext
7020 # Now generate the symbol file.
7021 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7023 cat <<_LT_EOF >> conftest.$ac_ext
7025 /* The mapping between symbol names and symbols. */
7030 lt__PROGRAM__LTX_preloaded_symbols[] =
7032 { "@PROGRAM@
", (void *) 0 },
7034 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7035 cat <<\_LT_EOF >> conftest.$ac_ext
7039 /* This works around a problem in FreeBSD linker */
7040 #ifdef FREEBSD_WORKAROUND
7041 static const void *lt_preloaded_setup() {
7042 return lt__PROGRAM__LTX_preloaded_symbols;
7050 # Now try linking the two files.
7051 mv conftest.$ac_objext conftstm.$ac_objext
7052 lt_save_LIBS="$LIBS"
7053 lt_save_CFLAGS="$CFLAGS"
7054 LIBS="conftstm.
$ac_objext"
7055 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7056 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7057 (eval $ac_link) 2>&5
7059 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7060 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7063 LIBS="$lt_save_LIBS"
7064 CFLAGS="$lt_save_CFLAGS"
7066 echo "cannot
find nm_test_func
in $nlist" >&5
7069 echo "cannot
find nm_test_var
in $nlist" >&5
7072 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7075 echo "$progname: failed program was
:" >&5
7076 cat conftest.$ac_ext >&5
7078 rm -rf conftest* conftst*
7080 # Do not use the global_symbol_pipe unless it works.
7081 if test "$pipe_works" = yes; then
7084 lt_cv_sys_global_symbol_pipe=
7090 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7091 lt_cv_sys_global_symbol_to_cdecl=
7093 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7095 $as_echo "failed
" >&6; }
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7098 $as_echo "ok
" >&6; }
7123 # Check whether --enable-libtool-lock was given.
7124 if test "${enable_libtool_lock+set}" = set; then :
7125 enableval=$enable_libtool_lock;
7128 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7130 # Some flags need to be propagated to the compiler or linker for good
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.$ac_objext` in
7153 # Find out which ABI we are using.
7154 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7155 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7156 (eval $ac_compile) 2>&5
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7159 test $ac_status = 0; }; then
7160 if test "$lt_cv_prog_gnu_ld" = yes; then
7161 case `/usr/bin/file conftest.$ac_objext` in
7163 LD="${LD-ld} -melf32bsmip"
7166 LD="${LD-ld} -melf32bmipn32"
7169 LD="${LD-ld} -melf64bmip"
7173 case `/usr/bin/file conftest.$ac_objext` in
7189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.o` in
7201 x86_64-*kfreebsd*-gnu)
7202 LD="${LD-ld} -m elf_i386_fbsd
"
7205 case `/usr/bin/file conftest.o` in
7207 LD="${LD-ld} -m elf32_x86_64
"
7210 LD="${LD-ld} -m elf_i386
"
7214 ppc64-*linux*|powerpc64-*linux*)
7215 LD="${LD-ld} -m elf32ppclinux
"
7218 LD="${LD-ld} -m elf_s390
"
7221 LD="${LD-ld} -m elf32_sparc
"
7227 x86_64-*kfreebsd*-gnu)
7228 LD="${LD-ld} -m elf_x86_64_fbsd
"
7231 LD="${LD-ld} -m elf_x86_64
"
7233 ppc*-*linux*|powerpc*-*linux*)
7234 LD="${LD-ld} -m elf64ppc
"
7236 s390*-*linux*|s390*-*tpf*)
7237 LD="${LD-ld} -m elf64_s390
"
7240 LD="${LD-ld} -m elf64_sparc
"
7250 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7251 SAVE_CFLAGS="$CFLAGS"
7252 CFLAGS="$CFLAGS -belf"
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7254 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7255 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7256 $as_echo_n "(cached
) " >&6
7259 ac_cpp='$CPP $CPPFLAGS'
7260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7275 if ac_fn_c_try_link "$LINENO"; then :
7276 lt_cv_cc_needs_belf=yes
7278 lt_cv_cc_needs_belf=no
7280 rm -f core conftest.err conftest.$ac_objext \
7281 conftest$ac_exeext conftest.$ac_ext
7283 ac_cpp='$CPP $CPPFLAGS'
7284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7290 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7291 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7292 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7293 CFLAGS="$SAVE_CFLAGS"
7297 # Find out which ABI we are using.
7298 echo 'int i;' > conftest.$ac_ext
7299 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7300 (eval $ac_compile) 2>&5
7302 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7303 test $ac_status = 0; }; then
7304 case `/usr/bin/file conftest.o` in
7306 case $lt_cv_prog_gnu_ld in
7307 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7309 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 need_locks="$enable_libtool_lock"
7325 rhapsody* | darwin*)
7326 if test -n "$ac_tool_prefix"; then
7327 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7330 $as_echo_n "checking
for $ac_word...
" >&6; }
7331 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7332 $as_echo_n "(cached
) " >&6
7334 if test -n "$DSYMUTIL"; then
7335 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7354 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7355 if test -n "$DSYMUTIL"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7357 $as_echo "$DSYMUTIL" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7360 $as_echo "no
" >&6; }
7365 if test -z "$ac_cv_prog_DSYMUTIL"; then
7366 ac_ct_DSYMUTIL=$DSYMUTIL
7367 # Extract the first word of "dsymutil
", so it can be a program name with args.
7368 set dummy dsymutil; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7370 $as_echo_n "checking
for $ac_word...
" >&6; }
7371 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7372 $as_echo_n "(cached
) " >&6
7374 if test -n "$ac_ct_DSYMUTIL"; then
7375 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 test -z "$as_dir" && as_dir=.
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7394 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7395 if test -n "$ac_ct_DSYMUTIL"; then
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7397 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7400 $as_echo "no
" >&6; }
7403 if test "x
$ac_ct_DSYMUTIL" = x; then
7406 case $cross_compiling:$ac_tool_warned in
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7409 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7410 ac_tool_warned=yes ;;
7412 DSYMUTIL=$ac_ct_DSYMUTIL
7415 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7418 if test -n "$ac_tool_prefix"; then
7419 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7422 $as_echo_n "checking
for $ac_word...
" >&6; }
7423 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7424 $as_echo_n "(cached
) " >&6
7426 if test -n "$NMEDIT"; then
7427 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 test -z "$as_dir" && as_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7446 NMEDIT=$ac_cv_prog_NMEDIT
7447 if test -n "$NMEDIT"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7449 $as_echo "$NMEDIT" >&6; }
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7452 $as_echo "no
" >&6; }
7457 if test -z "$ac_cv_prog_NMEDIT"; then
7458 ac_ct_NMEDIT=$NMEDIT
7459 # Extract the first word of "nmedit
", so it can be a program name with args.
7460 set dummy nmedit; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7462 $as_echo_n "checking
for $ac_word...
" >&6; }
7463 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7464 $as_echo_n "(cached
) " >&6
7466 if test -n "$ac_ct_NMEDIT"; then
7467 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 test -z "$as_dir" && as_dir=.
7474 for ac_exec_ext in '' $ac_executable_extensions; do
7475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7486 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7487 if test -n "$ac_ct_NMEDIT"; then
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7489 $as_echo "$ac_ct_NMEDIT" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7492 $as_echo "no
" >&6; }
7495 if test "x
$ac_ct_NMEDIT" = x; then
7498 case $cross_compiling:$ac_tool_warned in
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7501 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7502 ac_tool_warned=yes ;;
7504 NMEDIT=$ac_ct_NMEDIT
7507 NMEDIT="$ac_cv_prog_NMEDIT"
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7514 $as_echo_n "checking
for $ac_word...
" >&6; }
7515 if test "${ac_cv_prog_LIPO+set}" = set; then :
7516 $as_echo_n "(cached
) " >&6
7518 if test -n "$LIPO"; then
7519 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir=.
7526 for ac_exec_ext in '' $ac_executable_extensions; do
7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7538 LIPO=$ac_cv_prog_LIPO
7539 if test -n "$LIPO"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7541 $as_echo "$LIPO" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7544 $as_echo "no
" >&6; }
7549 if test -z "$ac_cv_prog_LIPO"; then
7551 # Extract the first word of "lipo
", so it can be a program name with args.
7552 set dummy lipo; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7554 $as_echo_n "checking
for $ac_word...
" >&6; }
7555 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7556 $as_echo_n "(cached
) " >&6
7558 if test -n "$ac_ct_LIPO"; then
7559 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568 ac_cv_prog_ac_ct_LIPO="lipo
"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7578 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7579 if test -n "$ac_ct_LIPO"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7581 $as_echo "$ac_ct_LIPO" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7584 $as_echo "no
" >&6; }
7587 if test "x
$ac_ct_LIPO" = x; then
7590 case $cross_compiling:$ac_tool_warned in
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7593 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7594 ac_tool_warned=yes ;;
7599 LIPO="$ac_cv_prog_LIPO"
7602 if test -n "$ac_tool_prefix"; then
7603 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}otool; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7606 $as_echo_n "checking
for $ac_word...
" >&6; }
7607 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7608 $as_echo_n "(cached
) " >&6
7610 if test -n "$OTOOL"; then
7611 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir=.
7618 for ac_exec_ext in '' $ac_executable_extensions; do
7619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7630 OTOOL=$ac_cv_prog_OTOOL
7631 if test -n "$OTOOL"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7633 $as_echo "$OTOOL" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7636 $as_echo "no
" >&6; }
7641 if test -z "$ac_cv_prog_OTOOL"; then
7643 # Extract the first word of "otool
", so it can be a program name with args.
7644 set dummy otool; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7646 $as_echo_n "checking
for $ac_word...
" >&6; }
7647 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7648 $as_echo_n "(cached
) " >&6
7650 if test -n "$ac_ct_OTOOL"; then
7651 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7657 test -z "$as_dir" && as_dir=.
7658 for ac_exec_ext in '' $ac_executable_extensions; do
7659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7660 ac_cv_prog_ac_ct_OTOOL="otool
"
7661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7670 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7671 if test -n "$ac_ct_OTOOL"; then
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7673 $as_echo "$ac_ct_OTOOL" >&6; }
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7676 $as_echo "no
" >&6; }
7679 if test "x
$ac_ct_OTOOL" = x; then
7682 case $cross_compiling:$ac_tool_warned in
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7685 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7686 ac_tool_warned=yes ;;
7691 OTOOL="$ac_cv_prog_OTOOL"
7694 if test -n "$ac_tool_prefix"; then
7695 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7696 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7698 $as_echo_n "checking
for $ac_word...
" >&6; }
7699 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7700 $as_echo_n "(cached
) " >&6
7702 if test -n "$OTOOL64"; then
7703 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709 test -z "$as_dir" && as_dir=.
7710 for ac_exec_ext in '' $ac_executable_extensions; do
7711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7712 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7722 OTOOL64=$ac_cv_prog_OTOOL64
7723 if test -n "$OTOOL64"; then
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7725 $as_echo "$OTOOL64" >&6; }
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7728 $as_echo "no
" >&6; }
7733 if test -z "$ac_cv_prog_OTOOL64"; then
7734 ac_ct_OTOOL64=$OTOOL64
7735 # Extract the first word of "otool64
", so it can be a program name with args.
7736 set dummy otool64; ac_word=$2
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7738 $as_echo_n "checking
for $ac_word...
" >&6; }
7739 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7740 $as_echo_n "(cached
) " >&6
7742 if test -n "$ac_ct_OTOOL64"; then
7743 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir=.
7750 for ac_exec_ext in '' $ac_executable_extensions; do
7751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7752 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7762 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7763 if test -n "$ac_ct_OTOOL64"; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7765 $as_echo "$ac_ct_OTOOL64" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7768 $as_echo "no
" >&6; }
7771 if test "x
$ac_ct_OTOOL64" = x; then
7774 case $cross_compiling:$ac_tool_warned in
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7777 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7778 ac_tool_warned=yes ;;
7780 OTOOL64=$ac_ct_OTOOL64
7783 OTOOL64="$ac_cv_prog_OTOOL64"
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7813 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7814 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7815 $as_echo_n "(cached
) " >&6
7817 lt_cv_apple_cc_single_mod=no
7818 if test -z "${LT_MULTI_MODULE}"; then
7819 # By default we will add the -single_module flag. You can override
7820 # by either setting the environment variable LT_MULTI_MODULE
7821 # non-empty at configure time, or by adding -multi_module to the
7823 rm -rf libconftest.dylib*
7824 echo "int foo
(void
){return 1;}" > conftest.c
7825 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7826 -dynamiclib -Wl,-single_module conftest.c
" >&5
7827 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7828 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7830 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7831 lt_cv_apple_cc_single_mod=yes
7833 cat conftest.err >&5
7835 rm -rf libconftest.dylib*
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7840 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7842 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7843 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7844 $as_echo_n "(cached
) " >&6
7846 lt_cv_ld_exported_symbols_list=no
7847 save_LDFLAGS=$LDFLAGS
7848 echo "_main
" > conftest.sym
7849 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7861 if ac_fn_c_try_link "$LINENO"; then :
7862 lt_cv_ld_exported_symbols_list=yes
7864 lt_cv_ld_exported_symbols_list=no
7866 rm -f core conftest.err conftest.$ac_objext \
7867 conftest$ac_exeext conftest.$ac_ext
7868 LDFLAGS="$save_LDFLAGS"
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7872 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7874 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7875 if test "${lt_cv_ld_force_load+set}" = set; then :
7876 $as_echo_n "(cached
) " >&6
7878 lt_cv_ld_force_load=no
7879 cat > conftest.c << _LT_EOF
7880 int forced_loaded() { return 2;}
7882 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7883 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7884 echo "$AR cru libconftest.a conftest.o
" >&5
7885 $AR cru libconftest.a conftest.o 2>&5
7886 cat > conftest.c << _LT_EOF
7887 int main() { return 0;}
7889 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7890 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7892 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7893 lt_cv_ld_force_load=yes
7895 cat conftest.err >&5
7897 rm -f conftest.err libconftest.a conftest conftest.c
7898 rm -rf conftest.dSYM
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7902 $as_echo "$lt_cv_ld_force_load" >&6; }
7904 rhapsody* | darwin1.[012])
7905 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7907 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7908 darwin*) # darwin 5.x on
7909 # if running on 10.5 or later, the deployment target defaults
7910 # to the OS version, if on x86, and 10.4, the deployment
7911 # target defaults to 10.4. Don't you love it?
7912 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7913 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7914 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7916 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7918 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7922 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7923 _lt_dar_single_mod='$single_module'
7925 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7926 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7928 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7930 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7931 _lt_dsymutil='~$DSYMUTIL $lib || :'
7939 ac_cpp='$CPP $CPPFLAGS'
7940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7944 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7945 # On Suns, sometimes $CPP names a directory.
7946 if test -n "$CPP" && test -d "$CPP"; then
7949 if test -z "$CPP"; then
7950 if test "${ac_cv_prog_CPP+set}" = set; then :
7951 $as_echo_n "(cached
) " >&6
7953 # Double quotes because CPP needs to be expanded
7954 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7957 for ac_c_preproc_warn_flag in '' yes
7959 # Use a header file that comes with gcc, so configuring glibc
7960 # with a fresh cross-compiler works.
7961 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7962 # <limits.h> exists even on freestanding compilers.
7963 # On the NeXT, cc -E runs the code through the compiler's parser,
7964 # not just through cpp. "Syntax error
" is here to catch this case.
7965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7966 /* end confdefs.h. */
7968 # include <limits.h>
7970 # include <assert.h>
7974 if ac_fn_c_try_cpp "$LINENO"; then :
7977 # Broken: fails on valid input.
7980 rm -f conftest.err conftest.$ac_ext
7982 # OK, works on sane cases. Now check whether nonexistent headers
7983 # can be detected and how.
7984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7985 /* end confdefs.h. */
7986 #include <ac_nonexistent.h>
7988 if ac_fn_c_try_cpp "$LINENO"; then :
7989 # Broken: success on invalid input.
7992 # Passes both tests.
7996 rm -f conftest.err conftest.$ac_ext
7999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8000 rm -f conftest.err conftest.$ac_ext
8001 if $ac_preproc_ok; then :
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8014 $as_echo "$CPP" >&6; }
8016 for ac_c_preproc_warn_flag in '' yes
8018 # Use a header file that comes with gcc, so configuring glibc
8019 # with a fresh cross-compiler works.
8020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8021 # <limits.h> exists even on freestanding compilers.
8022 # On the NeXT, cc -E runs the code through the compiler's parser,
8023 # not just through cpp. "Syntax error
" is here to catch this case.
8024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8025 /* end confdefs.h. */
8027 # include <limits.h>
8029 # include <assert.h>
8033 if ac_fn_c_try_cpp "$LINENO"; then :
8036 # Broken: fails on valid input.
8039 rm -f conftest.err conftest.$ac_ext
8041 # OK, works on sane cases. Now check whether nonexistent headers
8042 # can be detected and how.
8043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h. */
8045 #include <ac_nonexistent.h>
8047 if ac_fn_c_try_cpp "$LINENO"; then :
8048 # Broken: success on invalid input.
8051 # Passes both tests.
8055 rm -f conftest.err conftest.$ac_ext
8058 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8059 rm -f conftest.err conftest.$ac_ext
8060 if $ac_preproc_ok; then :
8063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8065 as_fn_error "C preprocessor \"$CPP\" fails sanity check
8066 See \`config.log' for more details.
" "$LINENO" 5; }
8070 ac_cpp='$CPP $CPPFLAGS'
8071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8077 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8078 if test "${ac_cv_header_stdc+set}" = set; then :
8079 $as_echo_n "(cached
) " >&6
8081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8082 /* end confdefs.h. */
8096 if ac_fn_c_try_compile "$LINENO"; then :
8097 ac_cv_header_stdc=yes
8099 ac_cv_header_stdc=no
8101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8103 if test $ac_cv_header_stdc = yes; then
8104 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106 /* end confdefs.h. */
8110 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8111 $EGREP "memchr
" >/dev/null 2>&1; then :
8114 ac_cv_header_stdc=no
8120 if test $ac_cv_header_stdc = yes; then
8121 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8127 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8128 $EGREP "free
" >/dev/null 2>&1; then :
8131 ac_cv_header_stdc=no
8137 if test $ac_cv_header_stdc = yes; then
8138 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8139 if test "$cross_compiling" = yes; then :
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8146 #if ((' ' & 0x0FF) == 0x020)
8147 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8148 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8150 # define ISLOWER(c) \
8151 (('a' <= (c) && (c) <= 'i') \
8152 || ('j' <= (c) && (c) <= 'r') \
8153 || ('s' <= (c) && (c) <= 'z'))
8154 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8157 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8162 for (i = 0; i < 256; i++)
8163 if (XOR (islower (i), ISLOWER (i))
8164 || toupper (i) != TOUPPER (i))
8169 if ac_fn_c_try_run "$LINENO"; then :
8172 ac_cv_header_stdc=no
8174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8175 conftest.$ac_objext conftest.beam conftest.$ac_ext
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8181 $as_echo "$ac_cv_header_stdc" >&6; }
8182 if test $ac_cv_header_stdc = yes; then
8184 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8188 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8189 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8190 inttypes.h stdint.h unistd.h
8192 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8193 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8195 eval as_val
=\$
$as_ac_Header
8196 if test "x$as_val" = x
""yes; then :
8197 cat >>confdefs.h
<<_ACEOF
8198 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8206 for ac_header
in dlfcn.h
8208 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8210 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8211 cat >>confdefs.h
<<_ACEOF
8212 #define HAVE_DLFCN_H 1
8234 # Check whether --enable-static was given.
8235 if test "${enable_static+set}" = set; then :
8236 enableval
=$enable_static; p
=${PACKAGE-default}
8238 yes) enable_static
=yes ;;
8239 no
) enable_static
=no
;;
8242 # Look at the argument we got. We use all the common list separators.
8243 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8244 for pkg
in $enableval; do
8246 if test "X$pkg" = "X$p"; then
8266 # Check whether --with-pic was given.
8267 if test "${with_pic+set}" = set; then :
8268 withval
=$with_pic; pic_mode
="$withval"
8274 test -z "$pic_mode" && pic_mode
=default
8282 # Check whether --enable-fast-install was given.
8283 if test "${enable_fast_install+set}" = set; then :
8284 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8286 yes) enable_fast_install
=yes ;;
8287 no
) enable_fast_install
=no
;;
8289 enable_fast_install
=no
8290 # Look at the argument we got. We use all the common list separators.
8291 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8292 for pkg
in $enableval; do
8294 if test "X$pkg" = "X$p"; then
8295 enable_fast_install
=yes
8302 enable_fast_install
=yes
8315 # This can be used to rebuild libtool when needed
8316 LIBTOOL_DEPS
="$ltmain"
8318 # Always use our own libtool.
8319 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8346 test -z "$LN_S" && LN_S
="ln -s"
8361 if test -n "${ZSH_VERSION+set}" ; then
8362 setopt NO_GLOB_SUBST
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8366 $as_echo_n "checking for objdir... " >&6; }
8367 if test "${lt_cv_objdir+set}" = set; then :
8368 $as_echo_n "(cached) " >&6
8370 rm -f .libs
2>/dev
/null
8371 mkdir .libs
2>/dev
/null
8372 if test -d .libs
; then
8375 # MS-DOS does not allow filenames that begin with a dot.
8378 rmdir .libs
2>/dev
/null
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8381 $as_echo "$lt_cv_objdir" >&6; }
8382 objdir
=$lt_cv_objdir
8388 cat >>confdefs.h
<<_ACEOF
8389 #define LT_OBJDIR "$lt_cv_objdir/"
8397 # AIX sometimes has problems with the GCC collect2 program. For some
8398 # reason, if we set the COLLECT_NAMES environment variable, the problems
8399 # vanish in a puff of smoke.
8400 if test "X${COLLECT_NAMES+set}" != Xset
; then
8402 export COLLECT_NAMES
8409 can_build_shared
=yes
8411 # All known linkers require a `.a' archive for static linking (except MSVC,
8412 # which needs '.lib').
8415 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8418 old_CFLAGS
="$CFLAGS"
8420 # Set sane defaults for various variables
8421 test -z "$CC" && CC
=cc
8422 test -z "$LTCC" && LTCC
=$CC
8423 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8424 test -z "$LD" && LD
=ld
8425 test -z "$ac_objext" && ac_objext
=o
8427 for cc_temp
in $compiler""; do
8429 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8430 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8435 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8438 # Only perform the check for file, if the check method requires it
8439 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8440 case $deplibs_check_method in
8442 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8444 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8445 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8446 $as_echo_n "(cached) " >&6
8450 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8453 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8454 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8455 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8456 for ac_dir
in $ac_dummy; do
8458 test -z "$ac_dir" && ac_dir
=.
8459 if test -f $ac_dir/${ac_tool_prefix}file; then
8460 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8461 if test -n "$file_magic_test_file"; then
8462 case $deplibs_check_method in
8464 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8465 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8466 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8467 $EGREP "$file_magic_regex" > /dev
/null
; then
8472 *** Warning: the command libtool uses to detect shared libraries,
8473 *** $file_magic_cmd, produces output that libtool cannot recognize.
8474 *** The result is that libtool may fail to recognize shared libraries
8475 *** as such. This will affect the creation of libtool libraries that
8476 *** depend on shared libraries, but programs linked with such libtool
8477 *** libraries will work regardless of this problem. Nevertheless, you
8478 *** may want to report the problem to your system manager and/or to
8479 *** bug-libtool@gnu.org
8489 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8494 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8495 if test -n "$MAGIC_CMD"; then
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8497 $as_echo "$MAGIC_CMD" >&6; }
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8500 $as_echo "no" >&6; }
8507 if test -z "$lt_cv_path_MAGIC_CMD"; then
8508 if test -n "$ac_tool_prefix"; then
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8510 $as_echo_n "checking for file... " >&6; }
8511 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8512 $as_echo_n "(cached) " >&6
8516 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8519 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8520 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8521 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8522 for ac_dir
in $ac_dummy; do
8524 test -z "$ac_dir" && ac_dir
=.
8525 if test -f $ac_dir/file; then
8526 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8527 if test -n "$file_magic_test_file"; then
8528 case $deplibs_check_method in
8530 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8531 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8532 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8533 $EGREP "$file_magic_regex" > /dev
/null
; then
8538 *** Warning: the command libtool uses to detect shared libraries,
8539 *** $file_magic_cmd, produces output that libtool cannot recognize.
8540 *** The result is that libtool may fail to recognize shared libraries
8541 *** as such. This will affect the creation of libtool libraries that
8542 *** depend on shared libraries, but programs linked with such libtool
8543 *** libraries will work regardless of this problem. Nevertheless, you
8544 *** may want to report the problem to your system manager and/or to
8545 *** bug-libtool@gnu.org
8555 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8560 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8561 if test -n "$MAGIC_CMD"; then
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8563 $as_echo "$MAGIC_CMD" >&6; }
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8566 $as_echo "no" >&6; }
8579 # Use C for the default configuration in the libtool script
8583 ac_cpp
='$CPP $CPPFLAGS'
8584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8589 # Source file extension for C test sources.
8592 # Object file extension for compiled C test sources.
8596 # Code to be used in simple compile tests
8597 lt_simple_compile_test_code
="int some_variable = 0;"
8599 # Code to be used in simple link tests
8600 lt_simple_link_test_code
='int main(){return(0);}'
8608 # If no C compiler was specified, use CC.
8611 # If no C compiler flags were specified, use CFLAGS.
8612 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8614 # Allow CC to be a program name with arguments.
8617 # Save the default compiler, since it gets overwritten when the other
8618 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8619 compiler_DEFAULT
=$CC
8621 # save warnings/boilerplate of simple test code
8622 ac_outfile
=conftest.
$ac_objext
8623 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8624 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8625 _lt_compiler_boilerplate
=`cat conftest.err`
8628 ac_outfile
=conftest.
$ac_objext
8629 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8630 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8631 _lt_linker_boilerplate
=`cat conftest.err`
8636 ## There is no encapsulation within the following macros, do not change
8637 ## the running order or otherwise move them around unless you know exactly
8638 ## what you are doing...
8639 if test -n "$compiler"; then
8641 lt_prog_compiler_no_builtin_flag
=
8643 if test "$GCC" = yes; then
8644 case $cc_basename in
8646 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8648 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8652 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8653 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8654 $as_echo_n "(cached) " >&6
8656 lt_cv_prog_compiler_rtti_exceptions
=no
8657 ac_outfile
=conftest.
$ac_objext
8658 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8659 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8660 # Insert the option either (1) after the last *FLAGS variable, or
8661 # (2) before a word containing "conftest.", or (3) at the end.
8662 # Note that $ac_compile itself does not contain backslashes and begins
8663 # with a dollar sign (not a hyphen), so the echo should work correctly.
8664 # The option is referenced via a variable to avoid confusing sed.
8665 lt_compile
=`echo "$ac_compile" | $SED \
8666 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8667 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8668 -e 's:$: $lt_compiler_flag:'`
8669 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8670 (eval "$lt_compile" 2>conftest.err
)
8672 cat conftest.err
>&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 if (exit $ac_status) && test -s "$ac_outfile"; then
8675 # The compiler can only warn and ignore the option if not recognized
8676 # So say no if there are warnings other than the usual output.
8677 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8678 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8679 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8680 lt_cv_prog_compiler_rtti_exceptions
=yes
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8687 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8689 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8690 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8702 lt_prog_compiler_wl
=
8703 lt_prog_compiler_pic
=
8704 lt_prog_compiler_static
=
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8707 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8709 if test "$GCC" = yes; then
8710 lt_prog_compiler_wl
='-Wl,'
8711 lt_prog_compiler_static
='-static'
8715 # All AIX code is PIC.
8716 if test "$host_cpu" = ia64
; then
8717 # AIX 5 now supports IA64 processor
8718 lt_prog_compiler_static
='-Bstatic'
8720 lt_prog_compiler_pic
='-fPIC'
8726 # see comment about AmigaOS4 .so support
8727 lt_prog_compiler_pic
='-fPIC'
8730 # FIXME: we need at least 68020 code to build shared libraries, but
8731 # adding the `-m68020' flag to GCC prevents building anything better,
8733 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8738 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8739 # PIC is the default for these OSes.
8742 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8743 # This hack is so that the source file can tell whether it is being
8744 # built for inclusion in a dll (and should export symbols for example).
8745 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8746 # (--disable-auto-import) libraries
8747 lt_prog_compiler_pic
='-DDLL_EXPORT'
8750 darwin
* | rhapsody
*)
8751 # PIC is the default on this platform
8752 # Common symbols not allowed in MH_DYLIB files
8753 lt_prog_compiler_pic
='-fno-common'
8757 # PIC is the default for Haiku.
8758 # The "-static" flag exists, but is broken.
8759 lt_prog_compiler_static
=
8763 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8764 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8765 # sets the default TLS model and affects inlining.
8771 lt_prog_compiler_pic
='-fPIC'
8777 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8778 # Instead, we relocate shared libraries at runtime.
8782 # Just because we use GCC doesn't mean we suddenly get shared libraries
8783 # on systems that don't support them.
8784 lt_prog_compiler_can_build_shared
=no
8789 # QNX uses GNU C++, but need to define -shared option too, otherwise
8791 lt_prog_compiler_pic
='-fPIC -shared'
8795 if test -d /usr
/nec
; then
8796 lt_prog_compiler_pic
=-Kconform_pic
8801 lt_prog_compiler_pic
='-fPIC'
8805 case $cc_basename in
8806 nvcc
*) # Cuda Compiler Driver 2.2
8807 lt_prog_compiler_wl
='-Xlinker '
8808 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8812 # PORTME Check for flag to pass linker flags through the system compiler.
8815 lt_prog_compiler_wl
='-Wl,'
8816 if test "$host_cpu" = ia64
; then
8817 # AIX 5 now supports IA64 processor
8818 lt_prog_compiler_static
='-Bstatic'
8820 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8824 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8825 # This hack is so that the source file can tell whether it is being
8826 # built for inclusion in a dll (and should export symbols for example).
8827 lt_prog_compiler_pic
='-DDLL_EXPORT'
8830 hpux9
* | hpux10
* | hpux11
*)
8831 lt_prog_compiler_wl
='-Wl,'
8832 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8839 lt_prog_compiler_pic
='+Z'
8842 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8843 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8846 irix5
* | irix6
* | nonstopux
*)
8847 lt_prog_compiler_wl
='-Wl,'
8848 # PIC (with -KPIC) is the default.
8849 lt_prog_compiler_static
='-non_shared'
8852 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8853 case $cc_basename in
8854 # old Intel for x86_64 which still supported -KPIC.
8856 lt_prog_compiler_wl
='-Wl,'
8857 lt_prog_compiler_pic
='-KPIC'
8858 lt_prog_compiler_static
='-static'
8860 # icc used to be incompatible with GCC.
8861 # ICC 10 doesn't accept -KPIC any more.
8863 lt_prog_compiler_wl
='-Wl,'
8864 lt_prog_compiler_pic
='-fPIC'
8865 lt_prog_compiler_static
='-static'
8867 # Lahey Fortran 8.1.
8869 lt_prog_compiler_wl
='-Wl,'
8870 lt_prog_compiler_pic
='--shared'
8871 lt_prog_compiler_static
='--static'
8873 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8874 # Portland Group compilers (*not* the Pentium gcc compiler,
8875 # which looks to be a dead project)
8876 lt_prog_compiler_wl
='-Wl,'
8877 lt_prog_compiler_pic
='-fpic'
8878 lt_prog_compiler_static
='-Bstatic'
8881 lt_prog_compiler_wl
='-Wl,'
8882 # All Alpha code is PIC.
8883 lt_prog_compiler_static
='-non_shared'
8885 xl
* | bgxl
* | bgf
* | mpixl
*)
8886 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8887 lt_prog_compiler_wl
='-Wl,'
8888 lt_prog_compiler_pic
='-qpic'
8889 lt_prog_compiler_static
='-qstaticlink'
8892 case `$CC -V 2>&1 | sed 5q` in
8893 *Sun\ F
* |
*Sun
*Fortran
*)
8894 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8895 lt_prog_compiler_pic
='-KPIC'
8896 lt_prog_compiler_static
='-Bstatic'
8897 lt_prog_compiler_wl
=''
8901 lt_prog_compiler_pic
='-KPIC'
8902 lt_prog_compiler_static
='-Bstatic'
8903 lt_prog_compiler_wl
='-Wl,'
8911 lt_prog_compiler_pic
='-KPIC'
8912 lt_prog_compiler_static
='-Bstatic'
8916 # QNX uses GNU C++, but need to define -shared option too, otherwise
8918 lt_prog_compiler_pic
='-fPIC -shared'
8921 osf3
* | osf4
* | osf5
*)
8922 lt_prog_compiler_wl
='-Wl,'
8923 # All OSF/1 code is PIC.
8924 lt_prog_compiler_static
='-non_shared'
8928 lt_prog_compiler_static
='-non_shared'
8932 lt_prog_compiler_pic
='-KPIC'
8933 lt_prog_compiler_static
='-Bstatic'
8934 case $cc_basename in
8936 lt_prog_compiler_wl
='-Qoption ld ';;
8938 lt_prog_compiler_wl
='-Wl,';;
8943 lt_prog_compiler_wl
='-Qoption ld '
8944 lt_prog_compiler_pic
='-PIC'
8945 lt_prog_compiler_static
='-Bstatic'
8948 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8949 lt_prog_compiler_wl
='-Wl,'
8950 lt_prog_compiler_pic
='-KPIC'
8951 lt_prog_compiler_static
='-Bstatic'
8955 if test -d /usr
/nec
;then
8956 lt_prog_compiler_pic
='-Kconform_pic'
8957 lt_prog_compiler_static
='-Bstatic'
8961 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8962 lt_prog_compiler_wl
='-Wl,'
8963 lt_prog_compiler_pic
='-KPIC'
8964 lt_prog_compiler_static
='-Bstatic'
8968 lt_prog_compiler_wl
='-Wl,'
8969 lt_prog_compiler_can_build_shared
=no
8973 lt_prog_compiler_pic
='-pic'
8974 lt_prog_compiler_static
='-Bstatic'
8978 lt_prog_compiler_can_build_shared
=no
8984 # For platforms which do not support PIC, -DPIC is meaningless:
8986 lt_prog_compiler_pic
=
8989 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8993 $as_echo "$lt_prog_compiler_pic" >&6; }
9001 # Check to make sure the PIC flag actually works.
9003 if test -n "$lt_prog_compiler_pic"; then
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9005 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9006 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9007 $as_echo_n "(cached) " >&6
9009 lt_cv_prog_compiler_pic_works
=no
9010 ac_outfile
=conftest.
$ac_objext
9011 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9012 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9013 # Insert the option either (1) after the last *FLAGS variable, or
9014 # (2) before a word containing "conftest.", or (3) at the end.
9015 # Note that $ac_compile itself does not contain backslashes and begins
9016 # with a dollar sign (not a hyphen), so the echo should work correctly.
9017 # The option is referenced via a variable to avoid confusing sed.
9018 lt_compile
=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>conftest.err
)
9025 cat conftest.err
>&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 if (exit $ac_status) && test -s "$ac_outfile"; then
9028 # The compiler can only warn and ignore the option if not recognized
9029 # So say no if there are warnings other than the usual output.
9030 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9031 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9032 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9033 lt_cv_prog_compiler_pic_works
=yes
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9040 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9042 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9043 case $lt_prog_compiler_pic in
9045 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9048 lt_prog_compiler_pic
=
9049 lt_prog_compiler_can_build_shared
=no
9060 # Check to make sure the static flag actually works.
9062 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9064 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9065 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9066 $as_echo_n "(cached) " >&6
9068 lt_cv_prog_compiler_static_works
=no
9069 save_LDFLAGS
="$LDFLAGS"
9070 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9071 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9072 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9073 # The linker can only warn and ignore the option if not recognized
9074 # So say no if there are warnings
9075 if test -s conftest.err
; then
9076 # Append any errors to the config.log.
9077 cat conftest.err
1>&5
9078 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9079 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9080 if diff conftest.exp conftest.er2
>/dev
/null
; then
9081 lt_cv_prog_compiler_static_works
=yes
9084 lt_cv_prog_compiler_static_works
=yes
9088 LDFLAGS
="$save_LDFLAGS"
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9092 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9094 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9097 lt_prog_compiler_static
=
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9107 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9108 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9109 $as_echo_n "(cached) " >&6
9111 lt_cv_prog_compiler_c_o
=no
9112 $RM -r conftest
2>/dev
/null
9116 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9118 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9119 # Insert the option either (1) after the last *FLAGS variable, or
9120 # (2) before a word containing "conftest.", or (3) at the end.
9121 # Note that $ac_compile itself does not contain backslashes and begins
9122 # with a dollar sign (not a hyphen), so the echo should work correctly.
9123 lt_compile
=`echo "$ac_compile" | $SED \
9124 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9126 -e 's:$: $lt_compiler_flag:'`
9127 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9128 (eval "$lt_compile" 2>out
/conftest.err
)
9130 cat out
/conftest.err
>&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9134 # The compiler can only warn and ignore the option if not recognized
9135 # So say no if there are warnings
9136 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9137 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9138 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9139 lt_cv_prog_compiler_c_o
=yes
9144 # SGI C++ compiler will create directory out/ii_files/ for
9145 # template instantiation
9146 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9147 $RM out
/* && rmdir out
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9154 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9162 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9163 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9164 $as_echo_n "(cached) " >&6
9166 lt_cv_prog_compiler_c_o
=no
9167 $RM -r conftest
2>/dev
/null
9171 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9173 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9174 # Insert the option either (1) after the last *FLAGS variable, or
9175 # (2) before a word containing "conftest.", or (3) at the end.
9176 # Note that $ac_compile itself does not contain backslashes and begins
9177 # with a dollar sign (not a hyphen), so the echo should work correctly.
9178 lt_compile
=`echo "$ac_compile" | $SED \
9179 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9180 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9181 -e 's:$: $lt_compiler_flag:'`
9182 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9183 (eval "$lt_compile" 2>out
/conftest.err
)
9185 cat out
/conftest.err
>&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9189 # The compiler can only warn and ignore the option if not recognized
9190 # So say no if there are warnings
9191 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9192 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9193 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9194 lt_cv_prog_compiler_c_o
=yes
9199 # SGI C++ compiler will create directory out/ii_files/ for
9200 # template instantiation
9201 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9202 $RM out
/* && rmdir out
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9209 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9214 hard_links
="nottested"
9215 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9216 # do not overwrite the value of need_locks provided by the user
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9218 $as_echo_n "checking if we can lock with hard links... " >&6; }
9221 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9223 ln conftest.a conftest.b
2>&5 || hard_links
=no
9224 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9226 $as_echo "$hard_links" >&6; }
9227 if test "$hard_links" = no
; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9229 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9242 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9245 allow_undefined_flag
=
9246 always_export_symbols
=no
9248 archive_expsym_cmds
=
9249 compiler_needs_object
=no
9250 enable_shared_with_static_runtimes
=no
9251 export_dynamic_flag_spec
=
9252 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9253 hardcode_automatic
=no
9255 hardcode_direct_absolute
=no
9256 hardcode_libdir_flag_spec
=
9257 hardcode_libdir_flag_spec_ld
=
9258 hardcode_libdir_separator
=
9260 hardcode_shlibpath_var
=unsupported
9262 link_all_deplibs
=unknown
9265 old_archive_from_new_cmds
=
9266 old_archive_from_expsyms_cmds
=
9267 thread_safe_flag_spec
=
9268 whole_archive_flag_spec
=
9269 # include_expsyms should be a list of space-separated symbols to be *always*
9270 # included in the symbol list
9272 # exclude_expsyms can be an extended regexp of symbols to exclude
9273 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9274 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9275 # as well as any symbol that contains `d'.
9276 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9277 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9278 # platforms (ab)use it in PIC code, but their linkers get confused if
9279 # the symbol is explicitly referenced. Since portable code cannot
9280 # rely on this symbol name, it's probably fine to never include it in
9281 # preloaded symbol tables.
9282 # Exclude shared library initialization/finalization symbols.
9283 extract_expsyms_cmds
=
9286 cygwin
* | mingw
* | pw32
* | cegcc
*)
9287 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9288 # When not using gcc, we currently assume that we are using
9289 # Microsoft Visual C++.
9290 if test "$GCC" != yes; then
9295 # we just hope/assume this is gcc and not c89 (= MSVC++)
9305 # On some targets, GNU ld is compatible enough with the native linker
9306 # that we're better off using the native interface for both.
9307 lt_use_gnu_ld_interface
=no
9308 if test "$with_gnu_ld" = yes; then
9311 # The AIX port of GNU ld has always aspired to compatibility
9312 # with the native linker. However, as the warning in the GNU ld
9313 # block says, versions before 2.19.5* couldn't really create working
9314 # shared libraries, regardless of the interface used.
9315 case `$LD -v 2>&1` in
9316 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9317 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9318 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9320 lt_use_gnu_ld_interface
=yes
9325 lt_use_gnu_ld_interface
=yes
9330 if test "$lt_use_gnu_ld_interface" = yes; then
9331 # If archive_cmds runs LD, not CC, wlarc should be empty
9334 # Set some defaults for GNU ld with shared library support. These
9335 # are reset later if shared libraries are not supported. Putting them
9336 # here allows them to be overridden if necessary.
9337 runpath_var
=LD_RUN_PATH
9338 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9339 export_dynamic_flag_spec
='${wl}--export-dynamic'
9340 # ancient GNU ld didn't support --whole-archive et. al.
9341 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9342 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9344 whole_archive_flag_spec
=
9346 supports_anon_versioning
=no
9347 case `$LD -v 2>&1` in
9348 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9349 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9350 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9351 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9352 *\
2.11.
*) ;; # other 2.11 versions
9353 *) supports_anon_versioning
=yes ;;
9356 # See if GNU ld supports shared libraries.
9359 # On AIX/PPC, the GNU linker is very broken
9360 if test "$host_cpu" != ia64
; then
9364 *** Warning: the GNU linker, at least up to release 2.19, is reported
9365 *** to be unable to reliably create shared libraries on AIX.
9366 *** Therefore, libtool is disabling shared libraries support. If you
9367 *** really care for shared libraries, you may want to install binutils
9368 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9369 *** You will then need to restart the configuration process.
9378 # see comment about AmigaOS4 .so support
9379 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380 archive_expsym_cmds
=''
9383 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)'
9384 hardcode_libdir_flag_spec
='-L$libdir'
9385 hardcode_minus_L
=yes
9391 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9392 allow_undefined_flag
=unsupported
9393 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9394 # support --undefined. This deserves some investigation. FIXME
9395 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 cygwin
* | mingw
* | pw32
* | cegcc
*)
9402 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9403 # as there is no search path for DLLs.
9404 hardcode_libdir_flag_spec
='-L$libdir'
9405 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9406 allow_undefined_flag
=unsupported
9407 always_export_symbols
=no
9408 enable_shared_with_static_runtimes
=yes
9409 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9411 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9412 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9413 # If the export-symbols file already is a .def file (1st line
9414 # is EXPORTS), use it as is; otherwise, prepend...
9415 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9416 cp $export_symbols $output_objdir/$soname.def;
9418 echo EXPORTS > $output_objdir/$soname.def;
9419 cat $export_symbols >> $output_objdir/$soname.def;
9421 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9428 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 link_all_deplibs
=yes
9434 hardcode_shlibpath_var
=no
9435 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9436 export_dynamic_flag_spec
='${wl}-E'
9437 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9438 # Instead, shared libraries are loaded at an image base (0x10000000 by
9439 # default) and relocated if they conflict, which is a slow very memory
9440 # consuming and fragmenting process. To avoid this, we pick a random,
9441 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9442 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9443 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9444 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'
9447 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9449 if test "$host_os" = linux-dietlibc
; then
9450 case $cc_basename in
9451 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9454 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9455 && test "$tmp_diet" = no
9458 tmp_sharedflag
='-shared'
9459 case $cc_basename,$host_cpu in
9460 pgcc
*) # Portland Group C compiler
9461 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'
9462 tmp_addflag
=' $pic_flag'
9464 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9465 # Portland Group f77 and f90 compilers
9466 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'
9467 tmp_addflag
=' $pic_flag -Mnomain' ;;
9468 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9469 tmp_addflag
=' -i_dynamic' ;;
9470 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9471 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9472 ifc
* | ifort
*) # Intel Fortran compiler
9473 tmp_addflag
=' -nofor_main' ;;
9474 lf95
*) # Lahey Fortran 8.1
9475 whole_archive_flag_spec
=
9476 tmp_sharedflag
='--shared' ;;
9477 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9478 tmp_sharedflag
='-qmkshrobj'
9480 nvcc
*) # Cuda Compiler Driver 2.2
9481 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'
9482 compiler_needs_object
=yes
9485 case `$CC -V 2>&1 | sed 5q` in
9486 *Sun\ C
*) # Sun C 5.9
9487 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'
9488 compiler_needs_object
=yes
9489 tmp_sharedflag
='-G' ;;
9490 *Sun\ F
*) # Sun Fortran 8.3
9491 tmp_sharedflag
='-G' ;;
9493 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9495 if test "x$supports_anon_versioning" = xyes
; then
9496 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9497 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9498 echo "local: *; };" >> $output_objdir/$libname.ver~
9499 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9502 case $cc_basename in
9503 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9504 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9505 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9506 hardcode_libdir_flag_spec
=
9507 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9508 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9509 if test "x$supports_anon_versioning" = xyes
; then
9510 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9511 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9512 echo "local: *; };" >> $output_objdir/$libname.ver~
9513 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9523 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9524 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9527 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9528 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9533 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9537 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9538 *** create shared libraries on Solaris systems. Therefore, libtool
9539 *** is disabling shared libraries support. We urge you to upgrade GNU
9540 *** binutils to release 2.9.1 or newer. Another option is to modify
9541 *** your PATH or compiler configuration so that the native linker is
9542 *** used, and then restart.
9545 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9546 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9547 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9553 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9554 case `$LD -v 2>&1` in
9555 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9559 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9560 *** reliably create shared libraries on SCO systems. Therefore, libtool
9561 *** is disabling shared libraries support. We urge you to upgrade GNU
9562 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9563 *** your PATH or compiler configuration so that the native linker is
9564 *** used, and then restart.
9569 # For security reasons, it is highly recommended that you always
9570 # use absolute paths for naming shared libraries, and exclude the
9571 # DT_RUNPATH tag from executables and libraries. But doing so
9572 # requires that you compile everything twice, which is a pain.
9573 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9574 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9575 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9576 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9585 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9588 hardcode_shlibpath_var
=no
9592 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9593 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9594 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9601 if test "$ld_shlibs" = no
; then
9603 hardcode_libdir_flag_spec
=
9604 export_dynamic_flag_spec
=
9605 whole_archive_flag_spec
=
9608 # PORTME fill in a description of your system's linker (not GNU ld)
9611 allow_undefined_flag
=unsupported
9612 always_export_symbols
=yes
9613 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'
9614 # Note: this linker hardcodes the directories in LIBPATH if there
9615 # are no directories specified by -L.
9616 hardcode_minus_L
=yes
9617 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9618 # Neither direct hardcoding nor static linking is supported with a
9620 hardcode_direct
=unsupported
9625 if test "$host_cpu" = ia64
; then
9626 # On IA64, the linker does run time linking by default, so we don't
9627 # have to do anything special.
9628 aix_use_runtimelinking
=no
9629 exp_sym_flag
='-Bexport'
9632 # If we're using GNU nm, then we don't want the "-C" option.
9633 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9634 # Also, AIX nm treats weak defined symbols like other global
9635 # defined symbols, whereas GNU nm marks them as "W".
9636 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9637 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'
9639 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'
9641 aix_use_runtimelinking
=no
9643 # Test if we are trying to use run time linking or normal
9644 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9645 # need to do runtime linking.
9646 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9647 for ld_flag
in $LDFLAGS; do
9648 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9649 aix_use_runtimelinking
=yes
9656 exp_sym_flag
='-bexport'
9657 no_entry_flag
='-bnoentry'
9660 # When large executables or shared objects are built, AIX ld can
9661 # have problems creating the table of contents. If linking a library
9662 # or program results in "error TOC overflow" add -mminimal-toc to
9663 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9664 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9668 hardcode_direct_absolute
=yes
9669 hardcode_libdir_separator
=':'
9670 link_all_deplibs
=yes
9671 file_list_spec
='${wl}-f,'
9673 if test "$GCC" = yes; then
9674 case $host_os in aix4.
[012]|aix4.
[012].
*)
9675 # We only want to do this on AIX 4.2 and lower, the check
9676 # below for broken collect2 doesn't work under 4.3+
9677 collect2name
=`${CC} -print-prog-name=collect2`
9678 if test -f "$collect2name" &&
9679 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9681 # We have reworked collect2
9684 # We have old collect2
9685 hardcode_direct
=unsupported
9686 # It fails to find uninstalled libraries when the uninstalled
9687 # path is not listed in the libpath. Setting hardcode_minus_L
9688 # to unsupported forces relinking
9689 hardcode_minus_L
=yes
9690 hardcode_libdir_flag_spec
='-L$libdir'
9691 hardcode_libdir_separator
=
9695 shared_flag
='-shared'
9696 if test "$aix_use_runtimelinking" = yes; then
9697 shared_flag
="$shared_flag "'${wl}-G'
9701 if test "$host_cpu" = ia64
; then
9702 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9703 # chokes on -Wl,-G. The following line is correct:
9706 if test "$aix_use_runtimelinking" = yes; then
9707 shared_flag
='${wl}-G'
9709 shared_flag
='${wl}-bM:SRE'
9714 export_dynamic_flag_spec
='${wl}-bexpall'
9715 # It seems that -bexpall does not export symbols beginning with
9716 # underscore (_), so it is better to generate a list of symbols to export.
9717 always_export_symbols
=yes
9718 if test "$aix_use_runtimelinking" = yes; then
9719 # Warning - without using the other runtime loading flags (-brtl),
9720 # -berok will link without error, but may produce a broken library.
9721 allow_undefined_flag
='-berok'
9722 # Determine the default libpath from the value encoded in an
9724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9735 if ac_fn_c_try_link
"$LINENO"; then :
9737 lt_aix_libpath_sed
='
9738 /Import File Strings/,/^$/ {
9744 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9745 # Check for a 64-bit object if we didn't find anything.
9746 if test -z "$aix_libpath"; then
9747 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9750 rm -f core conftest.err conftest.
$ac_objext \
9751 conftest
$ac_exeext conftest.
$ac_ext
9752 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9754 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9755 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"
9757 if test "$host_cpu" = ia64
; then
9758 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9759 allow_undefined_flag
="-z nodefs"
9760 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"
9762 # Determine the default libpath from the value encoded in an
9764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9765 /* end confdefs.h. */
9775 if ac_fn_c_try_link
"$LINENO"; then :
9777 lt_aix_libpath_sed
='
9778 /Import File Strings/,/^$/ {
9784 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9785 # Check for a 64-bit object if we didn't find anything.
9786 if test -z "$aix_libpath"; then
9787 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9790 rm -f core conftest.err conftest.
$ac_objext \
9791 conftest
$ac_exeext conftest.
$ac_ext
9792 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9794 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9795 # Warning - without using the other run time loading flags,
9796 # -berok will link without error, but may produce a broken library.
9797 no_undefined_flag
=' ${wl}-bernotok'
9798 allow_undefined_flag
=' ${wl}-berok'
9799 if test "$with_gnu_ld" = yes; then
9800 # We only use this code for GNU lds that support --whole-archive.
9801 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9803 # Exported symbols can be pulled into shared objects from archives
9804 whole_archive_flag_spec
='$convenience'
9806 archive_cmds_need_lc
=yes
9807 # This is similar to how AIX traditionally builds its shared libraries.
9808 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'
9816 # see comment about AmigaOS4 .so support
9817 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9818 archive_expsym_cmds
=''
9821 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)'
9822 hardcode_libdir_flag_spec
='-L$libdir'
9823 hardcode_minus_L
=yes
9829 export_dynamic_flag_spec
=-rdynamic
9832 cygwin
* | mingw
* | pw32
* | cegcc
*)
9833 # When not using gcc, we currently assume that we are using
9834 # Microsoft Visual C++.
9835 # hardcode_libdir_flag_spec is actually meaningless, as there is
9836 # no search path for DLLs.
9837 hardcode_libdir_flag_spec
=' '
9838 allow_undefined_flag
=unsupported
9839 # Tell ltmain to make .lib files, not .a files.
9841 # Tell ltmain to make .dll files, not .so files.
9843 # FIXME: Setting linknames here is a bad hack.
9844 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9845 # The linker will automatically build a .lib file if we build a DLL.
9846 old_archive_from_new_cmds
='true'
9847 # FIXME: Should let the user specify the lib program.
9848 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9849 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9850 enable_shared_with_static_runtimes
=yes
9853 darwin
* | rhapsody
*)
9856 archive_cmds_need_lc
=no
9858 hardcode_automatic
=yes
9859 hardcode_shlibpath_var
=unsupported
9860 if test "$lt_cv_ld_force_load" = "yes"; then
9861 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\"`'
9863 whole_archive_flag_spec
=''
9865 link_all_deplibs
=yes
9866 allow_undefined_flag
="$_lt_dar_allow_undefined"
9867 case $cc_basename in
9868 ifort
*) _lt_dar_can_shared
=yes ;;
9869 *) _lt_dar_can_shared
=$GCC ;;
9871 if test "$_lt_dar_can_shared" = "yes"; then
9872 output_verbose_link_cmd
=func_echo_all
9873 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9874 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9875 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}"
9876 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}"
9885 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886 hardcode_libdir_flag_spec
='-L$libdir'
9887 hardcode_shlibpath_var
=no
9890 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9891 # support. Future versions do this automatically, but an explicit c++rt0.o
9892 # does not break anything, and helps significantly (at the cost of a little
9895 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9896 hardcode_libdir_flag_spec
='-R$libdir'
9898 hardcode_shlibpath_var
=no
9901 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9903 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9905 hardcode_minus_L
=yes
9906 hardcode_shlibpath_var
=no
9909 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9910 freebsd
* | dragonfly
*)
9911 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9912 hardcode_libdir_flag_spec
='-R$libdir'
9914 hardcode_shlibpath_var
=no
9918 if test "$GCC" = yes; then
9919 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'
9921 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'
9923 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9924 hardcode_libdir_separator
=:
9927 # hardcode_minus_L: Not really in the search PATH,
9928 # but as the default location of the library.
9929 hardcode_minus_L
=yes
9930 export_dynamic_flag_spec
='${wl}-E'
9934 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9935 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9937 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9939 if test "$with_gnu_ld" = no
; then
9940 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9941 hardcode_libdir_flag_spec_ld
='+b $libdir'
9942 hardcode_libdir_separator
=:
9944 hardcode_direct_absolute
=yes
9945 export_dynamic_flag_spec
='${wl}-E'
9946 # hardcode_minus_L: Not really in the search PATH,
9947 # but as the default location of the library.
9948 hardcode_minus_L
=yes
9953 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9956 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9971 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9975 # Older versions of the 11.00 compiler do not understand -b yet
9976 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9978 $as_echo_n "checking if $CC understands -b... " >&6; }
9979 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9980 $as_echo_n "(cached) " >&6
9982 lt_cv_prog_compiler__b
=no
9983 save_LDFLAGS
="$LDFLAGS"
9984 LDFLAGS
="$LDFLAGS -b"
9985 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9986 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9987 # The linker can only warn and ignore the option if not recognized
9988 # So say no if there are warnings
9989 if test -s conftest.err
; then
9990 # Append any errors to the config.log.
9991 cat conftest.err
1>&5
9992 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9993 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9994 if diff conftest.exp conftest.er2
>/dev
/null
; then
9995 lt_cv_prog_compiler__b
=yes
9998 lt_cv_prog_compiler__b
=yes
10002 LDFLAGS
="$save_LDFLAGS"
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10006 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10008 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10009 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10017 if test "$with_gnu_ld" = no
; then
10018 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10019 hardcode_libdir_separator
=:
10024 hardcode_shlibpath_var
=no
10027 hardcode_direct
=yes
10028 hardcode_direct_absolute
=yes
10029 export_dynamic_flag_spec
='${wl}-E'
10031 # hardcode_minus_L: Not really in the search PATH,
10032 # but as the default location of the library.
10033 hardcode_minus_L
=yes
10039 irix5
* | irix6
* | nonstopux
*)
10040 if test "$GCC" = yes; then
10041 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'
10042 # Try to use the -exported_symbol ld option, if it does not
10043 # work, assume that -exports_file does not work either and
10044 # implicitly export all symbols.
10045 save_LDFLAGS
="$LDFLAGS"
10046 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10048 /* end confdefs.h. */
10051 if ac_fn_c_try_link
"$LINENO"; then :
10052 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'
10055 rm -f core conftest.err conftest.
$ac_objext \
10056 conftest
$ac_exeext conftest.
$ac_ext
10057 LDFLAGS
="$save_LDFLAGS"
10059 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'
10060 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'
10062 archive_cmds_need_lc
='no'
10063 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10064 hardcode_libdir_separator
=:
10066 link_all_deplibs
=yes
10070 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10071 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10073 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10075 hardcode_libdir_flag_spec
='-R$libdir'
10076 hardcode_direct
=yes
10077 hardcode_shlibpath_var
=no
10081 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10082 hardcode_direct
=yes
10083 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10084 hardcode_libdir_separator
=:
10085 hardcode_shlibpath_var
=no
10092 if test -f /usr
/libexec
/ld.so
; then
10093 hardcode_direct
=yes
10094 hardcode_shlibpath_var
=no
10095 hardcode_direct_absolute
=yes
10096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10097 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10099 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10100 export_dynamic_flag_spec
='${wl}-E'
10103 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10104 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10105 hardcode_libdir_flag_spec
='-R$libdir'
10108 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10109 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10119 hardcode_libdir_flag_spec
='-L$libdir'
10120 hardcode_minus_L
=yes
10121 allow_undefined_flag
=unsupported
10122 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'
10123 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10127 if test "$GCC" = yes; then
10128 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10129 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'
10131 allow_undefined_flag
=' -expect_unresolved \*'
10132 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'
10134 archive_cmds_need_lc
='no'
10135 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10136 hardcode_libdir_separator
=:
10139 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10140 if test "$GCC" = yes; then
10141 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10142 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'
10143 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10145 allow_undefined_flag
=' -expect_unresolved \*'
10146 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'
10147 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~
10148 $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'
10150 # Both c and cxx compiler support -rpath directly
10151 hardcode_libdir_flag_spec
='-rpath $libdir'
10153 archive_cmds_need_lc
='no'
10154 hardcode_libdir_separator
=:
10158 no_undefined_flag
=' -z defs'
10159 if test "$GCC" = yes; then
10161 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10163 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10165 case `$CC -V 2>&1` in
10168 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10169 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10170 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10174 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10175 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10176 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10180 hardcode_libdir_flag_spec
='-R$libdir'
10181 hardcode_shlibpath_var
=no
10183 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10185 # The compiler driver will combine and reorder linker options,
10186 # but understands `-z linker_flag'. GCC discards it without `$wl',
10187 # but is careful enough not to reorder.
10188 # Supported since Solaris 2.6 (maybe 2.5.1?)
10189 if test "$GCC" = yes; then
10190 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10192 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10196 link_all_deplibs
=yes
10200 if test "x$host_vendor" = xsequent
; then
10201 # Use $CC to link under sequent, because it throws in some extra .o
10202 # files that make .init and .fini sections work.
10203 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10205 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10207 hardcode_libdir_flag_spec
='-L$libdir'
10208 hardcode_direct
=yes
10209 hardcode_minus_L
=yes
10210 hardcode_shlibpath_var
=no
10214 case $host_vendor in
10216 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_direct
=yes # is this really true???
10220 ## LD is ld it makes a PLAMLIB
10221 ## CC just makes a GrossModule.
10222 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10223 reload_cmds
='$CC -r -o $output$reload_objs'
10227 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10228 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10231 runpath_var
='LD_RUN_PATH'
10232 hardcode_shlibpath_var
=no
10236 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10237 hardcode_shlibpath_var
=no
10238 export_dynamic_flag_spec
='-Bexport'
10242 if test -d /usr
/nec
; then
10243 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10244 hardcode_shlibpath_var
=no
10245 runpath_var
=LD_RUN_PATH
10246 hardcode_runpath_var
=yes
10251 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10252 no_undefined_flag
='${wl}-z,text'
10253 archive_cmds_need_lc
=no
10254 hardcode_shlibpath_var
=no
10255 runpath_var
='LD_RUN_PATH'
10257 if test "$GCC" = yes; then
10258 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10259 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10262 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10266 sysv5
* | sco3.2v5
* | sco5v6
*)
10267 # Note: We can NOT use -z defs as we might desire, because we do not
10268 # link with -lc, and that would cause any symbols used from libc to
10269 # always be unresolved, which means just about no library would
10270 # ever link correctly. If we're not using GNU ld we use -z text
10271 # though, which does catch some bad symbols but isn't as heavy-handed
10273 no_undefined_flag
='${wl}-z,text'
10274 allow_undefined_flag
='${wl}-z,nodefs'
10275 archive_cmds_need_lc
=no
10276 hardcode_shlibpath_var
=no
10277 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10278 hardcode_libdir_separator
=':'
10279 link_all_deplibs
=yes
10280 export_dynamic_flag_spec
='${wl}-Bexport'
10281 runpath_var
='LD_RUN_PATH'
10283 if test "$GCC" = yes; then
10284 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10285 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10287 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10288 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10293 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10294 hardcode_libdir_flag_spec
='-L$libdir'
10295 hardcode_shlibpath_var
=no
10303 if test x
$host_vendor = xsni
; then
10305 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10306 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10313 $as_echo "$ld_shlibs" >&6; }
10314 test "$ld_shlibs" = no
&& can_build_shared
=no
10316 with_gnu_ld
=$with_gnu_ld
10333 # Do we need to explicitly link libc?
10335 case "x$archive_cmds_need_lc" in
10337 # Assume -lc should be added
10338 archive_cmds_need_lc
=yes
10340 if test "$enable_shared" = yes && test "$GCC" = yes; then
10341 case $archive_cmds in
10343 # FIXME: we may have to deal with multi-command sequences.
10346 # Test whether the compiler implicitly links with -lc since on some
10347 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10348 # to ld, don't add -lc before -lgcc.
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10350 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10351 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10352 $as_echo_n "(cached) " >&6
10355 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10358 (eval $ac_compile) 2>&5
10360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10361 test $ac_status = 0; } 2>conftest.err
; then
10364 libobjs
=conftest.
$ac_objext
10366 wl
=$lt_prog_compiler_wl
10367 pic_flag
=$lt_prog_compiler_pic
10373 lt_save_allow_undefined_flag
=$allow_undefined_flag
10374 allow_undefined_flag
=
10375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10376 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10379 test $ac_status = 0; }
10381 lt_cv_archive_cmds_need_lc
=no
10383 lt_cv_archive_cmds_need_lc
=yes
10385 allow_undefined_flag
=$lt_save_allow_undefined_flag
10387 cat conftest.err
1>&5
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10393 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10394 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10558 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10560 if test "$GCC" = yes; then
10562 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10563 *) lt_awk_arg
="/^libraries:/" ;;
10566 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10567 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10569 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10570 case $lt_search_path_spec in
10572 # if the path contains ";" then we assume it to be the separator
10573 # otherwise default to the standard path separator (i.e. ":") - it is
10574 # assumed that no part of a normal pathname contains ";" but that should
10575 # okay in the real world where ";" in dirpaths is itself problematic.
10576 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10579 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10582 # Ok, now we have the path, separated by spaces, we can step through it
10583 # and add multilib dir if necessary.
10584 lt_tmp_lt_search_path_spec
=
10585 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10586 for lt_sys_path
in $lt_search_path_spec; do
10587 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10588 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10590 test -d "$lt_sys_path" && \
10591 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10594 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10595 BEGIN {RS=" "; FS="/|\n";} {
10598 for (lt_i = NF; lt_i > 0; lt_i--) {
10599 if ($lt_i != "" && $lt_i != ".") {
10600 if ($lt_i == "..") {
10603 if (lt_count == 0) {
10604 lt_foo="/" $lt_i lt_foo;
10611 if (lt_foo != "") { lt_freq[lt_foo]++; }
10612 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10614 # AWK program above erroneously prepends '/' to C:/dos/paths
10617 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10618 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10620 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10622 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10624 library_names_spec
=
10625 libname_spec
='lib$name'
10629 postuninstall_cmds
=
10633 shlibpath_overrides_runpath
=unknown
10635 dynamic_linker
="$host_os ld.so"
10636 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10637 need_lib_prefix
=unknown
10638 hardcode_into_libs
=no
10640 # when you set need_version to no, make sure it does not cause -set_version
10641 # flags to be left without arguments
10642 need_version
=unknown
10647 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10648 shlibpath_var
=LIBPATH
10650 # AIX 3 has no versioning support, so we append a major version to the name.
10651 soname_spec
='${libname}${release}${shared_ext}$major'
10658 hardcode_into_libs
=yes
10659 if test "$host_cpu" = ia64
; then
10660 # AIX 5 supports IA64
10661 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10662 shlibpath_var
=LD_LIBRARY_PATH
10664 # With GCC up to 2.95.x, collect2 would create an import file
10665 # for dependence libraries. The import file would start with
10666 # the line `#! .'. This would cause the generated library to
10667 # depend on `.', always an invalid library. This was fixed in
10668 # development snapshots of GCC prior to 3.0.
10670 aix4 | aix4.
[01] | aix4.
[01].
*)
10671 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10673 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10676 can_build_shared
=no
10680 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10681 # soname into executable. Probably we can add versioning support to
10682 # collect2, so additional links can be useful in future.
10683 if test "$aix_use_runtimelinking" = yes; then
10684 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10685 # instead of lib<name>.a to let people know that these are not
10686 # typical AIX shared libraries.
10687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10689 # We preserve .a as extension for shared libraries through AIX4.2
10690 # and later when we are not doing run time linking.
10691 library_names_spec
='${libname}${release}.a $libname.a'
10692 soname_spec
='${libname}${release}${shared_ext}$major'
10694 shlibpath_var
=LIBPATH
10701 # Since July 2007 AmigaOS4 officially supports .so libraries.
10702 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10706 library_names_spec
='$libname.ixlibrary $libname.a'
10707 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10708 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'
10714 library_names_spec
='${libname}${shared_ext}'
10715 dynamic_linker
="$host_os ld.so"
10716 shlibpath_var
=LIBRARY_PATH
10722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10723 soname_spec
='${libname}${release}${shared_ext}$major'
10724 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10725 shlibpath_var
=LD_LIBRARY_PATH
10726 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10727 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10728 # the default ld.so.conf also contains /usr/contrib/lib and
10729 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10730 # libtool to hard-code these into programs
10733 cygwin
* | mingw
* | pw32
* | cegcc
*)
10734 version_type
=windows
10739 case $GCC,$host_os in
10740 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10741 library_names_spec
='$libname.dll.a'
10742 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10743 postinstall_cmds
='base_file=`basename \${file}`~
10744 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10745 dldir=$destdir/`dirname \$dlpath`~
10746 test -d \$dldir || mkdir -p \$dldir~
10747 $install_prog $dir/$dlname \$dldir/$dlname~
10748 chmod a+x \$dldir/$dlname~
10749 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10750 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10752 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10753 dlpath=$dir/\$dldll~
10755 shlibpath_overrides_runpath
=yes
10759 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10760 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10762 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10765 # MinGW DLLs use traditional 'lib' prefix
10766 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10769 # pw32 DLLs use 'pw' prefix rather than 'lib'
10770 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10776 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10779 dynamic_linker
='Win32 ld.exe'
10780 # FIXME: first we should search . and the directory the executable is in
10784 darwin
* | rhapsody
*)
10785 dynamic_linker
="$host_os dyld"
10786 version_type
=darwin
10789 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10790 soname_spec
='${libname}${release}${major}$shared_ext'
10791 shlibpath_overrides_runpath
=yes
10792 shlibpath_var
=DYLD_LIBRARY_PATH
10793 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10795 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10796 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10804 soname_spec
='${libname}${release}${shared_ext}$major'
10805 shlibpath_var
=LD_LIBRARY_PATH
10808 freebsd
* | dragonfly
*)
10809 # DragonFly does not have aout. When/if they implement a new
10810 # versioning mechanism, adjust this.
10811 if test -x /usr
/bin
/objformat
; then
10812 objformat
=`/usr/bin/objformat`
10815 freebsd
[23].
*) objformat
=aout
;;
10816 *) objformat
=elf
;;
10819 version_type
=freebsd-
$objformat
10820 case $version_type in
10822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10827 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10831 shlibpath_var
=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath
=yes
10836 freebsd3.
[01]* | freebsdelf3.
[01]*)
10837 shlibpath_overrides_runpath
=yes
10838 hardcode_into_libs
=yes
10840 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10841 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10842 shlibpath_overrides_runpath
=no
10843 hardcode_into_libs
=yes
10845 *) # from 4.6 on, and DragonFly
10846 shlibpath_overrides_runpath
=yes
10847 hardcode_into_libs
=yes
10856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10857 soname_spec
='${libname}${release}${shared_ext}$major'
10858 shlibpath_var
=LD_LIBRARY_PATH
10859 hardcode_into_libs
=yes
10866 dynamic_linker
="$host_os runtime_loader"
10867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10868 soname_spec
='${libname}${release}${shared_ext}$major'
10869 shlibpath_var
=LIBRARY_PATH
10870 shlibpath_overrides_runpath
=yes
10871 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10872 hardcode_into_libs
=yes
10875 hpux9
* | hpux10
* | hpux11
*)
10876 # Give a soname corresponding to the major version so that dld.sl refuses to
10877 # link against other versions.
10884 hardcode_into_libs
=yes
10885 dynamic_linker
="$host_os dld.so"
10886 shlibpath_var
=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889 soname_spec
='${libname}${release}${shared_ext}$major'
10890 if test "X$HPUX_IA64_MODE" = X32
; then
10891 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10893 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10895 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10899 hardcode_into_libs
=yes
10900 dynamic_linker
="$host_os dld.sl"
10901 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10902 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904 soname_spec
='${libname}${release}${shared_ext}$major'
10905 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10906 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10910 dynamic_linker
="$host_os dld.sl"
10911 shlibpath_var
=SHLIB_PATH
10912 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10914 soname_spec
='${libname}${release}${shared_ext}$major'
10917 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10918 postinstall_cmds
='chmod 555 $lib'
10919 # or fails outright, so override atomically:
10920 install_override_mode
=555
10927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10928 soname_spec
='${libname}${release}${shared_ext}$major'
10929 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10930 shlibpath_var
=LD_LIBRARY_PATH
10931 shlibpath_overrides_runpath
=no
10932 hardcode_into_libs
=yes
10935 irix5
* | irix6
* | nonstopux
*)
10937 nonstopux
*) version_type
=nonstopux
;;
10939 if test "$lt_cv_prog_gnu_ld" = yes; then
10947 soname_spec
='${libname}${release}${shared_ext}$major'
10948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10950 irix5
* | nonstopux
*)
10951 libsuff
= shlibsuff
=
10954 case $LD in # libtool.m4 will add one of these switches to LD
10955 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10956 libsuff
= shlibsuff
= libmagic
=32-bit;;
10957 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10958 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10959 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10960 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10961 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10965 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10966 shlibpath_overrides_runpath
=no
10967 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10968 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10969 hardcode_into_libs
=yes
10972 # No shared lib support for Linux oldld, aout, or coff.
10973 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10977 # This must be Linux ELF.
10978 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983 soname_spec
='${libname}${release}${shared_ext}$major'
10984 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10985 shlibpath_var
=LD_LIBRARY_PATH
10986 shlibpath_overrides_runpath
=no
10988 # Some binutils ld are patched to set DT_RUNPATH
10989 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10990 $as_echo_n "(cached) " >&6
10992 lt_cv_shlibpath_overrides_runpath
=no
10993 save_LDFLAGS
=$LDFLAGS
10994 save_libdir
=$libdir
10995 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10996 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
11008 if ac_fn_c_try_link
"$LINENO"; then :
11009 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11010 lt_cv_shlibpath_overrides_runpath
=yes
11013 rm -f core conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LDFLAGS
=$save_LDFLAGS
11016 libdir
=$save_libdir
11020 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11022 # This implies no fast_install, which is unacceptable.
11023 # Some rework will be needed to allow for fast_install
11024 # before this can be enabled.
11025 hardcode_into_libs
=yes
11027 # Append ld.so.conf contents to the search path
11028 if test -f /etc
/ld.so.conf
; then
11029 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' ' '`
11030 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11033 # We used to test for /lib/ld.so.1 and disable shared libraries on
11034 # powerpc, because MkLinux only supported shared libraries with the
11035 # GNU dynamic linker. Since this was broken with cross compilers,
11036 # most powerpc-linux boxes support dynamic linking these days and
11037 # people can always --disable-shared, the test was removed, and we
11038 # assume the GNU/Linux dynamic linker is in use.
11039 dynamic_linker
='GNU/Linux ld.so'
11046 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11048 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11049 dynamic_linker
='NetBSD (a.out) ld.so'
11051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11052 soname_spec
='${libname}${release}${shared_ext}$major'
11053 dynamic_linker
='NetBSD ld.elf_so'
11055 shlibpath_var
=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath
=yes
11057 hardcode_into_libs
=yes
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 shlibpath_var
=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath
=yes
11071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec
='${libname}${release}${shared_ext}$major'
11073 shlibpath_var
=LD_LIBRARY_PATH
11074 shlibpath_overrides_runpath
=no
11075 hardcode_into_libs
=yes
11076 dynamic_linker
='ldqnx.so'
11081 sys_lib_dlsearch_path_spec
="/usr/lib"
11083 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11085 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11086 *) need_version
=no
;;
11088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11089 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11090 shlibpath_var
=LD_LIBRARY_PATH
11091 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11093 openbsd2.
[89] | openbsd2.
[89].
*)
11094 shlibpath_overrides_runpath
=no
11097 shlibpath_overrides_runpath
=yes
11101 shlibpath_overrides_runpath
=yes
11106 libname_spec
='$name'
11109 library_names_spec
='$libname${shared_ext} $libname.a'
11110 dynamic_linker
='OS/2 ld.exe'
11111 shlibpath_var
=LIBPATH
11114 osf3
* | osf4
* | osf5
*)
11118 soname_spec
='${libname}${release}${shared_ext}$major'
11119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11120 shlibpath_var
=LD_LIBRARY_PATH
11121 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11122 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134 soname_spec
='${libname}${release}${shared_ext}$major'
11135 shlibpath_var
=LD_LIBRARY_PATH
11136 shlibpath_overrides_runpath
=yes
11137 hardcode_into_libs
=yes
11138 # ldd complains unless libraries are executable
11139 postinstall_cmds
='chmod +x $lib'
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11145 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11146 shlibpath_var
=LD_LIBRARY_PATH
11147 shlibpath_overrides_runpath
=yes
11148 if test "$with_gnu_ld" = yes; then
11156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157 soname_spec
='${libname}${release}${shared_ext}$major'
11158 shlibpath_var
=LD_LIBRARY_PATH
11159 case $host_vendor in
11161 shlibpath_overrides_runpath
=no
11163 runpath_var
=LD_RUN_PATH
11171 shlibpath_overrides_runpath
=no
11172 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11178 if test -d /usr
/nec
;then
11180 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11181 soname_spec
='$libname${shared_ext}.$major'
11182 shlibpath_var
=LD_LIBRARY_PATH
11186 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11187 version_type
=freebsd-elf
11190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11191 soname_spec
='${libname}${release}${shared_ext}$major'
11192 shlibpath_var
=LD_LIBRARY_PATH
11193 shlibpath_overrides_runpath
=yes
11194 hardcode_into_libs
=yes
11195 if test "$with_gnu_ld" = yes; then
11196 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11198 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11201 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11205 sys_lib_dlsearch_path_spec
='/usr/lib'
11209 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 shlibpath_var
=LD_LIBRARY_PATH
11215 shlibpath_overrides_runpath
=no
11216 hardcode_into_libs
=yes
11221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222 soname_spec
='${libname}${release}${shared_ext}$major'
11223 shlibpath_var
=LD_LIBRARY_PATH
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11231 $as_echo "$dynamic_linker" >&6; }
11232 test "$dynamic_linker" = no
&& can_build_shared
=no
11234 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11235 if test "$GCC" = yes; then
11236 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11239 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11240 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11242 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11243 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11338 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11340 if test -n "$hardcode_libdir_flag_spec" ||
11341 test -n "$runpath_var" ||
11342 test "X$hardcode_automatic" = "Xyes" ; then
11344 # We can hardcode non-existent directories.
11345 if test "$hardcode_direct" != no
&&
11346 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11347 # have to relink, otherwise we might link with an installed library
11348 # when we should be linking with a yet-to-be-installed one
11349 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11350 test "$hardcode_minus_L" != no
; then
11351 # Linking always hardcodes the temporary library directory.
11352 hardcode_action
=relink
11354 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11355 hardcode_action
=immediate
11358 # We cannot hardcode anything, or else we can only hardcode existing
11360 hardcode_action
=unsupported
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11363 $as_echo "$hardcode_action" >&6; }
11365 if test "$hardcode_action" = relink ||
11366 test "$inherit_rpath" = yes; then
11367 # Fast installation is not supported
11368 enable_fast_install
=no
11369 elif test "$shlibpath_overrides_runpath" = yes ||
11370 test "$enable_shared" = no
; then
11371 # Fast installation is not necessary
11372 enable_fast_install
=needless
11380 if test "x$enable_dlopen" != xyes
; then
11381 enable_dlopen
=unknown
11382 enable_dlopen_self
=unknown
11383 enable_dlopen_self_static
=unknown
11390 lt_cv_dlopen
="load_add_on"
11392 lt_cv_dlopen_self
=yes
11395 mingw
* | pw32
* | cegcc
*)
11396 lt_cv_dlopen
="LoadLibrary"
11401 lt_cv_dlopen
="dlopen"
11406 # if libdl is installed we need to link against it
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11408 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11409 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11410 $as_echo_n "(cached) " >&6
11412 ac_check_lib_save_LIBS
=$LIBS
11414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11417 /* Override any GCC internal prototype to avoid an error.
11418 Use char because int might match the return type of a GCC
11419 builtin and then its argument prototype would still apply. */
11432 if ac_fn_c_try_link
"$LINENO"; then :
11433 ac_cv_lib_dl_dlopen
=yes
11435 ac_cv_lib_dl_dlopen
=no
11437 rm -f core conftest.err conftest.
$ac_objext \
11438 conftest
$ac_exeext conftest.
$ac_ext
11439 LIBS
=$ac_check_lib_save_LIBS
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11442 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11443 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11444 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11447 lt_cv_dlopen
="dyld"
11449 lt_cv_dlopen_self
=yes
11456 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11457 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11458 lt_cv_dlopen
="shl_load"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11461 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11462 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11463 $as_echo_n "(cached) " >&6
11465 ac_check_lib_save_LIBS
=$LIBS
11467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11480 return shl_load ();
11485 if ac_fn_c_try_link
"$LINENO"; then :
11486 ac_cv_lib_dld_shl_load
=yes
11488 ac_cv_lib_dld_shl_load
=no
11490 rm -f core conftest.err conftest.
$ac_objext \
11491 conftest
$ac_exeext conftest.
$ac_ext
11492 LIBS
=$ac_check_lib_save_LIBS
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11495 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11496 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11497 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11499 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11500 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11501 lt_cv_dlopen
="dlopen"
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11504 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11505 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11506 $as_echo_n "(cached) " >&6
11508 ac_check_lib_save_LIBS
=$LIBS
11510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11528 if ac_fn_c_try_link
"$LINENO"; then :
11529 ac_cv_lib_dl_dlopen
=yes
11531 ac_cv_lib_dl_dlopen
=no
11533 rm -f core conftest.err conftest.
$ac_objext \
11534 conftest
$ac_exeext conftest.
$ac_ext
11535 LIBS
=$ac_check_lib_save_LIBS
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11538 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11539 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11540 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11543 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11544 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11545 $as_echo_n "(cached) " >&6
11547 ac_check_lib_save_LIBS
=$LIBS
11548 LIBS
="-lsvld $LIBS"
11549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11567 if ac_fn_c_try_link
"$LINENO"; then :
11568 ac_cv_lib_svld_dlopen
=yes
11570 ac_cv_lib_svld_dlopen
=no
11572 rm -f core conftest.err conftest.
$ac_objext \
11573 conftest
$ac_exeext conftest.
$ac_ext
11574 LIBS
=$ac_check_lib_save_LIBS
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11577 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11578 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11579 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11582 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11583 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11584 $as_echo_n "(cached) " >&6
11586 ac_check_lib_save_LIBS
=$LIBS
11588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11601 return dld_link ();
11606 if ac_fn_c_try_link
"$LINENO"; then :
11607 ac_cv_lib_dld_dld_link
=yes
11609 ac_cv_lib_dld_dld_link
=no
11611 rm -f core conftest.err conftest.
$ac_objext \
11612 conftest
$ac_exeext conftest.
$ac_ext
11613 LIBS
=$ac_check_lib_save_LIBS
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11616 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11617 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11618 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11639 if test "x$lt_cv_dlopen" != xno
; then
11645 case $lt_cv_dlopen in
11647 save_CPPFLAGS
="$CPPFLAGS"
11648 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11650 save_LDFLAGS
="$LDFLAGS"
11651 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11654 LIBS
="$lt_cv_dlopen_libs $LIBS"
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11657 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11658 if test "${lt_cv_dlopen_self+set}" = set; then :
11659 $as_echo_n "(cached) " >&6
11661 if test "$cross_compiling" = yes; then :
11662 lt_cv_dlopen_self
=cross
11664 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11665 lt_status
=$lt_dlunknown
11666 cat > conftest.
$ac_ext <<_LT_EOF
11667 #line 11667 "configure"
11668 #include "confdefs.h"
11677 # define LT_DLGLOBAL RTLD_GLOBAL
11680 # define LT_DLGLOBAL DL_GLOBAL
11682 # define LT_DLGLOBAL 0
11686 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11687 find out it does not work in some platform. */
11688 #ifndef LT_DLLAZY_OR_NOW
11690 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11693 # define LT_DLLAZY_OR_NOW DL_LAZY
11696 # define LT_DLLAZY_OR_NOW RTLD_NOW
11699 # define LT_DLLAZY_OR_NOW DL_NOW
11701 # define LT_DLLAZY_OR_NOW 0
11708 /* When -fvisbility=hidden is used, assume the code has been annotated
11709 correspondingly for the symbols needed. */
11710 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11711 void fnord () __attribute__((visibility("default")));
11714 void fnord () { int i=42; }
11717 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11718 int status = $lt_dlunknown;
11722 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11725 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11726 else puts (dlerror ());
11728 /* dlclose (self); */
11736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11737 (eval $ac_link) 2>&5
11739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11740 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11741 (.
/conftest
; exit; ) >&5 2>/dev
/null
11743 case x
$lt_status in
11744 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11745 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11746 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11749 # compilation failed
11750 lt_cv_dlopen_self
=no
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11758 $as_echo "$lt_cv_dlopen_self" >&6; }
11760 if test "x$lt_cv_dlopen_self" = xyes
; then
11761 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11763 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11764 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11765 $as_echo_n "(cached) " >&6
11767 if test "$cross_compiling" = yes; then :
11768 lt_cv_dlopen_self_static
=cross
11770 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11771 lt_status
=$lt_dlunknown
11772 cat > conftest.
$ac_ext <<_LT_EOF
11773 #line 11773 "configure"
11774 #include "confdefs.h"
11783 # define LT_DLGLOBAL RTLD_GLOBAL
11786 # define LT_DLGLOBAL DL_GLOBAL
11788 # define LT_DLGLOBAL 0
11792 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11793 find out it does not work in some platform. */
11794 #ifndef LT_DLLAZY_OR_NOW
11796 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11799 # define LT_DLLAZY_OR_NOW DL_LAZY
11802 # define LT_DLLAZY_OR_NOW RTLD_NOW
11805 # define LT_DLLAZY_OR_NOW DL_NOW
11807 # define LT_DLLAZY_OR_NOW 0
11814 /* When -fvisbility=hidden is used, assume the code has been annotated
11815 correspondingly for the symbols needed. */
11816 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11817 void fnord () __attribute__((visibility("default")));
11820 void fnord () { int i=42; }
11823 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11824 int status = $lt_dlunknown;
11828 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11831 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11832 else puts (dlerror ());
11834 /* dlclose (self); */
11842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11843 (eval $ac_link) 2>&5
11845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11846 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11847 (.
/conftest
; exit; ) >&5 2>/dev
/null
11849 case x
$lt_status in
11850 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11851 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11852 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11855 # compilation failed
11856 lt_cv_dlopen_self_static
=no
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11864 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11867 CPPFLAGS
="$save_CPPFLAGS"
11868 LDFLAGS
="$save_LDFLAGS"
11873 case $lt_cv_dlopen_self in
11874 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11875 *) enable_dlopen_self
=unknown
;;
11878 case $lt_cv_dlopen_self_static in
11879 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11880 *) enable_dlopen_self_static
=unknown
;;
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11903 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11904 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11905 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11906 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11908 $as_echo "yes" >&6; }
11910 # FIXME - insert some real tests, host_os isn't really good enough
11913 if test -n "$STRIP" ; then
11914 striplib
="$STRIP -x"
11915 old_striplib
="$STRIP -S"
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11917 $as_echo "yes" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11920 $as_echo "no" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11925 $as_echo "no" >&6; }
11941 # Report which library types will actually be built
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11943 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11945 $as_echo "$can_build_shared" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11948 $as_echo_n "checking whether to build shared libraries... " >&6; }
11949 test "$can_build_shared" = "no" && enable_shared
=no
11951 # On AIX, shared libraries and static libraries use the same namespace, and
11952 # are all built from PIC.
11955 test "$enable_shared" = yes && enable_static
=no
11956 if test -n "$RANLIB"; then
11957 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11958 postinstall_cmds
='$RANLIB $lib'
11963 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11964 test "$enable_shared" = yes && enable_static
=no
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11969 $as_echo "$enable_shared" >&6; }
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11972 $as_echo_n "checking whether to build static libraries... " >&6; }
11973 # Make sure either enable_shared or enable_static is yes.
11974 test "$enable_shared" = yes || enable_static
=yes
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11976 $as_echo "$enable_static" >&6; }
11983 ac_cpp
='$CPP $CPPFLAGS'
11984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12002 ac_config_commands
="$ac_config_commands libtool"
12007 # Only expand once:
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12013 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12014 # Check whether --enable-maintainer-mode was given.
12015 if test "${enable_maintainer_mode+set}" = set; then :
12016 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12018 USE_MAINTAINER_MODE
=no
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12022 $as_echo "$USE_MAINTAINER_MODE" >&6; }
12023 if test $USE_MAINTAINER_MODE = yes; then
12024 MAINTAINER_MODE_TRUE
=
12025 MAINTAINER_MODE_FALSE
='#'
12027 MAINTAINER_MODE_TRUE
='#'
12028 MAINTAINER_MODE_FALSE
=
12031 MAINT
=$MAINTAINER_MODE_TRUE
12035 # For libtool versioning info, format is CURRENT:REVISION:AGE
12036 libtool_VERSION
=1:0:0
12039 # Check header files.
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12041 $as_echo_n "checking for ANSI C header files... " >&6; }
12042 if test "${ac_cv_header_stdc+set}" = set; then :
12043 $as_echo_n "(cached) " >&6
12045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12047 #include <stdlib.h>
12048 #include <stdarg.h>
12049 #include <string.h>
12060 if ac_fn_c_try_compile
"$LINENO"; then :
12061 ac_cv_header_stdc
=yes
12063 ac_cv_header_stdc
=no
12065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12067 if test $ac_cv_header_stdc = yes; then
12068 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12071 #include <string.h>
12074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12075 $EGREP "memchr" >/dev
/null
2>&1; then :
12078 ac_cv_header_stdc
=no
12084 if test $ac_cv_header_stdc = yes; then
12085 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12088 #include <stdlib.h>
12091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12092 $EGREP "free" >/dev
/null
2>&1; then :
12095 ac_cv_header_stdc
=no
12101 if test $ac_cv_header_stdc = yes; then
12102 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12103 if test "$cross_compiling" = yes; then :
12106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12109 #include <stdlib.h>
12110 #if ((' ' & 0x0FF) == 0x020)
12111 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12112 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12114 # define ISLOWER(c) \
12115 (('a' <= (c) && (c) <= 'i') \
12116 || ('j' <= (c) && (c) <= 'r') \
12117 || ('s' <= (c) && (c) <= 'z'))
12118 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12121 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12126 for (i = 0; i < 256; i++)
12127 if (XOR (islower (i), ISLOWER (i))
12128 || toupper (i) != TOUPPER (i))
12133 if ac_fn_c_try_run
"$LINENO"; then :
12136 ac_cv_header_stdc
=no
12138 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12139 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12145 $as_echo "$ac_cv_header_stdc" >&6; }
12146 if test $ac_cv_header_stdc = yes; then
12148 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
12153 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
12154 if test "${gcc_cv_header_string+set}" = set; then :
12155 $as_echo_n "(cached) " >&6
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12159 #include <string.h>
12160 #include <strings.h>
12169 if ac_fn_c_try_compile
"$LINENO"; then :
12170 gcc_cv_header_string
=yes
12172 gcc_cv_header_string
=no
12174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
12177 $as_echo "$gcc_cv_header_string" >&6; }
12178 if test $gcc_cv_header_string = yes; then
12180 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
12186 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12188 acx_cv_header_stdint
=stddef.h
12189 acx_cv_header_stdint_kind
="(already complete)"
12190 for i
in stdint.h
$inttype_headers; do
12191 unset ac_cv_type_uintptr_t
12192 unset ac_cv_type_uintmax_t
12193 unset ac_cv_type_int_least32_t
12194 unset ac_cv_type_int_fast32_t
12195 unset ac_cv_type_uint64_t
12196 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
12197 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
12200 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
12201 acx_cv_header_stdint
=$i
12206 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12209 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
12212 acx_cv_header_stdint_kind
="(mostly complete)"
12215 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
12218 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
12221 acx_cv_header_stdint_kind
="(mostly complete)"
12224 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
12227 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
12230 acx_cv_header_stdint_kind
="(mostly complete)"
12233 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12236 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
12239 acx_cv_header_stdint_kind
="(lacks uint64_t)"
12244 if test "$acx_cv_header_stdint" = stddef.h
; then
12245 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
12246 for i
in stdint.h
$inttype_headers; do
12247 unset ac_cv_type_uintptr_t
12248 unset ac_cv_type_uint32_t
12249 unset ac_cv_type_uint64_t
12250 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
12251 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
12254 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
12255 acx_cv_header_stdint
=$i
12260 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
12263 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
12267 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
12270 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
12277 if test "$acx_cv_header_stdint" = stddef.h
; then
12278 acx_cv_header_stdint_kind
="(u_intXX_t style)"
12279 for i
in sys
/types.h
$inttype_headers; do
12280 unset ac_cv_type_u_int32_t
12281 unset ac_cv_type_u_int64_t
12282 $as_echo_n "looking for u_intXX_t types in $i, " >&6
12283 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
12286 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
12287 acx_cv_header_stdint
=$i
12292 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
12295 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
12302 if test "$acx_cv_header_stdint" = stddef.h
; then
12303 acx_cv_header_stdint_kind
="(using manual detection)"
12306 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
12307 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
12308 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
12309 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
12310 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
12312 # ----------------- Summarize what we found so far
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
12315 $as_echo_n "checking what to include in gstdint.h... " >&6; }
12317 case `$as_basename -- gstdint.h ||
12318 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
12319 Xgstdint.h : 'X\(//\)$' \| \
12320 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
12321 $as_echo X/gstdint.h |
12322 sed '/^.*\/\([^/][^/]*\)\/*$/{
12335 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12336 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12337 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
12338 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
12343 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
12345 # ----------------- done included file, check C basic types --------
12347 # Lacking an uintptr_t? Test size of void *
12348 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
12349 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
12350 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12351 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12352 # This bug is HP SR number 8606223364.
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12354 $as_echo_n "checking size of void *... " >&6; }
12355 if test "${ac_cv_sizeof_void_p+set}" = set; then :
12356 $as_echo_n "(cached) " >&6
12358 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
12361 if test "$ac_cv_type_void_p" = yes; then
12362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12364 { as_fn_set_status
77
12365 as_fn_error
"cannot compute sizeof (void *)
12366 See \`config.log' for more details." "$LINENO" 5; }; }
12368 ac_cv_sizeof_void_p
=0
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12374 $as_echo "$ac_cv_sizeof_void_p" >&6; }
12378 cat >>confdefs.h
<<_ACEOF
12379 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12385 # Lacking an uint64_t? Test size of long
12386 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
12387 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
12388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12390 # This bug is HP SR number 8606223364.
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12392 $as_echo_n "checking size of long... " >&6; }
12393 if test "${ac_cv_sizeof_long+set}" = set; then :
12394 $as_echo_n "(cached) " >&6
12396 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12399 if test "$ac_cv_type_long" = yes; then
12400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12402 { as_fn_set_status
77
12403 as_fn_error
"cannot compute sizeof (long)
12404 See \`config.log' for more details." "$LINENO" 5; }; }
12406 ac_cv_sizeof_long
=0
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12412 $as_echo "$ac_cv_sizeof_long" >&6; }
12416 cat >>confdefs.h
<<_ACEOF
12417 #define SIZEOF_LONG $ac_cv_sizeof_long
12423 if test $acx_cv_header_stdint = stddef.h
; then
12424 # Lacking a good header? Test size of everything and deduce all types.
12425 # The cast to long int works around a bug in the HP C Compiler
12426 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12427 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12428 # This bug is HP SR number 8606223364.
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12430 $as_echo_n "checking size of int... " >&6; }
12431 if test "${ac_cv_sizeof_int+set}" = set; then :
12432 $as_echo_n "(cached) " >&6
12434 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12437 if test "$ac_cv_type_int" = yes; then
12438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12440 { as_fn_set_status
77
12441 as_fn_error
"cannot compute sizeof (int)
12442 See \`config.log' for more details." "$LINENO" 5; }; }
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12450 $as_echo "$ac_cv_sizeof_int" >&6; }
12454 cat >>confdefs.h
<<_ACEOF
12455 #define SIZEOF_INT $ac_cv_sizeof_int
12459 # The cast to long int works around a bug in the HP C Compiler
12460 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12461 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12462 # This bug is HP SR number 8606223364.
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12464 $as_echo_n "checking size of short... " >&6; }
12465 if test "${ac_cv_sizeof_short+set}" = set; then :
12466 $as_echo_n "(cached) " >&6
12468 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12471 if test "$ac_cv_type_short" = yes; then
12472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12474 { as_fn_set_status
77
12475 as_fn_error
"cannot compute sizeof (short)
12476 See \`config.log' for more details." "$LINENO" 5; }; }
12478 ac_cv_sizeof_short
=0
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12484 $as_echo "$ac_cv_sizeof_short" >&6; }
12488 cat >>confdefs.h
<<_ACEOF
12489 #define SIZEOF_SHORT $ac_cv_sizeof_short
12493 # The cast to long int works around a bug in the HP C Compiler
12494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12496 # This bug is HP SR number 8606223364.
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
12498 $as_echo_n "checking size of char... " >&6; }
12499 if test "${ac_cv_sizeof_char+set}" = set; then :
12500 $as_echo_n "(cached) " >&6
12502 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
12505 if test "$ac_cv_type_char" = yes; then
12506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12508 { as_fn_set_status
77
12509 as_fn_error
"cannot compute sizeof (char)
12510 See \`config.log' for more details." "$LINENO" 5; }; }
12512 ac_cv_sizeof_char
=0
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
12518 $as_echo "$ac_cv_sizeof_char" >&6; }
12522 cat >>confdefs.h
<<_ACEOF
12523 #define SIZEOF_CHAR $ac_cv_sizeof_char
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
12529 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
12530 case "$ac_cv_sizeof_char" in
12531 1) acx_cv_type_int8_t
=char
;;
12532 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
12535 $as_echo "$acx_cv_type_int8_t" >&6; }
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
12538 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
12539 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
12540 2:*) acx_cv_type_int16_t
=int
;;
12541 *:2) acx_cv_type_int16_t
=short
;;
12542 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
12545 $as_echo "$acx_cv_type_int16_t" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
12548 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
12549 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
12550 4:*) acx_cv_type_int32_t
=int
;;
12551 *:4) acx_cv_type_int32_t
=long
;;
12552 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
12555 $as_echo "$acx_cv_type_int32_t" >&6; }
12558 # These tests are here to make the output prettier
12560 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
12561 case "$ac_cv_sizeof_long" in
12562 8) acx_cv_type_int64_t
=long
;;
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
12565 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
12567 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
12570 # Now we can use the above types
12572 if test "$ac_cv_type_uintptr_t" != yes; then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
12574 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
12575 case $ac_cv_sizeof_void_p in
12576 2) acx_cv_type_intptr_t
=int16_t
;;
12577 4) acx_cv_type_intptr_t
=int32_t
;;
12578 8) acx_cv_type_intptr_t
=int64_t
;;
12579 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
12582 $as_echo "$acx_cv_type_intptr_t" >&6; }
12585 # ----------------- done all checks, emit header -------------
12586 ac_config_commands
="$ac_config_commands gstdint.h"
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12591 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12592 if test "${ac_cv_header_time+set}" = set; then :
12593 $as_echo_n "(cached) " >&6
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12597 #include <sys/types.h>
12598 #include <sys/time.h>
12604 if ((struct tm *) 0)
12610 if ac_fn_c_try_compile
"$LINENO"; then :
12611 ac_cv_header_time
=yes
12613 ac_cv_header_time
=no
12615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12618 $as_echo "$ac_cv_header_time" >&6; }
12619 if test $ac_cv_header_time = yes; then
12621 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
12626 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12627 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
12628 $as_echo_n "(cached) " >&6
12630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12632 #include <sys/types.h>
12633 #include <sys/wait.h>
12634 #ifndef WEXITSTATUS
12635 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12638 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12646 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12651 if ac_fn_c_try_compile
"$LINENO"; then :
12652 ac_cv_header_sys_wait_h
=yes
12654 ac_cv_header_sys_wait_h
=no
12656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
12659 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12660 if test $ac_cv_header_sys_wait_h = yes; then
12662 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
12667 for ac_header
in execinfo.h fcntl.h limits.h netdb.h netinet
/in.h
12669 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12670 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12671 eval as_val
=\$
$as_ac_Header
12672 if test "x$as_val" = x
""yes; then :
12673 cat >>confdefs.h
<<_ACEOF
12674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12681 for ac_header
in sched.h semaphore.h stddef.h stdlib.h sys
/loadavg.h
12683 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12684 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12685 eval as_val
=\$
$as_ac_Header
12686 if test "x$as_val" = x
""yes; then :
12687 cat >>confdefs.h
<<_ACEOF
12688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12695 for ac_header
in sys
/socket.h unistd.h
12697 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12698 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12699 eval as_val
=\$
$as_ac_Header
12700 if test "x$as_val" = x
""yes; then :
12701 cat >>confdefs.h
<<_ACEOF
12702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12710 # Checks for typedefs, structures, and compiler characteristics.
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12712 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12713 if test "${ac_cv_c_const+set}" = set; then :
12714 $as_echo_n "(cached) " >&6
12716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12722 /* FIXME: Include the comments suggested by Paul. */
12723 #ifndef __cplusplus
12724 /* Ultrix mips cc rejects this. */
12725 typedef int charset[2];
12727 /* SunOS 4.1.1 cc rejects this. */
12728 char const *const *pcpcc;
12730 /* NEC SVR4.0.2 mips cc rejects this. */
12731 struct point {int x, y;};
12732 static struct point const zero = {0,0};
12733 /* AIX XL C 1.02.0.0 rejects this.
12734 It does not let you subtract one const X* pointer from another in
12735 an arm of an if-expression whose if-part is not a constant
12737 const char *g = "string";
12738 pcpcc = &g + (g ? g-g : 0);
12739 /* HPUX 7.0 cc rejects these. */
12741 ppc = (char**) pcpcc;
12742 pcpcc = (char const *const *) ppc;
12743 { /* SCO 3.2v4 cc rejects this. */
12745 char const *s = 0 ? (char *) 0 : (char const *) 0;
12750 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12751 int x[] = {25, 17};
12752 const int *foo = &x[0];
12755 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12756 typedef const int *iptr;
12760 { /* AIX XL C 1.02.0.0 rejects this saying
12761 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12762 struct s { int j; const int *ap[3]; };
12763 struct s *b; b->j = 5;
12765 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12766 const int foo = 10;
12767 if (!foo) return 0;
12769 return !cs[0] && !zero.x;
12776 if ac_fn_c_try_compile
"$LINENO"; then :
12781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12784 $as_echo "$ac_cv_c_const" >&6; }
12785 if test $ac_cv_c_const = no
; then
12787 $as_echo "#define const /**/" >>confdefs.h
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12792 $as_echo_n "checking for inline... " >&6; }
12793 if test "${ac_cv_c_inline+set}" = set; then :
12794 $as_echo_n "(cached) " >&6
12797 for ac_kw
in inline __inline__ __inline
; do
12798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12800 #ifndef __cplusplus
12802 static $ac_kw foo_t static_foo () {return 0; }
12803 $ac_kw foo_t foo () {return 0; }
12807 if ac_fn_c_try_compile
"$LINENO"; then :
12808 ac_cv_c_inline
=$ac_kw
12810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12811 test "$ac_cv_c_inline" != no
&& break
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12816 $as_echo "$ac_cv_c_inline" >&6; }
12818 case $ac_cv_c_inline in
12821 case $ac_cv_c_inline in
12823 *) ac_val
=$ac_cv_c_inline;;
12825 cat >>confdefs.h
<<_ACEOF
12826 #ifndef __cplusplus
12827 #define inline $ac_val
12833 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
12834 if test "x$ac_cv_type_mode_t" = x
""yes; then :
12838 cat >>confdefs.h
<<_ACEOF
12844 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12845 if test "x$ac_cv_type_off_t" = x
""yes; then :
12849 cat >>confdefs.h
<<_ACEOF
12850 #define off_t long int
12855 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12856 if test "x$ac_cv_type_pid_t" = x
""yes; then :
12860 cat >>confdefs.h
<<_ACEOF
12866 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12867 if test "x$ac_cv_type_size_t" = x
""yes; then :
12871 cat >>confdefs.h
<<_ACEOF
12872 #define size_t unsigned int
12877 ac_fn_c_check_decl
"$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "$ac_includes_default"
12878 if test "x$ac_cv_have_decl_sys_siglist" = x
""yes; then :
12884 cat >>confdefs.h
<<_ACEOF
12885 #define HAVE_DECL_SYS_SIGLIST $ac_have_decl
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
12889 $as_echo_n "checking for working volatile... " >&6; }
12890 if test "${ac_cv_c_volatile+set}" = set; then :
12891 $as_echo_n "(cached) " >&6
12893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12901 int * volatile y = (int *) 0;
12907 if ac_fn_c_try_compile
"$LINENO"; then :
12908 ac_cv_c_volatile
=yes
12910 ac_cv_c_volatile
=no
12912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
12915 $as_echo "$ac_cv_c_volatile" >&6; }
12916 if test $ac_cv_c_volatile = no
; then
12918 $as_echo "#define volatile /**/" >>confdefs.h
12922 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
12923 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
12925 cat >>confdefs.h
<<_ACEOF
12926 #define HAVE_PTRDIFF_T 1
12933 # Check to see if -pthread or -lpthread is needed. Prefer the former.
12934 # In case the pthread.h system header is not found, this test will fail.
12936 CFLAGS
="$CFLAGS -pthread"
12937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12939 #include <pthread.h>
12940 void *g(void *d) { return NULL; }
12944 pthread_t t; pthread_create(&t,NULL,g,NULL);
12949 if ac_fn_c_try_link
"$LINENO"; then :
12950 XPCFLAGS
=" -Wc,-pthread"
12952 CFLAGS
="$save_CFLAGS" LIBS
="-lpthread $LIBS"
12953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12955 #include <pthread.h>
12956 void *g(void *d) { return NULL; }
12960 pthread_t t; pthread_create(&t,NULL,g,NULL);
12965 if ac_fn_c_try_link
"$LINENO"; then :
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: Pthreads are not supported in this libgupc build" >&5
12969 $as_echo "$as_me: Pthreads are not supported in this libgupc build" >&6;}
12971 rm -f core conftest.err conftest.
$ac_objext \
12972 conftest
$ac_exeext conftest.
$ac_ext
12974 rm -f core conftest.err conftest.
$ac_objext \
12975 conftest
$ac_exeext conftest.
$ac_ext
12977 # Check for functions needed.
12978 for ac_header
in vfork.h
12980 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
12981 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
12982 cat >>confdefs.h
<<_ACEOF
12983 #define HAVE_VFORK_H 1
12990 for ac_func
in fork vfork
12992 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12993 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12994 eval as_val
=\$
$as_ac_var
12995 if test "x$as_val" = x
""yes; then :
12996 cat >>confdefs.h
<<_ACEOF
12997 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13003 if test "x$ac_cv_func_fork" = xyes
; then
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
13005 $as_echo_n "checking for working fork... " >&6; }
13006 if test "${ac_cv_func_fork_works+set}" = set; then :
13007 $as_echo_n "(cached) " >&6
13009 if test "$cross_compiling" = yes; then :
13010 ac_cv_func_fork_works
=cross
13012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13014 $ac_includes_default
13019 /* By Ruediger Kuhlmann. */
13020 return fork () < 0;
13026 if ac_fn_c_try_run
"$LINENO"; then :
13027 ac_cv_func_fork_works
=yes
13029 ac_cv_func_fork_works
=no
13031 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13032 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
13037 $as_echo "$ac_cv_func_fork_works" >&6; }
13040 ac_cv_func_fork_works
=$ac_cv_func_fork
13042 if test "x$ac_cv_func_fork_works" = xcross
; then
13044 *-*-amigaos* |
*-*-msdosdjgpp*)
13045 # Override, as these systems have only a dummy fork() stub
13046 ac_cv_func_fork_works
=no
13049 ac_cv_func_fork_works
=yes
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
13053 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
13055 ac_cv_func_vfork_works
=$ac_cv_func_vfork
13056 if test "x$ac_cv_func_vfork" = xyes
; then
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
13058 $as_echo_n "checking for working vfork... " >&6; }
13059 if test "${ac_cv_func_vfork_works+set}" = set; then :
13060 $as_echo_n "(cached) " >&6
13062 if test "$cross_compiling" = yes; then :
13063 ac_cv_func_vfork_works
=cross
13065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13067 /* Thanks to Paul Eggert for this test. */
13068 $ac_includes_default
13069 #include <sys/wait.h>
13070 #ifdef HAVE_VFORK_H
13071 # include <vfork.h>
13073 /* On some sparc systems, changes by the child to local and incoming
13074 argument registers are propagated back to the parent. The compiler
13075 is told about this with #include <vfork.h>, but some compilers
13076 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
13077 static variable whose address is put into a register that is
13078 clobbered by the vfork. */
13081 sparc_address_test (int arg)
13083 sparc_address_test (arg) int arg;
13086 static pid_t child;
13104 pid_t parent = getpid ();
13107 sparc_address_test (0);
13112 /* Here is another test for sparc vfork register problems. This
13113 test uses lots of local variables, at least as many local
13114 variables as main has allocated so far including compiler
13115 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
13116 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
13117 reuse the register of parent for one of the local variables,
13118 since it will think that parent can't possibly be used any more
13119 in this routine. Assigning to the local variable will thus
13120 munge parent in the parent process. */
13122 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
13123 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
13124 /* Convince the compiler that p..p7 are live; otherwise, it might
13125 use the same hardware register for all 8 local variables. */
13126 if (p != p1 || p != p2 || p != p3 || p != p4
13127 || p != p5 || p != p6 || p != p7)
13130 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
13131 from child file descriptors. If the child closes a descriptor
13132 before it execs or exits, this munges the parent's descriptor
13133 as well. Test for this by closing stdout in the child. */
13134 _exit(close(fileno(stdout)) != 0);
13139 while (wait(&status) != child)
13142 /* Was there some problem with vforking? */
13145 /* Did the child fail? (This shouldn't happen.) */
13148 /* Did the vfork/compiler bug occur? */
13149 || parent != getpid()
13151 /* Did the file descriptor bug occur? */
13152 || fstat(fileno(stdout), &st) != 0
13157 if ac_fn_c_try_run
"$LINENO"; then :
13158 ac_cv_func_vfork_works
=yes
13160 ac_cv_func_vfork_works
=no
13162 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13163 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13168 $as_echo "$ac_cv_func_vfork_works" >&6; }
13171 if test "x$ac_cv_func_fork_works" = xcross
; then
13172 ac_cv_func_vfork_works
=$ac_cv_func_vfork
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13174 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13177 if test "x$ac_cv_func_vfork_works" = xyes
; then
13179 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13183 $as_echo "#define vfork fork" >>confdefs.h
13186 if test "x$ac_cv_func_fork_works" = xyes
; then
13188 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13192 for ac_header
in stdlib.h
13194 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13195 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
13196 cat >>confdefs.h
<<_ACEOF
13197 #define HAVE_STDLIB_H 1
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
13205 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
13206 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
13207 $as_echo_n "(cached) " >&6
13209 if test "$cross_compiling" = yes; then :
13210 ac_cv_func_malloc_0_nonnull
=no
13212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13214 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
13215 # include <stdlib.h>
13223 return ! malloc (0);
13228 if ac_fn_c_try_run
"$LINENO"; then :
13229 ac_cv_func_malloc_0_nonnull
=yes
13231 ac_cv_func_malloc_0_nonnull
=no
13233 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13234 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
13239 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
13240 if test $ac_cv_func_malloc_0_nonnull = yes; then :
13242 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
13245 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
13247 case " $LIBOBJS " in
13248 *" malloc.$ac_objext "* ) ;;
13249 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
13254 $as_echo "#define malloc rpl_malloc" >>confdefs.h
13259 for ac_header
in stdlib.h unistd.h
13261 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13262 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13263 eval as_val
=\$
$as_ac_Header
13264 if test "x$as_val" = x
""yes; then :
13265 cat >>confdefs.h
<<_ACEOF
13266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13273 for ac_func
in getpagesize
13275 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13276 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
13277 cat >>confdefs.h
<<_ACEOF
13278 #define HAVE_GETPAGESIZE 1
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13285 $as_echo_n "checking for working mmap... " >&6; }
13286 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
13287 $as_echo_n "(cached) " >&6
13289 if test "$cross_compiling" = yes; then :
13290 ac_cv_func_mmap_fixed_mapped
=no
13292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13294 $ac_includes_default
13295 /* malloc might have been renamed as rpl_malloc. */
13298 /* Thanks to Mike Haertel and Jim Avera for this test.
13299 Here is a matrix of mmap possibilities:
13300 mmap private not fixed
13301 mmap private fixed at somewhere currently unmapped
13302 mmap private fixed at somewhere already mapped
13303 mmap shared not fixed
13304 mmap shared fixed at somewhere currently unmapped
13305 mmap shared fixed at somewhere already mapped
13306 For private mappings, we should verify that changes cannot be read()
13307 back from the file, nor mmap's back from the file at a different
13308 address. (There have been systems where private was not correctly
13309 implemented like the infamous i386 svr4.0, and systems where the
13310 VM page cache was not coherent with the file system buffer cache
13311 like early versions of FreeBSD and possibly contemporary NetBSD.)
13312 For shared mappings, we should conversely verify that changes get
13313 propagated back to all the places they're supposed to be.
13315 Grep wants private fixed already mapped.
13316 The main things grep needs to know about mmap are:
13317 * does it exist and is it safe to write into the mmap'd area
13318 * how to use it (BSD variants) */
13321 #include <sys/mman.h>
13323 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13327 /* This mess was copied from the GNU getpagesize.h. */
13328 #ifndef HAVE_GETPAGESIZE
13329 /* Assume that all systems that can run configure have sys/param.h. */
13330 # ifndef HAVE_SYS_PARAM_H
13331 # define HAVE_SYS_PARAM_H 1
13334 # ifdef _SC_PAGESIZE
13335 # define getpagesize() sysconf(_SC_PAGESIZE)
13336 # else /* no _SC_PAGESIZE */
13337 # ifdef HAVE_SYS_PARAM_H
13338 # include <sys/param.h>
13339 # ifdef EXEC_PAGESIZE
13340 # define getpagesize() EXEC_PAGESIZE
13341 # else /* no EXEC_PAGESIZE */
13343 # define getpagesize() NBPG * CLSIZE
13346 # endif /* no CLSIZE */
13347 # else /* no NBPG */
13349 # define getpagesize() NBPC
13350 # else /* no NBPC */
13352 # define getpagesize() PAGESIZE
13353 # endif /* PAGESIZE */
13354 # endif /* no NBPC */
13355 # endif /* no NBPG */
13356 # endif /* no EXEC_PAGESIZE */
13357 # else /* no HAVE_SYS_PARAM_H */
13358 # define getpagesize() 8192 /* punt totally */
13359 # endif /* no HAVE_SYS_PARAM_H */
13360 # endif /* no _SC_PAGESIZE */
13362 #endif /* no HAVE_GETPAGESIZE */
13367 char *data, *data2, *data3;
13371 pagesize = getpagesize ();
13373 /* First, make a file with some known garbage in it. */
13374 data = (char *) malloc (pagesize);
13377 for (i = 0; i < pagesize; ++i)
13378 *(data + i) = rand ();
13380 fd = creat ("conftest.mmap", 0600);
13383 if (write (fd, data, pagesize) != pagesize)
13387 /* Next, try to mmap the file at a fixed address which already has
13388 something else allocated at it. If we can, also make sure that
13389 we see the same garbage. */
13390 fd = open ("conftest.mmap", O_RDWR);
13393 data2 = (char *) malloc (2 * pagesize);
13396 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
13397 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13398 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13400 for (i = 0; i < pagesize; ++i)
13401 if (*(data + i) != *(data2 + i))
13404 /* Finally, make sure that changes to the mapped area do not
13405 percolate back to the file as seen by read(). (This is a bug on
13406 some variants of i386 svr4.0.) */
13407 for (i = 0; i < pagesize; ++i)
13408 *(data2 + i) = *(data2 + i) + 1;
13409 data3 = (char *) malloc (pagesize);
13412 if (read (fd, data3, pagesize) != pagesize)
13414 for (i = 0; i < pagesize; ++i)
13415 if (*(data + i) != *(data3 + i))
13421 if ac_fn_c_try_run
"$LINENO"; then :
13422 ac_cv_func_mmap_fixed_mapped
=yes
13424 ac_cv_func_mmap_fixed_mapped
=no
13426 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13427 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13432 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13433 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13435 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13438 rm -f conftest.mmap
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
13441 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
13442 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
13443 $as_echo_n "(cached) " >&6
13445 rm -f conftest.sym conftest.
file
13446 echo >conftest.
file
13447 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
13448 if test "$cross_compiling" = yes; then :
13449 ac_cv_func_lstat_dereferences_slashed_symlink
=no
13451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13453 $ac_includes_default
13458 /* Linux will dereference the symlink and fail.
13459 That is better in the sense that it means we will not
13460 have to compile and use the lstat wrapper. */
13461 return lstat ("conftest.sym/", &sbuf) == 0;
13466 if ac_fn_c_try_run
"$LINENO"; then :
13467 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
13469 ac_cv_func_lstat_dereferences_slashed_symlink
=no
13471 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13472 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13476 # If the `ln -s' command failed, then we probably don't even
13477 # have an lstat function.
13478 ac_cv_func_lstat_dereferences_slashed_symlink
=no
13480 rm -f conftest.sym conftest.
file
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
13484 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
13486 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
13488 cat >>confdefs.h
<<_ACEOF
13489 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
13493 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
13494 case " $LIBOBJS " in
13495 *" lstat.$ac_objext "* ) ;;
13496 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
13503 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
13504 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
13505 $as_echo_n "(cached) " >&6
13507 if test "$cross_compiling" = yes; then :
13508 ac_cv_func_stat_empty_string_bug
=yes
13510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13512 $ac_includes_default
13517 return stat ("", &sbuf) == 0;
13522 if ac_fn_c_try_run
"$LINENO"; then :
13523 ac_cv_func_stat_empty_string_bug
=no
13525 ac_cv_func_stat_empty_string_bug
=yes
13527 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13528 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
13533 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
13534 if test $ac_cv_func_stat_empty_string_bug = yes; then
13535 case " $LIBOBJS " in
13536 *" stat.$ac_objext "* ) ;;
13537 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
13542 cat >>confdefs.h
<<_ACEOF
13543 #define HAVE_STAT_EMPTY_STRING_BUG 1
13548 for ac_func
in clock_gettime ftruncate getcwd gethostbyname gethostname
13550 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13551 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13552 eval as_val
=\$
$as_ac_var
13553 if test "x$as_val" = x
""yes; then :
13554 cat >>confdefs.h
<<_ACEOF
13555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13561 for ac_func
in getloadavg memset mkdir munmap socket
13563 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13564 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13565 eval as_val
=\$
$as_ac_var
13566 if test "x$as_val" = x
""yes; then :
13567 cat >>confdefs.h
<<_ACEOF
13568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13574 for ac_func
in strcasecmp strdup strerror strtol strtoull
13576 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13577 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13578 eval as_val
=\$
$as_ac_var
13579 if test "x$as_val" = x
""yes; then :
13580 cat >>confdefs.h
<<_ACEOF
13581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13587 for ac_func
in backtrace backtrace_symbols backtrace_symbols_fd
13589 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13590 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13591 eval as_val
=\$
$as_ac_var
13592 if test "x$as_val" = x
""yes; then :
13593 cat >>confdefs.h
<<_ACEOF
13594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13600 # Check whether --enable-largefile was given.
13601 if test "${enable_largefile+set}" = set; then :
13602 enableval
=$enable_largefile;
13605 if test "$enable_largefile" != no
; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13608 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13609 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
13610 $as_echo_n "(cached) " >&6
13612 ac_cv_sys_largefile_CC
=no
13613 if test "$GCC" != yes; then
13616 # IRIX 6.2 and later do not support large files by default,
13617 # so use the C compiler's -n32 option if that helps.
13618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #include <sys/types.h>
13621 /* Check that off_t can represent 2**63 - 1 correctly.
13622 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13623 since some C++ compilers masquerading as C compilers
13624 incorrectly reject 9223372036854775807. */
13625 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13626 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13627 && LARGE_OFF_T % 2147483647 == 1)
13637 if ac_fn_c_try_compile
"$LINENO"; then :
13640 rm -f core conftest.err conftest.
$ac_objext
13642 if ac_fn_c_try_compile
"$LINENO"; then :
13643 ac_cv_sys_largefile_CC
=' -n32'; break
13645 rm -f core conftest.err conftest.
$ac_objext
13649 rm -f conftest.
$ac_ext
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13653 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13654 if test "$ac_cv_sys_largefile_CC" != no
; then
13655 CC
=$CC$ac_cv_sys_largefile_CC
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13659 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13660 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
13661 $as_echo_n "(cached) " >&6
13664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13666 #include <sys/types.h>
13667 /* Check that off_t can represent 2**63 - 1 correctly.
13668 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13669 since some C++ compilers masquerading as C compilers
13670 incorrectly reject 9223372036854775807. */
13671 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13672 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13673 && LARGE_OFF_T % 2147483647 == 1)
13683 if ac_fn_c_try_compile
"$LINENO"; then :
13684 ac_cv_sys_file_offset_bits
=no
; break
13686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13689 #define _FILE_OFFSET_BITS 64
13690 #include <sys/types.h>
13691 /* Check that off_t can represent 2**63 - 1 correctly.
13692 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13693 since some C++ compilers masquerading as C compilers
13694 incorrectly reject 9223372036854775807. */
13695 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13696 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13697 && LARGE_OFF_T % 2147483647 == 1)
13707 if ac_fn_c_try_compile
"$LINENO"; then :
13708 ac_cv_sys_file_offset_bits
=64; break
13710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13711 ac_cv_sys_file_offset_bits
=unknown
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13716 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13717 case $ac_cv_sys_file_offset_bits in #(
13720 cat >>confdefs.h
<<_ACEOF
13721 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13726 if test $ac_cv_sys_file_offset_bits = unknown
; then
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13728 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13729 if test "${ac_cv_sys_large_files+set}" = set; then :
13730 $as_echo_n "(cached) " >&6
13733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13735 #include <sys/types.h>
13736 /* Check that off_t can represent 2**63 - 1 correctly.
13737 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13738 since some C++ compilers masquerading as C compilers
13739 incorrectly reject 9223372036854775807. */
13740 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13741 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13742 && LARGE_OFF_T % 2147483647 == 1)
13752 if ac_fn_c_try_compile
"$LINENO"; then :
13753 ac_cv_sys_large_files
=no
; break
13755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13758 #define _LARGE_FILES 1
13759 #include <sys/types.h>
13760 /* Check that off_t can represent 2**63 - 1 correctly.
13761 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13762 since some C++ compilers masquerading as C compilers
13763 incorrectly reject 9223372036854775807. */
13764 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13765 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13766 && LARGE_OFF_T % 2147483647 == 1)
13776 if ac_fn_c_try_compile
"$LINENO"; then :
13777 ac_cv_sys_large_files
=1; break
13779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13780 ac_cv_sys_large_files
=unknown
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13785 $as_echo "$ac_cv_sys_large_files" >&6; }
13786 case $ac_cv_sys_large_files in #(
13789 cat >>confdefs.h
<<_ACEOF
13790 #define _LARGE_FILES $ac_cv_sys_large_files
13799 # Check for broken semaphore implementation on darwin.
13800 # sem_init returns: sem_init error: Function not implemented.
13804 $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
13809 # Check whether --enable-linux-futex was given.
13810 if test "${enable_linux_futex+set}" = set; then :
13811 enableval
=$enable_linux_futex;
13812 case "$enableval" in
13814 *) as_fn_error
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
13818 enable_linux_futex
=default
13824 case "$enable_linux_futex" in
13826 # If headers don't have gettid/futex syscalls definition, then
13827 # default to no, otherwise there will be compile time failures.
13828 # Otherwise, default to yes. If we don't detect we are
13829 # compiled/linked against NPTL and not cross-compiling, check
13830 # if programs are run by default against NPTL and if not, issue
13832 enable_linux_futex
=no
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13835 #include <sys/syscall.h>
13840 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
13845 if ac_fn_c_try_link
"$LINENO"; then :
13847 LIBS
="-lpthread $LIBS"
13848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13850 #ifndef _GNU_SOURCE
13851 #define _GNU_SOURCE 1
13853 #include <pthread.h>
13854 pthread_t th; void *status;
13858 pthread_tryjoin_np (th, &status);
13863 if ac_fn_c_try_link
"$LINENO"; then :
13864 enable_linux_futex
=yes
13866 if test x
$cross_compiling = xno
; then
13867 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
13868 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
13870 If so, please configure with --disable-linux-futex" >&5
13871 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
13872 If so, please configure with --disable-linux-futex" >&2;}
13875 enable_linux_futex
=yes
13877 rm -f core conftest.err conftest.
$ac_objext \
13878 conftest
$ac_exeext conftest.
$ac_ext
13881 rm -f core conftest.err conftest.
$ac_objext \
13882 conftest
$ac_exeext conftest.
$ac_ext
13885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13887 #include <sys/syscall.h>
13892 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
13897 if ac_fn_c_try_link
"$LINENO"; then :
13900 as_fn_error
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
13902 rm -f core conftest.err conftest.
$ac_objext \
13903 conftest
$ac_exeext conftest.
$ac_ext
13908 enable_linux_futex
=no
13911 if test x
$enable_linux_futex = xyes
; then
13916 # Check for pthread_{,attr_}[sg]etaffinity_np.
13917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 #define _GNU_SOURCE
13920 #include <pthread.h>
13925 pthread_attr_t attr;
13926 pthread_getaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
13927 if (CPU_ISSET (0, &cpuset))
13928 CPU_SET (1, &cpuset);
13930 CPU_ZERO (&cpuset);
13931 pthread_setaffinity_np (pthread_self (), sizeof (cpu_set_t), &cpuset);
13932 pthread_attr_init (&attr);
13933 pthread_attr_getaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
13934 pthread_attr_setaffinity_np (&attr, sizeof (cpu_set_t), &cpuset);
13939 if ac_fn_c_try_link
"$LINENO"; then :
13941 $as_echo "#define HAVE_PTHREAD_AFFINITY_NP 1" >>confdefs.h
13944 rm -f core conftest.err conftest.
$ac_objext \
13945 conftest
$ac_exeext conftest.
$ac_ext
13947 # At least for glibc, clock_gettime is in librt. But don't pull that
13948 # in if it still doesn't give us the function we want.
13949 if test $ac_cv_func_clock_gettime = no
; then
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13951 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13952 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
13953 $as_echo_n "(cached) " >&6
13955 ac_check_lib_save_LIBS
=$LIBS
13957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13960 /* Override any GCC internal prototype to avoid an error.
13961 Use char because int might match the return type of a GCC
13962 builtin and then its argument prototype would still apply. */
13966 char clock_gettime ();
13970 return clock_gettime ();
13975 if ac_fn_c_try_link
"$LINENO"; then :
13976 ac_cv_lib_rt_clock_gettime
=yes
13978 ac_cv_lib_rt_clock_gettime
=no
13980 rm -f core conftest.err conftest.
$ac_objext \
13981 conftest
$ac_exeext conftest.
$ac_ext
13982 LIBS
=$ac_check_lib_save_LIBS
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13985 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
13986 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
13987 ac_cv_func_clock_gettime
="yes"
13990 if test $ac_cv_func_clock_gettime = yes; then
13993 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13998 # See if we support thread-local storage.
14001 # Check whether --enable-tls was given.
14002 if test "${enable_tls+set}" = set; then :
14003 enableval
=$enable_tls;
14004 case "$enableval" in
14006 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
14015 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
14016 if test "${gcc_cv_have_tls+set}" = set; then :
14017 $as_echo_n "(cached) " >&6
14020 if test "$cross_compiling" = yes; then :
14021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14023 __thread int a; int b; int main() { return a = b; }
14025 if ac_fn_c_try_link
"$LINENO"; then :
14026 chktls_save_LDFLAGS
="$LDFLAGS"
14029 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
14032 chktls_save_CFLAGS
="$CFLAGS"
14033 CFLAGS
="-fPIC $CFLAGS"
14034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 int f() { return 0; }
14038 if ac_fn_c_try_link
"$LINENO"; then :
14039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 __thread int a; int b; int f() { return a = b; }
14043 if ac_fn_c_try_link
"$LINENO"; then :
14044 gcc_cv_have_tls
=yes
14048 rm -f core conftest.err conftest.
$ac_objext \
14049 conftest
$ac_exeext conftest.
$ac_ext
14051 gcc_cv_have_tls
=yes
14053 rm -f core conftest.err conftest.
$ac_objext \
14054 conftest
$ac_exeext conftest.
$ac_ext
14055 CFLAGS
="$chktls_save_CFLAGS"
14056 LDFLAGS
="$chktls_save_LDFLAGS"
14060 rm -f core conftest.err conftest.
$ac_objext \
14061 conftest
$ac_exeext conftest.
$ac_ext
14065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14067 __thread int a; int b; int main() { return a = b; }
14069 if ac_fn_c_try_run
"$LINENO"; then :
14070 chktls_save_LDFLAGS
="$LDFLAGS"
14071 LDFLAGS
="-static $LDFLAGS"
14072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14074 int main() { return 0; }
14076 if ac_fn_c_try_link
"$LINENO"; then :
14077 if test "$cross_compiling" = yes; then :
14078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14080 as_fn_error
"cannot run test program while cross compiling
14081 See \`config.log' for more details." "$LINENO" 5; }
14083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 __thread int a; int b; int main() { return a = b; }
14087 if ac_fn_c_try_run
"$LINENO"; then :
14088 gcc_cv_have_tls
=yes
14092 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14093 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14097 gcc_cv_have_tls
=yes
14099 rm -f core conftest.err conftest.
$ac_objext \
14100 conftest
$ac_exeext conftest.
$ac_ext
14101 LDFLAGS
="$chktls_save_LDFLAGS"
14102 if test $gcc_cv_have_tls = yes; then
14103 chktls_save_CFLAGS
="$CFLAGS"
14104 thread_CFLAGS
=failed
14105 for flag
in '' '-pthread' '-lpthread'; do
14106 CFLAGS
="$flag $chktls_save_CFLAGS"
14107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 #include <pthread.h>
14110 void *g(void *d) { return NULL; }
14114 pthread_t t; pthread_create(&t,NULL,g,NULL);
14119 if ac_fn_c_try_link
"$LINENO"; then :
14120 thread_CFLAGS
="$flag"
14122 rm -f core conftest.err conftest.
$ac_objext \
14123 conftest
$ac_exeext conftest.
$ac_ext
14124 if test "X$thread_CFLAGS" != Xfailed
; then
14128 CFLAGS
="$chktls_save_CFLAGS"
14129 if test "X$thread_CFLAGS" != Xfailed
; then
14130 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
14131 if test "$cross_compiling" = yes; then :
14132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14134 as_fn_error
"cannot run test program while cross compiling
14135 See \`config.log' for more details." "$LINENO" 5; }
14137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 #include <pthread.h>
14141 static int *volatile a_in_other_thread;
14143 thread_func (void *arg)
14145 a_in_other_thread = &a;
14152 void *thread_retval;
14153 int *volatile a_in_main_thread;
14154 a_in_main_thread = &a;
14155 if (pthread_create (&thread, (pthread_attr_t *)0,
14156 thread_func, (void *)0))
14158 if (pthread_join (thread, &thread_retval))
14160 return (a_in_other_thread == a_in_main_thread);
14165 if ac_fn_c_try_run
"$LINENO"; then :
14166 gcc_cv_have_tls
=yes
14170 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14171 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14174 CFLAGS
="$chktls_save_CFLAGS"
14180 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14181 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
14186 $as_echo "$gcc_cv_have_tls" >&6; }
14187 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
14189 $as_echo "#define HAVE_TLS 1" >>confdefs.h
14193 # See what sort of export controls are availible.
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
14196 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
14197 if test "${libgupc_cv_have_attribute_visibility+set}" = set; then :
14198 $as_echo_n "(cached) " >&6
14201 save_CFLAGS
="$CFLAGS"
14202 CFLAGS
="$CFLAGS -Werror"
14203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14205 void __attribute__((visibility("hidden"))) foo(void) { }
14214 if ac_fn_c_try_compile
"$LINENO"; then :
14215 libgupc_cv_have_attribute_visibility
=yes
14217 libgupc_cv_have_attribute_visibility
=no
14219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14220 CFLAGS
="$save_CFLAGS"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgupc_cv_have_attribute_visibility" >&5
14223 $as_echo "$libgupc_cv_have_attribute_visibility" >&6; }
14224 if test $libgupc_cv_have_attribute_visibility = yes; then
14226 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
14231 $as_echo_n "checking whether the target supports dllexport... " >&6; }
14232 if test "${libgupc_cv_have_attribute_dllexport+set}" = set; then :
14233 $as_echo_n "(cached) " >&6
14236 save_CFLAGS
="$CFLAGS"
14237 CFLAGS
="$CFLAGS -Werror"
14238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14240 void __attribute__((dllexport)) foo(void) { }
14249 if ac_fn_c_try_compile
"$LINENO"; then :
14250 libgupc_cv_have_attribute_dllexport
=yes
14252 libgupc_cv_have_attribute_dllexport
=no
14254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14255 CFLAGS
="$save_CFLAGS"
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgupc_cv_have_attribute_dllexport" >&5
14258 $as_echo "$libgupc_cv_have_attribute_dllexport" >&6; }
14259 if test $libgupc_cv_have_attribute_dllexport = yes; then
14261 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
14266 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
14267 if test "${libgupc_cv_have_attribute_alias+set}" = set; then :
14268 $as_echo_n "(cached) " >&6
14271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14275 extern void bar(void) __attribute__((alias("foo")));
14284 if ac_fn_c_try_link
"$LINENO"; then :
14285 libgupc_cv_have_attribute_alias
=yes
14287 libgupc_cv_have_attribute_alias
=no
14289 rm -f core conftest.err conftest.
$ac_objext \
14290 conftest
$ac_exeext conftest.
$ac_ext
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgupc_cv_have_attribute_alias" >&5
14293 $as_echo "$libgupc_cv_have_attribute_alias" >&6; }
14294 if test $libgupc_cv_have_attribute_alias = yes; then
14296 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
14301 # Check whether --with-gnu-ld was given.
14302 if test "${with_gnu_ld+set}" = set; then :
14303 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
14309 if test "$GCC" = yes; then
14310 # Check if gcc -print-prog-name=ld gives a path.
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14312 $as_echo_n "checking for ld used by $CC... " >&6; }
14315 # gcc leaves a trailing carriage return which upsets mingw
14316 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14318 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14321 # Accept absolute paths.
14323 re_direlt
='/[^/][^/]*/\.\./'
14324 # Canonicalize the pathname of ld
14325 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14326 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
14327 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14329 test -z "$LD" && LD
="$ac_prog"
14332 # If it fails, then pretend we aren't using GCC.
14336 # If it is relative, then search for the first ld in PATH.
14337 with_gnu_ld
=unknown
14340 elif test "$with_gnu_ld" = yes; then
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14342 $as_echo_n "checking for GNU ld... " >&6; }
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14345 $as_echo_n "checking for non-GNU ld... " >&6; }
14347 if test "${lt_cv_path_LD+set}" = set; then :
14348 $as_echo_n "(cached) " >&6
14350 if test -z "$LD"; then
14351 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
14352 for ac_dir
in $PATH; do
14354 test -z "$ac_dir" && ac_dir
=.
14355 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14356 lt_cv_path_LD
="$ac_dir/$ac_prog"
14357 # Check to see if the program is GNU ld. I'd rather use --version,
14358 # but apparently some variants of GNU ld only accept -v.
14359 # Break only if it was the GNU/non-GNU ld that we prefer.
14360 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14361 *GNU
* |
*'with BFD'*)
14362 test "$with_gnu_ld" != no
&& break
14365 test "$with_gnu_ld" != yes && break
14372 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14376 LD
="$lt_cv_path_LD"
14377 if test -n "$LD"; then
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14379 $as_echo "$LD" >&6; }
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14382 $as_echo "no" >&6; }
14384 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14386 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14387 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14388 $as_echo_n "(cached) " >&6
14390 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14391 case `$LD -v 2>&1 </dev/null` in
14392 *GNU
* |
*'with BFD'*)
14393 lt_cv_prog_gnu_ld
=yes
14396 lt_cv_prog_gnu_ld
=no
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14401 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14402 with_gnu_ld
=$lt_cv_prog_gnu_ld
14410 # If we're not using GNU ld, then there's no point in even trying these
14411 # tests. Check for that first. We should have already tested for gld
14412 # by now (in libtool), but require it now just to be safe...
14413 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
14414 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
14418 # The name set by libtool depends on the version of libtool. Shame on us
14419 # for depending on an impl detail, but c'est la vie. Older versions used
14420 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
14421 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
14422 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
14423 # set (hence we're using an older libtool), then set it.
14424 if test x
${with_gnu_ld+set} != xset
; then
14425 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
14426 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
14429 with_gnu_ld
=$ac_cv_prog_gnu_ld
14433 # Start by getting the version number. I think the libtool test already
14434 # does some of this, but throws away the result.
14435 libgupc_ld_is_gold
=no
14436 if $LD --version 2>/dev
/null |
grep 'GNU gold'> /dev
/null
2>&1; then
14437 libgupc_ld_is_gold
=yes
14440 ldver
=`$LD --version 2>/dev/null |
14441 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'`
14443 libgupc_gnu_ld_version
=`echo $ldver | \
14444 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
14446 # Set --gc-sections.
14447 if test "$with_gnu_ld" = "notbroken"; then
14448 # GNU ld it is! Joy and bunny rabbits!
14450 # All these tests are for C++; save the language and the compiler flags.
14451 # Need to do this so that g++ won't try to link in libstdc++
14452 ac_test_CFLAGS
="${CFLAGS+set}"
14453 ac_save_CFLAGS
="$CFLAGS"
14454 CFLAGS
='-x c++ -Wl,--gc-sections'
14456 # Check for -Wl,--gc-sections
14457 # XXX This test is broken at the moment, as symbols required for linking
14458 # are now in libsupc++ (not built yet). In addition, this test has
14459 # cored on solaris in the past. In addition, --gc-sections doesn't
14460 # really work at the moment (keeps on discarding used sections, first
14461 # .eh_frame and now some of the glibc sections for iconv).
14462 # Bzzzzt. Thanks for playing, maybe next time.
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
14464 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
14465 if test "$cross_compiling" = yes; then :
14466 ac_sectionLDflags
=yes
14468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14479 if ac_fn_c_try_run
"$LINENO"; then :
14480 ac_sectionLDflags
=yes
14482 ac_sectionLDflags
=no
14484 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14485 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14488 if test "$ac_test_CFLAGS" = set; then
14489 CFLAGS
="$ac_save_CFLAGS"
14491 # this is the suspicious part
14494 if test "$ac_sectionLDflags" = "yes"; then
14495 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_sectionLDflags" >&5
14498 $as_echo "$ac_sectionLDflags" >&6; }
14501 # Set linker optimization flags.
14502 if test x
"$with_gnu_ld" = x
"yes"; then
14503 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
14511 # Check whether --enable-symvers was given.
14512 if test "${enable_symvers+set}" = set; then :
14513 enableval
=$enable_symvers;
14514 case "$enableval" in
14516 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
14525 # If we never went through the LIBGUPC_CHECK_LINKER_FEATURES macro, then we
14526 # don't know enough about $LD to do tricks...
14528 # FIXME The following test is too strict, in theory.
14529 if test $enable_shared = no ||
14531 test x
$libgupc_gnu_ld_version = x
; then
14535 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
14536 if test $enable_symvers != no
; then
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
14538 $as_echo_n "checking for shared libgcc... " >&6; }
14539 ac_save_CFLAGS
="$CFLAGS"
14541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14552 if ac_fn_c_try_link
"$LINENO"; then :
14553 libgupc_shared_libgcc
=yes
14555 libgupc_shared_libgcc
=no
14557 rm -f core conftest.err conftest.
$ac_objext \
14558 conftest
$ac_exeext conftest.
$ac_ext
14559 CFLAGS
="$ac_save_CFLAGS"
14560 if test $libgupc_shared_libgcc = no
; then
14561 cat > conftest.c
<<EOF
14562 int main (void) { return 0; }
14564 libgupc_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
14565 -shared -shared-libgcc -o conftest.so \
14566 conftest.c -v 2>&1 >/dev/null \
14567 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
14568 rm -f conftest.c conftest.so
14569 if test x
${libgupc_libgcc_s_suffix+set} = xset
; then
14570 CFLAGS
=" -lgcc_s$libgupc_libgcc_s_suffix"
14571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14582 if ac_fn_c_try_link
"$LINENO"; then :
14583 libgupc_shared_libgcc
=yes
14585 rm -f core conftest.err conftest.
$ac_objext \
14586 conftest
$ac_exeext conftest.
$ac_ext
14587 CFLAGS
="$ac_save_CFLAGS"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgupc_shared_libgcc" >&5
14591 $as_echo "$libgupc_shared_libgcc" >&6; }
14594 # For GNU ld, we need at least this version. The format is described in
14595 # LIBGUPC_CHECK_LINKER_FEATURES above.
14596 libgupc_min_gnu_ld_version
=21400
14597 # XXXXXXXXXXX libgupc_gnu_ld_version=21390
14599 # Check to see if unspecified "yes" value can win, given results above.
14600 # Change "yes" into either "no" or a style name.
14601 if test $enable_symvers = yes; then
14602 if test $with_gnu_ld = yes &&
14603 test $libgupc_shared_libgcc = yes;
14605 if test $libgupc_gnu_ld_version -ge $libgupc_min_gnu_ld_version ; then
14607 elif test $libgupc_ld_is_gold = yes ; then
14610 # The right tools, the right setup, but too old. Fallbacks?
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $libgupc_gnu_ld_version is too old for" >&5
14612 $as_echo "$as_me: WARNING: === Linker version $libgupc_gnu_ld_version is too old for" >&2;}
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
14614 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
14616 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $libgupc_min_gnu_ld_version or later and rebuild GCC." >&5
14618 $as_echo "$as_me: WARNING: === $libgupc_min_gnu_ld_version or later and rebuild GCC." >&2;}
14619 if test $libgupc_gnu_ld_version -ge 21200 ; then
14620 # Globbing fix is present, proper block support is not.
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
14622 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
14627 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
14632 # just fail for now
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested some kind of symbol versioning, but" >&5
14634 $as_echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === either you are not using a supported linker, or you are" >&5
14636 $as_echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === not building a shared libgcc_s (which is required)." >&5
14638 $as_echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
14640 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
14646 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
14647 if test "${libgupc_cv_have_as_symver_directive+set}" = set; then :
14648 $as_echo_n "(cached) " >&6
14651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14653 void foo (void); __asm (".symver foo, bar@SYMVER");
14662 if ac_fn_c_try_compile
"$LINENO"; then :
14663 libgupc_cv_have_as_symver_directive
=yes
14665 libgupc_cv_have_as_symver_directive
=no
14667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgupc_cv_have_as_symver_directive" >&5
14670 $as_echo "$libgupc_cv_have_as_symver_directive" >&6; }
14671 if test $libgupc_cv_have_as_symver_directive = yes; then
14673 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
14677 if test $enable_symvers != no
; then
14678 LIBGUPC_BUILD_VERSIONED_SHLIB_TRUE
=
14679 LIBGUPC_BUILD_VERSIONED_SHLIB_FALSE
='#'
14681 LIBGUPC_BUILD_VERSIONED_SHLIB_TRUE
='#'
14682 LIBGUPC_BUILD_VERSIONED_SHLIB_FALSE
=
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
14686 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
14689 if test $enable_symvers = gnu
; then
14691 $as_echo "#define LIBGUPC_GNU_SYMBOL_VERSIONING 1" >>confdefs.h
14695 CFLAGS
="$save_CFLAGS $XCFLAGS"
14697 # Check for __sync_val_compare_and_swap, but only after the target has
14698 # had a chance to set XCFLAGS.
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
14701 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
14702 if test "${libgupc_cv_have_sync_builtins+set}" = set; then :
14703 $as_echo_n "(cached) " >&6
14706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14712 int foo; (void) __sync_val_compare_and_swap(&foo, 0, 1);
14717 if ac_fn_c_try_link
"$LINENO"; then :
14718 libgupc_cv_have_sync_builtins
=yes
14720 libgupc_cv_have_sync_builtins
=no
14722 rm -f core conftest.err conftest.
$ac_objext \
14723 conftest
$ac_exeext conftest.
$ac_ext
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgupc_cv_have_sync_builtins" >&5
14726 $as_echo "$libgupc_cv_have_sync_builtins" >&6; }
14727 if test $libgupc_cv_have_sync_builtins = yes; then
14729 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
14733 # Check for __sync_fetch_and_add
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14735 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14736 if test "${upc_cv_sync_fetch_and_add_4+set}" = set; then :
14737 $as_echo_n "(cached) " >&6
14739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14742 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14744 int main() { return __sync_fetch_and_add (&i, 1); }
14747 if ac_fn_c_try_link
"$LINENO"; then :
14748 upc_cv_sync_fetch_and_add_4
=yes
14750 upc_cv_sync_fetch_and_add_4
=no
14752 rm -f core conftest.err conftest.
$ac_objext \
14753 conftest
$ac_exeext conftest.
$ac_ext
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_cv_sync_fetch_and_add_4" >&5
14756 $as_echo "$upc_cv_sync_fetch_and_add_4" >&6; }
14757 if test "$upc_cv_sync_fetch_and_add_4" = "yes"; then
14759 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_8" >&5
14764 $as_echo_n "checking for __sync_fetch_and_add_8... " >&6; }
14765 if test "${upc_cv_sync_fetch_and_add_8+set}" = set; then :
14766 $as_echo_n "(cached) " >&6
14768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14771 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14773 int main() { return __sync_fetch_and_add (&i, 1); }
14776 if ac_fn_c_try_link
"$LINENO"; then :
14777 upc_cv_sync_fetch_and_add_8
=yes
14779 upc_cv_sync_fetch_and_add_8
=no
14781 rm -f core conftest.err conftest.
$ac_objext \
14782 conftest
$ac_exeext conftest.
$ac_ext
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_cv_sync_fetch_and_add_8" >&5
14785 $as_echo "$upc_cv_sync_fetch_and_add_8" >&6; }
14786 if test "$upc_cv_sync_fetch_and_add_8" = "yes"; then
14788 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_8 1" >>confdefs.h
14795 # Cleanup and exit.
14796 CFLAGS
="$save_CFLAGS"
14797 cat >confcache
<<\_ACEOF
14798 # This file is a shell script that caches the results of configure
14799 # tests run on this system so they can be shared between configure
14800 # scripts and configure runs, see configure's option --config-cache.
14801 # It is not useful on other systems. If it contains results you don't
14802 # want to keep, you may remove or edit it.
14804 # config.status only pays attention to the cache file if you give it
14805 # the --recheck option to rerun configure.
14807 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14808 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14809 # following values.
14813 # The following way of writing the cache mishandles newlines in values,
14814 # but we know of no workaround that is simple, portable, and efficient.
14815 # So, we kill variables containing newlines.
14816 # Ultrix sh set writes to stderr and can't be redirected directly,
14817 # and sets the high bit in the cache file unless we assign to the vars.
14819 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14820 eval ac_val
=\$
$ac_var
14824 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14825 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14828 _ | IFS | as_nl
) ;; #(
14829 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14830 *) { eval $ac_var=; unset $ac_var;} ;;
14836 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14837 *${as_nl}ac_space
=\
*)
14838 # `set' does not quote correctly, so add quotes: double-quote
14839 # substitution turns \\\\ into \\, and sed turns \\ into \.
14842 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14845 # `set' quotes correctly as required by POSIX, so do not add quotes.
14846 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14855 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14857 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14859 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14860 if test -w "$cache_file"; then
14861 test "x$cache_file" != "x/dev/null" &&
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14863 $as_echo "$as_me: updating cache $cache_file" >&6;}
14864 cat confcache
>$cache_file
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14867 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14872 if test "x${multilib}" = xyes
; then
14873 multilib_arg
="--enable-multilib"
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
14879 $as_echo_n "checking for thread model used by GCC... " >&6; }
14880 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
14882 $as_echo "$target_thread_file" >&6; }
14884 if test $target_thread_file != single
; then
14886 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking UPC shared pointer representation" >&5
14891 $as_echo_n "checking UPC shared pointer representation... " >&6; }
14892 cat > conftest.upc
<< _ACEOF
14893 #define _XSTR(X) #X
14894 #define _STR(S) _XSTR(S)
14895 #ifdef __UPC_VADDR_FIRST__
14896 GUPCR_PTS_VADDR_FIRST=1
14898 GUPCR_PTS_VADDR_FIRST=0
14900 GUPCR_PTS_VADDR_SIZE=_STR(__UPC_VADDR_SIZE__)
14901 GUPCR_PTS_PHASE_SIZE=_STR(__UPC_PHASE_SIZE__)
14902 GUPCR_PTS_THREAD_SIZE=_STR(__UPC_THREAD_SIZE__)
14903 #if __UPC_PTS_STRUCT_REP__
14904 GUPCR_PTS_REP="struct"
14905 GUPCR_PTS_STRUCT_REP=1
14906 GUPCR_PTS_VADDR_TYPE=_STR(__UPC_VADDR_TYPE__)
14907 GUPCR_PTS_PHASE_TYPE=_STR(__UPC_PHASE_TYPE__)
14908 GUPCR_PTS_THREAD_TYPE=_STR(__UPC_THREAD_TYPE__)
14909 #if __UPC_PTS_ALIGN__
14910 GUPCR_PTS_ALIGN=_STR(__UPC_PTS_ALIGN__)
14913 GUPCR_PTS_REP="packed"
14914 GUPCR_PTS_PACKED_REP=1
14917 eval `$UPC -fno-upc-pre-include -DNO_GCC_UPC_LIB=1 -E conftest.upc | \
14918 grep '^ *GUPCR_[A-Z0-9_]*='`
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUPCR_PTS_REP" >&5
14921 $as_echo "$GUPCR_PTS_REP" >&6; }
14922 if test -z "$GUPCR_PTS_REP"; then
14923 as_fn_error
"can't determine UPC sptr representation" "$LINENO" 5
14926 GUPCR_PTS_PACKED_REP \
14927 GUPCR_PTS_PHASE_SIZE \
14928 GUPCR_PTS_PHASE_TYPE \
14930 GUPCR_PTS_STRUCT_REP \
14932 GUPCR_PTS_THREAD_SIZE \
14933 GUPCR_PTS_THREAD_TYPE \
14934 GUPCR_PTS_VADDR_FIRST \
14935 GUPCR_PTS_VADDR_SIZE \
14936 GUPCR_PTS_VADDR_TYPE
; do
14938 if test -n "$cval"; then
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking value of $cfg" >&5
14940 $as_echo_n "checking value of $cfg... " >&6; }
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cval" >&5
14942 $as_echo "$cval" >&6; }
14945 if test "$with_upc_pts" -a "$with_upc_pts" != "$GUPCR_PTS_REP" ; then
14946 as_fn_error
"--with-upc-pts=$with_upc_pts is incompatible with the
14947 UPC compiler's supported pointer-to-shared representation ($GUPCR_PTS_REP)" "$LINENO" 5
14950 cat >>confdefs.h
<<_ACEOF
14951 #define GUPCR_PTS_VADDR_SIZE $GUPCR_PTS_VADDR_SIZE
14955 cat >>confdefs.h
<<_ACEOF
14956 #define GUPCR_PTS_THREAD_SIZE $GUPCR_PTS_THREAD_SIZE
14960 cat >>confdefs.h
<<_ACEOF
14961 #define GUPCR_PTS_PHASE_SIZE $GUPCR_PTS_PHASE_SIZE
14964 if test "$GUPCR_PTS_REP" = "struct"; then
14966 $as_echo "#define GUPCR_PTS_STRUCT_REP 1" >>confdefs.h
14969 cat >>confdefs.h
<<_ACEOF
14970 #define GUPCR_PTS_VADDR_TYPE $GUPCR_PTS_VADDR_TYPE
14974 cat >>confdefs.h
<<_ACEOF
14975 #define GUPCR_PTS_THREAD_TYPE $GUPCR_PTS_THREAD_TYPE
14979 cat >>confdefs.h
<<_ACEOF
14980 #define GUPCR_PTS_PHASE_TYPE $GUPCR_PTS_PHASE_TYPE
14983 if test -n "$GUPCR_PTS_ALIGN"; then
14985 cat >>confdefs.h
<<_ACEOF
14986 #define GUPCR_PTS_ALIGN $GUPCR_PTS_ALIGN
14992 $as_echo "#define GUPCR_PTS_PACKED_REP 1" >>confdefs.h
14995 if test "$GUPCR_PTS_VADDR_FIRST" -eq 1; then
14997 $as_echo "#define GUPCR_PTS_VADDR_FIRST 1" >>confdefs.h
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime model" >&5
15003 $as_echo_n "checking for UPC runtime model... " >&6; }
15005 # Check whether --with-upc-runtime was given.
15006 if test "${with_upc_runtime+set}" = set; then :
15007 withval
=$with_upc_runtime;
15010 upc_runtime_model
=smp
15012 [Pp
][Oo
][Rr
][Tt
][Aa
][Ll
][Ss
]4)
15013 upc_runtime_model
=portals4
15016 as_fn_error
"$withval is an invalid runtime model for
15017 --with-upc-runtime" "$LINENO" 5
15023 upc_runtime_model
=smp
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_runtime_model" >&5
15028 $as_echo "$upc_runtime_model" >&6; }
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime checking support" >&5
15031 $as_echo_n "checking for UPC runtime checking support... " >&6; }
15032 # Check whether --enable-upc-runtime-checks was given.
15033 if test "${enable_upc_runtime_checks+set}" = set; then :
15034 enableval
=$enable_upc_runtime_checks;
15038 as_fn_error
"--enable-upc-runtime-checks accepts only yes or no." "$LINENO" 5
15043 enable_upc_runtime_checks
=no
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_runtime_checks" >&5
15048 $as_echo "$enable_upc_runtime_checks" >&6; }
15049 if test "$enable_upc_runtime_checks" = "yes"; then
15051 $as_echo "#define GUPCR_HAVE_CHECKS 1" >>confdefs.h
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime statistics support" >&5
15056 $as_echo_n "checking for UPC runtime statistics support... " >&6; }
15057 # Check whether --enable-upc-runtime-stats was given.
15058 if test "${enable_upc_runtime_stats+set}" = set; then :
15059 enableval
=$enable_upc_runtime_stats;
15063 as_fn_error
"--enable-upc-runtime-stats accepts only yes or no." "$LINENO" 5
15068 enable_upc_runtime_stats
=no
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_runtime_stats" >&5
15073 $as_echo "$enable_upc_runtime_stats" >&6; }
15074 if test "$enable_upc_runtime_stats" = "yes"; then
15076 $as_echo "#define GUPCR_HAVE_STATS 1" >>confdefs.h
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime trace support" >&5
15081 $as_echo_n "checking for UPC runtime trace support... " >&6; }
15082 # Check whether --enable-upc-runtime-trace was given.
15083 if test "${enable_upc_runtime_trace+set}" = set; then :
15084 enableval
=$enable_upc_runtime_trace;
15088 as_fn_error
"--enable-upc-runtime-trace accepts only yes or no." "$LINENO" 5
15093 enable_upc_runtime_trace
=no
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_runtime_trace" >&5
15098 $as_echo "$enable_upc_runtime_trace" >&6; }
15099 if test "$enable_upc_runtime_trace" = "yes"; then
15101 $as_echo "#define GUPCR_HAVE_TRACE 1" >>confdefs.h
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime debug configuration" >&5
15106 $as_echo_n "checking for UPC runtime debug configuration... " >&6; }
15107 # Check whether --enable-upc-runtime-debug was given.
15108 if test "${enable_upc_runtime_debug+set}" = set; then :
15109 enableval
=$enable_upc_runtime_debug;
15113 as_fn_error
"--enable-upc-runtime-debug accepts only yes or no." "$LINENO" 5
15118 enable_upc_runtime_debug
=no
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_runtime_debug" >&5
15123 $as_echo "$enable_upc_runtime_debug" >&6; }
15124 if test "$enable_upc_runtime_debug" = "yes"; then
15126 $as_echo "#define GUPCR_HAVE_DEBUG 1" >>confdefs.h
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC link script support" >&5
15133 $as_echo_n "checking for UPC link script support... " >&6; }
15134 # Check whether --enable-upc-link-script was given.
15135 if test "${enable_upc_link_script+set}" = set; then :
15136 enableval
=$enable_upc_link_script;
15140 as_fn_error
"--enable-upc-link-script accepts only yes or no" "$LINENO" 5
15145 enable_upc_link_script
=no
15149 if test "$enable_upc_link_script" = yes; then
15150 if test "$with_gnu_ld" = yes; then
15151 gen_ld_script
=${srcdir}/${targ_runtime}/gen-upc-ld-script.pl
15152 if ! ${LD} --verbose |
${PERL} $gen_ld_script 1>/dev
/null
; then
15153 # if gen-upc-ld-script did not accept the output of the linker
15154 # then disable UPC link script support.
15155 as_fn_error
"selected linker does not support linker scripts" "$LINENO" 5
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_link_script" >&5
15160 $as_echo "$enable_upc_link_script" >&6; }
15161 if test "$enable_upc_link_script" = yes; then
15163 $as_echo "#define HAVE_UPC_LINK_SCRIPT 1" >>confdefs.h
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime tree fanout" >&5
15168 $as_echo_n "checking for UPC runtime tree fanout... " >&6; }
15170 # Check whether --with-upc-runtime-tree-fanout was given.
15171 if test "${with_upc_runtime_tree_fanout+set}" = set; then :
15172 withval
=$with_upc_runtime_tree_fanout;
15173 # $withval must be a decimal integer
15174 if ! echo "$withval" |
grep '^[0-9][0-9]*$' >/dev
/null
2>&1; then
15175 as_fn_error
"$withval is an invalid option to
15176 --with-upc-runtime-tree-fanout" "$LINENO" 5
15178 upc_runtime_tree_fanout
="$withval"
15182 upc_runtime_tree_fanout
=4
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_runtime_tree_fanout" >&5
15187 $as_echo "$upc_runtime_tree_fanout" >&6; }
15189 cat >>confdefs.h
<<_ACEOF
15190 #define GUPCR_TREE_FANOUT $upc_runtime_tree_fanout
15194 if test "$upc_runtime_model" = "smp"; then
15195 targ_runtime_pthreads
=
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GCC __threads extension is supported." >&5
15198 $as_echo_n "checking whether the GCC __threads extension is supported.... " >&6; }
15199 if test "${upc_cv_gcc_tls_supported+set}" = set; then :
15200 $as_echo_n "(cached) " >&6
15203 LIBS
="$LIBS -lpthread"
15204 if test "$cross_compiling" = yes; then :
15205 upc_cv_gcc_tls_supported
="no"
15207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h. */
15210 #include <stddef.h>
15211 #include <malloc.h>
15213 #include <pthread.h>
15217 pthread_t p[NTHREADS];
15219 pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
15221 __thread long tlocal = 0;
15224 thread_start (void *arg)
15226 int id = *((int *)arg);
15227 int *return_val = malloc(sizeof(int));
15228 if (pthread_mutex_lock (&lock))
15230 /* if the value is truly thread-local, this assignment
15231 will yield the value 1, for each thread. If tlocal
15232 is instead a process global static value then tlocal
15233 will be incremented by each thread, and its final
15234 value will be the number of threads. */
15236 if (pthread_mutex_unlock (&lock))
15238 *return_val = tlocal;
15246 for (i = 0; i < NTHREADS; ++i)
15248 int *id = (int *)malloc(sizeof(int));
15250 if (pthread_create(&p[i], NULL, thread_start, id))
15253 for (i = 0; i < NTHREADS; ++i)
15256 if (pthread_join (p[i], (void **)&rc))
15265 if ac_fn_c_try_run
"$LINENO"; then :
15266 upc_cv_gcc_tls_supported
="yes"
15268 upc_cv_gcc_tls_supported
="no"
15270 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15271 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_cv_gcc_tls_supported" >&5
15278 $as_echo "$upc_cv_gcc_tls_supported" >&6; }
15280 if test "$upc_cv_gcc_tls_supported"x
= "yes"x
; then
15281 targ_runtime_pthreads
=yes
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux scheduling affinity" >&5
15284 $as_echo_n "checking for Linux scheduling affinity... " >&6; }
15285 if test "$cross_compiling" = yes; then :
15289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15291 #define _GNU_SOURCE
15296 unsigned int len = sizeof(mask);
15297 if (sched_getaffinity(0, len, &mask) < 0) {
15304 if ac_fn_c_try_run
"$LINENO"; then :
15309 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15310 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15313 if test "x$enable_upc_affinity" = "xyes" &&
15314 test "x$upc_affinity" = "xno"; then
15315 as_fn_error
"scheduling affinity enabled but not supported
15316 - use --disable-upc-affinity" "$LINENO" 5
15318 if test "x$enable_upc_affinity" = "xno"; then
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_affinity" >&5
15322 $as_echo "$upc_affinity" >&6; }
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if NUMA available" >&5
15324 $as_echo_n "checking if NUMA available... " >&6; }
15327 if test "$cross_compiling" = yes; then :
15330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15336 if (numa_available() < 0) return 1;
15341 if ac_fn_c_try_run
"$LINENO"; then :
15346 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15347 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15351 if test "x$enable_upc_numa" = "xyes" &&
15352 test "x$upc_numa" = "xno"; then
15353 as_fn_error
"NUMA enabled but not supported - use --disable-upc-numa" "$LINENO" 5
15355 if test "x$enable_upc_numa" = "xno" \
15356 -o "x$enable_upc_affinity" = "xno"; then
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_numa" >&5
15360 $as_echo "$upc_numa" >&6; }
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC GUM debugging support" >&5
15362 $as_echo_n "checking for UPC GUM debugging support... " >&6; }
15363 # Check whether --enable-upc-gum-debug was given.
15364 if test "${enable_upc_gum_debug+set}" = set; then :
15365 enableval
=$enable_upc_gum_debug;
15369 as_fn_error
"--enable-upc-gum-debug accepts only yes or no" "$LINENO" 5
15371 upc_gum_debug
=$enableval
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_gum_debug" >&5
15380 $as_echo "$upc_gum_debug" >&6; }
15381 if test "x${upc_gum_debug}" = "xyes"; then
15383 cat >>confdefs.h
<<_ACEOF
15384 #define GUPCR_HAVE_GUM_DEBUG 1
15388 # Use the generic (reference implementation)
15389 use_generic_collectives
="yes"
15395 DX_PROJECT
=${PACKAGE}
15399 DX_CONFIG
=doxygen.cfg
15404 # Environment variables used inside doxygen.cfg:
15405 DX_ENV
="$DX_ENV SRCDIR='$srcdir'"
15407 DX_ENV
="$DX_ENV PROJECT='$DX_PROJECT'"
15409 DX_ENV
="$DX_ENV DOCDIR='$DX_DOCDIR'"
15411 DX_ENV
="$DX_ENV VERSION='$PACKAGE_VERSION'"
15418 # Check whether --enable-doxygen-doc was given.
15419 if test "${enable_doxygen_doc+set}" = set; then :
15420 enableval
=$enable_doxygen_doc;
15421 case "$enableval" in
15433 as_fn_error
"invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
15445 if test "$DX_FLAG_doc" = 1; then
15447 if test -n "$ac_tool_prefix"; then
15448 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
15449 set dummy
${ac_tool_prefix}doxygen
; ac_word
=$2
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15451 $as_echo_n "checking for $ac_word... " >&6; }
15452 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
15453 $as_echo_n "(cached) " >&6
15455 case $DX_DOXYGEN in
15457 ac_cv_path_DX_DOXYGEN
="$DX_DOXYGEN" # Let the user override the test with a path.
15460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15461 for as_dir
in $PATH
15464 test -z "$as_dir" && as_dir
=.
15465 for ac_exec_ext
in '' $ac_executable_extensions; do
15466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15467 ac_cv_path_DX_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15478 DX_DOXYGEN
=$ac_cv_path_DX_DOXYGEN
15479 if test -n "$DX_DOXYGEN"; then
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
15481 $as_echo "$DX_DOXYGEN" >&6; }
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15484 $as_echo "no" >&6; }
15489 if test -z "$ac_cv_path_DX_DOXYGEN"; then
15490 ac_pt_DX_DOXYGEN
=$DX_DOXYGEN
15491 # Extract the first word of "doxygen", so it can be a program name with args.
15492 set dummy doxygen
; ac_word
=$2
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15494 $as_echo_n "checking for $ac_word... " >&6; }
15495 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
15496 $as_echo_n "(cached) " >&6
15498 case $ac_pt_DX_DOXYGEN in
15500 ac_cv_path_ac_pt_DX_DOXYGEN
="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
15503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15504 for as_dir
in $PATH
15507 test -z "$as_dir" && as_dir
=.
15508 for ac_exec_ext
in '' $ac_executable_extensions; do
15509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15510 ac_cv_path_ac_pt_DX_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15521 ac_pt_DX_DOXYGEN
=$ac_cv_path_ac_pt_DX_DOXYGEN
15522 if test -n "$ac_pt_DX_DOXYGEN"; then
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
15524 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15527 $as_echo "no" >&6; }
15530 if test "x$ac_pt_DX_DOXYGEN" = x
; then
15533 case $cross_compiling:$ac_tool_warned in
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15537 ac_tool_warned
=yes ;;
15539 DX_DOXYGEN
=$ac_pt_DX_DOXYGEN
15542 DX_DOXYGEN
="$ac_cv_path_DX_DOXYGEN"
15545 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
15547 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
15553 if test -n "$ac_tool_prefix"; then
15554 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
15555 set dummy
${ac_tool_prefix}perl
; ac_word
=$2
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15557 $as_echo_n "checking for $ac_word... " >&6; }
15558 if test "${ac_cv_path_DX_PERL+set}" = set; then :
15559 $as_echo_n "(cached) " >&6
15563 ac_cv_path_DX_PERL
="$DX_PERL" # Let the user override the test with a path.
15566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15567 for as_dir
in $PATH
15570 test -z "$as_dir" && as_dir
=.
15571 for ac_exec_ext
in '' $ac_executable_extensions; do
15572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15573 ac_cv_path_DX_PERL
="$as_dir/$ac_word$ac_exec_ext"
15574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15584 DX_PERL
=$ac_cv_path_DX_PERL
15585 if test -n "$DX_PERL"; then
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
15587 $as_echo "$DX_PERL" >&6; }
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15590 $as_echo "no" >&6; }
15595 if test -z "$ac_cv_path_DX_PERL"; then
15596 ac_pt_DX_PERL
=$DX_PERL
15597 # Extract the first word of "perl", so it can be a program name with args.
15598 set dummy perl
; ac_word
=$2
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15600 $as_echo_n "checking for $ac_word... " >&6; }
15601 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
15602 $as_echo_n "(cached) " >&6
15604 case $ac_pt_DX_PERL in
15606 ac_cv_path_ac_pt_DX_PERL
="$ac_pt_DX_PERL" # Let the user override the test with a path.
15609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15610 for as_dir
in $PATH
15613 test -z "$as_dir" && as_dir
=.
15614 for ac_exec_ext
in '' $ac_executable_extensions; do
15615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15616 ac_cv_path_ac_pt_DX_PERL
="$as_dir/$ac_word$ac_exec_ext"
15617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15627 ac_pt_DX_PERL
=$ac_cv_path_ac_pt_DX_PERL
15628 if test -n "$ac_pt_DX_PERL"; then
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
15630 $as_echo "$ac_pt_DX_PERL" >&6; }
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15633 $as_echo "no" >&6; }
15636 if test "x$ac_pt_DX_PERL" = x
; then
15639 case $cross_compiling:$ac_tool_warned in
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15643 ac_tool_warned
=yes ;;
15645 DX_PERL
=$ac_pt_DX_PERL
15648 DX_PERL
="$ac_cv_path_DX_PERL"
15651 if test "$DX_FLAG_doc$DX_PERL" = 1; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
15653 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
15659 if test -n "$ac_tool_prefix"; then
15660 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
15661 set dummy
${ac_tool_prefix}file; ac_word
=$2
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15663 $as_echo_n "checking for $ac_word... " >&6; }
15664 if test "${ac_cv_path_DX_FILE+set}" = set; then :
15665 $as_echo_n "(cached) " >&6
15669 ac_cv_path_DX_FILE
="$DX_FILE" # Let the user override the test with a path.
15672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15673 for as_dir
in $PATH
15676 test -z "$as_dir" && as_dir
=.
15677 for ac_exec_ext
in '' $ac_executable_extensions; do
15678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15679 ac_cv_path_DX_FILE
="$as_dir/$ac_word$ac_exec_ext"
15680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15690 DX_FILE
=$ac_cv_path_DX_FILE
15691 if test -n "$DX_FILE"; then
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_FILE" >&5
15693 $as_echo "$DX_FILE" >&6; }
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15696 $as_echo "no" >&6; }
15701 if test -z "$ac_cv_path_DX_FILE"; then
15702 ac_pt_DX_FILE
=$DX_FILE
15703 # Extract the first word of "file", so it can be a program name with args.
15704 set dummy
file; ac_word
=$2
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15706 $as_echo_n "checking for $ac_word... " >&6; }
15707 if test "${ac_cv_path_ac_pt_DX_FILE+set}" = set; then :
15708 $as_echo_n "(cached) " >&6
15710 case $ac_pt_DX_FILE in
15712 ac_cv_path_ac_pt_DX_FILE
="$ac_pt_DX_FILE" # Let the user override the test with a path.
15715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15716 for as_dir
in $PATH
15719 test -z "$as_dir" && as_dir
=.
15720 for ac_exec_ext
in '' $ac_executable_extensions; do
15721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15722 ac_cv_path_ac_pt_DX_FILE
="$as_dir/$ac_word$ac_exec_ext"
15723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15733 ac_pt_DX_FILE
=$ac_cv_path_ac_pt_DX_FILE
15734 if test -n "$ac_pt_DX_FILE"; then
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_FILE" >&5
15736 $as_echo "$ac_pt_DX_FILE" >&6; }
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15739 $as_echo "no" >&6; }
15742 if test "x$ac_pt_DX_FILE" = x
; then
15745 case $cross_compiling:$ac_tool_warned in
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15749 ac_tool_warned
=yes ;;
15751 DX_FILE
=$ac_pt_DX_FILE
15754 DX_FILE
="$ac_cv_path_DX_FILE"
15757 if test "$DX_FLAG_doc$DX_FILE" = 1; then
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: file not found - will not generate any doxygen documentation" >&5
15759 $as_echo "$as_me: WARNING: file not found - will not generate any doxygen documentation" >&2;}
15766 if test "$DX_FLAG_doc" = 1; then
15769 DX_COND_doc_FALSE
='#'
15771 DX_COND_doc_TRUE
='#'
15775 DX_ENV
="$DX_ENV PERL_PATH='$DX_PERL'"
15777 DOXYGEN_VERSION
=`${DX_DOXYGEN} --version`
15783 DX_COND_doc_FALSE
='#'
15785 DX_COND_doc_TRUE
='#'
15794 # Dot for graphics:
15798 # Check whether --enable-doxygen-dot was given.
15799 if test "${enable_doxygen_dot+set}" = set; then :
15800 enableval
=$enable_doxygen_dot;
15801 case "$enableval" in
15807 test "$DX_FLAG_doc" = "1" \
15808 || as_fn_error
"doxygen-dot requires doxygen-dot" "$LINENO" 5
15816 as_fn_error
"invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
15825 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot
=0
15831 if test "$DX_FLAG_dot" = 1; then
15833 if test -n "$ac_tool_prefix"; then
15834 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
15835 set dummy
${ac_tool_prefix}dot
; ac_word
=$2
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15837 $as_echo_n "checking for $ac_word... " >&6; }
15838 if test "${ac_cv_path_DX_DOT+set}" = set; then :
15839 $as_echo_n "(cached) " >&6
15843 ac_cv_path_DX_DOT
="$DX_DOT" # Let the user override the test with a path.
15846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15847 for as_dir
in $PATH
15850 test -z "$as_dir" && as_dir
=.
15851 for ac_exec_ext
in '' $ac_executable_extensions; do
15852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15853 ac_cv_path_DX_DOT
="$as_dir/$ac_word$ac_exec_ext"
15854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15864 DX_DOT
=$ac_cv_path_DX_DOT
15865 if test -n "$DX_DOT"; then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
15867 $as_echo "$DX_DOT" >&6; }
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15870 $as_echo "no" >&6; }
15875 if test -z "$ac_cv_path_DX_DOT"; then
15876 ac_pt_DX_DOT
=$DX_DOT
15877 # Extract the first word of "dot", so it can be a program name with args.
15878 set dummy dot
; ac_word
=$2
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15880 $as_echo_n "checking for $ac_word... " >&6; }
15881 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
15882 $as_echo_n "(cached) " >&6
15884 case $ac_pt_DX_DOT in
15886 ac_cv_path_ac_pt_DX_DOT
="$ac_pt_DX_DOT" # Let the user override the test with a path.
15889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15890 for as_dir
in $PATH
15893 test -z "$as_dir" && as_dir
=.
15894 for ac_exec_ext
in '' $ac_executable_extensions; do
15895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15896 ac_cv_path_ac_pt_DX_DOT
="$as_dir/$ac_word$ac_exec_ext"
15897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15907 ac_pt_DX_DOT
=$ac_cv_path_ac_pt_DX_DOT
15908 if test -n "$ac_pt_DX_DOT"; then
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
15910 $as_echo "$ac_pt_DX_DOT" >&6; }
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15913 $as_echo "no" >&6; }
15916 if test "x$ac_pt_DX_DOT" = x
; then
15919 case $cross_compiling:$ac_tool_warned in
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15923 ac_tool_warned
=yes ;;
15925 DX_DOT
=$ac_pt_DX_DOT
15928 DX_DOT
="$ac_cv_path_DX_DOT"
15931 if test "$DX_FLAG_dot$DX_DOT" = 1; then
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
15933 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
15940 if test "$DX_FLAG_dot" = 1; then
15943 DX_COND_dot_FALSE
='#'
15945 DX_COND_dot_TRUE
='#'
15949 DX_ENV
="$DX_ENV HAVE_DOT='YES'"
15953 DX_ENV
="$DX_ENV DOT_PATH='`expr ".
$DX_DOT" : '\(\.\)[^/]*$' \| "x
$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
15959 DX_COND_dot_FALSE
='#'
15961 DX_COND_dot_TRUE
='#'
15967 DX_ENV
="$DX_ENV HAVE_DOT='NO'"
15973 # Man pages generation:
15977 # Check whether --enable-doxygen-man was given.
15978 if test "${enable_doxygen_man+set}" = set; then :
15979 enableval
=$enable_doxygen_man;
15980 case "$enableval" in
15986 test "$DX_FLAG_doc" = "1" \
15987 || as_fn_error
"doxygen-man requires doxygen-man" "$LINENO" 5
15995 as_fn_error
"invalid value '$enableval' given to doxygen-man" "$LINENO" 5
16004 test "$DX_FLAG_doc" = "1" || DX_FLAG_man
=0
16010 if test "$DX_FLAG_man" = 1; then
16014 if test "$DX_FLAG_man" = 1; then
16017 DX_COND_man_FALSE
='#'
16019 DX_COND_man_TRUE
='#'
16023 DX_ENV
="$DX_ENV GENERATE_MAN='YES'"
16029 DX_COND_man_FALSE
='#'
16031 DX_COND_man_TRUE
='#'
16035 DX_ENV
="$DX_ENV GENERATE_MAN='NO'"
16041 # RTF file generation:
16045 # Check whether --enable-doxygen-rtf was given.
16046 if test "${enable_doxygen_rtf+set}" = set; then :
16047 enableval
=$enable_doxygen_rtf;
16048 case "$enableval" in
16054 test "$DX_FLAG_doc" = "1" \
16055 || as_fn_error
"doxygen-rtf requires doxygen-rtf" "$LINENO" 5
16063 as_fn_error
"invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
16072 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf
=0
16078 if test "$DX_FLAG_rtf" = 1; then
16082 if test "$DX_FLAG_rtf" = 1; then
16085 DX_COND_rtf_FALSE
='#'
16087 DX_COND_rtf_TRUE
='#'
16091 DX_ENV
="$DX_ENV GENERATE_RTF='YES'"
16097 DX_COND_rtf_FALSE
='#'
16099 DX_COND_rtf_TRUE
='#'
16103 DX_ENV
="$DX_ENV GENERATE_RTF='NO'"
16109 # XML file generation:
16113 # Check whether --enable-doxygen-xml was given.
16114 if test "${enable_doxygen_xml+set}" = set; then :
16115 enableval
=$enable_doxygen_xml;
16116 case "$enableval" in
16122 test "$DX_FLAG_doc" = "1" \
16123 || as_fn_error
"doxygen-xml requires doxygen-xml" "$LINENO" 5
16131 as_fn_error
"invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
16140 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml
=0
16146 if test "$DX_FLAG_xml" = 1; then
16150 if test "$DX_FLAG_xml" = 1; then
16153 DX_COND_xml_FALSE
='#'
16155 DX_COND_xml_TRUE
='#'
16159 DX_ENV
="$DX_ENV GENERATE_XML='YES'"
16165 DX_COND_xml_FALSE
='#'
16167 DX_COND_xml_TRUE
='#'
16171 DX_ENV
="$DX_ENV GENERATE_XML='NO'"
16177 # (Compressed) HTML help generation:
16181 # Check whether --enable-doxygen-chm was given.
16182 if test "${enable_doxygen_chm+set}" = set; then :
16183 enableval
=$enable_doxygen_chm;
16184 case "$enableval" in
16190 test "$DX_FLAG_doc" = "1" \
16191 || as_fn_error
"doxygen-chm requires doxygen-chm" "$LINENO" 5
16199 as_fn_error
"invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
16208 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm
=0
16214 if test "$DX_FLAG_chm" = 1; then
16216 if test -n "$ac_tool_prefix"; then
16217 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
16218 set dummy
${ac_tool_prefix}hhc
; ac_word
=$2
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16220 $as_echo_n "checking for $ac_word... " >&6; }
16221 if test "${ac_cv_path_DX_HHC+set}" = set; then :
16222 $as_echo_n "(cached) " >&6
16226 ac_cv_path_DX_HHC
="$DX_HHC" # Let the user override the test with a path.
16229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16230 for as_dir
in $PATH
16233 test -z "$as_dir" && as_dir
=.
16234 for ac_exec_ext
in '' $ac_executable_extensions; do
16235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16236 ac_cv_path_DX_HHC
="$as_dir/$ac_word$ac_exec_ext"
16237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16247 DX_HHC
=$ac_cv_path_DX_HHC
16248 if test -n "$DX_HHC"; then
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
16250 $as_echo "$DX_HHC" >&6; }
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16253 $as_echo "no" >&6; }
16258 if test -z "$ac_cv_path_DX_HHC"; then
16259 ac_pt_DX_HHC
=$DX_HHC
16260 # Extract the first word of "hhc", so it can be a program name with args.
16261 set dummy hhc
; ac_word
=$2
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16263 $as_echo_n "checking for $ac_word... " >&6; }
16264 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
16265 $as_echo_n "(cached) " >&6
16267 case $ac_pt_DX_HHC in
16269 ac_cv_path_ac_pt_DX_HHC
="$ac_pt_DX_HHC" # Let the user override the test with a path.
16272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16273 for as_dir
in $PATH
16276 test -z "$as_dir" && as_dir
=.
16277 for ac_exec_ext
in '' $ac_executable_extensions; do
16278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16279 ac_cv_path_ac_pt_DX_HHC
="$as_dir/$ac_word$ac_exec_ext"
16280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16290 ac_pt_DX_HHC
=$ac_cv_path_ac_pt_DX_HHC
16291 if test -n "$ac_pt_DX_HHC"; then
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
16293 $as_echo "$ac_pt_DX_HHC" >&6; }
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16296 $as_echo "no" >&6; }
16299 if test "x$ac_pt_DX_HHC" = x
; then
16302 case $cross_compiling:$ac_tool_warned in
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16306 ac_tool_warned
=yes ;;
16308 DX_HHC
=$ac_pt_DX_HHC
16311 DX_HHC
="$ac_cv_path_DX_HHC"
16314 if test "$DX_FLAG_chm$DX_HHC" = 1; then
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
16316 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
16323 if test "$DX_FLAG_chm" = 1; then
16326 DX_COND_chm_FALSE
='#'
16328 DX_COND_chm_TRUE
='#'
16332 DX_ENV
="$DX_ENV HHC_PATH='$DX_HHC'"
16334 DX_ENV
="$DX_ENV GENERATE_HTML='YES'"
16336 DX_ENV
="$DX_ENV GENERATE_HTMLHELP='YES'"
16342 DX_COND_chm_FALSE
='#'
16344 DX_COND_chm_TRUE
='#'
16348 DX_ENV
="$DX_ENV GENERATE_HTMLHELP='NO'"
16354 # Seperate CHI file generation.
16358 # Check whether --enable-doxygen-chi was given.
16359 if test "${enable_doxygen_chi+set}" = set; then :
16360 enableval
=$enable_doxygen_chi;
16361 case "$enableval" in
16367 test "$DX_FLAG_chm" = "1" \
16368 || as_fn_error
"doxygen-chi requires doxygen-chi" "$LINENO" 5
16376 as_fn_error
"invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
16385 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi
=0
16391 if test "$DX_FLAG_chi" = 1; then
16395 if test "$DX_FLAG_chi" = 1; then
16398 DX_COND_chi_FALSE
='#'
16400 DX_COND_chi_TRUE
='#'
16404 DX_ENV
="$DX_ENV GENERATE_CHI='YES'"
16410 DX_COND_chi_FALSE
='#'
16412 DX_COND_chi_TRUE
='#'
16416 DX_ENV
="$DX_ENV GENERATE_CHI='NO'"
16422 # Plain HTML pages generation:
16426 # Check whether --enable-doxygen-html was given.
16427 if test "${enable_doxygen_html+set}" = set; then :
16428 enableval
=$enable_doxygen_html;
16429 case "$enableval" in
16435 test "$DX_FLAG_doc" = "1" \
16436 || as_fn_error
"doxygen-html requires doxygen-html" "$LINENO" 5
16438 test "$DX_FLAG_chm" = "0" \
16439 || as_fn_error
"doxygen-html contradicts doxygen-html" "$LINENO" 5
16447 as_fn_error
"invalid value '$enableval' given to doxygen-html" "$LINENO" 5
16456 test "$DX_FLAG_doc" = "1" || DX_FLAG_html
=0
16459 test "$DX_FLAG_chm" = "0" || DX_FLAG_html
=0
16465 if test "$DX_FLAG_html" = 1; then
16469 if test "$DX_FLAG_html" = 1; then
16472 DX_COND_html_FALSE
='#'
16474 DX_COND_html_TRUE
='#'
16475 DX_COND_html_FALSE
=
16478 DX_ENV
="$DX_ENV GENERATE_HTML='YES'"
16484 DX_COND_html_FALSE
='#'
16486 DX_COND_html_TRUE
='#'
16487 DX_COND_html_FALSE
=
16490 test "$DX_FLAG_chm" = 1 || DX_ENV
="$DX_ENV GENERATE_HTML='NO'"
16496 # PostScript file generation:
16500 # Check whether --enable-doxygen-ps was given.
16501 if test "${enable_doxygen_ps+set}" = set; then :
16502 enableval
=$enable_doxygen_ps;
16503 case "$enableval" in
16509 test "$DX_FLAG_doc" = "1" \
16510 || as_fn_error
"doxygen-ps requires doxygen-ps" "$LINENO" 5
16518 as_fn_error
"invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
16527 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps
=0
16533 if test "$DX_FLAG_ps" = 1; then
16535 if test -n "$ac_tool_prefix"; then
16536 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
16537 set dummy
${ac_tool_prefix}latex
; ac_word
=$2
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16539 $as_echo_n "checking for $ac_word... " >&6; }
16540 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
16541 $as_echo_n "(cached) " >&6
16545 ac_cv_path_DX_LATEX
="$DX_LATEX" # Let the user override the test with a path.
16548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16549 for as_dir
in $PATH
16552 test -z "$as_dir" && as_dir
=.
16553 for ac_exec_ext
in '' $ac_executable_extensions; do
16554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16555 ac_cv_path_DX_LATEX
="$as_dir/$ac_word$ac_exec_ext"
16556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16566 DX_LATEX
=$ac_cv_path_DX_LATEX
16567 if test -n "$DX_LATEX"; then
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
16569 $as_echo "$DX_LATEX" >&6; }
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16572 $as_echo "no" >&6; }
16577 if test -z "$ac_cv_path_DX_LATEX"; then
16578 ac_pt_DX_LATEX
=$DX_LATEX
16579 # Extract the first word of "latex", so it can be a program name with args.
16580 set dummy latex
; ac_word
=$2
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16582 $as_echo_n "checking for $ac_word... " >&6; }
16583 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
16584 $as_echo_n "(cached) " >&6
16586 case $ac_pt_DX_LATEX in
16588 ac_cv_path_ac_pt_DX_LATEX
="$ac_pt_DX_LATEX" # Let the user override the test with a path.
16591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16592 for as_dir
in $PATH
16595 test -z "$as_dir" && as_dir
=.
16596 for ac_exec_ext
in '' $ac_executable_extensions; do
16597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16598 ac_cv_path_ac_pt_DX_LATEX
="$as_dir/$ac_word$ac_exec_ext"
16599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16609 ac_pt_DX_LATEX
=$ac_cv_path_ac_pt_DX_LATEX
16610 if test -n "$ac_pt_DX_LATEX"; then
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
16612 $as_echo "$ac_pt_DX_LATEX" >&6; }
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16615 $as_echo "no" >&6; }
16618 if test "x$ac_pt_DX_LATEX" = x
; then
16621 case $cross_compiling:$ac_tool_warned in
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16625 ac_tool_warned
=yes ;;
16627 DX_LATEX
=$ac_pt_DX_LATEX
16630 DX_LATEX
="$ac_cv_path_DX_LATEX"
16633 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
16635 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
16641 if test -n "$ac_tool_prefix"; then
16642 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
16643 set dummy
${ac_tool_prefix}makeindex
; ac_word
=$2
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16645 $as_echo_n "checking for $ac_word... " >&6; }
16646 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
16647 $as_echo_n "(cached) " >&6
16649 case $DX_MAKEINDEX in
16651 ac_cv_path_DX_MAKEINDEX
="$DX_MAKEINDEX" # Let the user override the test with a path.
16654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16655 for as_dir
in $PATH
16658 test -z "$as_dir" && as_dir
=.
16659 for ac_exec_ext
in '' $ac_executable_extensions; do
16660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16661 ac_cv_path_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
16662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16672 DX_MAKEINDEX
=$ac_cv_path_DX_MAKEINDEX
16673 if test -n "$DX_MAKEINDEX"; then
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
16675 $as_echo "$DX_MAKEINDEX" >&6; }
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16678 $as_echo "no" >&6; }
16683 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
16684 ac_pt_DX_MAKEINDEX
=$DX_MAKEINDEX
16685 # Extract the first word of "makeindex", so it can be a program name with args.
16686 set dummy makeindex
; ac_word
=$2
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16688 $as_echo_n "checking for $ac_word... " >&6; }
16689 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
16690 $as_echo_n "(cached) " >&6
16692 case $ac_pt_DX_MAKEINDEX in
16694 ac_cv_path_ac_pt_DX_MAKEINDEX
="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
16697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16698 for as_dir
in $PATH
16701 test -z "$as_dir" && as_dir
=.
16702 for ac_exec_ext
in '' $ac_executable_extensions; do
16703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16704 ac_cv_path_ac_pt_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
16705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16715 ac_pt_DX_MAKEINDEX
=$ac_cv_path_ac_pt_DX_MAKEINDEX
16716 if test -n "$ac_pt_DX_MAKEINDEX"; then
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16718 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16721 $as_echo "no" >&6; }
16724 if test "x$ac_pt_DX_MAKEINDEX" = x
; then
16727 case $cross_compiling:$ac_tool_warned in
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16731 ac_tool_warned
=yes ;;
16733 DX_MAKEINDEX
=$ac_pt_DX_MAKEINDEX
16736 DX_MAKEINDEX
="$ac_cv_path_DX_MAKEINDEX"
16739 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
16741 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
16747 if test -n "$ac_tool_prefix"; then
16748 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
16749 set dummy
${ac_tool_prefix}dvips
; ac_word
=$2
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16751 $as_echo_n "checking for $ac_word... " >&6; }
16752 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
16753 $as_echo_n "(cached) " >&6
16757 ac_cv_path_DX_DVIPS
="$DX_DVIPS" # Let the user override the test with a path.
16760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16761 for as_dir
in $PATH
16764 test -z "$as_dir" && as_dir
=.
16765 for ac_exec_ext
in '' $ac_executable_extensions; do
16766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16767 ac_cv_path_DX_DVIPS
="$as_dir/$ac_word$ac_exec_ext"
16768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16778 DX_DVIPS
=$ac_cv_path_DX_DVIPS
16779 if test -n "$DX_DVIPS"; then
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
16781 $as_echo "$DX_DVIPS" >&6; }
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16784 $as_echo "no" >&6; }
16789 if test -z "$ac_cv_path_DX_DVIPS"; then
16790 ac_pt_DX_DVIPS
=$DX_DVIPS
16791 # Extract the first word of "dvips", so it can be a program name with args.
16792 set dummy dvips
; ac_word
=$2
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16794 $as_echo_n "checking for $ac_word... " >&6; }
16795 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
16796 $as_echo_n "(cached) " >&6
16798 case $ac_pt_DX_DVIPS in
16800 ac_cv_path_ac_pt_DX_DVIPS
="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
16803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16804 for as_dir
in $PATH
16807 test -z "$as_dir" && as_dir
=.
16808 for ac_exec_ext
in '' $ac_executable_extensions; do
16809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16810 ac_cv_path_ac_pt_DX_DVIPS
="$as_dir/$ac_word$ac_exec_ext"
16811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16821 ac_pt_DX_DVIPS
=$ac_cv_path_ac_pt_DX_DVIPS
16822 if test -n "$ac_pt_DX_DVIPS"; then
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
16824 $as_echo "$ac_pt_DX_DVIPS" >&6; }
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16827 $as_echo "no" >&6; }
16830 if test "x$ac_pt_DX_DVIPS" = x
; then
16833 case $cross_compiling:$ac_tool_warned in
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16837 ac_tool_warned
=yes ;;
16839 DX_DVIPS
=$ac_pt_DX_DVIPS
16842 DX_DVIPS
="$ac_cv_path_DX_DVIPS"
16845 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
16847 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
16853 if test -n "$ac_tool_prefix"; then
16854 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16855 set dummy
${ac_tool_prefix}egrep; ac_word
=$2
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16857 $as_echo_n "checking for $ac_word... " >&6; }
16858 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
16859 $as_echo_n "(cached) " >&6
16863 ac_cv_path_DX_EGREP
="$DX_EGREP" # Let the user override the test with a path.
16866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16867 for as_dir
in $PATH
16870 test -z "$as_dir" && as_dir
=.
16871 for ac_exec_ext
in '' $ac_executable_extensions; do
16872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16873 ac_cv_path_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
16874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16884 DX_EGREP
=$ac_cv_path_DX_EGREP
16885 if test -n "$DX_EGREP"; then
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
16887 $as_echo "$DX_EGREP" >&6; }
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16890 $as_echo "no" >&6; }
16895 if test -z "$ac_cv_path_DX_EGREP"; then
16896 ac_pt_DX_EGREP
=$DX_EGREP
16897 # Extract the first word of "egrep", so it can be a program name with args.
16898 set dummy
egrep; ac_word
=$2
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16900 $as_echo_n "checking for $ac_word... " >&6; }
16901 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
16902 $as_echo_n "(cached) " >&6
16904 case $ac_pt_DX_EGREP in
16906 ac_cv_path_ac_pt_DX_EGREP
="$ac_pt_DX_EGREP" # Let the user override the test with a path.
16909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16910 for as_dir
in $PATH
16913 test -z "$as_dir" && as_dir
=.
16914 for ac_exec_ext
in '' $ac_executable_extensions; do
16915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16916 ac_cv_path_ac_pt_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
16917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16927 ac_pt_DX_EGREP
=$ac_cv_path_ac_pt_DX_EGREP
16928 if test -n "$ac_pt_DX_EGREP"; then
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
16930 $as_echo "$ac_pt_DX_EGREP" >&6; }
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16933 $as_echo "no" >&6; }
16936 if test "x$ac_pt_DX_EGREP" = x
; then
16939 case $cross_compiling:$ac_tool_warned in
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16943 ac_tool_warned
=yes ;;
16945 DX_EGREP
=$ac_pt_DX_EGREP
16948 DX_EGREP
="$ac_cv_path_DX_EGREP"
16951 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
16953 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
16960 if test "$DX_FLAG_ps" = 1; then
16963 DX_COND_ps_FALSE
='#'
16965 DX_COND_ps_TRUE
='#'
16974 DX_COND_ps_FALSE
='#'
16976 DX_COND_ps_TRUE
='#'
16985 # PDF file generation:
16989 # Check whether --enable-doxygen-pdf was given.
16990 if test "${enable_doxygen_pdf+set}" = set; then :
16991 enableval
=$enable_doxygen_pdf;
16992 case "$enableval" in
16998 test "$DX_FLAG_doc" = "1" \
16999 || as_fn_error
"doxygen-pdf requires doxygen-pdf" "$LINENO" 5
17007 as_fn_error
"invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
17016 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf
=0
17022 if test "$DX_FLAG_pdf" = 1; then
17024 if test -n "$ac_tool_prefix"; then
17025 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
17026 set dummy
${ac_tool_prefix}pdflatex
; ac_word
=$2
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17028 $as_echo_n "checking for $ac_word... " >&6; }
17029 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
17030 $as_echo_n "(cached) " >&6
17032 case $DX_PDFLATEX in
17034 ac_cv_path_DX_PDFLATEX
="$DX_PDFLATEX" # Let the user override the test with a path.
17037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17038 for as_dir
in $PATH
17041 test -z "$as_dir" && as_dir
=.
17042 for ac_exec_ext
in '' $ac_executable_extensions; do
17043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17044 ac_cv_path_DX_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
17045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17055 DX_PDFLATEX
=$ac_cv_path_DX_PDFLATEX
17056 if test -n "$DX_PDFLATEX"; then
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
17058 $as_echo "$DX_PDFLATEX" >&6; }
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17061 $as_echo "no" >&6; }
17066 if test -z "$ac_cv_path_DX_PDFLATEX"; then
17067 ac_pt_DX_PDFLATEX
=$DX_PDFLATEX
17068 # Extract the first word of "pdflatex", so it can be a program name with args.
17069 set dummy pdflatex
; ac_word
=$2
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17071 $as_echo_n "checking for $ac_word... " >&6; }
17072 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
17073 $as_echo_n "(cached) " >&6
17075 case $ac_pt_DX_PDFLATEX in
17077 ac_cv_path_ac_pt_DX_PDFLATEX
="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
17080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17081 for as_dir
in $PATH
17084 test -z "$as_dir" && as_dir
=.
17085 for ac_exec_ext
in '' $ac_executable_extensions; do
17086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17087 ac_cv_path_ac_pt_DX_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
17088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17098 ac_pt_DX_PDFLATEX
=$ac_cv_path_ac_pt_DX_PDFLATEX
17099 if test -n "$ac_pt_DX_PDFLATEX"; then
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
17101 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17104 $as_echo "no" >&6; }
17107 if test "x$ac_pt_DX_PDFLATEX" = x
; then
17110 case $cross_compiling:$ac_tool_warned in
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17114 ac_tool_warned
=yes ;;
17116 DX_PDFLATEX
=$ac_pt_DX_PDFLATEX
17119 DX_PDFLATEX
="$ac_cv_path_DX_PDFLATEX"
17122 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
17124 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
17130 if test -n "$ac_tool_prefix"; then
17131 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
17132 set dummy
${ac_tool_prefix}makeindex
; ac_word
=$2
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17134 $as_echo_n "checking for $ac_word... " >&6; }
17135 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
17136 $as_echo_n "(cached) " >&6
17138 case $DX_MAKEINDEX in
17140 ac_cv_path_DX_MAKEINDEX
="$DX_MAKEINDEX" # Let the user override the test with a path.
17143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17144 for as_dir
in $PATH
17147 test -z "$as_dir" && as_dir
=.
17148 for ac_exec_ext
in '' $ac_executable_extensions; do
17149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17150 ac_cv_path_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
17151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17161 DX_MAKEINDEX
=$ac_cv_path_DX_MAKEINDEX
17162 if test -n "$DX_MAKEINDEX"; then
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
17164 $as_echo "$DX_MAKEINDEX" >&6; }
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17167 $as_echo "no" >&6; }
17172 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
17173 ac_pt_DX_MAKEINDEX
=$DX_MAKEINDEX
17174 # Extract the first word of "makeindex", so it can be a program name with args.
17175 set dummy makeindex
; ac_word
=$2
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17177 $as_echo_n "checking for $ac_word... " >&6; }
17178 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
17179 $as_echo_n "(cached) " >&6
17181 case $ac_pt_DX_MAKEINDEX in
17183 ac_cv_path_ac_pt_DX_MAKEINDEX
="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
17186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17187 for as_dir
in $PATH
17190 test -z "$as_dir" && as_dir
=.
17191 for ac_exec_ext
in '' $ac_executable_extensions; do
17192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17193 ac_cv_path_ac_pt_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
17194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17204 ac_pt_DX_MAKEINDEX
=$ac_cv_path_ac_pt_DX_MAKEINDEX
17205 if test -n "$ac_pt_DX_MAKEINDEX"; then
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
17207 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17210 $as_echo "no" >&6; }
17213 if test "x$ac_pt_DX_MAKEINDEX" = x
; then
17216 case $cross_compiling:$ac_tool_warned in
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17220 ac_tool_warned
=yes ;;
17222 DX_MAKEINDEX
=$ac_pt_DX_MAKEINDEX
17225 DX_MAKEINDEX
="$ac_cv_path_DX_MAKEINDEX"
17228 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
17230 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
17236 if test -n "$ac_tool_prefix"; then
17237 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
17238 set dummy
${ac_tool_prefix}egrep; ac_word
=$2
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17240 $as_echo_n "checking for $ac_word... " >&6; }
17241 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
17242 $as_echo_n "(cached) " >&6
17246 ac_cv_path_DX_EGREP
="$DX_EGREP" # Let the user override the test with a path.
17249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17250 for as_dir
in $PATH
17253 test -z "$as_dir" && as_dir
=.
17254 for ac_exec_ext
in '' $ac_executable_extensions; do
17255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17256 ac_cv_path_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
17257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17267 DX_EGREP
=$ac_cv_path_DX_EGREP
17268 if test -n "$DX_EGREP"; then
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
17270 $as_echo "$DX_EGREP" >&6; }
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17273 $as_echo "no" >&6; }
17278 if test -z "$ac_cv_path_DX_EGREP"; then
17279 ac_pt_DX_EGREP
=$DX_EGREP
17280 # Extract the first word of "egrep", so it can be a program name with args.
17281 set dummy
egrep; ac_word
=$2
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17283 $as_echo_n "checking for $ac_word... " >&6; }
17284 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
17285 $as_echo_n "(cached) " >&6
17287 case $ac_pt_DX_EGREP in
17289 ac_cv_path_ac_pt_DX_EGREP
="$ac_pt_DX_EGREP" # Let the user override the test with a path.
17292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17293 for as_dir
in $PATH
17296 test -z "$as_dir" && as_dir
=.
17297 for ac_exec_ext
in '' $ac_executable_extensions; do
17298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17299 ac_cv_path_ac_pt_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
17300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17310 ac_pt_DX_EGREP
=$ac_cv_path_ac_pt_DX_EGREP
17311 if test -n "$ac_pt_DX_EGREP"; then
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
17313 $as_echo "$ac_pt_DX_EGREP" >&6; }
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17316 $as_echo "no" >&6; }
17319 if test "x$ac_pt_DX_EGREP" = x
; then
17322 case $cross_compiling:$ac_tool_warned in
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17326 ac_tool_warned
=yes ;;
17328 DX_EGREP
=$ac_pt_DX_EGREP
17331 DX_EGREP
="$ac_cv_path_DX_EGREP"
17334 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
17336 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
17343 if test "$DX_FLAG_pdf" = 1; then
17346 DX_COND_pdf_FALSE
='#'
17348 DX_COND_pdf_TRUE
='#'
17357 DX_COND_pdf_FALSE
='#'
17359 DX_COND_pdf_TRUE
='#'
17368 # LaTeX generation for PS and/or PDF:
17369 if test "$DX_FLAG_ps" = 1 ||
test "$DX_FLAG_pdf" = 1; then
17371 DX_COND_latex_TRUE
=
17372 DX_COND_latex_FALSE
='#'
17374 DX_COND_latex_TRUE
='#'
17375 DX_COND_latex_FALSE
=
17378 DX_ENV
="$DX_ENV GENERATE_LATEX='YES'"
17382 DX_COND_latex_TRUE
=
17383 DX_COND_latex_FALSE
='#'
17385 DX_COND_latex_TRUE
='#'
17386 DX_COND_latex_FALSE
=
17389 DX_ENV
="$DX_ENV GENERATE_LATEX='NO'"
17393 # Paper size for PS and/or PDF:
17395 case "$DOXYGEN_PAPER_SIZE" in
17398 DOXYGEN_PAPER_SIZE
="letter"
17400 a4wide|a4|letter|legal|executive
)
17401 DX_ENV
="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
17405 as_fn_error
"unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
17406 DOXYGEN_PAPER_SIZE
="letter"
17409 DX_ENV
="$DX_ENV PAPER_SIZE='"$DOXYGEN_PAPER_SIZE"'"
17413 if test -n "$DOXYGEN_HTML_LOGO"; then
17414 if ! test -f "$DOXYGEN_HTML_LOGO"; then
17415 as_fn_error
"not a file: \"$DOXYGEN_HTML_LOGO\"" "$LINENO" 5
17420 if test -n "$DOXYGEN_LOGO"; then
17421 if ! test -f "$DOXYGEN_LOGO"; then
17422 as_fn_error
"not a file: \"$DOXYGEN_LOGO\"" "$LINENO" 5
17427 if test -z "$DOXYGEN_TITLE"; then
17428 DOXYGEN_TITLE
="${PACKAGE_NAME}"
17432 if test -z "$DOXYGEN_AUTHOR"; then
17433 DOXYGEN_AUTHOR
="Generated by doxygen ${DOXYGEN_VERSION}"
17437 if test -z "$DOXYGEN_DATETIME"; then
17438 DOXYGEN_DATETIME
=`date +'%D %T'`
17442 if test -z "$DOXYGEN_DATE"; then
17443 DOXYGEN_DATE
=`date +%D`
17447 #echo DX_FLAG_doc=$DX_FLAG_doc
17448 #echo DX_FLAG_dot=$DX_FLAG_dot
17449 #echo DX_FLAG_man=$DX_FLAG_man
17450 #echo DX_FLAG_html=$DX_FLAG_html
17451 #echo DX_FLAG_chm=$DX_FLAG_chm
17452 #echo DX_FLAG_chi=$DX_FLAG_chi
17453 #echo DX_FLAG_rtf=$DX_FLAG_rtf
17454 #echo DX_FLAG_xml=$DX_FLAG_xml
17455 #echo DX_FLAG_pdf=$DX_FLAG_pdf
17456 #echo DX_FLAG_ps=$DX_FLAG_ps
17457 #echo DX_ENV=$DX_ENV
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC backtrace support" >&5
17461 $as_echo_n "checking for UPC backtrace support... " >&6; }
17462 # Check whether --enable-upc-backtrace was given.
17463 if test "${enable_upc_backtrace+set}" = set; then :
17464 enableval
=$enable_upc_backtrace;
17468 as_fn_error
"--enable-upc-backtrace accepts only yes or no" "$LINENO" 5
17473 enable_upc_backtrace
=yes
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_backtrace" >&5
17478 $as_echo "$enable_upc_backtrace" >&6; }
17479 if test "$enable_upc_backtrace" = yes; then
17481 $as_echo "#define HAVE_UPC_BACKTRACE 1" >>confdefs.h
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC backtrace GDB support" >&5
17486 $as_echo_n "checking for UPC backtrace GDB support... " >&6; }
17487 # Check whether --enable-upc-backtrace-gdb was given.
17488 if test "${enable_upc_backtrace_gdb+set}" = set; then :
17489 enableval
=$enable_upc_backtrace_gdb;
17490 case "$enableval" in
17493 as_fn_error
"--enable-upc-backtrace-gdb accepts only yes or no" "$LINENO" 5
17498 enable_upc_backtrace_gdb
=yes
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_backtrace_gdb" >&5
17503 $as_echo "$enable_upc_backtrace_gdb" >&6; }
17504 if test "$enable_upc_backtrace_gdb" = yes; then
17506 $as_echo "#define HAVE_UPC_BACKTRACE_GDB 1" >>confdefs.h
17509 # Check for user specified GDB
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC backtrace GDB to use" >&5
17511 $as_echo_n "checking for UPC backtrace GDB to use... " >&6; }
17513 # Check whether --with-upc-backtrace-gdb was given.
17514 if test "${with_upc_backtrace_gdb+set}" = set; then :
17515 withval
=$with_upc_backtrace_gdb;
17516 upc_backtrace_gdb
=$withval
17520 upc_backtrace_gdb
=gdb
17524 for ac_prog
in $GDB $upc_backtrace_gdb
17526 # Extract the first word of "$ac_prog", so it can be a program name with args.
17527 set dummy
$ac_prog; ac_word
=$2
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17529 $as_echo_n "checking for $ac_word... " >&6; }
17530 if test "${ac_cv_path_PATH_TO_GDB+set}" = set; then :
17531 $as_echo_n "(cached) " >&6
17533 case $PATH_TO_GDB in
17535 ac_cv_path_PATH_TO_GDB
="$PATH_TO_GDB" # Let the user override the test with a path.
17538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17539 as_dummy
="/usr/bin:${PATH}"
17540 for as_dir
in $as_dummy
17543 test -z "$as_dir" && as_dir
=.
17544 for ac_exec_ext
in '' $ac_executable_extensions; do
17545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17546 ac_cv_path_PATH_TO_GDB
="$as_dir/$ac_word$ac_exec_ext"
17547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17557 PATH_TO_GDB
=$ac_cv_path_PATH_TO_GDB
17558 if test -n "$PATH_TO_GDB"; then
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_GDB" >&5
17560 $as_echo "$PATH_TO_GDB" >&6; }
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17563 $as_echo "no" >&6; }
17567 test -n "$PATH_TO_GDB" && break
17570 if test -n "$PATH_TO_GDB"; then
17572 cat >>confdefs.h
<<_ACEOF
17573 #define GUPCR_BACKTRACE_GDB "$PATH_TO_GDB"
17577 as_fn_error
"cannot find gdb. Try the correct --with-upc-backtrace-gdb
17578 option or disable GDB for backtrace with
17579 --disable-upc-backtrace option)" "$LINENO" 5
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TO_GDB" >&5
17582 $as_echo "$PATH_TO_GDB" >&6; }
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC backtrace signal support" >&5
17586 $as_echo_n "checking for UPC backtrace signal support... " >&6; }
17587 # Check whether --enable-upc-backtrace-signal was given.
17588 if test "${enable_upc_backtrace_signal+set}" = set; then :
17589 enableval
=$enable_upc_backtrace_signal;
17590 case "$enableval" in
17593 as_fn_error
"--enable-upc-backtrace-signal accepts only yes or no" "$LINENO" 5
17598 enable_upc_backtrace_signal
=yes
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_backtrace_signal" >&5
17603 $as_echo "$enable_upc_backtrace_signal" >&6; }
17604 if test "$enable_upc_backtrace_signal" = yes; then
17606 $as_echo "#define HAVE_UPC_BACKTRACE_SIGNAL 1" >>confdefs.h
17609 # Check for user specified signal name/number
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC backtrace signal name/number" >&5
17611 $as_echo_n "checking for UPC backtrace signal name/number... " >&6; }
17613 # Check whether --with-upc-backtrace-signal was given.
17614 if test "${with_upc_backtrace_signal+set}" = set; then :
17615 withval
=$with_upc_backtrace_signal;
17616 upc_backtrace_signal
=$withval
17620 upc_backtrace_signal
=SIGUSR1
17625 cat >>confdefs.h
<<_ACEOF
17626 #define GUPCR_BACKTRACE_SIGNAL $upc_backtrace_signal
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_backtrace_signal" >&5
17630 $as_echo "$upc_backtrace_signal" >&6; }
17633 # UPC source file/line backtrace requires BFD library
17634 if test "$enable_upc_backtrace" = yes; then
17635 # Specify a location for BFD lib
17637 # Check whether --with-bfd was given.
17638 if test "${with_bfd+set}" = set; then :
17643 # Check whether --with-bfd-include was given.
17644 if test "${with_bfd_include+set}" = set; then :
17645 withval
=$with_bfd_include;
17649 # Check whether --with-bfd-lib was given.
17650 if test "${with_bfd_lib+set}" = set; then :
17651 withval
=$with_bfd_lib;
17655 if test "x$with_bfd" != x
; then
17656 bfdlibs
="-L$with_bfd/lib $bfdlibs"
17657 bfdinc
="-I$with_bfd/include $bfdinc"
17659 if test "x$with_bfd_include" != x
; then
17660 bfdinc
="-I$with_bfd_include $bfdinc"
17662 if test "x$with_bfd_lib" != x
; then
17663 bfdlibs
="-L$with_bfd_lib $bfdlibs"
17667 saved_CFLAGS
="$CFLAGS"
17669 CFLAGS
="$CFLAGS $bfdinc"
17670 LIBS
="$LIBS -lbfd -ldl"
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the libbfd" >&5
17672 $as_echo_n "checking for the libbfd... " >&6; }
17673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17677 bfd_error_type error;
17678 void foo () { error = bfd_get_error (); }
17688 if ac_fn_c_try_link
"$LINENO"; then :
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17690 $as_echo "yes" >&6; }
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17693 $as_echo "no" >&6; }; have_bfd
=no
17695 rm -f core conftest.err conftest.
$ac_objext \
17696 conftest
$ac_exeext conftest.
$ac_ext
17697 CFLAGS
="$saved_CFLAGS"
17700 if test "$have_bfd" = "yes"; then
17702 $as_echo "#define HAVE_LIBBFD 1" >>confdefs.h
17706 # Check for "-rdynamic" for UPC backtrace
17709 if test x
$build = x
$host; then
17710 export_sym_check
="nm${exeext} -g"
17711 elif test x
$host = x
$target; then
17712 export_sym_check
="$gcc_cv_nm -g"
17718 if test x
$build = x
$host; then
17719 export_sym_check
="objdump${exeext} -T"
17720 elif test x
$host = x
$target; then
17721 export_sym_check
="$gcc_cv_objdump -T"
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
17728 $as_echo_n "checking for -rdynamic... " >&6; }
17729 if test "x$export_sym_check" != x
; then
17730 echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
17731 ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c \
17732 -o conftest
> /dev
/null
2>&1
17733 if $export_sym_check conftest |
grep foobar
> /dev
/null
; then
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_rdynamic" >&5
17738 $as_echo "$have_rdynamic" >&6; }
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime maximum number of locks held per thread" >&5
17742 $as_echo_n "checking for UPC runtime maximum number of locks held per thread... " >&6; }
17744 # Check whether --with-upc-runtime-max-locks was given.
17745 if test "${with_upc_runtime_max_locks+set}" = set; then :
17746 withval
=$with_upc_runtime_max_locks;
17747 # $withval must be a decimal integer
17748 if ! echo "$withval" |
grep '^[0-9][0-9]*$' >/dev
/null
2>&1; then
17749 as_fn_error
"$withval is an invalid option to
17750 --with-upc-runtime-max-locks" "$LINENO" 5
17752 upc_runtime_max_locks
="$withval"
17756 upc_runtime_max_locks
=1024
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_runtime_max_locks" >&5
17761 $as_echo "$upc_runtime_max_locks" >&6; }
17763 cat >>confdefs.h
<<_ACEOF
17764 #define GUPCR_MAX_LOCKS $upc_runtime_max_locks
17768 fi #### End: SMP runtime configuration
17770 if test "$upc_runtime_model" = "portals4"; then
17772 #### Portals4 runtime library configuration ####
17774 # Use the generic (reference implementation)
17775 use_generic_collectives
="no"
17777 # Check for Portals4 libs
17778 portals4libs
="-lportals"
17782 # Check whether --with-portals4 was given.
17783 if test "${with_portals4+set}" = set; then :
17784 withval
=$with_portals4;
17788 # Check whether --with-portals4-include was given.
17789 if test "${with_portals4_include+set}" = set; then :
17790 withval
=$with_portals4_include;
17794 # Check whether --with-portals4-lib was given.
17795 if test "${with_portals4_lib+set}" = set; then :
17796 withval
=$with_portals4_lib;
17800 if test "x$with_portals4" != x
; then
17801 portals4libs
="-L$with_portals4/lib $portals4libs"
17802 portals4inc
="-I$with_portals4/include $portals4inc"
17804 if test "x$with_portals4_include" != x
; then
17805 portals4inc
="-I$with_portals4_include $portals4inc"
17807 if test "x$with_portals4_lib" != x
; then
17808 portals4libs
="-L$with_portals4_lib $portals4libs"
17810 if test "x$with_portals4$with_portals4_include$with_portals4_lib" = x \
17811 && test -d ${srcdir}/portals4
; then
17812 portals4libs
='-L$$r/$(HOST_SUBDIR)/portals4/ '"$lt_cv_objdir $portals4libs"
17813 portals4inc
='-I$$r/$(HOST_SUBDIR)/portals4 -I$$s/portals4 '"$portals4inc"
17814 # Do not test the portals4 version. Assume that it is sufficient, since
17815 # it is in the source tree, and the library has not been built yet
17816 # but it would be included on the link line in the version check below
17817 # hence making the test fail.
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime Portals4 PTE base index" >&5
17824 $as_echo_n "checking for UPC runtime Portals4 PTE base index... " >&6; }
17826 # Check whether --with-upc-runtime-pte-base was given.
17827 if test "${with_upc_runtime_pte_base+set}" = set; then :
17828 withval
=$with_upc_runtime_pte_base;
17829 # $withval must be a decimal integer
17830 if ! echo "$withval" |
grep '^[0-9][0-9]*$' >/dev
/null
2>&1; then
17831 as_fn_error
"$withval is an invalid option to --with-upc-runtime-pte-base" "$LINENO" 5
17833 upc_runtime_pte_base
="$withval"
17837 upc_runtime_pte_base
=16
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_runtime_pte_base" >&5
17842 $as_echo "$upc_runtime_pte_base" >&6; }
17844 cat >>confdefs.h
<<_ACEOF
17845 #define GUPCR_PTE_BASE $upc_runtime_pte_base
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime maximum number of locks held per thread" >&5
17850 $as_echo_n "checking for UPC runtime maximum number of locks held per thread... " >&6; }
17852 # Check whether --with-upc-runtime-max-locks was given.
17853 if test "${with_upc_runtime_max_locks+set}" = set; then :
17854 withval
=$with_upc_runtime_max_locks;
17855 # $withval must be a decimal integer
17856 if ! echo "$withval" |
grep '^[0-9][0-9]*$' >/dev
/null
2>&1; then
17857 as_fn_error
"$withval is an invalid option to
17858 --with-upc-runtime-max-locks" "$LINENO" 5
17860 upc_runtime_max_locks
="$withval"
17864 upc_runtime_max_locks
=1024
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_runtime_max_locks" >&5
17869 $as_echo "$upc_runtime_max_locks" >&6; }
17871 cat >>confdefs.h
<<_ACEOF
17872 #define GUPCR_MAX_LOCKS $upc_runtime_max_locks
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime bounce buffer size" >&5
17877 $as_echo_n "checking for UPC runtime bounce buffer size... " >&6; }
17879 # Check whether --with-upc-runtime-bounce-buffer-size was given.
17880 if test "${with_upc_runtime_bounce_buffer_size+set}" = set; then :
17881 withval
=$with_upc_runtime_bounce_buffer_size;
17882 # $withval must be a decimal integer
17883 if ! echo "$withval" |
egrep -i '^[0-9]+[kmg]?$' >/dev
/null
2>&1; then
17884 as_fn_error
"$withval is an invalid option to
17885 --with-upc-runtime-bounce-buffer-size" "$LINENO" 5
17895 bb_size_expr
=`echo "$bb_size" | \
17896 sed -e 's/[gG]$/*1024M/;s/[mM]$/*1024K/;s/[kK]$/*1024/;s/\\*/ \\\\* /g'`
17897 upc_runtime_bounce_buffer_size
=`eval expr $bb_size_expr`
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_runtime_bounce_buffer_size" >&5
17899 $as_echo "$upc_runtime_bounce_buffer_size" >&6; }
17901 cat >>confdefs.h
<<_ACEOF
17902 #define GUPCR_BOUNCE_BUFFER_SIZE $upc_runtime_bounce_buffer_size
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC maximum number of outstanding remote puts" >&5
17907 $as_echo_n "checking for UPC maximum number of outstanding remote puts... " >&6; }
17909 # Check whether --with-upc-max-outstanding-puts was given.
17910 if test "${with_upc_max_outstanding_puts+set}" = set; then :
17911 withval
=$with_upc_max_outstanding_puts;
17912 # $withval must be a decimal integer
17913 if ! echo "$withval" |
grep '^[0-9]*$' >/dev
/null
2>&1; then
17914 as_fn_error
"$withval is an invalid option to
17915 --with-upc-max-outstanding-puts" "$LINENO" 5
17917 upc_max_puts_count
="$withval"
17921 upc_max_puts_count
="256"
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_max_puts_count" >&5
17926 $as_echo "$upc_max_puts_count" >&6; }
17928 cat >>confdefs.h
<<_ACEOF
17929 #define GUPCR_MAX_OUTSTANDING_PUTS $upc_max_puts_count
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime collectives tree fanout" >&5
17934 $as_echo_n "checking for UPC runtime collectives tree fanout... " >&6; }
17936 # Check whether --with-upc-runtime-tree-fanout was given.
17937 if test "${with_upc_runtime_tree_fanout+set}" = set; then :
17938 withval
=$with_upc_runtime_tree_fanout;
17939 # $withval must be a decimal integer
17940 if ! echo "$withval" |
grep '^[0-9][0-9]*$' >/dev
/null
2>&1; then
17941 as_fn_error
"$withval is an invalid option to
17942 --with-upc-runtime-tree-fanout" "$LINENO" 5
17944 upc_runtime_tree_fanout
="$withval"
17948 upc_runtime_tree_fanout
=4
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_runtime_tree_fanout" >&5
17953 $as_echo "$upc_runtime_tree_fanout" >&6; }
17955 cat >>confdefs.h
<<_ACEOF
17956 #define GUPCR_TREE_FANOUT $upc_runtime_tree_fanout
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime Portals4 triggered operation support" >&5
17961 $as_echo_n "checking for UPC runtime Portals4 triggered operation support... " >&6; }
17962 # Check whether --enable-upc-runtime-triggered-ops was given.
17963 if test "${enable_upc_runtime_triggered_ops+set}" = set; then :
17964 enableval
=$enable_upc_runtime_triggered_ops;
17968 as_fn_error
"--enable-upc-runtime-triggered-ops accepts only yes or no." "$LINENO" 5
17973 enable_upc_runtime_triggered_ops
=yes
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_runtime_triggered_ops" >&5
17978 $as_echo "$enable_upc_runtime_triggered_ops" >&6; }
17979 if test "$enable_upc_runtime_triggered_ops" = "yes"; then
17981 $as_echo "#define GUPCR_USE_PORTALS4_TRIGGERED_OPS 1" >>confdefs.h
17985 # Portals4 node local memory optimization
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime node local memory access" >&5
17988 $as_echo_n "checking for UPC runtime node local memory access... " >&6; }
17989 # Check whether --enable-upc-node-local-mem was given.
17990 if test "${enable_upc_node_local_mem+set}" = set; then :
17991 enableval
=$enable_upc_node_local_mem;
17995 as_fn_error
"--enable-upc-node-local-mem accepts only yes or no." "$LINENO" 5
18000 enable_upc_node_local_mem
=yes
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_upc_node_local_mem" >&5
18005 $as_echo "$enable_upc_node_local_mem" >&6; }
18006 if test "$enable_upc_node_local_mem" = "yes"; then
18008 $as_echo "#define GUPCR_NODE_LOCAL_MEM 1" >>confdefs.h
18012 if test "$enable_upc_node_local_mem" = "yes"; then
18013 # START - check for shared memory type
18014 # Check for Posix based shm
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC node local memory type" >&5
18016 $as_echo_n "checking for UPC node local memory type... " >&6; }
18018 # Check whether --with-upc-node-local-mem was given.
18019 if test "${with_upc_node_local_mem+set}" = set; then :
18020 withval
=$with_upc_node_local_mem;
18023 upc_node_local
=$withval
18026 as_fn_error
"--with-upc-node-local-mem accepts only posix or mmap." "$LINENO" 5
18031 upc_node_local
=posix
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_node_local" >&5
18036 $as_echo "$upc_node_local" >&6; };
18038 # Check if POSIX shm is available
18039 if test "$upc_node_local" = "posix"; then
18040 # Check if it is part of librt
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
18043 $as_echo_n "checking for shm_open in -lrt... " >&6; }
18044 if test "${ac_cv_lib_rt_shm_open+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18047 ac_check_lib_save_LIBS
=$LIBS
18049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18052 /* Override any GCC internal prototype to avoid an error.
18053 Use char because int might match the return type of a GCC
18054 builtin and then its argument prototype would still apply. */
18062 return shm_open ();
18067 if ac_fn_c_try_link
"$LINENO"; then :
18068 ac_cv_lib_rt_shm_open
=yes
18070 ac_cv_lib_rt_shm_open
=no
18072 rm -f core conftest.err conftest.
$ac_objext \
18073 conftest
$ac_exeext conftest.
$ac_ext
18074 LIBS
=$ac_check_lib_save_LIBS
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
18077 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
18078 if test "x$ac_cv_lib_rt_shm_open" = x
""yes; then :
18082 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
18086 if test "$have_shm_open" = "no"; then
18087 # Must probe for Posix shmem
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the shm_open" >&5
18089 $as_echo_n "checking for the shm_open... " >&6; }
18090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 #include <sys/types.h>
18094 #include <sys/stat.h>
18095 #include <sys/mman.h>
18096 #include <unistd.h>
18098 #include <stdlib.h>
18107 fd = shm_open("shm-config-test", O_CREAT|O_RDWR, S_IRUSR|S_IWUSR);
18108 (void)shm_unlink("shm-config-test");
18109 if (fd < 0) return 1;
18110 if (ftruncate(fd, size) < 0) return 1;
18111 addr = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
18113 if (!addr || (addr == MAP_FAILED)) return 1;
18114 (void)munmap(addr, size);
18121 if ac_fn_c_try_link
"$LINENO"; then :
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18123 $as_echo "yes" >&6; }; have_shm_open
=yes
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18126 $as_echo "no" >&6; }; have_shm_open
=no
18128 rm -f core conftest.err conftest.
$ac_objext \
18129 conftest
$ac_exeext conftest.
$ac_ext
18132 if test "$have_shm_open" = "yes"; then
18134 $as_echo "#define GUPCR_NODE_LOCAL_MEM_POSIX 1" >>confdefs.h
18137 as_fn_error
"Posix shared memory is not available" "$LINENO" 5
18140 # mmap is always available
18142 $as_echo "#define GUPCR_NODE_LOCAL_MEM_MMAP 1" >>confdefs.h
18145 # END - check for shared memory type
18148 # Check for portals job launcher
18149 ac_fn_c_check_header_mongrel
"$LINENO" "slurm/slurm.h" "ac_cv_header_slurm_slurm_h" "$ac_includes_default"
18150 if test "x$ac_cv_header_slurm_slurm_h" = x
""yes; then :
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC runtime Portals4 job launcher" >&5
18158 $as_echo_n "checking for UPC runtime Portals4 job launcher... " >&6; }
18160 # Check whether --with-upc-job-launcher was given.
18161 if test "${with_upc_job_launcher+set}" = set; then :
18162 withval
=$with_upc_job_launcher;
18165 upc_job_launcher
=$withval
18168 as_fn_error
"--with-upc-job-launcher accepts only slurm or yod." "$LINENO" 5
18173 if test "$have_slurm" = "yes"; then
18174 upc_job_launcher
=slurm
18176 upc_job_launcher
=yod
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $upc_job_launcher" >&5
18182 $as_echo "$upc_job_launcher" >&6; }
18184 if test "$upc_job_launcher" = "slurm"; then
18185 if test "$have_slurm" = "yes"; then
18187 $as_echo "#define GUPCR_JOB_LAUNCHER_SLURM 1" >>confdefs.h
18189 portals4libs
="$portals4libs -lpmi"
18191 as_fn_error
"--with-upc-job-launcher specified slurm,
18192 but slurm is not available." "$LINENO" 5
18196 $as_echo "#define GUPCR_JOB_LAUNCHER_YOD 1" >>confdefs.h
18198 portals4libs
="$portals4libs -lportals_runtime"
18201 # Check for target memory page size
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memory page size" >&5
18203 $as_echo_n "checking for memory page size... " >&6; }
18205 # Check whether --with-upc-memory-page-size was given.
18206 if test "${with_upc_memory_page_size+set}" = set; then :
18207 withval
=$with_upc_memory_page_size;
18208 # $withval must be a decimal integer
18209 if ! echo "$withval" |
grep '^[0-9][0-9]*$' >/dev
/null
2>&1; then
18210 as_fn_error
"$withval is an invalid option to --with-upc-memory-page-size" "$LINENO" 5
18212 memory_page_size
="$withval"
18216 memory_page_size
="4096"
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $memory_page_size" >&5
18221 $as_echo "$memory_page_size" >&6; }
18223 cat >>confdefs.h
<<_ACEOF
18224 #define GUPCR_MEMORY_PAGE_SIZE $memory_page_size
18229 $as_echo "#define GUPCR_GLOBAL_EXIT_TIMEOUT 2" >>confdefs.h
18240 DX_PROJECT
=${PACKAGE}
18244 DX_CONFIG
=doxygen.cfg
18249 # Environment variables used inside doxygen.cfg:
18250 DX_ENV
="$DX_ENV SRCDIR='$srcdir'"
18252 DX_ENV
="$DX_ENV PROJECT='$DX_PROJECT'"
18254 DX_ENV
="$DX_ENV DOCDIR='$DX_DOCDIR'"
18256 DX_ENV
="$DX_ENV VERSION='$PACKAGE_VERSION'"
18263 # Check whether --enable-doxygen-doc was given.
18264 if test "${enable_doxygen_doc+set}" = set; then :
18265 enableval
=$enable_doxygen_doc;
18266 case "$enableval" in
18278 as_fn_error
"invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
18290 if test "$DX_FLAG_doc" = 1; then
18292 if test -n "$ac_tool_prefix"; then
18293 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
18294 set dummy
${ac_tool_prefix}doxygen
; ac_word
=$2
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18296 $as_echo_n "checking for $ac_word... " >&6; }
18297 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
18298 $as_echo_n "(cached) " >&6
18300 case $DX_DOXYGEN in
18302 ac_cv_path_DX_DOXYGEN
="$DX_DOXYGEN" # Let the user override the test with a path.
18305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18306 for as_dir
in $PATH
18309 test -z "$as_dir" && as_dir
=.
18310 for ac_exec_ext
in '' $ac_executable_extensions; do
18311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18312 ac_cv_path_DX_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
18313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18323 DX_DOXYGEN
=$ac_cv_path_DX_DOXYGEN
18324 if test -n "$DX_DOXYGEN"; then
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
18326 $as_echo "$DX_DOXYGEN" >&6; }
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18329 $as_echo "no" >&6; }
18334 if test -z "$ac_cv_path_DX_DOXYGEN"; then
18335 ac_pt_DX_DOXYGEN
=$DX_DOXYGEN
18336 # Extract the first word of "doxygen", so it can be a program name with args.
18337 set dummy doxygen
; ac_word
=$2
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18339 $as_echo_n "checking for $ac_word... " >&6; }
18340 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
18341 $as_echo_n "(cached) " >&6
18343 case $ac_pt_DX_DOXYGEN in
18345 ac_cv_path_ac_pt_DX_DOXYGEN
="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
18348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18349 for as_dir
in $PATH
18352 test -z "$as_dir" && as_dir
=.
18353 for ac_exec_ext
in '' $ac_executable_extensions; do
18354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18355 ac_cv_path_ac_pt_DX_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
18356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18366 ac_pt_DX_DOXYGEN
=$ac_cv_path_ac_pt_DX_DOXYGEN
18367 if test -n "$ac_pt_DX_DOXYGEN"; then
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
18369 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18372 $as_echo "no" >&6; }
18375 if test "x$ac_pt_DX_DOXYGEN" = x
; then
18378 case $cross_compiling:$ac_tool_warned in
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18382 ac_tool_warned
=yes ;;
18384 DX_DOXYGEN
=$ac_pt_DX_DOXYGEN
18387 DX_DOXYGEN
="$ac_cv_path_DX_DOXYGEN"
18390 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
18392 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
18398 if test -n "$ac_tool_prefix"; then
18399 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
18400 set dummy
${ac_tool_prefix}perl
; ac_word
=$2
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18402 $as_echo_n "checking for $ac_word... " >&6; }
18403 if test "${ac_cv_path_DX_PERL+set}" = set; then :
18404 $as_echo_n "(cached) " >&6
18408 ac_cv_path_DX_PERL
="$DX_PERL" # Let the user override the test with a path.
18411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18412 for as_dir
in $PATH
18415 test -z "$as_dir" && as_dir
=.
18416 for ac_exec_ext
in '' $ac_executable_extensions; do
18417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18418 ac_cv_path_DX_PERL
="$as_dir/$ac_word$ac_exec_ext"
18419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18429 DX_PERL
=$ac_cv_path_DX_PERL
18430 if test -n "$DX_PERL"; then
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
18432 $as_echo "$DX_PERL" >&6; }
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18435 $as_echo "no" >&6; }
18440 if test -z "$ac_cv_path_DX_PERL"; then
18441 ac_pt_DX_PERL
=$DX_PERL
18442 # Extract the first word of "perl", so it can be a program name with args.
18443 set dummy perl
; ac_word
=$2
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18445 $as_echo_n "checking for $ac_word... " >&6; }
18446 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
18447 $as_echo_n "(cached) " >&6
18449 case $ac_pt_DX_PERL in
18451 ac_cv_path_ac_pt_DX_PERL
="$ac_pt_DX_PERL" # Let the user override the test with a path.
18454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18455 for as_dir
in $PATH
18458 test -z "$as_dir" && as_dir
=.
18459 for ac_exec_ext
in '' $ac_executable_extensions; do
18460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18461 ac_cv_path_ac_pt_DX_PERL
="$as_dir/$ac_word$ac_exec_ext"
18462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18472 ac_pt_DX_PERL
=$ac_cv_path_ac_pt_DX_PERL
18473 if test -n "$ac_pt_DX_PERL"; then
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
18475 $as_echo "$ac_pt_DX_PERL" >&6; }
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18478 $as_echo "no" >&6; }
18481 if test "x$ac_pt_DX_PERL" = x
; then
18484 case $cross_compiling:$ac_tool_warned in
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18488 ac_tool_warned
=yes ;;
18490 DX_PERL
=$ac_pt_DX_PERL
18493 DX_PERL
="$ac_cv_path_DX_PERL"
18496 if test "$DX_FLAG_doc$DX_PERL" = 1; then
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
18498 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
18504 if test -n "$ac_tool_prefix"; then
18505 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
18506 set dummy
${ac_tool_prefix}file; ac_word
=$2
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18508 $as_echo_n "checking for $ac_word... " >&6; }
18509 if test "${ac_cv_path_DX_FILE+set}" = set; then :
18510 $as_echo_n "(cached) " >&6
18514 ac_cv_path_DX_FILE
="$DX_FILE" # Let the user override the test with a path.
18517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18518 for as_dir
in $PATH
18521 test -z "$as_dir" && as_dir
=.
18522 for ac_exec_ext
in '' $ac_executable_extensions; do
18523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18524 ac_cv_path_DX_FILE
="$as_dir/$ac_word$ac_exec_ext"
18525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18535 DX_FILE
=$ac_cv_path_DX_FILE
18536 if test -n "$DX_FILE"; then
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_FILE" >&5
18538 $as_echo "$DX_FILE" >&6; }
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18541 $as_echo "no" >&6; }
18546 if test -z "$ac_cv_path_DX_FILE"; then
18547 ac_pt_DX_FILE
=$DX_FILE
18548 # Extract the first word of "file", so it can be a program name with args.
18549 set dummy
file; ac_word
=$2
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18551 $as_echo_n "checking for $ac_word... " >&6; }
18552 if test "${ac_cv_path_ac_pt_DX_FILE+set}" = set; then :
18553 $as_echo_n "(cached) " >&6
18555 case $ac_pt_DX_FILE in
18557 ac_cv_path_ac_pt_DX_FILE
="$ac_pt_DX_FILE" # Let the user override the test with a path.
18560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18561 for as_dir
in $PATH
18564 test -z "$as_dir" && as_dir
=.
18565 for ac_exec_ext
in '' $ac_executable_extensions; do
18566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18567 ac_cv_path_ac_pt_DX_FILE
="$as_dir/$ac_word$ac_exec_ext"
18568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18578 ac_pt_DX_FILE
=$ac_cv_path_ac_pt_DX_FILE
18579 if test -n "$ac_pt_DX_FILE"; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_FILE" >&5
18581 $as_echo "$ac_pt_DX_FILE" >&6; }
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18584 $as_echo "no" >&6; }
18587 if test "x$ac_pt_DX_FILE" = x
; then
18590 case $cross_compiling:$ac_tool_warned in
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18594 ac_tool_warned
=yes ;;
18596 DX_FILE
=$ac_pt_DX_FILE
18599 DX_FILE
="$ac_cv_path_DX_FILE"
18602 if test "$DX_FLAG_doc$DX_FILE" = 1; then
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: file not found - will not generate any doxygen documentation" >&5
18604 $as_echo "$as_me: WARNING: file not found - will not generate any doxygen documentation" >&2;}
18611 if test "$DX_FLAG_doc" = 1; then
18614 DX_COND_doc_FALSE
='#'
18616 DX_COND_doc_TRUE
='#'
18620 DX_ENV
="$DX_ENV PERL_PATH='$DX_PERL'"
18622 DOXYGEN_VERSION
=`${DX_DOXYGEN} --version`
18628 DX_COND_doc_FALSE
='#'
18630 DX_COND_doc_TRUE
='#'
18639 # Dot for graphics:
18643 # Check whether --enable-doxygen-dot was given.
18644 if test "${enable_doxygen_dot+set}" = set; then :
18645 enableval
=$enable_doxygen_dot;
18646 case "$enableval" in
18652 test "$DX_FLAG_doc" = "1" \
18653 || as_fn_error
"doxygen-dot requires doxygen-dot" "$LINENO" 5
18661 as_fn_error
"invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
18670 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot
=0
18676 if test "$DX_FLAG_dot" = 1; then
18678 if test -n "$ac_tool_prefix"; then
18679 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
18680 set dummy
${ac_tool_prefix}dot
; ac_word
=$2
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18682 $as_echo_n "checking for $ac_word... " >&6; }
18683 if test "${ac_cv_path_DX_DOT+set}" = set; then :
18684 $as_echo_n "(cached) " >&6
18688 ac_cv_path_DX_DOT
="$DX_DOT" # Let the user override the test with a path.
18691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18692 for as_dir
in $PATH
18695 test -z "$as_dir" && as_dir
=.
18696 for ac_exec_ext
in '' $ac_executable_extensions; do
18697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18698 ac_cv_path_DX_DOT
="$as_dir/$ac_word$ac_exec_ext"
18699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18709 DX_DOT
=$ac_cv_path_DX_DOT
18710 if test -n "$DX_DOT"; then
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
18712 $as_echo "$DX_DOT" >&6; }
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18715 $as_echo "no" >&6; }
18720 if test -z "$ac_cv_path_DX_DOT"; then
18721 ac_pt_DX_DOT
=$DX_DOT
18722 # Extract the first word of "dot", so it can be a program name with args.
18723 set dummy dot
; ac_word
=$2
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18725 $as_echo_n "checking for $ac_word... " >&6; }
18726 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
18727 $as_echo_n "(cached) " >&6
18729 case $ac_pt_DX_DOT in
18731 ac_cv_path_ac_pt_DX_DOT
="$ac_pt_DX_DOT" # Let the user override the test with a path.
18734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18735 for as_dir
in $PATH
18738 test -z "$as_dir" && as_dir
=.
18739 for ac_exec_ext
in '' $ac_executable_extensions; do
18740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18741 ac_cv_path_ac_pt_DX_DOT
="$as_dir/$ac_word$ac_exec_ext"
18742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18752 ac_pt_DX_DOT
=$ac_cv_path_ac_pt_DX_DOT
18753 if test -n "$ac_pt_DX_DOT"; then
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
18755 $as_echo "$ac_pt_DX_DOT" >&6; }
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18758 $as_echo "no" >&6; }
18761 if test "x$ac_pt_DX_DOT" = x
; then
18764 case $cross_compiling:$ac_tool_warned in
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18768 ac_tool_warned
=yes ;;
18770 DX_DOT
=$ac_pt_DX_DOT
18773 DX_DOT
="$ac_cv_path_DX_DOT"
18776 if test "$DX_FLAG_dot$DX_DOT" = 1; then
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
18778 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
18785 if test "$DX_FLAG_dot" = 1; then
18788 DX_COND_dot_FALSE
='#'
18790 DX_COND_dot_TRUE
='#'
18794 DX_ENV
="$DX_ENV HAVE_DOT='YES'"
18798 DX_ENV
="$DX_ENV DOT_PATH='`expr ".
$DX_DOT" : '\(\.\)[^/]*$' \| "x
$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
18804 DX_COND_dot_FALSE
='#'
18806 DX_COND_dot_TRUE
='#'
18812 DX_ENV
="$DX_ENV HAVE_DOT='NO'"
18818 # Man pages generation:
18822 # Check whether --enable-doxygen-man was given.
18823 if test "${enable_doxygen_man+set}" = set; then :
18824 enableval
=$enable_doxygen_man;
18825 case "$enableval" in
18831 test "$DX_FLAG_doc" = "1" \
18832 || as_fn_error
"doxygen-man requires doxygen-man" "$LINENO" 5
18840 as_fn_error
"invalid value '$enableval' given to doxygen-man" "$LINENO" 5
18849 test "$DX_FLAG_doc" = "1" || DX_FLAG_man
=0
18855 if test "$DX_FLAG_man" = 1; then
18859 if test "$DX_FLAG_man" = 1; then
18862 DX_COND_man_FALSE
='#'
18864 DX_COND_man_TRUE
='#'
18868 DX_ENV
="$DX_ENV GENERATE_MAN='YES'"
18874 DX_COND_man_FALSE
='#'
18876 DX_COND_man_TRUE
='#'
18880 DX_ENV
="$DX_ENV GENERATE_MAN='NO'"
18886 # RTF file generation:
18890 # Check whether --enable-doxygen-rtf was given.
18891 if test "${enable_doxygen_rtf+set}" = set; then :
18892 enableval
=$enable_doxygen_rtf;
18893 case "$enableval" in
18899 test "$DX_FLAG_doc" = "1" \
18900 || as_fn_error
"doxygen-rtf requires doxygen-rtf" "$LINENO" 5
18908 as_fn_error
"invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
18917 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf
=0
18923 if test "$DX_FLAG_rtf" = 1; then
18927 if test "$DX_FLAG_rtf" = 1; then
18930 DX_COND_rtf_FALSE
='#'
18932 DX_COND_rtf_TRUE
='#'
18936 DX_ENV
="$DX_ENV GENERATE_RTF='YES'"
18942 DX_COND_rtf_FALSE
='#'
18944 DX_COND_rtf_TRUE
='#'
18948 DX_ENV
="$DX_ENV GENERATE_RTF='NO'"
18954 # XML file generation:
18958 # Check whether --enable-doxygen-xml was given.
18959 if test "${enable_doxygen_xml+set}" = set; then :
18960 enableval
=$enable_doxygen_xml;
18961 case "$enableval" in
18967 test "$DX_FLAG_doc" = "1" \
18968 || as_fn_error
"doxygen-xml requires doxygen-xml" "$LINENO" 5
18976 as_fn_error
"invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
18985 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml
=0
18991 if test "$DX_FLAG_xml" = 1; then
18995 if test "$DX_FLAG_xml" = 1; then
18998 DX_COND_xml_FALSE
='#'
19000 DX_COND_xml_TRUE
='#'
19004 DX_ENV
="$DX_ENV GENERATE_XML='YES'"
19010 DX_COND_xml_FALSE
='#'
19012 DX_COND_xml_TRUE
='#'
19016 DX_ENV
="$DX_ENV GENERATE_XML='NO'"
19022 # (Compressed) HTML help generation:
19026 # Check whether --enable-doxygen-chm was given.
19027 if test "${enable_doxygen_chm+set}" = set; then :
19028 enableval
=$enable_doxygen_chm;
19029 case "$enableval" in
19035 test "$DX_FLAG_doc" = "1" \
19036 || as_fn_error
"doxygen-chm requires doxygen-chm" "$LINENO" 5
19044 as_fn_error
"invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
19053 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm
=0
19059 if test "$DX_FLAG_chm" = 1; then
19061 if test -n "$ac_tool_prefix"; then
19062 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
19063 set dummy
${ac_tool_prefix}hhc
; ac_word
=$2
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19065 $as_echo_n "checking for $ac_word... " >&6; }
19066 if test "${ac_cv_path_DX_HHC+set}" = set; then :
19067 $as_echo_n "(cached) " >&6
19071 ac_cv_path_DX_HHC
="$DX_HHC" # Let the user override the test with a path.
19074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19075 for as_dir
in $PATH
19078 test -z "$as_dir" && as_dir
=.
19079 for ac_exec_ext
in '' $ac_executable_extensions; do
19080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19081 ac_cv_path_DX_HHC
="$as_dir/$ac_word$ac_exec_ext"
19082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19092 DX_HHC
=$ac_cv_path_DX_HHC
19093 if test -n "$DX_HHC"; then
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
19095 $as_echo "$DX_HHC" >&6; }
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19098 $as_echo "no" >&6; }
19103 if test -z "$ac_cv_path_DX_HHC"; then
19104 ac_pt_DX_HHC
=$DX_HHC
19105 # Extract the first word of "hhc", so it can be a program name with args.
19106 set dummy hhc
; ac_word
=$2
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19108 $as_echo_n "checking for $ac_word... " >&6; }
19109 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
19110 $as_echo_n "(cached) " >&6
19112 case $ac_pt_DX_HHC in
19114 ac_cv_path_ac_pt_DX_HHC
="$ac_pt_DX_HHC" # Let the user override the test with a path.
19117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19118 for as_dir
in $PATH
19121 test -z "$as_dir" && as_dir
=.
19122 for ac_exec_ext
in '' $ac_executable_extensions; do
19123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19124 ac_cv_path_ac_pt_DX_HHC
="$as_dir/$ac_word$ac_exec_ext"
19125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19135 ac_pt_DX_HHC
=$ac_cv_path_ac_pt_DX_HHC
19136 if test -n "$ac_pt_DX_HHC"; then
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
19138 $as_echo "$ac_pt_DX_HHC" >&6; }
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19141 $as_echo "no" >&6; }
19144 if test "x$ac_pt_DX_HHC" = x
; then
19147 case $cross_compiling:$ac_tool_warned in
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19151 ac_tool_warned
=yes ;;
19153 DX_HHC
=$ac_pt_DX_HHC
19156 DX_HHC
="$ac_cv_path_DX_HHC"
19159 if test "$DX_FLAG_chm$DX_HHC" = 1; then
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
19161 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
19168 if test "$DX_FLAG_chm" = 1; then
19171 DX_COND_chm_FALSE
='#'
19173 DX_COND_chm_TRUE
='#'
19177 DX_ENV
="$DX_ENV HHC_PATH='$DX_HHC'"
19179 DX_ENV
="$DX_ENV GENERATE_HTML='YES'"
19181 DX_ENV
="$DX_ENV GENERATE_HTMLHELP='YES'"
19187 DX_COND_chm_FALSE
='#'
19189 DX_COND_chm_TRUE
='#'
19193 DX_ENV
="$DX_ENV GENERATE_HTMLHELP='NO'"
19199 # Seperate CHI file generation.
19203 # Check whether --enable-doxygen-chi was given.
19204 if test "${enable_doxygen_chi+set}" = set; then :
19205 enableval
=$enable_doxygen_chi;
19206 case "$enableval" in
19212 test "$DX_FLAG_chm" = "1" \
19213 || as_fn_error
"doxygen-chi requires doxygen-chi" "$LINENO" 5
19221 as_fn_error
"invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
19230 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi
=0
19236 if test "$DX_FLAG_chi" = 1; then
19240 if test "$DX_FLAG_chi" = 1; then
19243 DX_COND_chi_FALSE
='#'
19245 DX_COND_chi_TRUE
='#'
19249 DX_ENV
="$DX_ENV GENERATE_CHI='YES'"
19255 DX_COND_chi_FALSE
='#'
19257 DX_COND_chi_TRUE
='#'
19261 DX_ENV
="$DX_ENV GENERATE_CHI='NO'"
19267 # Plain HTML pages generation:
19271 # Check whether --enable-doxygen-html was given.
19272 if test "${enable_doxygen_html+set}" = set; then :
19273 enableval
=$enable_doxygen_html;
19274 case "$enableval" in
19280 test "$DX_FLAG_doc" = "1" \
19281 || as_fn_error
"doxygen-html requires doxygen-html" "$LINENO" 5
19283 test "$DX_FLAG_chm" = "0" \
19284 || as_fn_error
"doxygen-html contradicts doxygen-html" "$LINENO" 5
19292 as_fn_error
"invalid value '$enableval' given to doxygen-html" "$LINENO" 5
19301 test "$DX_FLAG_doc" = "1" || DX_FLAG_html
=0
19304 test "$DX_FLAG_chm" = "0" || DX_FLAG_html
=0
19310 if test "$DX_FLAG_html" = 1; then
19314 if test "$DX_FLAG_html" = 1; then
19317 DX_COND_html_FALSE
='#'
19319 DX_COND_html_TRUE
='#'
19320 DX_COND_html_FALSE
=
19323 DX_ENV
="$DX_ENV GENERATE_HTML='YES'"
19329 DX_COND_html_FALSE
='#'
19331 DX_COND_html_TRUE
='#'
19332 DX_COND_html_FALSE
=
19335 test "$DX_FLAG_chm" = 1 || DX_ENV
="$DX_ENV GENERATE_HTML='NO'"
19341 # PostScript file generation:
19345 # Check whether --enable-doxygen-ps was given.
19346 if test "${enable_doxygen_ps+set}" = set; then :
19347 enableval
=$enable_doxygen_ps;
19348 case "$enableval" in
19354 test "$DX_FLAG_doc" = "1" \
19355 || as_fn_error
"doxygen-ps requires doxygen-ps" "$LINENO" 5
19363 as_fn_error
"invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
19372 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps
=0
19378 if test "$DX_FLAG_ps" = 1; then
19380 if test -n "$ac_tool_prefix"; then
19381 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
19382 set dummy
${ac_tool_prefix}latex
; ac_word
=$2
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19384 $as_echo_n "checking for $ac_word... " >&6; }
19385 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
19386 $as_echo_n "(cached) " >&6
19390 ac_cv_path_DX_LATEX
="$DX_LATEX" # Let the user override the test with a path.
19393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19394 for as_dir
in $PATH
19397 test -z "$as_dir" && as_dir
=.
19398 for ac_exec_ext
in '' $ac_executable_extensions; do
19399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19400 ac_cv_path_DX_LATEX
="$as_dir/$ac_word$ac_exec_ext"
19401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19411 DX_LATEX
=$ac_cv_path_DX_LATEX
19412 if test -n "$DX_LATEX"; then
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
19414 $as_echo "$DX_LATEX" >&6; }
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19417 $as_echo "no" >&6; }
19422 if test -z "$ac_cv_path_DX_LATEX"; then
19423 ac_pt_DX_LATEX
=$DX_LATEX
19424 # Extract the first word of "latex", so it can be a program name with args.
19425 set dummy latex
; ac_word
=$2
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19427 $as_echo_n "checking for $ac_word... " >&6; }
19428 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
19429 $as_echo_n "(cached) " >&6
19431 case $ac_pt_DX_LATEX in
19433 ac_cv_path_ac_pt_DX_LATEX
="$ac_pt_DX_LATEX" # Let the user override the test with a path.
19436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19437 for as_dir
in $PATH
19440 test -z "$as_dir" && as_dir
=.
19441 for ac_exec_ext
in '' $ac_executable_extensions; do
19442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19443 ac_cv_path_ac_pt_DX_LATEX
="$as_dir/$ac_word$ac_exec_ext"
19444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19454 ac_pt_DX_LATEX
=$ac_cv_path_ac_pt_DX_LATEX
19455 if test -n "$ac_pt_DX_LATEX"; then
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
19457 $as_echo "$ac_pt_DX_LATEX" >&6; }
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19460 $as_echo "no" >&6; }
19463 if test "x$ac_pt_DX_LATEX" = x
; then
19466 case $cross_compiling:$ac_tool_warned in
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19470 ac_tool_warned
=yes ;;
19472 DX_LATEX
=$ac_pt_DX_LATEX
19475 DX_LATEX
="$ac_cv_path_DX_LATEX"
19478 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
19480 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
19486 if test -n "$ac_tool_prefix"; then
19487 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
19488 set dummy
${ac_tool_prefix}makeindex
; ac_word
=$2
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19490 $as_echo_n "checking for $ac_word... " >&6; }
19491 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
19492 $as_echo_n "(cached) " >&6
19494 case $DX_MAKEINDEX in
19496 ac_cv_path_DX_MAKEINDEX
="$DX_MAKEINDEX" # Let the user override the test with a path.
19499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19500 for as_dir
in $PATH
19503 test -z "$as_dir" && as_dir
=.
19504 for ac_exec_ext
in '' $ac_executable_extensions; do
19505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19506 ac_cv_path_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
19507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19517 DX_MAKEINDEX
=$ac_cv_path_DX_MAKEINDEX
19518 if test -n "$DX_MAKEINDEX"; then
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
19520 $as_echo "$DX_MAKEINDEX" >&6; }
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19523 $as_echo "no" >&6; }
19528 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
19529 ac_pt_DX_MAKEINDEX
=$DX_MAKEINDEX
19530 # Extract the first word of "makeindex", so it can be a program name with args.
19531 set dummy makeindex
; ac_word
=$2
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19533 $as_echo_n "checking for $ac_word... " >&6; }
19534 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
19535 $as_echo_n "(cached) " >&6
19537 case $ac_pt_DX_MAKEINDEX in
19539 ac_cv_path_ac_pt_DX_MAKEINDEX
="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
19542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19543 for as_dir
in $PATH
19546 test -z "$as_dir" && as_dir
=.
19547 for ac_exec_ext
in '' $ac_executable_extensions; do
19548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19549 ac_cv_path_ac_pt_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
19550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19560 ac_pt_DX_MAKEINDEX
=$ac_cv_path_ac_pt_DX_MAKEINDEX
19561 if test -n "$ac_pt_DX_MAKEINDEX"; then
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
19563 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19566 $as_echo "no" >&6; }
19569 if test "x$ac_pt_DX_MAKEINDEX" = x
; then
19572 case $cross_compiling:$ac_tool_warned in
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19576 ac_tool_warned
=yes ;;
19578 DX_MAKEINDEX
=$ac_pt_DX_MAKEINDEX
19581 DX_MAKEINDEX
="$ac_cv_path_DX_MAKEINDEX"
19584 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
19586 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
19592 if test -n "$ac_tool_prefix"; then
19593 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
19594 set dummy
${ac_tool_prefix}dvips
; ac_word
=$2
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19596 $as_echo_n "checking for $ac_word... " >&6; }
19597 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
19598 $as_echo_n "(cached) " >&6
19602 ac_cv_path_DX_DVIPS
="$DX_DVIPS" # Let the user override the test with a path.
19605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19606 for as_dir
in $PATH
19609 test -z "$as_dir" && as_dir
=.
19610 for ac_exec_ext
in '' $ac_executable_extensions; do
19611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19612 ac_cv_path_DX_DVIPS
="$as_dir/$ac_word$ac_exec_ext"
19613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19623 DX_DVIPS
=$ac_cv_path_DX_DVIPS
19624 if test -n "$DX_DVIPS"; then
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
19626 $as_echo "$DX_DVIPS" >&6; }
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19629 $as_echo "no" >&6; }
19634 if test -z "$ac_cv_path_DX_DVIPS"; then
19635 ac_pt_DX_DVIPS
=$DX_DVIPS
19636 # Extract the first word of "dvips", so it can be a program name with args.
19637 set dummy dvips
; ac_word
=$2
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19639 $as_echo_n "checking for $ac_word... " >&6; }
19640 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
19641 $as_echo_n "(cached) " >&6
19643 case $ac_pt_DX_DVIPS in
19645 ac_cv_path_ac_pt_DX_DVIPS
="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
19648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19649 for as_dir
in $PATH
19652 test -z "$as_dir" && as_dir
=.
19653 for ac_exec_ext
in '' $ac_executable_extensions; do
19654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19655 ac_cv_path_ac_pt_DX_DVIPS
="$as_dir/$ac_word$ac_exec_ext"
19656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19666 ac_pt_DX_DVIPS
=$ac_cv_path_ac_pt_DX_DVIPS
19667 if test -n "$ac_pt_DX_DVIPS"; then
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
19669 $as_echo "$ac_pt_DX_DVIPS" >&6; }
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19672 $as_echo "no" >&6; }
19675 if test "x$ac_pt_DX_DVIPS" = x
; then
19678 case $cross_compiling:$ac_tool_warned in
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19682 ac_tool_warned
=yes ;;
19684 DX_DVIPS
=$ac_pt_DX_DVIPS
19687 DX_DVIPS
="$ac_cv_path_DX_DVIPS"
19690 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
19692 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
19698 if test -n "$ac_tool_prefix"; then
19699 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
19700 set dummy
${ac_tool_prefix}egrep; ac_word
=$2
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19702 $as_echo_n "checking for $ac_word... " >&6; }
19703 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
19704 $as_echo_n "(cached) " >&6
19708 ac_cv_path_DX_EGREP
="$DX_EGREP" # Let the user override the test with a path.
19711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19712 for as_dir
in $PATH
19715 test -z "$as_dir" && as_dir
=.
19716 for ac_exec_ext
in '' $ac_executable_extensions; do
19717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19718 ac_cv_path_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
19719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19729 DX_EGREP
=$ac_cv_path_DX_EGREP
19730 if test -n "$DX_EGREP"; then
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
19732 $as_echo "$DX_EGREP" >&6; }
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19735 $as_echo "no" >&6; }
19740 if test -z "$ac_cv_path_DX_EGREP"; then
19741 ac_pt_DX_EGREP
=$DX_EGREP
19742 # Extract the first word of "egrep", so it can be a program name with args.
19743 set dummy
egrep; ac_word
=$2
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19745 $as_echo_n "checking for $ac_word... " >&6; }
19746 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
19747 $as_echo_n "(cached) " >&6
19749 case $ac_pt_DX_EGREP in
19751 ac_cv_path_ac_pt_DX_EGREP
="$ac_pt_DX_EGREP" # Let the user override the test with a path.
19754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19755 for as_dir
in $PATH
19758 test -z "$as_dir" && as_dir
=.
19759 for ac_exec_ext
in '' $ac_executable_extensions; do
19760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19761 ac_cv_path_ac_pt_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
19762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19772 ac_pt_DX_EGREP
=$ac_cv_path_ac_pt_DX_EGREP
19773 if test -n "$ac_pt_DX_EGREP"; then
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
19775 $as_echo "$ac_pt_DX_EGREP" >&6; }
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19778 $as_echo "no" >&6; }
19781 if test "x$ac_pt_DX_EGREP" = x
; then
19784 case $cross_compiling:$ac_tool_warned in
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19788 ac_tool_warned
=yes ;;
19790 DX_EGREP
=$ac_pt_DX_EGREP
19793 DX_EGREP
="$ac_cv_path_DX_EGREP"
19796 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
19798 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
19805 if test "$DX_FLAG_ps" = 1; then
19808 DX_COND_ps_FALSE
='#'
19810 DX_COND_ps_TRUE
='#'
19819 DX_COND_ps_FALSE
='#'
19821 DX_COND_ps_TRUE
='#'
19830 # PDF file generation:
19834 # Check whether --enable-doxygen-pdf was given.
19835 if test "${enable_doxygen_pdf+set}" = set; then :
19836 enableval
=$enable_doxygen_pdf;
19837 case "$enableval" in
19843 test "$DX_FLAG_doc" = "1" \
19844 || as_fn_error
"doxygen-pdf requires doxygen-pdf" "$LINENO" 5
19852 as_fn_error
"invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
19861 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf
=0
19867 if test "$DX_FLAG_pdf" = 1; then
19869 if test -n "$ac_tool_prefix"; then
19870 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
19871 set dummy
${ac_tool_prefix}pdflatex
; ac_word
=$2
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19873 $as_echo_n "checking for $ac_word... " >&6; }
19874 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
19875 $as_echo_n "(cached) " >&6
19877 case $DX_PDFLATEX in
19879 ac_cv_path_DX_PDFLATEX
="$DX_PDFLATEX" # Let the user override the test with a path.
19882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19883 for as_dir
in $PATH
19886 test -z "$as_dir" && as_dir
=.
19887 for ac_exec_ext
in '' $ac_executable_extensions; do
19888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19889 ac_cv_path_DX_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
19890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19900 DX_PDFLATEX
=$ac_cv_path_DX_PDFLATEX
19901 if test -n "$DX_PDFLATEX"; then
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
19903 $as_echo "$DX_PDFLATEX" >&6; }
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19906 $as_echo "no" >&6; }
19911 if test -z "$ac_cv_path_DX_PDFLATEX"; then
19912 ac_pt_DX_PDFLATEX
=$DX_PDFLATEX
19913 # Extract the first word of "pdflatex", so it can be a program name with args.
19914 set dummy pdflatex
; ac_word
=$2
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19916 $as_echo_n "checking for $ac_word... " >&6; }
19917 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
19918 $as_echo_n "(cached) " >&6
19920 case $ac_pt_DX_PDFLATEX in
19922 ac_cv_path_ac_pt_DX_PDFLATEX
="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
19925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19926 for as_dir
in $PATH
19929 test -z "$as_dir" && as_dir
=.
19930 for ac_exec_ext
in '' $ac_executable_extensions; do
19931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19932 ac_cv_path_ac_pt_DX_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
19933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19943 ac_pt_DX_PDFLATEX
=$ac_cv_path_ac_pt_DX_PDFLATEX
19944 if test -n "$ac_pt_DX_PDFLATEX"; then
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
19946 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19949 $as_echo "no" >&6; }
19952 if test "x$ac_pt_DX_PDFLATEX" = x
; then
19955 case $cross_compiling:$ac_tool_warned in
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19959 ac_tool_warned
=yes ;;
19961 DX_PDFLATEX
=$ac_pt_DX_PDFLATEX
19964 DX_PDFLATEX
="$ac_cv_path_DX_PDFLATEX"
19967 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
19969 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
19975 if test -n "$ac_tool_prefix"; then
19976 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
19977 set dummy
${ac_tool_prefix}makeindex
; ac_word
=$2
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19979 $as_echo_n "checking for $ac_word... " >&6; }
19980 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
19981 $as_echo_n "(cached) " >&6
19983 case $DX_MAKEINDEX in
19985 ac_cv_path_DX_MAKEINDEX
="$DX_MAKEINDEX" # Let the user override the test with a path.
19988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19989 for as_dir
in $PATH
19992 test -z "$as_dir" && as_dir
=.
19993 for ac_exec_ext
in '' $ac_executable_extensions; do
19994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19995 ac_cv_path_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
19996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20006 DX_MAKEINDEX
=$ac_cv_path_DX_MAKEINDEX
20007 if test -n "$DX_MAKEINDEX"; then
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
20009 $as_echo "$DX_MAKEINDEX" >&6; }
20011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20012 $as_echo "no" >&6; }
20017 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
20018 ac_pt_DX_MAKEINDEX
=$DX_MAKEINDEX
20019 # Extract the first word of "makeindex", so it can be a program name with args.
20020 set dummy makeindex
; ac_word
=$2
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20022 $as_echo_n "checking for $ac_word... " >&6; }
20023 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
20024 $as_echo_n "(cached) " >&6
20026 case $ac_pt_DX_MAKEINDEX in
20028 ac_cv_path_ac_pt_DX_MAKEINDEX
="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
20031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20032 for as_dir
in $PATH
20035 test -z "$as_dir" && as_dir
=.
20036 for ac_exec_ext
in '' $ac_executable_extensions; do
20037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20038 ac_cv_path_ac_pt_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
20039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20049 ac_pt_DX_MAKEINDEX
=$ac_cv_path_ac_pt_DX_MAKEINDEX
20050 if test -n "$ac_pt_DX_MAKEINDEX"; then
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
20052 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20055 $as_echo "no" >&6; }
20058 if test "x$ac_pt_DX_MAKEINDEX" = x
; then
20061 case $cross_compiling:$ac_tool_warned in
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20065 ac_tool_warned
=yes ;;
20067 DX_MAKEINDEX
=$ac_pt_DX_MAKEINDEX
20070 DX_MAKEINDEX
="$ac_cv_path_DX_MAKEINDEX"
20073 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
20075 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
20081 if test -n "$ac_tool_prefix"; then
20082 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
20083 set dummy
${ac_tool_prefix}egrep; ac_word
=$2
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20085 $as_echo_n "checking for $ac_word... " >&6; }
20086 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
20087 $as_echo_n "(cached) " >&6
20091 ac_cv_path_DX_EGREP
="$DX_EGREP" # Let the user override the test with a path.
20094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20095 for as_dir
in $PATH
20098 test -z "$as_dir" && as_dir
=.
20099 for ac_exec_ext
in '' $ac_executable_extensions; do
20100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20101 ac_cv_path_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
20102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20112 DX_EGREP
=$ac_cv_path_DX_EGREP
20113 if test -n "$DX_EGREP"; then
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
20115 $as_echo "$DX_EGREP" >&6; }
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20118 $as_echo "no" >&6; }
20123 if test -z "$ac_cv_path_DX_EGREP"; then
20124 ac_pt_DX_EGREP
=$DX_EGREP
20125 # Extract the first word of "egrep", so it can be a program name with args.
20126 set dummy
egrep; ac_word
=$2
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20128 $as_echo_n "checking for $ac_word... " >&6; }
20129 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
20130 $as_echo_n "(cached) " >&6
20132 case $ac_pt_DX_EGREP in
20134 ac_cv_path_ac_pt_DX_EGREP
="$ac_pt_DX_EGREP" # Let the user override the test with a path.
20137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20138 for as_dir
in $PATH
20141 test -z "$as_dir" && as_dir
=.
20142 for ac_exec_ext
in '' $ac_executable_extensions; do
20143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20144 ac_cv_path_ac_pt_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
20145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20155 ac_pt_DX_EGREP
=$ac_cv_path_ac_pt_DX_EGREP
20156 if test -n "$ac_pt_DX_EGREP"; then
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
20158 $as_echo "$ac_pt_DX_EGREP" >&6; }
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20161 $as_echo "no" >&6; }
20164 if test "x$ac_pt_DX_EGREP" = x
; then
20167 case $cross_compiling:$ac_tool_warned in
20169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20171 ac_tool_warned
=yes ;;
20173 DX_EGREP
=$ac_pt_DX_EGREP
20176 DX_EGREP
="$ac_cv_path_DX_EGREP"
20179 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
20181 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
20188 if test "$DX_FLAG_pdf" = 1; then
20191 DX_COND_pdf_FALSE
='#'
20193 DX_COND_pdf_TRUE
='#'
20202 DX_COND_pdf_FALSE
='#'
20204 DX_COND_pdf_TRUE
='#'
20213 # LaTeX generation for PS and/or PDF:
20214 if test "$DX_FLAG_ps" = 1 ||
test "$DX_FLAG_pdf" = 1; then
20216 DX_COND_latex_TRUE
=
20217 DX_COND_latex_FALSE
='#'
20219 DX_COND_latex_TRUE
='#'
20220 DX_COND_latex_FALSE
=
20223 DX_ENV
="$DX_ENV GENERATE_LATEX='YES'"
20227 DX_COND_latex_TRUE
=
20228 DX_COND_latex_FALSE
='#'
20230 DX_COND_latex_TRUE
='#'
20231 DX_COND_latex_FALSE
=
20234 DX_ENV
="$DX_ENV GENERATE_LATEX='NO'"
20238 # Paper size for PS and/or PDF:
20240 case "$DOXYGEN_PAPER_SIZE" in
20243 DOXYGEN_PAPER_SIZE
="letter"
20245 a4wide|a4|letter|legal|executive
)
20246 DX_ENV
="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
20250 as_fn_error
"unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
20251 DOXYGEN_PAPER_SIZE
="letter"
20254 DX_ENV
="$DX_ENV PAPER_SIZE='"$DOXYGEN_PAPER_SIZE"'"
20258 if test -n "$DOXYGEN_HTML_LOGO"; then
20259 if ! test -f "$DOXYGEN_HTML_LOGO"; then
20260 as_fn_error
"not a file: \"$DOXYGEN_HTML_LOGO\"" "$LINENO" 5
20265 if test -n "$DOXYGEN_LOGO"; then
20266 if ! test -f "$DOXYGEN_LOGO"; then
20267 as_fn_error
"not a file: \"$DOXYGEN_LOGO\"" "$LINENO" 5
20272 if test -z "$DOXYGEN_TITLE"; then
20273 DOXYGEN_TITLE
="${PACKAGE_NAME}"
20277 if test -z "$DOXYGEN_AUTHOR"; then
20278 DOXYGEN_AUTHOR
="Generated by doxygen ${DOXYGEN_VERSION}"
20282 if test -z "$DOXYGEN_DATETIME"; then
20283 DOXYGEN_DATETIME
=`date +'%D %T'`
20287 if test -z "$DOXYGEN_DATE"; then
20288 DOXYGEN_DATE
=`date +%D`
20292 #echo DX_FLAG_doc=$DX_FLAG_doc
20293 #echo DX_FLAG_dot=$DX_FLAG_dot
20294 #echo DX_FLAG_man=$DX_FLAG_man
20295 #echo DX_FLAG_html=$DX_FLAG_html
20296 #echo DX_FLAG_chm=$DX_FLAG_chm
20297 #echo DX_FLAG_chi=$DX_FLAG_chi
20298 #echo DX_FLAG_rtf=$DX_FLAG_rtf
20299 #echo DX_FLAG_xml=$DX_FLAG_xml
20300 #echo DX_FLAG_pdf=$DX_FLAG_pdf
20301 #echo DX_FLAG_ps=$DX_FLAG_ps
20302 #echo DX_ENV=$DX_ENV
20304 ac_config_files
="$ac_config_files header.tex doxygen.sty"
20306 ac_config_files
="$ac_config_files doxygen.cfg:portals4/doxygen.cfg.in"
20309 fi #### End: Portals4 runtime configuration
20311 # Get target configury.
20312 .
${srcdir}/configure.tgt
20314 # configure.tgt sets these substitution variables.
20315 # It also sets 'upc_crtstuff=yes' if upc-crtstuff needs
20330 if test "$upc_runtime_model" = "smp"; then
20331 LIBGUPC_SMP_RUNTIME_TRUE
=
20332 LIBGUPC_SMP_RUNTIME_FALSE
='#'
20334 LIBGUPC_SMP_RUNTIME_TRUE
='#'
20335 LIBGUPC_SMP_RUNTIME_FALSE
=
20338 if test "$upc_runtime_model" = "portals4"; then
20339 LIBGUPC_PORTALS4_RUNTIME_TRUE
=
20340 LIBGUPC_PORTALS4_RUNTIME_FALSE
='#'
20342 LIBGUPC_PORTALS4_RUNTIME_TRUE
='#'
20343 LIBGUPC_PORTALS4_RUNTIME_FALSE
=
20346 if test "$enable_upc_runtime_debug" = "yes"; then
20347 LIBGUPC_RUNTIME_DEBUG_TRUE
=
20348 LIBGUPC_RUNTIME_DEBUG_FALSE
='#'
20350 LIBGUPC_RUNTIME_DEBUG_TRUE
='#'
20351 LIBGUPC_RUNTIME_DEBUG_FALSE
=
20355 if test "$upc_crtstuff" = "yes"; then
20356 LIBGUPC_CRTSTUFF_TRUE
=
20357 LIBGUPC_CRTSTUFF_FALSE
='#'
20359 LIBGUPC_CRTSTUFF_TRUE
='#'
20360 LIBGUPC_CRTSTUFF_FALSE
=
20363 if test "$enable_upc_link_script" = "yes"; then
20364 LIBGUPC_LINK_SCRIPT_TRUE
=
20365 LIBGUPC_LINK_SCRIPT_FALSE
='#'
20367 LIBGUPC_LINK_SCRIPT_TRUE
='#'
20368 LIBGUPC_LINK_SCRIPT_FALSE
=
20371 if test "$use_generic_collectives" = "yes"; then
20372 LIBGUPC_GENERIC_COLLECTIVES_TRUE
=
20373 LIBGUPC_GENERIC_COLLECTIVES_FALSE
='#'
20375 LIBGUPC_GENERIC_COLLECTIVES_TRUE
='#'
20376 LIBGUPC_GENERIC_COLLECTIVES_FALSE
=
20380 if test "$targ_runtime_pthreads" = "yes"; then
20381 LIBGUPC_PTHREADS_TRUE
=
20382 LIBGUPC_PTHREADS_FALSE
='#'
20384 LIBGUPC_PTHREADS_TRUE
='#'
20385 LIBGUPC_PTHREADS_FALSE
=
20388 if test "$upc_affinity" = "yes"; then
20389 LIBGUPC_AFFINITY_TRUE
=
20390 LIBGUPC_AFFINITY_FALSE
='#'
20392 LIBGUPC_AFFINITY_TRUE
='#'
20393 LIBGUPC_AFFINITY_FALSE
=
20396 if test "$upc_numa" = "yes"; then
20398 LIBGUPC_NUMA_FALSE
='#'
20400 LIBGUPC_NUMA_TRUE
='#'
20401 LIBGUPC_NUMA_FALSE
=
20404 if test "$upc_gum_debug" = "yes"; then
20406 LIBGUPC_GUM_FALSE
='#'
20408 LIBGUPC_GUM_TRUE
='#'
20412 if test "$enable_upc_backtrace" = "yes"; then
20413 LIBGUPC_BACKTRACE_TRUE
=
20414 LIBGUPC_BACKTRACE_FALSE
='#'
20416 LIBGUPC_BACKTRACE_TRUE
='#'
20417 LIBGUPC_BACKTRACE_FALSE
=
20420 if test "$have_bfd" = "yes"; then
20421 LIBGUPC_BACKTRACE_SUP_TRUE
=
20422 LIBGUPC_BACKTRACE_SUP_FALSE
='#'
20424 LIBGUPC_BACKTRACE_SUP_TRUE
='#'
20425 LIBGUPC_BACKTRACE_SUP_FALSE
=
20428 if test "$upc_node_local" = "posix"; then
20429 LIBGUPC_NODE_LOCAL_MEM_POSIX_TRUE
=
20430 LIBGUPC_NODE_LOCAL_MEM_POSIX_FALSE
='#'
20432 LIBGUPC_NODE_LOCAL_MEM_POSIX_TRUE
='#'
20433 LIBGUPC_NODE_LOCAL_MEM_POSIX_FALSE
=
20436 if test "$upc_node_local" = "mmap"; then
20437 LIBGUPC_NODE_LOCAL_MEM_MMAP_TRUE
=
20438 LIBGUPC_NODE_LOCAL_MEM_MMAP_FALSE
='#'
20440 LIBGUPC_NODE_LOCAL_MEM_MMAP_TRUE
='#'
20441 LIBGUPC_NODE_LOCAL_MEM_MMAP_FALSE
=
20450 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
20452 ac_config_files
="$ac_config_files upc-crtbegin.spec libgupc.spec upc-crtend.spec"
20454 cat >confcache
<<\_ACEOF
20455 # This file is a shell script that caches the results of configure
20456 # tests run on this system so they can be shared between configure
20457 # scripts and configure runs, see configure's option --config-cache.
20458 # It is not useful on other systems. If it contains results you don't
20459 # want to keep, you may remove or edit it.
20461 # config.status only pays attention to the cache file if you give it
20462 # the --recheck option to rerun configure.
20464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20466 # following values.
20470 # The following way of writing the cache mishandles newlines in values,
20471 # but we know of no workaround that is simple, portable, and efficient.
20472 # So, we kill variables containing newlines.
20473 # Ultrix sh set writes to stderr and can't be redirected directly,
20474 # and sets the high bit in the cache file unless we assign to the vars.
20476 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20477 eval ac_val
=\$
$ac_var
20481 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20482 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20485 _ | IFS | as_nl
) ;; #(
20486 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20487 *) { eval $ac_var=; unset $ac_var;} ;;
20493 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20494 *${as_nl}ac_space
=\
*)
20495 # `set' does not quote correctly, so add quotes: double-quote
20496 # substitution turns \\\\ into \\, and sed turns \\ into \.
20499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20502 # `set' quotes correctly as required by POSIX, so do not add quotes.
20503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20514 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20516 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20517 if test -w "$cache_file"; then
20518 test "x$cache_file" != "x/dev/null" &&
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20520 $as_echo "$as_me: updating cache $cache_file" >&6;}
20521 cat confcache
>$cache_file
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20524 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20529 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20530 # Let make expand exec_prefix.
20531 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20533 DEFS
=-DHAVE_CONFIG_H
20537 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20538 # 1. Remove the extension, and $U if already installed.
20539 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20540 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20541 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20542 # will be set to the directory where LIBOBJS objects are built.
20543 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20544 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20546 LIBOBJS
=$ac_libobjs
20548 LTLIBOBJS
=$ac_ltlibobjs
20551 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
20552 as_fn_error
"conditional \"GENINSRC\" was never defined.
20553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20555 if test -n "$EXEEXT"; then
20557 am__EXEEXT_FALSE
='#'
20559 am__EXEEXT_TRUE
='#'
20563 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20564 as_fn_error
"conditional \"AMDEP\" was never defined.
20565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20567 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20568 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
20569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20571 if test -z "${am__fastdepUPC_TRUE}" && test -z "${am__fastdepUPC_FALSE}"; then
20572 as_fn_error
"conditional \"am__fastdepUPC\" was never defined.
20573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20575 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
20576 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
20577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20579 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20580 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
20581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20583 if test -z "${LIBGUPC_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${LIBGUPC_BUILD_VERSIONED_SHLIB_FALSE}"; then
20584 as_fn_error
"conditional \"LIBGUPC_BUILD_VERSIONED_SHLIB\" was never defined.
20585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20587 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20588 as_fn_error
"conditional \"DX_COND_doc\" was never defined.
20589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20591 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20592 as_fn_error
"conditional \"DX_COND_doc\" was never defined.
20593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20595 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20596 as_fn_error
"conditional \"DX_COND_dot\" was never defined.
20597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20599 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20600 as_fn_error
"conditional \"DX_COND_dot\" was never defined.
20601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20603 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20604 as_fn_error
"conditional \"DX_COND_man\" was never defined.
20605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20607 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20608 as_fn_error
"conditional \"DX_COND_man\" was never defined.
20609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20611 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20612 as_fn_error
"conditional \"DX_COND_rtf\" was never defined.
20613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20615 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20616 as_fn_error
"conditional \"DX_COND_rtf\" was never defined.
20617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20619 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20620 as_fn_error
"conditional \"DX_COND_xml\" was never defined.
20621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20623 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20624 as_fn_error
"conditional \"DX_COND_xml\" was never defined.
20625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20627 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20628 as_fn_error
"conditional \"DX_COND_chm\" was never defined.
20629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20631 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20632 as_fn_error
"conditional \"DX_COND_chm\" was never defined.
20633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20635 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20636 as_fn_error
"conditional \"DX_COND_chi\" was never defined.
20637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20639 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20640 as_fn_error
"conditional \"DX_COND_chi\" was never defined.
20641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20643 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20644 as_fn_error
"conditional \"DX_COND_html\" was never defined.
20645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20647 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20648 as_fn_error
"conditional \"DX_COND_html\" was never defined.
20649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20651 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20652 as_fn_error
"conditional \"DX_COND_ps\" was never defined.
20653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20655 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20656 as_fn_error
"conditional \"DX_COND_ps\" was never defined.
20657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20659 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20660 as_fn_error
"conditional \"DX_COND_pdf\" was never defined.
20661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20663 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20664 as_fn_error
"conditional \"DX_COND_pdf\" was never defined.
20665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20667 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20668 as_fn_error
"conditional \"DX_COND_latex\" was never defined.
20669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20671 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20672 as_fn_error
"conditional \"DX_COND_latex\" was never defined.
20673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20675 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20676 as_fn_error
"conditional \"DX_COND_doc\" was never defined.
20677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20679 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20680 as_fn_error
"conditional \"DX_COND_doc\" was never defined.
20681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20683 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20684 as_fn_error
"conditional \"DX_COND_dot\" was never defined.
20685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20687 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20688 as_fn_error
"conditional \"DX_COND_dot\" was never defined.
20689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20691 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20692 as_fn_error
"conditional \"DX_COND_man\" was never defined.
20693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20695 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20696 as_fn_error
"conditional \"DX_COND_man\" was never defined.
20697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20699 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20700 as_fn_error
"conditional \"DX_COND_rtf\" was never defined.
20701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20703 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20704 as_fn_error
"conditional \"DX_COND_rtf\" was never defined.
20705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20707 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20708 as_fn_error
"conditional \"DX_COND_xml\" was never defined.
20709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20711 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20712 as_fn_error
"conditional \"DX_COND_xml\" was never defined.
20713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20715 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20716 as_fn_error
"conditional \"DX_COND_chm\" was never defined.
20717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20719 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20720 as_fn_error
"conditional \"DX_COND_chm\" was never defined.
20721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20723 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20724 as_fn_error
"conditional \"DX_COND_chi\" was never defined.
20725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20727 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20728 as_fn_error
"conditional \"DX_COND_chi\" was never defined.
20729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20731 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20732 as_fn_error
"conditional \"DX_COND_html\" was never defined.
20733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20735 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20736 as_fn_error
"conditional \"DX_COND_html\" was never defined.
20737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20739 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20740 as_fn_error
"conditional \"DX_COND_ps\" was never defined.
20741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20743 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20744 as_fn_error
"conditional \"DX_COND_ps\" was never defined.
20745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20747 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20748 as_fn_error
"conditional \"DX_COND_pdf\" was never defined.
20749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20751 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20752 as_fn_error
"conditional \"DX_COND_pdf\" was never defined.
20753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20755 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20756 as_fn_error
"conditional \"DX_COND_latex\" was never defined.
20757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20759 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20760 as_fn_error
"conditional \"DX_COND_latex\" was never defined.
20761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20763 if test -z "${LIBGUPC_SMP_RUNTIME_TRUE}" && test -z "${LIBGUPC_SMP_RUNTIME_FALSE}"; then
20764 as_fn_error
"conditional \"LIBGUPC_SMP_RUNTIME\" was never defined.
20765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20767 if test -z "${LIBGUPC_PORTALS4_RUNTIME_TRUE}" && test -z "${LIBGUPC_PORTALS4_RUNTIME_FALSE}"; then
20768 as_fn_error
"conditional \"LIBGUPC_PORTALS4_RUNTIME\" was never defined.
20769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20771 if test -z "${LIBGUPC_RUNTIME_DEBUG_TRUE}" && test -z "${LIBGUPC_RUNTIME_DEBUG_FALSE}"; then
20772 as_fn_error
"conditional \"LIBGUPC_RUNTIME_DEBUG\" was never defined.
20773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20775 if test -z "${LIBGUPC_CRTSTUFF_TRUE}" && test -z "${LIBGUPC_CRTSTUFF_FALSE}"; then
20776 as_fn_error
"conditional \"LIBGUPC_CRTSTUFF\" was never defined.
20777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20779 if test -z "${LIBGUPC_LINK_SCRIPT_TRUE}" && test -z "${LIBGUPC_LINK_SCRIPT_FALSE}"; then
20780 as_fn_error
"conditional \"LIBGUPC_LINK_SCRIPT\" was never defined.
20781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20783 if test -z "${LIBGUPC_GENERIC_COLLECTIVES_TRUE}" && test -z "${LIBGUPC_GENERIC_COLLECTIVES_FALSE}"; then
20784 as_fn_error
"conditional \"LIBGUPC_GENERIC_COLLECTIVES\" was never defined.
20785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20787 if test -z "${LIBGUPC_PTHREADS_TRUE}" && test -z "${LIBGUPC_PTHREADS_FALSE}"; then
20788 as_fn_error
"conditional \"LIBGUPC_PTHREADS\" was never defined.
20789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20791 if test -z "${LIBGUPC_AFFINITY_TRUE}" && test -z "${LIBGUPC_AFFINITY_FALSE}"; then
20792 as_fn_error
"conditional \"LIBGUPC_AFFINITY\" was never defined.
20793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20795 if test -z "${LIBGUPC_NUMA_TRUE}" && test -z "${LIBGUPC_NUMA_FALSE}"; then
20796 as_fn_error
"conditional \"LIBGUPC_NUMA\" was never defined.
20797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20799 if test -z "${LIBGUPC_GUM_TRUE}" && test -z "${LIBGUPC_GUM_FALSE}"; then
20800 as_fn_error
"conditional \"LIBGUPC_GUM\" was never defined.
20801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20803 if test -z "${LIBGUPC_BACKTRACE_TRUE}" && test -z "${LIBGUPC_BACKTRACE_FALSE}"; then
20804 as_fn_error
"conditional \"LIBGUPC_BACKTRACE\" was never defined.
20805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20807 if test -z "${LIBGUPC_BACKTRACE_SUP_TRUE}" && test -z "${LIBGUPC_BACKTRACE_SUP_FALSE}"; then
20808 as_fn_error
"conditional \"LIBGUPC_BACKTRACE_SUP\" was never defined.
20809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20811 if test -z "${LIBGUPC_NODE_LOCAL_MEM_POSIX_TRUE}" && test -z "${LIBGUPC_NODE_LOCAL_MEM_POSIX_FALSE}"; then
20812 as_fn_error
"conditional \"LIBGUPC_NODE_LOCAL_MEM_POSIX\" was never defined.
20813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20815 if test -z "${LIBGUPC_NODE_LOCAL_MEM_MMAP_TRUE}" && test -z "${LIBGUPC_NODE_LOCAL_MEM_MMAP_FALSE}"; then
20816 as_fn_error
"conditional \"LIBGUPC_NODE_LOCAL_MEM_MMAP\" was never defined.
20817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20820 : ${CONFIG_STATUS=./config.status}
20822 ac_clean_files_save
=$ac_clean_files
20823 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20825 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20827 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20829 # Generated by $as_me.
20830 # Run this file to recreate the current configuration.
20831 # Compiler output produced by configure, useful for debugging
20832 # configure, is in config.log if it exists.
20835 ac_cs_recheck=false
20838 SHELL=\${CONFIG_SHELL-$SHELL}
20841 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20842 ## -------------------- ##
20843 ## M4sh Initialization. ##
20844 ## -------------------- ##
20846 # Be more Bourne compatible
20847 DUALCASE
=1; export DUALCASE
# for MKS sh
20848 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20851 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20852 # is contrary to our usage. Disable this feature.
20853 alias -g '${1+"$@"}'='"$@"'
20854 setopt NO_GLOB_SUBST
20856 case `(set -o) 2>/dev/null` in #(
20868 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20869 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20871 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20872 # Prefer a ksh shell builtin over an external printf program on Solaris,
20873 # but without wasting forks for bash or zsh.
20874 if test -z "$BASH_VERSION$ZSH_VERSION" \
20875 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20876 as_echo='print
-r --'
20877 as_echo_n='print
-rn --'
20878 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20879 as_echo='printf %s
\n'
20880 as_echo_n='printf %s
'
20882 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20883 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20884 as_echo_n='/usr
/ucb
/echo -n'
20886 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20887 as_echo_n_body='eval
20891 expr "X$arg" : "X\\(.*\\)$as_nl";
20892 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20894 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20896 export as_echo_n_body
20897 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20899 export as_echo_body
20900 as_echo='sh
-c $as_echo_body as_echo
'
20903 # The user is always right.
20904 if test "${PATH_SEPARATOR+set}" != set; then
20906 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20907 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20914 # We need space, tab and new line, in precisely that order. Quoting is
20915 # there to prevent editors from complaining about space-tab.
20916 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20917 # splitting by setting IFS to empty value.)
20920 # Find who we are. Look in the path if we contain no directory separator.
20922 *[\\/]* ) as_myself=$0 ;;
20923 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20924 for as_dir in $PATH
20927 test -z "$as_dir" && as_dir=.
20928 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20934 # We did not find ourselves, most probably we were run as `sh COMMAND'
20935 # in which case we are not to be found in the path.
20936 if test "x$as_myself" = x
; then
20939 if test ! -f "$as_myself"; then
20940 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20944 # Unset variables that we do not need and which cause bugs (e.g. in
20945 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20946 # suppresses any "Segmentation fault" message there. '((' could
20947 # trigger a bug in pdksh 5.2.14.
20948 for as_var
in BASH_ENV ENV MAIL MAILPATH
20949 do eval test x\
${$as_var+set} = xset \
20950 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20963 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20966 # as_fn_error ERROR [LINENO LOG_FD]
20967 # ---------------------------------
20968 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20969 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20970 # script with status $?, using 1 if that was 0.
20973 as_status
=$?
; test $as_status -eq 0 && as_status
=1
20975 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20976 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
20978 $as_echo "$as_me: error: $1" >&2
20979 as_fn_exit
$as_status
20983 # as_fn_set_status STATUS
20984 # -----------------------
20985 # Set $? to STATUS, without forking.
20986 as_fn_set_status
()
20989 } # as_fn_set_status
20991 # as_fn_exit STATUS
20992 # -----------------
20993 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20997 as_fn_set_status
$1
21003 # Portably unset VAR.
21006 { eval $1=; unset $1;}
21008 as_unset
=as_fn_unset
21009 # as_fn_append VAR VALUE
21010 # ----------------------
21011 # Append the text in VALUE to the end of the definition contained in VAR. Take
21012 # advantage of any shell optimizations that allow amortized linear growth over
21013 # repeated appends, instead of the typical quadratic growth present in naive
21015 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21016 eval 'as_fn_append ()
21027 # as_fn_arith ARG...
21028 # ------------------
21029 # Perform arithmetic evaluation on the ARGs, and store the result in the
21030 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21031 # must be portable across $(()) and expr.
21032 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21033 eval 'as_fn_arith ()
21040 as_val
=`expr "$@" || test $? -eq 1`
21045 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21046 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21052 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21053 as_basename
=basename
21058 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21064 as_me
=`$as_basename -- "$0" ||
21065 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21066 X"$0" : 'X\(//\)$' \| \
21067 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21069 sed '/^.*\/\([^/][^/]*\)\/*$/{
21083 # Avoid depending upon Character Ranges.
21084 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21085 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21086 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21087 as_cr_digits
='0123456789'
21088 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21090 ECHO_C
= ECHO_N
= ECHO_T
=
21091 case `echo -n x` in #(((((
21093 case `echo 'xy\c'` in
21094 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21096 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21103 rm -f conf$$ conf$$.exe conf$$.
file
21104 if test -d conf$$.dir
; then
21105 rm -f conf$$.dir
/conf$$.
file
21108 mkdir conf$$.dir
2>/dev
/null
21110 if (echo >conf$$.
file) 2>/dev
/null
; then
21111 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21113 # ... but there are two gotchas:
21114 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21115 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21116 # In both cases, we have to default to `cp -p'.
21117 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21119 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21127 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21128 rmdir conf$$.dir
2>/dev
/null
21133 # Create "$as_dir" as a directory, including parents if necessary.
21138 -*) as_dir
=.
/$as_dir;;
21140 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
21144 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21145 *) as_qdir
=$as_dir;;
21147 as_dirs
="'$as_qdir' $as_dirs"
21148 as_dir
=`$as_dirname -- "$as_dir" ||
21149 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21150 X"$as_dir" : 'X\(//\)[^/]' \| \
21151 X"$as_dir" : 'X\(//\)$' \| \
21152 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21153 $as_echo X"$as_dir" |
21154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21158 /^X\(\/\/\)[^/].*/{
21171 test -d "$as_dir" && break
21173 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21174 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
21178 if mkdir
-p .
2>/dev
/null
; then
21179 as_mkdir_p
='mkdir -p "$as_dir"'
21181 test -d .
/-p && rmdir .
/-p
21185 if test -x / >/dev
/null
2>&1; then
21186 as_test_x
='test -x'
21188 if ls -dL / >/dev
/null
2>&1; then
21195 if test -d "$1"; then
21201 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21202 ???[sx]*):;;*)false;;esac;fi
21206 as_executable_p
=$as_test_x
21208 # Sed expression to map a string onto a valid CPP name.
21209 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21211 # Sed expression to map a string onto a valid variable name.
21212 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21216 ## ----------------------------------- ##
21217 ## Main body of $CONFIG_STATUS script. ##
21218 ## ----------------------------------- ##
21220 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21223 # Save the log message, to keep $0 and so on meaningful, and to
21224 # report actual input values of CONFIG_FILES etc. instead of their
21225 # values after options handling.
21227 This file was extended by GNU UPC Runtime Library $as_me 1.0, which was
21228 generated by GNU Autoconf 2.64. Invocation command line was
21230 CONFIG_FILES = $CONFIG_FILES
21231 CONFIG_HEADERS = $CONFIG_HEADERS
21232 CONFIG_LINKS = $CONFIG_LINKS
21233 CONFIG_COMMANDS = $CONFIG_COMMANDS
21236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21241 case $ac_config_files in *"
21242 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21245 case $ac_config_headers in *"
21246 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21251 # Files that config.status was made for.
21252 config_files="$ac_config_files"
21253 config_headers="$ac_config_headers"
21254 config_commands="$ac_config_commands"
21258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21260 \`$as_me' instantiates files and other configuration actions
21261 from templates according to the current configuration. Unless the files
21262 and actions are specified as TAGs, all are instantiated by default.
21264 Usage: $0 [OPTION]... [TAG]...
21266 -h, --help print this help, then exit
21267 -V, --version print version number and configuration settings, then exit
21268 -q, --quiet, --silent
21269 do not print progress messages
21270 -d, --debug don't remove temporary files
21271 --recheck update $as_me by reconfiguring in the same conditions
21272 --file=FILE[:TEMPLATE]
21273 instantiate the configuration file FILE
21274 --header=FILE[:TEMPLATE]
21275 instantiate the configuration header FILE
21277 Configuration files:
21280 Configuration headers:
21283 Configuration commands:
21286 Report bugs to the package provider.
21287 GNU UPC Runtime Library home page: <http://www.gnu.org/software/libgupc/>.
21288 General help using GNU software: <http://www.gnu.org/gethelp/>."
21291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21293 GNU UPC Runtime Library config.status 1.0
21294 configured by $0, generated by GNU Autoconf 2.64,
21295 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21297 Copyright (C) 2009 Free Software Foundation, Inc.
21298 This config.status script is free software; the Free Software Foundation
21299 gives unlimited permission to copy, distribute and modify it."
21306 test -n "\$AWK" || AWK=awk
21309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21310 # The default lists apply if the user does not specify any file.
21316 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21317 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21328 # Handling of the options.
21329 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21331 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21332 $as_echo "$ac_cs_version"; exit ;;
21333 --debug |
--debu |
--deb |
--de |
--d |
-d )
21335 --file |
--fil |
--fi |
--f )
21338 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21340 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21341 ac_need_defaults
=false
;;
21342 --header |
--heade |
--head |
--hea )
21345 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21347 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21348 ac_need_defaults
=false
;;
21350 # Conflict between --help and --header
21351 as_fn_error
"ambiguous option: \`$1'
21352 Try \`$0 --help' for more information.";;
21353 --help |
--hel |
-h )
21354 $as_echo "$ac_cs_usage"; exit ;;
21355 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21356 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21359 # This is an error.
21360 -*) as_fn_error
"unrecognized option: \`$1'
21361 Try \`$0 --help' for more information." ;;
21363 *) as_fn_append ac_config_targets
" $1"
21364 ac_need_defaults
=false
;;
21370 ac_configure_extra_args
=
21372 if $ac_cs_silent; then
21374 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21379 if \$ac_cs_recheck; then
21380 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21382 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21383 CONFIG_SHELL='$SHELL'
21384 export CONFIG_SHELL
21389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21393 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21394 ## Running $as_me. ##
21400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21408 with_multisubdir="$with_multisubdir"
21409 with_multisrctop="$with_multisrctop"
21410 with_target_subdir="$with_target_subdir"
21411 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21412 multi_basedir="$multi_basedir"
21413 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21416 GFORTRAN="$GFORTRAN"
21418 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21421 # The HP-UX ksh and POSIX shell print the target directory to stdout
21422 # if CDPATH is set.
21423 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21425 sed_quote_subst='$sed_quote_subst'
21426 double_quote_subst='$double_quote_subst'
21427 delay_variable_subst='$delay_variable_subst'
21428 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21429 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21430 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21431 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21432 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21433 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21434 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21435 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21436 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21437 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21438 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21439 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21440 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21441 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21442 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21443 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21444 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21445 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21446 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21447 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21448 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21449 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21450 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21451 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21452 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21453 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21454 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21455 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21456 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21457 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21458 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21459 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21460 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21461 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21462 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21463 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21464 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21465 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21466 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21467 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21468 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21469 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21470 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21471 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21472 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21473 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21474 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21475 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21476 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"`'
21477 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21478 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21479 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21480 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21481 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21482 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21483 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21484 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21485 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21486 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21487 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21488 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21489 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21490 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21491 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21492 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21493 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21494 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21495 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21496 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21497 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21498 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21499 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21500 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21501 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21502 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21503 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21504 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21505 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21506 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21507 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21508 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
21509 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21510 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21511 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21512 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21513 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21514 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21515 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21516 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21517 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
21518 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21519 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21520 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21521 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21522 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21523 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21524 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21525 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21526 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21527 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21528 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21529 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21530 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21531 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21532 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21533 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21534 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21535 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21536 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21537 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21538 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21539 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21540 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21541 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21542 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21543 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21544 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21545 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21546 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21547 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21550 LTCFLAGS='$LTCFLAGS'
21551 compiler='$compiler_DEFAULT'
21553 # A function that is used when there is no print builtin or printf.
21554 func_fallback_echo ()
21556 eval 'cat <<_LTECHO_EOF
21561 # Quote evaled strings.
21575 deplibs_check_method \
21584 lt_cv_sys_global_symbol_pipe \
21585 lt_cv_sys_global_symbol_to_cdecl \
21586 lt_cv_sys_global_symbol_to_c_name_address \
21587 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21588 lt_prog_compiler_no_builtin_flag \
21589 lt_prog_compiler_wl \
21590 lt_prog_compiler_pic \
21591 lt_prog_compiler_static \
21592 lt_cv_prog_compiler_c_o \
21600 export_dynamic_flag_spec \
21601 whole_archive_flag_spec \
21602 compiler_needs_object \
21604 allow_undefined_flag \
21605 no_undefined_flag \
21606 hardcode_libdir_flag_spec \
21607 hardcode_libdir_flag_spec_ld \
21608 hardcode_libdir_separator \
21613 variables_saved_for_relink \
21615 library_names_spec \
21617 install_override_mode \
21621 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21622 *[\\\\\\\`\\"\\\$]*)
21623 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21626 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21631 # Double-quote double-evaled strings.
21632 for var in reload_cmds \
21633 old_postinstall_cmds \
21634 old_postuninstall_cmds \
21636 extract_expsyms_cmds \
21637 old_archive_from_new_cmds \
21638 old_archive_from_expsyms_cmds \
21640 archive_expsym_cmds \
21642 module_expsym_cmds \
21643 export_symbols_cmds \
21646 postuninstall_cmds \
21648 sys_lib_search_path_spec \
21649 sys_lib_dlsearch_path_spec; do
21650 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21651 *[\\\\\\\`\\"\\\$]*)
21652 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21655 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21660 ac_aux_dir='$ac_aux_dir'
21661 xsi_shell='$xsi_shell'
21662 lt_shell_append='$lt_shell_append'
21664 # See if we are running on zsh, and set the options which allow our
21665 # commands through without removal of \ escapes INIT.
21666 if test -n "\${ZSH_VERSION+set}" ; then
21667 setopt NO_GLOB_SUBST
21673 TIMESTAMP='$TIMESTAMP'
21682 acx_cv_header_stdint="$acx_cv_header_stdint"
21683 acx_cv_type_int8_t="$acx_cv_type_int8_t"
21684 acx_cv_type_int16_t="$acx_cv_type_int16_t"
21685 acx_cv_type_int32_t="$acx_cv_type_int32_t"
21686 acx_cv_type_int64_t="$acx_cv_type_int64_t"
21687 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
21688 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
21689 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
21690 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
21691 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
21692 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
21693 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
21694 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
21695 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
21700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21702 # Handling of arguments.
21703 for ac_config_target
in $ac_config_targets
21705 case $ac_config_target in
21706 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21707 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21708 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21709 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21710 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
21711 "header.tex") CONFIG_FILES
="$CONFIG_FILES header.tex" ;;
21712 "doxygen.sty") CONFIG_FILES
="$CONFIG_FILES doxygen.sty" ;;
21713 "doxygen.cfg") CONFIG_FILES
="$CONFIG_FILES doxygen.cfg:portals4/doxygen.cfg.in" ;;
21714 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21715 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
21716 "upc-crtbegin.spec") CONFIG_FILES
="$CONFIG_FILES upc-crtbegin.spec" ;;
21717 "libgupc.spec") CONFIG_FILES
="$CONFIG_FILES libgupc.spec" ;;
21718 "upc-crtend.spec") CONFIG_FILES
="$CONFIG_FILES upc-crtend.spec" ;;
21720 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21725 # If the user did not use the arguments to specify the items to instantiate,
21726 # then the envvar interface is used. Set only those that are not.
21727 # We use the long form for the default assignment because of an extremely
21728 # bizarre bug on SunOS 4.1.3.
21729 if $ac_need_defaults; then
21730 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21731 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21732 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21735 # Have a temporary directory for convenience. Make it in the build tree
21736 # simply because there is no reason against having it here, and in addition,
21737 # creating and moving files from /tmp can sometimes cause problems.
21738 # Hook for its removal unless debugging.
21739 # Note that there is a small window in which the directory will not be cleaned:
21740 # after its creation but before its name has been assigned to `$tmp'.
21744 trap 'exit_status=$?
21745 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21747 trap 'as_fn_exit 1' 1 2 13 15
21749 # Create a (secure) tmp directory for tmp files.
21752 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21753 test -n "$tmp" && test -d "$tmp"
21756 tmp
=.
/conf$$
-$RANDOM
21757 (umask 077 && mkdir
"$tmp")
21758 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
21760 # Set up the scripts for CONFIG_FILES section.
21761 # No need to generate them if there are no CONFIG_FILES.
21762 # This happens for instance with `./config.status config.h'.
21763 if test -n "$CONFIG_FILES"; then
21766 ac_cr
=`echo X | tr X '\015'`
21767 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21768 # But we know of no other shell where ac_cr would be empty at this
21769 # point, so we can use a bashism as a fallback.
21770 if test "x$ac_cr" = x
; then
21771 eval ac_cr
=\$
\'\\r
\'
21773 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21774 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21777 ac_cs_awk_cr
=$ac_cr
21780 echo 'BEGIN {' >"$tmp/subs1.awk" &&
21785 echo "cat >conf$$subs.awk <<_ACEOF" &&
21786 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21788 } >conf$$subs.sh ||
21789 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
21790 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21792 for ac_last_try in false false false false false :; do
21793 . ./conf$$subs.sh ||
21794 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
21796 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21797 if test $ac_delim_n = $ac_delim_num; then
21799 elif $ac_last_try; then
21800 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
21802 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21805 rm -f conf$$subs.sh
21807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21808 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
21812 s/^/S["/; s
/!.
*/"]=/
21822 s/\(.\{148\}\).*/\1/
21824 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21829 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21836 s/\(.\{148\}\).*/\1/
21838 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21842 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21847 ' <conf$$subs.awk | sed '
21852 ' >>$CONFIG_STATUS || ac_write_fail=1
21853 rm -f conf$$subs.awk
21854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21856 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
21857 for (key in S) S_is_set[key] = 1
21863 nfields = split(line, field, "@
")
21865 len = length(field[1])
21866 for (i = 2; i < nfields; i++) {
21868 keylen = length(key)
21869 if (S_is_set[key]) {
21871 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21872 len += length(value) + length(field[++i])
21883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21884 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21885 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21888 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
21889 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
21892 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21893 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
21894 # trailing colons and then remove the whole line if VPATH becomes empty
21895 # (actually we leave an empty line to preserve line numbers).
21896 if test "x
$srcdir" = x.; then
21897 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21898 s/:*\$(srcdir):*/:/
21899 s/:*\${srcdir}:*/:/
21901 s/^\([^=]*=[ ]*\):*/\1/
21907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21908 fi # test -n "$CONFIG_FILES"
21910 # Set up the scripts for CONFIG_HEADERS section.
21911 # No need to generate them if there are no CONFIG_HEADERS.
21912 # This happens for instance with `./config.status Makefile'.
21913 if test -n "$CONFIG_HEADERS"; then
21914 cat >"$tmp/defines.
awk" <<\_ACAWK ||
21918 # Transform confdefs.h into an awk script `defines.awk', embedded as
21919 # here-document in config.status, that substitutes the proper values into
21920 # config.h.in to produce config.h.
21922 # Create a delimiter string that does not exist in confdefs.h, to ease
21923 # handling of long lines.
21925 for ac_last_try in false false :; do
21926 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
21927 if test -z "$ac_t"; then
21929 elif $ac_last_try; then
21930 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
21932 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21936 # For the awk script, D is an array of macro values keyed by name,
21937 # likewise P contains macro parameters if any. Preserve backslash
21938 # newline sequences.
21940 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21942 s/.\{148\}/&'"$ac_delim"'/g
21945 s/^[ ]*#[ ]*define[ ][ ]*/ /
21952 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21954 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21959 D["\
1"]=" \
3\\\\\\n
"\\/p
21961 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21966 s/.\{148\}/&'"$ac_delim"'/g
21971 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21974 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21976 ' <confdefs.h | sed '
21977 s/'"$ac_delim"'/"\\\
21978 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21981 for (key in D) D_is_set[key] = 1
21984 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21986 split(line, arg, " ")
21987 if (arg[1] == "#") {
21991 defundef
= substr
(arg
[1], 2)
21994 split(mac1
, mac2
, "(") #)
21996 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21997 if (D_is_set
[macro
]) {
21998 # Preserve the white space surrounding the "#".
21999 print prefix
"define", macro P
[macro
] D
[macro
]
22002 # Replace #undef with comments. This is necessary, for example,
22003 # in the case of _POSIX_SOURCE, which is predefined and required
22004 # on some systems where configure will not decide to define it.
22005 if (defundef
== "undef") {
22006 print
"/*", prefix defundef
, macro
, "*/"
22014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22015 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
22016 fi # test -n "$CONFIG_HEADERS"
22019 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22024 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22026 case $ac_mode$ac_tag in
22028 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22029 :[FH
]-) ac_tag
=-:-;;
22030 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22047 -) ac_f
="$tmp/stdin";;
22048 *) # Look for the file first in the build tree, then in the source tree
22049 # (if the path is not absolute). The absolute path cannot be DOS-style,
22050 # because $ac_f cannot contain `:'.
22054 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22056 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
22058 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22059 as_fn_append ac_file_inputs
" '$ac_f'"
22062 # Let's still pretend it is `configure' which instantiates (i.e., don't
22063 # use $as_me), people would be surprised to read:
22064 # /* config.h. Generated by config.status. */
22065 configure_input
='Generated from '`
22066 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22068 if test x
"$ac_file" != x-
; then
22069 configure_input
="$ac_file. $configure_input"
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22071 $as_echo "$as_me: creating $ac_file" >&6;}
22073 # Neutralize special characters interpreted by sed in replacement strings.
22074 case $configure_input in #(
22075 *\
&* |
*\|
* |
*\\* )
22076 ac_sed_conf_input
=`$as_echo "$configure_input" |
22077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22078 *) ac_sed_conf_input
=$configure_input;;
22082 *:-:* |
*:-) cat >"$tmp/stdin" \
22083 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
22088 ac_dir
=`$as_dirname -- "$ac_file" ||
22089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22090 X"$ac_file" : 'X\(//\)[^/]' \| \
22091 X"$ac_file" : 'X\(//\)$' \| \
22092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22093 $as_echo X"$ac_file" |
22094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22098 /^X\(\/\/\)[^/].*/{
22111 as_dir
="$ac_dir"; as_fn_mkdir_p
22115 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22117 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22118 # A ".." for each directory in $ac_dir_suffix.
22119 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22120 case $ac_top_builddir_sub in
22121 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22122 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22125 ac_abs_top_builddir
=$ac_pwd
22126 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22127 # for backward compatibility:
22128 ac_top_builddir
=$ac_top_build_prefix
22131 .
) # We are building in place.
22133 ac_top_srcdir
=$ac_top_builddir_sub
22134 ac_abs_top_srcdir
=$ac_pwd ;;
22135 [\\/]* | ?
:[\\/]* ) # Absolute name.
22136 ac_srcdir
=$srcdir$ac_dir_suffix;
22137 ac_top_srcdir
=$srcdir
22138 ac_abs_top_srcdir
=$srcdir ;;
22139 *) # Relative name.
22140 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22141 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22142 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22144 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22154 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22155 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22157 ac_MKDIR_P
=$MKDIR_P
22159 [\\/$
]* | ?
:[\\/]* ) ;;
22160 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22165 # If the template does not know about datarootdir, expand it.
22166 # FIXME: This hack should be removed a few years after 2.60.
22167 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22178 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22179 *datarootdir
*) ac_datarootdir_seen
=yes;;
22180 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22182 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22185 ac_datarootdir_hack='
22186 s&@datadir@&$datadir&g
22187 s&@docdir@&$docdir&g
22188 s&@infodir@&$infodir&g
22189 s&@localedir@&$localedir&g
22190 s&@mandir@&$mandir&g
22191 s&\\\${datarootdir}&$datarootdir&g' ;;
22195 # Neutralize VPATH when `$srcdir' = `.'.
22196 # Shell code in configure.ac might set extrasub.
22197 # FIXME: do we really want to maintain this feature?
22198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22199 ac_sed_extra="$ac_vpsub
22202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22204 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22205 s|@configure_input@|
$ac_sed_conf_input|
;t t
22206 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22207 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22208 s
&@srcdir@
&$ac_srcdir&;t t
22209 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22210 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22211 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22212 s
&@builddir@
&$ac_builddir&;t t
22213 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22214 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22215 s
&@INSTALL@
&$ac_INSTALL&;t t
22216 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22217 $ac_datarootdir_hack
22219 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
22220 || as_fn_error "could not create
$ac_file" "$LINENO" 5
22222 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22223 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22224 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22226 which seems to be undefined. Please make sure it is defined." >&5
22227 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22228 which seems to be undefined. Please make sure it is defined." >&2;}
22232 -) cat "$tmp/out" && rm -f "$tmp/out";;
22233 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22235 || as_fn_error "could not create $ac_file" "$LINENO" 5
22241 if test x"$ac_file" != x-; then
22243 $as_echo "/* $configure_input */" \
22244 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
22245 } >"$tmp/config.h" \
22246 || as_fn_error "could not create $ac_file" "$LINENO" 5
22247 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22249 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22252 mv "$tmp/config.h" "$ac_file" \
22253 || as_fn_error "could not create $ac_file" "$LINENO" 5
22256 $as_echo "/* $configure_input */" \
22257 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
22258 || as_fn_error "could not create -" "$LINENO" 5
22260 # Compute "$ac_file"'s index
in $config_headers.
22263 for _am_header
in $config_headers :; do
22264 case $_am_header in
22265 $_am_arg |
$_am_arg:* )
22268 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22271 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22272 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22273 X"$_am_arg" : 'X\(//\)[^/]' \| \
22274 X"$_am_arg" : 'X\(//\)$' \| \
22275 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22276 $as_echo X"$_am_arg" |
22277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22281 /^X\(\/\/\)[^/].*/{
22293 s/.*/./; q'`/stamp-h
$_am_stamp_count
22296 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22297 $as_echo "$as_me: executing $ac_file commands" >&6;}
22302 case $ac_file$ac_mode in
22304 # Only add multilib support code if we just rebuilt the top-level
22306 case " $CONFIG_FILES " in
22308 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
22311 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
22312 # Autoconf 2.62 quotes --file arguments for eval, but not when files
22313 # are listed without --file. Let's play safe and only enable the eval
22314 # if we detect the quoting.
22315 case $CONFIG_FILES in
22316 *\'*) eval set x
"$CONFIG_FILES" ;;
22317 *) set x
$CONFIG_FILES ;;
22322 # Strip MF so we end up with the name of the file.
22323 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22324 # Check whether this is an Automake generated Makefile or not.
22325 # We used to match only the files named `Makefile.in', but
22326 # some people rename them; so instead we look at the file content.
22327 # Grep'ing the first line is not enough: some people post-process
22328 # each Makefile.in and add a new line on top of each file to say so.
22329 # Grep'ing the whole file is not good either: AIX grep has a line
22330 # limit of 2048, but all sed's we know have understand at least 4000.
22331 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22332 dirpart
=`$as_dirname -- "$mf" ||
22333 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22334 X"$mf" : 'X\(//\)[^/]' \| \
22335 X"$mf" : 'X\(//\)$' \| \
22336 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22342 /^X\(\/\/\)[^/].*/{
22358 # Extract the definition of DEPDIR, am__include, and am__quote
22359 # from the Makefile without running `make'.
22360 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22361 test -z "$DEPDIR" && continue
22362 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22363 test -z "am__include" && continue
22364 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22365 # When using ansi2knr, U may be empty or an underscore; expand it
22366 U
=`sed -n 's/^U = //p' < "$mf"`
22367 # Find all dependency output files, they are included files with
22368 # $(DEPDIR) in their names. We invoke sed twice because it is the
22369 # simplest approach to changing $(DEPDIR) to its actual value in the
22371 for file in `sed -n "
22372 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22373 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22374 # Make sure the directory exists.
22375 test -f "$dirpart/$file" && continue
22376 fdir
=`$as_dirname -- "$file" ||
22377 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22378 X"$file" : 'X\(//\)[^/]' \| \
22379 X"$file" : 'X\(//\)$' \| \
22380 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22381 $as_echo X"$file" |
22382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22386 /^X\(\/\/\)[^/].*/{
22399 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22400 # echo "creating $dirpart/$file"
22401 echo '# dummy' > "$dirpart/$file"
22408 # See if we are running on zsh, and set the options which allow our
22409 # commands through without removal of \ escapes.
22410 if test -n "${ZSH_VERSION+set}" ; then
22411 setopt NO_GLOB_SUBST
22414 cfgfile
="${ofile}T"
22415 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22418 cat <<_LT_EOF >> "$cfgfile"
22421 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22422 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22423 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22424 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22426 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22427 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
22428 # Written by Gordon Matzigkeit, 1996
22430 # This file is part of GNU Libtool.
22432 # GNU Libtool is free software; you can redistribute it and/or
22433 # modify it under the terms of the GNU General Public License as
22434 # published by the Free Software Foundation; either version 2 of
22435 # the License, or (at your option) any later version.
22437 # As a special exception to the GNU General Public License,
22438 # if you distribute this file as part of a program or library that
22439 # is built using GNU Libtool, you may include this file under the
22440 # same distribution terms that you use for the rest of that program.
22442 # GNU Libtool is distributed in the hope that it will be useful,
22443 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22444 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22445 # GNU General Public License for more details.
22447 # You should have received a copy of the GNU General Public License
22448 # along with GNU Libtool; see the file COPYING. If not, a copy
22449 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22450 # obtained by writing to the Free Software Foundation, Inc.,
22451 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22454 # The names of the tagged configurations supported by this script.
22457 # ### BEGIN LIBTOOL CONFIG
22459 # Whether or not to build shared libraries.
22460 build_libtool_libs=$enable_shared
22462 # Which release of libtool.m4 was used?
22463 macro_version=$macro_version
22464 macro_revision=$macro_revision
22466 # Whether or not to build static libraries.
22467 build_old_libs=$enable_static
22469 # What type of objects to build.
22472 # Whether or not to optimize for fast installation.
22473 fast_install=$enable_fast_install
22475 # Shell to use when invoking shell scripts.
22478 # An echo program that protects backslashes.
22482 host_alias=$host_alias
22486 # The build system.
22487 build_alias=$build_alias
22491 # A sed program that does not truncate output.
22494 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22495 Xsed="\$SED -e 1s/^X//"
22497 # A grep program that handles long lines.
22503 # A literal string matcher.
22506 # A BSD- or MS-compatible name lister.
22509 # Whether we need soft or hard links.
22512 # What is the maximum length of a command?
22513 max_cmd_len=$max_cmd_len
22515 # Object file suffix (normally "o").
22518 # Executable file suffix (normally "").
22521 # whether the shell understands "unset".
22524 # turn spaces into newlines.
22527 # turn newlines into spaces.
22530 # An object symbol dumper.
22531 OBJDUMP=$lt_OBJDUMP
22533 # Method to check whether dependent libraries are shared objects.
22534 deplibs_check_method=$lt_deplibs_check_method
22536 # Command to use when deplibs_check_method == "file_magic".
22537 file_magic_cmd=$lt_file_magic_cmd
22541 AR_FLAGS=$lt_AR_FLAGS
22543 # A symbol stripping program.
22546 # Commands used to install an old-style archive.
22548 old_postinstall_cmds=$lt_old_postinstall_cmds
22549 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22551 # Whether to use a lock for old archive extraction.
22552 lock_old_archive_extraction=$lock_old_archive_extraction
22557 # LTCC compiler flags.
22558 LTCFLAGS=$lt_CFLAGS
22560 # Take the output of nm and produce a listing of raw symbols and C names.
22561 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22563 # Transform the output of nm in a proper C declaration.
22564 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22566 # Transform the output of nm in a C name address pair.
22567 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22569 # Transform the output of nm in a C name address pair when lib prefix is needed.
22570 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22572 # The name of the directory that contains temporary libtool files.
22575 # Used to examine libraries when file_magic_cmd begins with "file".
22576 MAGIC_CMD=$MAGIC_CMD
22578 # Must we lock files when doing compilation?
22579 need_locks=$lt_need_locks
22581 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22582 DSYMUTIL=$lt_DSYMUTIL
22584 # Tool to change global to local symbols on Mac OS X.
22587 # Tool to manipulate fat objects and archives on Mac OS X.
22590 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22593 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22594 OTOOL64=$lt_OTOOL64
22596 # Old archive suffix (normally "a").
22599 # Shared library suffix (normally ".so").
22600 shrext_cmds=$lt_shrext_cmds
22602 # The commands to extract the exported symbol list from a shared archive.
22603 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22605 # Variables whose values should be saved in libtool wrapper scripts and
22606 # restored at link time.
22607 variables_saved_for_relink=$lt_variables_saved_for_relink
22609 # Do we need the "lib" prefix for modules?
22610 need_lib_prefix=$need_lib_prefix
22612 # Do we need a version for libraries?
22613 need_version=$need_version
22615 # Library versioning type.
22616 version_type=$version_type
22618 # Shared library runtime path variable.
22619 runpath_var=$runpath_var
22621 # Shared library path variable.
22622 shlibpath_var=$shlibpath_var
22624 # Is shlibpath searched before the hard-coded library search path?
22625 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22627 # Format of library name prefix.
22628 libname_spec=$lt_libname_spec
22630 # List of archive names. First name is the real one, the rest are links.
22631 # The last name is the one that the linker finds with -lNAME
22632 library_names_spec=$lt_library_names_spec
22634 # The coded name of the library, if different from the real name.
22635 soname_spec=$lt_soname_spec
22637 # Permission mode override for installation of shared libraries.
22638 install_override_mode=$lt_install_override_mode
22640 # Command to use after installation of a shared archive.
22641 postinstall_cmds=$lt_postinstall_cmds
22643 # Command to use after uninstallation of a shared archive.
22644 postuninstall_cmds=$lt_postuninstall_cmds
22646 # Commands used to finish a libtool library installation in a directory.
22647 finish_cmds=$lt_finish_cmds
22649 # As "finish_cmds", except a single script fragment to be evaled but
22651 finish_eval=$lt_finish_eval
22653 # Whether we should hardcode library paths into libraries.
22654 hardcode_into_libs=$hardcode_into_libs
22656 # Compile-time system search path for libraries.
22657 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22659 # Run-time system search path for libraries.
22660 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22662 # Whether dlopen is supported.
22663 dlopen_support=$enable_dlopen
22665 # Whether dlopen of programs is supported.
22666 dlopen_self=$enable_dlopen_self
22668 # Whether dlopen of statically linked programs is supported.
22669 dlopen_self_static=$enable_dlopen_self_static
22671 # Commands to strip libraries.
22672 old_striplib=$lt_old_striplib
22673 striplib=$lt_striplib
22676 # The linker used to build libraries.
22679 # How to create reloadable object files.
22680 reload_flag=$lt_reload_flag
22681 reload_cmds=$lt_reload_cmds
22683 # Commands used to build an old-style archive.
22684 old_archive_cmds=$lt_old_archive_cmds
22686 # A language specific compiler.
22689 # Is the compiler the GNU compiler?
22692 # Compiler flag to turn off builtin functions.
22693 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22695 # How to pass a linker flag through the compiler.
22696 wl=$lt_lt_prog_compiler_wl
22698 # Additional compiler flags for building library objects.
22699 pic_flag=$lt_lt_prog_compiler_pic
22701 # Compiler flag to prevent dynamic linking.
22702 link_static_flag=$lt_lt_prog_compiler_static
22704 # Does compiler simultaneously support -c and -o options?
22705 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22707 # Whether or not to add -lc for building shared libraries.
22708 build_libtool_need_lc=$archive_cmds_need_lc
22710 # Whether or not to disallow shared libs when runtime libs are static.
22711 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22713 # Compiler flag to allow reflexive dlopens.
22714 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22716 # Compiler flag to generate shared objects directly from archives.
22717 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22719 # Whether the compiler copes with passing no objects directly.
22720 compiler_needs_object=$lt_compiler_needs_object
22722 # Create an old-style archive from a shared archive.
22723 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22725 # Create a temporary old-style archive to link instead of a shared archive.
22726 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22728 # Commands used to build a shared archive.
22729 archive_cmds=$lt_archive_cmds
22730 archive_expsym_cmds=$lt_archive_expsym_cmds
22732 # Commands used to build a loadable module if different from building
22733 # a shared archive.
22734 module_cmds=$lt_module_cmds
22735 module_expsym_cmds=$lt_module_expsym_cmds
22737 # Whether we are building with GNU ld or not.
22738 with_gnu_ld=$lt_with_gnu_ld
22740 # Flag that allows shared libraries with undefined symbols to be built.
22741 allow_undefined_flag=$lt_allow_undefined_flag
22743 # Flag that enforces no undefined symbols.
22744 no_undefined_flag=$lt_no_undefined_flag
22746 # Flag to hardcode \$libdir into a binary during linking.
22747 # This must work even if \$libdir does not exist
22748 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22750 # If ld is used when linking, flag to hardcode \$libdir into a binary
22751 # during linking. This must work even if \$libdir does not exist.
22752 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
22754 # Whether we need a single "-rpath" flag with a separated argument.
22755 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22757 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22758 # DIR into the resulting binary.
22759 hardcode_direct=$hardcode_direct
22761 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22762 # DIR into the resulting binary and the resulting library dependency is
22763 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22764 # library is relocated.
22765 hardcode_direct_absolute=$hardcode_direct_absolute
22767 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22768 # into the resulting binary.
22769 hardcode_minus_L=$hardcode_minus_L
22771 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22772 # into the resulting binary.
22773 hardcode_shlibpath_var=$hardcode_shlibpath_var
22775 # Set to "yes" if building a shared library automatically hardcodes DIR
22776 # into the library and all subsequent libraries and executables linked
22778 hardcode_automatic=$hardcode_automatic
22780 # Set to yes if linker adds runtime paths of dependent libraries
22781 # to runtime path list.
22782 inherit_rpath=$inherit_rpath
22784 # Whether libtool must link a program against all its dependency libraries.
22785 link_all_deplibs=$link_all_deplibs
22787 # Fix the shell variable \$srcfile for the compiler.
22788 fix_srcfile_path=$lt_fix_srcfile_path
22790 # Set to "yes" if exported symbols are required.
22791 always_export_symbols=$always_export_symbols
22793 # The commands to list exported symbols.
22794 export_symbols_cmds=$lt_export_symbols_cmds
22796 # Symbols that should not be listed in the preloaded symbols.
22797 exclude_expsyms=$lt_exclude_expsyms
22799 # Symbols that must always be exported.
22800 include_expsyms=$lt_include_expsyms
22802 # Commands necessary for linking programs (against libraries) with templates.
22803 prelink_cmds=$lt_prelink_cmds
22805 # Specify filename containing input files.
22806 file_list_spec=$lt_file_list_spec
22808 # How to hardcode a shared library path into an executable.
22809 hardcode_action=$hardcode_action
22811 # ### END LIBTOOL CONFIG
22817 cat <<\_LT_EOF
>> "$cfgfile"
22818 # AIX sometimes has problems with the GCC collect2 program. For some
22819 # reason, if we set the COLLECT_NAMES environment variable, the problems
22820 # vanish in a puff of smoke.
22821 if test "X${COLLECT_NAMES+set}" != Xset
; then
22823 export COLLECT_NAMES
22830 ltmain
="$ac_aux_dir/ltmain.sh"
22833 # We use sed instead of cat because bash on DJGPP gets confused if
22834 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22835 # text mode, it properly converts lines to CR/LF. This bash problem
22836 # is reportedly fixed, but why not run on old versions too?
22837 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22838 ||
(rm -f "$cfgfile"; exit 1)
22842 cat << \_LT_EOF
>> "$cfgfile"
22844 # func_dirname file append nondir_replacement
22845 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22846 # otherwise set result to NONDIR_REPLACEMENT.
22850 */*) func_dirname_result
="${1%/*}${2}" ;;
22851 * ) func_dirname_result
="${3}" ;;
22855 # func_basename file
22858 func_basename_result
="${1##*/}"
22861 # func_dirname_and_basename file append nondir_replacement
22862 # perform func_basename and func_dirname in a single function
22864 # dirname: Compute the dirname of FILE. If nonempty,
22865 # add APPEND to the result, otherwise set result
22866 # to NONDIR_REPLACEMENT.
22867 # value returned in "$func_dirname_result"
22868 # basename: Compute filename of FILE.
22869 # value retuned in "$func_basename_result"
22870 # Implementation must be kept synchronized with func_dirname
22871 # and func_basename. For efficiency, we do not delegate to
22872 # those functions but instead duplicate the functionality here.
22873 func_dirname_and_basename
()
22876 */*) func_dirname_result
="${1%/*}${2}" ;;
22877 * ) func_dirname_result
="${3}" ;;
22879 func_basename_result
="${1##*/}"
22882 # func_stripname prefix suffix name
22883 # strip PREFIX and SUFFIX off of NAME.
22884 # PREFIX and SUFFIX must not contain globbing or regex special
22885 # characters, hashes, percent signs, but SUFFIX may contain a leading
22886 # dot (in which case that matches only a dot).
22889 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22890 # positional parameters, so assign one to ordinary parameter first.
22891 func_stripname_result
=${3}
22892 func_stripname_result
=${func_stripname_result#"${1}"}
22893 func_stripname_result
=${func_stripname_result%"${2}"}
22899 func_opt_split_opt
=${1%%=*}
22900 func_opt_split_arg
=${1#*=}
22907 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22908 *) func_lo2o_result
=${1} ;;
22912 # func_xform libobj-or-source
22915 func_xform_result
=${1%.*}.lo
22918 # func_arith arithmetic-term...
22921 func_arith_result
=$
(( $
* ))
22925 # STRING may not start with a hyphen.
22928 func_len_result
=${#1}
22933 *) # Bourne compatible functions.
22934 cat << \_LT_EOF
>> "$cfgfile"
22936 # func_dirname file append nondir_replacement
22937 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22938 # otherwise set result to NONDIR_REPLACEMENT.
22941 # Extract subdirectory from the argument.
22942 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
22943 if test "X$func_dirname_result" = "X${1}"; then
22944 func_dirname_result
="${3}"
22946 func_dirname_result
="$func_dirname_result${2}"
22950 # func_basename file
22953 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
22957 # func_stripname prefix suffix name
22958 # strip PREFIX and SUFFIX off of NAME.
22959 # PREFIX and SUFFIX must not contain globbing or regex special
22960 # characters, hashes, percent signs, but SUFFIX may contain a leading
22961 # dot (in which case that matches only a dot).
22962 # func_strip_suffix prefix name
22966 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
22967 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
22972 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22973 my_sed_long_arg
='1s/^-[^=]*=//'
22978 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
22979 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
22985 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
22988 # func_xform libobj-or-source
22991 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
22994 # func_arith arithmetic-term...
22997 func_arith_result
=`expr "$@"`
23001 # STRING may not start with a hyphen.
23004 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
23010 case $lt_shell_append in
23012 cat << \_LT_EOF
>> "$cfgfile"
23014 # func_append var value
23015 # Append VALUE to the end of shell variable VAR.
23023 cat << \_LT_EOF
>> "$cfgfile"
23025 # func_append var value
23026 # Append VALUE to the end of shell variable VAR.
23037 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
23038 ||
(rm -f "$cfgfile"; exit 1)
23040 mv -f "$cfgfile" "$ofile" ||
23041 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23046 if test "$GCC" = yes; then
23047 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
23049 echo "/* generated for $CC */" > tmp-stdint.h
23052 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23054 #ifndef GCC_GENERATED_STDINT_H
23055 #define GCC_GENERATED_STDINT_H 1
23057 #include <sys/types.h>
23060 if test "$acx_cv_header_stdint" != stdint.h
; then
23061 echo "#include <stddef.h>" >> tmp-stdint.h
23063 if test "$acx_cv_header_stdint" != stddef.h
; then
23064 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
23067 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23068 /* glibc uses these symbols as guards to prevent redefinitions. */
23069 #ifdef __int8_t_defined
23074 #ifdef __uint32_t_defined
23080 # ----------------- done header, emit basic int types -------------
23081 if test "$acx_cv_header_stdint" = stddef.h
; then
23082 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23086 #ifndef __uint8_t_defined
23087 #define __uint8_t_defined
23089 typedef unsigned $acx_cv_type_int8_t uint8_t;
23096 #ifndef __uint16_t_defined
23097 #define __uint16_t_defined
23099 typedef unsigned $acx_cv_type_int16_t uint16_t;
23106 #ifndef __uint32_t_defined
23107 #define __uint32_t_defined
23109 typedef unsigned $acx_cv_type_int32_t uint32_t;
23116 #ifndef __int8_t_defined
23117 #define __int8_t_defined
23119 typedef $acx_cv_type_int8_t int8_t;
23126 #ifndef __int16_t_defined
23127 #define __int16_t_defined
23129 typedef $acx_cv_type_int16_t int16_t;
23136 #ifndef __int32_t_defined
23137 #define __int32_t_defined
23139 typedef $acx_cv_type_int32_t int32_t;
23144 elif test "$ac_cv_type_u_int32_t" = yes; then
23145 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23147 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
23160 #ifndef __uint8_t_defined
23161 #define __uint8_t_defined
23163 typedef u_int8_t uint8_t;
23170 #ifndef __uint16_t_defined
23171 #define __uint16_t_defined
23173 typedef u_int16_t uint16_t;
23180 #ifndef __uint32_t_defined
23181 #define __uint32_t_defined
23183 typedef u_int32_t uint32_t;
23189 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23191 /* Some systems have guard macros to prevent redefinitions, define them. */
23213 # ------------- done basic int types, emit int64_t types ------------
23214 if test "$ac_cv_type_uint64_t" = yes; then
23215 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23217 /* system headers have good uint64_t and int64_t */
23225 elif test "$ac_cv_type_u_int64_t" = yes; then
23226 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23228 /* system headers have an u_int64_t (and int64_t) */
23234 #ifndef __uint64_t_defined
23235 #define __uint64_t_defined
23237 typedef u_int64_t uint64_t;
23242 elif test -n "$acx_cv_type_int64_t"; then
23243 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23245 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
23249 typedef $acx_cv_type_int64_t int64_t;
23254 #ifndef __uint64_t_defined
23255 #define __uint64_t_defined
23257 typedef unsigned $acx_cv_type_int64_t uint64_t;
23263 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23265 /* some common heuristics for int64_t, using compiler-specific tests */
23266 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
23269 #ifndef __int64_t_defined
23271 typedef long long int64_t;
23278 typedef unsigned long long uint64_t;
23282 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
23283 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
23284 does not implement __extension__. But that compiler doesn't define
23286 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
23287 # define __extension__
23293 __extension__ typedef long long int64_t;
23299 __extension__ typedef unsigned long long uint64_t;
23303 #elif !defined __STRICT_ANSI__
23304 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
23309 typedef __int64 int64_t;
23315 typedef unsigned __int64 uint64_t;
23318 # endif /* compiler */
23320 #endif /* ANSI version */
23324 # ------------- done int64_t types, emit intptr types ------------
23325 if test "$ac_cv_type_uintptr_t" != yes; then
23326 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23328 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
23329 #ifndef __uintptr_t_defined
23331 typedef u$acx_cv_type_intptr_t uintptr_t;
23334 #ifndef __intptr_t_defined
23336 typedef $acx_cv_type_intptr_t intptr_t;
23342 # ------------- done intptr types, emit int_least types ------------
23343 if test "$ac_cv_type_int_least32_t" != yes; then
23344 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23346 /* Define int_least types */
23347 typedef int8_t int_least8_t;
23348 typedef int16_t int_least16_t;
23349 typedef int32_t int_least32_t;
23351 typedef int64_t int_least64_t;
23354 typedef uint8_t uint_least8_t;
23355 typedef uint16_t uint_least16_t;
23356 typedef uint32_t uint_least32_t;
23358 typedef uint64_t uint_least64_t;
23363 # ------------- done intptr types, emit int_fast types ------------
23364 if test "$ac_cv_type_int_fast32_t" != yes; then
23365 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23367 /* Define int_fast types. short is often slow */
23368 typedef int8_t int_fast8_t;
23369 typedef int int_fast16_t;
23370 typedef int32_t int_fast32_t;
23372 typedef int64_t int_fast64_t;
23375 typedef uint8_t uint_fast8_t;
23376 typedef unsigned int uint_fast16_t;
23377 typedef uint32_t uint_fast32_t;
23379 typedef uint64_t uint_fast64_t;
23384 if test "$ac_cv_type_uintmax_t" != yes; then
23385 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23387 /* Define intmax based on what we found */
23390 typedef int64_t intmax_t;
23392 typedef long intmax_t;
23397 typedef uint64_t uintmax_t;
23399 typedef unsigned long uintmax_t;
23405 sed 's/^ *//' >> tmp-stdint.h
<<EOF
23407 #endif /* GCC_GENERATED_STDINT_H */
23410 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
23413 mv -f tmp-stdint.h gstdint.h
23424 ac_clean_files
=$ac_clean_files_save
23426 test $ac_write_fail = 0 ||
23427 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23430 # configure is writing to config.log, and then calls config.status.
23431 # config.status does its own redirection, appending to config.log.
23432 # Unfortunately, on DOS this fails, as config.log is still kept open
23433 # by configure, so config.status won't be able to write to it; its
23434 # output is simply discarded. So we exec the FD to /dev/null,
23435 # effectively closing config.log, so it can be properly (re)opened and
23436 # appended to by config.status. When coming back to configure, we
23437 # need to make the FD available again.
23438 if test "$no_create" != yes; then
23440 ac_config_status_args
=
23441 test "$silent" = yes &&
23442 ac_config_status_args
="$ac_config_status_args --quiet"
23444 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23446 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23447 # would make configure fail if this is the last instruction.
23448 $ac_cs_success || as_fn_exit $?
23450 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23452 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}