2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libgpiv 0.6.1.
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
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec
; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo
; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo
; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset
; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
591 for dir
in $PATH /usr
/ucb
; do
593 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho
; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL
=/bin
/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
632 SHELL
="$CONFIG_SHELL"
634 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string
=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev
/null
6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix
=/usr
/local
688 ac_config_libobj_dir
=.
695 # Identity of this package.
696 PACKAGE_NAME
='libgpiv'
697 PACKAGE_TARNAME
='libgpiv'
698 PACKAGE_VERSION
='0.6.1'
699 PACKAGE_STRING
='libgpiv 0.6.1'
703 # Factoring default headers for most tests.
704 ac_includes_default
="\
706 #ifdef HAVE_SYS_TYPES_H
707 # include <sys/types.h>
709 #ifdef HAVE_SYS_STAT_H
710 # include <sys/stat.h>
716 # ifdef HAVE_STDLIB_H
721 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
726 #ifdef HAVE_STRINGS_H
727 # include <strings.h>
729 #ifdef HAVE_INTTYPES_H
730 # include <inttypes.h>
739 ac_subst_vars
='am__EXEEXT_FALSE
774 INSTALL_STRIP_PROGRAM
917 program_transform_name
930 enable_option_checking
947 enable_dependency_tracking
954 ac_precious_vars
='build_alias
974 # Initialize some variables set by options.
976 ac_init_version
=false
977 ac_unrecognized_opts
=
979 # The variables have the same names as the options, with
980 # dashes changed to underlines.
988 program_transform_name
=s
,x
,x
,
996 # Installation directory options.
997 # These are left unexpanded so users can "make install exec_prefix=/foo"
998 # and all the variables that are supposed to be based on exec_prefix
999 # by default will actually change.
1000 # Use braces instead of parens because sh, perl, etc. also accept them.
1001 # (The list follows the same order as the GNU Coding Standards.)
1002 bindir
='${exec_prefix}/bin'
1003 sbindir
='${exec_prefix}/sbin'
1004 libexecdir
='${exec_prefix}/libexec'
1005 datarootdir
='${prefix}/share'
1006 datadir
='${datarootdir}'
1007 sysconfdir
='${prefix}/etc'
1008 sharedstatedir
='${prefix}/com'
1009 localstatedir
='${prefix}/var'
1010 includedir
='${prefix}/include'
1011 oldincludedir
='/usr/include'
1012 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1013 infodir
='${datarootdir}/info'
1018 libdir
='${exec_prefix}/lib'
1019 localedir
='${datarootdir}/locale'
1020 mandir
='${datarootdir}/man'
1026 # If the previous option needs an argument, assign it.
1027 if test -n "$ac_prev"; then
1028 eval $ac_prev=\
$ac_option
1034 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1038 # Accept the important Cygnus configure options, so we can diagnose typos.
1040 case $ac_dashdash$ac_option in
1044 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1046 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1047 bindir
=$ac_optarg ;;
1049 -build |
--build |
--buil |
--bui |
--bu)
1050 ac_prev
=build_alias
;;
1051 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1052 build_alias
=$ac_optarg ;;
1054 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1055 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1056 ac_prev
=cache_file
;;
1057 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1058 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1059 cache_file
=$ac_optarg ;;
1061 --config-cache |
-C)
1062 cache_file
=config.cache
;;
1064 -datadir |
--datadir |
--datadi |
--datad)
1066 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1067 datadir
=$ac_optarg ;;
1069 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1070 |
--dataroo |
--dataro |
--datar)
1071 ac_prev
=datarootdir
;;
1072 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1073 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1074 datarootdir
=$ac_optarg ;;
1076 -disable-* |
--disable-*)
1077 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1080 as_fn_error
"invalid feature name: $ac_useropt"
1081 ac_useropt_orig
=$ac_useropt
1082 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1085 "enable_
$ac_useropt"
1087 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1088 ac_unrecognized_sep
=', ';;
1090 eval enable_
$ac_useropt=no
;;
1092 -docdir |
--docdir |
--docdi |
--doc |
--do)
1094 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1095 docdir
=$ac_optarg ;;
1097 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1099 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1100 dvidir
=$ac_optarg ;;
1102 -enable-* |
--enable-*)
1103 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1106 as_fn_error
"invalid feature name: $ac_useropt"
1107 ac_useropt_orig
=$ac_useropt
1108 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1111 "enable_
$ac_useropt"
1113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1114 ac_unrecognized_sep
=', ';;
1116 eval enable_
$ac_useropt=\
$ac_optarg ;;
1118 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1119 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1120 |
--exec |
--exe |
--ex)
1121 ac_prev
=exec_prefix
;;
1122 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1123 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1124 |
--exec=* |
--exe=* |
--ex=*)
1125 exec_prefix
=$ac_optarg ;;
1127 -gas |
--gas |
--ga |
--g)
1128 # Obsolete; use --with-gas.
1131 -help |
--help |
--hel |
--he |
-h)
1132 ac_init_help
=long
;;
1133 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1134 ac_init_help
=recursive
;;
1135 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1136 ac_init_help
=short
;;
1138 -host |
--host |
--hos |
--ho)
1139 ac_prev
=host_alias
;;
1140 -host=* |
--host=* |
--hos=* |
--ho=*)
1141 host_alias
=$ac_optarg ;;
1143 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1145 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1147 htmldir
=$ac_optarg ;;
1149 -includedir |
--includedir |
--includedi |
--included |
--include \
1150 |
--includ |
--inclu |
--incl |
--inc)
1151 ac_prev
=includedir
;;
1152 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1153 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1154 includedir
=$ac_optarg ;;
1156 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1158 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1159 infodir
=$ac_optarg ;;
1161 -libdir |
--libdir |
--libdi |
--libd)
1163 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1164 libdir
=$ac_optarg ;;
1166 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1167 |
--libexe |
--libex |
--libe)
1168 ac_prev
=libexecdir
;;
1169 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1170 |
--libexe=* |
--libex=* |
--libe=*)
1171 libexecdir
=$ac_optarg ;;
1173 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1174 ac_prev
=localedir
;;
1175 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1176 localedir
=$ac_optarg ;;
1178 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1179 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1180 ac_prev
=localstatedir
;;
1181 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1182 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1183 localstatedir
=$ac_optarg ;;
1185 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1187 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1188 mandir
=$ac_optarg ;;
1190 -nfp |
--nfp |
--nf)
1191 # Obsolete; use --without-fp.
1194 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1195 |
--no-cr |
--no-c |
-n)
1198 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1199 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1202 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1203 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1204 |
--oldin |
--oldi |
--old |
--ol |
--o)
1205 ac_prev
=oldincludedir
;;
1206 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1207 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1208 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1209 oldincludedir
=$ac_optarg ;;
1211 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1213 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1214 prefix
=$ac_optarg ;;
1216 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1217 |
--program-pre |
--program-pr |
--program-p)
1218 ac_prev
=program_prefix
;;
1219 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1220 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1221 program_prefix
=$ac_optarg ;;
1223 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1224 |
--program-suf |
--program-su |
--program-s)
1225 ac_prev
=program_suffix
;;
1226 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1227 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1228 program_suffix
=$ac_optarg ;;
1230 -program-transform-name |
--program-transform-name \
1231 |
--program-transform-nam |
--program-transform-na \
1232 |
--program-transform-n |
--program-transform- \
1233 |
--program-transform |
--program-transfor \
1234 |
--program-transfo |
--program-transf \
1235 |
--program-trans |
--program-tran \
1236 |
--progr-tra |
--program-tr |
--program-t)
1237 ac_prev
=program_transform_name
;;
1238 -program-transform-name=* |
--program-transform-name=* \
1239 |
--program-transform-nam=* |
--program-transform-na=* \
1240 |
--program-transform-n=* |
--program-transform-=* \
1241 |
--program-transform=* |
--program-transfor=* \
1242 |
--program-transfo=* |
--program-transf=* \
1243 |
--program-trans=* |
--program-tran=* \
1244 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1245 program_transform_name
=$ac_optarg ;;
1247 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1249 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1250 pdfdir
=$ac_optarg ;;
1252 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1254 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1257 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1258 |
-silent |
--silent |
--silen |
--sile |
--sil)
1261 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1263 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1265 sbindir
=$ac_optarg ;;
1267 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1268 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1269 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1271 ac_prev
=sharedstatedir
;;
1272 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1273 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1274 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1276 sharedstatedir
=$ac_optarg ;;
1278 -site |
--site |
--sit)
1280 -site=* |
--site=* |
--sit=*)
1283 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1285 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1286 srcdir
=$ac_optarg ;;
1288 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1289 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1290 ac_prev
=sysconfdir
;;
1291 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1292 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1293 sysconfdir
=$ac_optarg ;;
1295 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1296 ac_prev
=target_alias
;;
1297 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1298 target_alias
=$ac_optarg ;;
1300 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1303 -version |
--version |
--versio |
--versi |
--vers |
-V)
1304 ac_init_version
=: ;;
1307 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308 # Reject names that are not valid shell variable names.
1309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1310 as_fn_error
"invalid package name: $ac_useropt"
1311 ac_useropt_orig
=$ac_useropt
1312 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313 case $ac_user_opts in
1317 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1318 ac_unrecognized_sep
=', ';;
1320 eval with_
$ac_useropt=\
$ac_optarg ;;
1322 -without-* |
--without-*)
1323 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1326 as_fn_error
"invalid package name: $ac_useropt"
1327 ac_useropt_orig
=$ac_useropt
1328 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1333 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1334 ac_unrecognized_sep
=', ';;
1336 eval with_
$ac_useropt=no
;;
1339 # Obsolete; use --with-x.
1342 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1343 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1344 ac_prev
=x_includes
;;
1345 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1346 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1347 x_includes
=$ac_optarg ;;
1349 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1350 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1351 ac_prev
=x_libraries
;;
1352 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1353 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1354 x_libraries
=$ac_optarg ;;
1356 -*) as_fn_error
"unrecognized option: \`$ac_option'
1357 Try \`$0 --help' for more information."
1361 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1362 # Reject names that are not valid shell variable names.
1363 case $ac_envvar in #(
1364 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1365 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1367 eval $ac_envvar=\
$ac_optarg
1368 export $ac_envvar ;;
1371 # FIXME: should be removed in autoconf 3.0.
1372 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1373 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1374 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1375 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1381 if test -n "$ac_prev"; then
1382 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1383 as_fn_error
"missing argument to $ac_option"
1386 if test -n "$ac_unrecognized_opts"; then
1387 case $enable_option_checking in
1389 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1390 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1394 # Check all directory arguments for consistency.
1395 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1396 datadir sysconfdir sharedstatedir localstatedir includedir \
1397 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1398 libdir localedir mandir
1400 eval ac_val
=\$
$ac_var
1401 # Remove trailing slashes.
1404 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1405 eval $ac_var=\
$ac_val;;
1407 # Be sure to have absolute directory names.
1409 [\\/$
]* | ?
:[\\/]* ) continue;;
1410 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1412 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1415 # There might be people who depend on the old broken behavior: `$host'
1416 # used to hold the argument of --host etc.
1417 # FIXME: To remove some day.
1420 target
=$target_alias
1422 # FIXME: To remove some day.
1423 if test "x$host_alias" != x
; then
1424 if test "x$build_alias" = x
; then
1425 cross_compiling
=maybe
1426 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1427 If a cross compiler is detected then cross compile mode will be used." >&2
1428 elif test "x$build_alias" != "x$host_alias"; then
1434 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1436 test "$silent" = yes && exec 6>/dev
/null
1439 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1440 ac_ls_di
=`ls -di .` &&
1441 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1442 as_fn_error
"working directory cannot be determined"
1443 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1444 as_fn_error
"pwd does not report name of working directory"
1447 # Find the source files, if location was not specified.
1448 if test -z "$srcdir"; then
1449 ac_srcdir_defaulted
=yes
1450 # Try the directory containing this script, then the parent directory.
1451 ac_confdir
=`$as_dirname -- "$as_myself" ||
1452 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1453 X"$as_myself" : 'X\(//\)[^/]' \| \
1454 X"$as_myself" : 'X\(//\)$' \| \
1455 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1456 $as_echo X"$as_myself" |
1457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1475 if test ! -r "$srcdir/$ac_unique_file"; then
1479 ac_srcdir_defaulted
=no
1481 if test ! -r "$srcdir/$ac_unique_file"; then
1482 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1483 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1485 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1487 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1489 # When building in place, set srcdir=.
1490 if test "$ac_abs_confdir" = "$ac_pwd"; then
1493 # Remove unnecessary trailing slashes from srcdir.
1494 # Double slashes in file names in object file debugging info
1495 # mess up M-x gdb in Emacs.
1497 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1499 for ac_var
in $ac_precious_vars; do
1500 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1501 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1502 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1503 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1507 # Report the --help message.
1509 if test "$ac_init_help" = "long"; then
1510 # Omit some internal or obsolete options to make the list less imposing.
1511 # This message is too long to be a string in the A/UX 3.1 sh.
1513 \`configure' configures libgpiv 0.6.1 to adapt to many kinds of systems.
1515 Usage: $0 [OPTION]... [VAR=VALUE]...
1517 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1518 VAR=VALUE. See below for descriptions of some of the useful variables.
1520 Defaults for the options are specified in brackets.
1523 -h, --help display this help and exit
1524 --help=short display options specific to this package
1525 --help=recursive display the short help of all the included packages
1526 -V, --version display version information and exit
1527 -q, --quiet, --silent do not print \`checking...' messages
1528 --cache-file=FILE cache test results in FILE [disabled]
1529 -C, --config-cache alias for \`--cache-file=config.cache'
1530 -n, --no-create do not create output files
1531 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1533 Installation directories:
1534 --prefix=PREFIX install architecture-independent files in PREFIX
1535 [$ac_default_prefix]
1536 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1539 By default, \`make install' will install all the files in
1540 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1541 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1542 for instance \`--prefix=\$HOME'.
1544 For better control, use the options below.
1546 Fine tuning of the installation directories:
1547 --bindir=DIR user executables [EPREFIX/bin]
1548 --sbindir=DIR system admin executables [EPREFIX/sbin]
1549 --libexecdir=DIR program executables [EPREFIX/libexec]
1550 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1551 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1552 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1553 --libdir=DIR object code libraries [EPREFIX/lib]
1554 --includedir=DIR C header files [PREFIX/include]
1555 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1556 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1557 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1558 --infodir=DIR info documentation [DATAROOTDIR/info]
1559 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1560 --mandir=DIR man documentation [DATAROOTDIR/man]
1561 --docdir=DIR documentation root [DATAROOTDIR/doc/libgpiv]
1562 --htmldir=DIR html documentation [DOCDIR]
1563 --dvidir=DIR dvi documentation [DOCDIR]
1564 --pdfdir=DIR pdf documentation [DOCDIR]
1565 --psdir=DIR ps documentation [DOCDIR]
1571 --program-prefix=PREFIX prepend PREFIX to installed program names
1572 --program-suffix=SUFFIX append SUFFIX to installed program names
1573 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1576 --build=BUILD configure
for building on BUILD
[guessed
]
1577 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1581 if test -n "$ac_init_help"; then
1582 case $ac_init_help in
1583 short | recursive
) echo "Configuration of libgpiv 0.6.1:";;
1588 --disable-option-checking ignore unrecognized
--enable/--with options
1589 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1590 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1591 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1592 --enable-static[=PKGS
] build static libraries
[default
=yes]
1593 --enable-fast-install[=PKGS
]
1594 optimize
for fast installation
[default
=yes]
1595 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1596 --disable-doxygen-doc don
't generate any doxygen documentation
1597 --disable-doxygen-dot don't generate graphics
for doxygen documentation
1598 --enable-doxygen-man generate doxygen manual pages
1599 --enable-doxygen-rtf generate doxygen RTF documentation
1600 --enable-doxygen-xml generate doxygen XML documentation
1601 --enable-doxygen-chm generate doxygen compressed HTML
help documentation
1602 --enable-doxygen-chi generate doxygen seperate compressed HTML
help index
1604 --disable-doxygen-html don
't generate doxygen plain HTML documentation
1605 --enable-doxygen-ps generate doxygen PostScript documentation
1606 --enable-doxygen-pdf generate doxygen PDF documentation
1607 --disable-dependency-tracking speeds up one-time build
1608 --enable-dependency-tracking do not reject slow dependency extractors
1609 --enable-cam enable (IEEE-1394) camera
1610 --enable-trig enable (realtime) triggering
1611 --enable-rta=RTA_DIR place where the RTAI code resides
1612 (default /usr/lib/realtime)
1613 --enable-mpi enable message protocol interface
1614 --enable-omp enable Open Multi-Processing (OMP)
1617 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1618 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1619 --with-pic try to use only PIC/non-PIC objects [default=use
1621 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1623 Some influential environment variables:
1624 CC C compiler command
1625 CFLAGS C compiler flags
1626 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1627 nonstandard directory <lib dir>
1628 LIBS libraries to pass to the linker, e.g. -l<library>
1629 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1630 you have headers in a nonstandard directory <include dir>
1631 CXX C++ compiler command
1632 CXXFLAGS C++ compiler flags
1634 CXXCPP C++ preprocessor
1636 a4wide (default), a4, letter, legal or executive
1637 PKG_CONFIG path to pkg-config utility
1638 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1639 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1640 MPICC MPI C compiler command
1642 Use these variables to override the choices made by `configure' or to
help
1643 it to
find libraries and programs with nonstandard names
/locations.
1645 Report bugs to the package provider.
1650 if test "$ac_init_help" = "recursive"; then
1651 # If there are subdirs, report their specific --help.
1652 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1653 test -d "$ac_dir" ||
1654 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1659 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1661 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1662 # A ".." for each directory in $ac_dir_suffix.
1663 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1664 case $ac_top_builddir_sub in
1665 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1666 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1669 ac_abs_top_builddir
=$ac_pwd
1670 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1671 # for backward compatibility:
1672 ac_top_builddir
=$ac_top_build_prefix
1675 .
) # We are building in place.
1677 ac_top_srcdir
=$ac_top_builddir_sub
1678 ac_abs_top_srcdir
=$ac_pwd ;;
1679 [\\/]* | ?
:[\\/]* ) # Absolute name.
1680 ac_srcdir
=$srcdir$ac_dir_suffix;
1681 ac_top_srcdir
=$srcdir
1682 ac_abs_top_srcdir
=$srcdir ;;
1684 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1685 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1686 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1688 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1690 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1691 # Check for guested configure.
1692 if test -f "$ac_srcdir/configure.gnu"; then
1694 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1695 elif test -f "$ac_srcdir/configure"; then
1697 $SHELL "$ac_srcdir/configure" --help=recursive
1699 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1701 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1705 test -n "$ac_init_help" && exit $ac_status
1706 if $ac_init_version; then
1708 libgpiv configure
0.6.1
1709 generated by GNU Autoconf
2.64
1711 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1712 This configure
script is free software
; the Free Software Foundation
1713 gives unlimited permission to copy
, distribute and modify it.
1718 ## ------------------------ ##
1719 ## Autoconf initialization. ##
1720 ## ------------------------ ##
1722 # ac_fn_c_try_compile LINENO
1723 # --------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_c_try_compile
()
1727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1728 rm -f conftest.
$ac_objext
1729 if { { ac_try
="$ac_compile"
1731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 } # ac_fn_c_try_compile
1760 # ac_fn_c_try_link LINENO
1761 # -----------------------
1762 # Try to link conftest.$ac_ext, and return whether this succeeded.
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 rm -f conftest.$ac_objext conftest$ac_exeext
1767 if { { ac_try="$ac_link"
1769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1770 *) ac_try_echo
=$ac_try;;
1772 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_link") 2>conftest.err
1776 if test -s conftest.err
; then
1777 grep -v '^ *+' conftest.err
>conftest.er1
1778 cat conftest.er1
>&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_c_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest
$ac_exeext && {
1786 test "$cross_compiling" = yes ||
1787 $as_test_x conftest
$ac_exeext
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.
$ac_ext >&5
1796 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1797 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1798 # interfere with the next link command; also delete a directory that is
1799 # left behind by Apple's compiler. We do this before executing the actions.
1800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1804 } # ac_fn_c_try_link
1806 # ac_fn_cxx_try_compile LINENO
1807 # ----------------------------
1808 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1809 ac_fn_cxx_try_compile
()
1811 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1812 rm -f conftest.
$ac_objext
1813 if { { ac_try
="$ac_compile"
1815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_compile") 2>conftest.err
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && {
1829 test -z "$ac_cxx_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest.$ac_objext; then :
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 } # ac_fn_cxx_try_compile
1844 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1845 # -------------------------------------------------------
1846 # Tests whether HEADER exists and can be compiled using the include files in
1847 # INCLUDES, setting the cache variable VAR accordingly.
1848 ac_fn_c_check_header_compile ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1854 $as_echo_n "(cached) " >&6
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1861 if ac_fn_c_try_compile "$LINENO"; then :
1866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873 } # ac_fn_c_check_header_compile
1875 # ac_fn_c_try_cpp LINENO
1876 # ----------------------
1877 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 if { { ac_try="$ac_cpp conftest.$ac_ext"
1883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1884 *) ac_try_echo
=$ac_try;;
1886 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1890 if test -s conftest.err
; then
1891 grep -v '^ *+' conftest.err
>conftest.er1
1892 cat conftest.er1
>&5
1893 mv -f conftest.er1 conftest.err
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } >/dev
/null
&& {
1897 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1898 test ! -s conftest.err
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.
$ac_ext >&5
1907 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1912 # ac_fn_c_try_run LINENO
1913 # ----------------------
1914 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1915 # that executables *can* be run.
1918 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1919 if { { ac_try
="$ac_link"
1921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_link") 2>&5
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1930 { { case "(($ac_try" in
1931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1932 *) ac_try_echo
=$ac_try;;
1934 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_try") 2>&5
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; }; }; then :
1942 $as_echo "$as_me: program exited with status $ac_status" >&5
1943 $as_echo "$as_me: failed program was:" >&5
1944 sed 's/^/| /' conftest.
$ac_ext >&5
1946 ac_retval
=$ac_status
1948 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1949 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1954 # ac_fn_c_check_func LINENO FUNC VAR
1955 # ----------------------------------
1956 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1957 ac_fn_c_check_func
()
1959 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1963 $as_echo_n "(cached) " >&6
1965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1967 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1969 #define $2 innocuous_$2
1971 /* System header to define __stub macros and hopefully few prototypes,
1972 which can conflict with char $2 (); below.
1973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1974 <limits.h> exists even on freestanding compilers. */
1977 # include <limits.h>
1979 # include <assert.h>
1984 /* Override any GCC internal prototype to avoid an error.
1985 Use char because int might match the return type of a GCC
1986 builtin and then its argument prototype would still apply. */
1991 /* The GNU C library defines this for functions which it implements
1992 to always fail with ENOSYS. Some functions are actually named
1993 something starting with __ and the normal name is an alias. */
1994 #if defined __stub_$2 || defined __stub___$2
2006 if ac_fn_c_try_link
"$LINENO"; then :
2011 rm -f core conftest.err conftest.
$ac_objext \
2012 conftest
$ac_exeext conftest.
$ac_ext
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2019 } # ac_fn_c_check_func
2021 # ac_fn_cxx_try_cpp LINENO
2022 # ------------------------
2023 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2024 ac_fn_cxx_try_cpp
()
2026 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2027 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2036 if test -s conftest.err; then
2037 grep -v '^ *+' conftest.err >conftest.er1
2038 cat conftest.er1 >&5
2039 mv -f conftest.er1 conftest.err
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; } >/dev/null && {
2043 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2044 test ! -s conftest.err
2048 $as_echo "$as_me: failed program was:" >&5
2049 sed 's/^/| /' conftest.$ac_ext >&5
2053 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 } # ac_fn_cxx_try_cpp
2058 # ac_fn_cxx_try_link LINENO
2059 # -------------------------
2060 # Try to link conftest.$ac_ext, and return whether this succeeded.
2061 ac_fn_cxx_try_link ()
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 rm -f conftest.$ac_objext conftest$ac_exeext
2065 if { { ac_try="$ac_link"
2067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2068 *) ac_try_echo
=$ac_try;;
2070 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072 (eval "$ac_link") 2>conftest.err
2074 if test -s conftest.err
; then
2075 grep -v '^ *+' conftest.err
>conftest.er1
2076 cat conftest.er1
>&5
2077 mv -f conftest.er1 conftest.err
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } && {
2081 test -z "$ac_cxx_werror_flag" ||
2082 test ! -s conftest.err
2083 } && test -s conftest
$ac_exeext && {
2084 test "$cross_compiling" = yes ||
2085 $as_test_x conftest
$ac_exeext
2089 $as_echo "$as_me: failed program was:" >&5
2090 sed 's/^/| /' conftest.
$ac_ext >&5
2094 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2095 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2096 # interfere with the next link command; also delete a directory that is
2097 # left behind by Apple's compiler. We do this before executing the actions.
2098 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2099 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2102 } # ac_fn_cxx_try_link
2104 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2105 # -------------------------------------------
2106 # Tests whether TYPE exists after having included INCLUDES, setting cache
2107 # variable VAR accordingly.
2108 ac_fn_c_check_type
()
2110 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2114 $as_echo_n "(cached) " >&6
2117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2129 if ac_fn_c_try_compile
"$LINENO"; then :
2130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2142 if ac_fn_c_try_compile
"$LINENO"; then :
2147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2154 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2156 } # ac_fn_c_check_type
2158 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2159 # -------------------------------------------------------
2160 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2161 # the include files in INCLUDES and setting the cache variable VAR
2163 ac_fn_c_check_header_mongrel
()
2165 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2166 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2168 $as_echo_n "checking for $2... " >&6; }
2169 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2170 $as_echo_n "(cached) " >&6
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174 $as_echo "$ac_res" >&6; }
2176 # Is the header compilable?
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2178 $as_echo_n "checking $2 usability... " >&6; }
2179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2184 if ac_fn_c_try_compile
"$LINENO"; then :
2185 ac_header_compiler
=yes
2187 ac_header_compiler
=no
2189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2191 $as_echo "$ac_header_compiler" >&6; }
2193 # Is the header present?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2195 $as_echo_n "checking $2 presence... " >&6; }
2196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2200 if ac_fn_c_try_cpp
"$LINENO"; then :
2201 ac_header_preproc
=yes
2203 ac_header_preproc
=no
2205 rm -f conftest.err conftest.
$ac_ext
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2207 $as_echo "$ac_header_preproc" >&6; }
2209 # So? What about this header?
2210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2213 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2219 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2221 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2223 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2225 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2231 $as_echo_n "checking for $2... " >&6; }
2232 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2233 $as_echo_n "(cached) " >&6
2235 eval "$3=\$ac_header_compiler"
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2241 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2243 } # ac_fn_c_check_header_mongrel
2244 cat >config.log
<<_ACEOF
2245 This file contains any messages produced by compilers while
2246 running configure, to aid debugging if configure makes a mistake.
2248 It was created by libgpiv $as_me 0.6.1, which was
2249 generated by GNU Autoconf 2.64. Invocation command line was
2261 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2262 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2263 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2264 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2265 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2267 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2268 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2270 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2271 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2272 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2273 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2274 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2275 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2276 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir
=.
2285 $as_echo "PATH: $as_dir"
2301 # Keep a trace of the command line.
2302 # Strip out --no-create and --no-recursion so they do not pile up.
2303 # Strip out --silent because we don't want to record it for future runs.
2304 # Also quote any args containing shell meta-characters.
2305 # Make two passes to allow for proper duplicate-argument suppression.
2309 ac_must_keep_next
=false
2315 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2316 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2317 |
-silent |
--silent |
--silen |
--sile |
--sil)
2320 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2323 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2325 as_fn_append ac_configure_args1
" '$ac_arg'"
2326 if test $ac_must_keep_next = true
; then
2327 ac_must_keep_next
=false
# Got value, back to normal.
2330 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2331 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2332 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2333 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2334 case "$ac_configure_args0 " in
2335 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2338 -* ) ac_must_keep_next
=true
;;
2341 as_fn_append ac_configure_args
" '$ac_arg'"
2346 { ac_configure_args0
=; unset ac_configure_args0
;}
2347 { ac_configure_args1
=; unset ac_configure_args1
;}
2349 # When interrupted or exit'd, cleanup temporary files, and complete
2350 # config.log. We remove comments because anyway the quotes in there
2351 # would cause problems or look ugly.
2352 # WARNING: Use '\'' to represent an apostrophe within the trap.
2353 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2354 trap 'exit_status=$?
2355 # Save into config.log some information that might help in debugging.
2360 ## ---------------- ##
2361 ## Cache variables. ##
2362 ## ---------------- ##
2365 # The following way of writing the cache mishandles newlines in values,
2367 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2368 eval ac_val=\$$ac_var
2372 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2373 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2376 _ | IFS | as_nl) ;; #(
2377 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2378 *) { eval $ac_var=; unset $ac_var;} ;;
2383 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2384 *${as_nl}ac_space=\ *)
2386 "s/'\''/'\''\\\\'\'''\''/g;
2387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2390 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2398 ## ----------------- ##
2399 ## Output variables. ##
2400 ## ----------------- ##
2403 for ac_var in $ac_subst_vars
2405 eval ac_val=\$$ac_var
2407 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2409 $as_echo "$ac_var='\''$ac_val'\''"
2413 if test -n "$ac_subst_files"; then
2415 ## ------------------- ##
2416 ## File substitutions. ##
2417 ## ------------------- ##
2420 for ac_var
in $ac_subst_files
2422 eval ac_val
=\$
$ac_var
2424 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2426 $as_echo "$ac_var='\''$ac_val'\''"
2431 if test -s confdefs.h; then
2441 test "$ac_signal" != 0 &&
2442 $as_echo "$as_me: caught signal $ac_signal"
2443 $as_echo "$as_me: exit $exit_status"
2445 rm -f core *.core core.conftest.* &&
2446 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2449 for ac_signal
in 1 2 13 15; do
2450 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2454 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2455 rm -f -r conftest
* confdefs.h
2457 $as_echo "/* confdefs.h */" > confdefs.h
2459 # Predefined preprocessor variables.
2461 cat >>confdefs.h
<<_ACEOF
2462 #define PACKAGE_NAME "$PACKAGE_NAME"
2465 cat >>confdefs.h
<<_ACEOF
2466 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2469 cat >>confdefs.h
<<_ACEOF
2470 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2473 cat >>confdefs.h
<<_ACEOF
2474 #define PACKAGE_STRING "$PACKAGE_STRING"
2477 cat >>confdefs.h
<<_ACEOF
2478 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2481 cat >>confdefs.h
<<_ACEOF
2482 #define PACKAGE_URL "$PACKAGE_URL"
2486 # Let the site file select an alternate cache file if it wants to.
2487 # Prefer an explicitly selected file to automatically selected ones.
2490 if test -n "$CONFIG_SITE"; then
2491 ac_site_file1
=$CONFIG_SITE
2492 elif test "x$prefix" != xNONE
; then
2493 ac_site_file1
=$prefix/share
/config.site
2494 ac_site_file2
=$prefix/etc
/config.site
2496 ac_site_file1
=$ac_default_prefix/share
/config.site
2497 ac_site_file2
=$ac_default_prefix/etc
/config.site
2499 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2501 test "x$ac_site_file" = xNONE
&& continue
2502 if test -r "$ac_site_file"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2504 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2505 sed 's/^/| /' "$ac_site_file" >&5
2510 if test -r "$cache_file"; then
2511 # Some versions of bash will fail to source /dev/null (special
2512 # files actually), so we avoid doing that.
2513 if test -f "$cache_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2515 $as_echo "$as_me: loading cache $cache_file" >&6;}
2517 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2518 *) .
"./$cache_file";;
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2523 $as_echo "$as_me: creating cache $cache_file" >&6;}
2527 # Check that the precious variables saved in the cache have kept the same
2529 ac_cache_corrupted
=false
2530 for ac_var
in $ac_precious_vars; do
2531 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2532 eval ac_new_set
=\
$ac_env_${ac_var}_set
2533 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2534 eval ac_new_val
=\
$ac_env_${ac_var}_value
2535 case $ac_old_set,$ac_new_set in
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2538 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2539 ac_cache_corrupted
=: ;;
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2542 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2543 ac_cache_corrupted
=: ;;
2546 if test "x$ac_old_val" != "x$ac_new_val"; then
2547 # differences in whitespace do not lead to failure.
2548 ac_old_val_w
=`echo x $ac_old_val`
2549 ac_new_val_w
=`echo x $ac_new_val`
2550 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2552 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2553 ac_cache_corrupted
=:
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2556 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2557 eval $ac_var=\
$ac_old_val
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2560 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2562 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2565 # Pass precious variables to config.status.
2566 if test "$ac_new_set" = set; then
2568 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2569 *) ac_arg
=$ac_var=$ac_new_val ;;
2571 case " $ac_configure_args " in
2572 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2573 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2577 if $ac_cache_corrupted; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2581 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2582 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2584 ## -------------------- ##
2585 ## Main body of script. ##
2586 ## -------------------- ##
2589 ac_cpp
='$CPP $CPPFLAGS'
2590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2595 ac_config_headers
="$ac_config_headers config.h"
2598 # Unstable (alpha), testing (beta) or stable
2599 GPIV_MAJOR_VERSION
=0
2600 # Large improvements against previous Minor release
2601 GPIV_MINOR_VERSION
=6
2602 # Any changes: Improved functionality, added features, debugs, also changed API!
2603 GPIV_MICRO_VERSION
=1
2605 GPIV_VERSION
=$GPIV_MAJOR_VERSION.
$GPIV_MINOR_VERSION.
$GPIV_MICRO_VERSION
2612 # libtool versioning. See libtool-doc chapter 6.3.
2613 LT_RELEASE
=$GPIV_MAJOR_VERSION.
$GPIV_MINOR_VERSION
2618 #`expr $GPIV_BINARY_AGE - $GPIV_INTERFACE_AGE`
2624 VERSION
=$GPIV_VERSION
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2630 $as_echo_n "checking whether build environment is sane... " >&6; }
2633 echo timestamp
> conftest.
file
2634 # Reject unsafe characters in $srcdir or the absolute working directory
2635 # name. Accept space and tab only in the latter.
2639 *[\\\"\
#\$\&\'\`$am_lf]*)
2640 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2643 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2644 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2647 # Do `set' in a subshell so we don't clobber the current shell's
2648 # arguments. Must try -L first in case configure is actually a
2649 # symlink; some systems play weird games with the mod time of symlinks
2650 # (eg FreeBSD returns the mod time of the symlink's containing
2653 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2654 if test "$*" = "X"; then
2656 set X
`ls -t "$srcdir/configure" conftest.file`
2659 if test "$*" != "X $srcdir/configure conftest.file" \
2660 && test "$*" != "X conftest.file $srcdir/configure"; then
2662 # If neither matched, then we have a broken ls. This can happen
2663 # if, for instance, CONFIG_SHELL is bash and it inherits a
2664 # broken ls alias from the environment. This has actually
2665 # happened. Such a system could not be considered "sane".
2666 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2667 alias in your environment" "$LINENO" 5
2670 test "$2" = conftest.
file
2676 as_fn_error
"newly created file is older than distributed files!
2677 Check your system clock" "$LINENO" 5
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2680 $as_echo "yes" >&6; }
2682 ac_cpp
='$CPP $CPPFLAGS'
2683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2686 if test -n "$ac_tool_prefix"; then
2687 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2688 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if test "${ac_cv_prog_CC+set}" = set; then :
2692 $as_echo_n "(cached) " >&6
2694 if test -n "$CC"; then
2695 ac_cv_prog_CC
="$CC" # Let the user override the test.
2697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir
=.
2702 for ac_exec_ext
in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 if test -n "$CC"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2717 $as_echo "$CC" >&6; }
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2725 if test -z "$ac_cv_prog_CC"; then
2727 # Extract the first word of "gcc", so it can be a program name with args.
2728 set dummy gcc
; ac_word
=$2
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 $as_echo_n "checking for $ac_word... " >&6; }
2731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2732 $as_echo_n "(cached) " >&6
2734 if test -n "$ac_ct_CC"; then
2735 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir
=.
2742 for ac_exec_ext
in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 ac_cv_prog_ac_ct_CC
="gcc"
2745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2755 if test -n "$ac_ct_CC"; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2757 $as_echo "$ac_ct_CC" >&6; }
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2763 if test "x$ac_ct_CC" = x
; then
2766 case $cross_compiling:$ac_tool_warned in
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2770 ac_tool_warned
=yes ;;
2778 if test -z "$CC"; then
2779 if test -n "$ac_tool_prefix"; then
2780 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2781 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if test "${ac_cv_prog_CC+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC
="$CC" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 if test -n "$CC"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810 $as_echo "$CC" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2819 if test -z "$CC"; then
2820 # Extract the first word of "cc", so it can be a program name with args.
2821 set dummy cc
; ac_word
=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if test "${ac_cv_prog_CC+set}" = set; then :
2825 $as_echo_n "(cached) " >&6
2827 if test -n "$CC"; then
2828 ac_cv_prog_CC
="$CC" # Let the user override the test.
2831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir
=.
2836 for ac_exec_ext
in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2839 ac_prog_rejected
=yes
2843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 if test $ac_prog_rejected = yes; then
2851 # We found a bogon in the path, so make sure we never use it.
2852 set dummy
$ac_cv_prog_CC
2854 if test $# != 0; then
2855 # We chose a different compiler from the bogus one.
2856 # However, it has the same basename, so the bogon will be chosen
2857 # first if we set CC to just the basename; use the full file name.
2859 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2865 if test -n "$CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867 $as_echo "$CC" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2875 if test -z "$CC"; then
2876 if test -n "$ac_tool_prefix"; then
2877 for ac_prog
in cl.exe
2879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2880 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if test "${ac_cv_prog_CC+set}" = set; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$CC"; then
2887 ac_cv_prog_CC
="$CC" # Let the user override the test.
2889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir
=.
2894 for ac_exec_ext
in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 if test -n "$CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909 $as_echo "$CC" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2916 test -n "$CC" && break
2919 if test -z "$CC"; then
2921 for ac_prog
in cl.exe
2923 # Extract the first word of "$ac_prog", so it can be a program name with args.
2924 set dummy
$ac_prog; ac_word
=$2
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926 $as_echo_n "checking for $ac_word... " >&6; }
2927 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2930 if test -n "$ac_ct_CC"; then
2931 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2937 test -z "$as_dir" && as_dir
=.
2938 for ac_exec_ext
in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940 ac_cv_prog_ac_ct_CC
="$ac_prog"
2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2951 if test -n "$ac_ct_CC"; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2953 $as_echo "$ac_ct_CC" >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956 $as_echo "no" >&6; }
2960 test -n "$ac_ct_CC" && break
2963 if test "x$ac_ct_CC" = x
; then
2966 case $cross_compiling:$ac_tool_warned in
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2970 ac_tool_warned
=yes ;;
2979 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981 as_fn_error
"no acceptable C compiler found in \$PATH
2982 See \`config.log' for more details." "$LINENO" 5; }
2984 # Provide some information about the compiler.
2985 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2988 for ac_option
in --version -v -V -qversion; do
2989 { { ac_try
="$ac_compiler $ac_option >&5"
2991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995 $as_echo "$ac_try_echo"; } >&5
2996 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2998 if test -s conftest.err; then
3000 ... rest of stderr output deleted ...
3001 10q' conftest.err >conftest.er1
3002 cat conftest.er1 >&5
3003 rm -f conftest.er1 conftest.err
3005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3006 test $ac_status = 0; }
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3015 FILE *f = fopen ("conftest.out", "w");
3016 return ferror (f) || fclose (f) != 0;
3022 ac_clean_files_save=$ac_clean_files
3023 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3024 # Try to create an executable without -o first, disregard a.out.
3025 # It will help us diagnose broken compilers, and finding out an intuition
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3028 $as_echo_n "checking for C compiler default output file name... " >&6; }
3029 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3031 # The possible output files:
3032 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3035 for ac_file in $ac_files
3038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3039 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3044 if { { ac_try="$ac_link_default"
3046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3047 *) ac_try_echo
=$ac_try;;
3049 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050 $as_echo "$ac_try_echo"; } >&5
3051 (eval "$ac_link_default") 2>&5
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; }; then :
3055 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3056 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3057 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3058 # so that the user can short-circuit this test for compilers unknown to
3060 for ac_file
in $ac_files ''
3062 test -f "$ac_file" ||
continue
3064 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3067 # We found the default executable, but exeext='' is most
3071 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3073 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 # We set ac_cv_exeext here because the later test for it is not
3076 # safe: cross compilers may not add the suffix if given an `-o'
3077 # argument, so we may need to know it at that point already.
3078 # Even if this section looks crufty: it has the advantage of
3085 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3091 $as_echo "$ac_file" >&6; }
3092 if test -z "$ac_file"; then :
3093 $as_echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.
$ac_ext >&5
3096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 { as_fn_set_status
77
3099 as_fn_error
"C compiler cannot create executables
3100 See \`config.log' for more details." "$LINENO" 5; }; }
3102 ac_exeext
=$ac_cv_exeext
3104 # Check that the compiler produces executables we can run. If not, either
3105 # the compiler is broken, or we cross compile.
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3107 $as_echo_n "checking whether the C compiler works... " >&6; }
3108 # If not cross compiling, check that we can run a simple program.
3109 if test "$cross_compiling" != yes; then
3110 if { ac_try
='./$ac_file'
3111 { { case "(($ac_try" in
3112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_try") 2>&5
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; }; }; then
3123 if test "$cross_compiling" = maybe; then
3126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 as_fn_error "cannot run C compiled programs.
3129 If you meant to cross compile
, use \
`--host'.
3130 See \`config.log
' for more details." "$LINENO" 5; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135 $as_echo "yes" >&6; }
3137 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3138 ac_clean_files=$ac_clean_files_save
3139 # Check that the compiler produces executables we can run. If not, either
3140 # the compiler is broken, or we cross compile.
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3142 $as_echo_n "checking whether we are cross compiling... " >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3144 $as_echo "$cross_compiling" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3147 $as_echo_n "checking for suffix of executables... " >&6; }
3148 if { { ac_try="$ac_link"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_link") 2>&5
3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158 test $ac_status = 0; }; then :
3159 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3160 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3161 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3163 for ac_file
in conftest.exe conftest conftest.
*; do
3164 test -f "$ac_file" ||
continue
3166 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3167 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3175 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3176 See \`config.log' for more details." "$LINENO" 5; }
3178 rm -f conftest
$ac_cv_exeext
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3180 $as_echo "$ac_cv_exeext" >&6; }
3182 rm -f conftest.
$ac_ext
3183 EXEEXT
=$ac_cv_exeext
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3186 $as_echo_n "checking for suffix of object files... " >&6; }
3187 if test "${ac_cv_objext+set}" = set; then :
3188 $as_echo_n "(cached) " >&6
3190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h. */
3201 rm -f conftest.o conftest.obj
3202 if { { ac_try
="$ac_compile"
3204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_compile") 2>&5
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }; then :
3213 for ac_file in conftest.o conftest.obj conftest.*; do
3214 test -f "$ac_file" || continue;
3216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3217 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3222 $as_echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227 as_fn_error "cannot compute suffix of object files
: cannot compile
3228 See \
`config.log' for more details." "$LINENO" 5; }
3230 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3233 $as_echo "$ac_cv_objext" >&6; }
3234 OBJEXT=$ac_cv_objext
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3237 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3238 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3239 $as_echo_n "(cached) " >&6
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3255 if ac_fn_c_try_compile "$LINENO"; then :
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3265 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3266 if test $ac_compiler_gnu = yes; then
3271 ac_test_CFLAGS=${CFLAGS+set}
3272 ac_save_CFLAGS=$CFLAGS
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3274 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3275 if test "${ac_cv_prog_cc_g+set}" = set; then :
3276 $as_echo_n "(cached) " >&6
3278 ac_save_c_werror_flag=$ac_c_werror_flag
3279 ac_c_werror_flag=yes
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3293 if ac_fn_c_try_compile "$LINENO"; then :
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3308 if ac_fn_c_try_compile "$LINENO"; then :
3311 ac_c_werror_flag=$ac_save_c_werror_flag
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 if ac_fn_c_try_compile "$LINENO"; then :
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3332 ac_c_werror_flag=$ac_save_c_werror_flag
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3335 $as_echo "$ac_cv_prog_cc_g" >&6; }
3336 if test "$ac_test_CFLAGS" = set; then
3337 CFLAGS=$ac_save_CFLAGS
3338 elif test $ac_cv_prog_cc_g = yes; then
3339 if test "$GCC" = yes; then
3345 if test "$GCC" = yes; then
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3352 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3353 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3354 $as_echo_n "(cached) " >&6
3356 ac_cv_prog_cc_c89=no
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3362 #include <sys/types.h>
3363 #include <sys/stat.h>
3364 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3365 struct buf { int x; };
3366 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3367 static char *e (p, i)
3373 static char *f (char * (*g) (char **, int), char **p, ...)
3378 s = g (p, va_arg (v,int));
3383 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3384 function prototypes and stuff, but not '\xHH' hex character constants.
3385 These don't provoke an error unfortunately, instead are silently treated
3386 as 'x'. The following induces an error, until -std is added to get
3387 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3388 array size at least. It's necessary to write '\x00'==0 to get something
3389 that's true only with -std. */
3390 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3392 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3393 inside strings and character constants. */
3395 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3397 int test (int i, double x);
3398 struct s1 {int (*f) (int a);};
3399 struct s2 {int (*f) (double a);};
3400 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3406 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3411 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3412 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3414 CC="$ac_save_CC $ac_arg"
3415 if ac_fn_c_try_compile "$LINENO"; then :
3416 ac_cv_prog_cc_c89=$ac_arg
3418 rm -f core conftest.err conftest.$ac_objext
3419 test "x$ac_cv_prog_cc_c89" != "xno" && break
3421 rm -f conftest.$ac_ext
3426 case "x$ac_cv_prog_cc_c89" in
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3429 $as_echo "none needed" >&6; } ;;
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3432 $as_echo "unsupported" >&6; } ;;
3434 CC="$CC $ac_cv_prog_cc_c89"
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3436 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3438 if test "x$ac_cv_prog_cc_c89" != xno; then :
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3450 $as_echo_n "checking for library containing strerror... " >&6; }
3451 if test "${ac_cv_search_strerror+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3454 ac_func_search_save_LIBS=$LIBS
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3458 /* Override any GCC internal prototype to avoid an error.
3459 Use char because int might match the return type of a GCC
3460 builtin and then its argument prototype would still apply. */
3473 for ac_lib in '' cposix; do
3474 if test -z "$ac_lib"; then
3475 ac_res="none required"
3478 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3480 if ac_fn_c_try_link "$LINENO"; then :
3481 ac_cv_search_strerror=$ac_res
3483 rm -f core conftest.err conftest.$ac_objext \
3485 if test "${ac_cv_search_strerror+set}" = set; then :
3489 if test "${ac_cv_search_strerror+set}" = set; then :
3492 ac_cv_search_strerror=no
3495 LIBS=$ac_func_search_save_LIBS
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3498 $as_echo "$ac_cv_search_strerror" >&6; }
3499 ac_res=$ac_cv_search_strerror
3500 if test "$ac_res" != no; then :
3501 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3507 ac_cpp='$CPP $CPPFLAGS'
3508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 if test -n "$ac_tool_prefix"; then
3512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3513 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if test "${ac_cv_prog_CC+set}" = set; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$CC"; then
3520 ac_cv_prog_CC="$CC" # Let the user override the test.
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test -n "$CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 $as_echo "$CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3550 if test -z "$ac_cv_prog_CC"; then
3552 # Extract the first word of "gcc", so it can be a program name with args.
3553 set dummy gcc; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$ac_ct_CC"; then
3560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir=.
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569 ac_cv_prog_ac_ct_CC="gcc"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3580 if test -n "$ac_ct_CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3582 $as_echo "$ac_ct_CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3588 if test "x$ac_ct_CC" = x; then
3591 case $cross_compiling:$ac_tool_warned in
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3595 ac_tool_warned=yes ;;
3603 if test -z "$CC"; then
3604 if test -n "$ac_tool_prefix"; then
3605 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3606 set dummy ${ac_tool_prefix}cc; 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}cc"
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; }
3644 if test -z "$CC"; then
3645 # Extract the first word of "cc", so it can be a program name with args.
3646 set dummy cc; 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_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC="$CC" # Let the user override the test.
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3663 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3664 ac_prog_rejected=yes
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 if test $ac_prog_rejected = yes; then
3676 # We found a bogon in the path, so make sure we never use it.
3677 set dummy $ac_cv_prog_CC
3679 if test $# != 0; then
3680 # We chose a different compiler from the bogus one.
3681 # However, it has the same basename, so the bogon will be chosen
3682 # first if we set CC to just the basename; use the full file name.
3684 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3690 if test -n "$CC"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3692 $as_echo "$CC" >&6; }
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3700 if test -z "$CC"; then
3701 if test -n "$ac_tool_prefix"; then
3702 for ac_prog in cl.exe
3704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if test "${ac_cv_prog_CC+set}" = set; then :
3709 $as_echo_n "(cached) " >&6
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC="$CC" # Let the user override the test.
3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 test -z "$as_dir" && as_dir=.
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3721 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3741 test -n "$CC" && break
3744 if test -z "$CC"; then
3746 for ac_prog in cl.exe
3748 # Extract the first word of "$ac_prog", so it can be a program name with args.
3749 set dummy $ac_prog; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3753 $as_echo_n "(cached) " >&6
3755 if test -n "$ac_ct_CC"; then
3756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3765 ac_cv_prog_ac_ct_CC="$ac_prog"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3776 if test -n "$ac_ct_CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3778 $as_echo "$ac_ct_CC" >&6; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3785 test -n "$ac_ct_CC" && break
3788 if test "x$ac_ct_CC" = x; then
3791 case $cross_compiling:$ac_tool_warned in
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3795 ac_tool_warned=yes ;;
3804 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error "no acceptable C compiler found
in \
$PATH
3807 See \
`config.log' for more details." "$LINENO" 5; }
3809 # Provide some information about the compiler.
3810 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3813 for ac_option in --version -v -V -qversion; do
3814 { { ac_try="$ac_compiler $ac_option >&5"
3816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3817 *) ac_try_echo
=$ac_try;;
3819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3820 $as_echo "$ac_try_echo"; } >&5
3821 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3823 if test -s conftest.err
; then
3825 ... rest of stderr output deleted ...
3826 10q' conftest.err
>conftest.er1
3827 cat conftest.er1
>&5
3828 rm -f conftest.er1 conftest.err
3830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3831 test $ac_status = 0; }
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3835 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3836 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3837 $as_echo_n "(cached) " >&6
3839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3853 if ac_fn_c_try_compile
"$LINENO"; then :
3858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3859 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3863 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3864 if test $ac_compiler_gnu = yes; then
3869 ac_test_CFLAGS
=${CFLAGS+set}
3870 ac_save_CFLAGS
=$CFLAGS
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3872 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3873 if test "${ac_cv_prog_cc_g+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 ac_save_c_werror_flag
=$ac_c_werror_flag
3877 ac_c_werror_flag
=yes
3880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3891 if ac_fn_c_try_compile
"$LINENO"; then :
3895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3906 if ac_fn_c_try_compile
"$LINENO"; then :
3909 ac_c_werror_flag
=$ac_save_c_werror_flag
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 if ac_fn_c_try_compile
"$LINENO"; then :
3925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3930 ac_c_werror_flag
=$ac_save_c_werror_flag
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3933 $as_echo "$ac_cv_prog_cc_g" >&6; }
3934 if test "$ac_test_CFLAGS" = set; then
3935 CFLAGS
=$ac_save_CFLAGS
3936 elif test $ac_cv_prog_cc_g = yes; then
3937 if test "$GCC" = yes; then
3943 if test "$GCC" = yes; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3950 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3951 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3952 $as_echo_n "(cached) " >&6
3954 ac_cv_prog_cc_c89
=no
3956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 #include <sys/types.h>
3961 #include <sys/stat.h>
3962 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3963 struct buf { int x; };
3964 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3965 static char *e (p, i)
3971 static char *f (char * (*g) (char **, int), char **p, ...)
3976 s = g (p, va_arg (v,int));
3981 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3982 function prototypes and stuff, but not '\xHH' hex character constants.
3983 These don't provoke an error unfortunately, instead are silently treated
3984 as 'x'. The following induces an error, until -std is added to get
3985 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3986 array size at least. It's necessary to write '\x00'==0 to get something
3987 that's true only with -std. */
3988 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3990 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3991 inside strings and character constants. */
3993 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3995 int test (int i, double x);
3996 struct s1 {int (*f) (int a);};
3997 struct s2 {int (*f) (double a);};
3998 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4004 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4009 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4010 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4012 CC
="$ac_save_CC $ac_arg"
4013 if ac_fn_c_try_compile
"$LINENO"; then :
4014 ac_cv_prog_cc_c89
=$ac_arg
4016 rm -f core conftest.err conftest.
$ac_objext
4017 test "x$ac_cv_prog_cc_c89" != "xno" && break
4019 rm -f conftest.
$ac_ext
4024 case "x$ac_cv_prog_cc_c89" in
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4027 $as_echo "none needed" >&6; } ;;
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4030 $as_echo "unsupported" >&6; } ;;
4032 CC
="$CC $ac_cv_prog_cc_c89"
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4034 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4036 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4041 ac_cpp
='$CPP $CPPFLAGS'
4042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4047 ac_cpp
='$CPP $CPPFLAGS'
4048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4051 if test -n "$ac_tool_prefix"; then
4052 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4053 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if test "${ac_cv_prog_CC+set}" = set; then :
4057 $as_echo_n "(cached) " >&6
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC
="$CC" # Let the user override the test.
4062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4066 test -z "$as_dir" && as_dir
=.
4067 for ac_exec_ext
in '' $ac_executable_extensions; do
4068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4069 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 if test -n "$CC"; then
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4082 $as_echo "$CC" >&6; }
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 $as_echo "no" >&6; }
4090 if test -z "$ac_cv_prog_CC"; then
4092 # Extract the first word of "gcc", so it can be a program name with args.
4093 set dummy gcc
; ac_word
=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4099 if test -n "$ac_ct_CC"; then
4100 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4106 test -z "$as_dir" && as_dir
=.
4107 for ac_exec_ext
in '' $ac_executable_extensions; do
4108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4109 ac_cv_prog_ac_ct_CC
="gcc"
4110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4120 if test -n "$ac_ct_CC"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4122 $as_echo "$ac_ct_CC" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4128 if test "x$ac_ct_CC" = x
; then
4131 case $cross_compiling:$ac_tool_warned in
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4135 ac_tool_warned
=yes ;;
4143 if test -z "$CC"; then
4144 if test -n "$ac_tool_prefix"; then
4145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4146 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4148 $as_echo_n "checking for $ac_word... " >&6; }
4149 if test "${ac_cv_prog_CC+set}" = set; then :
4150 $as_echo_n "(cached) " >&6
4152 if test -n "$CC"; then
4153 ac_cv_prog_CC
="$CC" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 if test -n "$CC"; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4175 $as_echo "$CC" >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4178 $as_echo "no" >&6; }
4184 if test -z "$CC"; then
4185 # Extract the first word of "cc", so it can be a program name with args.
4186 set dummy cc
; ac_word
=$2
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4188 $as_echo_n "checking for $ac_word... " >&6; }
4189 if test "${ac_cv_prog_CC+set}" = set; then :
4190 $as_echo_n "(cached) " >&6
4192 if test -n "$CC"; then
4193 ac_cv_prog_CC
="$CC" # Let the user override the test.
4196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir
=.
4201 for ac_exec_ext
in '' $ac_executable_extensions; do
4202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4203 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4204 ac_prog_rejected
=yes
4208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 if test $ac_prog_rejected = yes; then
4216 # We found a bogon in the path, so make sure we never use it.
4217 set dummy
$ac_cv_prog_CC
4219 if test $# != 0; then
4220 # We chose a different compiler from the bogus one.
4221 # However, it has the same basename, so the bogon will be chosen
4222 # first if we set CC to just the basename; use the full file name.
4224 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4230 if test -n "$CC"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4232 $as_echo "$CC" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4240 if test -z "$CC"; then
4241 if test -n "$ac_tool_prefix"; then
4242 for ac_prog
in cl.exe
4244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4245 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4247 $as_echo_n "checking for $ac_word... " >&6; }
4248 if test "${ac_cv_prog_CC+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4251 if test -n "$CC"; then
4252 ac_cv_prog_CC
="$CC" # Let the user override the test.
4254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4258 test -z "$as_dir" && as_dir
=.
4259 for ac_exec_ext
in '' $ac_executable_extensions; do
4260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4261 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 if test -n "$CC"; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4274 $as_echo "$CC" >&6; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4277 $as_echo "no" >&6; }
4281 test -n "$CC" && break
4284 if test -z "$CC"; then
4286 for ac_prog
in cl.exe
4288 # Extract the first word of "$ac_prog", so it can be a program name with args.
4289 set dummy
$ac_prog; ac_word
=$2
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4291 $as_echo_n "checking for $ac_word... " >&6; }
4292 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4293 $as_echo_n "(cached) " >&6
4295 if test -n "$ac_ct_CC"; then
4296 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4302 test -z "$as_dir" && as_dir
=.
4303 for ac_exec_ext
in '' $ac_executable_extensions; do
4304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4305 ac_cv_prog_ac_ct_CC
="$ac_prog"
4306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4316 if test -n "$ac_ct_CC"; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4318 $as_echo "$ac_ct_CC" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4325 test -n "$ac_ct_CC" && break
4328 if test "x$ac_ct_CC" = x
; then
4331 case $cross_compiling:$ac_tool_warned in
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4335 ac_tool_warned
=yes ;;
4344 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4346 as_fn_error
"no acceptable C compiler found in \$PATH
4347 See \`config.log' for more details." "$LINENO" 5; }
4349 # Provide some information about the compiler.
4350 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4353 for ac_option
in --version -v -V -qversion; do
4354 { { ac_try
="$ac_compiler $ac_option >&5"
4356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4360 $as_echo "$ac_try_echo"; } >&5
4361 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4363 if test -s conftest.err; then
4365 ... rest of stderr output deleted ...
4366 10q' conftest.err >conftest.er1
4367 cat conftest.er1 >&5
4368 rm -f conftest.er1 conftest.err
4370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4371 test $ac_status = 0; }
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4375 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4376 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4377 $as_echo_n "(cached) " >&6
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4393 if ac_fn_c_try_compile "$LINENO"; then :
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4403 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4404 if test $ac_compiler_gnu = yes; then
4409 ac_test_CFLAGS=${CFLAGS+set}
4410 ac_save_CFLAGS=$CFLAGS
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4412 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4413 if test "${ac_cv_prog_cc_g+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4416 ac_save_c_werror_flag=$ac_c_werror_flag
4417 ac_c_werror_flag=yes
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4431 if ac_fn_c_try_compile "$LINENO"; then :
4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4446 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_c_werror_flag=$ac_save_c_werror_flag
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4462 if ac_fn_c_try_compile "$LINENO"; then :
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4470 ac_c_werror_flag=$ac_save_c_werror_flag
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4473 $as_echo "$ac_cv_prog_cc_g" >&6; }
4474 if test "$ac_test_CFLAGS" = set; then
4475 CFLAGS=$ac_save_CFLAGS
4476 elif test $ac_cv_prog_cc_g = yes; then
4477 if test "$GCC" = yes; then
4483 if test "$GCC" = yes; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4490 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4491 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4492 $as_echo_n "(cached) " >&6
4494 ac_cv_prog_cc_c89=no
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4500 #include <sys/types.h>
4501 #include <sys/stat.h>
4502 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4503 struct buf { int x; };
4504 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4505 static char *e (p, i)
4511 static char *f (char * (*g) (char **, int), char **p, ...)
4516 s = g (p, va_arg (v,int));
4521 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4522 function prototypes and stuff, but not '\xHH' hex character constants.
4523 These don't provoke an error unfortunately, instead are silently treated
4524 as 'x'. The following induces an error, until -std is added to get
4525 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4526 array size at least. It's necessary to write '\x00'==0 to get something
4527 that's true only with -std. */
4528 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4530 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4531 inside strings and character constants. */
4533 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4535 int test (int i, double x);
4536 struct s1 {int (*f) (int a);};
4537 struct s2 {int (*f) (double a);};
4538 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4544 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4549 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4550 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4552 CC="$ac_save_CC $ac_arg"
4553 if ac_fn_c_try_compile "$LINENO"; then :
4554 ac_cv_prog_cc_c89=$ac_arg
4556 rm -f core conftest.err conftest.$ac_objext
4557 test "x$ac_cv_prog_cc_c89" != "xno" && break
4559 rm -f conftest.$ac_ext
4564 case "x$ac_cv_prog_cc_c89" in
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4567 $as_echo "none needed" >&6; } ;;
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4570 $as_echo "unsupported" >&6; } ;;
4572 CC="$CC $ac_cv_prog_cc_c89"
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4574 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4576 if test "x$ac_cv_prog_cc_c89" != xno; then :
4581 ac_cpp='$CPP $CPPFLAGS'
4582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4587 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4590 ac_cpp='$CXXCPP $CPPFLAGS'
4591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4594 if test -z "$CXX"; then
4595 if test -n "$CCC"; then
4598 if test -n "$ac_tool_prefix"; then
4599 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if test "${ac_cv_prog_CXX+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -n "$CXX"; then
4609 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir=.
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4618 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 if test -n "$CXX"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4631 $as_echo "$CXX" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4638 test -n "$CXX" && break
4641 if test -z "$CXX"; then
4643 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4645 # Extract the first word of "$ac_prog", so it can be a program name with args.
4646 set dummy $ac_prog; ac_word=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4650 $as_echo_n "(cached) " >&6
4652 if test -n "$ac_ct_CXX"; then
4653 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir=.
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4662 ac_cv_prog_ac_ct_CXX="$ac_prog"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4673 if test -n "$ac_ct_CXX"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4675 $as_echo "$ac_ct_CXX" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4682 test -n "$ac_ct_CXX" && break
4685 if test "x$ac_ct_CXX" = x; then
4688 case $cross_compiling:$ac_tool_warned in
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned=yes ;;
4700 # Provide some information about the compiler.
4701 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4704 for ac_option in --version -v -V -qversion; do
4705 { { ac_try="$ac_compiler $ac_option >&5"
4707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4708 *) ac_try_echo
=$ac_try;;
4710 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4711 $as_echo "$ac_try_echo"; } >&5
4712 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4714 if test -s conftest.err
; then
4716 ... rest of stderr output deleted ...
4717 10q' conftest.err
>conftest.er1
4718 cat conftest.er1
>&5
4719 rm -f conftest.er1 conftest.err
4721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4722 test $ac_status = 0; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4726 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4727 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4744 if ac_fn_cxx_try_compile
"$LINENO"; then :
4749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4750 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4754 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4755 if test $ac_compiler_gnu = yes; then
4760 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4761 ac_save_CXXFLAGS
=$CXXFLAGS
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4763 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4764 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4765 $as_echo_n "(cached) " >&6
4767 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4768 ac_cxx_werror_flag
=yes
4771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4782 if ac_fn_cxx_try_compile
"$LINENO"; then :
4783 ac_cv_prog_cxx_g
=yes
4786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4797 if ac_fn_cxx_try_compile
"$LINENO"; then :
4800 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4813 if ac_fn_cxx_try_compile
"$LINENO"; then :
4814 ac_cv_prog_cxx_g
=yes
4816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4821 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4824 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4825 if test "$ac_test_CXXFLAGS" = set; then
4826 CXXFLAGS
=$ac_save_CXXFLAGS
4827 elif test $ac_cv_prog_cxx_g = yes; then
4828 if test "$GXX" = yes; then
4834 if test "$GXX" = yes; then
4841 ac_cpp
='$CPP $CPPFLAGS'
4842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4849 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4854 macro_version
='2.2.6'
4855 macro_revision
='1.3012'
4869 ltmain
="$ac_aux_dir/ltmain.sh"
4872 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4873 for ac_t
in install-sh
install.sh shtool
; do
4874 if test -f "$ac_dir/$ac_t"; then
4876 ac_install_sh
="$ac_aux_dir/$ac_t -c"
4881 if test -z "$ac_aux_dir"; then
4882 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4885 # These three variables are undocumented and unsupported,
4886 # and are intended to be withdrawn in a future Autoconf release.
4887 # They can cause serious problems if a builder's source tree is in a directory
4888 # whose full name contains unusual characters.
4889 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4890 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4891 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4894 # Make sure we can run config.sub.
4895 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4896 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4899 $as_echo_n "checking build system type... " >&6; }
4900 if test "${ac_cv_build+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 ac_build_alias
=$build_alias
4904 test "x$ac_build_alias" = x
&&
4905 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4906 test "x$ac_build_alias" = x
&&
4907 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4908 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4909 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4913 $as_echo "$ac_cv_build" >&6; }
4914 case $ac_cv_build in
4916 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4919 ac_save_IFS
=$IFS; IFS
='-'
4925 # Remember, the first character of IFS is used to create $*,
4926 # except with old shells:
4929 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4933 $as_echo_n "checking host system type... " >&6; }
4934 if test "${ac_cv_host+set}" = set; then :
4935 $as_echo_n "(cached) " >&6
4937 if test "x$host_alias" = x
; then
4938 ac_cv_host
=$ac_cv_build
4940 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4941 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4946 $as_echo "$ac_cv_host" >&6; }
4949 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4952 ac_save_IFS
=$IFS; IFS
='-'
4958 # Remember, the first character of IFS is used to create $*,
4959 # except with old shells:
4962 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4966 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4967 if test "${ac_cv_path_SED+set}" = set; then :
4968 $as_echo_n "(cached) " >&6
4970 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4971 for ac_i
in 1 2 3 4 5 6 7; do
4972 ac_script
="$ac_script$as_nl$ac_script"
4974 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4975 { ac_script
=; unset ac_script
;}
4976 if test -z "$SED"; then
4977 ac_path_SED_found
=false
4978 # Loop through the user's path and test for each of PROGNAME-LIST
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_prog
in sed gsed
; do
4985 for ac_exec_ext
in '' $ac_executable_extensions; do
4986 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4987 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4988 # Check for GNU ac_path_SED and select it if it is found.
4989 # Check for GNU $ac_path_SED
4990 case `"$ac_path_SED" --version 2>&1` in
4992 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4995 $as_echo_n 0123456789 >"conftest.in"
4998 cat "conftest.in" "conftest.in" >"conftest.tmp"
4999 mv "conftest.tmp" "conftest.in"
5000 cp "conftest.in" "conftest.nl"
5001 $as_echo '' >> "conftest.nl"
5002 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5003 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5004 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5005 if test $ac_count -gt ${ac_path_SED_max-0}; then
5006 # Best one so far, save it but keep looking for a better one
5007 ac_cv_path_SED
="$ac_path_SED"
5008 ac_path_SED_max
=$ac_count
5010 # 10*(2^10) chars as input seems more than enough
5011 test $ac_count -gt 10 && break
5013 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5016 $ac_path_SED_found && break 3
5021 if test -z "$ac_cv_path_SED"; then
5022 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5030 $as_echo "$ac_cv_path_SED" >&6; }
5031 SED
="$ac_cv_path_SED"
5034 test -z "$SED" && SED
=sed
5035 Xsed
="$SED -e 1s/^X//"
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5048 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5049 if test "${ac_cv_path_GREP+set}" = set; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -z "$GREP"; then
5053 ac_path_GREP_found
=false
5054 # Loop through the user's path and test for each of PROGNAME-LIST
5055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5059 test -z "$as_dir" && as_dir
=.
5060 for ac_prog
in grep ggrep
; do
5061 for ac_exec_ext
in '' $ac_executable_extensions; do
5062 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5063 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5064 # Check for GNU ac_path_GREP and select it if it is found.
5065 # Check for GNU $ac_path_GREP
5066 case `"$ac_path_GREP" --version 2>&1` in
5068 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5071 $as_echo_n 0123456789 >"conftest.in"
5074 cat "conftest.in" "conftest.in" >"conftest.tmp"
5075 mv "conftest.tmp" "conftest.in"
5076 cp "conftest.in" "conftest.nl"
5077 $as_echo 'GREP' >> "conftest.nl"
5078 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5079 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5080 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5081 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5082 # Best one so far, save it but keep looking for a better one
5083 ac_cv_path_GREP
="$ac_path_GREP"
5084 ac_path_GREP_max
=$ac_count
5086 # 10*(2^10) chars as input seems more than enough
5087 test $ac_count -gt 10 && break
5089 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5092 $ac_path_GREP_found && break 3
5097 if test -z "$ac_cv_path_GREP"; then
5098 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5101 ac_cv_path_GREP
=$GREP
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5106 $as_echo "$ac_cv_path_GREP" >&6; }
5107 GREP
="$ac_cv_path_GREP"
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5111 $as_echo_n "checking for egrep... " >&6; }
5112 if test "${ac_cv_path_EGREP+set}" = set; then :
5113 $as_echo_n "(cached) " >&6
5115 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5116 then ac_cv_path_EGREP
="$GREP -E"
5118 if test -z "$EGREP"; then
5119 ac_path_EGREP_found
=false
5120 # Loop through the user's path and test for each of PROGNAME-LIST
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_prog
in egrep; do
5127 for ac_exec_ext
in '' $ac_executable_extensions; do
5128 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5129 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5130 # Check for GNU ac_path_EGREP and select it if it is found.
5131 # Check for GNU $ac_path_EGREP
5132 case `"$ac_path_EGREP" --version 2>&1` in
5134 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5137 $as_echo_n 0123456789 >"conftest.in"
5140 cat "conftest.in" "conftest.in" >"conftest.tmp"
5141 mv "conftest.tmp" "conftest.in"
5142 cp "conftest.in" "conftest.nl"
5143 $as_echo 'EGREP' >> "conftest.nl"
5144 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5145 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5146 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5147 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5148 # Best one so far, save it but keep looking for a better one
5149 ac_cv_path_EGREP
="$ac_path_EGREP"
5150 ac_path_EGREP_max
=$ac_count
5152 # 10*(2^10) chars as input seems more than enough
5153 test $ac_count -gt 10 && break
5155 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5158 $ac_path_EGREP_found && break 3
5163 if test -z "$ac_cv_path_EGREP"; then
5164 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5167 ac_cv_path_EGREP
=$EGREP
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5173 $as_echo "$ac_cv_path_EGREP" >&6; }
5174 EGREP
="$ac_cv_path_EGREP"
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5178 $as_echo_n "checking for fgrep... " >&6; }
5179 if test "${ac_cv_path_FGREP+set}" = set; then :
5180 $as_echo_n "(cached) " >&6
5182 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5183 then ac_cv_path_FGREP
="$GREP -F"
5185 if test -z "$FGREP"; then
5186 ac_path_FGREP_found
=false
5187 # Loop through the user's path and test for each of PROGNAME-LIST
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_prog
in fgrep
; do
5194 for ac_exec_ext
in '' $ac_executable_extensions; do
5195 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5196 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5197 # Check for GNU ac_path_FGREP and select it if it is found.
5198 # Check for GNU $ac_path_FGREP
5199 case `"$ac_path_FGREP" --version 2>&1` in
5201 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5204 $as_echo_n 0123456789 >"conftest.in"
5207 cat "conftest.in" "conftest.in" >"conftest.tmp"
5208 mv "conftest.tmp" "conftest.in"
5209 cp "conftest.in" "conftest.nl"
5210 $as_echo 'FGREP' >> "conftest.nl"
5211 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5212 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5213 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5214 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5215 # Best one so far, save it but keep looking for a better one
5216 ac_cv_path_FGREP
="$ac_path_FGREP"
5217 ac_path_FGREP_max
=$ac_count
5219 # 10*(2^10) chars as input seems more than enough
5220 test $ac_count -gt 10 && break
5222 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5225 $ac_path_FGREP_found && break 3
5230 if test -z "$ac_cv_path_FGREP"; then
5231 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5234 ac_cv_path_FGREP
=$FGREP
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5240 $as_echo "$ac_cv_path_FGREP" >&6; }
5241 FGREP
="$ac_cv_path_FGREP"
5244 test -z "$GREP" && GREP
=grep
5264 # Check whether --with-gnu-ld was given.
5265 if test "${with_gnu_ld+set}" = set; then :
5266 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5272 if test "$GCC" = yes; then
5273 # Check if gcc -print-prog-name=ld gives a path.
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5275 $as_echo_n "checking for ld used by $CC... " >&6; }
5278 # gcc leaves a trailing carriage return which upsets mingw
5279 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5281 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5284 # Accept absolute paths.
5286 re_direlt
='/[^/][^/]*/\.\./'
5287 # Canonicalize the pathname of ld
5288 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5289 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5290 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5292 test -z "$LD" && LD
="$ac_prog"
5295 # If it fails, then pretend we aren't using GCC.
5299 # If it is relative, then search for the first ld in PATH.
5303 elif test "$with_gnu_ld" = yes; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5305 $as_echo_n "checking for GNU ld... " >&6; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5308 $as_echo_n "checking for non-GNU ld... " >&6; }
5310 if test "${lt_cv_path_LD+set}" = set; then :
5311 $as_echo_n "(cached) " >&6
5313 if test -z "$LD"; then
5314 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5315 for ac_dir
in $PATH; do
5317 test -z "$ac_dir" && ac_dir
=.
5318 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5319 lt_cv_path_LD
="$ac_dir/$ac_prog"
5320 # Check to see if the program is GNU ld. I'd rather use --version,
5321 # but apparently some variants of GNU ld only accept -v.
5322 # Break only if it was the GNU/non-GNU ld that we prefer.
5323 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5324 *GNU
* |
*'with BFD'*)
5325 test "$with_gnu_ld" != no
&& break
5328 test "$with_gnu_ld" != yes && break
5335 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5340 if test -n "$LD"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5342 $as_echo "$LD" >&6; }
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5347 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5349 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5350 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5353 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5354 case `$LD -v 2>&1 </dev/null` in
5355 *GNU
* |
*'with BFD'*)
5356 lt_cv_prog_gnu_ld
=yes
5359 lt_cv_prog_gnu_ld
=no
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5364 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5365 with_gnu_ld
=$lt_cv_prog_gnu_ld
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5376 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5377 if test "${lt_cv_path_NM+set}" = set; then :
5378 $as_echo_n "(cached) " >&6
5380 if test -n "$NM"; then
5381 # Let the user override the test.
5384 lt_nm_to_check
="${ac_tool_prefix}nm"
5385 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5386 lt_nm_to_check
="$lt_nm_to_check nm"
5388 for lt_tmp_nm
in $lt_nm_to_check; do
5389 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5390 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5392 test -z "$ac_dir" && ac_dir
=.
5393 tmp_nm
="$ac_dir/$lt_tmp_nm"
5394 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5395 # Check to see if the nm accepts a BSD-compat flag.
5396 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5397 # nm: unknown option "B" ignored
5398 # Tru64's nm complains that /dev/null is an invalid object file
5399 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5400 */dev
/null
* |
*'Invalid file or object type'*)
5401 lt_cv_path_NM
="$tmp_nm -B"
5405 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5407 lt_cv_path_NM
="$tmp_nm -p"
5411 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5412 continue # so that we can try to find one that supports BSD flags
5421 : ${lt_cv_path_NM=no}
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5425 $as_echo "$lt_cv_path_NM" >&6; }
5426 if test "$lt_cv_path_NM" != "no"; then
5429 # Didn't find any BSD compatible name lister, look for dumpbin.
5430 if test -n "$ac_tool_prefix"; then
5431 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5434 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$DUMPBIN"; then
5441 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 DUMPBIN
=$ac_cv_prog_DUMPBIN
5461 if test -n "$DUMPBIN"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5463 $as_echo "$DUMPBIN" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5470 test -n "$DUMPBIN" && break
5473 if test -z "$DUMPBIN"; then
5474 ac_ct_DUMPBIN
=$DUMPBIN
5475 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy
$ac_prog; ac_word
=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5484 if test -n "$ac_ct_DUMPBIN"; then
5485 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5491 test -z "$as_dir" && as_dir
=.
5492 for ac_exec_ext
in '' $ac_executable_extensions; do
5493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5494 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5505 if test -n "$ac_ct_DUMPBIN"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5507 $as_echo "$ac_ct_DUMPBIN" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$ac_ct_DUMPBIN" && break
5517 if test "x$ac_ct_DUMPBIN" = x
; then
5520 case $cross_compiling:$ac_tool_warned in
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned
=yes ;;
5526 DUMPBIN
=$ac_ct_DUMPBIN
5531 if test "$DUMPBIN" != ":"; then
5535 test -z "$NM" && NM
=nm
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5543 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5544 if test "${lt_cv_nm_interface+set}" = set; then :
5545 $as_echo_n "(cached) " >&6
5547 lt_cv_nm_interface
="BSD nm"
5548 echo "int some_variable = 0;" > conftest.
$ac_ext
5549 (eval echo "\"\$as_me:5549: $ac_compile\"" >&5)
5550 (eval "$ac_compile" 2>conftest.err
)
5551 cat conftest.err
>&5
5552 (eval echo "\"\$as_me:5552: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5553 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5554 cat conftest.err
>&5
5555 (eval echo "\"\$as_me:5555: output\"" >&5)
5556 cat conftest.out
>&5
5557 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5558 lt_cv_nm_interface
="MS dumpbin"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5563 $as_echo "$lt_cv_nm_interface" >&6; }
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5566 $as_echo_n "checking whether ln -s works... " >&6; }
5568 if test "$LN_S" = "ln -s"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5570 $as_echo "yes" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5573 $as_echo "no, using $LN_S" >&6; }
5576 # find the maximum length of command line arguments
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5578 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5579 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5580 $as_echo_n "(cached) " >&6
5587 # On DJGPP, this test can blow up pretty badly due to problems in libc
5588 # (any single argument exceeding 2000 bytes causes a buffer overrun
5589 # during glob expansion). Even if it were fixed, the result of this
5590 # check would be larger than it should be.
5591 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5595 # Under GNU Hurd, this test is not required because there is
5596 # no limit to the length of command line arguments.
5597 # Libtool will interpret -1 as no limit whatsoever
5598 lt_cv_sys_max_cmd_len
=-1;
5601 cygwin
* | mingw
* | cegcc
*)
5602 # On Win9x/ME, this test blows up -- it succeeds, but takes
5603 # about 5 minutes as the teststring grows exponentially.
5604 # Worse, since 9x/ME are not pre-emptively multitasking,
5605 # you end up with a "frozen" computer, even though with patience
5606 # the test eventually succeeds (with a max line length of 256k).
5607 # Instead, let's just punt: use the minimum linelength reported by
5608 # all of the supported platforms: 8192 (on NT/2K/XP).
5609 lt_cv_sys_max_cmd_len
=8192;
5613 # On AmigaOS with pdksh, this test takes hours, literally.
5614 # So we just punt and use a minimum line length of 8192.
5615 lt_cv_sys_max_cmd_len
=8192;
5618 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5619 # This has been around since 386BSD, at least. Likely further.
5620 if test -x /sbin
/sysctl
; then
5621 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5622 elif test -x /usr
/sbin
/sysctl
; then
5623 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5625 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5627 # And add a safety zone
5628 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5629 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5633 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5634 lt_cv_sys_max_cmd_len
=196608
5638 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5639 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5640 # nice to cause kernel panics so lets avoid the loop below.
5641 # First set a reasonable default.
5642 lt_cv_sys_max_cmd_len
=16384
5644 if test -x /sbin
/sysconfig
; then
5645 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5646 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5651 lt_cv_sys_max_cmd_len
=102400
5653 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5654 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5655 if test -n "$kargmax"; then
5656 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5658 lt_cv_sys_max_cmd_len
=32768
5662 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5663 if test -n "$lt_cv_sys_max_cmd_len"; then
5664 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5665 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5667 # Make teststring a little bigger before we do anything with it.
5668 # a 1K string should be a reasonable start.
5669 for i
in 1 2 3 4 5 6 7 8 ; do
5670 teststring
=$teststring$teststring
5672 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5673 # If test is not a shell built-in, we'll probably end up computing a
5674 # maximum length that is only half of the actual maximum length, but
5676 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5677 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5678 test $i != 17 # 1/2 MB should be enough
5681 teststring
=$teststring$teststring
5683 # Only check the string length outside the loop.
5684 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5686 # Add a significant safety factor because C++ compilers can tack on
5687 # massive amounts of additional arguments before passing them to the
5688 # linker. It appears as though 1/2 is a usable value.
5689 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5696 if test -n $lt_cv_sys_max_cmd_len ; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5698 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5701 $as_echo "none" >&6; }
5703 max_cmd_len
=$lt_cv_sys_max_cmd_len
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5715 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5716 # Try some XSI features
5719 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5721 && eval 'test $(( 1 + 1 )) -eq 2 \
5722 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5725 $as_echo "$xsi_shell" >&6; }
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5729 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5731 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5733 && lt_shell_append=yes
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5735 $as_echo "$lt_shell_append" >&6; }
5738 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5748 # test EBCDIC or ASCII
5749 case `echo X|tr X '\101'` in
5750 A) # ASCII based system
5751 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5752 lt_SP2NL='tr \040 \012'
5753 lt_NL2SP='tr \015\012 \040\040'
5755 *) # EBCDIC based system
5756 lt_SP2NL='tr \100 \n'
5757 lt_NL2SP='tr \r\n \100\100'
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5770 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5771 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5772 $as_echo_n "(cached
) " >&6
5774 lt_cv_ld_reload_flag='-r'
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5777 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5778 reload_flag=$lt_cv_ld_reload_flag
5779 case $reload_flag in
5781 *) reload_flag=" $reload_flag" ;;
5783 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5786 if test "$GCC" = yes; then
5787 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5789 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5802 if test -n "$ac_tool_prefix"; then
5803 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5804 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5806 $as_echo_n "checking
for $ac_word...
" >&6; }
5807 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5808 $as_echo_n "(cached
) " >&6
5810 if test -n "$OBJDUMP"; then
5811 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5820 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5830 OBJDUMP=$ac_cv_prog_OBJDUMP
5831 if test -n "$OBJDUMP"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5833 $as_echo "$OBJDUMP" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5836 $as_echo "no
" >&6; }
5841 if test -z "$ac_cv_prog_OBJDUMP"; then
5842 ac_ct_OBJDUMP=$OBJDUMP
5843 # Extract the first word of "objdump
", so it can be a program name with args.
5844 set dummy objdump; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5846 $as_echo_n "checking
for $ac_word...
" >&6; }
5847 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5848 $as_echo_n "(cached
) " >&6
5850 if test -n "$ac_ct_OBJDUMP"; then
5851 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5860 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5870 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5871 if test -n "$ac_ct_OBJDUMP"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5873 $as_echo "$ac_ct_OBJDUMP" >&6; }
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5876 $as_echo "no
" >&6; }
5879 if test "x
$ac_ct_OBJDUMP" = 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 OBJDUMP=$ac_ct_OBJDUMP
5891 OBJDUMP="$ac_cv_prog_OBJDUMP"
5894 test -z "$OBJDUMP" && OBJDUMP=objdump
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5905 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5906 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5907 $as_echo_n "(cached
) " >&6
5909 lt_cv_file_magic_cmd='$MAGIC_CMD'
5910 lt_cv_file_magic_test_file=
5911 lt_cv_deplibs_check_method='unknown'
5912 # Need to set the preceding variable on all platforms that support
5913 # interlibrary dependencies.
5914 # 'none' -- dependencies not supported.
5915 # `unknown' -- same as none, but documents that we really don't know.
5916 # 'pass_all' -- all dependencies passed with no checks.
5917 # 'test_compile' -- check by making test program.
5918 # 'file_magic [[regex]]' -- check by looking for files in library path
5919 # which responds to the $file_magic_cmd with a given extended regex.
5920 # If you have `file' or equivalent on your system and you're not sure
5921 # whether `pass_all' will *always* work, you probably want this one.
5925 lt_cv_deplibs_check_method=pass_all
5929 lt_cv_deplibs_check_method=pass_all
5933 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5934 lt_cv_file_magic_cmd='/usr/bin/file -L'
5935 lt_cv_file_magic_test_file=/shlib/libc.so
5939 # func_win32_libid is a shell function defined in ltmain.sh
5940 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5941 lt_cv_file_magic_cmd='func_win32_libid'
5945 # Base MSYS/MinGW do not provide the 'file' command needed by
5946 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5947 # unless we find 'file', for example because we are cross-compiling.
5948 if ( file / ) >/dev/null 2>&1; then
5949 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5950 lt_cv_file_magic_cmd='func_win32_libid'
5952 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5953 lt_cv_file_magic_cmd='$OBJDUMP -f'
5958 # use the weaker test based on 'objdump'. See mingw*.
5959 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5960 lt_cv_file_magic_cmd='$OBJDUMP -f'
5963 darwin* | rhapsody*)
5964 lt_cv_deplibs_check_method=pass_all
5967 freebsd* | dragonfly*)
5968 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5971 # Not sure whether the presence of OpenBSD here was a mistake.
5972 # Let's accept both of them until this is cleared up.
5973 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5974 lt_cv_file_magic_cmd=/usr/bin/file
5975 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5979 lt_cv_deplibs_check_method=pass_all
5984 lt_cv_deplibs_check_method=pass_all
5987 hpux10.20* | hpux11*)
5988 lt_cv_file_magic_cmd=/usr/bin/file
5991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5992 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5995 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5996 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5999 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6000 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6006 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6010 irix5* | irix6* | nonstopux*)
6012 *-32|*"-32 ") libmagic=32-bit;;
6013 *-n32|*"-n32 ") libmagic=N32;;
6014 *-64|*"-64 ") libmagic=64-bit;;
6015 *) libmagic=never-match;;
6017 lt_cv_deplibs_check_method=pass_all
6020 # This must be Linux ELF.
6021 linux* | k*bsd*-gnu)
6022 lt_cv_deplibs_check_method=pass_all
6025 netbsd* | netbsdelf*-gnu)
6026 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6027 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6029 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6034 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6035 lt_cv_file_magic_cmd=/usr/bin/file
6036 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6040 lt_cv_deplibs_check_method=pass_all
6044 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6045 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6047 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6051 osf3* | osf4* | osf5*)
6052 lt_cv_deplibs_check_method=pass_all
6056 lt_cv_deplibs_check_method=pass_all
6060 lt_cv_deplibs_check_method=pass_all
6063 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6064 lt_cv_deplibs_check_method=pass_all
6068 case $host_vendor in
6070 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]'
6071 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6074 lt_cv_deplibs_check_method=pass_all
6077 lt_cv_file_magic_cmd='/bin/file'
6078 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6081 lt_cv_file_magic_cmd='/bin/file'
6082 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6083 lt_cv_file_magic_test_file=/lib/libc.so
6086 lt_cv_deplibs_check_method=pass_all
6089 lt_cv_deplibs_check_method=pass_all
6095 lt_cv_deplibs_check_method=pass_all
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6101 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6102 file_magic_cmd=$lt_cv_file_magic_cmd
6103 deplibs_check_method=$lt_cv_deplibs_check_method
6104 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6117 if test -n "$ac_tool_prefix"; then
6118 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6119 set dummy ${ac_tool_prefix}ar; ac_word=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6121 $as_echo_n "checking
for $ac_word...
" >&6; }
6122 if test "${ac_cv_prog_AR+set}" = set; then :
6123 $as_echo_n "(cached
) " >&6
6125 if test -n "$AR"; then
6126 ac_cv_prog_AR="$AR" # Let the user override the test.
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 test -z "$as_dir" && as_dir=.
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6135 ac_cv_prog_AR="${ac_tool_prefix}ar"
6136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6146 if test -n "$AR"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6148 $as_echo "$AR" >&6; }
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6151 $as_echo "no
" >&6; }
6156 if test -z "$ac_cv_prog_AR"; then
6158 # Extract the first word of "ar", so it can be a program name with args.
6159 set dummy ar; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6161 $as_echo_n "checking
for $ac_word...
" >&6; }
6162 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6163 $as_echo_n "(cached
) " >&6
6165 if test -n "$ac_ct_AR"; then
6166 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 test -z "$as_dir" && as_dir=.
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6175 ac_cv_prog_ac_ct_AR="ar"
6176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6185 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6186 if test -n "$ac_ct_AR"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6188 $as_echo "$ac_ct_AR" >&6; }
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6191 $as_echo "no
" >&6; }
6194 if test "x
$ac_ct_AR" = x; then
6197 case $cross_compiling:$ac_tool_warned in
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6200 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6201 ac_tool_warned=yes ;;
6209 test -z "$AR" && AR=ar
6210 test -z "$AR_FLAGS" && AR_FLAGS=cru
6222 if test -n "$ac_tool_prefix"; then
6223 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6224 set dummy ${ac_tool_prefix}strip; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6226 $as_echo_n "checking
for $ac_word...
" >&6; }
6227 if test "${ac_cv_prog_STRIP+set}" = set; then :
6228 $as_echo_n "(cached
) " >&6
6230 if test -n "$STRIP"; then
6231 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6250 STRIP=$ac_cv_prog_STRIP
6251 if test -n "$STRIP"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6253 $as_echo "$STRIP" >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6256 $as_echo "no
" >&6; }
6261 if test -z "$ac_cv_prog_STRIP"; then
6263 # Extract the first word of "strip
", so it can be a program name with args.
6264 set dummy strip; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6266 $as_echo_n "checking
for $ac_word...
" >&6; }
6267 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6268 $as_echo_n "(cached
) " >&6
6270 if test -n "$ac_ct_STRIP"; then
6271 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280 ac_cv_prog_ac_ct_STRIP="strip
"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6290 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6291 if test -n "$ac_ct_STRIP"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6293 $as_echo "$ac_ct_STRIP" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6296 $as_echo "no
" >&6; }
6299 if test "x
$ac_ct_STRIP" = x; then
6302 case $cross_compiling:$ac_tool_warned in
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6305 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6306 ac_tool_warned=yes ;;
6311 STRIP="$ac_cv_prog_STRIP"
6314 test -z "$STRIP" && STRIP=:
6321 if test -n "$ac_tool_prefix"; then
6322 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6323 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6325 $as_echo_n "checking
for $ac_word...
" >&6; }
6326 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6327 $as_echo_n "(cached
) " >&6
6329 if test -n "$RANLIB"; then
6330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6349 RANLIB=$ac_cv_prog_RANLIB
6350 if test -n "$RANLIB"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6352 $as_echo "$RANLIB" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6355 $as_echo "no
" >&6; }
6360 if test -z "$ac_cv_prog_RANLIB"; then
6361 ac_ct_RANLIB=$RANLIB
6362 # Extract the first word of "ranlib
", so it can be a program name with args.
6363 set dummy ranlib; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6365 $as_echo_n "checking
for $ac_word...
" >&6; }
6366 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6367 $as_echo_n "(cached
) " >&6
6369 if test -n "$ac_ct_RANLIB"; then
6370 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6389 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6390 if test -n "$ac_ct_RANLIB"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6392 $as_echo "$ac_ct_RANLIB" >&6; }
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6395 $as_echo "no
" >&6; }
6398 if test "x
$ac_ct_RANLIB" = x; then
6401 case $cross_compiling:$ac_tool_warned in
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6404 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6405 ac_tool_warned=yes ;;
6407 RANLIB=$ac_ct_RANLIB
6410 RANLIB="$ac_cv_prog_RANLIB"
6413 test -z "$RANLIB" && RANLIB=:
6420 # Determine commands to create old-style static archives.
6421 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6422 old_postinstall_cmds='chmod 644 $oldlib'
6423 old_postuninstall_cmds=
6425 if test -n "$RANLIB"; then
6428 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6431 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6434 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6470 # If no C compiler was specified, use CC.
6473 # If no C compiler flags were specified, use CFLAGS.
6474 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6476 # Allow CC to be a program name with arguments.
6480 # Check for command to grab the raw symbol name followed by C symbol from nm.
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6482 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6483 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6484 $as_echo_n "(cached
) " >&6
6487 # These are sane defaults that work on at least a few old systems.
6488 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6490 # Character class describing NM global symbol codes.
6491 symcode='[BCDEGRST]'
6493 # Regexp to match symbols that can be accessed directly from C.
6494 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6496 # Define system-specific variables.
6501 cygwin* | mingw* | pw32* | cegcc*)
6502 symcode='[ABCDGISTW]'
6505 if test "$host_cpu" = ia64; then
6506 symcode='[ABCDEGRST]'
6510 symcode='[BCDEGRST]'
6513 symcode='[BCDEGQRST]'
6524 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6532 # If we're using GNU nm, then use its standard symbol codes.
6533 case `$NM -V 2>&1` in
6534 *GNU* | *'with BFD'*)
6535 symcode='[ABCDGIRSTW]' ;;
6538 # Transform an extracted symbol line into a proper C declaration.
6539 # Some systems (esp. on ia64) link data and code symbols differently,
6540 # so use this general approach.
6541 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6543 # Transform an extracted symbol line into symbol name and symbol address
6544 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6545 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'"
6547 # Handle CRLF in mingw tool chain
6551 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6555 # Try without a prefix underscore, then with it.
6556 for ac_symprfx in "" "_
"; do
6558 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6559 symxfrm="\\1 $ac_symprfx\\2 \\2"
6561 # Write the raw and C identifiers.
6562 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6563 # Fake it for dumpbin and say T for any non-static function
6564 # and D for any global variable.
6565 # Also find C++ and __fastcall symbols from MSVC++,
6566 # which start with @ or ?.
6567 lt_cv_sys_global_symbol_pipe="$AWK '"\
6568 " {last_section=section; section=\$ 3};"\
6569 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6570 " \$ 0!~/External *\|/{next};"\
6571 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6572 " {if(hide[section]) next};"\
6573 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6574 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6575 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6576 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6577 " ' prfx
=^
$ac_symprfx"
6579 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6582 # Check to see that the pipe works correctly.
6586 cat > conftest.$ac_ext <<_LT_EOF
6591 void nm_test_func(void);
6592 void nm_test_func(void){}
6596 int main(){nm_test_var='a';nm_test_func();return(0);}
6599 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6600 (eval $ac_compile) 2>&5
6602 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6603 test $ac_status = 0; }; then
6604 # Now try to grab the symbols.
6606 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6607 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6609 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6610 test $ac_status = 0; } && test -s "$nlist"; then
6611 # Try sorting and uniquifying the output.
6612 if sort "$nlist" | uniq > "$nlist"T; then
6613 mv -f "$nlist"T "$nlist"
6618 # Make sure that we snagged all the symbols we need.
6619 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6620 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6621 cat <<_LT_EOF > conftest.$ac_ext
6627 # Now generate the symbol file.
6628 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6630 cat <<_LT_EOF >> conftest.$ac_ext
6632 /* The mapping between symbol names and symbols. */
6637 lt__PROGRAM__LTX_preloaded_symbols[] =
6639 { "@PROGRAM@
", (void *) 0 },
6641 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6642 cat <<\_LT_EOF >> conftest.$ac_ext
6646 /* This works around a problem in FreeBSD linker */
6647 #ifdef FREEBSD_WORKAROUND
6648 static const void *lt_preloaded_setup() {
6649 return lt__PROGRAM__LTX_preloaded_symbols;
6657 # Now try linking the two files.
6658 mv conftest.$ac_objext conftstm.$ac_objext
6659 lt_save_LIBS="$LIBS"
6660 lt_save_CFLAGS="$CFLAGS"
6661 LIBS="conftstm.
$ac_objext"
6662 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6663 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6664 (eval $ac_link) 2>&5
6666 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6667 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6670 LIBS="$lt_save_LIBS"
6671 CFLAGS="$lt_save_CFLAGS"
6673 echo "cannot
find nm_test_func
in $nlist" >&5
6676 echo "cannot
find nm_test_var
in $nlist" >&5
6679 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6682 echo "$progname: failed program was
:" >&5
6683 cat conftest.$ac_ext >&5
6685 rm -rf conftest* conftst*
6687 # Do not use the global_symbol_pipe unless it works.
6688 if test "$pipe_works" = yes; then
6691 lt_cv_sys_global_symbol_pipe=
6697 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6698 lt_cv_sys_global_symbol_to_cdecl=
6700 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6702 $as_echo "failed
" >&6; }
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6705 $as_echo "ok
" >&6; }
6729 # Check whether --enable-libtool-lock was given.
6730 if test "${enable_libtool_lock+set}" = set; then :
6731 enableval=$enable_libtool_lock;
6734 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6736 # Some flags need to be propagated to the compiler or linker for good
6740 # Find out which ABI we are using.
6741 echo 'int i;' > conftest.$ac_ext
6742 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6743 (eval $ac_compile) 2>&5
6745 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6746 test $ac_status = 0; }; then
6747 case `/usr/bin/file conftest.$ac_objext` in
6759 # Find out which ABI we are using.
6760 echo '#line 6760 "configure
"' > conftest.$ac_ext
6761 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6762 (eval $ac_compile) 2>&5
6764 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6765 test $ac_status = 0; }; then
6766 if test "$lt_cv_prog_gnu_ld" = yes; then
6767 case `/usr/bin/file conftest.$ac_objext` in
6769 LD="${LD-ld} -melf32bsmip"
6772 LD="${LD-ld} -melf32bmipn32"
6775 LD="${LD-ld} -melf64bmip"
6779 case `/usr/bin/file conftest.$ac_objext` in
6795 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6796 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6797 # Find out which ABI we are using.
6798 echo 'int i;' > conftest.$ac_ext
6799 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6800 (eval $ac_compile) 2>&5
6802 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6803 test $ac_status = 0; }; then
6804 case `/usr/bin/file conftest.o` in
6807 x86_64-*kfreebsd*-gnu)
6808 LD="${LD-ld} -m elf_i386_fbsd
"
6811 LD="${LD-ld} -m elf_i386
"
6813 ppc64-*linux*|powerpc64-*linux*)
6814 LD="${LD-ld} -m elf32ppclinux
"
6817 LD="${LD-ld} -m elf_s390
"
6820 LD="${LD-ld} -m elf32_sparc
"
6826 x86_64-*kfreebsd*-gnu)
6827 LD="${LD-ld} -m elf_x86_64_fbsd
"
6830 LD="${LD-ld} -m elf_x86_64
"
6832 ppc*-*linux*|powerpc*-*linux*)
6833 LD="${LD-ld} -m elf64ppc
"
6835 s390*-*linux*|s390*-*tpf*)
6836 LD="${LD-ld} -m elf64_s390
"
6839 LD="${LD-ld} -m elf64_sparc
"
6849 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6850 SAVE_CFLAGS="$CFLAGS"
6851 CFLAGS="$CFLAGS -belf"
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6853 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6854 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6855 $as_echo_n "(cached
) " >&6
6858 ac_cpp='$CPP $CPPFLAGS'
6859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864 /* end confdefs.h. */
6874 if ac_fn_c_try_link "$LINENO"; then :
6875 lt_cv_cc_needs_belf=yes
6877 lt_cv_cc_needs_belf=no
6879 rm -f core conftest.err conftest.$ac_objext \
6880 conftest$ac_exeext conftest.$ac_ext
6882 ac_cpp='$CPP $CPPFLAGS'
6883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6889 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6890 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6891 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6892 CFLAGS="$SAVE_CFLAGS"
6896 # Find out which ABI we are using.
6897 echo 'int i;' > conftest.$ac_ext
6898 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6899 (eval $ac_compile) 2>&5
6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6902 test $ac_status = 0; }; then
6903 case `/usr/bin/file conftest.o` in
6905 case $lt_cv_prog_gnu_ld in
6906 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6908 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6920 need_locks="$enable_libtool_lock"
6924 rhapsody* | darwin*)
6925 if test -n "$ac_tool_prefix"; then
6926 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6927 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6929 $as_echo_n "checking
for $ac_word...
" >&6; }
6930 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6931 $as_echo_n "(cached
) " >&6
6933 if test -n "$DSYMUTIL"; then
6934 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940 test -z "$as_dir" && as_dir=.
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6943 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6953 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6954 if test -n "$DSYMUTIL"; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6956 $as_echo "$DSYMUTIL" >&6; }
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6959 $as_echo "no
" >&6; }
6964 if test -z "$ac_cv_prog_DSYMUTIL"; then
6965 ac_ct_DSYMUTIL=$DSYMUTIL
6966 # Extract the first word of "dsymutil
", so it can be a program name with args.
6967 set dummy dsymutil; ac_word=$2
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6969 $as_echo_n "checking
for $ac_word...
" >&6; }
6970 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6971 $as_echo_n "(cached
) " >&6
6973 if test -n "$ac_ct_DSYMUTIL"; then
6974 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 test -z "$as_dir" && as_dir=.
6981 for ac_exec_ext in '' $ac_executable_extensions; do
6982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6983 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6993 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6994 if test -n "$ac_ct_DSYMUTIL"; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6996 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6999 $as_echo "no
" >&6; }
7002 if test "x
$ac_ct_DSYMUTIL" = x; then
7005 case $cross_compiling:$ac_tool_warned in
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7008 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7009 ac_tool_warned=yes ;;
7011 DSYMUTIL=$ac_ct_DSYMUTIL
7014 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7017 if test -n "$ac_tool_prefix"; then
7018 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7019 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7021 $as_echo_n "checking
for $ac_word...
" >&6; }
7022 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7023 $as_echo_n "(cached
) " >&6
7025 if test -n "$NMEDIT"; then
7026 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7035 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7045 NMEDIT=$ac_cv_prog_NMEDIT
7046 if test -n "$NMEDIT"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7048 $as_echo "$NMEDIT" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7051 $as_echo "no
" >&6; }
7056 if test -z "$ac_cv_prog_NMEDIT"; then
7057 ac_ct_NMEDIT=$NMEDIT
7058 # Extract the first word of "nmedit
", so it can be a program name with args.
7059 set dummy nmedit; ac_word=$2
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7061 $as_echo_n "checking
for $ac_word...
" >&6; }
7062 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7063 $as_echo_n "(cached
) " >&6
7065 if test -n "$ac_ct_NMEDIT"; then
7066 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7075 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7085 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7086 if test -n "$ac_ct_NMEDIT"; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7088 $as_echo "$ac_ct_NMEDIT" >&6; }
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7091 $as_echo "no
" >&6; }
7094 if test "x
$ac_ct_NMEDIT" = x; then
7097 case $cross_compiling:$ac_tool_warned in
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7100 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7101 ac_tool_warned=yes ;;
7103 NMEDIT=$ac_ct_NMEDIT
7106 NMEDIT="$ac_cv_prog_NMEDIT"
7109 if test -n "$ac_tool_prefix"; then
7110 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7111 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7113 $as_echo_n "checking
for $ac_word...
" >&6; }
7114 if test "${ac_cv_prog_LIPO+set}" = set; then :
7115 $as_echo_n "(cached
) " >&6
7117 if test -n "$LIPO"; then
7118 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir=.
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7127 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7137 LIPO=$ac_cv_prog_LIPO
7138 if test -n "$LIPO"; then
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7140 $as_echo "$LIPO" >&6; }
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7143 $as_echo "no
" >&6; }
7148 if test -z "$ac_cv_prog_LIPO"; then
7150 # Extract the first word of "lipo
", so it can be a program name with args.
7151 set dummy lipo; ac_word=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7153 $as_echo_n "checking
for $ac_word...
" >&6; }
7154 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7155 $as_echo_n "(cached
) " >&6
7157 if test -n "$ac_ct_LIPO"; then
7158 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir=.
7165 for ac_exec_ext in '' $ac_executable_extensions; do
7166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7167 ac_cv_prog_ac_ct_LIPO="lipo
"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7177 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7178 if test -n "$ac_ct_LIPO"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7180 $as_echo "$ac_ct_LIPO" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7183 $as_echo "no
" >&6; }
7186 if test "x
$ac_ct_LIPO" = x; then
7189 case $cross_compiling:$ac_tool_warned in
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7192 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7193 ac_tool_warned=yes ;;
7198 LIPO="$ac_cv_prog_LIPO"
7201 if test -n "$ac_tool_prefix"; then
7202 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7203 set dummy ${ac_tool_prefix}otool; ac_word=$2
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7205 $as_echo_n "checking
for $ac_word...
" >&6; }
7206 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7207 $as_echo_n "(cached
) " >&6
7209 if test -n "$OTOOL"; then
7210 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 test -z "$as_dir" && as_dir=.
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7219 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7229 OTOOL=$ac_cv_prog_OTOOL
7230 if test -n "$OTOOL"; then
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7232 $as_echo "$OTOOL" >&6; }
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7235 $as_echo "no
" >&6; }
7240 if test -z "$ac_cv_prog_OTOOL"; then
7242 # Extract the first word of "otool
", so it can be a program name with args.
7243 set dummy otool; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7245 $as_echo_n "checking
for $ac_word...
" >&6; }
7246 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7247 $as_echo_n "(cached
) " >&6
7249 if test -n "$ac_ct_OTOOL"; then
7250 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7259 ac_cv_prog_ac_ct_OTOOL="otool
"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7269 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7270 if test -n "$ac_ct_OTOOL"; then
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7272 $as_echo "$ac_ct_OTOOL" >&6; }
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7275 $as_echo "no
" >&6; }
7278 if test "x
$ac_ct_OTOOL" = x; then
7281 case $cross_compiling:$ac_tool_warned in
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7284 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7285 ac_tool_warned=yes ;;
7290 OTOOL="$ac_cv_prog_OTOOL"
7293 if test -n "$ac_tool_prefix"; then
7294 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7295 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7297 $as_echo_n "checking
for $ac_word...
" >&6; }
7298 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7299 $as_echo_n "(cached
) " >&6
7301 if test -n "$OTOOL64"; then
7302 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7311 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7321 OTOOL64=$ac_cv_prog_OTOOL64
7322 if test -n "$OTOOL64"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7324 $as_echo "$OTOOL64" >&6; }
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7327 $as_echo "no
" >&6; }
7332 if test -z "$ac_cv_prog_OTOOL64"; then
7333 ac_ct_OTOOL64=$OTOOL64
7334 # Extract the first word of "otool64
", so it can be a program name with args.
7335 set dummy otool64; ac_word=$2
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7337 $as_echo_n "checking
for $ac_word...
" >&6; }
7338 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7339 $as_echo_n "(cached
) " >&6
7341 if test -n "$ac_ct_OTOOL64"; then
7342 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 test -z "$as_dir" && as_dir=.
7349 for ac_exec_ext in '' $ac_executable_extensions; do
7350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7351 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7361 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7362 if test -n "$ac_ct_OTOOL64"; then
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7364 $as_echo "$ac_ct_OTOOL64" >&6; }
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7367 $as_echo "no
" >&6; }
7370 if test "x
$ac_ct_OTOOL64" = x; then
7373 case $cross_compiling:$ac_tool_warned in
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7376 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7377 ac_tool_warned=yes ;;
7379 OTOOL64=$ac_ct_OTOOL64
7382 OTOOL64="$ac_cv_prog_OTOOL64"
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7412 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7413 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7414 $as_echo_n "(cached
) " >&6
7416 lt_cv_apple_cc_single_mod=no
7417 if test -z "${LT_MULTI_MODULE}"; then
7418 # By default we will add the -single_module flag. You can override
7419 # by either setting the environment variable LT_MULTI_MODULE
7420 # non-empty at configure time, or by adding -multi_module to the
7422 rm -rf libconftest.dylib*
7423 echo "int foo
(void
){return 1;}" > conftest.c
7424 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7425 -dynamiclib -Wl,-single_module conftest.c
" >&5
7426 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7427 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7429 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7430 lt_cv_apple_cc_single_mod=yes
7432 cat conftest.err >&5
7434 rm -rf libconftest.dylib*
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7439 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7441 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7442 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7443 $as_echo_n "(cached
) " >&6
7445 lt_cv_ld_exported_symbols_list=no
7446 save_LDFLAGS=$LDFLAGS
7447 echo "_main
" > conftest.sym
7448 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7460 if ac_fn_c_try_link "$LINENO"; then :
7461 lt_cv_ld_exported_symbols_list=yes
7463 lt_cv_ld_exported_symbols_list=no
7465 rm -f core conftest.err conftest.$ac_objext \
7466 conftest$ac_exeext conftest.$ac_ext
7467 LDFLAGS="$save_LDFLAGS"
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7471 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7473 rhapsody* | darwin1.[012])
7474 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7476 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7477 darwin*) # darwin 5.x on
7478 # if running on 10.5 or later, the deployment target defaults
7479 # to the OS version, if on x86, and 10.4, the deployment
7480 # target defaults to 10.4. Don't you love it?
7481 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7482 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7483 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7485 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7487 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7491 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7492 _lt_dar_single_mod='$single_module'
7494 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7495 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7497 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7499 if test "$DSYMUTIL" != ":"; then
7500 _lt_dsymutil='~$DSYMUTIL $lib || :'
7508 ac_cpp='$CPP $CPPFLAGS'
7509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7513 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7514 # On Suns, sometimes $CPP names a directory.
7515 if test -n "$CPP" && test -d "$CPP"; then
7518 if test -z "$CPP"; then
7519 if test "${ac_cv_prog_CPP+set}" = set; then :
7520 $as_echo_n "(cached
) " >&6
7522 # Double quotes because CPP needs to be expanded
7523 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7526 for ac_c_preproc_warn_flag in '' yes
7528 # Use a header file that comes with gcc, so configuring glibc
7529 # with a fresh cross-compiler works.
7530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7531 # <limits.h> exists even on freestanding compilers.
7532 # On the NeXT, cc -E runs the code through the compiler's parser,
7533 # not just through cpp. "Syntax error
" is here to catch this case.
7534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7535 /* end confdefs.h. */
7537 # include <limits.h>
7539 # include <assert.h>
7543 if ac_fn_c_try_cpp "$LINENO"; then :
7546 # Broken: fails on valid input.
7549 rm -f conftest.err conftest.$ac_ext
7551 # OK, works on sane cases. Now check whether nonexistent headers
7552 # can be detected and how.
7553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h. */
7555 #include <ac_nonexistent.h>
7557 if ac_fn_c_try_cpp "$LINENO"; then :
7558 # Broken: success on invalid input.
7561 # Passes both tests.
7565 rm -f conftest.err conftest.$ac_ext
7568 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7569 rm -f conftest.err conftest.$ac_ext
7570 if $ac_preproc_ok; then :
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7583 $as_echo "$CPP" >&6; }
7585 for ac_c_preproc_warn_flag in '' yes
7587 # Use a header file that comes with gcc, so configuring glibc
7588 # with a fresh cross-compiler works.
7589 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7590 # <limits.h> exists even on freestanding compilers.
7591 # On the NeXT, cc -E runs the code through the compiler's parser,
7592 # not just through cpp. "Syntax error
" is here to catch this case.
7593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7594 /* end confdefs.h. */
7596 # include <limits.h>
7598 # include <assert.h>
7602 if ac_fn_c_try_cpp "$LINENO"; then :
7605 # Broken: fails on valid input.
7608 rm -f conftest.err conftest.$ac_ext
7610 # OK, works on sane cases. Now check whether nonexistent headers
7611 # can be detected and how.
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h. */
7614 #include <ac_nonexistent.h>
7616 if ac_fn_c_try_cpp "$LINENO"; then :
7617 # Broken: success on invalid input.
7620 # Passes both tests.
7624 rm -f conftest.err conftest.$ac_ext
7627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7628 rm -f conftest.err conftest.$ac_ext
7629 if $ac_preproc_ok; then :
7632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7634 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7635 See \`config.log' for more details.
" "$LINENO" 5; }
7639 ac_cpp='$CPP $CPPFLAGS'
7640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7646 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7647 if test "${ac_cv_header_stdc+set}" = set; then :
7648 $as_echo_n "(cached
) " >&6
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7665 if ac_fn_c_try_compile "$LINENO"; then :
7666 ac_cv_header_stdc=yes
7668 ac_cv_header_stdc=no
7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7672 if test $ac_cv_header_stdc = yes; then
7673 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h. */
7679 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7680 $EGREP "memchr
" >/dev/null 2>&1; then :
7683 ac_cv_header_stdc=no
7689 if test $ac_cv_header_stdc = yes; then
7690 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7692 /* end confdefs.h. */
7696 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7697 $EGREP "free
" >/dev/null 2>&1; then :
7700 ac_cv_header_stdc=no
7706 if test $ac_cv_header_stdc = yes; then
7707 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7708 if test "$cross_compiling" = yes; then :
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7715 #if ((' ' & 0x0FF) == 0x020)
7716 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7717 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7719 # define ISLOWER(c) \
7720 (('a' <= (c) && (c) <= 'i') \
7721 || ('j' <= (c) && (c) <= 'r') \
7722 || ('s' <= (c) && (c) <= 'z'))
7723 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7726 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7731 for (i = 0; i < 256; i++)
7732 if (XOR (islower (i), ISLOWER (i))
7733 || toupper (i) != TOUPPER (i))
7738 if ac_fn_c_try_run "$LINENO"; then :
7741 ac_cv_header_stdc=no
7743 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7744 conftest.$ac_objext conftest.beam conftest.$ac_ext
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7750 $as_echo "$ac_cv_header_stdc" >&6; }
7751 if test $ac_cv_header_stdc = yes; then
7753 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7757 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7758 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7759 inttypes.h stdint.h unistd.h
7761 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7762 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7764 eval as_val
=\$
$as_ac_Header
7765 if test "x$as_val" = x
""yes; then :
7766 cat >>confdefs.h
<<_ACEOF
7767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7775 for ac_header
in dlfcn.h
7777 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7779 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7780 cat >>confdefs.h
<<_ACEOF
7781 #define HAVE_DLFCN_H 1
7791 ac_cpp
='$CXXCPP $CPPFLAGS'
7792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7795 if test -z "$CXX"; then
7796 if test -n "$CCC"; then
7799 if test -n "$ac_tool_prefix"; then
7800 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7803 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if test "${ac_cv_prog_CXX+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7809 if test -n "$CXX"; then
7810 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir
=.
7817 for ac_exec_ext
in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 if test -n "$CXX"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7832 $as_echo "$CXX" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7839 test -n "$CXX" && break
7842 if test -z "$CXX"; then
7844 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7846 # Extract the first word of "$ac_prog", so it can be a program name with args.
7847 set dummy
$ac_prog; ac_word
=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7851 $as_echo_n "(cached) " >&6
7853 if test -n "$ac_ct_CXX"; then
7854 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
7856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir
=.
7861 for ac_exec_ext
in '' $ac_executable_extensions; do
7862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7863 ac_cv_prog_ac_ct_CXX
="$ac_prog"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
7874 if test -n "$ac_ct_CXX"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7876 $as_echo "$ac_ct_CXX" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7883 test -n "$ac_ct_CXX" && break
7886 if test "x$ac_ct_CXX" = x
; then
7889 case $cross_compiling:$ac_tool_warned in
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7893 ac_tool_warned
=yes ;;
7901 # Provide some information about the compiler.
7902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7905 for ac_option
in --version -v -V -qversion; do
7906 { { ac_try
="$ac_compiler $ac_option >&5"
7908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7909 *) ac_try_echo=$ac_try;;
7911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7912 $as_echo "$ac_try_echo"; } >&5
7913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7915 if test -s conftest.err; then
7917 ... rest of stderr output deleted ...
7918 10q' conftest.err >conftest.er1
7919 cat conftest.er1 >&5
7920 rm -f conftest.er1 conftest.err
7922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7923 test $ac_status = 0; }
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7927 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7928 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7929 $as_echo_n "(cached) " >&6
7931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7945 if ac_fn_cxx_try_compile "$LINENO"; then :
7950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7951 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7955 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7956 if test $ac_compiler_gnu = yes; then
7961 ac_test_CXXFLAGS=${CXXFLAGS+set}
7962 ac_save_CXXFLAGS=$CXXFLAGS
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7964 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7965 if test "${ac_cv_prog_cxx_g+set}" = set; then :
7966 $as_echo_n "(cached) " >&6
7968 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7969 ac_cxx_werror_flag=yes
7972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7983 if ac_fn_cxx_try_compile "$LINENO"; then :
7984 ac_cv_prog_cxx_g=yes
7987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7988 /* end confdefs.h. */
7998 if ac_fn_cxx_try_compile "$LINENO"; then :
8001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8014 if ac_fn_cxx_try_compile "$LINENO"; then :
8015 ac_cv_prog_cxx_g=yes
8017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8022 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8025 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8026 if test "$ac_test_CXXFLAGS" = set; then
8027 CXXFLAGS=$ac_save_CXXFLAGS
8028 elif test $ac_cv_prog_cxx_g = yes; then
8029 if test "$GXX" = yes; then
8035 if test "$GXX" = yes; then
8042 ac_cpp='$CPP $CPPFLAGS'
8043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8047 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8048 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
8049 (test "X$CXX" != "Xg++"))) ; then
8051 ac_cpp='$CXXCPP $CPPFLAGS'
8052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8056 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8057 if test -z "$CXXCPP"; then
8058 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8059 $as_echo_n "(cached) " >&6
8061 # Double quotes because CXXCPP needs to be expanded
8062 for CXXCPP in "$CXX -E" "/lib/cpp"
8065 for ac_cxx_preproc_warn_flag in '' yes
8067 # Use a header file that comes with gcc, so configuring glibc
8068 # with a fresh cross-compiler works.
8069 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8070 # <limits.h> exists even on freestanding compilers.
8071 # On the NeXT, cc -E runs the code through the compiler's parser,
8072 # not just through cpp. "Syntax error" is here to catch this case.
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8076 # include <limits.h>
8078 # include <assert.h>
8082 if ac_fn_cxx_try_cpp "$LINENO"; then :
8085 # Broken: fails on valid input.
8088 rm -f conftest.err conftest.$ac_ext
8090 # OK, works on sane cases. Now check whether nonexistent headers
8091 # can be detected and how.
8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 #include <ac_nonexistent.h>
8096 if ac_fn_cxx_try_cpp "$LINENO"; then :
8097 # Broken: success on invalid input.
8100 # Passes both tests.
8104 rm -f conftest.err conftest.$ac_ext
8107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8108 rm -f conftest.err conftest.
$ac_ext
8109 if $ac_preproc_ok; then :
8114 ac_cv_prog_CXXCPP
=$CXXCPP
8117 CXXCPP
=$ac_cv_prog_CXXCPP
8119 ac_cv_prog_CXXCPP
=$CXXCPP
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8122 $as_echo "$CXXCPP" >&6; }
8124 for ac_cxx_preproc_warn_flag
in '' yes
8126 # Use a header file that comes with gcc, so configuring glibc
8127 # with a fresh cross-compiler works.
8128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8129 # <limits.h> exists even on freestanding compilers.
8130 # On the NeXT, cc -E runs the code through the compiler's parser,
8131 # not just through cpp. "Syntax error" is here to catch this case.
8132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8135 # include <limits.h>
8137 # include <assert.h>
8141 if ac_fn_cxx_try_cpp
"$LINENO"; then :
8144 # Broken: fails on valid input.
8147 rm -f conftest.err conftest.
$ac_ext
8149 # OK, works on sane cases. Now check whether nonexistent headers
8150 # can be detected and how.
8151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 #include <ac_nonexistent.h>
8155 if ac_fn_cxx_try_cpp
"$LINENO"; then :
8156 # Broken: success on invalid input.
8159 # Passes both tests.
8163 rm -f conftest.err conftest.
$ac_ext
8166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8167 rm -f conftest.err conftest.
$ac_ext
8168 if $ac_preproc_ok; then :
8171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8173 _lt_caught_CXX_error
=yes; }
8177 ac_cpp
='$CPP $CPPFLAGS'
8178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8183 _lt_caught_CXX_error
=yes
8200 # Check whether --enable-shared was given.
8201 if test "${enable_shared+set}" = set; then :
8202 enableval
=$enable_shared; p
=${PACKAGE-default}
8204 yes) enable_shared
=yes ;;
8205 no
) enable_shared
=no
;;
8208 # Look at the argument we got. We use all the common list separators.
8209 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8210 for pkg
in $enableval; do
8212 if test "X$pkg" = "X$p"; then
8231 # Check whether --enable-static was given.
8232 if test "${enable_static+set}" = set; then :
8233 enableval
=$enable_static; p
=${PACKAGE-default}
8235 yes) enable_static
=yes ;;
8236 no
) enable_static
=no
;;
8239 # Look at the argument we got. We use all the common list separators.
8240 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8241 for pkg
in $enableval; do
8243 if test "X$pkg" = "X$p"; then
8263 # Check whether --with-pic was given.
8264 if test "${with_pic+set}" = set; then :
8265 withval
=$with_pic; pic_mode
="$withval"
8271 test -z "$pic_mode" && pic_mode
=default
8279 # Check whether --enable-fast-install was given.
8280 if test "${enable_fast_install+set}" = set; then :
8281 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8283 yes) enable_fast_install
=yes ;;
8284 no
) enable_fast_install
=no
;;
8286 enable_fast_install
=no
8287 # Look at the argument we got. We use all the common list separators.
8288 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8289 for pkg
in $enableval; do
8291 if test "X$pkg" = "X$p"; then
8292 enable_fast_install
=yes
8299 enable_fast_install
=yes
8312 # This can be used to rebuild libtool when needed
8313 LIBTOOL_DEPS
="$ltmain"
8315 # Always use our own libtool.
8316 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8342 test -z "$LN_S" && LN_S
="ln -s"
8357 if test -n "${ZSH_VERSION+set}" ; then
8358 setopt NO_GLOB_SUBST
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8362 $as_echo_n "checking for objdir... " >&6; }
8363 if test "${lt_cv_objdir+set}" = set; then :
8364 $as_echo_n "(cached) " >&6
8366 rm -f .libs
2>/dev
/null
8367 mkdir .libs
2>/dev
/null
8368 if test -d .libs
; then
8371 # MS-DOS does not allow filenames that begin with a dot.
8374 rmdir .libs
2>/dev
/null
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8377 $as_echo "$lt_cv_objdir" >&6; }
8378 objdir
=$lt_cv_objdir
8384 cat >>confdefs.h
<<_ACEOF
8385 #define LT_OBJDIR "$lt_cv_objdir/"
8406 # AIX sometimes has problems with the GCC collect2 program. For some
8407 # reason, if we set the COLLECT_NAMES environment variable, the problems
8408 # vanish in a puff of smoke.
8409 if test "X${COLLECT_NAMES+set}" != Xset
; then
8411 export COLLECT_NAMES
8416 # Sed substitution that helps us do robust quoting. It backslashifies
8417 # metacharacters that are still active within double-quoted strings.
8418 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8420 # Same as above, but do not quote variable references.
8421 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8423 # Sed substitution to delay expansion of an escaped shell variable in a
8424 # double_quote_subst'ed string.
8425 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8427 # Sed substitution to delay expansion of an escaped single quote.
8428 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8430 # Sed substitution to avoid accidental globbing in evaled expressions
8431 no_glob_subst
='s/\*/\\\*/g'
8435 can_build_shared
=yes
8437 # All known linkers require a `.a' archive for static linking (except MSVC,
8438 # which needs '.lib').
8441 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8444 old_CFLAGS
="$CFLAGS"
8446 # Set sane defaults for various variables
8447 test -z "$CC" && CC
=cc
8448 test -z "$LTCC" && LTCC
=$CC
8449 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8450 test -z "$LD" && LD
=ld
8451 test -z "$ac_objext" && ac_objext
=o
8453 for cc_temp
in $compiler""; do
8455 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8456 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8461 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8464 # Only perform the check for file, if the check method requires it
8465 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8466 case $deplibs_check_method in
8468 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8470 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8471 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8472 $as_echo_n "(cached) " >&6
8476 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8479 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8480 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8481 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8482 for ac_dir
in $ac_dummy; do
8484 test -z "$ac_dir" && ac_dir
=.
8485 if test -f $ac_dir/${ac_tool_prefix}file; then
8486 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8487 if test -n "$file_magic_test_file"; then
8488 case $deplibs_check_method in
8490 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8491 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8492 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8493 $EGREP "$file_magic_regex" > /dev
/null
; then
8498 *** Warning: the command libtool uses to detect shared libraries,
8499 *** $file_magic_cmd, produces output that libtool cannot recognize.
8500 *** The result is that libtool may fail to recognize shared libraries
8501 *** as such. This will affect the creation of libtool libraries that
8502 *** depend on shared libraries, but programs linked with such libtool
8503 *** libraries will work regardless of this problem. Nevertheless, you
8504 *** may want to report the problem to your system manager and/or to
8505 *** bug-libtool@gnu.org
8515 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8520 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8521 if test -n "$MAGIC_CMD"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8523 $as_echo "$MAGIC_CMD" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526 $as_echo "no" >&6; }
8533 if test -z "$lt_cv_path_MAGIC_CMD"; then
8534 if test -n "$ac_tool_prefix"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8536 $as_echo_n "checking for file... " >&6; }
8537 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8538 $as_echo_n "(cached) " >&6
8542 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8545 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8546 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8547 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8548 for ac_dir
in $ac_dummy; do
8550 test -z "$ac_dir" && ac_dir
=.
8551 if test -f $ac_dir/file; then
8552 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8553 if test -n "$file_magic_test_file"; then
8554 case $deplibs_check_method in
8556 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8557 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8558 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8559 $EGREP "$file_magic_regex" > /dev
/null
; then
8564 *** Warning: the command libtool uses to detect shared libraries,
8565 *** $file_magic_cmd, produces output that libtool cannot recognize.
8566 *** The result is that libtool may fail to recognize shared libraries
8567 *** as such. This will affect the creation of libtool libraries that
8568 *** depend on shared libraries, but programs linked with such libtool
8569 *** libraries will work regardless of this problem. Nevertheless, you
8570 *** may want to report the problem to your system manager and/or to
8571 *** bug-libtool@gnu.org
8581 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8586 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8587 if test -n "$MAGIC_CMD"; then
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8589 $as_echo "$MAGIC_CMD" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8605 # Use C for the default configuration in the libtool script
8609 ac_cpp
='$CPP $CPPFLAGS'
8610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8615 # Source file extension for C test sources.
8618 # Object file extension for compiled C test sources.
8622 # Code to be used in simple compile tests
8623 lt_simple_compile_test_code
="int some_variable = 0;"
8625 # Code to be used in simple link tests
8626 lt_simple_link_test_code
='int main(){return(0);}'
8634 # If no C compiler was specified, use CC.
8637 # If no C compiler flags were specified, use CFLAGS.
8638 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8640 # Allow CC to be a program name with arguments.
8643 # Save the default compiler, since it gets overwritten when the other
8644 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8645 compiler_DEFAULT
=$CC
8647 # save warnings/boilerplate of simple test code
8648 ac_outfile
=conftest.
$ac_objext
8649 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8650 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8651 _lt_compiler_boilerplate
=`cat conftest.err`
8654 ac_outfile
=conftest.
$ac_objext
8655 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8656 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8657 _lt_linker_boilerplate
=`cat conftest.err`
8661 if test -n "$compiler"; then
8663 lt_prog_compiler_no_builtin_flag
=
8665 if test "$GCC" = yes; then
8666 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8669 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8670 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8671 $as_echo_n "(cached) " >&6
8673 lt_cv_prog_compiler_rtti_exceptions
=no
8674 ac_outfile
=conftest.
$ac_objext
8675 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8676 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8677 # Insert the option either (1) after the last *FLAGS variable, or
8678 # (2) before a word containing "conftest.", or (3) at the end.
8679 # Note that $ac_compile itself does not contain backslashes and begins
8680 # with a dollar sign (not a hyphen), so the echo should work correctly.
8681 # The option is referenced via a variable to avoid confusing sed.
8682 lt_compile
=`echo "$ac_compile" | $SED \
8683 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8684 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8685 -e 's:$: $lt_compiler_flag:'`
8686 (eval echo "\"\$as_me:8686: $lt_compile\"" >&5)
8687 (eval "$lt_compile" 2>conftest.err
)
8689 cat conftest.err
>&5
8690 echo "$as_me:8690: \$? = $ac_status" >&5
8691 if (exit $ac_status) && test -s "$ac_outfile"; then
8692 # The compiler can only warn and ignore the option if not recognized
8693 # So say no if there are warnings other than the usual output.
8694 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8695 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8696 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8697 lt_cv_prog_compiler_rtti_exceptions
=yes
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8704 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8706 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8707 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8719 lt_prog_compiler_wl
=
8720 lt_prog_compiler_pic
=
8721 lt_prog_compiler_static
=
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8724 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8726 if test "$GCC" = yes; then
8727 lt_prog_compiler_wl
='-Wl,'
8728 lt_prog_compiler_static
='-static'
8732 # All AIX code is PIC.
8733 if test "$host_cpu" = ia64
; then
8734 # AIX 5 now supports IA64 processor
8735 lt_prog_compiler_static
='-Bstatic'
8742 # see comment about AmigaOS4 .so support
8743 lt_prog_compiler_pic
='-fPIC'
8746 # FIXME: we need at least 68020 code to build shared libraries, but
8747 # adding the `-m68020' flag to GCC prevents building anything better,
8749 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8754 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8755 # PIC is the default for these OSes.
8758 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8759 # This hack is so that the source file can tell whether it is being
8760 # built for inclusion in a dll (and should export symbols for example).
8761 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8762 # (--disable-auto-import) libraries
8763 lt_prog_compiler_pic
='-DDLL_EXPORT'
8766 darwin
* | rhapsody
*)
8767 # PIC is the default on this platform
8768 # Common symbols not allowed in MH_DYLIB files
8769 lt_prog_compiler_pic
='-fno-common'
8773 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8774 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8775 # sets the default TLS model and affects inlining.
8781 lt_prog_compiler_pic
='-fPIC'
8787 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8788 # Instead, we relocate shared libraries at runtime.
8792 # Just because we use GCC doesn't mean we suddenly get shared libraries
8793 # on systems that don't support them.
8794 lt_prog_compiler_can_build_shared
=no
8799 # QNX uses GNU C++, but need to define -shared option too, otherwise
8801 lt_prog_compiler_pic
='-fPIC -shared'
8805 if test -d /usr
/nec
; then
8806 lt_prog_compiler_pic
=-Kconform_pic
8811 lt_prog_compiler_pic
='-fPIC'
8815 # PORTME Check for flag to pass linker flags through the system compiler.
8818 lt_prog_compiler_wl
='-Wl,'
8819 if test "$host_cpu" = ia64
; then
8820 # AIX 5 now supports IA64 processor
8821 lt_prog_compiler_static
='-Bstatic'
8823 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8827 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8828 # This hack is so that the source file can tell whether it is being
8829 # built for inclusion in a dll (and should export symbols for example).
8830 lt_prog_compiler_pic
='-DDLL_EXPORT'
8833 hpux9
* | hpux10
* | hpux11
*)
8834 lt_prog_compiler_wl
='-Wl,'
8835 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8842 lt_prog_compiler_pic
='+Z'
8845 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8846 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8849 irix5
* | irix6
* | nonstopux
*)
8850 lt_prog_compiler_wl
='-Wl,'
8851 # PIC (with -KPIC) is the default.
8852 lt_prog_compiler_static
='-non_shared'
8855 linux
* | k
*bsd
*-gnu)
8856 case $cc_basename in
8857 # old Intel for x86_64 which still supported -KPIC.
8859 lt_prog_compiler_wl
='-Wl,'
8860 lt_prog_compiler_pic
='-KPIC'
8861 lt_prog_compiler_static
='-static'
8863 # icc used to be incompatible with GCC.
8864 # ICC 10 doesn't accept -KPIC any more.
8866 lt_prog_compiler_wl
='-Wl,'
8867 lt_prog_compiler_pic
='-fPIC'
8868 lt_prog_compiler_static
='-static'
8870 # Lahey Fortran 8.1.
8872 lt_prog_compiler_wl
='-Wl,'
8873 lt_prog_compiler_pic
='--shared'
8874 lt_prog_compiler_static
='--static'
8876 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8877 # Portland Group compilers (*not* the Pentium gcc compiler,
8878 # which looks to be a dead project)
8879 lt_prog_compiler_wl
='-Wl,'
8880 lt_prog_compiler_pic
='-fpic'
8881 lt_prog_compiler_static
='-Bstatic'
8884 lt_prog_compiler_wl
='-Wl,'
8885 # All Alpha code is PIC.
8886 lt_prog_compiler_static
='-non_shared'
8889 # IBM XL C 8.0/Fortran 10.1 on PPC
8890 lt_prog_compiler_wl
='-Wl,'
8891 lt_prog_compiler_pic
='-qpic'
8892 lt_prog_compiler_static
='-qstaticlink'
8895 case `$CC -V 2>&1 | sed 5q` in
8898 lt_prog_compiler_pic
='-KPIC'
8899 lt_prog_compiler_static
='-Bstatic'
8900 lt_prog_compiler_wl
='-Wl,'
8903 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8904 lt_prog_compiler_pic
='-KPIC'
8905 lt_prog_compiler_static
='-Bstatic'
8906 lt_prog_compiler_wl
=''
8914 lt_prog_compiler_pic
='-KPIC'
8915 lt_prog_compiler_static
='-Bstatic'
8919 # QNX uses GNU C++, but need to define -shared option too, otherwise
8921 lt_prog_compiler_pic
='-fPIC -shared'
8924 osf3
* | osf4
* | osf5
*)
8925 lt_prog_compiler_wl
='-Wl,'
8926 # All OSF/1 code is PIC.
8927 lt_prog_compiler_static
='-non_shared'
8931 lt_prog_compiler_static
='-non_shared'
8935 lt_prog_compiler_pic
='-KPIC'
8936 lt_prog_compiler_static
='-Bstatic'
8937 case $cc_basename in
8939 lt_prog_compiler_wl
='-Qoption ld ';;
8941 lt_prog_compiler_wl
='-Wl,';;
8946 lt_prog_compiler_wl
='-Qoption ld '
8947 lt_prog_compiler_pic
='-PIC'
8948 lt_prog_compiler_static
='-Bstatic'
8951 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8952 lt_prog_compiler_wl
='-Wl,'
8953 lt_prog_compiler_pic
='-KPIC'
8954 lt_prog_compiler_static
='-Bstatic'
8958 if test -d /usr
/nec
;then
8959 lt_prog_compiler_pic
='-Kconform_pic'
8960 lt_prog_compiler_static
='-Bstatic'
8964 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8965 lt_prog_compiler_wl
='-Wl,'
8966 lt_prog_compiler_pic
='-KPIC'
8967 lt_prog_compiler_static
='-Bstatic'
8971 lt_prog_compiler_wl
='-Wl,'
8972 lt_prog_compiler_can_build_shared
=no
8976 lt_prog_compiler_pic
='-pic'
8977 lt_prog_compiler_static
='-Bstatic'
8981 lt_prog_compiler_can_build_shared
=no
8987 # For platforms which do not support PIC, -DPIC is meaningless:
8989 lt_prog_compiler_pic
=
8992 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8996 $as_echo "$lt_prog_compiler_pic" >&6; }
9004 # Check to make sure the PIC flag actually works.
9006 if test -n "$lt_prog_compiler_pic"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9008 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9009 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9010 $as_echo_n "(cached) " >&6
9012 lt_cv_prog_compiler_pic_works
=no
9013 ac_outfile
=conftest.
$ac_objext
9014 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9015 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9016 # Insert the option either (1) after the last *FLAGS variable, or
9017 # (2) before a word containing "conftest.", or (3) at the end.
9018 # Note that $ac_compile itself does not contain backslashes and begins
9019 # with a dollar sign (not a hyphen), so the echo should work correctly.
9020 # The option is referenced via a variable to avoid confusing sed.
9021 lt_compile
=`echo "$ac_compile" | $SED \
9022 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9024 -e 's:$: $lt_compiler_flag:'`
9025 (eval echo "\"\$as_me:9025: $lt_compile\"" >&5)
9026 (eval "$lt_compile" 2>conftest.err
)
9028 cat conftest.err
>&5
9029 echo "$as_me:9029: \$? = $ac_status" >&5
9030 if (exit $ac_status) && test -s "$ac_outfile"; then
9031 # The compiler can only warn and ignore the option if not recognized
9032 # So say no if there are warnings other than the usual output.
9033 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9034 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9035 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9036 lt_cv_prog_compiler_pic_works
=yes
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9043 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9045 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9046 case $lt_prog_compiler_pic in
9048 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9051 lt_prog_compiler_pic
=
9052 lt_prog_compiler_can_build_shared
=no
9063 # Check to make sure the static flag actually works.
9065 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9067 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9068 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9069 $as_echo_n "(cached) " >&6
9071 lt_cv_prog_compiler_static_works
=no
9072 save_LDFLAGS
="$LDFLAGS"
9073 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9074 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9075 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9076 # The linker can only warn and ignore the option if not recognized
9077 # So say no if there are warnings
9078 if test -s conftest.err
; then
9079 # Append any errors to the config.log.
9080 cat conftest.err
1>&5
9081 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9082 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9083 if diff conftest.exp conftest.er2
>/dev
/null
; then
9084 lt_cv_prog_compiler_static_works
=yes
9087 lt_cv_prog_compiler_static_works
=yes
9091 LDFLAGS
="$save_LDFLAGS"
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9095 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9097 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9100 lt_prog_compiler_static
=
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9110 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9111 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9112 $as_echo_n "(cached) " >&6
9114 lt_cv_prog_compiler_c_o
=no
9115 $RM -r conftest
2>/dev
/null
9119 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9121 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9122 # Insert the option either (1) after the last *FLAGS variable, or
9123 # (2) before a word containing "conftest.", or (3) at the end.
9124 # Note that $ac_compile itself does not contain backslashes and begins
9125 # with a dollar sign (not a hyphen), so the echo should work correctly.
9126 lt_compile
=`echo "$ac_compile" | $SED \
9127 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9128 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9129 -e 's:$: $lt_compiler_flag:'`
9130 (eval echo "\"\$as_me:9130: $lt_compile\"" >&5)
9131 (eval "$lt_compile" 2>out
/conftest.err
)
9133 cat out
/conftest.err
>&5
9134 echo "$as_me:9134: \$? = $ac_status" >&5
9135 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9137 # The compiler can only warn and ignore the option if not recognized
9138 # So say no if there are warnings
9139 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9140 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9141 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9142 lt_cv_prog_compiler_c_o
=yes
9147 # SGI C++ compiler will create directory out/ii_files/ for
9148 # template instantiation
9149 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9150 $RM out
/* && rmdir out
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9157 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9165 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9166 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9167 $as_echo_n "(cached) " >&6
9169 lt_cv_prog_compiler_c_o
=no
9170 $RM -r conftest
2>/dev
/null
9174 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9176 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9177 # Insert the option either (1) after the last *FLAGS variable, or
9178 # (2) before a word containing "conftest.", or (3) at the end.
9179 # Note that $ac_compile itself does not contain backslashes and begins
9180 # with a dollar sign (not a hyphen), so the echo should work correctly.
9181 lt_compile
=`echo "$ac_compile" | $SED \
9182 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9184 -e 's:$: $lt_compiler_flag:'`
9185 (eval echo "\"\$as_me:9185: $lt_compile\"" >&5)
9186 (eval "$lt_compile" 2>out
/conftest.err
)
9188 cat out
/conftest.err
>&5
9189 echo "$as_me:9189: \$? = $ac_status" >&5
9190 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9192 # The compiler can only warn and ignore the option if not recognized
9193 # So say no if there are warnings
9194 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9195 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9196 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9197 lt_cv_prog_compiler_c_o
=yes
9202 # SGI C++ compiler will create directory out/ii_files/ for
9203 # template instantiation
9204 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9205 $RM out
/* && rmdir out
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9212 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9217 hard_links
="nottested"
9218 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9219 # do not overwrite the value of need_locks provided by the user
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9221 $as_echo_n "checking if we can lock with hard links... " >&6; }
9224 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9226 ln conftest.a conftest.b
2>&5 || hard_links
=no
9227 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9229 $as_echo "$hard_links" >&6; }
9230 if test "$hard_links" = no
; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9232 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9245 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9248 allow_undefined_flag
=
9249 always_export_symbols
=no
9251 archive_expsym_cmds
=
9252 compiler_needs_object
=no
9253 enable_shared_with_static_runtimes
=no
9254 export_dynamic_flag_spec
=
9255 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9256 hardcode_automatic
=no
9258 hardcode_direct_absolute
=no
9259 hardcode_libdir_flag_spec
=
9260 hardcode_libdir_flag_spec_ld
=
9261 hardcode_libdir_separator
=
9263 hardcode_shlibpath_var
=unsupported
9265 link_all_deplibs
=unknown
9268 old_archive_from_new_cmds
=
9269 old_archive_from_expsyms_cmds
=
9270 thread_safe_flag_spec
=
9271 whole_archive_flag_spec
=
9272 # include_expsyms should be a list of space-separated symbols to be *always*
9273 # included in the symbol list
9275 # exclude_expsyms can be an extended regexp of symbols to exclude
9276 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9277 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9278 # as well as any symbol that contains `d'.
9279 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9280 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9281 # platforms (ab)use it in PIC code, but their linkers get confused if
9282 # the symbol is explicitly referenced. Since portable code cannot
9283 # rely on this symbol name, it's probably fine to never include it in
9284 # preloaded symbol tables.
9285 # Exclude shared library initialization/finalization symbols.
9286 extract_expsyms_cmds
=
9289 cygwin
* | mingw
* | pw32
* | cegcc
*)
9290 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9291 # When not using gcc, we currently assume that we are using
9292 # Microsoft Visual C++.
9293 if test "$GCC" != yes; then
9298 # we just hope/assume this is gcc and not c89 (= MSVC++)
9304 linux
* | k
*bsd
*-gnu)
9310 if test "$with_gnu_ld" = yes; then
9311 # If archive_cmds runs LD, not CC, wlarc should be empty
9314 # Set some defaults for GNU ld with shared library support. These
9315 # are reset later if shared libraries are not supported. Putting them
9316 # here allows them to be overridden if necessary.
9317 runpath_var
=LD_RUN_PATH
9318 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9319 export_dynamic_flag_spec
='${wl}--export-dynamic'
9320 # ancient GNU ld didn't support --whole-archive et. al.
9321 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9322 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9324 whole_archive_flag_spec
=
9326 supports_anon_versioning
=no
9327 case `$LD -v 2>&1` in
9328 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9329 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9330 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9331 *\
2.11.
*) ;; # other 2.11 versions
9332 *) supports_anon_versioning
=yes ;;
9335 # See if GNU ld supports shared libraries.
9338 # On AIX/PPC, the GNU linker is very broken
9339 if test "$host_cpu" != ia64
; then
9343 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9344 *** to be unable to reliably create shared libraries on AIX.
9345 *** Therefore, libtool is disabling shared libraries support. If you
9346 *** really care for shared libraries, you may want to modify your PATH
9347 *** so that a non-GNU linker is found, and then restart.
9356 # see comment about AmigaOS4 .so support
9357 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9358 archive_expsym_cmds
=''
9361 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)'
9362 hardcode_libdir_flag_spec
='-L$libdir'
9363 hardcode_minus_L
=yes
9369 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9370 allow_undefined_flag
=unsupported
9371 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9372 # support --undefined. This deserves some investigation. FIXME
9373 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9379 cygwin
* | mingw
* | pw32
* | cegcc
*)
9380 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9381 # as there is no search path for DLLs.
9382 hardcode_libdir_flag_spec
='-L$libdir'
9383 allow_undefined_flag
=unsupported
9384 always_export_symbols
=no
9385 enable_shared_with_static_runtimes
=yes
9386 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9388 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9389 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9390 # If the export-symbols file already is a .def file (1st line
9391 # is EXPORTS), use it as is; otherwise, prepend...
9392 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9393 cp $export_symbols $output_objdir/$soname.def;
9395 echo EXPORTS > $output_objdir/$soname.def;
9396 cat $export_symbols >> $output_objdir/$soname.def;
9398 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9406 hardcode_shlibpath_var
=no
9407 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9408 export_dynamic_flag_spec
='${wl}-E'
9409 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9410 # Instead, shared libraries are loaded at an image base (0x10000000 by
9411 # default) and relocated if they conflict, which is a slow very memory
9412 # consuming and fragmenting process. To avoid this, we pick a random,
9413 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9414 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9415 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9416 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'
9419 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9421 if test "$host_os" = linux-dietlibc
; then
9422 case $cc_basename in
9423 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9426 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9427 && test "$tmp_diet" = no
9430 tmp_sharedflag
='-shared'
9431 case $cc_basename,$host_cpu in
9432 pgcc
*) # Portland Group C compiler
9433 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9434 tmp_addflag
=' $pic_flag'
9436 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9437 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9438 tmp_addflag
=' $pic_flag -Mnomain' ;;
9439 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9440 tmp_addflag
=' -i_dynamic' ;;
9441 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9442 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9443 ifc
* | ifort
*) # Intel Fortran compiler
9444 tmp_addflag
=' -nofor_main' ;;
9445 lf95
*) # Lahey Fortran 8.1
9446 whole_archive_flag_spec
=
9447 tmp_sharedflag
='--shared' ;;
9448 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9449 tmp_sharedflag
='-qmkshrobj'
9452 case `$CC -V 2>&1 | sed 5q` in
9453 *Sun\ C
*) # Sun C 5.9
9454 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9455 compiler_needs_object
=yes
9456 tmp_sharedflag
='-G' ;;
9457 *Sun\ F
*) # Sun Fortran 8.3
9458 tmp_sharedflag
='-G' ;;
9460 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9462 if test "x$supports_anon_versioning" = xyes
; then
9463 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9464 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9465 echo "local: *; };" >> $output_objdir/$libname.ver~
9466 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9469 case $cc_basename in
9471 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9472 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9473 hardcode_libdir_flag_spec
=
9474 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9475 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9476 if test "x$supports_anon_versioning" = xyes
; then
9477 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9478 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9479 echo "local: *; };" >> $output_objdir/$libname.ver~
9480 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9489 netbsd
* | netbsdelf
*-gnu)
9490 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9491 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9494 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9495 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9504 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9505 *** create shared libraries on Solaris systems. Therefore, libtool
9506 *** is disabling shared libraries support. We urge you to upgrade GNU
9507 *** binutils to release 2.9.1 or newer. Another option is to modify
9508 *** your PATH or compiler configuration so that the native linker is
9509 *** used, and then restart.
9512 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9513 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9514 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9520 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9521 case `$LD -v 2>&1` in
9522 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9526 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9527 *** reliably create shared libraries on SCO systems. Therefore, libtool
9528 *** is disabling shared libraries support. We urge you to upgrade GNU
9529 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9530 *** your PATH or compiler configuration so that the native linker is
9531 *** used, and then restart.
9536 # For security reasons, it is highly recommended that you always
9537 # use absolute paths for naming shared libraries, and exclude the
9538 # DT_RUNPATH tag from executables and libraries. But doing so
9539 # requires that you compile everything twice, which is a pain.
9540 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9541 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9542 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9543 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9552 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9555 hardcode_shlibpath_var
=no
9559 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9560 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9561 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9568 if test "$ld_shlibs" = no
; then
9570 hardcode_libdir_flag_spec
=
9571 export_dynamic_flag_spec
=
9572 whole_archive_flag_spec
=
9575 # PORTME fill in a description of your system's linker (not GNU ld)
9578 allow_undefined_flag
=unsupported
9579 always_export_symbols
=yes
9580 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'
9581 # Note: this linker hardcodes the directories in LIBPATH if there
9582 # are no directories specified by -L.
9583 hardcode_minus_L
=yes
9584 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9585 # Neither direct hardcoding nor static linking is supported with a
9587 hardcode_direct
=unsupported
9592 if test "$host_cpu" = ia64
; then
9593 # On IA64, the linker does run time linking by default, so we don't
9594 # have to do anything special.
9595 aix_use_runtimelinking
=no
9596 exp_sym_flag
='-Bexport'
9599 # If we're using GNU nm, then we don't want the "-C" option.
9600 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9601 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9602 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9604 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'
9606 aix_use_runtimelinking
=no
9608 # Test if we are trying to use run time linking or normal
9609 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9610 # need to do runtime linking.
9611 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9612 for ld_flag
in $LDFLAGS; do
9613 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9614 aix_use_runtimelinking
=yes
9621 exp_sym_flag
='-bexport'
9622 no_entry_flag
='-bnoentry'
9625 # When large executables or shared objects are built, AIX ld can
9626 # have problems creating the table of contents. If linking a library
9627 # or program results in "error TOC overflow" add -mminimal-toc to
9628 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9629 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9633 hardcode_direct_absolute
=yes
9634 hardcode_libdir_separator
=':'
9635 link_all_deplibs
=yes
9636 file_list_spec
='${wl}-f,'
9638 if test "$GCC" = yes; then
9639 case $host_os in aix4.
[012]|aix4.
[012].
*)
9640 # We only want to do this on AIX 4.2 and lower, the check
9641 # below for broken collect2 doesn't work under 4.3+
9642 collect2name
=`${CC} -print-prog-name=collect2`
9643 if test -f "$collect2name" &&
9644 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9646 # We have reworked collect2
9649 # We have old collect2
9650 hardcode_direct
=unsupported
9651 # It fails to find uninstalled libraries when the uninstalled
9652 # path is not listed in the libpath. Setting hardcode_minus_L
9653 # to unsupported forces relinking
9654 hardcode_minus_L
=yes
9655 hardcode_libdir_flag_spec
='-L$libdir'
9656 hardcode_libdir_separator
=
9660 shared_flag
='-shared'
9661 if test "$aix_use_runtimelinking" = yes; then
9662 shared_flag
="$shared_flag "'${wl}-G'
9667 if test "$host_cpu" = ia64
; then
9668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9669 # chokes on -Wl,-G. The following line is correct:
9672 if test "$aix_use_runtimelinking" = yes; then
9673 shared_flag
='${wl}-G'
9675 shared_flag
='${wl}-bM:SRE'
9680 export_dynamic_flag_spec
='${wl}-bexpall'
9681 # It seems that -bexpall does not export symbols beginning with
9682 # underscore (_), so it is better to generate a list of symbols to export.
9683 always_export_symbols
=yes
9684 if test "$aix_use_runtimelinking" = yes; then
9685 # Warning - without using the other runtime loading flags (-brtl),
9686 # -berok will link without error, but may produce a broken library.
9687 allow_undefined_flag
='-berok'
9688 # Determine the default libpath from the value encoded in an
9690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9691 /* end confdefs.h. */
9701 if ac_fn_c_try_link
"$LINENO"; then :
9703 lt_aix_libpath_sed
='
9704 /Import File Strings/,/^$/ {
9710 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9711 # Check for a 64-bit object if we didn't find anything.
9712 if test -z "$aix_libpath"; then
9713 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9716 rm -f core conftest.err conftest.
$ac_objext \
9717 conftest
$ac_exeext conftest.
$ac_ext
9718 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9720 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9721 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9723 if test "$host_cpu" = ia64
; then
9724 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9725 allow_undefined_flag
="-z nodefs"
9726 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"
9728 # Determine the default libpath from the value encoded in an
9730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9741 if ac_fn_c_try_link
"$LINENO"; then :
9743 lt_aix_libpath_sed
='
9744 /Import File Strings/,/^$/ {
9750 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9751 # Check for a 64-bit object if we didn't find anything.
9752 if test -z "$aix_libpath"; then
9753 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9756 rm -f core conftest.err conftest.
$ac_objext \
9757 conftest
$ac_exeext conftest.
$ac_ext
9758 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9760 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9761 # Warning - without using the other run time loading flags,
9762 # -berok will link without error, but may produce a broken library.
9763 no_undefined_flag
=' ${wl}-bernotok'
9764 allow_undefined_flag
=' ${wl}-berok'
9765 # Exported symbols can be pulled into shared objects from archives
9766 whole_archive_flag_spec
='$convenience'
9767 archive_cmds_need_lc
=yes
9768 # This is similar to how AIX traditionally builds its shared libraries.
9769 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'
9777 # see comment about AmigaOS4 .so support
9778 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9779 archive_expsym_cmds
=''
9782 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)'
9783 hardcode_libdir_flag_spec
='-L$libdir'
9784 hardcode_minus_L
=yes
9790 export_dynamic_flag_spec
=-rdynamic
9793 cygwin
* | mingw
* | pw32
* | cegcc
*)
9794 # When not using gcc, we currently assume that we are using
9795 # Microsoft Visual C++.
9796 # hardcode_libdir_flag_spec is actually meaningless, as there is
9797 # no search path for DLLs.
9798 hardcode_libdir_flag_spec
=' '
9799 allow_undefined_flag
=unsupported
9800 # Tell ltmain to make .lib files, not .a files.
9802 # Tell ltmain to make .dll files, not .so files.
9804 # FIXME: Setting linknames here is a bad hack.
9805 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9806 # The linker will automatically build a .lib file if we build a DLL.
9807 old_archive_from_new_cmds
='true'
9808 # FIXME: Should let the user specify the lib program.
9809 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9810 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9811 enable_shared_with_static_runtimes
=yes
9814 darwin
* | rhapsody
*)
9817 archive_cmds_need_lc
=no
9819 hardcode_automatic
=yes
9820 hardcode_shlibpath_var
=unsupported
9821 whole_archive_flag_spec
=''
9822 link_all_deplibs
=yes
9823 allow_undefined_flag
="$_lt_dar_allow_undefined"
9824 case $cc_basename in
9825 ifort
*) _lt_dar_can_shared
=yes ;;
9826 *) _lt_dar_can_shared
=$GCC ;;
9828 if test "$_lt_dar_can_shared" = "yes"; then
9829 output_verbose_link_cmd
=echo
9830 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9831 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9832 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}"
9833 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}"
9842 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843 hardcode_libdir_flag_spec
='-L$libdir'
9844 hardcode_shlibpath_var
=no
9851 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9852 # support. Future versions do this automatically, but an explicit c++rt0.o
9853 # does not break anything, and helps significantly (at the cost of a little
9856 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9857 hardcode_libdir_flag_spec
='-R$libdir'
9859 hardcode_shlibpath_var
=no
9862 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9864 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_minus_L
=yes
9867 hardcode_shlibpath_var
=no
9870 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9871 freebsd
* | dragonfly
*)
9872 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9873 hardcode_libdir_flag_spec
='-R$libdir'
9875 hardcode_shlibpath_var
=no
9879 if test "$GCC" = yes; then
9880 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'
9882 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'
9884 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9885 hardcode_libdir_separator
=:
9888 # hardcode_minus_L: Not really in the search PATH,
9889 # but as the default location of the library.
9890 hardcode_minus_L
=yes
9891 export_dynamic_flag_spec
='${wl}-E'
9895 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9896 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9898 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9900 if test "$with_gnu_ld" = no
; then
9901 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9902 hardcode_libdir_flag_spec_ld
='+b $libdir'
9903 hardcode_libdir_separator
=:
9905 hardcode_direct_absolute
=yes
9906 export_dynamic_flag_spec
='${wl}-E'
9907 # hardcode_minus_L: Not really in the search PATH,
9908 # but as the default location of the library.
9909 hardcode_minus_L
=yes
9914 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9917 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9923 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9939 if test "$with_gnu_ld" = no
; then
9940 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9941 hardcode_libdir_separator
=:
9946 hardcode_shlibpath_var
=no
9950 hardcode_direct_absolute
=yes
9951 export_dynamic_flag_spec
='${wl}-E'
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L
=yes
9961 irix5
* | irix6
* | nonstopux
*)
9962 if test "$GCC" = yes; then
9963 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9964 # Try to use the -exported_symbol ld option, if it does not
9965 # work, assume that -exports_file does not work either and
9966 # implicitly export all symbols.
9967 save_LDFLAGS
="$LDFLAGS"
9968 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9973 if ac_fn_c_try_link
"$LINENO"; then :
9974 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9977 rm -f core conftest.err conftest.
$ac_objext \
9978 conftest
$ac_exeext conftest.
$ac_ext
9979 LDFLAGS
="$save_LDFLAGS"
9981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9982 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9984 archive_cmds_need_lc
='no'
9985 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9986 hardcode_libdir_separator
=:
9988 link_all_deplibs
=yes
9991 netbsd
* | netbsdelf
*-gnu)
9992 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9993 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9995 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9997 hardcode_libdir_flag_spec
='-R$libdir'
9999 hardcode_shlibpath_var
=no
10003 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10004 hardcode_direct
=yes
10005 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10006 hardcode_libdir_separator
=:
10007 hardcode_shlibpath_var
=no
10014 if test -f /usr
/libexec
/ld.so
; then
10015 hardcode_direct
=yes
10016 hardcode_shlibpath_var
=no
10017 hardcode_direct_absolute
=yes
10018 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10019 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10020 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10021 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10022 export_dynamic_flag_spec
='${wl}-E'
10025 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10026 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_libdir_flag_spec
='-R$libdir'
10030 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10031 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10041 hardcode_libdir_flag_spec
='-L$libdir'
10042 hardcode_minus_L
=yes
10043 allow_undefined_flag
=unsupported
10044 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'
10045 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10049 if test "$GCC" = yes; then
10050 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10051 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10053 allow_undefined_flag
=' -expect_unresolved \*'
10054 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10056 archive_cmds_need_lc
='no'
10057 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10058 hardcode_libdir_separator
=:
10061 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10062 if test "$GCC" = yes; then
10063 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10064 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10065 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10067 allow_undefined_flag
=' -expect_unresolved \*'
10068 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10069 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~
10070 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10072 # Both c and cxx compiler support -rpath directly
10073 hardcode_libdir_flag_spec
='-rpath $libdir'
10075 archive_cmds_need_lc
='no'
10076 hardcode_libdir_separator
=:
10080 no_undefined_flag
=' -z defs'
10081 if test "$GCC" = yes; then
10083 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10085 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10087 case `$CC -V 2>&1` in
10090 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10091 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10092 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10096 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10098 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10102 hardcode_libdir_flag_spec
='-R$libdir'
10103 hardcode_shlibpath_var
=no
10105 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10107 # The compiler driver will combine and reorder linker options,
10108 # but understands `-z linker_flag'. GCC discards it without `$wl',
10109 # but is careful enough not to reorder.
10110 # Supported since Solaris 2.6 (maybe 2.5.1?)
10111 if test "$GCC" = yes; then
10112 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10114 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10118 link_all_deplibs
=yes
10122 if test "x$host_vendor" = xsequent
; then
10123 # Use $CC to link under sequent, because it throws in some extra .o
10124 # files that make .init and .fini sections work.
10125 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10129 hardcode_libdir_flag_spec
='-L$libdir'
10130 hardcode_direct
=yes
10131 hardcode_minus_L
=yes
10132 hardcode_shlibpath_var
=no
10136 case $host_vendor in
10138 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139 hardcode_direct
=yes # is this really true???
10142 ## LD is ld it makes a PLAMLIB
10143 ## CC just makes a GrossModule.
10144 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10145 reload_cmds
='$CC -r -o $output$reload_objs'
10149 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10150 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10153 runpath_var
='LD_RUN_PATH'
10154 hardcode_shlibpath_var
=no
10158 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10159 hardcode_shlibpath_var
=no
10160 export_dynamic_flag_spec
='-Bexport'
10164 if test -d /usr
/nec
; then
10165 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10166 hardcode_shlibpath_var
=no
10167 runpath_var
=LD_RUN_PATH
10168 hardcode_runpath_var
=yes
10173 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10174 no_undefined_flag
='${wl}-z,text'
10175 archive_cmds_need_lc
=no
10176 hardcode_shlibpath_var
=no
10177 runpath_var
='LD_RUN_PATH'
10179 if test "$GCC" = yes; then
10180 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 sysv5
* | sco3.2v5
* | sco5v6
*)
10189 # Note: We can NOT use -z defs as we might desire, because we do not
10190 # link with -lc, and that would cause any symbols used from libc to
10191 # always be unresolved, which means just about no library would
10192 # ever link correctly. If we're not using GNU ld we use -z text
10193 # though, which does catch some bad symbols but isn't as heavy-handed
10195 no_undefined_flag
='${wl}-z,text'
10196 allow_undefined_flag
='${wl}-z,nodefs'
10197 archive_cmds_need_lc
=no
10198 hardcode_shlibpath_var
=no
10199 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10200 hardcode_libdir_separator
=':'
10201 link_all_deplibs
=yes
10202 export_dynamic_flag_spec
='${wl}-Bexport'
10203 runpath_var
='LD_RUN_PATH'
10205 if test "$GCC" = yes; then
10206 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10216 hardcode_libdir_flag_spec
='-L$libdir'
10217 hardcode_shlibpath_var
=no
10225 if test x
$host_vendor = xsni
; then
10227 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10228 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10235 $as_echo "$ld_shlibs" >&6; }
10236 test "$ld_shlibs" = no
&& can_build_shared
=no
10238 with_gnu_ld
=$with_gnu_ld
10255 # Do we need to explicitly link libc?
10257 case "x$archive_cmds_need_lc" in
10259 # Assume -lc should be added
10260 archive_cmds_need_lc
=yes
10262 if test "$enable_shared" = yes && test "$GCC" = yes; then
10263 case $archive_cmds in
10265 # FIXME: we may have to deal with multi-command sequences.
10268 # Test whether the compiler implicitly links with -lc since on some
10269 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10270 # to ld, don't add -lc before -lgcc.
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10272 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10274 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10277 (eval $ac_compile) 2>&5
10279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10280 test $ac_status = 0; } 2>conftest.err
; then
10283 libobjs
=conftest.
$ac_objext
10285 wl
=$lt_prog_compiler_wl
10286 pic_flag
=$lt_prog_compiler_pic
10292 lt_save_allow_undefined_flag
=$allow_undefined_flag
10293 allow_undefined_flag
=
10294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10295 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10298 test $ac_status = 0; }
10300 archive_cmds_need_lc
=no
10302 archive_cmds_need_lc
=yes
10304 allow_undefined_flag
=$lt_save_allow_undefined_flag
10306 cat conftest.err
1>&5
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10310 $as_echo "$archive_cmds_need_lc" >&6; }
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10474 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10476 if test "$GCC" = yes; then
10478 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10479 *) lt_awk_arg
="/^libraries:/" ;;
10481 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10482 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10483 # if the path contains ";" then we assume it to be the separator
10484 # otherwise default to the standard path separator (i.e. ":") - it is
10485 # assumed that no part of a normal pathname contains ";" but that should
10486 # okay in the real world where ";" in dirpaths is itself problematic.
10487 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10489 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10491 # Ok, now we have the path, separated by spaces, we can step through it
10492 # and add multilib dir if necessary.
10493 lt_tmp_lt_search_path_spec
=
10494 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10495 for lt_sys_path
in $lt_search_path_spec; do
10496 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10497 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10499 test -d "$lt_sys_path" && \
10500 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10503 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10504 BEGIN {RS=" "; FS="/|\n";} {
10507 for (lt_i = NF; lt_i > 0; lt_i--) {
10508 if ($lt_i != "" && $lt_i != ".") {
10509 if ($lt_i == "..") {
10512 if (lt_count == 0) {
10513 lt_foo="/" $lt_i lt_foo;
10520 if (lt_foo != "") { lt_freq[lt_foo]++; }
10521 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10523 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10525 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10527 library_names_spec
=
10528 libname_spec
='lib$name'
10532 postuninstall_cmds
=
10536 shlibpath_overrides_runpath
=unknown
10538 dynamic_linker
="$host_os ld.so"
10539 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10540 need_lib_prefix
=unknown
10541 hardcode_into_libs
=no
10543 # when you set need_version to no, make sure it does not cause -set_version
10544 # flags to be left without arguments
10545 need_version
=unknown
10550 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10551 shlibpath_var
=LIBPATH
10553 # AIX 3 has no versioning support, so we append a major version to the name.
10554 soname_spec
='${libname}${release}${shared_ext}$major'
10561 hardcode_into_libs
=yes
10562 if test "$host_cpu" = ia64
; then
10563 # AIX 5 supports IA64
10564 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10565 shlibpath_var
=LD_LIBRARY_PATH
10567 # With GCC up to 2.95.x, collect2 would create an import file
10568 # for dependence libraries. The import file would start with
10569 # the line `#! .'. This would cause the generated library to
10570 # depend on `.', always an invalid library. This was fixed in
10571 # development snapshots of GCC prior to 3.0.
10573 aix4 | aix4.
[01] | aix4.
[01].
*)
10574 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10576 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10579 can_build_shared
=no
10583 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10584 # soname into executable. Probably we can add versioning support to
10585 # collect2, so additional links can be useful in future.
10586 if test "$aix_use_runtimelinking" = yes; then
10587 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10588 # instead of lib<name>.a to let people know that these are not
10589 # typical AIX shared libraries.
10590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592 # We preserve .a as extension for shared libraries through AIX4.2
10593 # and later when we are not doing run time linking.
10594 library_names_spec
='${libname}${release}.a $libname.a'
10595 soname_spec
='${libname}${release}${shared_ext}$major'
10597 shlibpath_var
=LIBPATH
10604 # Since July 2007 AmigaOS4 officially supports .so libraries.
10605 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609 library_names_spec
='$libname.ixlibrary $libname.a'
10610 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10611 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10617 library_names_spec
='${libname}${shared_ext}'
10618 dynamic_linker
="$host_os ld.so"
10619 shlibpath_var
=LIBRARY_PATH
10625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 soname_spec
='${libname}${release}${shared_ext}$major'
10627 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10628 shlibpath_var
=LD_LIBRARY_PATH
10629 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10630 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10631 # the default ld.so.conf also contains /usr/contrib/lib and
10632 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10633 # libtool to hard-code these into programs
10636 cygwin
* | mingw
* | pw32
* | cegcc
*)
10637 version_type
=windows
10642 case $GCC,$host_os in
10643 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10644 library_names_spec
='$libname.dll.a'
10645 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10646 postinstall_cmds
='base_file=`basename \${file}`~
10647 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10648 dldir=$destdir/`dirname \$dlpath`~
10649 test -d \$dldir || mkdir -p \$dldir~
10650 $install_prog $dir/$dlname \$dldir/$dlname~
10651 chmod a+x \$dldir/$dlname~
10652 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10653 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10655 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10656 dlpath=$dir/\$dldll~
10658 shlibpath_overrides_runpath
=yes
10662 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10663 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10664 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10667 # MinGW DLLs use traditional 'lib' prefix
10668 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10669 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10670 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10671 # It is most probably a Windows format PATH printed by
10672 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10673 # path with ; separators, and with drive letters. We can handle the
10674 # drive letters (cygwin fileutils understands them), so leave them,
10675 # especially as we might pass files found there to a mingw objdump,
10676 # which wouldn't understand a cygwinified path. Ahh.
10677 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10679 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10683 # pw32 DLLs use 'pw' prefix rather than 'lib'
10684 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10690 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10693 dynamic_linker
='Win32 ld.exe'
10694 # FIXME: first we should search . and the directory the executable is in
10698 darwin
* | rhapsody
*)
10699 dynamic_linker
="$host_os dyld"
10700 version_type
=darwin
10703 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10704 soname_spec
='${libname}${release}${major}$shared_ext'
10705 shlibpath_overrides_runpath
=yes
10706 shlibpath_var
=DYLD_LIBRARY_PATH
10707 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10709 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10710 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10718 soname_spec
='${libname}${release}${shared_ext}$major'
10719 shlibpath_var
=LD_LIBRARY_PATH
10726 freebsd
* | dragonfly
*)
10727 # DragonFly does not have aout. When/if they implement a new
10728 # versioning mechanism, adjust this.
10729 if test -x /usr
/bin
/objformat
; then
10730 objformat
=`/usr/bin/objformat`
10733 freebsd
[123]*) objformat
=aout
;;
10734 *) objformat
=elf
;;
10737 version_type
=freebsd-
$objformat
10738 case $version_type in
10740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10745 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10749 shlibpath_var
=LD_LIBRARY_PATH
10752 shlibpath_overrides_runpath
=yes
10754 freebsd3.
[01]* | freebsdelf3.
[01]*)
10755 shlibpath_overrides_runpath
=yes
10756 hardcode_into_libs
=yes
10758 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10759 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10760 shlibpath_overrides_runpath
=no
10761 hardcode_into_libs
=yes
10763 *) # from 4.6 on, and DragonFly
10764 shlibpath_overrides_runpath
=yes
10765 hardcode_into_libs
=yes
10774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10775 soname_spec
='${libname}${release}${shared_ext}$major'
10776 shlibpath_var
=LD_LIBRARY_PATH
10777 hardcode_into_libs
=yes
10780 hpux9
* | hpux10
* | hpux11
*)
10781 # Give a soname corresponding to the major version so that dld.sl refuses to
10782 # link against other versions.
10789 hardcode_into_libs
=yes
10790 dynamic_linker
="$host_os dld.so"
10791 shlibpath_var
=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10794 soname_spec
='${libname}${release}${shared_ext}$major'
10795 if test "X$HPUX_IA64_MODE" = X32
; then
10796 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10798 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10800 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10804 hardcode_into_libs
=yes
10805 dynamic_linker
="$host_os dld.sl"
10806 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10807 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809 soname_spec
='${libname}${release}${shared_ext}$major'
10810 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10811 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10815 dynamic_linker
="$host_os dld.sl"
10816 shlibpath_var
=SHLIB_PATH
10817 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec
='${libname}${release}${shared_ext}$major'
10822 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10823 postinstall_cmds
='chmod 555 $lib'
10830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10831 soname_spec
='${libname}${release}${shared_ext}$major'
10832 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10833 shlibpath_var
=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath
=no
10835 hardcode_into_libs
=yes
10838 irix5
* | irix6
* | nonstopux
*)
10840 nonstopux
*) version_type
=nonstopux
;;
10842 if test "$lt_cv_prog_gnu_ld" = yes; then
10850 soname_spec
='${libname}${release}${shared_ext}$major'
10851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10853 irix5
* | nonstopux
*)
10854 libsuff
= shlibsuff
=
10857 case $LD in # libtool.m4 will add one of these switches to LD
10858 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10859 libsuff
= shlibsuff
= libmagic
=32-bit;;
10860 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10861 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10862 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10863 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10864 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10868 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10869 shlibpath_overrides_runpath
=no
10870 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10871 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10872 hardcode_into_libs
=yes
10875 # No shared lib support for Linux oldld, aout, or coff.
10876 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10880 # This must be Linux ELF.
10881 linux
* | k
*bsd
*-gnu)
10885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 soname_spec
='${libname}${release}${shared_ext}$major'
10887 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10888 shlibpath_var
=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath
=no
10890 # Some binutils ld are patched to set DT_RUNPATH
10891 save_LDFLAGS
=$LDFLAGS
10892 save_libdir
=$libdir
10893 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10894 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10906 if ac_fn_c_try_link
"$LINENO"; then :
10907 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10908 shlibpath_overrides_runpath
=yes
10911 rm -f core conftest.err conftest.
$ac_objext \
10912 conftest
$ac_exeext conftest.
$ac_ext
10913 LDFLAGS
=$save_LDFLAGS
10914 libdir
=$save_libdir
10916 # This implies no fast_install, which is unacceptable.
10917 # Some rework will be needed to allow for fast_install
10918 # before this can be enabled.
10919 hardcode_into_libs
=yes
10921 # Append ld.so.conf contents to the search path
10922 if test -f /etc
/ld.so.conf
; then
10923 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;/^$/d' | tr '\n' ' '`
10924 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10927 # We used to test for /lib/ld.so.1 and disable shared libraries on
10928 # powerpc, because MkLinux only supported shared libraries with the
10929 # GNU dynamic linker. Since this was broken with cross compilers,
10930 # most powerpc-linux boxes support dynamic linking these days and
10931 # people can always --disable-shared, the test was removed, and we
10932 # assume the GNU/Linux dynamic linker is in use.
10933 dynamic_linker
='GNU/Linux ld.so'
10940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10941 soname_spec
='${libname}${release}${shared_ext}$major'
10942 shlibpath_var
=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath
=no
10944 hardcode_into_libs
=yes
10945 dynamic_linker
='NetBSD ld.elf_so'
10952 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10954 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10955 dynamic_linker
='NetBSD (a.out) ld.so'
10957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10958 soname_spec
='${libname}${release}${shared_ext}$major'
10959 dynamic_linker
='NetBSD ld.elf_so'
10961 shlibpath_var
=LD_LIBRARY_PATH
10962 shlibpath_overrides_runpath
=yes
10963 hardcode_into_libs
=yes
10968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10969 shlibpath_var
=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath
=yes
10977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 soname_spec
='${libname}${release}${shared_ext}$major'
10979 shlibpath_var
=LD_LIBRARY_PATH
10980 shlibpath_overrides_runpath
=no
10981 hardcode_into_libs
=yes
10982 dynamic_linker
='ldqnx.so'
10987 sys_lib_dlsearch_path_spec
="/usr/lib"
10989 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10991 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10992 *) need_version
=no
;;
10994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10995 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10996 shlibpath_var
=LD_LIBRARY_PATH
10997 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10999 openbsd2.
[89] | openbsd2.
[89].
*)
11000 shlibpath_overrides_runpath
=no
11003 shlibpath_overrides_runpath
=yes
11007 shlibpath_overrides_runpath
=yes
11012 libname_spec
='$name'
11015 library_names_spec
='$libname${shared_ext} $libname.a'
11016 dynamic_linker
='OS/2 ld.exe'
11017 shlibpath_var
=LIBPATH
11020 osf3
* | osf4
* | osf5
*)
11024 soname_spec
='${libname}${release}${shared_ext}$major'
11025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 shlibpath_var
=LD_LIBRARY_PATH
11027 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11028 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 soname_spec
='${libname}${release}${shared_ext}$major'
11041 shlibpath_var
=LD_LIBRARY_PATH
11042 shlibpath_overrides_runpath
=yes
11043 hardcode_into_libs
=yes
11044 # ldd complains unless libraries are executable
11045 postinstall_cmds
='chmod +x $lib'
11050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11051 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11052 shlibpath_var
=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath
=yes
11054 if test "$with_gnu_ld" = yes; then
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec
='${libname}${release}${shared_ext}$major'
11064 shlibpath_var
=LD_LIBRARY_PATH
11065 case $host_vendor in
11067 shlibpath_overrides_runpath
=no
11069 runpath_var
=LD_RUN_PATH
11077 shlibpath_overrides_runpath
=no
11078 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11084 if test -d /usr
/nec
;then
11086 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11087 soname_spec
='$libname${shared_ext}.$major'
11088 shlibpath_var
=LD_LIBRARY_PATH
11092 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11093 version_type
=freebsd-elf
11096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11097 soname_spec
='${libname}${release}${shared_ext}$major'
11098 shlibpath_var
=LD_LIBRARY_PATH
11099 shlibpath_overrides_runpath
=yes
11100 hardcode_into_libs
=yes
11101 if test "$with_gnu_ld" = yes; then
11102 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11104 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11107 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11111 sys_lib_dlsearch_path_spec
='/usr/lib'
11115 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11120 shlibpath_var
=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath
=no
11122 hardcode_into_libs
=yes
11127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128 soname_spec
='${libname}${release}${shared_ext}$major'
11129 shlibpath_var
=LD_LIBRARY_PATH
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11137 $as_echo "$dynamic_linker" >&6; }
11138 test "$dynamic_linker" = no
&& can_build_shared
=no
11140 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11141 if test "$GCC" = yes; then
11142 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11145 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11146 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11148 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11149 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11239 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11241 if test -n "$hardcode_libdir_flag_spec" ||
11242 test -n "$runpath_var" ||
11243 test "X$hardcode_automatic" = "Xyes" ; then
11245 # We can hardcode non-existent directories.
11246 if test "$hardcode_direct" != no
&&
11247 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11248 # have to relink, otherwise we might link with an installed library
11249 # when we should be linking with a yet-to-be-installed one
11250 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11251 test "$hardcode_minus_L" != no
; then
11252 # Linking always hardcodes the temporary library directory.
11253 hardcode_action
=relink
11255 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11256 hardcode_action
=immediate
11259 # We cannot hardcode anything, or else we can only hardcode existing
11261 hardcode_action
=unsupported
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11264 $as_echo "$hardcode_action" >&6; }
11266 if test "$hardcode_action" = relink ||
11267 test "$inherit_rpath" = yes; then
11268 # Fast installation is not supported
11269 enable_fast_install
=no
11270 elif test "$shlibpath_overrides_runpath" = yes ||
11271 test "$enable_shared" = no
; then
11272 # Fast installation is not necessary
11273 enable_fast_install
=needless
11281 if test "x$enable_dlopen" != xyes
; then
11282 enable_dlopen
=unknown
11283 enable_dlopen_self
=unknown
11284 enable_dlopen_self_static
=unknown
11291 lt_cv_dlopen
="load_add_on"
11293 lt_cv_dlopen_self
=yes
11296 mingw
* | pw32
* | cegcc
*)
11297 lt_cv_dlopen
="LoadLibrary"
11302 lt_cv_dlopen
="dlopen"
11307 # if libdl is installed we need to link against it
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11309 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11310 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11311 $as_echo_n "(cached) " >&6
11313 ac_check_lib_save_LIBS
=$LIBS
11315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11333 if ac_fn_c_try_link
"$LINENO"; then :
11334 ac_cv_lib_dl_dlopen
=yes
11336 ac_cv_lib_dl_dlopen
=no
11338 rm -f core conftest.err conftest.
$ac_objext \
11339 conftest
$ac_exeext conftest.
$ac_ext
11340 LIBS
=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11343 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11344 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11345 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11348 lt_cv_dlopen
="dyld"
11350 lt_cv_dlopen_self
=yes
11357 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11358 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11359 lt_cv_dlopen
="shl_load"
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11362 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11363 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11364 $as_echo_n "(cached) " >&6
11366 ac_check_lib_save_LIBS
=$LIBS
11368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h. */
11371 /* Override any GCC internal prototype to avoid an error.
11372 Use char because int might match the return type of a GCC
11373 builtin and then its argument prototype would still apply. */
11381 return shl_load ();
11386 if ac_fn_c_try_link
"$LINENO"; then :
11387 ac_cv_lib_dld_shl_load
=yes
11389 ac_cv_lib_dld_shl_load
=no
11391 rm -f core conftest.err conftest.
$ac_objext \
11392 conftest
$ac_exeext conftest.
$ac_ext
11393 LIBS
=$ac_check_lib_save_LIBS
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11396 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11397 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11398 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11400 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11401 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11402 lt_cv_dlopen
="dlopen"
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11405 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11406 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11407 $as_echo_n "(cached) " >&6
11409 ac_check_lib_save_LIBS
=$LIBS
11411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11429 if ac_fn_c_try_link
"$LINENO"; then :
11430 ac_cv_lib_dl_dlopen
=yes
11432 ac_cv_lib_dl_dlopen
=no
11434 rm -f core conftest.err conftest.
$ac_objext \
11435 conftest
$ac_exeext conftest.
$ac_ext
11436 LIBS
=$ac_check_lib_save_LIBS
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11439 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11440 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11441 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11444 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11445 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11446 $as_echo_n "(cached) " >&6
11448 ac_check_lib_save_LIBS
=$LIBS
11449 LIBS
="-lsvld $LIBS"
11450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11468 if ac_fn_c_try_link
"$LINENO"; then :
11469 ac_cv_lib_svld_dlopen
=yes
11471 ac_cv_lib_svld_dlopen
=no
11473 rm -f core conftest.err conftest.
$ac_objext \
11474 conftest
$ac_exeext conftest.
$ac_ext
11475 LIBS
=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11478 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11479 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11480 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11483 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11484 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11485 $as_echo_n "(cached) " >&6
11487 ac_check_lib_save_LIBS
=$LIBS
11489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11502 return dld_link ();
11507 if ac_fn_c_try_link
"$LINENO"; then :
11508 ac_cv_lib_dld_dld_link
=yes
11510 ac_cv_lib_dld_dld_link
=no
11512 rm -f core conftest.err conftest.
$ac_objext \
11513 conftest
$ac_exeext conftest.
$ac_ext
11514 LIBS
=$ac_check_lib_save_LIBS
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11517 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11518 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11519 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11540 if test "x$lt_cv_dlopen" != xno
; then
11546 case $lt_cv_dlopen in
11548 save_CPPFLAGS
="$CPPFLAGS"
11549 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11551 save_LDFLAGS
="$LDFLAGS"
11552 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11555 LIBS
="$lt_cv_dlopen_libs $LIBS"
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11558 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11559 if test "${lt_cv_dlopen_self+set}" = set; then :
11560 $as_echo_n "(cached) " >&6
11562 if test "$cross_compiling" = yes; then :
11563 lt_cv_dlopen_self
=cross
11565 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11566 lt_status
=$lt_dlunknown
11567 cat > conftest.
$ac_ext <<_LT_EOF
11568 #line 11568 "configure"
11569 #include "confdefs.h"
11578 # define LT_DLGLOBAL RTLD_GLOBAL
11581 # define LT_DLGLOBAL DL_GLOBAL
11583 # define LT_DLGLOBAL 0
11587 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11588 find out it does not work in some platform. */
11589 #ifndef LT_DLLAZY_OR_NOW
11591 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11594 # define LT_DLLAZY_OR_NOW DL_LAZY
11597 # define LT_DLLAZY_OR_NOW RTLD_NOW
11600 # define LT_DLLAZY_OR_NOW DL_NOW
11602 # define LT_DLLAZY_OR_NOW 0
11609 void fnord() { int i=42;}
11612 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11613 int status = $lt_dlunknown;
11617 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11618 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11619 /* dlclose (self); */
11627 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11628 (eval $ac_link) 2>&5
11630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11631 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11632 (.
/conftest
; exit; ) >&5 2>/dev
/null
11634 case x
$lt_status in
11635 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11636 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11637 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11640 # compilation failed
11641 lt_cv_dlopen_self
=no
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11649 $as_echo "$lt_cv_dlopen_self" >&6; }
11651 if test "x$lt_cv_dlopen_self" = xyes
; then
11652 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11654 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11655 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11656 $as_echo_n "(cached) " >&6
11658 if test "$cross_compiling" = yes; then :
11659 lt_cv_dlopen_self_static
=cross
11661 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11662 lt_status
=$lt_dlunknown
11663 cat > conftest.
$ac_ext <<_LT_EOF
11664 #line 11664 "configure"
11665 #include "confdefs.h"
11674 # define LT_DLGLOBAL RTLD_GLOBAL
11677 # define LT_DLGLOBAL DL_GLOBAL
11679 # define LT_DLGLOBAL 0
11683 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11684 find out it does not work in some platform. */
11685 #ifndef LT_DLLAZY_OR_NOW
11687 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11690 # define LT_DLLAZY_OR_NOW DL_LAZY
11693 # define LT_DLLAZY_OR_NOW RTLD_NOW
11696 # define LT_DLLAZY_OR_NOW DL_NOW
11698 # define LT_DLLAZY_OR_NOW 0
11705 void fnord() { int i=42;}
11708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11709 int status = $lt_dlunknown;
11713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11714 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11715 /* dlclose (self); */
11723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11724 (eval $ac_link) 2>&5
11726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11727 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11728 (.
/conftest
; exit; ) >&5 2>/dev
/null
11730 case x
$lt_status in
11731 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11732 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11733 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11736 # compilation failed
11737 lt_cv_dlopen_self_static
=no
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11745 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11748 CPPFLAGS
="$save_CPPFLAGS"
11749 LDFLAGS
="$save_LDFLAGS"
11754 case $lt_cv_dlopen_self in
11755 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11756 *) enable_dlopen_self
=unknown
;;
11759 case $lt_cv_dlopen_self_static in
11760 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11761 *) enable_dlopen_self_static
=unknown
;;
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11784 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11785 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11786 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11787 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11789 $as_echo "yes" >&6; }
11791 # FIXME - insert some real tests, host_os isn't really good enough
11794 if test -n "$STRIP" ; then
11795 striplib
="$STRIP -x"
11796 old_striplib
="$STRIP -S"
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11798 $as_echo "yes" >&6; }
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11801 $as_echo "no" >&6; }
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11806 $as_echo "no" >&6; }
11822 # Report which library types will actually be built
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11824 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11826 $as_echo "$can_build_shared" >&6; }
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11829 $as_echo_n "checking whether to build shared libraries... " >&6; }
11830 test "$can_build_shared" = "no" && enable_shared
=no
11832 # On AIX, shared libraries and static libraries use the same namespace, and
11833 # are all built from PIC.
11836 test "$enable_shared" = yes && enable_static
=no
11837 if test -n "$RANLIB"; then
11838 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11839 postinstall_cmds
='$RANLIB $lib'
11844 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11845 test "$enable_shared" = yes && enable_static
=no
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11850 $as_echo "$enable_shared" >&6; }
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11853 $as_echo_n "checking whether to build static libraries... " >&6; }
11854 # Make sure either enable_shared or enable_static is yes.
11855 test "$enable_shared" = yes || enable_static
=yes
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11857 $as_echo "$enable_static" >&6; }
11864 ac_cpp
='$CPP $CPPFLAGS'
11865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11873 ac_cpp
='$CXXCPP $CPPFLAGS'
11874 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11875 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11876 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11878 archive_cmds_need_lc_CXX
=no
11879 allow_undefined_flag_CXX
=
11880 always_export_symbols_CXX
=no
11881 archive_expsym_cmds_CXX
=
11882 compiler_needs_object_CXX
=no
11883 export_dynamic_flag_spec_CXX
=
11884 hardcode_direct_CXX
=no
11885 hardcode_direct_absolute_CXX
=no
11886 hardcode_libdir_flag_spec_CXX
=
11887 hardcode_libdir_flag_spec_ld_CXX
=
11888 hardcode_libdir_separator_CXX
=
11889 hardcode_minus_L_CXX
=no
11890 hardcode_shlibpath_var_CXX
=unsupported
11891 hardcode_automatic_CXX
=no
11892 inherit_rpath_CXX
=no
11894 module_expsym_cmds_CXX
=
11895 link_all_deplibs_CXX
=unknown
11896 old_archive_cmds_CXX
=$old_archive_cmds
11897 no_undefined_flag_CXX
=
11898 whole_archive_flag_spec_CXX
=
11899 enable_shared_with_static_runtimes_CXX
=no
11901 # Source file extension for C++ test sources.
11904 # Object file extension for compiled C++ test sources.
11908 # No sense in running all these tests if we already determined that
11909 # the CXX compiler isn't working. Some variables (like enable_shared)
11910 # are currently assumed to apply to all compilers on this platform,
11911 # and will be corrupted by setting them based on a non-working compiler.
11912 if test "$_lt_caught_CXX_error" != yes; then
11913 # Code to be used in simple compile tests
11914 lt_simple_compile_test_code
="int some_variable = 0;"
11916 # Code to be used in simple link tests
11917 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11919 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11926 # If no C compiler was specified, use CC.
11929 # If no C compiler flags were specified, use CFLAGS.
11930 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11932 # Allow CC to be a program name with arguments.
11936 # save warnings/boilerplate of simple test code
11937 ac_outfile
=conftest.
$ac_objext
11938 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11939 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11940 _lt_compiler_boilerplate
=`cat conftest.err`
11943 ac_outfile
=conftest.
$ac_objext
11944 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11945 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11946 _lt_linker_boilerplate
=`cat conftest.err`
11950 # Allow CC to be a program name with arguments.
11955 lt_save_with_gnu_ld
=$with_gnu_ld
11956 lt_save_path_LD
=$lt_cv_path_LD
11957 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11958 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11960 $as_unset lt_cv_prog_gnu_ld
11962 if test -n "${lt_cv_path_LDCXX+set}"; then
11963 lt_cv_path_LD
=$lt_cv_path_LDCXX
11965 $as_unset lt_cv_path_LD
11967 test -z "${LDCXX+set}" || LD
=$LDCXX
11971 for cc_temp
in $compiler""; do
11973 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11974 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11979 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11982 if test -n "$compiler"; then
11983 # We don't want -fno-exception when compiling C++ code, so set the
11984 # no_builtin_flag separately
11985 if test "$GXX" = yes; then
11986 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11988 lt_prog_compiler_no_builtin_flag_CXX
=
11991 if test "$GXX" = yes; then
11992 # Set up default GNU C++ configuration
11996 # Check whether --with-gnu-ld was given.
11997 if test "${with_gnu_ld+set}" = set; then :
11998 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12004 if test "$GCC" = yes; then
12005 # Check if gcc -print-prog-name=ld gives a path.
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12007 $as_echo_n "checking for ld used by $CC... " >&6; }
12010 # gcc leaves a trailing carriage return which upsets mingw
12011 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12013 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12016 # Accept absolute paths.
12018 re_direlt
='/[^/][^/]*/\.\./'
12019 # Canonicalize the pathname of ld
12020 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12021 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12022 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12024 test -z "$LD" && LD
="$ac_prog"
12027 # If it fails, then pretend we aren't using GCC.
12031 # If it is relative, then search for the first ld in PATH.
12032 with_gnu_ld
=unknown
12035 elif test "$with_gnu_ld" = yes; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12037 $as_echo_n "checking for GNU ld... " >&6; }
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12040 $as_echo_n "checking for non-GNU ld... " >&6; }
12042 if test "${lt_cv_path_LD+set}" = set; then :
12043 $as_echo_n "(cached) " >&6
12045 if test -z "$LD"; then
12046 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12047 for ac_dir
in $PATH; do
12049 test -z "$ac_dir" && ac_dir
=.
12050 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12051 lt_cv_path_LD
="$ac_dir/$ac_prog"
12052 # Check to see if the program is GNU ld. I'd rather use --version,
12053 # but apparently some variants of GNU ld only accept -v.
12054 # Break only if it was the GNU/non-GNU ld that we prefer.
12055 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12056 *GNU
* |
*'with BFD'*)
12057 test "$with_gnu_ld" != no
&& break
12060 test "$with_gnu_ld" != yes && break
12067 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12071 LD
="$lt_cv_path_LD"
12072 if test -n "$LD"; then
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12074 $as_echo "$LD" >&6; }
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12077 $as_echo "no" >&6; }
12079 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12081 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12082 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12083 $as_echo_n "(cached) " >&6
12085 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12086 case `$LD -v 2>&1 </dev/null` in
12087 *GNU
* |
*'with BFD'*)
12088 lt_cv_prog_gnu_ld
=yes
12091 lt_cv_prog_gnu_ld
=no
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12096 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12097 with_gnu_ld
=$lt_cv_prog_gnu_ld
12105 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12106 # archiving commands below assume that GNU ld is being used.
12107 if test "$with_gnu_ld" = yes; then
12108 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12109 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12111 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12112 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12114 # If archive_cmds runs LD, not CC, wlarc should be empty
12115 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12116 # investigate it a little bit more. (MM)
12119 # ancient GNU ld didn't support --whole-archive et. al.
12120 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12121 $GREP 'no-whole-archive' > /dev
/null
; then
12122 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12124 whole_archive_flag_spec_CXX
=
12130 # A generic and very simple default shared library creation
12131 # command for GNU C++ for the case where it uses the native
12132 # linker, instead of GNU ld. If possible, this setting should
12133 # overridden to take advantage of the native linker features on
12134 # the platform it is being used on.
12135 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12138 # Commands to make compiler produce verbose output that lists
12139 # what "hidden" libraries, object files and flags are used when
12140 # linking a shared library.
12141 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12149 # PORTME: fill in a description of your system's C++ link characteristics
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12151 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12155 # FIXME: insert proper C++ library support
12159 if test "$host_cpu" = ia64
; then
12160 # On IA64, the linker does run time linking by default, so we don't
12161 # have to do anything special.
12162 aix_use_runtimelinking
=no
12163 exp_sym_flag
='-Bexport'
12166 aix_use_runtimelinking
=no
12168 # Test if we are trying to use run time linking or normal
12169 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12170 # need to do runtime linking.
12171 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12172 for ld_flag
in $LDFLAGS; do
12175 aix_use_runtimelinking
=yes
12183 exp_sym_flag
='-bexport'
12184 no_entry_flag
='-bnoentry'
12187 # When large executables or shared objects are built, AIX ld can
12188 # have problems creating the table of contents. If linking a library
12189 # or program results in "error TOC overflow" add -mminimal-toc to
12190 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12191 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12193 archive_cmds_CXX
=''
12194 hardcode_direct_CXX
=yes
12195 hardcode_direct_absolute_CXX
=yes
12196 hardcode_libdir_separator_CXX
=':'
12197 link_all_deplibs_CXX
=yes
12198 file_list_spec_CXX
='${wl}-f,'
12200 if test "$GXX" = yes; then
12201 case $host_os in aix4.
[012]|aix4.
[012].
*)
12202 # We only want to do this on AIX 4.2 and lower, the check
12203 # below for broken collect2 doesn't work under 4.3+
12204 collect2name
=`${CC} -print-prog-name=collect2`
12205 if test -f "$collect2name" &&
12206 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12208 # We have reworked collect2
12211 # We have old collect2
12212 hardcode_direct_CXX
=unsupported
12213 # It fails to find uninstalled libraries when the uninstalled
12214 # path is not listed in the libpath. Setting hardcode_minus_L
12215 # to unsupported forces relinking
12216 hardcode_minus_L_CXX
=yes
12217 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12218 hardcode_libdir_separator_CXX
=
12221 shared_flag
='-shared'
12222 if test "$aix_use_runtimelinking" = yes; then
12223 shared_flag
="$shared_flag "'${wl}-G'
12227 if test "$host_cpu" = ia64
; then
12228 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12229 # chokes on -Wl,-G. The following line is correct:
12232 if test "$aix_use_runtimelinking" = yes; then
12233 shared_flag
='${wl}-G'
12235 shared_flag
='${wl}-bM:SRE'
12240 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12241 # It seems that -bexpall does not export symbols beginning with
12242 # underscore (_), so it is better to generate a list of symbols to
12244 always_export_symbols_CXX
=yes
12245 if test "$aix_use_runtimelinking" = yes; then
12246 # Warning - without using the other runtime loading flags (-brtl),
12247 # -berok will link without error, but may produce a broken library.
12248 allow_undefined_flag_CXX
='-berok'
12249 # Determine the default libpath from the value encoded in an empty
12251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12262 if ac_fn_cxx_try_link
"$LINENO"; then :
12264 lt_aix_libpath_sed
='
12265 /Import File Strings/,/^$/ {
12271 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12272 # Check for a 64-bit object if we didn't find anything.
12273 if test -z "$aix_libpath"; then
12274 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12277 rm -f core conftest.err conftest.
$ac_objext \
12278 conftest
$ac_exeext conftest.
$ac_ext
12279 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12281 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12283 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12285 if test "$host_cpu" = ia64
; then
12286 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12287 allow_undefined_flag_CXX
="-z nodefs"
12288 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12290 # Determine the default libpath from the value encoded in an
12291 # empty executable.
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12303 if ac_fn_cxx_try_link
"$LINENO"; then :
12305 lt_aix_libpath_sed
='
12306 /Import File Strings/,/^$/ {
12312 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12313 # Check for a 64-bit object if we didn't find anything.
12314 if test -z "$aix_libpath"; then
12315 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12318 rm -f core conftest.err conftest.
$ac_objext \
12319 conftest
$ac_exeext conftest.
$ac_ext
12320 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12322 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12323 # Warning - without using the other run time loading flags,
12324 # -berok will link without error, but may produce a broken library.
12325 no_undefined_flag_CXX
=' ${wl}-bernotok'
12326 allow_undefined_flag_CXX
=' ${wl}-berok'
12327 # Exported symbols can be pulled into shared objects from archives
12328 whole_archive_flag_spec_CXX
='$convenience'
12329 archive_cmds_need_lc_CXX
=yes
12330 # This is similar to how AIX traditionally builds its shared
12332 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12338 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12339 allow_undefined_flag_CXX
=unsupported
12340 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12341 # support --undefined. This deserves some investigation. FIXME
12342 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12349 case $cc_basename in
12351 # FIXME: insert proper C++ library support
12357 cygwin
* | mingw
* | pw32
* | cegcc
*)
12358 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12359 # as there is no search path for DLLs.
12360 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12361 allow_undefined_flag_CXX
=unsupported
12362 always_export_symbols_CXX
=no
12363 enable_shared_with_static_runtimes_CXX
=yes
12365 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12366 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12367 # If the export-symbols file already is a .def file (1st line
12368 # is EXPORTS), use it as is; otherwise, prepend...
12369 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12370 cp $export_symbols $output_objdir/$soname.def;
12372 echo EXPORTS > $output_objdir/$soname.def;
12373 cat $export_symbols >> $output_objdir/$soname.def;
12375 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12380 darwin
* | rhapsody
*)
12383 archive_cmds_need_lc_CXX
=no
12384 hardcode_direct_CXX
=no
12385 hardcode_automatic_CXX
=yes
12386 hardcode_shlibpath_var_CXX
=unsupported
12387 whole_archive_flag_spec_CXX
=''
12388 link_all_deplibs_CXX
=yes
12389 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12390 case $cc_basename in
12391 ifort
*) _lt_dar_can_shared
=yes ;;
12392 *) _lt_dar_can_shared
=$GCC ;;
12394 if test "$_lt_dar_can_shared" = "yes"; then
12395 output_verbose_link_cmd
=echo
12396 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12397 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12398 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12399 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12400 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12401 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12402 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12412 case $cc_basename in
12414 # FIXME: insert proper C++ library support
12418 # Green Hills C++ Compiler
12419 # FIXME: insert proper C++ library support
12423 # FIXME: insert proper C++ library support
12430 # C++ shared libraries reported to be fairly broken before
12436 archive_cmds_need_lc_CXX
=no
12439 freebsd
* | dragonfly
*)
12440 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12449 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12450 hardcode_libdir_separator_CXX
=:
12451 export_dynamic_flag_spec_CXX
='${wl}-E'
12452 hardcode_direct_CXX
=yes
12453 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12454 # but as the default
12455 # location of the library.
12457 case $cc_basename in
12459 # FIXME: insert proper C++ library support
12463 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12464 # Commands to make compiler produce verbose output that lists
12465 # what "hidden" libraries, object files and flags are used when
12466 # linking a shared library.
12468 # There doesn't appear to be a way to prevent this compiler from
12469 # explicitly linking system object files so we need to strip them
12470 # from the output so that they don't get included in the library
12472 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12475 if test "$GXX" = yes; then
12476 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12478 # FIXME: insert proper C++ library support
12486 if test $with_gnu_ld = no
; then
12487 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12488 hardcode_libdir_separator_CXX
=:
12494 export_dynamic_flag_spec_CXX
='${wl}-E'
12500 hardcode_direct_CXX
=no
12501 hardcode_shlibpath_var_CXX
=no
12504 hardcode_direct_CXX
=yes
12505 hardcode_direct_absolute_CXX
=yes
12506 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12507 # but as the default
12508 # location of the library.
12512 case $cc_basename in
12514 # FIXME: insert proper C++ library support
12520 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12523 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12526 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12529 # Commands to make compiler produce verbose output that lists
12530 # what "hidden" libraries, object files and flags are used when
12531 # linking a shared library.
12533 # There doesn't appear to be a way to prevent this compiler from
12534 # explicitly linking system object files so we need to strip them
12535 # from the output so that they don't get included in the library
12537 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12540 if test "$GXX" = yes; then
12541 if test $with_gnu_ld = no
; then
12544 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12547 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12550 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12555 # FIXME: insert proper C++ library support
12563 hardcode_direct_CXX
=no
12564 hardcode_shlibpath_var_CXX
=no
12565 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12566 export_dynamic_flag_spec_CXX
='${wl}-E'
12567 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12568 # Instead, shared libraries are loaded at an image base (0x10000000 by
12569 # default) and relocated if they conflict, which is a slow very memory
12570 # consuming and fragmenting process. To avoid this, we pick a random,
12571 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12572 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12573 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12574 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12577 case $cc_basename in
12580 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12582 # Archives containing C++ object files must be created using
12583 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12584 # necessary to make sure instantiated templates are included
12586 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12589 if test "$GXX" = yes; then
12590 if test "$with_gnu_ld" = no
; then
12591 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12593 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12596 link_all_deplibs_CXX
=yes
12599 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12600 hardcode_libdir_separator_CXX
=:
12601 inherit_rpath_CXX
=yes
12604 linux
* | k
*bsd
*-gnu)
12605 case $cc_basename in
12607 # Kuck and Associates, Inc. (KAI) C++ Compiler
12609 # KCC will only create a shared library if the output file
12610 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12611 # to its proper name (with version) after linking.
12612 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12613 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12614 # Commands to make compiler produce verbose output that lists
12615 # what "hidden" libraries, object files and flags are used when
12616 # linking a shared library.
12618 # There doesn't appear to be a way to prevent this compiler from
12619 # explicitly linking system object files so we need to strip them
12620 # from the output so that they don't get included in the library
12622 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12624 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12625 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12627 # Archives containing C++ object files must be created using
12628 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12629 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12634 # version 8.0 and above of icpc choke on multiply defined symbols
12635 # if we add $predep_objects and $postdep_objects, however 7.1 and
12636 # earlier do not add the objects themselves.
12637 case `$CC -V 2>&1` in
12639 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12640 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12642 *) # Version 8.0 or newer
12645 ia64
*) tmp_idyn
=' -i_dynamic';;
12647 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12648 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12651 archive_cmds_need_lc_CXX
=no
12652 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12653 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12654 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12657 # Portland Group C++ compiler
12659 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
12660 prelink_cmds_CXX
='tpldir=Template.dir~
12662 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12663 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12664 old_archive_cmds_CXX
='tpldir=Template.dir~
12666 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12667 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12669 archive_cmds_CXX
='tpldir=Template.dir~
12671 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12672 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12673 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12675 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12676 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12678 *) # Version 6 will use weak symbols
12679 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12680 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12684 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12685 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12686 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12690 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12691 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12693 runpath_var
=LD_RUN_PATH
12694 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12695 hardcode_libdir_separator_CXX
=:
12697 # Commands to make compiler produce verbose output that lists
12698 # what "hidden" libraries, object files and flags are used when
12699 # linking a shared library.
12701 # There doesn't appear to be a way to prevent this compiler from
12702 # explicitly linking system object files so we need to strip them
12703 # from the output so that they don't get included in the library
12705 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12708 # IBM XL 8.0 on PPC, with GNU ld
12709 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12710 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12711 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12712 if test "x$supports_anon_versioning" = xyes
; then
12713 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12714 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12715 echo "local: *; };" >> $output_objdir/$libname.ver~
12716 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12720 case `$CC -V 2>&1 | sed 5q` in
12723 no_undefined_flag_CXX
=' -zdefs'
12724 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12725 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12726 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12727 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12728 compiler_needs_object_CXX
=yes
12730 # Not sure whether something based on
12731 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12733 output_verbose_link_cmd
='echo'
12735 # Archives containing C++ object files must be created using
12736 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12737 # necessary to make sure instantiated templates are included
12739 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12747 # FIXME: insert proper C++ library support
12752 # FIXME: insert proper C++ library support
12757 case $cc_basename in
12759 # FIXME: insert proper C++ library support
12763 # FIXME: insert proper C++ library support
12770 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12771 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12773 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12774 hardcode_direct_CXX
=yes
12775 hardcode_shlibpath_var_CXX
=no
12777 # Workaround some broken pre-1.5 toolchains
12778 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12786 # C++ shared libraries are fairly broken
12791 if test -f /usr
/libexec
/ld.so
; then
12792 hardcode_direct_CXX
=yes
12793 hardcode_shlibpath_var_CXX
=no
12794 hardcode_direct_absolute_CXX
=yes
12795 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12796 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12797 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12798 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12799 export_dynamic_flag_spec_CXX
='${wl}-E'
12800 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12802 output_verbose_link_cmd
=echo
12808 osf3
* | osf4
* | osf5
*)
12809 case $cc_basename in
12811 # Kuck and Associates, Inc. (KAI) C++ Compiler
12813 # KCC will only create a shared library if the output file
12814 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12815 # to its proper name (with version) after linking.
12816 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12818 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12819 hardcode_libdir_separator_CXX
=:
12821 # Archives containing C++ object files must be created using
12822 # the KAI C++ compiler.
12824 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12825 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12829 # Rational C++ 2.4.1
12830 # FIXME: insert proper C++ library support
12836 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12837 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12838 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12841 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12842 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12843 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12844 echo "-hidden">> $lib.exp~
12845 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12847 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12851 hardcode_libdir_separator_CXX
=:
12853 # Commands to make compiler produce verbose output that lists
12854 # what "hidden" libraries, object files and flags are used when
12855 # linking a shared library.
12857 # There doesn't appear to be a way to prevent this compiler from
12858 # explicitly linking system object files so we need to strip them
12859 # from the output so that they don't get included in the library
12861 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12864 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12865 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12868 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12871 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12875 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12876 hardcode_libdir_separator_CXX
=:
12878 # Commands to make compiler produce verbose output that lists
12879 # what "hidden" libraries, object files and flags are used when
12880 # linking a shared library.
12881 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12884 # FIXME: insert proper C++ library support
12892 # FIXME: insert proper C++ library support
12897 case $cc_basename in
12900 # FIXME: insert proper C++ library support
12905 # FIXME: insert proper C++ library support
12909 # FIXME: insert proper C++ library support
12916 case $cc_basename in
12918 # Sun C++ 4.2, 5.x and Centerline C++
12919 archive_cmds_need_lc_CXX
=yes
12920 no_undefined_flag_CXX
=' -zdefs'
12921 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12922 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12923 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12925 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12926 hardcode_shlibpath_var_CXX
=no
12928 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12930 # The compiler driver will combine and reorder linker options,
12931 # but understands `-z linker_flag'.
12932 # Supported since Solaris 2.6 (maybe 2.5.1?)
12933 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12936 link_all_deplibs_CXX
=yes
12938 output_verbose_link_cmd
='echo'
12940 # Archives containing C++ object files must be created using
12941 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12942 # necessary to make sure instantiated templates are included
12944 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12947 # Green Hills C++ Compiler
12948 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12950 # The C++ compiler must be used to create the archive.
12951 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12954 # GNU C++ compiler with Solaris linker
12955 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12956 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12957 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12958 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12959 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12960 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12962 # Commands to make compiler produce verbose output that lists
12963 # what "hidden" libraries, object files and flags are used when
12964 # linking a shared library.
12965 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12967 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12969 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12970 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12971 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12973 # Commands to make compiler produce verbose output that lists
12974 # what "hidden" libraries, object files and flags are used when
12975 # linking a shared library.
12976 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12979 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12981 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12983 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12991 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12992 no_undefined_flag_CXX
='${wl}-z,text'
12993 archive_cmds_need_lc_CXX
=no
12994 hardcode_shlibpath_var_CXX
=no
12995 runpath_var
='LD_RUN_PATH'
12997 case $cc_basename in
12999 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13000 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13003 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13004 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13009 sysv5
* | sco3.2v5
* | sco5v6
*)
13010 # Note: We can NOT use -z defs as we might desire, because we do not
13011 # link with -lc, and that would cause any symbols used from libc to
13012 # always be unresolved, which means just about no library would
13013 # ever link correctly. If we're not using GNU ld we use -z text
13014 # though, which does catch some bad symbols but isn't as heavy-handed
13016 no_undefined_flag_CXX
='${wl}-z,text'
13017 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13018 archive_cmds_need_lc_CXX
=no
13019 hardcode_shlibpath_var_CXX
=no
13020 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13021 hardcode_libdir_separator_CXX
=':'
13022 link_all_deplibs_CXX
=yes
13023 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13024 runpath_var
='LD_RUN_PATH'
13026 case $cc_basename in
13028 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13029 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13032 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13033 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13039 case $cc_basename in
13041 # NonStop-UX NCC 3.20
13042 # FIXME: insert proper C++ library support
13046 # FIXME: insert proper C++ library support
13053 # FIXME: insert proper C++ library support
13058 # FIXME: insert proper C++ library support
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13064 $as_echo "$ld_shlibs_CXX" >&6; }
13065 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13071 ## There is no encapsulation within the following macros, do not change
13072 ## the running order or otherwise move them around unless you know exactly
13073 ## what you are doing...
13074 # Dependencies to place before and after the object being linked:
13075 predep_objects_CXX
=
13076 postdep_objects_CXX
=
13079 compiler_lib_search_path_CXX
=
13081 cat > conftest.
$ac_ext <<_LT_EOF
13085 Foo (void) { a = 0; }
13091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13092 (eval $ac_compile) 2>&5
13094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13095 test $ac_status = 0; }; then
13096 # Parse the compiler output and extract the necessary
13097 # objects, libraries and library flags.
13099 # Sentinel used to keep track of whether or not we are before
13100 # the conftest object file.
13101 pre_test_object_deps_done
=no
13103 for p
in `eval "$output_verbose_link_cmd"`; do
13107 # Some compilers place space between "-{L,R}" and the path.
13108 # Remove the space.
13109 if test $p = "-L" ||
13110 test $p = "-R"; then
13117 if test "$pre_test_object_deps_done" = no
; then
13120 # Internal compiler library paths should come after those
13121 # provided the user. The postdeps already come after the
13122 # user supplied libs so there is no need to process them.
13123 if test -z "$compiler_lib_search_path_CXX"; then
13124 compiler_lib_search_path_CXX
="${prev}${p}"
13126 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13129 # The "-l" case would never come before the object being
13130 # linked, so don't bother handling this case.
13133 if test -z "$postdeps_CXX"; then
13134 postdeps_CXX
="${prev}${p}"
13136 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13142 # This assumes that the test object file only shows up
13143 # once in the compiler output.
13144 if test "$p" = "conftest.$objext"; then
13145 pre_test_object_deps_done
=yes
13149 if test "$pre_test_object_deps_done" = no
; then
13150 if test -z "$predep_objects_CXX"; then
13151 predep_objects_CXX
="$p"
13153 predep_objects_CXX
="$predep_objects_CXX $p"
13156 if test -z "$postdep_objects_CXX"; then
13157 postdep_objects_CXX
="$p"
13159 postdep_objects_CXX
="$postdep_objects_CXX $p"
13164 *) ;; # Ignore the rest.
13172 echo "libtool.m4: error: problem compiling CXX test program"
13175 $RM -f confest.
$objext
13177 # PORTME: override above test on systems where it is broken
13180 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13181 # hack all around it, let's just trust "g++" to DTRT.
13182 predep_objects_CXX
=
13183 postdep_objects_CXX
=
13188 case `$CC -V 2>&1 | sed 5q` in
13192 # The more standards-conforming stlport4 library is
13193 # incompatible with the Cstd library. Avoid specifying
13194 # it if it's in CXXFLAGS. Ignore libCrun as
13195 # -library=stlport4 depends on it.
13196 case " $CXX $CXXFLAGS " in
13197 *" -library=stlport4 "*)
13198 solaris_use_stlport4
=yes
13202 if test "$solaris_use_stlport4" != yes; then
13203 postdeps_CXX
='-library=Cstd -library=Crun'
13210 case $cc_basename in
13212 # The more standards-conforming stlport4 library is
13213 # incompatible with the Cstd library. Avoid specifying
13214 # it if it's in CXXFLAGS. Ignore libCrun as
13215 # -library=stlport4 depends on it.
13216 case " $CXX $CXXFLAGS " in
13217 *" -library=stlport4 "*)
13218 solaris_use_stlport4
=yes
13222 # Adding this requires a known-good setup of shared libraries for
13223 # Sun compiler versions before 5.6, else PIC objects from an old
13224 # archive will be linked into the output, leading to subtle bugs.
13225 if test "$solaris_use_stlport4" != yes; then
13226 postdeps_CXX
='-library=Cstd -library=Crun'
13234 case " $postdeps_CXX " in
13235 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13237 compiler_lib_search_dirs_CXX
=
13238 if test -n "${compiler_lib_search_path_CXX}"; then
13239 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13272 lt_prog_compiler_wl_CXX
=
13273 lt_prog_compiler_pic_CXX
=
13274 lt_prog_compiler_static_CXX
=
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13277 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13279 # C++ specific cases for pic, static, wl, etc.
13280 if test "$GXX" = yes; then
13281 lt_prog_compiler_wl_CXX
='-Wl,'
13282 lt_prog_compiler_static_CXX
='-static'
13286 # All AIX code is PIC.
13287 if test "$host_cpu" = ia64
; then
13288 # AIX 5 now supports IA64 processor
13289 lt_prog_compiler_static_CXX
='-Bstatic'
13296 # see comment about AmigaOS4 .so support
13297 lt_prog_compiler_pic_CXX
='-fPIC'
13300 # FIXME: we need at least 68020 code to build shared libraries, but
13301 # adding the `-m68020' flag to GCC prevents building anything better,
13303 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13308 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13309 # PIC is the default for these OSes.
13311 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13312 # This hack is so that the source file can tell whether it is being
13313 # built for inclusion in a dll (and should export symbols for example).
13314 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13315 # (--disable-auto-import) libraries
13316 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13318 darwin
* | rhapsody
*)
13319 # PIC is the default on this platform
13320 # Common symbols not allowed in MH_DYLIB files
13321 lt_prog_compiler_pic_CXX
='-fno-common'
13324 # DJGPP does not support shared libraries at all
13325 lt_prog_compiler_pic_CXX
=
13328 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13329 # Instead, we relocate shared libraries at runtime.
13332 if test -d /usr
/nec
; then
13333 lt_prog_compiler_pic_CXX
=-Kconform_pic
13337 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13338 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13339 # sets the default TLS model and affects inlining.
13344 lt_prog_compiler_pic_CXX
='-fPIC'
13349 # QNX uses GNU C++, but need to define -shared option too, otherwise
13350 # it will coredump.
13351 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13354 lt_prog_compiler_pic_CXX
='-fPIC'
13360 # All AIX code is PIC.
13361 if test "$host_cpu" = ia64
; then
13362 # AIX 5 now supports IA64 processor
13363 lt_prog_compiler_static_CXX
='-Bstatic'
13365 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13369 case $cc_basename in
13371 # Green Hills C++ Compiler
13372 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13377 case $cc_basename in
13379 lt_prog_compiler_pic_CXX
='-KPIC'
13382 # Green Hills C++ Compiler
13383 lt_prog_compiler_pic_CXX
='-pic'
13389 freebsd
* | dragonfly
*)
13390 # FreeBSD uses GNU C++
13392 hpux9
* | hpux10
* | hpux11
*)
13393 case $cc_basename in
13395 lt_prog_compiler_wl_CXX
='-Wl,'
13396 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13397 if test "$host_cpu" != ia64
; then
13398 lt_prog_compiler_pic_CXX
='+Z'
13402 lt_prog_compiler_wl_CXX
='-Wl,'
13403 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13409 lt_prog_compiler_pic_CXX
='+Z'
13418 # This is c89, which is MS Visual C++ (no shared libs)
13419 # Anyone wants to do a port?
13421 irix5
* | irix6
* | nonstopux
*)
13422 case $cc_basename in
13424 lt_prog_compiler_wl_CXX
='-Wl,'
13425 lt_prog_compiler_static_CXX
='-non_shared'
13426 # CC pic flag -KPIC is the default.
13432 linux
* | k
*bsd
*-gnu)
13433 case $cc_basename in
13436 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13437 lt_prog_compiler_pic_CXX
='-fPIC'
13440 # old Intel C++ for x86_64 which still supported -KPIC.
13441 lt_prog_compiler_wl_CXX
='-Wl,'
13442 lt_prog_compiler_pic_CXX
='-KPIC'
13443 lt_prog_compiler_static_CXX
='-static'
13446 # Intel C++, used to be incompatible with GCC.
13447 # ICC 10 doesn't accept -KPIC any more.
13448 lt_prog_compiler_wl_CXX
='-Wl,'
13449 lt_prog_compiler_pic_CXX
='-fPIC'
13450 lt_prog_compiler_static_CXX
='-static'
13453 # Portland Group C++ compiler
13454 lt_prog_compiler_wl_CXX
='-Wl,'
13455 lt_prog_compiler_pic_CXX
='-fpic'
13456 lt_prog_compiler_static_CXX
='-Bstatic'
13460 # Make sure the PIC flag is empty. It appears that all Alpha
13461 # Linux and Compaq Tru64 Unix objects are PIC.
13462 lt_prog_compiler_pic_CXX
=
13463 lt_prog_compiler_static_CXX
='-non_shared'
13466 # IBM XL 8.0 on PPC
13467 lt_prog_compiler_wl_CXX
='-Wl,'
13468 lt_prog_compiler_pic_CXX
='-qpic'
13469 lt_prog_compiler_static_CXX
='-qstaticlink'
13472 case `$CC -V 2>&1 | sed 5q` in
13475 lt_prog_compiler_pic_CXX
='-KPIC'
13476 lt_prog_compiler_static_CXX
='-Bstatic'
13477 lt_prog_compiler_wl_CXX
='-Qoption ld '
13488 case $cc_basename in
13490 lt_prog_compiler_pic_CXX
='-W c,exportall'
13496 netbsd
* | netbsdelf
*-gnu)
13499 # QNX uses GNU C++, but need to define -shared option too, otherwise
13500 # it will coredump.
13501 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13503 osf3
* | osf4
* | osf5
*)
13504 case $cc_basename in
13506 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13509 # Rational C++ 2.4.1
13510 lt_prog_compiler_pic_CXX
='-pic'
13513 # Digital/Compaq C++
13514 lt_prog_compiler_wl_CXX
='-Wl,'
13515 # Make sure the PIC flag is empty. It appears that all Alpha
13516 # Linux and Compaq Tru64 Unix objects are PIC.
13517 lt_prog_compiler_pic_CXX
=
13518 lt_prog_compiler_static_CXX
='-non_shared'
13527 case $cc_basename in
13529 # Sun C++ 4.2, 5.x and Centerline C++
13530 lt_prog_compiler_pic_CXX
='-KPIC'
13531 lt_prog_compiler_static_CXX
='-Bstatic'
13532 lt_prog_compiler_wl_CXX
='-Qoption ld '
13535 # Green Hills C++ Compiler
13536 lt_prog_compiler_pic_CXX
='-PIC'
13543 case $cc_basename in
13546 lt_prog_compiler_pic_CXX
='-pic'
13547 lt_prog_compiler_static_CXX
='-Bstatic'
13551 lt_prog_compiler_pic_CXX
='-pic'
13557 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13558 case $cc_basename in
13560 lt_prog_compiler_wl_CXX
='-Wl,'
13561 lt_prog_compiler_pic_CXX
='-KPIC'
13562 lt_prog_compiler_static_CXX
='-Bstatic'
13567 case $cc_basename in
13569 # NonStop-UX NCC 3.20
13570 lt_prog_compiler_pic_CXX
='-KPIC'
13579 lt_prog_compiler_can_build_shared_CXX
=no
13585 # For platforms which do not support PIC, -DPIC is meaningless:
13587 lt_prog_compiler_pic_CXX
=
13590 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13594 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13599 # Check to make sure the PIC flag actually works.
13601 if test -n "$lt_prog_compiler_pic_CXX"; then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13603 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13604 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13605 $as_echo_n "(cached) " >&6
13607 lt_cv_prog_compiler_pic_works_CXX
=no
13608 ac_outfile
=conftest.
$ac_objext
13609 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13610 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13611 # Insert the option either (1) after the last *FLAGS variable, or
13612 # (2) before a word containing "conftest.", or (3) at the end.
13613 # Note that $ac_compile itself does not contain backslashes and begins
13614 # with a dollar sign (not a hyphen), so the echo should work correctly.
13615 # The option is referenced via a variable to avoid confusing sed.
13616 lt_compile
=`echo "$ac_compile" | $SED \
13617 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13618 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13619 -e 's:$: $lt_compiler_flag:'`
13620 (eval echo "\"\$as_me:13620: $lt_compile\"" >&5)
13621 (eval "$lt_compile" 2>conftest.err
)
13623 cat conftest.err
>&5
13624 echo "$as_me:13624: \$? = $ac_status" >&5
13625 if (exit $ac_status) && test -s "$ac_outfile"; then
13626 # The compiler can only warn and ignore the option if not recognized
13627 # So say no if there are warnings other than the usual output.
13628 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13629 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13630 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13631 lt_cv_prog_compiler_pic_works_CXX
=yes
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13638 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13640 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13641 case $lt_prog_compiler_pic_CXX in
13643 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13646 lt_prog_compiler_pic_CXX
=
13647 lt_prog_compiler_can_build_shared_CXX
=no
13655 # Check to make sure the static flag actually works.
13657 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13659 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13660 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13661 $as_echo_n "(cached) " >&6
13663 lt_cv_prog_compiler_static_works_CXX
=no
13664 save_LDFLAGS
="$LDFLAGS"
13665 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13666 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13667 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13668 # The linker can only warn and ignore the option if not recognized
13669 # So say no if there are warnings
13670 if test -s conftest.err
; then
13671 # Append any errors to the config.log.
13672 cat conftest.err
1>&5
13673 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13674 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13675 if diff conftest.exp conftest.er2
>/dev
/null
; then
13676 lt_cv_prog_compiler_static_works_CXX
=yes
13679 lt_cv_prog_compiler_static_works_CXX
=yes
13683 LDFLAGS
="$save_LDFLAGS"
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13687 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13689 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13692 lt_prog_compiler_static_CXX
=
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13699 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13700 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13701 $as_echo_n "(cached) " >&6
13703 lt_cv_prog_compiler_c_o_CXX
=no
13704 $RM -r conftest
2>/dev
/null
13708 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13710 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13711 # Insert the option either (1) after the last *FLAGS variable, or
13712 # (2) before a word containing "conftest.", or (3) at the end.
13713 # Note that $ac_compile itself does not contain backslashes and begins
13714 # with a dollar sign (not a hyphen), so the echo should work correctly.
13715 lt_compile
=`echo "$ac_compile" | $SED \
13716 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13717 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13718 -e 's:$: $lt_compiler_flag:'`
13719 (eval echo "\"\$as_me:13719: $lt_compile\"" >&5)
13720 (eval "$lt_compile" 2>out
/conftest.err
)
13722 cat out
/conftest.err
>&5
13723 echo "$as_me:13723: \$? = $ac_status" >&5
13724 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13726 # The compiler can only warn and ignore the option if not recognized
13727 # So say no if there are warnings
13728 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13729 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13730 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13731 lt_cv_prog_compiler_c_o_CXX
=yes
13736 # SGI C++ compiler will create directory out/ii_files/ for
13737 # template instantiation
13738 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13739 $RM out
/* && rmdir out
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13746 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13751 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13752 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13753 $as_echo_n "(cached) " >&6
13755 lt_cv_prog_compiler_c_o_CXX
=no
13756 $RM -r conftest
2>/dev
/null
13760 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13762 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13763 # Insert the option either (1) after the last *FLAGS variable, or
13764 # (2) before a word containing "conftest.", or (3) at the end.
13765 # Note that $ac_compile itself does not contain backslashes and begins
13766 # with a dollar sign (not a hyphen), so the echo should work correctly.
13767 lt_compile
=`echo "$ac_compile" | $SED \
13768 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13769 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13770 -e 's:$: $lt_compiler_flag:'`
13771 (eval echo "\"\$as_me:13771: $lt_compile\"" >&5)
13772 (eval "$lt_compile" 2>out
/conftest.err
)
13774 cat out
/conftest.err
>&5
13775 echo "$as_me:13775: \$? = $ac_status" >&5
13776 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13778 # The compiler can only warn and ignore the option if not recognized
13779 # So say no if there are warnings
13780 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13781 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13782 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13783 lt_cv_prog_compiler_c_o_CXX
=yes
13788 # SGI C++ compiler will create directory out/ii_files/ for
13789 # template instantiation
13790 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13791 $RM out
/* && rmdir out
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13798 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13803 hard_links
="nottested"
13804 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13805 # do not overwrite the value of need_locks provided by the user
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13807 $as_echo_n "checking if we can lock with hard links... " >&6; }
13810 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13812 ln conftest.a conftest.b
2>&5 || hard_links
=no
13813 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13815 $as_echo "$hard_links" >&6; }
13816 if test "$hard_links" = no
; then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13818 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13828 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13830 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13833 # If we're using GNU nm, then we don't want the "-C" option.
13834 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13835 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13836 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13838 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13842 export_symbols_cmds_CXX
="$ltdll_cmds"
13844 cygwin
* | mingw
* | cegcc
*)
13845 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13847 linux
* | k
*bsd
*-gnu)
13848 link_all_deplibs_CXX
=no
13851 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13854 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13857 $as_echo "$ld_shlibs_CXX" >&6; }
13858 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13860 with_gnu_ld_CXX
=$with_gnu_ld
13868 # Do we need to explicitly link libc?
13870 case "x$archive_cmds_need_lc_CXX" in
13872 # Assume -lc should be added
13873 archive_cmds_need_lc_CXX
=yes
13875 if test "$enable_shared" = yes && test "$GCC" = yes; then
13876 case $archive_cmds_CXX in
13878 # FIXME: we may have to deal with multi-command sequences.
13881 # Test whether the compiler implicitly links with -lc since on some
13882 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13883 # to ld, don't add -lc before -lgcc.
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13885 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13887 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13890 (eval $ac_compile) 2>&5
13892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13893 test $ac_status = 0; } 2>conftest.err
; then
13896 libobjs
=conftest.
$ac_objext
13898 wl
=$lt_prog_compiler_wl_CXX
13899 pic_flag
=$lt_prog_compiler_pic_CXX
13905 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13906 allow_undefined_flag_CXX
=
13907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13908 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13911 test $ac_status = 0; }
13913 archive_cmds_need_lc_CXX
=no
13915 archive_cmds_need_lc_CXX
=yes
13917 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13919 cat conftest.err
1>&5
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13923 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13994 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13996 library_names_spec
=
13997 libname_spec
='lib$name'
14001 postuninstall_cmds
=
14005 shlibpath_overrides_runpath
=unknown
14007 dynamic_linker
="$host_os ld.so"
14008 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14009 need_lib_prefix
=unknown
14010 hardcode_into_libs
=no
14012 # when you set need_version to no, make sure it does not cause -set_version
14013 # flags to be left without arguments
14014 need_version
=unknown
14019 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14020 shlibpath_var
=LIBPATH
14022 # AIX 3 has no versioning support, so we append a major version to the name.
14023 soname_spec
='${libname}${release}${shared_ext}$major'
14030 hardcode_into_libs
=yes
14031 if test "$host_cpu" = ia64
; then
14032 # AIX 5 supports IA64
14033 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14034 shlibpath_var
=LD_LIBRARY_PATH
14036 # With GCC up to 2.95.x, collect2 would create an import file
14037 # for dependence libraries. The import file would start with
14038 # the line `#! .'. This would cause the generated library to
14039 # depend on `.', always an invalid library. This was fixed in
14040 # development snapshots of GCC prior to 3.0.
14042 aix4 | aix4.
[01] | aix4.
[01].
*)
14043 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14045 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14048 can_build_shared
=no
14052 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14053 # soname into executable. Probably we can add versioning support to
14054 # collect2, so additional links can be useful in future.
14055 if test "$aix_use_runtimelinking" = yes; then
14056 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14057 # instead of lib<name>.a to let people know that these are not
14058 # typical AIX shared libraries.
14059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14061 # We preserve .a as extension for shared libraries through AIX4.2
14062 # and later when we are not doing run time linking.
14063 library_names_spec
='${libname}${release}.a $libname.a'
14064 soname_spec
='${libname}${release}${shared_ext}$major'
14066 shlibpath_var
=LIBPATH
14073 # Since July 2007 AmigaOS4 officially supports .so libraries.
14074 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14078 library_names_spec
='$libname.ixlibrary $libname.a'
14079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14080 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
14086 library_names_spec
='${libname}${shared_ext}'
14087 dynamic_linker
="$host_os ld.so"
14088 shlibpath_var
=LIBRARY_PATH
14094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14095 soname_spec
='${libname}${release}${shared_ext}$major'
14096 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14097 shlibpath_var
=LD_LIBRARY_PATH
14098 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14099 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14100 # the default ld.so.conf also contains /usr/contrib/lib and
14101 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14102 # libtool to hard-code these into programs
14105 cygwin
* | mingw
* | pw32
* | cegcc
*)
14106 version_type
=windows
14111 case $GCC,$host_os in
14112 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14113 library_names_spec
='$libname.dll.a'
14114 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14115 postinstall_cmds
='base_file=`basename \${file}`~
14116 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14117 dldir=$destdir/`dirname \$dlpath`~
14118 test -d \$dldir || mkdir -p \$dldir~
14119 $install_prog $dir/$dlname \$dldir/$dlname~
14120 chmod a+x \$dldir/$dlname~
14121 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14122 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14124 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14125 dlpath=$dir/\$dldll~
14127 shlibpath_overrides_runpath
=yes
14131 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14132 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14133 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14136 # MinGW DLLs use traditional 'lib' prefix
14137 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14138 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14139 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14140 # It is most probably a Windows format PATH printed by
14141 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14142 # path with ; separators, and with drive letters. We can handle the
14143 # drive letters (cygwin fileutils understands them), so leave them,
14144 # especially as we might pass files found there to a mingw objdump,
14145 # which wouldn't understand a cygwinified path. Ahh.
14146 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14148 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14152 # pw32 DLLs use 'pw' prefix rather than 'lib'
14153 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14159 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14162 dynamic_linker
='Win32 ld.exe'
14163 # FIXME: first we should search . and the directory the executable is in
14167 darwin
* | rhapsody
*)
14168 dynamic_linker
="$host_os dyld"
14169 version_type
=darwin
14172 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14173 soname_spec
='${libname}${release}${major}$shared_ext'
14174 shlibpath_overrides_runpath
=yes
14175 shlibpath_var
=DYLD_LIBRARY_PATH
14176 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14178 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14186 soname_spec
='${libname}${release}${shared_ext}$major'
14187 shlibpath_var
=LD_LIBRARY_PATH
14194 freebsd
* | dragonfly
*)
14195 # DragonFly does not have aout. When/if they implement a new
14196 # versioning mechanism, adjust this.
14197 if test -x /usr
/bin
/objformat
; then
14198 objformat
=`/usr/bin/objformat`
14201 freebsd
[123]*) objformat
=aout
;;
14202 *) objformat
=elf
;;
14205 version_type
=freebsd-
$objformat
14206 case $version_type in
14208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14213 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14217 shlibpath_var
=LD_LIBRARY_PATH
14220 shlibpath_overrides_runpath
=yes
14222 freebsd3.
[01]* | freebsdelf3.
[01]*)
14223 shlibpath_overrides_runpath
=yes
14224 hardcode_into_libs
=yes
14226 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14227 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14228 shlibpath_overrides_runpath
=no
14229 hardcode_into_libs
=yes
14231 *) # from 4.6 on, and DragonFly
14232 shlibpath_overrides_runpath
=yes
14233 hardcode_into_libs
=yes
14242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14243 soname_spec
='${libname}${release}${shared_ext}$major'
14244 shlibpath_var
=LD_LIBRARY_PATH
14245 hardcode_into_libs
=yes
14248 hpux9
* | hpux10
* | hpux11
*)
14249 # Give a soname corresponding to the major version so that dld.sl refuses to
14250 # link against other versions.
14257 hardcode_into_libs
=yes
14258 dynamic_linker
="$host_os dld.so"
14259 shlibpath_var
=LD_LIBRARY_PATH
14260 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14262 soname_spec
='${libname}${release}${shared_ext}$major'
14263 if test "X$HPUX_IA64_MODE" = X32
; then
14264 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14266 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14268 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14272 hardcode_into_libs
=yes
14273 dynamic_linker
="$host_os dld.sl"
14274 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14275 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14277 soname_spec
='${libname}${release}${shared_ext}$major'
14278 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14279 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14283 dynamic_linker
="$host_os dld.sl"
14284 shlibpath_var
=SHLIB_PATH
14285 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14287 soname_spec
='${libname}${release}${shared_ext}$major'
14290 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14291 postinstall_cmds
='chmod 555 $lib'
14298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14299 soname_spec
='${libname}${release}${shared_ext}$major'
14300 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14301 shlibpath_var
=LD_LIBRARY_PATH
14302 shlibpath_overrides_runpath
=no
14303 hardcode_into_libs
=yes
14306 irix5
* | irix6
* | nonstopux
*)
14308 nonstopux
*) version_type
=nonstopux
;;
14310 if test "$lt_cv_prog_gnu_ld" = yes; then
14318 soname_spec
='${libname}${release}${shared_ext}$major'
14319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14321 irix5
* | nonstopux
*)
14322 libsuff
= shlibsuff
=
14325 case $LD in # libtool.m4 will add one of these switches to LD
14326 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14327 libsuff
= shlibsuff
= libmagic
=32-bit;;
14328 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14329 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14330 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14331 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14332 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14336 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14337 shlibpath_overrides_runpath
=no
14338 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14339 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14340 hardcode_into_libs
=yes
14343 # No shared lib support for Linux oldld, aout, or coff.
14344 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14348 # This must be Linux ELF.
14349 linux
* | k
*bsd
*-gnu)
14353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14354 soname_spec
='${libname}${release}${shared_ext}$major'
14355 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14356 shlibpath_var
=LD_LIBRARY_PATH
14357 shlibpath_overrides_runpath
=no
14358 # Some binutils ld are patched to set DT_RUNPATH
14359 save_LDFLAGS
=$LDFLAGS
14360 save_libdir
=$libdir
14361 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14362 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14374 if ac_fn_cxx_try_link
"$LINENO"; then :
14375 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14376 shlibpath_overrides_runpath
=yes
14379 rm -f core conftest.err conftest.
$ac_objext \
14380 conftest
$ac_exeext conftest.
$ac_ext
14381 LDFLAGS
=$save_LDFLAGS
14382 libdir
=$save_libdir
14384 # This implies no fast_install, which is unacceptable.
14385 # Some rework will be needed to allow for fast_install
14386 # before this can be enabled.
14387 hardcode_into_libs
=yes
14389 # Append ld.so.conf contents to the search path
14390 if test -f /etc
/ld.so.conf
; then
14391 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;/^$/d' | tr '\n' ' '`
14392 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14395 # We used to test for /lib/ld.so.1 and disable shared libraries on
14396 # powerpc, because MkLinux only supported shared libraries with the
14397 # GNU dynamic linker. Since this was broken with cross compilers,
14398 # most powerpc-linux boxes support dynamic linking these days and
14399 # people can always --disable-shared, the test was removed, and we
14400 # assume the GNU/Linux dynamic linker is in use.
14401 dynamic_linker
='GNU/Linux ld.so'
14408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14409 soname_spec
='${libname}${release}${shared_ext}$major'
14410 shlibpath_var
=LD_LIBRARY_PATH
14411 shlibpath_overrides_runpath
=no
14412 hardcode_into_libs
=yes
14413 dynamic_linker
='NetBSD ld.elf_so'
14420 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14422 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14423 dynamic_linker
='NetBSD (a.out) ld.so'
14425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14426 soname_spec
='${libname}${release}${shared_ext}$major'
14427 dynamic_linker
='NetBSD ld.elf_so'
14429 shlibpath_var
=LD_LIBRARY_PATH
14430 shlibpath_overrides_runpath
=yes
14431 hardcode_into_libs
=yes
14436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437 shlibpath_var
=LD_LIBRARY_PATH
14438 shlibpath_overrides_runpath
=yes
14445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14446 soname_spec
='${libname}${release}${shared_ext}$major'
14447 shlibpath_var
=LD_LIBRARY_PATH
14448 shlibpath_overrides_runpath
=no
14449 hardcode_into_libs
=yes
14450 dynamic_linker
='ldqnx.so'
14455 sys_lib_dlsearch_path_spec
="/usr/lib"
14457 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14459 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14460 *) need_version
=no
;;
14462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14463 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14464 shlibpath_var
=LD_LIBRARY_PATH
14465 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14467 openbsd2.
[89] | openbsd2.
[89].
*)
14468 shlibpath_overrides_runpath
=no
14471 shlibpath_overrides_runpath
=yes
14475 shlibpath_overrides_runpath
=yes
14480 libname_spec
='$name'
14483 library_names_spec
='$libname${shared_ext} $libname.a'
14484 dynamic_linker
='OS/2 ld.exe'
14485 shlibpath_var
=LIBPATH
14488 osf3
* | osf4
* | osf5
*)
14492 soname_spec
='${libname}${release}${shared_ext}$major'
14493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494 shlibpath_var
=LD_LIBRARY_PATH
14495 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14496 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14508 soname_spec
='${libname}${release}${shared_ext}$major'
14509 shlibpath_var
=LD_LIBRARY_PATH
14510 shlibpath_overrides_runpath
=yes
14511 hardcode_into_libs
=yes
14512 # ldd complains unless libraries are executable
14513 postinstall_cmds
='chmod +x $lib'
14518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14519 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14520 shlibpath_var
=LD_LIBRARY_PATH
14521 shlibpath_overrides_runpath
=yes
14522 if test "$with_gnu_ld" = yes; then
14530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14531 soname_spec
='${libname}${release}${shared_ext}$major'
14532 shlibpath_var
=LD_LIBRARY_PATH
14533 case $host_vendor in
14535 shlibpath_overrides_runpath
=no
14537 runpath_var
=LD_RUN_PATH
14545 shlibpath_overrides_runpath
=no
14546 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14552 if test -d /usr
/nec
;then
14554 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14555 soname_spec
='$libname${shared_ext}.$major'
14556 shlibpath_var
=LD_LIBRARY_PATH
14560 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14561 version_type
=freebsd-elf
14564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14565 soname_spec
='${libname}${release}${shared_ext}$major'
14566 shlibpath_var
=LD_LIBRARY_PATH
14567 shlibpath_overrides_runpath
=yes
14568 hardcode_into_libs
=yes
14569 if test "$with_gnu_ld" = yes; then
14570 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14572 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14575 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14579 sys_lib_dlsearch_path_spec
='/usr/lib'
14583 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 shlibpath_var
=LD_LIBRARY_PATH
14589 shlibpath_overrides_runpath
=no
14590 hardcode_into_libs
=yes
14595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14596 soname_spec
='${libname}${release}${shared_ext}$major'
14597 shlibpath_var
=LD_LIBRARY_PATH
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14605 $as_echo "$dynamic_linker" >&6; }
14606 test "$dynamic_linker" = no
&& can_build_shared
=no
14608 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14609 if test "$GCC" = yes; then
14610 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14613 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14614 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14616 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14617 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14656 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14657 hardcode_action_CXX
=
14658 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14659 test -n "$runpath_var_CXX" ||
14660 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14662 # We can hardcode non-existent directories.
14663 if test "$hardcode_direct_CXX" != no
&&
14664 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14665 # have to relink, otherwise we might link with an installed library
14666 # when we should be linking with a yet-to-be-installed one
14667 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14668 test "$hardcode_minus_L_CXX" != no
; then
14669 # Linking always hardcodes the temporary library directory.
14670 hardcode_action_CXX
=relink
14672 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14673 hardcode_action_CXX
=immediate
14676 # We cannot hardcode anything, or else we can only hardcode existing
14678 hardcode_action_CXX
=unsupported
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14681 $as_echo "$hardcode_action_CXX" >&6; }
14683 if test "$hardcode_action_CXX" = relink ||
14684 test "$inherit_rpath_CXX" = yes; then
14685 # Fast installation is not supported
14686 enable_fast_install
=no
14687 elif test "$shlibpath_overrides_runpath" = yes ||
14688 test "$enable_shared" = no
; then
14689 # Fast installation is not necessary
14690 enable_fast_install
=needless
14699 fi # test -n "$compiler"
14705 with_gnu_ld
=$lt_save_with_gnu_ld
14706 lt_cv_path_LDCXX
=$lt_cv_path_LD
14707 lt_cv_path_LD
=$lt_save_path_LD
14708 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14709 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14710 fi # test "$_lt_caught_CXX_error" != yes
14713 ac_cpp
='$CPP $CPPFLAGS'
14714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14730 ac_config_commands
="$ac_config_commands libtool"
14735 # Only expand once:
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14739 $as_echo_n "checking for ANSI C header files... " >&6; }
14740 if test "${ac_cv_header_stdc+set}" = set; then :
14741 $as_echo_n "(cached) " >&6
14743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14745 #include <stdlib.h>
14746 #include <stdarg.h>
14747 #include <string.h>
14758 if ac_fn_c_try_compile
"$LINENO"; then :
14759 ac_cv_header_stdc
=yes
14761 ac_cv_header_stdc
=no
14763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14765 if test $ac_cv_header_stdc = yes; then
14766 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14769 #include <string.h>
14772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14773 $EGREP "memchr" >/dev
/null
2>&1; then :
14776 ac_cv_header_stdc
=no
14782 if test $ac_cv_header_stdc = yes; then
14783 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 #include <stdlib.h>
14789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14790 $EGREP "free" >/dev
/null
2>&1; then :
14793 ac_cv_header_stdc
=no
14799 if test $ac_cv_header_stdc = yes; then
14800 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14801 if test "$cross_compiling" = yes; then :
14804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14807 #include <stdlib.h>
14808 #if ((' ' & 0x0FF) == 0x020)
14809 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14810 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14812 # define ISLOWER(c) \
14813 (('a' <= (c) && (c) <= 'i') \
14814 || ('j' <= (c) && (c) <= 'r') \
14815 || ('s' <= (c) && (c) <= 'z'))
14816 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14819 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14824 for (i = 0; i < 256; i++)
14825 if (XOR (islower (i), ISLOWER (i))
14826 || toupper (i) != TOUPPER (i))
14831 if ac_fn_c_try_run
"$LINENO"; then :
14834 ac_cv_header_stdc
=no
14836 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14837 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14843 $as_echo "$ac_cv_header_stdc" >&6; }
14844 if test $ac_cv_header_stdc = yes; then
14846 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
14852 $as_echo_n "checking whether ln -s works... " >&6; }
14854 if test "$LN_S" = "ln -s"; then
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14856 $as_echo "yes" >&6; }
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
14859 $as_echo "no, using $LN_S" >&6; }
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14864 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14865 if test "${ac_cv_c_const+set}" = set; then :
14866 $as_echo_n "(cached) " >&6
14868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14874 /* FIXME: Include the comments suggested by Paul. */
14875 #ifndef __cplusplus
14876 /* Ultrix mips cc rejects this. */
14877 typedef int charset[2];
14879 /* SunOS 4.1.1 cc rejects this. */
14880 char const *const *pcpcc;
14882 /* NEC SVR4.0.2 mips cc rejects this. */
14883 struct point {int x, y;};
14884 static struct point const zero = {0,0};
14885 /* AIX XL C 1.02.0.0 rejects this.
14886 It does not let you subtract one const X* pointer from another in
14887 an arm of an if-expression whose if-part is not a constant
14889 const char *g = "string";
14890 pcpcc = &g + (g ? g-g : 0);
14891 /* HPUX 7.0 cc rejects these. */
14893 ppc = (char**) pcpcc;
14894 pcpcc = (char const *const *) ppc;
14895 { /* SCO 3.2v4 cc rejects this. */
14897 char const *s = 0 ? (char *) 0 : (char const *) 0;
14902 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14903 int x[] = {25, 17};
14904 const int *foo = &x[0];
14907 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14908 typedef const int *iptr;
14912 { /* AIX XL C 1.02.0.0 rejects this saying
14913 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14914 struct s { int j; const int *ap[3]; };
14915 struct s *b; b->j = 5;
14917 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14918 const int foo = 10;
14919 if (!foo) return 0;
14921 return !cs[0] && !zero.x;
14928 if ac_fn_c_try_compile
"$LINENO"; then :
14933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14936 $as_echo "$ac_cv_c_const" >&6; }
14937 if test $ac_cv_c_const = no
; then
14939 $as_echo "#define const /**/" >>confdefs.h
14943 for ac_func
in vprintf
14945 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
14946 if test "x$ac_cv_func_vprintf" = x
""yes; then :
14947 cat >>confdefs.h
<<_ACEOF
14948 #define HAVE_VPRINTF 1
14951 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
14952 if test "x$ac_cv_func__doprnt" = x
""yes; then :
14954 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
14962 for ac_prog
in gawk mawk nawk
awk
14964 # Extract the first word of "$ac_prog", so it can be a program name with args.
14965 set dummy
$ac_prog; ac_word
=$2
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14967 $as_echo_n "checking for $ac_word... " >&6; }
14968 if test "${ac_cv_prog_AWK+set}" = set; then :
14969 $as_echo_n "(cached) " >&6
14971 if test -n "$AWK"; then
14972 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
14974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14975 for as_dir
in $PATH
14978 test -z "$as_dir" && as_dir
=.
14979 for ac_exec_ext
in '' $ac_executable_extensions; do
14980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14981 ac_cv_prog_AWK
="$ac_prog"
14982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14991 AWK
=$ac_cv_prog_AWK
14992 if test -n "$AWK"; then
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
14994 $as_echo "$AWK" >&6; }
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14997 $as_echo "no" >&6; }
15001 test -n "$AWK" && break
15004 if test -n "$ac_tool_prefix"; then
15005 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15006 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15008 $as_echo_n "checking for $ac_word... " >&6; }
15009 if test "${ac_cv_prog_RANLIB+set}" = set; then :
15010 $as_echo_n "(cached) " >&6
15012 if test -n "$RANLIB"; then
15013 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15016 for as_dir
in $PATH
15019 test -z "$as_dir" && as_dir
=.
15020 for ac_exec_ext
in '' $ac_executable_extensions; do
15021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15022 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15032 RANLIB
=$ac_cv_prog_RANLIB
15033 if test -n "$RANLIB"; then
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
15035 $as_echo "$RANLIB" >&6; }
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15038 $as_echo "no" >&6; }
15043 if test -z "$ac_cv_prog_RANLIB"; then
15044 ac_ct_RANLIB
=$RANLIB
15045 # Extract the first word of "ranlib", so it can be a program name with args.
15046 set dummy ranlib
; ac_word
=$2
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15048 $as_echo_n "checking for $ac_word... " >&6; }
15049 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
15050 $as_echo_n "(cached) " >&6
15052 if test -n "$ac_ct_RANLIB"; then
15053 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15056 for as_dir
in $PATH
15059 test -z "$as_dir" && as_dir
=.
15060 for ac_exec_ext
in '' $ac_executable_extensions; do
15061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15062 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15072 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15073 if test -n "$ac_ct_RANLIB"; then
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
15075 $as_echo "$ac_ct_RANLIB" >&6; }
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15078 $as_echo "no" >&6; }
15081 if test "x$ac_ct_RANLIB" = x
; then
15084 case $cross_compiling:$ac_tool_warned in
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15088 ac_tool_warned
=yes ;;
15090 RANLIB
=$ac_ct_RANLIB
15093 RANLIB
="$ac_cv_prog_RANLIB"
15096 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15097 if test "x$ac_cv_type_size_t" = x
""yes; then :
15101 cat >>confdefs.h
<<_ACEOF
15102 #define size_t unsigned int
15109 # Extract the first word of "gnuplot", so it can be a program name with args.
15110 set dummy gnuplot
; ac_word
=$2
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15112 $as_echo_n "checking for $ac_word... " >&6; }
15113 if test "${ac_cv_prog_GNUPLOT+set}" = set; then :
15114 $as_echo_n "(cached) " >&6
15116 if test -n "$GNUPLOT"; then
15117 ac_cv_prog_GNUPLOT
="$GNUPLOT" # Let the user override the test.
15119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15120 for as_dir
in $PATH
15123 test -z "$as_dir" && as_dir
=.
15124 for ac_exec_ext
in '' $ac_executable_extensions; do
15125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15126 ac_cv_prog_GNUPLOT
="true"
15127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15134 test -z "$ac_cv_prog_GNUPLOT" && ac_cv_prog_GNUPLOT
="false"
15137 GNUPLOT
=$ac_cv_prog_GNUPLOT
15138 if test -n "$GNUPLOT"; then
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT" >&5
15140 $as_echo "$GNUPLOT" >&6; }
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15143 $as_echo "no" >&6; }
15149 HAVE_GNUPLOT_FALSE
='#'
15151 HAVE_GNUPLOT_TRUE
='#'
15152 HAVE_GNUPLOT_FALSE
=
15156 # Extract the first word of "perl", so it can be a program name with args.
15157 set dummy perl
; ac_word
=$2
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15159 $as_echo_n "checking for $ac_word... " >&6; }
15160 if test "${ac_cv_prog_PERL+set}" = set; then :
15161 $as_echo_n "(cached) " >&6
15163 if test -n "$PERL"; then
15164 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
15166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15167 for as_dir
in $PATH
15170 test -z "$as_dir" && as_dir
=.
15171 for ac_exec_ext
in '' $ac_executable_extensions; do
15172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15173 ac_cv_prog_PERL
="true"
15174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15181 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL
="false"
15184 PERL
=$ac_cv_prog_PERL
15185 if test -n "$PERL"; then
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15187 $as_echo "$PERL" >&6; }
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15190 $as_echo "no" >&6; }
15196 HAVE_PERL_FALSE
='#'
15203 # Extract the first word of "doxygen", so it can be a program name with args.
15204 set dummy doxygen
; ac_word
=$2
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15206 $as_echo_n "checking for $ac_word... " >&6; }
15207 if test "${ac_cv_path_DOXYGEN+set}" = set; then :
15208 $as_echo_n "(cached) " >&6
15212 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
15215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15216 for as_dir
in $PATH
15219 test -z "$as_dir" && as_dir
=.
15220 for ac_exec_ext
in '' $ac_executable_extensions; do
15221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15222 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15233 DOXYGEN
=$ac_cv_path_DOXYGEN
15234 if test -n "$DOXYGEN"; then
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15236 $as_echo "$DOXYGEN" >&6; }
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15239 $as_echo "no" >&6; }
15243 if test x
"$DOXYGEN" = "x"; then
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find doxygen to build documentation.
15245 Have a look at http://www.doxygen.org/" >&5
15246 $as_echo "$as_me: WARNING: Cannot find doxygen to build documentation.
15247 Have a look at http://www.doxygen.org/" >&2;}
15262 DX_PROJECT
=$PACKAGE
15266 DX_DOCDIR
=doxygen-doc
15269 # Environment variables used inside doxygen.cfg:
15270 DX_ENV
="$DX_ENV SRCDIR='$srcdir'"
15272 DX_ENV
="$DX_ENV PROJECT='$DX_PROJECT'"
15274 DX_ENV
="$DX_ENV DOCDIR='$DX_DOCDIR'"
15276 DX_ENV
="$DX_ENV VERSION='$PACKAGE_VERSION'"
15283 # Check whether --enable-doxygen-doc was given.
15284 if test "${enable_doxygen_doc+set}" = set; then :
15285 enableval
=$enable_doxygen_doc;
15286 case "$enableval" in
15298 as_fn_error
"invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
15310 if test "$DX_FLAG_doc" = 1; then
15312 if test -n "$ac_tool_prefix"; then
15313 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
15314 set dummy
${ac_tool_prefix}doxygen
; ac_word
=$2
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15316 $as_echo_n "checking for $ac_word... " >&6; }
15317 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
15318 $as_echo_n "(cached) " >&6
15320 case $DX_DOXYGEN in
15322 ac_cv_path_DX_DOXYGEN
="$DX_DOXYGEN" # Let the user override the test with a path.
15325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15326 for as_dir
in $PATH
15329 test -z "$as_dir" && as_dir
=.
15330 for ac_exec_ext
in '' $ac_executable_extensions; do
15331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15332 ac_cv_path_DX_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15343 DX_DOXYGEN
=$ac_cv_path_DX_DOXYGEN
15344 if test -n "$DX_DOXYGEN"; then
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
15346 $as_echo "$DX_DOXYGEN" >&6; }
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15349 $as_echo "no" >&6; }
15354 if test -z "$ac_cv_path_DX_DOXYGEN"; then
15355 ac_pt_DX_DOXYGEN
=$DX_DOXYGEN
15356 # Extract the first word of "doxygen", so it can be a program name with args.
15357 set dummy doxygen
; ac_word
=$2
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15359 $as_echo_n "checking for $ac_word... " >&6; }
15360 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
15361 $as_echo_n "(cached) " >&6
15363 case $ac_pt_DX_DOXYGEN in
15365 ac_cv_path_ac_pt_DX_DOXYGEN
="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
15368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15369 for as_dir
in $PATH
15372 test -z "$as_dir" && as_dir
=.
15373 for ac_exec_ext
in '' $ac_executable_extensions; do
15374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15375 ac_cv_path_ac_pt_DX_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
15376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15386 ac_pt_DX_DOXYGEN
=$ac_cv_path_ac_pt_DX_DOXYGEN
15387 if test -n "$ac_pt_DX_DOXYGEN"; then
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
15389 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15392 $as_echo "no" >&6; }
15395 if test "x$ac_pt_DX_DOXYGEN" = x
; then
15398 case $cross_compiling:$ac_tool_warned in
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15402 ac_tool_warned
=yes ;;
15404 DX_DOXYGEN
=$ac_pt_DX_DOXYGEN
15407 DX_DOXYGEN
="$ac_cv_path_DX_DOXYGEN"
15410 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
15412 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
15418 if test -n "$ac_tool_prefix"; then
15419 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
15420 set dummy
${ac_tool_prefix}perl
; ac_word
=$2
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15422 $as_echo_n "checking for $ac_word... " >&6; }
15423 if test "${ac_cv_path_DX_PERL+set}" = set; then :
15424 $as_echo_n "(cached) " >&6
15428 ac_cv_path_DX_PERL
="$DX_PERL" # Let the user override the test with a path.
15431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15432 for as_dir
in $PATH
15435 test -z "$as_dir" && as_dir
=.
15436 for ac_exec_ext
in '' $ac_executable_extensions; do
15437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15438 ac_cv_path_DX_PERL
="$as_dir/$ac_word$ac_exec_ext"
15439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15449 DX_PERL
=$ac_cv_path_DX_PERL
15450 if test -n "$DX_PERL"; then
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
15452 $as_echo "$DX_PERL" >&6; }
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15455 $as_echo "no" >&6; }
15460 if test -z "$ac_cv_path_DX_PERL"; then
15461 ac_pt_DX_PERL
=$DX_PERL
15462 # Extract the first word of "perl", so it can be a program name with args.
15463 set dummy perl
; ac_word
=$2
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15465 $as_echo_n "checking for $ac_word... " >&6; }
15466 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
15467 $as_echo_n "(cached) " >&6
15469 case $ac_pt_DX_PERL in
15471 ac_cv_path_ac_pt_DX_PERL
="$ac_pt_DX_PERL" # Let the user override the test with a path.
15474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15475 for as_dir
in $PATH
15478 test -z "$as_dir" && as_dir
=.
15479 for ac_exec_ext
in '' $ac_executable_extensions; do
15480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15481 ac_cv_path_ac_pt_DX_PERL
="$as_dir/$ac_word$ac_exec_ext"
15482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15492 ac_pt_DX_PERL
=$ac_cv_path_ac_pt_DX_PERL
15493 if test -n "$ac_pt_DX_PERL"; then
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
15495 $as_echo "$ac_pt_DX_PERL" >&6; }
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15498 $as_echo "no" >&6; }
15501 if test "x$ac_pt_DX_PERL" = x
; then
15504 case $cross_compiling:$ac_tool_warned in
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15508 ac_tool_warned
=yes ;;
15510 DX_PERL
=$ac_pt_DX_PERL
15513 DX_PERL
="$ac_cv_path_DX_PERL"
15516 if test "$DX_FLAG_doc$DX_PERL" = 1; then
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
15518 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
15525 if test "$DX_FLAG_doc" = 1; then
15528 DX_COND_doc_FALSE
='#'
15530 DX_COND_doc_TRUE
='#'
15534 DX_ENV
="$DX_ENV PERL_PATH='$DX_PERL'"
15540 DX_COND_doc_FALSE
='#'
15542 DX_COND_doc_TRUE
='#'
15551 # Dot for graphics:
15555 # Check whether --enable-doxygen-dot was given.
15556 if test "${enable_doxygen_dot+set}" = set; then :
15557 enableval
=$enable_doxygen_dot;
15558 case "$enableval" in
15564 test "$DX_FLAG_doc" = "1" \
15565 || as_fn_error
"doxygen-dot requires doxygen-dot" "$LINENO" 5
15573 as_fn_error
"invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
15582 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot
=0
15588 if test "$DX_FLAG_dot" = 1; then
15590 if test -n "$ac_tool_prefix"; then
15591 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
15592 set dummy
${ac_tool_prefix}dot
; ac_word
=$2
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15594 $as_echo_n "checking for $ac_word... " >&6; }
15595 if test "${ac_cv_path_DX_DOT+set}" = set; then :
15596 $as_echo_n "(cached) " >&6
15600 ac_cv_path_DX_DOT
="$DX_DOT" # Let the user override the test with a path.
15603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15604 for as_dir
in $PATH
15607 test -z "$as_dir" && as_dir
=.
15608 for ac_exec_ext
in '' $ac_executable_extensions; do
15609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15610 ac_cv_path_DX_DOT
="$as_dir/$ac_word$ac_exec_ext"
15611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15621 DX_DOT
=$ac_cv_path_DX_DOT
15622 if test -n "$DX_DOT"; then
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
15624 $as_echo "$DX_DOT" >&6; }
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15627 $as_echo "no" >&6; }
15632 if test -z "$ac_cv_path_DX_DOT"; then
15633 ac_pt_DX_DOT
=$DX_DOT
15634 # Extract the first word of "dot", so it can be a program name with args.
15635 set dummy dot
; ac_word
=$2
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15637 $as_echo_n "checking for $ac_word... " >&6; }
15638 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
15639 $as_echo_n "(cached) " >&6
15641 case $ac_pt_DX_DOT in
15643 ac_cv_path_ac_pt_DX_DOT
="$ac_pt_DX_DOT" # Let the user override the test with a path.
15646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15647 for as_dir
in $PATH
15650 test -z "$as_dir" && as_dir
=.
15651 for ac_exec_ext
in '' $ac_executable_extensions; do
15652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15653 ac_cv_path_ac_pt_DX_DOT
="$as_dir/$ac_word$ac_exec_ext"
15654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15664 ac_pt_DX_DOT
=$ac_cv_path_ac_pt_DX_DOT
15665 if test -n "$ac_pt_DX_DOT"; then
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
15667 $as_echo "$ac_pt_DX_DOT" >&6; }
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15670 $as_echo "no" >&6; }
15673 if test "x$ac_pt_DX_DOT" = x
; then
15676 case $cross_compiling:$ac_tool_warned in
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15680 ac_tool_warned
=yes ;;
15682 DX_DOT
=$ac_pt_DX_DOT
15685 DX_DOT
="$ac_cv_path_DX_DOT"
15688 if test "$DX_FLAG_dot$DX_DOT" = 1; then
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
15690 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
15697 if test "$DX_FLAG_dot" = 1; then
15700 DX_COND_dot_FALSE
='#'
15702 DX_COND_dot_TRUE
='#'
15706 DX_ENV
="$DX_ENV HAVE_DOT='YES'"
15708 DX_ENV
="$DX_ENV DOT_PATH='`expr ".
$DX_DOT" : '\(\.\)[^/]*$' \| "x
$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
15714 DX_COND_dot_FALSE
='#'
15716 DX_COND_dot_TRUE
='#'
15720 DX_ENV
="$DX_ENV HAVE_DOT='NO'"
15726 # Man pages generation:
15730 # Check whether --enable-doxygen-man was given.
15731 if test "${enable_doxygen_man+set}" = set; then :
15732 enableval
=$enable_doxygen_man;
15733 case "$enableval" in
15739 test "$DX_FLAG_doc" = "1" \
15740 || as_fn_error
"doxygen-man requires doxygen-man" "$LINENO" 5
15748 as_fn_error
"invalid value '$enableval' given to doxygen-man" "$LINENO" 5
15757 test "$DX_FLAG_doc" = "1" || DX_FLAG_man
=0
15763 if test "$DX_FLAG_man" = 1; then
15767 if test "$DX_FLAG_man" = 1; then
15770 DX_COND_man_FALSE
='#'
15772 DX_COND_man_TRUE
='#'
15776 DX_ENV
="$DX_ENV GENERATE_MAN='YES'"
15782 DX_COND_man_FALSE
='#'
15784 DX_COND_man_TRUE
='#'
15788 DX_ENV
="$DX_ENV GENERATE_MAN='NO'"
15794 # RTF file generation:
15798 # Check whether --enable-doxygen-rtf was given.
15799 if test "${enable_doxygen_rtf+set}" = set; then :
15800 enableval
=$enable_doxygen_rtf;
15801 case "$enableval" in
15807 test "$DX_FLAG_doc" = "1" \
15808 || as_fn_error
"doxygen-rtf requires doxygen-rtf" "$LINENO" 5
15816 as_fn_error
"invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
15825 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf
=0
15831 if test "$DX_FLAG_rtf" = 1; then
15835 if test "$DX_FLAG_rtf" = 1; then
15838 DX_COND_rtf_FALSE
='#'
15840 DX_COND_rtf_TRUE
='#'
15844 DX_ENV
="$DX_ENV GENERATE_RTF='YES'"
15850 DX_COND_rtf_FALSE
='#'
15852 DX_COND_rtf_TRUE
='#'
15856 DX_ENV
="$DX_ENV GENERATE_RTF='NO'"
15862 # XML file generation:
15866 # Check whether --enable-doxygen-xml was given.
15867 if test "${enable_doxygen_xml+set}" = set; then :
15868 enableval
=$enable_doxygen_xml;
15869 case "$enableval" in
15875 test "$DX_FLAG_doc" = "1" \
15876 || as_fn_error
"doxygen-xml requires doxygen-xml" "$LINENO" 5
15884 as_fn_error
"invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
15893 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml
=0
15899 if test "$DX_FLAG_xml" = 1; then
15903 if test "$DX_FLAG_xml" = 1; then
15906 DX_COND_xml_FALSE
='#'
15908 DX_COND_xml_TRUE
='#'
15912 DX_ENV
="$DX_ENV GENERATE_XML='YES'"
15918 DX_COND_xml_FALSE
='#'
15920 DX_COND_xml_TRUE
='#'
15924 DX_ENV
="$DX_ENV GENERATE_XML='NO'"
15930 # (Compressed) HTML help generation:
15934 # Check whether --enable-doxygen-chm was given.
15935 if test "${enable_doxygen_chm+set}" = set; then :
15936 enableval
=$enable_doxygen_chm;
15937 case "$enableval" in
15943 test "$DX_FLAG_doc" = "1" \
15944 || as_fn_error
"doxygen-chm requires doxygen-chm" "$LINENO" 5
15952 as_fn_error
"invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
15961 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm
=0
15967 if test "$DX_FLAG_chm" = 1; then
15969 if test -n "$ac_tool_prefix"; then
15970 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
15971 set dummy
${ac_tool_prefix}hhc
; ac_word
=$2
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15973 $as_echo_n "checking for $ac_word... " >&6; }
15974 if test "${ac_cv_path_DX_HHC+set}" = set; then :
15975 $as_echo_n "(cached) " >&6
15979 ac_cv_path_DX_HHC
="$DX_HHC" # Let the user override the test with a path.
15982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15983 for as_dir
in $PATH
15986 test -z "$as_dir" && as_dir
=.
15987 for ac_exec_ext
in '' $ac_executable_extensions; do
15988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15989 ac_cv_path_DX_HHC
="$as_dir/$ac_word$ac_exec_ext"
15990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16000 DX_HHC
=$ac_cv_path_DX_HHC
16001 if test -n "$DX_HHC"; then
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
16003 $as_echo "$DX_HHC" >&6; }
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16006 $as_echo "no" >&6; }
16011 if test -z "$ac_cv_path_DX_HHC"; then
16012 ac_pt_DX_HHC
=$DX_HHC
16013 # Extract the first word of "hhc", so it can be a program name with args.
16014 set dummy hhc
; ac_word
=$2
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16016 $as_echo_n "checking for $ac_word... " >&6; }
16017 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16020 case $ac_pt_DX_HHC in
16022 ac_cv_path_ac_pt_DX_HHC
="$ac_pt_DX_HHC" # Let the user override the test with a path.
16025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16026 for as_dir
in $PATH
16029 test -z "$as_dir" && as_dir
=.
16030 for ac_exec_ext
in '' $ac_executable_extensions; do
16031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16032 ac_cv_path_ac_pt_DX_HHC
="$as_dir/$ac_word$ac_exec_ext"
16033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16043 ac_pt_DX_HHC
=$ac_cv_path_ac_pt_DX_HHC
16044 if test -n "$ac_pt_DX_HHC"; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
16046 $as_echo "$ac_pt_DX_HHC" >&6; }
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16049 $as_echo "no" >&6; }
16052 if test "x$ac_pt_DX_HHC" = x
; then
16055 case $cross_compiling:$ac_tool_warned in
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16059 ac_tool_warned
=yes ;;
16061 DX_HHC
=$ac_pt_DX_HHC
16064 DX_HHC
="$ac_cv_path_DX_HHC"
16067 if test "$DX_FLAG_chm$DX_HHC" = 1; then
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
16069 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
16076 if test "$DX_FLAG_chm" = 1; then
16079 DX_COND_chm_FALSE
='#'
16081 DX_COND_chm_TRUE
='#'
16085 DX_ENV
="$DX_ENV HHC_PATH='$DX_HHC'"
16087 DX_ENV
="$DX_ENV GENERATE_HTML='YES'"
16089 DX_ENV
="$DX_ENV GENERATE_HTMLHELP='YES'"
16095 DX_COND_chm_FALSE
='#'
16097 DX_COND_chm_TRUE
='#'
16101 DX_ENV
="$DX_ENV GENERATE_HTMLHELP='NO'"
16107 # Seperate CHI file generation.
16111 # Check whether --enable-doxygen-chi was given.
16112 if test "${enable_doxygen_chi+set}" = set; then :
16113 enableval
=$enable_doxygen_chi;
16114 case "$enableval" in
16120 test "$DX_FLAG_chm" = "1" \
16121 || as_fn_error
"doxygen-chi requires doxygen-chi" "$LINENO" 5
16129 as_fn_error
"invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
16138 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi
=0
16144 if test "$DX_FLAG_chi" = 1; then
16148 if test "$DX_FLAG_chi" = 1; then
16151 DX_COND_chi_FALSE
='#'
16153 DX_COND_chi_TRUE
='#'
16157 DX_ENV
="$DX_ENV GENERATE_CHI='YES'"
16163 DX_COND_chi_FALSE
='#'
16165 DX_COND_chi_TRUE
='#'
16169 DX_ENV
="$DX_ENV GENERATE_CHI='NO'"
16175 # Plain HTML pages generation:
16179 # Check whether --enable-doxygen-html was given.
16180 if test "${enable_doxygen_html+set}" = set; then :
16181 enableval
=$enable_doxygen_html;
16182 case "$enableval" in
16188 test "$DX_FLAG_doc" = "1" \
16189 || as_fn_error
"doxygen-html requires doxygen-html" "$LINENO" 5
16191 test "$DX_FLAG_chm" = "0" \
16192 || as_fn_error
"doxygen-html contradicts doxygen-html" "$LINENO" 5
16200 as_fn_error
"invalid value '$enableval' given to doxygen-html" "$LINENO" 5
16209 test "$DX_FLAG_doc" = "1" || DX_FLAG_html
=0
16212 test "$DX_FLAG_chm" = "0" || DX_FLAG_html
=0
16218 if test "$DX_FLAG_html" = 1; then
16222 if test "$DX_FLAG_html" = 1; then
16225 DX_COND_html_FALSE
='#'
16227 DX_COND_html_TRUE
='#'
16228 DX_COND_html_FALSE
=
16231 DX_ENV
="$DX_ENV GENERATE_HTML='YES'"
16237 DX_COND_html_FALSE
='#'
16239 DX_COND_html_TRUE
='#'
16240 DX_COND_html_FALSE
=
16243 test "$DX_FLAG_chm" = 1 || DX_ENV
="$DX_ENV GENERATE_HTML='NO'"
16249 # PostScript file generation:
16253 # Check whether --enable-doxygen-ps was given.
16254 if test "${enable_doxygen_ps+set}" = set; then :
16255 enableval
=$enable_doxygen_ps;
16256 case "$enableval" in
16262 test "$DX_FLAG_doc" = "1" \
16263 || as_fn_error
"doxygen-ps requires doxygen-ps" "$LINENO" 5
16271 as_fn_error
"invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
16280 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps
=0
16286 if test "$DX_FLAG_ps" = 1; then
16288 if test -n "$ac_tool_prefix"; then
16289 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
16290 set dummy
${ac_tool_prefix}latex
; ac_word
=$2
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16292 $as_echo_n "checking for $ac_word... " >&6; }
16293 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
16294 $as_echo_n "(cached) " >&6
16298 ac_cv_path_DX_LATEX
="$DX_LATEX" # Let the user override the test with a path.
16301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16302 for as_dir
in $PATH
16305 test -z "$as_dir" && as_dir
=.
16306 for ac_exec_ext
in '' $ac_executable_extensions; do
16307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16308 ac_cv_path_DX_LATEX
="$as_dir/$ac_word$ac_exec_ext"
16309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16319 DX_LATEX
=$ac_cv_path_DX_LATEX
16320 if test -n "$DX_LATEX"; then
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
16322 $as_echo "$DX_LATEX" >&6; }
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16325 $as_echo "no" >&6; }
16330 if test -z "$ac_cv_path_DX_LATEX"; then
16331 ac_pt_DX_LATEX
=$DX_LATEX
16332 # Extract the first word of "latex", so it can be a program name with args.
16333 set dummy latex
; ac_word
=$2
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16335 $as_echo_n "checking for $ac_word... " >&6; }
16336 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
16337 $as_echo_n "(cached) " >&6
16339 case $ac_pt_DX_LATEX in
16341 ac_cv_path_ac_pt_DX_LATEX
="$ac_pt_DX_LATEX" # Let the user override the test with a path.
16344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16345 for as_dir
in $PATH
16348 test -z "$as_dir" && as_dir
=.
16349 for ac_exec_ext
in '' $ac_executable_extensions; do
16350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16351 ac_cv_path_ac_pt_DX_LATEX
="$as_dir/$ac_word$ac_exec_ext"
16352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16362 ac_pt_DX_LATEX
=$ac_cv_path_ac_pt_DX_LATEX
16363 if test -n "$ac_pt_DX_LATEX"; then
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
16365 $as_echo "$ac_pt_DX_LATEX" >&6; }
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16368 $as_echo "no" >&6; }
16371 if test "x$ac_pt_DX_LATEX" = x
; then
16374 case $cross_compiling:$ac_tool_warned in
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16378 ac_tool_warned
=yes ;;
16380 DX_LATEX
=$ac_pt_DX_LATEX
16383 DX_LATEX
="$ac_cv_path_DX_LATEX"
16386 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
16388 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
16394 if test -n "$ac_tool_prefix"; then
16395 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
16396 set dummy
${ac_tool_prefix}makeindex
; ac_word
=$2
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16398 $as_echo_n "checking for $ac_word... " >&6; }
16399 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
16400 $as_echo_n "(cached) " >&6
16402 case $DX_MAKEINDEX in
16404 ac_cv_path_DX_MAKEINDEX
="$DX_MAKEINDEX" # Let the user override the test with a path.
16407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16408 for as_dir
in $PATH
16411 test -z "$as_dir" && as_dir
=.
16412 for ac_exec_ext
in '' $ac_executable_extensions; do
16413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16414 ac_cv_path_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
16415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16425 DX_MAKEINDEX
=$ac_cv_path_DX_MAKEINDEX
16426 if test -n "$DX_MAKEINDEX"; then
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
16428 $as_echo "$DX_MAKEINDEX" >&6; }
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16431 $as_echo "no" >&6; }
16436 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
16437 ac_pt_DX_MAKEINDEX
=$DX_MAKEINDEX
16438 # Extract the first word of "makeindex", so it can be a program name with args.
16439 set dummy makeindex
; ac_word
=$2
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16441 $as_echo_n "checking for $ac_word... " >&6; }
16442 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
16443 $as_echo_n "(cached) " >&6
16445 case $ac_pt_DX_MAKEINDEX in
16447 ac_cv_path_ac_pt_DX_MAKEINDEX
="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
16450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16451 for as_dir
in $PATH
16454 test -z "$as_dir" && as_dir
=.
16455 for ac_exec_ext
in '' $ac_executable_extensions; do
16456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16457 ac_cv_path_ac_pt_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
16458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16468 ac_pt_DX_MAKEINDEX
=$ac_cv_path_ac_pt_DX_MAKEINDEX
16469 if test -n "$ac_pt_DX_MAKEINDEX"; then
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16471 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16474 $as_echo "no" >&6; }
16477 if test "x$ac_pt_DX_MAKEINDEX" = x
; then
16480 case $cross_compiling:$ac_tool_warned in
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16484 ac_tool_warned
=yes ;;
16486 DX_MAKEINDEX
=$ac_pt_DX_MAKEINDEX
16489 DX_MAKEINDEX
="$ac_cv_path_DX_MAKEINDEX"
16492 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
16494 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
16500 if test -n "$ac_tool_prefix"; then
16501 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
16502 set dummy
${ac_tool_prefix}dvips
; ac_word
=$2
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16504 $as_echo_n "checking for $ac_word... " >&6; }
16505 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
16506 $as_echo_n "(cached) " >&6
16510 ac_cv_path_DX_DVIPS
="$DX_DVIPS" # Let the user override the test with a path.
16513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16514 for as_dir
in $PATH
16517 test -z "$as_dir" && as_dir
=.
16518 for ac_exec_ext
in '' $ac_executable_extensions; do
16519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16520 ac_cv_path_DX_DVIPS
="$as_dir/$ac_word$ac_exec_ext"
16521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16531 DX_DVIPS
=$ac_cv_path_DX_DVIPS
16532 if test -n "$DX_DVIPS"; then
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
16534 $as_echo "$DX_DVIPS" >&6; }
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16537 $as_echo "no" >&6; }
16542 if test -z "$ac_cv_path_DX_DVIPS"; then
16543 ac_pt_DX_DVIPS
=$DX_DVIPS
16544 # Extract the first word of "dvips", so it can be a program name with args.
16545 set dummy dvips
; ac_word
=$2
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16547 $as_echo_n "checking for $ac_word... " >&6; }
16548 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
16549 $as_echo_n "(cached) " >&6
16551 case $ac_pt_DX_DVIPS in
16553 ac_cv_path_ac_pt_DX_DVIPS
="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
16556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16557 for as_dir
in $PATH
16560 test -z "$as_dir" && as_dir
=.
16561 for ac_exec_ext
in '' $ac_executable_extensions; do
16562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16563 ac_cv_path_ac_pt_DX_DVIPS
="$as_dir/$ac_word$ac_exec_ext"
16564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16574 ac_pt_DX_DVIPS
=$ac_cv_path_ac_pt_DX_DVIPS
16575 if test -n "$ac_pt_DX_DVIPS"; then
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
16577 $as_echo "$ac_pt_DX_DVIPS" >&6; }
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16580 $as_echo "no" >&6; }
16583 if test "x$ac_pt_DX_DVIPS" = x
; then
16586 case $cross_compiling:$ac_tool_warned in
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16590 ac_tool_warned
=yes ;;
16592 DX_DVIPS
=$ac_pt_DX_DVIPS
16595 DX_DVIPS
="$ac_cv_path_DX_DVIPS"
16598 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
16600 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
16606 if test -n "$ac_tool_prefix"; then
16607 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16608 set dummy
${ac_tool_prefix}egrep; ac_word
=$2
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16610 $as_echo_n "checking for $ac_word... " >&6; }
16611 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
16612 $as_echo_n "(cached) " >&6
16616 ac_cv_path_DX_EGREP
="$DX_EGREP" # Let the user override the test with a path.
16619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16620 for as_dir
in $PATH
16623 test -z "$as_dir" && as_dir
=.
16624 for ac_exec_ext
in '' $ac_executable_extensions; do
16625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16626 ac_cv_path_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
16627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16637 DX_EGREP
=$ac_cv_path_DX_EGREP
16638 if test -n "$DX_EGREP"; then
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
16640 $as_echo "$DX_EGREP" >&6; }
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16643 $as_echo "no" >&6; }
16648 if test -z "$ac_cv_path_DX_EGREP"; then
16649 ac_pt_DX_EGREP
=$DX_EGREP
16650 # Extract the first word of "egrep", so it can be a program name with args.
16651 set dummy
egrep; ac_word
=$2
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16653 $as_echo_n "checking for $ac_word... " >&6; }
16654 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
16655 $as_echo_n "(cached) " >&6
16657 case $ac_pt_DX_EGREP in
16659 ac_cv_path_ac_pt_DX_EGREP
="$ac_pt_DX_EGREP" # Let the user override the test with a path.
16662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16663 for as_dir
in $PATH
16666 test -z "$as_dir" && as_dir
=.
16667 for ac_exec_ext
in '' $ac_executable_extensions; do
16668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16669 ac_cv_path_ac_pt_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
16670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16680 ac_pt_DX_EGREP
=$ac_cv_path_ac_pt_DX_EGREP
16681 if test -n "$ac_pt_DX_EGREP"; then
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
16683 $as_echo "$ac_pt_DX_EGREP" >&6; }
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16686 $as_echo "no" >&6; }
16689 if test "x$ac_pt_DX_EGREP" = x
; then
16692 case $cross_compiling:$ac_tool_warned in
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16696 ac_tool_warned
=yes ;;
16698 DX_EGREP
=$ac_pt_DX_EGREP
16701 DX_EGREP
="$ac_cv_path_DX_EGREP"
16704 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
16706 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
16713 if test "$DX_FLAG_ps" = 1; then
16716 DX_COND_ps_FALSE
='#'
16718 DX_COND_ps_TRUE
='#'
16727 DX_COND_ps_FALSE
='#'
16729 DX_COND_ps_TRUE
='#'
16738 # PDF file generation:
16742 # Check whether --enable-doxygen-pdf was given.
16743 if test "${enable_doxygen_pdf+set}" = set; then :
16744 enableval
=$enable_doxygen_pdf;
16745 case "$enableval" in
16751 test "$DX_FLAG_doc" = "1" \
16752 || as_fn_error
"doxygen-pdf requires doxygen-pdf" "$LINENO" 5
16760 as_fn_error
"invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
16769 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf
=0
16775 if test "$DX_FLAG_pdf" = 1; then
16777 if test -n "$ac_tool_prefix"; then
16778 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
16779 set dummy
${ac_tool_prefix}pdflatex
; ac_word
=$2
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16781 $as_echo_n "checking for $ac_word... " >&6; }
16782 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
16783 $as_echo_n "(cached) " >&6
16785 case $DX_PDFLATEX in
16787 ac_cv_path_DX_PDFLATEX
="$DX_PDFLATEX" # Let the user override the test with a path.
16790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16791 for as_dir
in $PATH
16794 test -z "$as_dir" && as_dir
=.
16795 for ac_exec_ext
in '' $ac_executable_extensions; do
16796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16797 ac_cv_path_DX_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
16798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16808 DX_PDFLATEX
=$ac_cv_path_DX_PDFLATEX
16809 if test -n "$DX_PDFLATEX"; then
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
16811 $as_echo "$DX_PDFLATEX" >&6; }
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16814 $as_echo "no" >&6; }
16819 if test -z "$ac_cv_path_DX_PDFLATEX"; then
16820 ac_pt_DX_PDFLATEX
=$DX_PDFLATEX
16821 # Extract the first word of "pdflatex", so it can be a program name with args.
16822 set dummy pdflatex
; ac_word
=$2
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16824 $as_echo_n "checking for $ac_word... " >&6; }
16825 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
16826 $as_echo_n "(cached) " >&6
16828 case $ac_pt_DX_PDFLATEX in
16830 ac_cv_path_ac_pt_DX_PDFLATEX
="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
16833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16834 for as_dir
in $PATH
16837 test -z "$as_dir" && as_dir
=.
16838 for ac_exec_ext
in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_path_ac_pt_DX_PDFLATEX
="$as_dir/$ac_word$ac_exec_ext"
16841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16851 ac_pt_DX_PDFLATEX
=$ac_cv_path_ac_pt_DX_PDFLATEX
16852 if test -n "$ac_pt_DX_PDFLATEX"; then
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
16854 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16857 $as_echo "no" >&6; }
16860 if test "x$ac_pt_DX_PDFLATEX" = x
; then
16863 case $cross_compiling:$ac_tool_warned in
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16867 ac_tool_warned
=yes ;;
16869 DX_PDFLATEX
=$ac_pt_DX_PDFLATEX
16872 DX_PDFLATEX
="$ac_cv_path_DX_PDFLATEX"
16875 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
16877 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
16883 if test -n "$ac_tool_prefix"; then
16884 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
16885 set dummy
${ac_tool_prefix}makeindex
; ac_word
=$2
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16887 $as_echo_n "checking for $ac_word... " >&6; }
16888 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
16889 $as_echo_n "(cached) " >&6
16891 case $DX_MAKEINDEX in
16893 ac_cv_path_DX_MAKEINDEX
="$DX_MAKEINDEX" # Let the user override the test with a path.
16896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16897 for as_dir
in $PATH
16900 test -z "$as_dir" && as_dir
=.
16901 for ac_exec_ext
in '' $ac_executable_extensions; do
16902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16903 ac_cv_path_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
16904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16914 DX_MAKEINDEX
=$ac_cv_path_DX_MAKEINDEX
16915 if test -n "$DX_MAKEINDEX"; then
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
16917 $as_echo "$DX_MAKEINDEX" >&6; }
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16920 $as_echo "no" >&6; }
16925 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
16926 ac_pt_DX_MAKEINDEX
=$DX_MAKEINDEX
16927 # Extract the first word of "makeindex", so it can be a program name with args.
16928 set dummy makeindex
; ac_word
=$2
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16930 $as_echo_n "checking for $ac_word... " >&6; }
16931 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
16932 $as_echo_n "(cached) " >&6
16934 case $ac_pt_DX_MAKEINDEX in
16936 ac_cv_path_ac_pt_DX_MAKEINDEX
="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
16939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16940 for as_dir
in $PATH
16943 test -z "$as_dir" && as_dir
=.
16944 for ac_exec_ext
in '' $ac_executable_extensions; do
16945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16946 ac_cv_path_ac_pt_DX_MAKEINDEX
="$as_dir/$ac_word$ac_exec_ext"
16947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16957 ac_pt_DX_MAKEINDEX
=$ac_cv_path_ac_pt_DX_MAKEINDEX
16958 if test -n "$ac_pt_DX_MAKEINDEX"; then
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16960 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16963 $as_echo "no" >&6; }
16966 if test "x$ac_pt_DX_MAKEINDEX" = x
; then
16969 case $cross_compiling:$ac_tool_warned in
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16973 ac_tool_warned
=yes ;;
16975 DX_MAKEINDEX
=$ac_pt_DX_MAKEINDEX
16978 DX_MAKEINDEX
="$ac_cv_path_DX_MAKEINDEX"
16981 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
16983 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
16989 if test -n "$ac_tool_prefix"; then
16990 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16991 set dummy
${ac_tool_prefix}egrep; ac_word
=$2
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16993 $as_echo_n "checking for $ac_word... " >&6; }
16994 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
16995 $as_echo_n "(cached) " >&6
16999 ac_cv_path_DX_EGREP
="$DX_EGREP" # Let the user override the test with a path.
17002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17003 for as_dir
in $PATH
17006 test -z "$as_dir" && as_dir
=.
17007 for ac_exec_ext
in '' $ac_executable_extensions; do
17008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17009 ac_cv_path_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
17010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17020 DX_EGREP
=$ac_cv_path_DX_EGREP
17021 if test -n "$DX_EGREP"; then
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
17023 $as_echo "$DX_EGREP" >&6; }
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17026 $as_echo "no" >&6; }
17031 if test -z "$ac_cv_path_DX_EGREP"; then
17032 ac_pt_DX_EGREP
=$DX_EGREP
17033 # Extract the first word of "egrep", so it can be a program name with args.
17034 set dummy
egrep; ac_word
=$2
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17036 $as_echo_n "checking for $ac_word... " >&6; }
17037 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
17038 $as_echo_n "(cached) " >&6
17040 case $ac_pt_DX_EGREP in
17042 ac_cv_path_ac_pt_DX_EGREP
="$ac_pt_DX_EGREP" # Let the user override the test with a path.
17045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17046 for as_dir
in $PATH
17049 test -z "$as_dir" && as_dir
=.
17050 for ac_exec_ext
in '' $ac_executable_extensions; do
17051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17052 ac_cv_path_ac_pt_DX_EGREP
="$as_dir/$ac_word$ac_exec_ext"
17053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17063 ac_pt_DX_EGREP
=$ac_cv_path_ac_pt_DX_EGREP
17064 if test -n "$ac_pt_DX_EGREP"; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
17066 $as_echo "$ac_pt_DX_EGREP" >&6; }
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17069 $as_echo "no" >&6; }
17072 if test "x$ac_pt_DX_EGREP" = x
; then
17075 case $cross_compiling:$ac_tool_warned in
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17079 ac_tool_warned
=yes ;;
17081 DX_EGREP
=$ac_pt_DX_EGREP
17084 DX_EGREP
="$ac_cv_path_DX_EGREP"
17087 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
17089 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
17096 if test "$DX_FLAG_pdf" = 1; then
17099 DX_COND_pdf_FALSE
='#'
17101 DX_COND_pdf_TRUE
='#'
17110 DX_COND_pdf_FALSE
='#'
17112 DX_COND_pdf_TRUE
='#'
17121 # LaTeX generation for PS and/or PDF:
17122 if test "$DX_FLAG_ps" = 1 ||
test "$DX_FLAG_pdf" = 1; then
17124 DX_COND_latex_TRUE
=
17125 DX_COND_latex_FALSE
='#'
17127 DX_COND_latex_TRUE
='#'
17128 DX_COND_latex_FALSE
=
17131 DX_ENV
="$DX_ENV GENERATE_LATEX='YES'"
17135 DX_COND_latex_TRUE
=
17136 DX_COND_latex_FALSE
='#'
17138 DX_COND_latex_TRUE
='#'
17139 DX_COND_latex_FALSE
=
17142 DX_ENV
="$DX_ENV GENERATE_LATEX='NO'"
17146 # Paper size for PS and/or PDF:
17148 case "$DOXYGEN_PAPER_SIZE" in
17151 DOXYGEN_PAPER_SIZE
=""
17154 a4wide|a4|letter|legal|executive
)
17155 DX_ENV
="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
17159 as_fn_error
"unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
17164 #echo DX_FLAG_doc=$DX_FLAG_doc
17165 #echo DX_FLAG_dot=$DX_FLAG_dot
17166 #echo DX_FLAG_man=$DX_FLAG_man
17167 #echo DX_FLAG_html=$DX_FLAG_html
17168 #echo DX_FLAG_chm=$DX_FLAG_chm
17169 #echo DX_FLAG_chi=$DX_FLAG_chi
17170 #echo DX_FLAG_rtf=$DX_FLAG_rtf
17171 #echo DX_FLAG_xml=$DX_FLAG_xml
17172 #echo DX_FLAG_pdf=$DX_FLAG_pdf
17173 #echo DX_FLAG_ps=$DX_FLAG_ps
17174 #echo DX_ENV=$DX_ENV
17178 am__api_version
='1.11'
17180 # Find a good install program. We prefer a C program (faster),
17181 # so one script is as good as another. But avoid the broken or
17182 # incompatible versions:
17183 # SysV /etc/install, /usr/sbin/install
17184 # SunOS /usr/etc/install
17185 # IRIX /sbin/install
17187 # AmigaOS /C/install, which installs bootblocks on floppy discs
17188 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
17189 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
17190 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
17191 # OS/2's system install, which has a completely different semantic
17192 # ./install, which can be erroneously created by make from ./install.sh.
17193 # Reject install programs that cannot install multiple files.
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
17195 $as_echo_n "checking for a BSD-compatible install... " >&6; }
17196 if test -z "$INSTALL"; then
17197 if test "${ac_cv_path_install+set}" = set; then :
17198 $as_echo_n "(cached) " >&6
17200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17201 for as_dir
in $PATH
17204 test -z "$as_dir" && as_dir
=.
17205 # Account for people who put trailing slashes in PATH elements.
17206 case $as_dir/ in #((
17207 .
/ | .
// |
/[cC
]/* | \
17208 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
17209 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
17212 # OSF1 and SCO ODT 3.0 have their own names for install.
17213 # Don't use installbsd from OSF since it installs stuff as root
17215 for ac_prog
in ginstall scoinst
install; do
17216 for ac_exec_ext
in '' $ac_executable_extensions; do
17217 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
17218 if test $ac_prog = install &&
17219 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
17220 # AIX install. It has an incompatible calling convention.
17222 elif test $ac_prog = install &&
17223 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
17224 # program-specific install script used by HP pwplus--don't use.
17227 rm -rf conftest.one conftest.two conftest.dir
17228 echo one
> conftest.one
17229 echo two
> conftest.two
17231 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
17232 test -s conftest.one
&& test -s conftest.two
&&
17233 test -s conftest.dir
/conftest.one
&&
17234 test -s conftest.dir
/conftest.two
17236 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
17249 rm -rf conftest.one conftest.two conftest.dir
17252 if test "${ac_cv_path_install+set}" = set; then
17253 INSTALL
=$ac_cv_path_install
17255 # As a last resort, use the slow shell script. Don't cache a
17256 # value for INSTALL within a source directory, because that will
17257 # break other packages using the cache if that directory is
17258 # removed, or if the value is a relative name.
17259 INSTALL
=$ac_install_sh
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
17263 $as_echo "$INSTALL" >&6; }
17265 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
17266 # It thinks the first close brace ends the variable substitution.
17267 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
17269 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
17271 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
17273 test "$program_prefix" != NONE
&&
17274 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
17275 # Use a double $ so make ignores it.
17276 test "$program_suffix" != NONE
&&
17277 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
17278 # Double any \ or $.
17279 # By default was `s,x,x', remove it if useless.
17280 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
17281 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
17283 # expand $ac_aux_dir to an absolute path
17284 am_aux_dir
=`cd $ac_aux_dir && pwd`
17286 if test x
"${MISSING+set}" != xset
; then
17287 case $am_aux_dir in
17289 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
17291 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
17294 # Use eval to expand $SHELL
17295 if eval "$MISSING --run true"; then
17296 am_missing_run
="$MISSING --run "
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
17300 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
17303 if test x
"${install_sh}" != xset
; then
17304 case $am_aux_dir in
17306 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
17308 install_sh
="\${SHELL} $am_aux_dir/install-sh"
17312 # Installed binaries are usually stripped using `strip' when the user
17313 # run `make install-strip'. However `strip' might not be the right
17314 # tool to use in cross-compilation environments, therefore Automake
17315 # will honor the `STRIP' environment variable to overrule this program.
17316 if test "$cross_compiling" != no
; then
17317 if test -n "$ac_tool_prefix"; then
17318 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17319 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17321 $as_echo_n "checking for $ac_word... " >&6; }
17322 if test "${ac_cv_prog_STRIP+set}" = set; then :
17323 $as_echo_n "(cached) " >&6
17325 if test -n "$STRIP"; then
17326 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
17328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17329 for as_dir
in $PATH
17332 test -z "$as_dir" && as_dir
=.
17333 for ac_exec_ext
in '' $ac_executable_extensions; do
17334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17335 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
17336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17345 STRIP
=$ac_cv_prog_STRIP
17346 if test -n "$STRIP"; then
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
17348 $as_echo "$STRIP" >&6; }
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17351 $as_echo "no" >&6; }
17356 if test -z "$ac_cv_prog_STRIP"; then
17358 # Extract the first word of "strip", so it can be a program name with args.
17359 set dummy strip
; ac_word
=$2
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17361 $as_echo_n "checking for $ac_word... " >&6; }
17362 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
17363 $as_echo_n "(cached) " >&6
17365 if test -n "$ac_ct_STRIP"; then
17366 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
17368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17369 for as_dir
in $PATH
17372 test -z "$as_dir" && as_dir
=.
17373 for ac_exec_ext
in '' $ac_executable_extensions; do
17374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17375 ac_cv_prog_ac_ct_STRIP
="strip"
17376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17385 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
17386 if test -n "$ac_ct_STRIP"; then
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
17388 $as_echo "$ac_ct_STRIP" >&6; }
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17391 $as_echo "no" >&6; }
17394 if test "x$ac_ct_STRIP" = x
; then
17397 case $cross_compiling:$ac_tool_warned in
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17401 ac_tool_warned
=yes ;;
17406 STRIP
="$ac_cv_prog_STRIP"
17410 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
17413 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
17414 if test -z "$MKDIR_P"; then
17415 if test "${ac_cv_path_mkdir+set}" = set; then :
17416 $as_echo_n "(cached) " >&6
17418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17419 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
17422 test -z "$as_dir" && as_dir
=.
17423 for ac_prog
in mkdir gmkdir
; do
17424 for ac_exec_ext
in '' $ac_executable_extensions; do
17425 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
17426 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
17427 'mkdir (GNU coreutils) '* | \
17428 'mkdir (coreutils) '* | \
17429 'mkdir (fileutils) '4.1*)
17430 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
17440 if test "${ac_cv_path_mkdir+set}" = set; then
17441 MKDIR_P
="$ac_cv_path_mkdir -p"
17443 # As a last resort, use the slow shell script. Don't cache a
17444 # value for MKDIR_P within a source directory, because that will
17445 # break other packages using the cache if that directory is
17446 # removed, or if the value is a relative name.
17447 test -d .
/--version && rmdir .
/--version
17448 MKDIR_P
="$ac_install_sh -d"
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
17452 $as_echo "$MKDIR_P" >&6; }
17456 [\\/$
]* | ?
:[\\/]*) ;;
17457 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
17461 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
17463 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
17464 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
17465 $as_echo_n "(cached) " >&6
17467 cat >conftest.
make <<\_ACEOF
17470 @
echo '@@@%%%=$(MAKE)=@@@%%%'
17472 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17473 case `${MAKE-make} -f conftest.make 2>/dev/null` in
17474 *@@@
%%%=?
*=@@@
%%%*)
17475 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
17477 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
17479 rm -f conftest.
make
17481 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17483 $as_echo "yes" >&6; }
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17487 $as_echo "no" >&6; }
17488 SET_MAKE
="MAKE=${MAKE-make}"
17491 rm -rf .tst
2>/dev
/null
17492 mkdir .tst
2>/dev
/null
17493 if test -d .tst
; then
17498 rmdir .tst
2>/dev
/null
17500 DEPDIR
="${am__leading_dot}deps"
17502 ac_config_commands
="$ac_config_commands depfiles"
17505 am_make
=${MAKE-make}
17506 cat > confinc
<< 'END'
17508 @
echo this is the am__doit target
17511 # If we don't find an include directive, just comment out the code.
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
17513 $as_echo_n "checking for style of include used by $am_make... " >&6; }
17517 # First try GNU make style include.
17518 echo "include confinc" > confmf
17519 # Ignore all kinds of additional output from `make'.
17520 case `$am_make -s -f confmf 2> /dev/null` in #(
17521 *the\ am__doit\ target
*)
17522 am__include
=include
17527 # Now try BSD make style include.
17528 if test "$am__include" = "#"; then
17529 echo '.include "confinc"' > confmf
17530 case `$am_make -s -f confmf 2> /dev/null` in #(
17531 *the\ am__doit\ target
*)
17532 am__include
=.include
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
17541 $as_echo "$_am_result" >&6; }
17542 rm -f confinc confmf
17544 # Check whether --enable-dependency-tracking was given.
17545 if test "${enable_dependency_tracking+set}" = set; then :
17546 enableval
=$enable_dependency_tracking;
17549 if test "x$enable_dependency_tracking" != xno
; then
17550 am_depcomp
="$ac_aux_dir/depcomp"
17553 if test "x$enable_dependency_tracking" != xno; then
17562 if test "`cd $srcdir && pwd`" != "`pwd`"; then
17563 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
17564 # is not polluted with repeated "-I."
17565 am__isrc
=' -I$(srcdir)'
17566 # test to see if srcdir already configured
17567 if test -f $srcdir/config.status
; then
17568 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
17572 # test whether we have cygpath
17573 if test -z "$CYGPATH_W"; then
17574 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
17575 CYGPATH_W
='cygpath -w'
17582 # Define the identity of the package.
17587 # Some tools Automake needs.
17589 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
17592 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
17595 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
17598 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
17601 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
17603 # We need awk for the "check" target. The system "awk" is bad on
17605 # Always define AMTAR for backward compatibility.
17607 AMTAR
=${AMTAR-"${am_missing_run}tar"}
17609 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
17614 depcc
="$CC" am_compiler_list
=
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17617 $as_echo_n "checking dependency style of $depcc... " >&6; }
17618 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17621 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17622 # We make a subdir and do the tests there. Otherwise we can end up
17623 # making bogus files that we don't know about and never remove. For
17624 # instance it was reported that on HP-UX the gcc test will end up
17625 # making a dummy file named `D' -- because `-MD' means `put the output
17628 # Copy depcomp to subdir because otherwise we won't find it if we're
17629 # using a relative directory.
17630 cp "$am_depcomp" conftest.dir
17632 # We will build objects and dependencies in a subdirectory because
17633 # it helps to detect inapplicable dependency modes. For instance
17634 # both Tru64's cc and ICC support -MD to output dependencies as a
17635 # side effect of compilation, but ICC will put the dependencies in
17636 # the current directory while Tru64 will put them in the object
17640 am_cv_CC_dependencies_compiler_type
=none
17641 if test "$am_compiler_list" = ""; then
17642 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17644 am__universal
=false
17645 case " $depcc " in #(
17646 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
17649 for depmode
in $am_compiler_list; do
17650 # Setup a source with many dependencies, because some compilers
17651 # like to wrap large dependency lists on column 80 (with \), and
17652 # we should not choose a depcomp mode which is confused by this.
17654 # We need to recreate these files for each test, as the compiler may
17655 # overwrite some of them when testing with obscure command lines.
17656 # This happens at least with the AIX C compiler.
17658 for i
in 1 2 3 4 5 6; do
17659 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
17660 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17661 # Solaris 8's {/usr,}/bin/sh.
17662 touch sub
/conftst
$i.h
17664 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17666 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17667 # mode. It turns out that the SunPro C++ compiler does not properly
17668 # handle `-M -o', and we need to detect this. Also, some Intel
17669 # versions had trouble with output in subdirs
17670 am__obj
=sub
/conftest.
${OBJEXT-o}
17671 am__minus_obj
="-o $am__obj"
17674 # This depmode causes a compiler race in universal mode.
17675 test "$am__universal" = false ||
continue
17678 # after this tag, mechanisms are not by side-effect, so they'll
17679 # only be used when explicitly requested
17680 if test "x$enable_dependency_tracking" = xyes
; then
17686 msvisualcpp | msvcmsys
)
17687 # This compiler won't grok `-c -o', but also, the minuso test has
17688 # not run yet. These depmodes are late enough in the game, and
17689 # so weak that their functioning should not be impacted.
17690 am__obj
=conftest.
${OBJEXT-o}
17695 if depmode
=$depmode \
17696 source=sub
/conftest.c object
=$am__obj \
17697 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
17698 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
17699 >/dev
/null
2>conftest.err
&&
17700 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17701 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17702 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17703 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17704 # icc doesn't choke on unknown options, it will just issue warnings
17705 # or remarks (even with -Werror). So we grep stderr for any message
17706 # that says an option was ignored or not supported.
17707 # When given -MP, icc 7.0 and 7.1 complain thusly:
17708 # icc: Command line warning: ignoring option '-M'; no argument required
17709 # The diagnosis changed in icc 8.0:
17710 # icc: Command line remark: option '-MP' not supported
17711 if (grep 'ignoring option' conftest.err ||
17712 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17713 am_cv_CC_dependencies_compiler_type
=$depmode
17720 rm -rf conftest.dir
17722 am_cv_CC_dependencies_compiler_type
=none
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17727 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17728 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
17731 test "x$enable_dependency_tracking" != xno \
17732 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
17733 am__fastdepCC_TRUE
=
17734 am__fastdepCC_FALSE
='#'
17736 am__fastdepCC_TRUE
='#'
17737 am__fastdepCC_FALSE
=
17741 depcc
="$CXX" am_compiler_list
=
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17744 $as_echo_n "checking dependency style of $depcc... " >&6; }
17745 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
17746 $as_echo_n "(cached) " >&6
17748 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17749 # We make a subdir and do the tests there. Otherwise we can end up
17750 # making bogus files that we don't know about and never remove. For
17751 # instance it was reported that on HP-UX the gcc test will end up
17752 # making a dummy file named `D' -- because `-MD' means `put the output
17755 # Copy depcomp to subdir because otherwise we won't find it if we're
17756 # using a relative directory.
17757 cp "$am_depcomp" conftest.dir
17759 # We will build objects and dependencies in a subdirectory because
17760 # it helps to detect inapplicable dependency modes. For instance
17761 # both Tru64's cc and ICC support -MD to output dependencies as a
17762 # side effect of compilation, but ICC will put the dependencies in
17763 # the current directory while Tru64 will put them in the object
17767 am_cv_CXX_dependencies_compiler_type
=none
17768 if test "$am_compiler_list" = ""; then
17769 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17771 am__universal
=false
17772 case " $depcc " in #(
17773 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
17776 for depmode
in $am_compiler_list; do
17777 # Setup a source with many dependencies, because some compilers
17778 # like to wrap large dependency lists on column 80 (with \), and
17779 # we should not choose a depcomp mode which is confused by this.
17781 # We need to recreate these files for each test, as the compiler may
17782 # overwrite some of them when testing with obscure command lines.
17783 # This happens at least with the AIX C compiler.
17785 for i
in 1 2 3 4 5 6; do
17786 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
17787 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17788 # Solaris 8's {/usr,}/bin/sh.
17789 touch sub
/conftst
$i.h
17791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17793 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17794 # mode. It turns out that the SunPro C++ compiler does not properly
17795 # handle `-M -o', and we need to detect this. Also, some Intel
17796 # versions had trouble with output in subdirs
17797 am__obj
=sub
/conftest.
${OBJEXT-o}
17798 am__minus_obj
="-o $am__obj"
17801 # This depmode causes a compiler race in universal mode.
17802 test "$am__universal" = false ||
continue
17805 # after this tag, mechanisms are not by side-effect, so they'll
17806 # only be used when explicitly requested
17807 if test "x$enable_dependency_tracking" = xyes
; then
17813 msvisualcpp | msvcmsys
)
17814 # This compiler won't grok `-c -o', but also, the minuso test has
17815 # not run yet. These depmodes are late enough in the game, and
17816 # so weak that their functioning should not be impacted.
17817 am__obj
=conftest.
${OBJEXT-o}
17822 if depmode
=$depmode \
17823 source=sub
/conftest.c object
=$am__obj \
17824 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
17825 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
17826 >/dev
/null
2>conftest.err
&&
17827 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17828 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17829 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17830 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17831 # icc doesn't choke on unknown options, it will just issue warnings
17832 # or remarks (even with -Werror). So we grep stderr for any message
17833 # that says an option was ignored or not supported.
17834 # When given -MP, icc 7.0 and 7.1 complain thusly:
17835 # icc: Command line warning: ignoring option '-M'; no argument required
17836 # The diagnosis changed in icc 8.0:
17837 # icc: Command line remark: option '-MP' not supported
17838 if (grep 'ignoring option' conftest.err ||
17839 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17840 am_cv_CXX_dependencies_compiler_type
=$depmode
17847 rm -rf conftest.dir
17849 am_cv_CXX_dependencies_compiler_type
=none
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17854 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17855 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
17858 test "x$enable_dependency_tracking" != xno \
17859 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
17860 am__fastdepCXX_TRUE
=
17861 am__fastdepCXX_FALSE
='#'
17863 am__fastdepCXX_TRUE
='#'
17864 am__fastdepCXX_FALSE
=
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
17871 $as_echo_n "checking for fftw_plan_dft_r2c_2d in -lfftw3... " >&6; }
17872 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then :
17873 $as_echo_n "(cached) " >&6
17875 ac_check_lib_save_LIBS
=$LIBS
17876 LIBS
="-lfftw3 $LIBS"
17877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17880 /* Override any GCC internal prototype to avoid an error.
17881 Use char because int might match the return type of a GCC
17882 builtin and then its argument prototype would still apply. */
17886 char fftw_plan_dft_r2c_2d ();
17890 return fftw_plan_dft_r2c_2d ();
17895 if ac_fn_c_try_link
"$LINENO"; then :
17896 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=yes
17898 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=no
17900 rm -f core conftest.err conftest.
$ac_objext \
17901 conftest
$ac_exeext conftest.
$ac_ext
17902 LIBS
=$ac_check_lib_save_LIBS
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
17905 $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
17906 if test "x$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" = x
""yes; then :
17907 cat >>confdefs.h
<<_ACEOF
17908 #define HAVE_LIBFFTW3 1
17911 LIBS
="-lfftw3 $LIBS"
17914 as_fn_error
"\"libfftw3 not installed\"" "$LINENO" 5
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5Fopen in -lhdf5" >&5
17919 $as_echo_n "checking for H5Fopen in -lhdf5... " >&6; }
17920 if test "${ac_cv_lib_hdf5_H5Fopen+set}" = set; then :
17921 $as_echo_n "(cached) " >&6
17923 ac_check_lib_save_LIBS
=$LIBS
17924 LIBS
="-lhdf5 $LIBS"
17925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17928 /* Override any GCC internal prototype to avoid an error.
17929 Use char because int might match the return type of a GCC
17930 builtin and then its argument prototype would still apply. */
17943 if ac_fn_c_try_link
"$LINENO"; then :
17944 ac_cv_lib_hdf5_H5Fopen
=yes
17946 ac_cv_lib_hdf5_H5Fopen
=no
17948 rm -f core conftest.err conftest.
$ac_objext \
17949 conftest
$ac_exeext conftest.
$ac_ext
17950 LIBS
=$ac_check_lib_save_LIBS
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdf5_H5Fopen" >&5
17953 $as_echo "$ac_cv_lib_hdf5_H5Fopen" >&6; }
17954 if test "x$ac_cv_lib_hdf5_H5Fopen" = x
""yes; then :
17955 cat >>confdefs.h
<<_ACEOF
17956 #define HAVE_LIBHDF5 1
17959 LIBS
="-lhdf5 $LIBS"
17962 as_fn_error
"\"libhdf5 not installed\"" "$LINENO" 5
17968 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17969 if test -n "$ac_tool_prefix"; then
17970 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17971 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17973 $as_echo_n "checking for $ac_word... " >&6; }
17974 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17975 $as_echo_n "(cached) " >&6
17977 case $PKG_CONFIG in
17979 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
17982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17983 for as_dir
in $PATH
17986 test -z "$as_dir" && as_dir
=.
17987 for ac_exec_ext
in '' $ac_executable_extensions; do
17988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17989 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
17990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18000 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
18001 if test -n "$PKG_CONFIG"; then
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18003 $as_echo "$PKG_CONFIG" >&6; }
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18006 $as_echo "no" >&6; }
18011 if test -z "$ac_cv_path_PKG_CONFIG"; then
18012 ac_pt_PKG_CONFIG
=$PKG_CONFIG
18013 # Extract the first word of "pkg-config", so it can be a program name with args.
18014 set dummy pkg-config
; ac_word
=$2
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18016 $as_echo_n "checking for $ac_word... " >&6; }
18017 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
18018 $as_echo_n "(cached) " >&6
18020 case $ac_pt_PKG_CONFIG in
18022 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18026 for as_dir
in $PATH
18029 test -z "$as_dir" && as_dir
=.
18030 for ac_exec_ext
in '' $ac_executable_extensions; do
18031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18032 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18043 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
18044 if test -n "$ac_pt_PKG_CONFIG"; then
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18046 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18049 $as_echo "no" >&6; }
18052 if test "x$ac_pt_PKG_CONFIG" = x
; then
18055 case $cross_compiling:$ac_tool_warned in
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18059 ac_tool_warned
=yes ;;
18061 PKG_CONFIG
=$ac_pt_PKG_CONFIG
18064 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
18068 if test -n "$PKG_CONFIG"; then
18069 _pkg_min_version
=0.9.0
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18071 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18072 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18074 $as_echo "yes" >&6; }
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18077 $as_echo "no" >&6; }
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
18085 $as_echo_n "checking for GLIB... " >&6; }
18087 if test -n "$PKG_CONFIG"; then
18088 if test -n "$GLIB_CFLAGS"; then
18089 pkg_cv_GLIB_CFLAGS
="$GLIB_CFLAGS"
18091 if test -n "$PKG_CONFIG" && \
18092 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0\""; } >&5
18093 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0") 2>&5
18095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18096 test $ac_status = 0; }; then
18097 pkg_cv_GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.0.0" 2>/dev/null`
18105 if test -n "$PKG_CONFIG"; then
18106 if test -n "$GLIB_LIBS"; then
18107 pkg_cv_GLIB_LIBS
="$GLIB_LIBS"
18109 if test -n "$PKG_CONFIG" && \
18110 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0\""; } >&5
18111 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0") 2>&5
18113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18114 test $ac_status = 0; }; then
18115 pkg_cv_GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.0.0" 2>/dev/null`
18126 if test $pkg_failed = yes; then
18128 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18129 _pkg_short_errors_supported
=yes
18131 _pkg_short_errors_supported
=no
18133 if test $_pkg_short_errors_supported = yes; then
18134 GLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.0.0"`
18136 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.0.0"`
18138 # Put the nasty error message in config.log where it belongs
18139 echo "$GLIB_PKG_ERRORS" >&5
18141 as_fn_error
"Package requirements (glib-2.0 >= 2.0.0) were not met:
18145 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18146 installed software in a non-standard prefix.
18148 Alternatively, you may set the environment variables GLIB_CFLAGS
18149 and GLIB_LIBS to avoid the need to call pkg-config.
18150 See the pkg-config man page for more details.
18152 elif test $pkg_failed = untried
; then
18153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18155 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
18156 is in your PATH or set the PKG_CONFIG environment variable to the full
18157 path to pkg-config.
18159 Alternatively, you may set the environment variables GLIB_CFLAGS
18160 and GLIB_LIBS to avoid the need to call pkg-config.
18161 See the pkg-config man page for more details.
18163 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18164 See \`config.log' for more details." "$LINENO" 5; }
18166 GLIB_CFLAGS
=$pkg_cv_GLIB_CFLAGS
18167 GLIB_LIBS
=$pkg_cv_GLIB_LIBS
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18169 $as_echo "yes" >&6; }
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
18176 $as_echo_n "checking for main in -lm... " >&6; }
18177 if test "${ac_cv_lib_m_main+set}" = set; then :
18178 $as_echo_n "(cached) " >&6
18180 ac_check_lib_save_LIBS
=$LIBS
18182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18194 if ac_fn_c_try_link
"$LINENO"; then :
18195 ac_cv_lib_m_main
=yes
18197 ac_cv_lib_m_main
=no
18199 rm -f core conftest.err conftest.
$ac_objext \
18200 conftest
$ac_exeext conftest.
$ac_ext
18201 LIBS
=$ac_check_lib_save_LIBS
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
18204 $as_echo "$ac_cv_lib_m_main" >&6; }
18205 if test "x$ac_cv_lib_m_main" = x
""yes; then :
18206 cat >>confdefs.h
<<_ACEOF
18207 #define HAVE_LIBM 1
18213 as_fn_error
"\"libm not installed\"" "$LINENO" 5
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgslcblas" >&5
18218 $as_echo_n "checking for main in -lgslcblas... " >&6; }
18219 if test "${ac_cv_lib_gslcblas_main+set}" = set; then :
18220 $as_echo_n "(cached) " >&6
18222 ac_check_lib_save_LIBS
=$LIBS
18223 LIBS
="-lgslcblas $LIBS"
18224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18236 if ac_fn_c_try_link
"$LINENO"; then :
18237 ac_cv_lib_gslcblas_main
=yes
18239 ac_cv_lib_gslcblas_main
=no
18241 rm -f core conftest.err conftest.
$ac_objext \
18242 conftest
$ac_exeext conftest.
$ac_ext
18243 LIBS
=$ac_check_lib_save_LIBS
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gslcblas_main" >&5
18246 $as_echo "$ac_cv_lib_gslcblas_main" >&6; }
18247 if test "x$ac_cv_lib_gslcblas_main" = x
""yes; then :
18248 cat >>confdefs.h
<<_ACEOF
18249 #define HAVE_LIBGSLCBLAS 1
18252 LIBS
="-lgslcblas $LIBS"
18255 as_fn_error
"\"libgslcblas not installed\"" "$LINENO" 5
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgsl" >&5
18260 $as_echo_n "checking for main in -lgsl... " >&6; }
18261 if test "${ac_cv_lib_gsl_main+set}" = set; then :
18262 $as_echo_n "(cached) " >&6
18264 ac_check_lib_save_LIBS
=$LIBS
18266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18267 /* end confdefs.h. */
18278 if ac_fn_c_try_link
"$LINENO"; then :
18279 ac_cv_lib_gsl_main
=yes
18281 ac_cv_lib_gsl_main
=no
18283 rm -f core conftest.err conftest.
$ac_objext \
18284 conftest
$ac_exeext conftest.
$ac_ext
18285 LIBS
=$ac_check_lib_save_LIBS
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsl_main" >&5
18288 $as_echo "$ac_cv_lib_gsl_main" >&6; }
18289 if test "x$ac_cv_lib_gsl_main" = x
""yes; then :
18290 cat >>confdefs.h
<<_ACEOF
18291 #define HAVE_LIBGSL 1
18297 as_fn_error
"\"libgsl not installed\"" "$LINENO" 5
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_malloc0 in -lglib-2.0" >&5
18302 $as_echo_n "checking for g_malloc0 in -lglib-2.0... " >&6; }
18303 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then :
18304 $as_echo_n "(cached) " >&6
18306 ac_check_lib_save_LIBS
=$LIBS
18307 LIBS
="-lglib-2.0 $LIBS"
18308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18321 return g_malloc0 ();
18326 if ac_fn_c_try_link
"$LINENO"; then :
18327 ac_cv_lib_glib_2_0_g_malloc0
=yes
18329 ac_cv_lib_glib_2_0_g_malloc0
=no
18331 rm -f core conftest.err conftest.
$ac_objext \
18332 conftest
$ac_exeext conftest.
$ac_ext
18333 LIBS
=$ac_check_lib_save_LIBS
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
18336 $as_echo "$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
18337 if test "x$ac_cv_lib_glib_2_0_g_malloc0" = x
""yes; then :
18338 cat >>confdefs.h
<<_ACEOF
18339 #define HAVE_LIBGLIB_2_0 1
18342 LIBS
="-lglib-2.0 $LIBS"
18345 as_fn_error
"\"libglib-2.0 not installed\"" "$LINENO" 5
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng" >&5
18350 $as_echo_n "checking for main in -lpng... " >&6; }
18351 if test "${ac_cv_lib_png_main+set}" = set; then :
18352 $as_echo_n "(cached) " >&6
18354 ac_check_lib_save_LIBS
=$LIBS
18356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18357 /* end confdefs.h. */
18368 if ac_fn_c_try_link
"$LINENO"; then :
18369 ac_cv_lib_png_main
=yes
18371 ac_cv_lib_png_main
=no
18373 rm -f core conftest.err conftest.
$ac_objext \
18374 conftest
$ac_exeext conftest.
$ac_ext
18375 LIBS
=$ac_check_lib_save_LIBS
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_main" >&5
18378 $as_echo "$ac_cv_lib_png_main" >&6; }
18379 if test "x$ac_cv_lib_png_main" = x
""yes; then :
18380 cat >>confdefs.h
<<_ACEOF
18381 #define HAVE_LIBPNG 1
18387 as_fn_error
"\"libpng not installed\"" "$LINENO" 5
18391 # Extract the first word of "pnmtopng", so it can be a program name with args.
18392 set dummy pnmtopng
; ac_word
=$2
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18394 $as_echo_n "checking for $ac_word... " >&6; }
18395 if test "${ac_cv_prog_PNMTOPNG+set}" = set; then :
18396 $as_echo_n "(cached) " >&6
18398 if test -n "$PNMTOPNG"; then
18399 ac_cv_prog_PNMTOPNG
="$PNMTOPNG" # Let the user override the test.
18401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18402 for as_dir
in $PATH
18405 test -z "$as_dir" && as_dir
=.
18406 for ac_exec_ext
in '' $ac_executable_extensions; do
18407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18408 ac_cv_prog_PNMTOPNG
="true"
18409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18416 test -z "$ac_cv_prog_PNMTOPNG" && ac_cv_prog_PNMTOPNG
="false"
18419 PNMTOPNG
=$ac_cv_prog_PNMTOPNG
18420 if test -n "$PNMTOPNG"; then
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNMTOPNG" >&5
18422 $as_echo "$PNMTOPNG" >&6; }
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18425 $as_echo "no" >&6; }
18429 if test x
$PNMTOPNG = xfalse
; then
18430 as_fn_error
"\"pnmtopng from netpbm not installed\"" "$LINENO" 5;
18434 # Check whether --enable-cam was given.
18435 if test "${enable_cam+set}" = set; then :
18436 enableval
=$enable_cam; ENABLE_CAM
="-DENABLE_CAM"
18443 # Check whether --enable-trig was given.
18444 if test "${enable_trig+set}" = set; then :
18445 enableval
=$enable_trig; ENABLE_TRIG
="-DENABLE_TRIG"
18452 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raw1394_destroy_handle in -lraw1394" >&5
18454 $as_echo_n "checking for raw1394_destroy_handle in -lraw1394... " >&6; }
18455 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then :
18456 $as_echo_n "(cached) " >&6
18458 ac_check_lib_save_LIBS
=$LIBS
18459 LIBS
="-lraw1394 $LIBS"
18460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18463 /* Override any GCC internal prototype to avoid an error.
18464 Use char because int might match the return type of a GCC
18465 builtin and then its argument prototype would still apply. */
18469 char raw1394_destroy_handle ();
18473 return raw1394_destroy_handle ();
18478 if ac_fn_c_try_link
"$LINENO"; then :
18479 ac_cv_lib_raw1394_raw1394_destroy_handle
=yes
18481 ac_cv_lib_raw1394_raw1394_destroy_handle
=no
18483 rm -f core conftest.err conftest.
$ac_objext \
18484 conftest
$ac_exeext conftest.
$ac_ext
18485 LIBS
=$ac_check_lib_save_LIBS
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
18488 $as_echo "$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
18489 if test "x$ac_cv_lib_raw1394_raw1394_destroy_handle" = x
""yes; then :
18490 cat >>confdefs.h
<<_ACEOF
18491 #define HAVE_LIBRAW1394 1
18494 LIBS
="-lraw1394 $LIBS"
18497 as_fn_error
"\"libraw1394 not installed\"" "$LINENO" 5
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dc1394_create_handle in -ldc1394_control" >&5
18502 $as_echo_n "checking for dc1394_create_handle in -ldc1394_control... " >&6; }
18503 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then :
18504 $as_echo_n "(cached) " >&6
18506 ac_check_lib_save_LIBS
=$LIBS
18507 LIBS
="-ldc1394_control $LIBS"
18508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18509 /* end confdefs.h. */
18511 /* Override any GCC internal prototype to avoid an error.
18512 Use char because int might match the return type of a GCC
18513 builtin and then its argument prototype would still apply. */
18517 char dc1394_create_handle ();
18521 return dc1394_create_handle ();
18526 if ac_fn_c_try_link
"$LINENO"; then :
18527 ac_cv_lib_dc1394_control_dc1394_create_handle
=yes
18529 ac_cv_lib_dc1394_control_dc1394_create_handle
=no
18531 rm -f core conftest.err conftest.
$ac_objext \
18532 conftest
$ac_exeext conftest.
$ac_ext
18533 LIBS
=$ac_check_lib_save_LIBS
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
18536 $as_echo "$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
18537 if test "x$ac_cv_lib_dc1394_control_dc1394_create_handle" = x
""yes; then :
18538 cat >>confdefs.h
<<_ACEOF
18539 #define HAVE_LIBDC1394_CONTROL 1
18542 LIBS
="-ldc1394_control $LIBS"
18545 as_fn_error
"\"libdc1394_control not installed\"" "$LINENO" 5
18549 ac_fn_c_check_header_mongrel
"$LINENO" "libdc1394/dc1394_control.h" "ac_cv_header_libdc1394_dc1394_control_h" "$ac_includes_default"
18550 if test "x$ac_cv_header_libdc1394_dc1394_control_h" = x
""yes; then :
18553 as_fn_error
"\"missing dc1394_control.h\"" "$LINENO" 5
18558 ac_fn_c_check_header_mongrel
"$LINENO" "libraw1394/raw1394.h" "ac_cv_header_libraw1394_raw1394_h" "$ac_includes_default"
18559 if test "x$ac_cv_header_libraw1394_raw1394_h" = x
""yes; then :
18562 as_fn_error
"\"missing raw1394.h\"" "$LINENO" 5
18569 # Check whether --enable-rta was given.
18570 if test "${enable_rta+set}" = set; then :
18571 enableval
=$enable_rta; RTA_TOPDIR
="$enableval"
18573 RTA_TOPDIR
="/usr/lib/realtime"
18581 # Check whether --enable-mpi was given.
18582 if test "${enable_mpi+set}" = set; then :
18583 enableval
=$enable_mpi; ENABLE_MPI
="-DENABLE_MPI"
18590 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
18596 for ac_prog
in mpicc hcc mpcc mpcc_r mpxlc cmpicc
18598 # Extract the first word of "$ac_prog", so it can be a program name with args.
18599 set dummy
$ac_prog; ac_word
=$2
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18601 $as_echo_n "checking for $ac_word... " >&6; }
18602 if test "${ac_cv_prog_MPICC+set}" = set; then :
18603 $as_echo_n "(cached) " >&6
18605 if test -n "$MPICC"; then
18606 ac_cv_prog_MPICC
="$MPICC" # Let the user override the test.
18608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18609 for as_dir
in $PATH
18612 test -z "$as_dir" && as_dir
=.
18613 for ac_exec_ext
in '' $ac_executable_extensions; do
18614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18615 ac_cv_prog_MPICC
="$ac_prog"
18616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18625 MPICC
=$ac_cv_prog_MPICC
18626 if test -n "$MPICC"; then
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPICC" >&5
18628 $as_echo "$MPICC" >&6; }
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18631 $as_echo "no" >&6; }
18635 test -n "$MPICC" && break
18637 test -n "$MPICC" || MPICC
="$CC"
18639 acx_mpi_save_CC
="$CC"
18644 if test x
= x
"$MPILIBS"; then
18645 ac_fn_c_check_func
"$LINENO" "MPI_Init" "ac_cv_func_MPI_Init"
18646 if test "x$ac_cv_func_MPI_Init" = x
""yes; then :
18651 if test x
= x
"$MPILIBS"; then
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5
18653 $as_echo_n "checking for MPI_Init in -lmpi... " >&6; }
18654 if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then :
18655 $as_echo_n "(cached) " >&6
18657 ac_check_lib_save_LIBS
=$LIBS
18659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18662 /* Override any GCC internal prototype to avoid an error.
18663 Use char because int might match the return type of a GCC
18664 builtin and then its argument prototype would still apply. */
18672 return MPI_Init ();
18677 if ac_fn_c_try_link
"$LINENO"; then :
18678 ac_cv_lib_mpi_MPI_Init
=yes
18680 ac_cv_lib_mpi_MPI_Init
=no
18682 rm -f core conftest.err conftest.
$ac_objext \
18683 conftest
$ac_exeext conftest.
$ac_ext
18684 LIBS
=$ac_check_lib_save_LIBS
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5
18687 $as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; }
18688 if test "x$ac_cv_lib_mpi_MPI_Init" = x
""yes; then :
18693 if test x
= x
"$MPILIBS"; then
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpich" >&5
18695 $as_echo_n "checking for MPI_Init in -lmpich... " >&6; }
18696 if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then :
18697 $as_echo_n "(cached) " >&6
18699 ac_check_lib_save_LIBS
=$LIBS
18700 LIBS
="-lmpich $LIBS"
18701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18704 /* Override any GCC internal prototype to avoid an error.
18705 Use char because int might match the return type of a GCC
18706 builtin and then its argument prototype would still apply. */
18714 return MPI_Init ();
18719 if ac_fn_c_try_link
"$LINENO"; then :
18720 ac_cv_lib_mpich_MPI_Init
=yes
18722 ac_cv_lib_mpich_MPI_Init
=no
18724 rm -f core conftest.err conftest.
$ac_objext \
18725 conftest
$ac_exeext conftest.
$ac_ext
18726 LIBS
=$ac_check_lib_save_LIBS
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_MPI_Init" >&5
18729 $as_echo "$ac_cv_lib_mpich_MPI_Init" >&6; }
18730 if test "x$ac_cv_lib_mpich_MPI_Init" = x
""yes; then :
18736 if test x
!= x
"$MPILIBS"; then
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpi.h" >&5
18738 $as_echo_n "checking for mpi.h... " >&6; }
18739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18750 if ac_fn_c_try_compile
"$LINENO"; then :
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18752 $as_echo "yes" >&6; }
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18756 $as_echo "no" >&6; }
18758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18761 CC
="$acx_mpi_save_CC"
18765 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18766 if test x
= x
"$MPILIBS"; then
18767 as_fn_error
"\"libmpi IS NOT installed\"" "$LINENO" 5
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libmpi HAS BEEN installed\"" >&5
18771 $as_echo "$as_me: WARNING: \"libmpi HAS BEEN installed\"" >&2;}
18777 LIBS
="$MPILIBS $LIBS"
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpi" >&5
18780 $as_echo_n "checking for main in -lmpi... " >&6; }
18781 if test "${ac_cv_lib_mpi_main+set}" = set; then :
18782 $as_echo_n "(cached) " >&6
18784 ac_check_lib_save_LIBS
=$LIBS
18786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18798 if ac_fn_c_try_link
"$LINENO"; then :
18799 ac_cv_lib_mpi_main
=yes
18801 ac_cv_lib_mpi_main
=no
18803 rm -f core conftest.err conftest.
$ac_objext \
18804 conftest
$ac_exeext conftest.
$ac_ext
18805 LIBS
=$ac_check_lib_save_LIBS
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_main" >&5
18808 $as_echo "$ac_cv_lib_mpi_main" >&6; }
18809 if test "x$ac_cv_lib_mpi_main" = x
""yes; then :
18810 cat >>confdefs.h
<<_ACEOF
18811 #define HAVE_LIBMPI 1
18817 as_fn_error
"\"libmpi not installed\"" "$LINENO" 5
18820 ac_fn_c_check_header_mongrel
"$LINENO" "mpi.h" "ac_cv_header_mpi_h" "$ac_includes_default"
18821 if test "x$ac_cv_header_mpi_h" = x
""yes; then :
18824 as_fn_error
"\"missing mpi.h\"" "$LINENO" 5
18830 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
18832 BUILD_MPI_FALSE
='#'
18842 # Check whether --enable-omp was given.
18843 if test "${enable_omp+set}" = set; then :
18844 enableval
=$enable_omp; ENABLE_OMP
="ENABLE_OMP"
18849 if test "${ENABLE_OMP}" == 'ENABLE_OMP'; then
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgomp" >&5
18853 $as_echo_n "checking for main in -lgomp... " >&6; }
18854 if test "${ac_cv_lib_gomp_main+set}" = set; then :
18855 $as_echo_n "(cached) " >&6
18857 ac_check_lib_save_LIBS
=$LIBS
18858 LIBS
="-lgomp $LIBS"
18859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18871 if ac_fn_c_try_link
"$LINENO"; then :
18872 ac_cv_lib_gomp_main
=yes
18874 ac_cv_lib_gomp_main
=no
18876 rm -f core conftest.err conftest.
$ac_objext \
18877 conftest
$ac_exeext conftest.
$ac_ext
18878 LIBS
=$ac_check_lib_save_LIBS
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gomp_main" >&5
18881 $as_echo "$ac_cv_lib_gomp_main" >&6; }
18882 if test "x$ac_cv_lib_gomp_main" = x
""yes; then :
18883 cat >>confdefs.h
<<_ACEOF
18884 #define HAVE_LIBGOMP 1
18887 LIBS
="-lgomp $LIBS"
18890 as_fn_error
"\"libgomp not installed\"" "$LINENO" 5
18893 ac_fn_c_check_header_mongrel
"$LINENO" "omp.h" "ac_cv_header_omp_h" "$ac_includes_default"
18894 if test "x$ac_cv_header_omp_h" = x
""yes; then :
18897 as_fn_error
"\"missing omp.h\"" "$LINENO" 5
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfftw3_threads" >&5
18903 $as_echo_n "checking for main in -lfftw3_threads... " >&6; }
18904 if test "${ac_cv_lib_fftw3_threads_main+set}" = set; then :
18905 $as_echo_n "(cached) " >&6
18907 ac_check_lib_save_LIBS
=$LIBS
18908 LIBS
="-lfftw3_threads $LIBS"
18909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h. */
18921 if ac_fn_c_try_link
"$LINENO"; then :
18922 ac_cv_lib_fftw3_threads_main
=yes
18924 ac_cv_lib_fftw3_threads_main
=no
18926 rm -f core conftest.err conftest.
$ac_objext \
18927 conftest
$ac_exeext conftest.
$ac_ext
18928 LIBS
=$ac_check_lib_save_LIBS
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_threads_main" >&5
18931 $as_echo "$ac_cv_lib_fftw3_threads_main" >&6; }
18932 if test "x$ac_cv_lib_fftw3_threads_main" = x
""yes; then :
18933 cat >>confdefs.h
<<_ACEOF
18934 #define HAVE_LIBFFTW3_THREADS 1
18937 LIBS
="-lfftw3_threads $LIBS"
18940 as_fn_error
"\"libfftw3_threads not installed\"" "$LINENO" 5
18947 for ac_header
in stdlib.h string.h
time.h unistd.h fftw3.h hdf5.h \
18950 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18951 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18952 eval as_val
=\$
$as_ac_Header
18953 if test "x$as_val" = x
""yes; then :
18954 cat >>confdefs.h
<<_ACEOF
18955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18963 for ac_func
in memset sqrt strstr
18965 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18966 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18967 eval as_val
=\$
$as_ac_var
18968 if test "x$as_val" = x
""yes; then :
18969 cat >>confdefs.h
<<_ACEOF
18970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18978 ac_config_files
="$ac_config_files Makefile lib/Makefile include/Makefile include/gpiv/Makefile"
18980 cat >confcache
<<\_ACEOF
18981 # This file is a shell script that caches the results of configure
18982 # tests run on this system so they can be shared between configure
18983 # scripts and configure runs, see configure's option --config-cache.
18984 # It is not useful on other systems. If it contains results you don't
18985 # want to keep, you may remove or edit it.
18987 # config.status only pays attention to the cache file if you give it
18988 # the --recheck option to rerun configure.
18990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18992 # following values.
18996 # The following way of writing the cache mishandles newlines in values,
18997 # but we know of no workaround that is simple, portable, and efficient.
18998 # So, we kill variables containing newlines.
18999 # Ultrix sh set writes to stderr and can't be redirected directly,
19000 # and sets the high bit in the cache file unless we assign to the vars.
19002 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19003 eval ac_val
=\$
$ac_var
19007 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19011 _ | IFS | as_nl
) ;; #(
19012 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19013 *) { eval $ac_var=; unset $ac_var;} ;;
19019 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19020 *${as_nl}ac_space
=\
*)
19021 # `set' does not quote correctly, so add quotes: double-quote
19022 # substitution turns \\\\ into \\, and sed turns \\ into \.
19025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19028 # `set' quotes correctly as required by POSIX, so do not add quotes.
19029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19040 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19042 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19043 if test -w "$cache_file"; then
19044 test "x$cache_file" != "x/dev/null" &&
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19046 $as_echo "$as_me: updating cache $cache_file" >&6;}
19047 cat confcache
>$cache_file
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19050 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19055 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19056 # Let make expand exec_prefix.
19057 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19059 DEFS
=-DHAVE_CONFIG_H
19063 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19064 # 1. Remove the extension, and $U if already installed.
19065 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19066 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19067 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19068 # will be set to the directory where LIBOBJS objects are built.
19069 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19070 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19072 LIBOBJS
=$ac_libobjs
19074 LTLIBOBJS
=$ac_ltlibobjs
19077 if test -z "${HAVE_GNUPLOT_TRUE}" && test -z "${HAVE_GNUPLOT_FALSE}"; then
19078 as_fn_error
"conditional \"HAVE_GNUPLOT\" was never defined.
19079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19081 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
19082 as_fn_error
"conditional \"HAVE_PERL\" was never defined.
19083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19085 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19086 as_fn_error
"conditional \"DX_COND_doc\" was never defined.
19087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19089 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19090 as_fn_error
"conditional \"DX_COND_doc\" was never defined.
19091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19093 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19094 as_fn_error
"conditional \"DX_COND_dot\" was never defined.
19095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19097 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19098 as_fn_error
"conditional \"DX_COND_dot\" was never defined.
19099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19101 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19102 as_fn_error
"conditional \"DX_COND_man\" was never defined.
19103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19105 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19106 as_fn_error
"conditional \"DX_COND_man\" was never defined.
19107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19109 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19110 as_fn_error
"conditional \"DX_COND_rtf\" was never defined.
19111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19113 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19114 as_fn_error
"conditional \"DX_COND_rtf\" was never defined.
19115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19117 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19118 as_fn_error
"conditional \"DX_COND_xml\" was never defined.
19119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19121 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19122 as_fn_error
"conditional \"DX_COND_xml\" was never defined.
19123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19125 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19126 as_fn_error
"conditional \"DX_COND_chm\" was never defined.
19127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19129 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19130 as_fn_error
"conditional \"DX_COND_chm\" was never defined.
19131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19133 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19134 as_fn_error
"conditional \"DX_COND_chi\" was never defined.
19135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19137 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19138 as_fn_error
"conditional \"DX_COND_chi\" was never defined.
19139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19141 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19142 as_fn_error
"conditional \"DX_COND_html\" was never defined.
19143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19145 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19146 as_fn_error
"conditional \"DX_COND_html\" was never defined.
19147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19149 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19150 as_fn_error
"conditional \"DX_COND_ps\" was never defined.
19151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19153 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19154 as_fn_error
"conditional \"DX_COND_ps\" was never defined.
19155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19157 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19158 as_fn_error
"conditional \"DX_COND_pdf\" was never defined.
19159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19161 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19162 as_fn_error
"conditional \"DX_COND_pdf\" was never defined.
19163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19165 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19166 as_fn_error
"conditional \"DX_COND_latex\" was never defined.
19167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19169 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19170 as_fn_error
"conditional \"DX_COND_latex\" was never defined.
19171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19173 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19174 as_fn_error
"conditional \"AMDEP\" was never defined.
19175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19177 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19178 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
19179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19181 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19182 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
19183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19185 if test -n "$EXEEXT"; then
19187 am__EXEEXT_FALSE
='#'
19189 am__EXEEXT_TRUE
='#'
19193 if test -z "${BUILD_MPI_TRUE}" && test -z "${BUILD_MPI_FALSE}"; then
19194 as_fn_error
"conditional \"BUILD_MPI\" was never defined.
19195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19198 : ${CONFIG_STATUS=./config.status}
19200 ac_clean_files_save
=$ac_clean_files
19201 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19203 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19205 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19207 # Generated by $as_me.
19208 # Run this file to recreate the current configuration.
19209 # Compiler output produced by configure, useful for debugging
19210 # configure, is in config.log if it exists.
19213 ac_cs_recheck=false
19216 SHELL=\${CONFIG_SHELL-$SHELL}
19219 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19220 ## -------------------- ##
19221 ## M4sh Initialization. ##
19222 ## -------------------- ##
19224 # Be more Bourne compatible
19225 DUALCASE
=1; export DUALCASE
# for MKS sh
19226 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19229 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19230 # is contrary to our usage. Disable this feature.
19231 alias -g '${1+"$@"}'='"$@"'
19232 setopt NO_GLOB_SUBST
19234 case `(set -o) 2>/dev/null` in #(
19246 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19247 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19248 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19249 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19250 # Prefer a ksh shell builtin over an external printf program on Solaris,
19251 # but without wasting forks for bash or zsh.
19252 if test -z "$BASH_VERSION$ZSH_VERSION" \
19253 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19254 as_echo='print
-r --'
19255 as_echo_n='print
-rn --'
19256 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19257 as_echo='printf %s
\n'
19258 as_echo_n='printf %s
'
19260 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19261 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19262 as_echo_n='/usr
/ucb
/echo -n'
19264 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19265 as_echo_n_body='eval
19269 expr "X$arg" : "X\\(.*\\)$as_nl";
19270 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19272 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19274 export as_echo_n_body
19275 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19277 export as_echo_body
19278 as_echo='sh
-c $as_echo_body as_echo
'
19281 # The user is always right.
19282 if test "${PATH_SEPARATOR+set}" != set; then
19284 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19285 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19292 # We need space, tab and new line, in precisely that order. Quoting is
19293 # there to prevent editors from complaining about space-tab.
19294 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19295 # splitting by setting IFS to empty value.)
19298 # Find who we are. Look in the path if we contain no directory separator.
19300 *[\\/]* ) as_myself=$0 ;;
19301 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19302 for as_dir in $PATH
19305 test -z "$as_dir" && as_dir=.
19306 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19312 # We did not find ourselves, most probably we were run as `sh COMMAND'
19313 # in which case we are not to be found in the path.
19314 if test "x$as_myself" = x
; then
19317 if test ! -f "$as_myself"; then
19318 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19322 # Unset variables that we do not need and which cause bugs (e.g. in
19323 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19324 # suppresses any "Segmentation fault" message there. '((' could
19325 # trigger a bug in pdksh 5.2.14.
19326 for as_var
in BASH_ENV ENV MAIL MAILPATH
19327 do eval test x\
${$as_var+set} = xset \
19328 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19341 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19344 # as_fn_error ERROR [LINENO LOG_FD]
19345 # ---------------------------------
19346 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19347 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19348 # script with status $?, using 1 if that was 0.
19351 as_status
=$?
; test $as_status -eq 0 && as_status
=1
19353 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19354 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
19356 $as_echo "$as_me: error: $1" >&2
19357 as_fn_exit
$as_status
19361 # as_fn_set_status STATUS
19362 # -----------------------
19363 # Set $? to STATUS, without forking.
19364 as_fn_set_status
()
19367 } # as_fn_set_status
19369 # as_fn_exit STATUS
19370 # -----------------
19371 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19375 as_fn_set_status
$1
19381 # Portably unset VAR.
19384 { eval $1=; unset $1;}
19386 as_unset
=as_fn_unset
19387 # as_fn_append VAR VALUE
19388 # ----------------------
19389 # Append the text in VALUE to the end of the definition contained in VAR. Take
19390 # advantage of any shell optimizations that allow amortized linear growth over
19391 # repeated appends, instead of the typical quadratic growth present in naive
19393 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19394 eval 'as_fn_append ()
19405 # as_fn_arith ARG...
19406 # ------------------
19407 # Perform arithmetic evaluation on the ARGs, and store the result in the
19408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19409 # must be portable across $(()) and expr.
19410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19411 eval 'as_fn_arith ()
19418 as_val
=`expr "$@" || test $? -eq 1`
19423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19431 as_basename
=basename
19436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19442 as_me
=`$as_basename -- "$0" ||
19443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19444 X"$0" : 'X\(//\)$' \| \
19445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19447 sed '/^.*\/\([^/][^/]*\)\/*$/{
19461 # Avoid depending upon Character Ranges.
19462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19465 as_cr_digits
='0123456789'
19466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19468 ECHO_C
= ECHO_N
= ECHO_T
=
19469 case `echo -n x` in #(((((
19471 case `echo 'xy\c'` in
19472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19474 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19481 rm -f conf$$ conf$$.exe conf$$.
file
19482 if test -d conf$$.dir
; then
19483 rm -f conf$$.dir
/conf$$.
file
19486 mkdir conf$$.dir
2>/dev
/null
19488 if (echo >conf$$.
file) 2>/dev
/null
; then
19489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19491 # ... but there are two gotchas:
19492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19494 # In both cases, we have to default to `cp -p'.
19495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19506 rmdir conf$$.dir
2>/dev
/null
19511 # Create "$as_dir" as a directory, including parents if necessary.
19516 -*) as_dir
=.
/$as_dir;;
19518 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19522 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19523 *) as_qdir
=$as_dir;;
19525 as_dirs
="'$as_qdir' $as_dirs"
19526 as_dir
=`$as_dirname -- "$as_dir" ||
19527 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19528 X"$as_dir" : 'X\(//\)[^/]' \| \
19529 X"$as_dir" : 'X\(//\)$' \| \
19530 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19531 $as_echo X"$as_dir" |
19532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19536 /^X\(\/\/\)[^/].*/{
19549 test -d "$as_dir" && break
19551 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19552 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
19556 if mkdir
-p .
2>/dev
/null
; then
19557 as_mkdir_p
='mkdir -p "$as_dir"'
19559 test -d .
/-p && rmdir .
/-p
19563 if test -x / >/dev
/null
2>&1; then
19564 as_test_x
='test -x'
19566 if ls -dL / >/dev
/null
2>&1; then
19573 if test -d "$1"; then
19579 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19580 ???[sx]*):;;*)false;;esac;fi
19584 as_executable_p
=$as_test_x
19586 # Sed expression to map a string onto a valid CPP name.
19587 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19589 # Sed expression to map a string onto a valid variable name.
19590 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19594 ## ----------------------------------- ##
19595 ## Main body of $CONFIG_STATUS script. ##
19596 ## ----------------------------------- ##
19598 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19601 # Save the log message, to keep $0 and so on meaningful, and to
19602 # report actual input values of CONFIG_FILES etc. instead of their
19603 # values after options handling.
19605 This file was extended by libgpiv $as_me 0.6.1, which was
19606 generated by GNU Autoconf 2.64. Invocation command line was
19608 CONFIG_FILES = $CONFIG_FILES
19609 CONFIG_HEADERS = $CONFIG_HEADERS
19610 CONFIG_LINKS = $CONFIG_LINKS
19611 CONFIG_COMMANDS = $CONFIG_COMMANDS
19614 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19619 case $ac_config_files in *"
19620 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19623 case $ac_config_headers in *"
19624 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19629 # Files that config.status was made for.
19630 config_files="$ac_config_files"
19631 config_headers="$ac_config_headers"
19632 config_commands="$ac_config_commands"
19636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19638 \`$as_me' instantiates files and other configuration actions
19639 from templates according to the current configuration. Unless the files
19640 and actions are specified as TAGs, all are instantiated by default.
19642 Usage: $0 [OPTION]... [TAG]...
19644 -h, --help print this help, then exit
19645 -V, --version print version number and configuration settings, then exit
19646 -q, --quiet, --silent
19647 do not print progress messages
19648 -d, --debug don't remove temporary files
19649 --recheck update $as_me by reconfiguring in the same conditions
19650 --file=FILE[:TEMPLATE]
19651 instantiate the configuration file FILE
19652 --header=FILE[:TEMPLATE]
19653 instantiate the configuration header FILE
19655 Configuration files:
19658 Configuration headers:
19661 Configuration commands:
19664 Report bugs to the package provider."
19667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19669 libgpiv config.status 0.6.1
19670 configured by $0, generated by GNU Autoconf 2.64,
19671 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19673 Copyright (C) 2009 Free Software Foundation, Inc.
19674 This config.status script is free software; the Free Software Foundation
19675 gives unlimited permission to copy, distribute and modify it."
19682 test -n "\$AWK" || AWK=awk
19685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19686 # The default lists apply if the user does not specify any file.
19692 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19693 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19704 # Handling of the options.
19705 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19707 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19708 $as_echo "$ac_cs_version"; exit ;;
19709 --debug |
--debu |
--deb |
--de |
--d |
-d )
19711 --file |
--fil |
--fi |
--f )
19714 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19716 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19717 ac_need_defaults
=false
;;
19718 --header |
--heade |
--head |
--hea )
19721 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19723 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
19724 ac_need_defaults
=false
;;
19726 # Conflict between --help and --header
19727 as_fn_error
"ambiguous option: \`$1'
19728 Try \`$0 --help' for more information.";;
19729 --help |
--hel |
-h )
19730 $as_echo "$ac_cs_usage"; exit ;;
19731 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19732 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19735 # This is an error.
19736 -*) as_fn_error
"unrecognized option: \`$1'
19737 Try \`$0 --help' for more information." ;;
19739 *) as_fn_append ac_config_targets
" $1"
19740 ac_need_defaults
=false
;;
19746 ac_configure_extra_args
=
19748 if $ac_cs_silent; then
19750 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19755 if \$ac_cs_recheck; then
19756 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19758 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19759 CONFIG_SHELL='$SHELL'
19760 export CONFIG_SHELL
19765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19769 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19770 ## Running $as_me. ##
19776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19782 # The HP-UX ksh and POSIX shell print the target directory to stdout
19783 # if CDPATH is set.
19784 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19786 sed_quote_subst='$sed_quote_subst'
19787 double_quote_subst='$double_quote_subst'
19788 delay_variable_subst='$delay_variable_subst'
19789 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19790 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19791 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19792 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19793 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19794 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19795 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19796 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19797 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19798 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19799 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19800 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19801 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19802 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19803 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19804 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19805 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19806 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19807 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19808 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19809 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19810 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19811 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19812 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19813 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19814 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19815 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19816 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19817 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19818 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19819 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19820 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19821 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19822 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19823 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19824 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19825 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19826 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19827 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19828 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19829 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19830 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19831 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19832 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19833 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
19834 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19835 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19836 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19837 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19838 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19839 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19840 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19841 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19842 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19843 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19844 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19845 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19846 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19847 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19848 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19849 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19850 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19851 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19852 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19853 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19854 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19855 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19856 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19857 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19858 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19859 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19860 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19861 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19862 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19863 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19864 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19865 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19866 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19867 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19868 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19869 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19870 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19871 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19872 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19873 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19874 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19875 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19876 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19877 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19878 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19879 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19880 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19881 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19882 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19883 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19884 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19885 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19886 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19887 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19888 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19889 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19890 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19891 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19892 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19893 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19894 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19895 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19896 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19897 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19898 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19899 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19900 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19901 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19902 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19903 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19904 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19905 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19906 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19907 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
19908 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19909 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19910 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
19911 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
19912 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
19913 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19914 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19915 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19916 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19917 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19918 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19919 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19920 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19921 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19922 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19923 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19924 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19925 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19926 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19927 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19928 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19929 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19930 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19931 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19932 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19933 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19934 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19935 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19936 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19937 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19938 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19939 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19940 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19941 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19942 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19943 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19944 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19945 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19946 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19947 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19948 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19949 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19950 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19951 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19952 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19953 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19954 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19955 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19956 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19957 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19958 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19959 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19962 LTCFLAGS='$LTCFLAGS'
19963 compiler='$compiler_DEFAULT'
19965 # Quote evaled strings.
19977 deplibs_check_method \
19986 lt_cv_sys_global_symbol_pipe \
19987 lt_cv_sys_global_symbol_to_cdecl \
19988 lt_cv_sys_global_symbol_to_c_name_address \
19989 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19992 lt_prog_compiler_no_builtin_flag \
19993 lt_prog_compiler_wl \
19994 lt_prog_compiler_pic \
19995 lt_prog_compiler_static \
19996 lt_cv_prog_compiler_c_o \
20004 export_dynamic_flag_spec \
20005 whole_archive_flag_spec \
20006 compiler_needs_object \
20008 allow_undefined_flag \
20009 no_undefined_flag \
20010 hardcode_libdir_flag_spec \
20011 hardcode_libdir_flag_spec_ld \
20012 hardcode_libdir_separator \
20017 variables_saved_for_relink \
20019 library_names_spec \
20024 compiler_lib_search_dirs \
20029 compiler_lib_search_path \
20032 lt_prog_compiler_no_builtin_flag_CXX \
20033 lt_prog_compiler_wl_CXX \
20034 lt_prog_compiler_pic_CXX \
20035 lt_prog_compiler_static_CXX \
20036 lt_cv_prog_compiler_c_o_CXX \
20037 export_dynamic_flag_spec_CXX \
20038 whole_archive_flag_spec_CXX \
20039 compiler_needs_object_CXX \
20041 allow_undefined_flag_CXX \
20042 no_undefined_flag_CXX \
20043 hardcode_libdir_flag_spec_CXX \
20044 hardcode_libdir_flag_spec_ld_CXX \
20045 hardcode_libdir_separator_CXX \
20046 fix_srcfile_path_CXX \
20047 exclude_expsyms_CXX \
20048 include_expsyms_CXX \
20049 file_list_spec_CXX \
20050 compiler_lib_search_dirs_CXX \
20051 predep_objects_CXX \
20052 postdep_objects_CXX \
20055 compiler_lib_search_path_CXX; do
20056 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20057 *[\\\\\\\`\\"\\\$]*)
20058 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20061 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20066 # Double-quote double-evaled strings.
20067 for var in reload_cmds \
20068 old_postinstall_cmds \
20069 old_postuninstall_cmds \
20071 extract_expsyms_cmds \
20072 old_archive_from_new_cmds \
20073 old_archive_from_expsyms_cmds \
20075 archive_expsym_cmds \
20077 module_expsym_cmds \
20078 export_symbols_cmds \
20081 postuninstall_cmds \
20083 sys_lib_search_path_spec \
20084 sys_lib_dlsearch_path_spec \
20085 old_archive_cmds_CXX \
20086 old_archive_from_new_cmds_CXX \
20087 old_archive_from_expsyms_cmds_CXX \
20089 archive_expsym_cmds_CXX \
20091 module_expsym_cmds_CXX \
20092 export_symbols_cmds_CXX \
20093 prelink_cmds_CXX; do
20094 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20095 *[\\\\\\\`\\"\\\$]*)
20096 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20099 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20104 # Fix-up fallback echo if it was mangled by the above quoting rules.
20106 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20110 ac_aux_dir='$ac_aux_dir'
20111 xsi_shell='$xsi_shell'
20112 lt_shell_append='$lt_shell_append'
20114 # See if we are running on zsh, and set the options which allow our
20115 # commands through without removal of \ escapes INIT.
20116 if test -n "\${ZSH_VERSION+set}" ; then
20117 setopt NO_GLOB_SUBST
20123 TIMESTAMP='$TIMESTAMP'
20131 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20137 # Handling of arguments.
20138 for ac_config_target
in $ac_config_targets
20140 case $ac_config_target in
20141 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20142 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20143 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20144 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20145 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20146 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20147 "include/gpiv/Makefile") CONFIG_FILES
="$CONFIG_FILES include/gpiv/Makefile" ;;
20149 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20154 # If the user did not use the arguments to specify the items to instantiate,
20155 # then the envvar interface is used. Set only those that are not.
20156 # We use the long form for the default assignment because of an extremely
20157 # bizarre bug on SunOS 4.1.3.
20158 if $ac_need_defaults; then
20159 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20160 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20161 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20164 # Have a temporary directory for convenience. Make it in the build tree
20165 # simply because there is no reason against having it here, and in addition,
20166 # creating and moving files from /tmp can sometimes cause problems.
20167 # Hook for its removal unless debugging.
20168 # Note that there is a small window in which the directory will not be cleaned:
20169 # after its creation but before its name has been assigned to `$tmp'.
20173 trap 'exit_status=$?
20174 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20176 trap 'as_fn_exit 1' 1 2 13 15
20178 # Create a (secure) tmp directory for tmp files.
20181 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20182 test -n "$tmp" && test -d "$tmp"
20185 tmp
=.
/conf$$
-$RANDOM
20186 (umask 077 && mkdir
"$tmp")
20187 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
20189 # Set up the scripts for CONFIG_FILES section.
20190 # No need to generate them if there are no CONFIG_FILES.
20191 # This happens for instance with `./config.status config.h'.
20192 if test -n "$CONFIG_FILES"; then
20195 ac_cr
=`echo X | tr X '\015'`
20196 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20197 # But we know of no other shell where ac_cr would be empty at this
20198 # point, so we can use a bashism as a fallback.
20199 if test "x$ac_cr" = x
; then
20200 eval ac_cr
=\$
\'\\r
\'
20202 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20203 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20206 ac_cs_awk_cr
=$ac_cr
20209 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20214 echo "cat >conf$$subs.awk <<_ACEOF" &&
20215 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20217 } >conf$$subs.sh ||
20218 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20219 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20221 for ac_last_try in false false false false false :; do
20222 . ./conf$$subs.sh ||
20223 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20225 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20226 if test $ac_delim_n = $ac_delim_num; then
20228 elif $ac_last_try; then
20229 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20231 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20234 rm -f conf$$subs.sh
20236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20237 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
20241 s/^/S["/; s
/!.
*/"]=/
20251 s/\(.\{148\}\).*/\1/
20253 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20258 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20265 s/\(.\{148\}\).*/\1/
20267 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20271 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20276 ' <conf$$subs.awk | sed '
20281 ' >>$CONFIG_STATUS || ac_write_fail=1
20282 rm -f conf$$subs.awk
20283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20285 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
20286 for (key in S) S_is_set[key] = 1
20292 nfields = split(line, field, "@
")
20294 len = length(field[1])
20295 for (i = 2; i < nfields; i++) {
20297 keylen = length(key)
20298 if (S_is_set[key]) {
20300 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20301 len += length(value) + length(field[++i])
20312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20313 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20314 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20317 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
20318 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
20321 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20322 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
20323 # trailing colons and then remove the whole line if VPATH becomes empty
20324 # (actually we leave an empty line to preserve line numbers).
20325 if test "x
$srcdir" = x.; then
20326 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20327 s/:*\$(srcdir):*/:/
20328 s/:*\${srcdir}:*/:/
20330 s/^\([^=]*=[ ]*\):*/\1/
20336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20337 fi # test -n "$CONFIG_FILES"
20339 # Set up the scripts for CONFIG_HEADERS section.
20340 # No need to generate them if there are no CONFIG_HEADERS.
20341 # This happens for instance with `./config.status Makefile'.
20342 if test -n "$CONFIG_HEADERS"; then
20343 cat >"$tmp/defines.
awk" <<\_ACAWK ||
20347 # Transform confdefs.h into an awk script `defines.awk', embedded as
20348 # here-document in config.status, that substitutes the proper values into
20349 # config.h.in to produce config.h.
20351 # Create a delimiter string that does not exist in confdefs.h, to ease
20352 # handling of long lines.
20354 for ac_last_try in false false :; do
20355 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
20356 if test -z "$ac_t"; then
20358 elif $ac_last_try; then
20359 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
20361 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20365 # For the awk script, D is an array of macro values keyed by name,
20366 # likewise P contains macro parameters if any. Preserve backslash
20367 # newline sequences.
20369 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20371 s/.\{148\}/&'"$ac_delim"'/g
20374 s/^[ ]*#[ ]*define[ ][ ]*/ /
20381 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20383 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20387 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20388 D["\
1"]=" \
3\\\\\\n
"\\/p
20390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20395 s/.\{148\}/&'"$ac_delim"'/g
20400 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20403 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20405 ' <confdefs.h | sed '
20406 s/'"$ac_delim"'/"\\\
20407 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20410 for (key in D) D_is_set[key] = 1
20413 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20415 split(line, arg, " ")
20416 if (arg[1] == "#") {
20420 defundef
= substr
(arg
[1], 2)
20423 split(mac1
, mac2
, "(") #)
20425 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20426 if (D_is_set
[macro
]) {
20427 # Preserve the white space surrounding the "#".
20428 print prefix
"define", macro P
[macro
] D
[macro
]
20431 # Replace #undef with comments. This is necessary, for example,
20432 # in the case of _POSIX_SOURCE, which is predefined and required
20433 # on some systems where configure will not decide to define it.
20434 if (defundef
== "undef") {
20435 print
"/*", prefix defundef
, macro
, "*/"
20443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20444 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
20445 fi # test -n "$CONFIG_HEADERS"
20448 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20453 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20455 case $ac_mode$ac_tag in
20457 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20458 :[FH
]-) ac_tag
=-:-;;
20459 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20476 -) ac_f
="$tmp/stdin";;
20477 *) # Look for the file first in the build tree, then in the source tree
20478 # (if the path is not absolute). The absolute path cannot be DOS-style,
20479 # because $ac_f cannot contain `:'.
20483 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20485 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
20487 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20488 as_fn_append ac_file_inputs
" '$ac_f'"
20491 # Let's still pretend it is `configure' which instantiates (i.e., don't
20492 # use $as_me), people would be surprised to read:
20493 # /* config.h. Generated by config.status. */
20494 configure_input
='Generated from '`
20495 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20497 if test x
"$ac_file" != x-
; then
20498 configure_input
="$ac_file. $configure_input"
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20500 $as_echo "$as_me: creating $ac_file" >&6;}
20502 # Neutralize special characters interpreted by sed in replacement strings.
20503 case $configure_input in #(
20504 *\
&* |
*\|
* |
*\\* )
20505 ac_sed_conf_input
=`$as_echo "$configure_input" |
20506 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20507 *) ac_sed_conf_input
=$configure_input;;
20511 *:-:* |
*:-) cat >"$tmp/stdin" \
20512 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
20517 ac_dir
=`$as_dirname -- "$ac_file" ||
20518 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20519 X"$ac_file" : 'X\(//\)[^/]' \| \
20520 X"$ac_file" : 'X\(//\)$' \| \
20521 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20522 $as_echo X"$ac_file" |
20523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20527 /^X\(\/\/\)[^/].*/{
20540 as_dir
="$ac_dir"; as_fn_mkdir_p
20544 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20546 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20547 # A ".." for each directory in $ac_dir_suffix.
20548 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20549 case $ac_top_builddir_sub in
20550 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20551 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20554 ac_abs_top_builddir
=$ac_pwd
20555 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20556 # for backward compatibility:
20557 ac_top_builddir
=$ac_top_build_prefix
20560 .
) # We are building in place.
20562 ac_top_srcdir
=$ac_top_builddir_sub
20563 ac_abs_top_srcdir
=$ac_pwd ;;
20564 [\\/]* | ?
:[\\/]* ) # Absolute name.
20565 ac_srcdir
=$srcdir$ac_dir_suffix;
20566 ac_top_srcdir
=$srcdir
20567 ac_abs_top_srcdir
=$srcdir ;;
20568 *) # Relative name.
20569 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20570 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20571 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20573 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20583 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20584 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20586 ac_MKDIR_P
=$MKDIR_P
20588 [\\/$
]* | ?
:[\\/]* ) ;;
20589 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20594 # If the template does not know about datarootdir, expand it.
20595 # FIXME: This hack should be removed a few years after 2.60.
20596 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20607 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20608 *datarootdir
*) ac_datarootdir_seen
=yes;;
20609 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20611 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20614 ac_datarootdir_hack='
20615 s&@datadir@&$datadir&g
20616 s&@docdir@&$docdir&g
20617 s&@infodir@&$infodir&g
20618 s&@localedir@&$localedir&g
20619 s&@mandir@&$mandir&g
20620 s&\\\${datarootdir}&$datarootdir&g' ;;
20624 # Neutralize VPATH when `$srcdir' = `.'.
20625 # Shell code in configure.ac might set extrasub.
20626 # FIXME: do we really want to maintain this feature?
20627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20628 ac_sed_extra="$ac_vpsub
20631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20633 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20634 s|@configure_input@|
$ac_sed_conf_input|
;t t
20635 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20636 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20637 s
&@srcdir@
&$ac_srcdir&;t t
20638 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20639 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20640 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20641 s
&@builddir@
&$ac_builddir&;t t
20642 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20643 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20644 s
&@INSTALL@
&$ac_INSTALL&;t t
20645 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20646 $ac_datarootdir_hack
20648 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
20649 || as_fn_error "could not create
$ac_file" "$LINENO" 5
20651 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20652 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20653 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20655 which seems to be undefined. Please make sure it is defined." >&5
20656 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20657 which seems to be undefined. Please make sure it is defined." >&2;}
20661 -) cat "$tmp/out" && rm -f "$tmp/out";;
20662 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20664 || as_fn_error "could not create $ac_file" "$LINENO" 5
20670 if test x"$ac_file" != x-; then
20672 $as_echo "/* $configure_input */" \
20673 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20674 } >"$tmp/config.h" \
20675 || as_fn_error "could not create $ac_file" "$LINENO" 5
20676 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20677 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20678 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20681 mv "$tmp/config.h" "$ac_file" \
20682 || as_fn_error "could not create $ac_file" "$LINENO" 5
20685 $as_echo "/* $configure_input */" \
20686 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20687 || as_fn_error "could not create -" "$LINENO" 5
20689 # Compute "$ac_file"'s index
in $config_headers.
20692 for _am_header
in $config_headers :; do
20693 case $_am_header in
20694 $_am_arg |
$_am_arg:* )
20697 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20700 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20701 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20702 X"$_am_arg" : 'X\(//\)[^/]' \| \
20703 X"$_am_arg" : 'X\(//\)$' \| \
20704 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20705 $as_echo X"$_am_arg" |
20706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20710 /^X\(\/\/\)[^/].*/{
20722 s/.*/./; q'`/stamp-h
$_am_stamp_count
20725 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20726 $as_echo "$as_me: executing $ac_file commands" >&6;}
20731 case $ac_file$ac_mode in
20734 # See if we are running on zsh, and set the options which allow our
20735 # commands through without removal of \ escapes.
20736 if test -n "${ZSH_VERSION+set}" ; then
20737 setopt NO_GLOB_SUBST
20740 cfgfile
="${ofile}T"
20741 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20744 cat <<_LT_EOF >> "$cfgfile"
20747 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20748 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20749 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20750 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20752 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20753 # 2006, 2007, 2008 Free Software Foundation, Inc.
20754 # Written by Gordon Matzigkeit, 1996
20756 # This file is part of GNU Libtool.
20758 # GNU Libtool is free software; you can redistribute it and/or
20759 # modify it under the terms of the GNU General Public License as
20760 # published by the Free Software Foundation; either version 2 of
20761 # the License, or (at your option) any later version.
20763 # As a special exception to the GNU General Public License,
20764 # if you distribute this file as part of a program or library that
20765 # is built using GNU Libtool, you may include this file under the
20766 # same distribution terms that you use for the rest of that program.
20768 # GNU Libtool is distributed in the hope that it will be useful,
20769 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20770 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20771 # GNU General Public License for more details.
20773 # You should have received a copy of the GNU General Public License
20774 # along with GNU Libtool; see the file COPYING. If not, a copy
20775 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20776 # obtained by writing to the Free Software Foundation, Inc.,
20777 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20780 # The names of the tagged configurations supported by this script.
20781 available_tags="CXX "
20783 # ### BEGIN LIBTOOL CONFIG
20785 # Which release of libtool.m4 was used?
20786 macro_version=$macro_version
20787 macro_revision=$macro_revision
20789 # Whether or not to build shared libraries.
20790 build_libtool_libs=$enable_shared
20792 # Whether or not to build static libraries.
20793 build_old_libs=$enable_static
20795 # What type of objects to build.
20798 # Whether or not to optimize for fast installation.
20799 fast_install=$enable_fast_install
20802 host_alias=$host_alias
20806 # The build system.
20807 build_alias=$build_alias
20811 # A sed program that does not truncate output.
20814 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20815 Xsed="\$SED -e 1s/^X//"
20817 # A grep program that handles long lines.
20823 # A literal string matcher.
20826 # A BSD- or MS-compatible name lister.
20829 # Whether we need soft or hard links.
20832 # What is the maximum length of a command?
20833 max_cmd_len=$max_cmd_len
20835 # Object file suffix (normally "o").
20838 # Executable file suffix (normally "").
20841 # whether the shell understands "unset".
20844 # turn spaces into newlines.
20847 # turn newlines into spaces.
20850 # How to create reloadable object files.
20851 reload_flag=$lt_reload_flag
20852 reload_cmds=$lt_reload_cmds
20854 # An object symbol dumper.
20855 OBJDUMP=$lt_OBJDUMP
20857 # Method to check whether dependent libraries are shared objects.
20858 deplibs_check_method=$lt_deplibs_check_method
20860 # Command to use when deplibs_check_method == "file_magic".
20861 file_magic_cmd=$lt_file_magic_cmd
20865 AR_FLAGS=$lt_AR_FLAGS
20867 # A symbol stripping program.
20870 # Commands used to install an old-style archive.
20872 old_postinstall_cmds=$lt_old_postinstall_cmds
20873 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20878 # LTCC compiler flags.
20879 LTCFLAGS=$lt_CFLAGS
20881 # Take the output of nm and produce a listing of raw symbols and C names.
20882 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20884 # Transform the output of nm in a proper C declaration.
20885 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20887 # Transform the output of nm in a C name address pair.
20888 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20890 # Transform the output of nm in a C name address pair when lib prefix is needed.
20891 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20893 # The name of the directory that contains temporary libtool files.
20896 # Shell to use when invoking shell scripts.
20899 # An echo program that does not interpret backslashes.
20902 # Used to examine libraries when file_magic_cmd begins with "file".
20903 MAGIC_CMD=$MAGIC_CMD
20905 # Must we lock files when doing compilation?
20906 need_locks=$lt_need_locks
20908 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20909 DSYMUTIL=$lt_DSYMUTIL
20911 # Tool to change global to local symbols on Mac OS X.
20914 # Tool to manipulate fat objects and archives on Mac OS X.
20917 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20920 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20921 OTOOL64=$lt_OTOOL64
20923 # Old archive suffix (normally "a").
20926 # Shared library suffix (normally ".so").
20927 shrext_cmds=$lt_shrext_cmds
20929 # The commands to extract the exported symbol list from a shared archive.
20930 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20932 # Variables whose values should be saved in libtool wrapper scripts and
20933 # restored at link time.
20934 variables_saved_for_relink=$lt_variables_saved_for_relink
20936 # Do we need the "lib" prefix for modules?
20937 need_lib_prefix=$need_lib_prefix
20939 # Do we need a version for libraries?
20940 need_version=$need_version
20942 # Library versioning type.
20943 version_type=$version_type
20945 # Shared library runtime path variable.
20946 runpath_var=$runpath_var
20948 # Shared library path variable.
20949 shlibpath_var=$shlibpath_var
20951 # Is shlibpath searched before the hard-coded library search path?
20952 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20954 # Format of library name prefix.
20955 libname_spec=$lt_libname_spec
20957 # List of archive names. First name is the real one, the rest are links.
20958 # The last name is the one that the linker finds with -lNAME
20959 library_names_spec=$lt_library_names_spec
20961 # The coded name of the library, if different from the real name.
20962 soname_spec=$lt_soname_spec
20964 # Command to use after installation of a shared archive.
20965 postinstall_cmds=$lt_postinstall_cmds
20967 # Command to use after uninstallation of a shared archive.
20968 postuninstall_cmds=$lt_postuninstall_cmds
20970 # Commands used to finish a libtool library installation in a directory.
20971 finish_cmds=$lt_finish_cmds
20973 # As "finish_cmds", except a single script fragment to be evaled but
20975 finish_eval=$lt_finish_eval
20977 # Whether we should hardcode library paths into libraries.
20978 hardcode_into_libs=$hardcode_into_libs
20980 # Compile-time system search path for libraries.
20981 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20983 # Run-time system search path for libraries.
20984 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20986 # Whether dlopen is supported.
20987 dlopen_support=$enable_dlopen
20989 # Whether dlopen of programs is supported.
20990 dlopen_self=$enable_dlopen_self
20992 # Whether dlopen of statically linked programs is supported.
20993 dlopen_self_static=$enable_dlopen_self_static
20995 # Commands to strip libraries.
20996 old_striplib=$lt_old_striplib
20997 striplib=$lt_striplib
21000 # The linker used to build libraries.
21003 # Commands used to build an old-style archive.
21004 old_archive_cmds=$lt_old_archive_cmds
21006 # A language specific compiler.
21009 # Is the compiler the GNU compiler?
21012 # Compiler flag to turn off builtin functions.
21013 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21015 # How to pass a linker flag through the compiler.
21016 wl=$lt_lt_prog_compiler_wl
21018 # Additional compiler flags for building library objects.
21019 pic_flag=$lt_lt_prog_compiler_pic
21021 # Compiler flag to prevent dynamic linking.
21022 link_static_flag=$lt_lt_prog_compiler_static
21024 # Does compiler simultaneously support -c and -o options?
21025 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21027 # Whether or not to add -lc for building shared libraries.
21028 build_libtool_need_lc=$archive_cmds_need_lc
21030 # Whether or not to disallow shared libs when runtime libs are static.
21031 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21033 # Compiler flag to allow reflexive dlopens.
21034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21036 # Compiler flag to generate shared objects directly from archives.
21037 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21039 # Whether the compiler copes with passing no objects directly.
21040 compiler_needs_object=$lt_compiler_needs_object
21042 # Create an old-style archive from a shared archive.
21043 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21045 # Create a temporary old-style archive to link instead of a shared archive.
21046 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21048 # Commands used to build a shared archive.
21049 archive_cmds=$lt_archive_cmds
21050 archive_expsym_cmds=$lt_archive_expsym_cmds
21052 # Commands used to build a loadable module if different from building
21053 # a shared archive.
21054 module_cmds=$lt_module_cmds
21055 module_expsym_cmds=$lt_module_expsym_cmds
21057 # Whether we are building with GNU ld or not.
21058 with_gnu_ld=$lt_with_gnu_ld
21060 # Flag that allows shared libraries with undefined symbols to be built.
21061 allow_undefined_flag=$lt_allow_undefined_flag
21063 # Flag that enforces no undefined symbols.
21064 no_undefined_flag=$lt_no_undefined_flag
21066 # Flag to hardcode \$libdir into a binary during linking.
21067 # This must work even if \$libdir does not exist
21068 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21070 # If ld is used when linking, flag to hardcode \$libdir into a binary
21071 # during linking. This must work even if \$libdir does not exist.
21072 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21074 # Whether we need a single "-rpath" flag with a separated argument.
21075 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21078 # DIR into the resulting binary.
21079 hardcode_direct=$hardcode_direct
21081 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21082 # DIR into the resulting binary and the resulting library dependency is
21083 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21084 # library is relocated.
21085 hardcode_direct_absolute=$hardcode_direct_absolute
21087 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21088 # into the resulting binary.
21089 hardcode_minus_L=$hardcode_minus_L
21091 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21092 # into the resulting binary.
21093 hardcode_shlibpath_var=$hardcode_shlibpath_var
21095 # Set to "yes" if building a shared library automatically hardcodes DIR
21096 # into the library and all subsequent libraries and executables linked
21098 hardcode_automatic=$hardcode_automatic
21100 # Set to yes if linker adds runtime paths of dependent libraries
21101 # to runtime path list.
21102 inherit_rpath=$inherit_rpath
21104 # Whether libtool must link a program against all its dependency libraries.
21105 link_all_deplibs=$link_all_deplibs
21107 # Fix the shell variable \$srcfile for the compiler.
21108 fix_srcfile_path=$lt_fix_srcfile_path
21110 # Set to "yes" if exported symbols are required.
21111 always_export_symbols=$always_export_symbols
21113 # The commands to list exported symbols.
21114 export_symbols_cmds=$lt_export_symbols_cmds
21116 # Symbols that should not be listed in the preloaded symbols.
21117 exclude_expsyms=$lt_exclude_expsyms
21119 # Symbols that must always be exported.
21120 include_expsyms=$lt_include_expsyms
21122 # Commands necessary for linking programs (against libraries) with templates.
21123 prelink_cmds=$lt_prelink_cmds
21125 # Specify filename containing input files.
21126 file_list_spec=$lt_file_list_spec
21128 # How to hardcode a shared library path into an executable.
21129 hardcode_action=$hardcode_action
21131 # The directories searched by this compiler when creating a shared library.
21132 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21134 # Dependencies to place before and after the objects being linked to
21135 # create a shared library.
21136 predep_objects=$lt_predep_objects
21137 postdep_objects=$lt_postdep_objects
21138 predeps=$lt_predeps
21139 postdeps=$lt_postdeps
21141 # The library search path used internally by the compiler when linking
21142 # a shared library.
21143 compiler_lib_search_path=$lt_compiler_lib_search_path
21145 # ### END LIBTOOL CONFIG
21151 cat <<\_LT_EOF
>> "$cfgfile"
21152 # AIX sometimes has problems with the GCC collect2 program. For some
21153 # reason, if we set the COLLECT_NAMES environment variable, the problems
21154 # vanish in a puff of smoke.
21155 if test "X${COLLECT_NAMES+set}" != Xset
; then
21157 export COLLECT_NAMES
21164 ltmain
="$ac_aux_dir/ltmain.sh"
21167 # We use sed instead of cat because bash on DJGPP gets confused if
21168 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21169 # text mode, it properly converts lines to CR/LF. This bash problem
21170 # is reportedly fixed, but why not run on old versions too?
21171 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21172 ||
(rm -f "$cfgfile"; exit 1)
21176 cat << \_LT_EOF
>> "$cfgfile"
21178 # func_dirname file append nondir_replacement
21179 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21180 # otherwise set result to NONDIR_REPLACEMENT.
21184 */*) func_dirname_result
="${1%/*}${2}" ;;
21185 * ) func_dirname_result
="${3}" ;;
21189 # func_basename file
21192 func_basename_result
="${1##*/}"
21195 # func_dirname_and_basename file append nondir_replacement
21196 # perform func_basename and func_dirname in a single function
21198 # dirname: Compute the dirname of FILE. If nonempty,
21199 # add APPEND to the result, otherwise set result
21200 # to NONDIR_REPLACEMENT.
21201 # value returned in "$func_dirname_result"
21202 # basename: Compute filename of FILE.
21203 # value retuned in "$func_basename_result"
21204 # Implementation must be kept synchronized with func_dirname
21205 # and func_basename. For efficiency, we do not delegate to
21206 # those functions but instead duplicate the functionality here.
21207 func_dirname_and_basename
()
21210 */*) func_dirname_result
="${1%/*}${2}" ;;
21211 * ) func_dirname_result
="${3}" ;;
21213 func_basename_result
="${1##*/}"
21216 # func_stripname prefix suffix name
21217 # strip PREFIX and SUFFIX off of NAME.
21218 # PREFIX and SUFFIX must not contain globbing or regex special
21219 # characters, hashes, percent signs, but SUFFIX may contain a leading
21220 # dot (in which case that matches only a dot).
21223 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21224 # positional parameters, so assign one to ordinary parameter first.
21225 func_stripname_result
=${3}
21226 func_stripname_result
=${func_stripname_result#"${1}"}
21227 func_stripname_result
=${func_stripname_result%"${2}"}
21233 func_opt_split_opt
=${1%%=*}
21234 func_opt_split_arg
=${1#*=}
21241 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21242 *) func_lo2o_result
=${1} ;;
21246 # func_xform libobj-or-source
21249 func_xform_result
=${1%.*}.lo
21252 # func_arith arithmetic-term...
21255 func_arith_result
=$
(( $
* ))
21259 # STRING may not start with a hyphen.
21262 func_len_result
=${#1}
21267 *) # Bourne compatible functions.
21268 cat << \_LT_EOF
>> "$cfgfile"
21270 # func_dirname file append nondir_replacement
21271 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21272 # otherwise set result to NONDIR_REPLACEMENT.
21275 # Extract subdirectory from the argument.
21276 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21277 if test "X$func_dirname_result" = "X${1}"; then
21278 func_dirname_result
="${3}"
21280 func_dirname_result
="$func_dirname_result${2}"
21284 # func_basename file
21287 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21291 # func_stripname prefix suffix name
21292 # strip PREFIX and SUFFIX off of NAME.
21293 # PREFIX and SUFFIX must not contain globbing or regex special
21294 # characters, hashes, percent signs, but SUFFIX may contain a leading
21295 # dot (in which case that matches only a dot).
21296 # func_strip_suffix prefix name
21300 .
*) func_stripname_result
=`$ECHO "X${3}" \
21301 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21302 *) func_stripname_result
=`$ECHO "X${3}" \
21303 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21308 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21309 my_sed_long_arg
='1s/^-[^=]*=//'
21314 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21315 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21321 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21324 # func_xform libobj-or-source
21327 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21330 # func_arith arithmetic-term...
21333 func_arith_result
=`expr "$@"`
21337 # STRING may not start with a hyphen.
21340 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21346 case $lt_shell_append in
21348 cat << \_LT_EOF
>> "$cfgfile"
21350 # func_append var value
21351 # Append VALUE to the end of shell variable VAR.
21359 cat << \_LT_EOF
>> "$cfgfile"
21361 # func_append var value
21362 # Append VALUE to the end of shell variable VAR.
21373 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21374 ||
(rm -f "$cfgfile"; exit 1)
21376 mv -f "$cfgfile" "$ofile" ||
21377 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21381 cat <<_LT_EOF >> "$ofile"
21383 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21385 # The linker used to build libraries.
21388 # Commands used to build an old-style archive.
21389 old_archive_cmds=$lt_old_archive_cmds_CXX
21391 # A language specific compiler.
21392 CC=$lt_compiler_CXX
21394 # Is the compiler the GNU compiler?
21397 # Compiler flag to turn off builtin functions.
21398 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21400 # How to pass a linker flag through the compiler.
21401 wl=$lt_lt_prog_compiler_wl_CXX
21403 # Additional compiler flags for building library objects.
21404 pic_flag=$lt_lt_prog_compiler_pic_CXX
21406 # Compiler flag to prevent dynamic linking.
21407 link_static_flag=$lt_lt_prog_compiler_static_CXX
21409 # Does compiler simultaneously support -c and -o options?
21410 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21412 # Whether or not to add -lc for building shared libraries.
21413 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21415 # Whether or not to disallow shared libs when runtime libs are static.
21416 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21418 # Compiler flag to allow reflexive dlopens.
21419 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21421 # Compiler flag to generate shared objects directly from archives.
21422 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21424 # Whether the compiler copes with passing no objects directly.
21425 compiler_needs_object=$lt_compiler_needs_object_CXX
21427 # Create an old-style archive from a shared archive.
21428 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21430 # Create a temporary old-style archive to link instead of a shared archive.
21431 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21433 # Commands used to build a shared archive.
21434 archive_cmds=$lt_archive_cmds_CXX
21435 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21437 # Commands used to build a loadable module if different from building
21438 # a shared archive.
21439 module_cmds=$lt_module_cmds_CXX
21440 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21442 # Whether we are building with GNU ld or not.
21443 with_gnu_ld=$lt_with_gnu_ld_CXX
21445 # Flag that allows shared libraries with undefined symbols to be built.
21446 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21448 # Flag that enforces no undefined symbols.
21449 no_undefined_flag=$lt_no_undefined_flag_CXX
21451 # Flag to hardcode \$libdir into a binary during linking.
21452 # This must work even if \$libdir does not exist
21453 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21455 # If ld is used when linking, flag to hardcode \$libdir into a binary
21456 # during linking. This must work even if \$libdir does not exist.
21457 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21459 # Whether we need a single "-rpath" flag with a separated argument.
21460 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21462 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21463 # DIR into the resulting binary.
21464 hardcode_direct=$hardcode_direct_CXX
21466 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21467 # DIR into the resulting binary and the resulting library dependency is
21468 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21469 # library is relocated.
21470 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21472 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21473 # into the resulting binary.
21474 hardcode_minus_L=$hardcode_minus_L_CXX
21476 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21477 # into the resulting binary.
21478 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21480 # Set to "yes" if building a shared library automatically hardcodes DIR
21481 # into the library and all subsequent libraries and executables linked
21483 hardcode_automatic=$hardcode_automatic_CXX
21485 # Set to yes if linker adds runtime paths of dependent libraries
21486 # to runtime path list.
21487 inherit_rpath=$inherit_rpath_CXX
21489 # Whether libtool must link a program against all its dependency libraries.
21490 link_all_deplibs=$link_all_deplibs_CXX
21492 # Fix the shell variable \$srcfile for the compiler.
21493 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21495 # Set to "yes" if exported symbols are required.
21496 always_export_symbols=$always_export_symbols_CXX
21498 # The commands to list exported symbols.
21499 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21501 # Symbols that should not be listed in the preloaded symbols.
21502 exclude_expsyms=$lt_exclude_expsyms_CXX
21504 # Symbols that must always be exported.
21505 include_expsyms=$lt_include_expsyms_CXX
21507 # Commands necessary for linking programs (against libraries) with templates.
21508 prelink_cmds=$lt_prelink_cmds_CXX
21510 # Specify filename containing input files.
21511 file_list_spec=$lt_file_list_spec_CXX
21513 # How to hardcode a shared library path into an executable.
21514 hardcode_action=$hardcode_action_CXX
21516 # The directories searched by this compiler when creating a shared library.
21517 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21519 # Dependencies to place before and after the objects being linked to
21520 # create a shared library.
21521 predep_objects=$lt_predep_objects_CXX
21522 postdep_objects=$lt_postdep_objects_CXX
21523 predeps=$lt_predeps_CXX
21524 postdeps=$lt_postdeps_CXX
21526 # The library search path used internally by the compiler when linking
21527 # a shared library.
21528 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21530 # ### END LIBTOOL TAG CONFIG: CXX
21534 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21535 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21536 # are listed without --file. Let's play safe and only enable the eval
21537 # if we detect the quoting.
21538 case $CONFIG_FILES in
21539 *\'*) eval set x
"$CONFIG_FILES" ;;
21540 *) set x
$CONFIG_FILES ;;
21545 # Strip MF so we end up with the name of the file.
21546 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21547 # Check whether this is an Automake generated Makefile or not.
21548 # We used to match only the files named `Makefile.in', but
21549 # some people rename them; so instead we look at the file content.
21550 # Grep'ing the first line is not enough: some people post-process
21551 # each Makefile.in and add a new line on top of each file to say so.
21552 # Grep'ing the whole file is not good either: AIX grep has a line
21553 # limit of 2048, but all sed's we know have understand at least 4000.
21554 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21555 dirpart
=`$as_dirname -- "$mf" ||
21556 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21557 X"$mf" : 'X\(//\)[^/]' \| \
21558 X"$mf" : 'X\(//\)$' \| \
21559 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21565 /^X\(\/\/\)[^/].*/{
21581 # Extract the definition of DEPDIR, am__include, and am__quote
21582 # from the Makefile without running `make'.
21583 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21584 test -z "$DEPDIR" && continue
21585 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21586 test -z "am__include" && continue
21587 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21588 # When using ansi2knr, U may be empty or an underscore; expand it
21589 U
=`sed -n 's/^U = //p' < "$mf"`
21590 # Find all dependency output files, they are included files with
21591 # $(DEPDIR) in their names. We invoke sed twice because it is the
21592 # simplest approach to changing $(DEPDIR) to its actual value in the
21594 for file in `sed -n "
21595 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21596 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21597 # Make sure the directory exists.
21598 test -f "$dirpart/$file" && continue
21599 fdir
=`$as_dirname -- "$file" ||
21600 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21601 X"$file" : 'X\(//\)[^/]' \| \
21602 X"$file" : 'X\(//\)$' \| \
21603 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21604 $as_echo X"$file" |
21605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21609 /^X\(\/\/\)[^/].*/{
21622 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21623 # echo "creating $dirpart/$file"
21624 echo '# dummy' > "$dirpart/$file"
21636 ac_clean_files
=$ac_clean_files_save
21638 test $ac_write_fail = 0 ||
21639 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21642 # configure is writing to config.log, and then calls config.status.
21643 # config.status does its own redirection, appending to config.log.
21644 # Unfortunately, on DOS this fails, as config.log is still kept open
21645 # by configure, so config.status won't be able to write to it; its
21646 # output is simply discarded. So we exec the FD to /dev/null,
21647 # effectively closing config.log, so it can be properly (re)opened and
21648 # appended to by config.status. When coming back to configure, we
21649 # need to make the FD available again.
21650 if test "$no_create" != yes; then
21652 ac_config_status_args
=
21653 test "$silent" = yes &&
21654 ac_config_status_args
="$ac_config_status_args --quiet"
21656 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21658 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21659 # would make configure fail if this is the last instruction.
21660 $ac_cs_success || as_fn_exit $?
21662 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21664 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21669 echo "===================================================================="
21670 echo "Configuration succesfully finished"
21672 if test $ENABLE_CAM; then
21673 echo "with (IEEE-1394) camera enabled"
21676 if test $ENABLE_TRIG; then
21677 echo "with (realtime) triggering enabled."
21680 if test $ENABLE_MPI; then
21681 echo "building parallel library using Message Passing Interface (MPI)"
21682 echo "for processing on distributed memory systems"
21685 if test $ENABLE_OMP; then
21686 echo "building parallel library using Open Multi-Processing (OMP)"
21687 echo "for processing on shared memory systems"
21690 echo "Type 'make' and 'make install' to build and install libgpiv"
21692 if test $DOXYGEN; then
21693 echo "Type 'make doxygen-doc/-(un)install' for the API documentation"
21695 echo "Cannot find doxygen: API documentation cannot be build"
21698 echo "===================================================================="