2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for LibTIFF Software 4.0.3.
5 # Report bugs to <tiff@lists.maptools.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: tiff@lists.maptools.org about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir -p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='LibTIFF Software'
592 PACKAGE_TARNAME
='tiff'
593 PACKAGE_VERSION
='4.0.3'
594 PACKAGE_STRING
='LibTIFF Software 4.0.3'
595 PACKAGE_BUGREPORT
='tiff@lists.maptools.org'
598 # Factoring default headers for most tests.
599 ac_includes_default
="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars
='am__EXEEXT_FALSE
697 HAVE_LD_VERSION_SCRIPT_FALSE
698 HAVE_LD_VERSION_SCRIPT_TRUE
720 LIBTIFF_ALPHA_VERSION
721 LIBTIFF_MICRO_VERSION
722 LIBTIFF_MINOR_VERSION
723 LIBTIFF_MAJOR_VERSION
725 MAINTAINER_MODE_FALSE
735 INSTALL_STRIP_PROGRAM
785 program_transform_name
798 enable_option_checking
799 enable_maintainer_mode
800 enable_dependency_tracking
801 enable_ld_version_script
821 with_zlib_include_dir
825 with_jpeg_include_dir
829 with_jbig_include_dir
832 with_lzma_include_dir
835 with_jpeg12_include_dir
839 enable_strip_chopping
840 with_default_strip_size
841 enable_defer_strile_load
842 enable_chunky_strip_read
843 enable_extrasample_as_alpha
844 enable_check_ycbcr_subsampling
846 ac_precious_vars
='build_alias
862 # Initialize some variables set by options.
864 ac_init_version
=false
865 ac_unrecognized_opts
=
867 # The variables have the same names as the options, with
868 # dashes changed to underlines.
876 program_transform_name
=s
,x
,x
,
884 # Installation directory options.
885 # These are left unexpanded so users can "make install exec_prefix=/foo"
886 # and all the variables that are supposed to be based on exec_prefix
887 # by default will actually change.
888 # Use braces instead of parens because sh, perl, etc. also accept them.
889 # (The list follows the same order as the GNU Coding Standards.)
890 bindir
='${exec_prefix}/bin'
891 sbindir
='${exec_prefix}/sbin'
892 libexecdir
='${exec_prefix}/libexec'
893 datarootdir
='${prefix}/share'
894 datadir
='${datarootdir}'
895 sysconfdir
='${prefix}/etc'
896 sharedstatedir
='${prefix}/com'
897 localstatedir
='${prefix}/var'
898 includedir
='${prefix}/include'
899 oldincludedir
='/usr/include'
900 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
901 infodir
='${datarootdir}/info'
906 libdir
='${exec_prefix}/lib'
907 localedir
='${datarootdir}/locale'
908 mandir
='${datarootdir}/man'
914 # If the previous option needs an argument, assign it.
915 if test -n "$ac_prev"; then
916 eval $ac_prev=\
$ac_option
922 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
927 # Accept the important Cygnus configure options, so we can diagnose typos.
929 case $ac_dashdash$ac_option in
933 -bindir | --bindir | --bindi | --bind | --bin | --bi)
935 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
938 -build | --build | --buil | --bui | --bu)
939 ac_prev
=build_alias
;;
940 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
941 build_alias
=$ac_optarg ;;
943 -cache-file | --cache-file | --cache-fil | --cache-fi \
944 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
945 ac_prev
=cache_file
;;
946 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
947 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
948 cache_file
=$ac_optarg ;;
951 cache_file
=config.cache
;;
953 -datadir | --datadir | --datadi | --datad)
955 -datadir=* | --datadir=* | --datadi=* | --datad=*)
956 datadir
=$ac_optarg ;;
958 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
959 | --dataroo | --dataro | --datar)
960 ac_prev
=datarootdir
;;
961 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
962 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
963 datarootdir
=$ac_optarg ;;
965 -disable-* | --disable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error $?
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=no
;;
981 -docdir | --docdir | --docdi | --doc | --do)
983 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
986 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
988 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
991 -enable-* | --enable-*)
992 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
993 # Reject names that are not valid shell variable names.
994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
995 as_fn_error $?
"invalid feature name: $ac_useropt"
996 ac_useropt_orig
=$ac_useropt
997 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998 case $ac_user_opts in
1000 "enable_
$ac_useropt"
1002 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1003 ac_unrecognized_sep
=', ';;
1005 eval enable_
$ac_useropt=\
$ac_optarg ;;
1007 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1008 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1009 | --exec | --exe | --ex)
1010 ac_prev
=exec_prefix
;;
1011 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1012 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1013 | --exec=* | --exe=* | --ex=*)
1014 exec_prefix
=$ac_optarg ;;
1016 -gas | --gas | --ga | --g)
1017 # Obsolete; use --with-gas.
1020 -help | --help | --hel | --he | -h)
1021 ac_init_help
=long
;;
1022 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1023 ac_init_help
=recursive
;;
1024 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1025 ac_init_help
=short
;;
1027 -host | --host | --hos | --ho)
1028 ac_prev
=host_alias
;;
1029 -host=* | --host=* | --hos=* | --ho=*)
1030 host_alias
=$ac_optarg ;;
1032 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1034 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1036 htmldir
=$ac_optarg ;;
1038 -includedir | --includedir | --includedi | --included | --include \
1039 | --includ | --inclu | --incl | --inc)
1040 ac_prev
=includedir
;;
1041 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1042 | --includ=* | --inclu=* | --incl=* | --inc=*)
1043 includedir
=$ac_optarg ;;
1045 -infodir | --infodir | --infodi | --infod | --info | --inf)
1047 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1048 infodir
=$ac_optarg ;;
1050 -libdir | --libdir | --libdi | --libd)
1052 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1053 libdir
=$ac_optarg ;;
1055 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1056 | --libexe | --libex | --libe)
1057 ac_prev
=libexecdir
;;
1058 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1059 | --libexe=* | --libex=* | --libe=*)
1060 libexecdir
=$ac_optarg ;;
1062 -localedir | --localedir | --localedi | --localed | --locale)
1063 ac_prev
=localedir
;;
1064 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1065 localedir
=$ac_optarg ;;
1067 -localstatedir | --localstatedir | --localstatedi | --localstated \
1068 | --localstate | --localstat | --localsta | --localst | --locals)
1069 ac_prev
=localstatedir
;;
1070 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1071 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1072 localstatedir
=$ac_optarg ;;
1074 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1076 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1077 mandir
=$ac_optarg ;;
1079 -nfp | --nfp | --nf)
1080 # Obsolete; use --without-fp.
1083 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1084 | --no-cr | --no-c | -n)
1087 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1088 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1091 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1092 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1093 | --oldin | --oldi | --old | --ol | --o)
1094 ac_prev
=oldincludedir
;;
1095 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1096 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1097 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1098 oldincludedir
=$ac_optarg ;;
1100 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1102 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1103 prefix
=$ac_optarg ;;
1105 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1106 | --program-pre | --program-pr | --program-p)
1107 ac_prev
=program_prefix
;;
1108 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1109 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1110 program_prefix
=$ac_optarg ;;
1112 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1113 | --program-suf | --program-su | --program-s)
1114 ac_prev
=program_suffix
;;
1115 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1116 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1117 program_suffix
=$ac_optarg ;;
1119 -program-transform-name | --program-transform-name \
1120 | --program-transform-nam | --program-transform-na \
1121 | --program-transform-n | --program-transform- \
1122 | --program-transform | --program-transfor \
1123 | --program-transfo | --program-transf \
1124 | --program-trans | --program-tran \
1125 | --progr-tra | --program-tr | --program-t)
1126 ac_prev
=program_transform_name
;;
1127 -program-transform-name=* | --program-transform-name=* \
1128 | --program-transform-nam=* | --program-transform-na=* \
1129 | --program-transform-n=* | --program-transform-=* \
1130 | --program-transform=* | --program-transfor=* \
1131 | --program-transfo=* | --program-transf=* \
1132 | --program-trans=* | --program-tran=* \
1133 | --progr-tra=* | --program-tr=* | --program-t=*)
1134 program_transform_name
=$ac_optarg ;;
1136 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1138 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1139 pdfdir
=$ac_optarg ;;
1141 -psdir | --psdir | --psdi | --psd | --ps)
1143 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1147 | -silent | --silent | --silen | --sile | --sil)
1150 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1152 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1154 sbindir
=$ac_optarg ;;
1156 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1157 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1158 | --sharedst | --shareds | --shared | --share | --shar \
1160 ac_prev
=sharedstatedir
;;
1161 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1162 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1163 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1165 sharedstatedir
=$ac_optarg ;;
1167 -site | --site | --sit)
1169 -site=* | --site=* | --sit=*)
1172 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1174 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1175 srcdir
=$ac_optarg ;;
1177 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1178 | --syscon | --sysco | --sysc | --sys | --sy)
1179 ac_prev
=sysconfdir
;;
1180 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1181 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1182 sysconfdir
=$ac_optarg ;;
1184 -target | --target | --targe | --targ | --tar | --ta | --t)
1185 ac_prev
=target_alias
;;
1186 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1187 target_alias
=$ac_optarg ;;
1189 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1192 -version | --version | --versio | --versi | --vers | -V)
1193 ac_init_version
=: ;;
1196 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error $?
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=\
$ac_optarg ;;
1211 -without-* | --without-*)
1212 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1215 as_fn_error $?
"invalid package name: $ac_useropt"
1216 ac_useropt_orig
=$ac_useropt
1217 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 case $ac_user_opts in
1222 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1223 ac_unrecognized_sep
=', ';;
1225 eval with_
$ac_useropt=no
;;
1228 # Obsolete; use --with-x.
1231 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1232 | --x-incl | --x-inc | --x-in | --x-i)
1233 ac_prev
=x_includes
;;
1234 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1235 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1236 x_includes
=$ac_optarg ;;
1238 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1239 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1240 ac_prev
=x_libraries
;;
1241 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1242 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1243 x_libraries
=$ac_optarg ;;
1245 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1246 Try \`$0 --help' for more information"
1250 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1251 # Reject names that are not valid shell variable names.
1252 case $ac_envvar in #(
1253 '' | [0-9]* | *[!_$as_cr_alnum]* )
1254 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1256 eval $ac_envvar=\
$ac_optarg
1257 export $ac_envvar ;;
1260 # FIXME: should be removed in autoconf 3.0.
1261 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1263 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1264 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1270 if test -n "$ac_prev"; then
1271 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1272 as_fn_error $?
"missing argument to $ac_option"
1275 if test -n "$ac_unrecognized_opts"; then
1276 case $enable_option_checking in
1278 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1279 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283 # Check all directory arguments for consistency.
1284 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285 datadir sysconfdir sharedstatedir localstatedir includedir \
1286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287 libdir localedir mandir
1289 eval ac_val
=\$
$ac_var
1290 # Remove trailing slashes.
1293 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1294 eval $ac_var=\
$ac_val;;
1296 # Be sure to have absolute directory names.
1298 [\\/$
]* | ?
:[\\/]* ) continue;;
1299 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1301 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1304 # There might be people who depend on the old broken behavior: `$host'
1305 # used to hold the argument of --host etc.
1306 # FIXME: To remove some day.
1309 target
=$target_alias
1311 # FIXME: To remove some day.
1312 if test "x$host_alias" != x
; then
1313 if test "x$build_alias" = x
; then
1314 cross_compiling
=maybe
1315 elif test "x$build_alias" != "x$host_alias"; then
1321 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1323 test "$silent" = yes && exec 6>/dev
/null
1326 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1327 ac_ls_di
=`ls -di .` &&
1328 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1329 as_fn_error $?
"working directory cannot be determined"
1330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331 as_fn_error $?
"pwd does not report name of working directory"
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted
=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir
=`$as_dirname -- "$as_myself" ||
1339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$as_myself" : 'X\(//\)[^/]' \| \
1341 X"$as_myself" : 'X\(//\)$' \| \
1342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1343 $as_echo X"$as_myself" |
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1366 ac_srcdir_defaulted
=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1370 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1372 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1374 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1376 # When building in place, set srcdir=.
1377 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 # Remove unnecessary trailing slashes from srcdir.
1381 # Double slashes in file names in object file debugging info
1382 # mess up M-x gdb in Emacs.
1384 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386 for ac_var
in $ac_precious_vars; do
1387 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1388 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1389 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1390 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1394 # Report the --help message.
1396 if test "$ac_init_help" = "long"; then
1397 # Omit some internal or obsolete options to make the list less imposing.
1398 # This message is too long to be a string in the A/UX 3.1 sh.
1400 \`configure' configures LibTIFF Software 4.0.3 to adapt to many kinds of systems.
1402 Usage: $0 [OPTION]... [VAR=VALUE]...
1404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1405 VAR=VALUE. See below for descriptions of some of the useful variables.
1407 Defaults for the options are specified in brackets.
1410 -h, --help display this help and exit
1411 --help=short display options specific to this package
1412 --help=recursive display the short help of all the included packages
1413 -V, --version display version information and exit
1414 -q, --quiet, --silent do not print \`checking ...' messages
1415 --cache-file=FILE cache test results in FILE [disabled]
1416 -C, --config-cache alias for \`--cache-file=config.cache'
1417 -n, --no-create do not create output files
1418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1420 Installation directories:
1421 --prefix=PREFIX install architecture-independent files in PREFIX
1422 [$ac_default_prefix]
1423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 By default, \`make install' will install all the files in
1427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1429 for instance \`--prefix=\$HOME'.
1431 For better control, use the options below.
1433 Fine tuning of the installation directories:
1434 --bindir=DIR user executables [EPREFIX/bin]
1435 --sbindir=DIR system admin executables [EPREFIX/sbin]
1436 --libexecdir=DIR program executables [EPREFIX/libexec]
1437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1440 --libdir=DIR object code libraries [EPREFIX/lib]
1441 --includedir=DIR C header files [PREFIX/include]
1442 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1443 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1444 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1445 --infodir=DIR info documentation [DATAROOTDIR/info]
1446 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1447 --mandir=DIR man documentation [DATAROOTDIR/man]
1448 --docdir=DIR documentation root [DATAROOTDIR/doc/tiff]
1449 --htmldir=DIR html documentation [DOCDIR]
1450 --dvidir=DIR dvi documentation [DOCDIR]
1451 --pdfdir=DIR pdf documentation [DOCDIR]
1452 --psdir=DIR ps documentation [DOCDIR]
1458 --program-prefix=PREFIX prepend PREFIX to installed program names
1459 --program-suffix=SUFFIX append SUFFIX to installed program names
1460 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1463 --x-includes=DIR X include files are
in DIR
1464 --x-libraries=DIR X library files are
in DIR
1467 --build=BUILD configure
for building on BUILD
[guessed
]
1468 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short
| recursive
) echo "Configuration of LibTIFF Software 4.0.3:";;
1479 --disable-option-checking ignore unrecognized
--enable/--with options
1480 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1481 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1482 --enable-maintainer-mode
1483 enable make rules and dependencies not useful
(and
1484 sometimes confusing
) to the casual installer
1485 --enable-dependency-tracking
1486 do not reject slow dependency extractors
1487 --disable-dependency-tracking
1488 speeds up one
-time build
1489 --enable-ld-version-script
1490 enable linker version
script (default is disabled
)
1491 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1492 --enable-static[=PKGS
] build static libraries
[default
=yes]
1493 --enable-fast-install[=PKGS
]
1494 optimize
for fast installation
[default
=yes]
1495 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1496 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1497 --disable-silent-rules verbose build output
(undo
: "make V=0")
1498 --enable-rpath Enable runtime linker paths
(-R libtool option
)
1499 --disable-largefile omit support
for large files
1500 --disable-ccitt disable support
for CCITT Group
3 & 4 algorithms
1501 --disable-packbits disable support
for Macintosh PackBits algorithm
1502 --disable-lzw disable support
for LZW algorithm
1503 --disable-thunder disable support
for ThunderScan
4-bit RLE algorithm
1504 --disable-next disable support
for NeXT
2-bit RLE algorithm
1505 --disable-logluv disable support
for LogLuv high dynamic range
1507 --disable-mdi disable support
for Microsoft Document Imaging
1508 --disable-zlib disable Zlib usage
(required
for Deflate
1509 compression
, enabled by default
)
1510 --disable-pixarlog disable support
for Pixar log
-format algorithm
1512 --disable-jpeg disable IJG JPEG library usage
(required
for JPEG
1513 compression
, enabled by default
)
1514 --disable-old-jpeg disable support
for Old JPEG compresson
(read-only,
1516 --disable-jbig disable JBIG
-KIT usage
(required
for ISO JBIG
1517 compression
, enabled by default
)
1518 --disable-lzma disable liblzma usage
(required
for LZMA2
1519 compression
, enabled by default
)
1520 --enable-jpeg12 enable libjpeg
8/12bit dual mode
1521 --enable-cxx enable C
++ stream API building
(requires C
++
1523 --disable-strip-chopping
1524 disable support
for strip chopping
(whether or not
1525 to convert single
-strip uncompressed images to
1526 mutiple strips of specified size to reduce memory
1528 --enable-defer-strile-load
1529 enable deferred strip
/tile offset
/size loading
1531 --enable-chunky-strip-read
1532 enable reading large strips
in chunks
for
1533 TIFFReadScanline
() (experimental
)
1534 --disable-extrasample-as-alpha
1535 the RGBA interface will treat a fourth sample with
1536 no EXTRASAMPLE_ value as being ASSOCALPHA. Many
1537 packages produce RGBA files but don
't mark the alpha
1539 --disable-check-ycbcr-subsampling
1540 disable picking up YCbCr subsampling info from the
1541 JPEG data stream to support files lacking the tag
1544 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1545 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1546 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1548 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1549 --with-sysroot=DIR Search for dependent libraries within DIR
1550 (or the compiler's sysroot
if not specified
).
1551 --with-docdir=DIR directory where documentation should be installed
1552 --with-zlib-include-dir=DIR
1553 location of Zlib headers
1554 --with-zlib-lib-dir=DIR location of Zlib library binary
1555 --with-jpeg-include-dir=DIR
1556 location of IJG JPEG library headers
1557 --with-jpeg-lib-dir=DIR location of IJG JPEG library binary
1558 --with-jbig-include-dir=DIR
1559 location of JBIG
-KIT headers
1560 --with-jbig-lib-dir=DIR location of JBIG
-KIT library binary
1561 --with-lzma-include-dir=DIR
1562 location of liblzma headers
1563 --with-lzma-lib-dir=DIR location of liblzma library binary
1564 --with-jpeg12-include-dir=DIR
1565 location of libjpeg
12bit headers
1566 --with-jpeg12-lib=LIBRARY
1567 path to libjpeg
12bit library
1568 --with-x use the X Window System
1569 --with-default-strip-size=SIZE
1570 default size of the strip
in bytes
(when strip
1571 chopping enabled
) [[default
=8192]]
1573 Some influential environment variables
:
1574 CC C compiler
command
1575 CFLAGS C compiler flags
1576 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1577 nonstandard directory
<lib dir
>
1578 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1579 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1580 you have headers
in a nonstandard directory
<include dir
>
1582 CXX C
++ compiler
command
1583 CXXFLAGS C
++ compiler flags
1584 CXXCPP C
++ preprocessor
1585 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1587 Use these variables to override the choices made by
`configure' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1590 Report bugs to <tiff@lists.maptools.org>.
1595 if test "$ac_init_help" = "recursive"; then
1596 # If there are subdirs, report their specific --help.
1597 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598 test -d "$ac_dir" ||
1599 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1607 # A ".." for each directory in $ac_dir_suffix.
1608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1609 case $ac_top_builddir_sub in
1610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1614 ac_abs_top_builddir=$ac_pwd
1615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir=$ac_top_build_prefix
1620 .) # We are building in place.
1622 ac_top_srcdir=$ac_top_builddir_sub
1623 ac_abs_top_srcdir=$ac_pwd ;;
1624 [\\/]* | ?:[\\/]* ) # Absolute name.
1625 ac_srcdir=$srcdir$ac_dir_suffix;
1626 ac_top_srcdir=$srcdir
1627 ac_abs_top_srcdir=$srcdir ;;
1629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630 ac_top_srcdir=$ac_top_build_prefix$srcdir
1631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635 cd "$ac_dir" || { ac_status=$?; continue; }
1636 # Check for guested configure.
1637 if test -f "$ac_srcdir/configure.gnu"; then
1639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640 elif test -f "$ac_srcdir/configure"; then
1642 $SHELL "$ac_srcdir/configure" --help=recursive
1644 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1646 cd "$ac_pwd" || { ac_status=$?; break; }
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1653 LibTIFF Software configure 4.0.3
1654 generated by GNU Autoconf 2.69
1656 Copyright (C) 2012 Free Software Foundation, Inc.
1657 This configure script is free software; the Free Software Foundation
1658 gives unlimited permission to copy, distribute and modify it.
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext
1674 if { { ac_try="$ac_compile"
1676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1677 *) ac_try_echo
=$ac_try;;
1679 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1683 if test -s conftest.err
; then
1684 grep -v '^ *+' conftest.err
>conftest.er1
1685 cat conftest.er1
>&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.
$ac_objext; then :
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.
$ac_ext >&5
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status
$ac_retval
1703 } # ac_fn_c_try_compile
1705 # ac_fn_c_try_link LINENO
1706 # -----------------------
1707 # Try to link conftest.$ac_ext, and return whether this succeeded.
1710 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1711 rm -f conftest.
$ac_objext conftest
$ac_exeext
1712 if { { ac_try
="$ac_link"
1714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_link") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest$ac_exeext && {
1731 test "$cross_compiling" = yes ||
1732 test -x conftest$ac_exeext
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.$ac_ext >&5
1741 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1742 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1743 # interfere with the next link command; also delete a directory that is
1744 # left behind by Apple's compiler. We do this before executing the actions.
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1749 } # ac_fn_c_try_link
1751 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1752 # -------------------------------------------------------
1753 # Tests whether HEADER exists and can be compiled using the include files in
1754 # INCLUDES, setting the cache variable VAR accordingly.
1755 ac_fn_c_check_header_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761 $as_echo_n "(cached) " >&6
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1768 if ac_fn_c_try_compile "$LINENO"; then :
1773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780 } # ac_fn_c_check_header_compile
1782 # ac_fn_c_try_cpp LINENO
1783 # ----------------------
1784 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 if { { ac_try="$ac_cpp conftest.$ac_ext"
1790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1791 *) ac_try_echo
=$ac_try;;
1793 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797 if test -s conftest.err
; then
1798 grep -v '^ *+' conftest.err
>conftest.er1
1799 cat conftest.er1
>&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } > conftest.i
&& {
1804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.
$ac_ext >&5
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status
$ac_retval
1819 # ac_fn_c_try_run LINENO
1820 # ----------------------
1821 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1822 # that executables *can* be run.
1825 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1826 if { { ac_try
="$ac_link"
1828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_link") 2>&5
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1837 { { case "(($ac_try" in
1838 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1839 *) ac_try_echo
=$ac_try;;
1841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_try") 2>&5
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; }; }; then :
1849 $as_echo "$as_me: program exited with status $ac_status" >&5
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.
$ac_ext >&5
1853 ac_retval
=$ac_status
1855 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status
$ac_retval
1861 # ac_fn_c_check_func LINENO FUNC VAR
1862 # ----------------------------------
1863 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1864 ac_fn_c_check_func
()
1866 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval \
${$3+:} false
; then :
1870 $as_echo_n "(cached) " >&6
1872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1874 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1876 #define $2 innocuous_$2
1878 /* System header to define __stub macros and hopefully few prototypes,
1879 which can conflict with char $2 (); below.
1880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1881 <limits.h> exists even on freestanding compilers. */
1884 # include <limits.h>
1886 # include <assert.h>
1891 /* Override any GCC internal prototype to avoid an error.
1892 Use char because int might match the return type of a GCC
1893 builtin and then its argument prototype would still apply. */
1898 /* The GNU C library defines this for functions which it implements
1899 to always fail with ENOSYS. Some functions are actually named
1900 something starting with __ and the normal name is an alias. */
1901 #if defined __stub_$2 || defined __stub___$2
1913 if ac_fn_c_try_link
"$LINENO"; then :
1918 rm -f core conftest.err conftest.
$ac_objext \
1919 conftest
$ac_exeext conftest.
$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 } # ac_fn_c_check_func
1928 # ac_fn_cxx_try_compile LINENO
1929 # ----------------------------
1930 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_cxx_try_compile
()
1933 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1934 rm -f conftest.
$ac_objext
1935 if { { ac_try
="$ac_compile"
1937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_compile") 2>conftest.err
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_cxx_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest.$ac_objext; then :
1956 $as_echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.$ac_ext >&5
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 as_fn_set_status $ac_retval
1964 } # ac_fn_cxx_try_compile
1966 # ac_fn_cxx_try_cpp LINENO
1967 # ------------------------
1968 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1969 ac_fn_cxx_try_cpp ()
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 if { { ac_try="$ac_cpp conftest.$ac_ext"
1974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1975 *) ac_try_echo
=$ac_try;;
1977 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1981 if test -s conftest.err
; then
1982 grep -v '^ *+' conftest.err
>conftest.er1
1983 cat conftest.er1
>&5
1984 mv -f conftest.er1 conftest.err
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; } > conftest.i
&& {
1988 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1989 test ! -s conftest.err
1993 $as_echo "$as_me: failed program was:" >&5
1994 sed 's/^/| /' conftest.
$ac_ext >&5
1998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999 as_fn_set_status
$ac_retval
2001 } # ac_fn_cxx_try_cpp
2003 # ac_fn_cxx_try_link LINENO
2004 # -------------------------
2005 # Try to link conftest.$ac_ext, and return whether this succeeded.
2006 ac_fn_cxx_try_link
()
2008 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2009 rm -f conftest.
$ac_objext conftest
$ac_exeext
2010 if { { ac_try
="$ac_link"
2012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2013 *) ac_try_echo=$ac_try;;
2015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016 $as_echo "$ac_try_echo"; } >&5
2017 (eval "$ac_link") 2>conftest.err
2019 if test -s conftest.err; then
2020 grep -v '^ *+' conftest.err >conftest.er1
2021 cat conftest.er1 >&5
2022 mv -f conftest.er1 conftest.err
2024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025 test $ac_status = 0; } && {
2026 test -z "$ac_cxx_werror_flag" ||
2027 test ! -s conftest.err
2028 } && test -s conftest$ac_exeext && {
2029 test "$cross_compiling" = yes ||
2030 test -x conftest$ac_exeext
2034 $as_echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.$ac_ext >&5
2039 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2040 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2041 # interfere with the next link command; also delete a directory that is
2042 # left behind by Apple's compiler. We do this before executing the actions.
2043 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045 as_fn_set_status $ac_retval
2047 } # ac_fn_cxx_try_link
2049 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2050 # -------------------------------------------------------
2051 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2052 # the include files in INCLUDES and setting the cache variable VAR
2054 ac_fn_c_check_header_mongrel ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 if eval \${$3+:} false; then :
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2059 $as_echo_n "checking for $2... " >&6; }
2060 if eval \${$3+:} false; then :
2061 $as_echo_n "(cached) " >&6
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2067 # Is the header compilable?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2069 $as_echo_n "checking $2 usability... " >&6; }
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076 ac_header_compiler=yes
2078 ac_header_compiler=no
2080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2082 $as_echo "$ac_header_compiler" >&6; }
2084 # Is the header present?
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2086 $as_echo_n "checking $2 presence... " >&6; }
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2091 if ac_fn_c_try_cpp "$LINENO"; then :
2092 ac_header_preproc=yes
2094 ac_header_preproc=no
2096 rm -f conftest.err conftest.i conftest.$ac_ext
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2098 $as_echo "$ac_header_preproc" >&6; }
2100 # So? What about this header?
2101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2104 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2110 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2112 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2114 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2116 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2118 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2119 ( $as_echo "## -------------------------------------- ##
2120 ## Report this to tiff@lists.maptools.org ##
2121 ## -------------------------------------- ##"
2122 ) | sed "s/^/$as_me: WARNING: /" >&2
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2126 $as_echo_n "checking for $2... " >&6; }
2127 if eval \${$3+:} false; then :
2128 $as_echo_n "(cached) " >&6
2130 eval "$3=\$ac_header_compiler"
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2138 } # ac_fn_c_check_header_mongrel
2140 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2141 # -------------------------------------------
2142 # Tests whether TYPE exists after having included INCLUDES, setting cache
2143 # variable VAR accordingly.
2144 ac_fn_c_check_type ()
2146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2148 $as_echo_n "checking for $2... " >&6; }
2149 if eval \${$3+:} false; then :
2150 $as_echo_n "(cached) " >&6
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2165 if ac_fn_c_try_compile "$LINENO"; then :
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2178 if ac_fn_c_try_compile "$LINENO"; then :
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2192 } # ac_fn_c_check_type
2194 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2195 # --------------------------------------------
2196 # Tries to find the compile-time value of EXPR in a program that includes
2197 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2199 ac_fn_c_compute_int ()
2201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2202 if test "$cross_compiling" = yes; then
2203 # Depending upon the size, compute the lo and hi bounds.
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2210 static int test_array [1 - 2 * !(($2) >= 0)];
2212 return test_array [0];
2218 if ac_fn_c_try_compile "$LINENO"; then :
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2227 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2229 return test_array [0];
2235 if ac_fn_c_try_compile "$LINENO"; then :
2236 ac_hi=$ac_mid; break
2238 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2239 if test $ac_lo -le $ac_mid; then
2243 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h. */
2254 static int test_array [1 - 2 * !(($2) < 0)];
2256 return test_array [0];
2262 if ac_fn_c_try_compile "$LINENO"; then :
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2271 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2273 return test_array [0];
2279 if ac_fn_c_try_compile "$LINENO"; then :
2280 ac_lo=$ac_mid; break
2282 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2283 if test $ac_mid -le $ac_hi; then
2287 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2297 # Binary search between lo and hi bounds.
2298 while test "x$ac_lo" != "x$ac_hi"; do
2299 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2306 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2308 return test_array [0];
2314 if ac_fn_c_try_compile "$LINENO"; then :
2317 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2322 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2329 static long int longval () { return $2; }
2330 static unsigned long int ulongval () { return $2; }
2337 FILE *f = fopen ("conftest.val", "w");
2342 long int i = longval ();
2345 fprintf (f, "%ld", i);
2349 unsigned long int i = ulongval ();
2352 fprintf (f, "%lu", i);
2354 /* Do not output a trailing newline, as this causes \r\n confusion
2355 on some platforms. */
2356 return ferror (f) || fclose (f) != 0;
2362 if ac_fn_c_try_run "$LINENO"; then :
2363 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2368 conftest.$ac_objext conftest.beam conftest.$ac_ext
2372 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2373 as_fn_set_status $ac_retval
2375 } # ac_fn_c_compute_int
2376 cat >config.log <<_ACEOF
2377 This file contains any messages produced by compilers while
2378 running configure, to aid debugging if configure makes a mistake.
2380 It was created by LibTIFF Software $as_me 4.0.3, which was
2381 generated by GNU Autoconf 2.69. Invocation command line was
2393 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2394 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2395 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2396 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2397 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2399 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2400 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2402 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2403 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2404 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2405 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2406 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2407 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2408 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir=.
2417 $as_echo "PATH: $as_dir"
2433 # Keep a trace of the command line.
2434 # Strip out --no-create and --no-recursion so they do not pile up.
2435 # Strip out --silent because we don't want to record it for future runs.
2436 # Also quote any args containing shell meta-characters.
2437 # Make two passes to allow for proper duplicate-argument suppression.
2441 ac_must_keep_next=false
2447 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2448 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2449 | -silent | --silent | --silen | --sile | --sil)
2452 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2455 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2457 as_fn_append ac_configure_args1 " '$ac_arg'"
2458 if test $ac_must_keep_next = true; then
2459 ac_must_keep_next=false # Got value, back to normal.
2462 *=* | --config-cache | -C | -disable-* | --disable-* \
2463 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2464 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2465 | -with-* | --with-* | -without-* | --without-* | --x)
2466 case "$ac_configure_args0 " in
2467 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2470 -* ) ac_must_keep_next=true ;;
2473 as_fn_append ac_configure_args " '$ac_arg'"
2478 { ac_configure_args0=; unset ac_configure_args0;}
2479 { ac_configure_args1=; unset ac_configure_args1;}
2481 # When interrupted or exit'd, cleanup temporary files, and complete
2482 # config.log. We remove comments because anyway the quotes in there
2483 # would cause problems or look ugly.
2484 # WARNING: Use '\'' to represent an apostrophe within the trap.
2485 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2486 trap 'exit_status=$?
2487 # Save into config.log some information that might help in debugging.
2491 $as_echo "## ---------------- ##
2492 ## Cache variables. ##
2493 ## ---------------- ##"
2495 # The following way of writing the cache mishandles newlines in values,
2497 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2498 eval ac_val=\$$ac_var
2502 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2503 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2506 _ | IFS | as_nl) ;; #(
2507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2508 *) { eval $ac_var=; unset $ac_var;} ;;
2513 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2514 *${as_nl}ac_space=\ *)
2516 "s/'\''/'\''\\\\'\'''\''/g;
2517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2527 $as_echo "## ----------------- ##
2528 ## Output variables. ##
2529 ## ----------------- ##"
2531 for ac_var in $ac_subst_vars
2533 eval ac_val=\$$ac_var
2535 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2537 $as_echo "$ac_var='\''$ac_val'\''"
2541 if test -n "$ac_subst_files"; then
2542 $as_echo "## ------------------- ##
2543 ## File substitutions. ##
2544 ## ------------------- ##"
2546 for ac_var in $ac_subst_files
2548 eval ac_val=\$$ac_var
2550 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2552 $as_echo "$ac_var='\''$ac_val'\''"
2557 if test -s confdefs.h; then
2558 $as_echo "## ----------- ##
2565 test "$ac_signal" != 0 &&
2566 $as_echo "$as_me: caught signal $ac_signal"
2567 $as_echo "$as_me: exit $exit_status"
2569 rm -f core *.core core.conftest.* &&
2570 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2573 for ac_signal in 1 2 13 15; do
2574 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2578 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2579 rm -f -r conftest* confdefs.h
2581 $as_echo "/* confdefs.h */" > confdefs.h
2583 # Predefined preprocessor variables.
2585 cat >>confdefs.h <<_ACEOF
2586 #define PACKAGE_NAME "$PACKAGE_NAME"
2589 cat >>confdefs.h <<_ACEOF
2590 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2593 cat >>confdefs.h <<_ACEOF
2594 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2597 cat >>confdefs.h <<_ACEOF
2598 #define PACKAGE_STRING "$PACKAGE_STRING"
2601 cat >>confdefs.h <<_ACEOF
2602 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2605 cat >>confdefs.h <<_ACEOF
2606 #define PACKAGE_URL "$PACKAGE_URL"
2610 # Let the site file select an alternate cache file if it wants to.
2611 # Prefer an explicitly selected file to automatically selected ones.
2614 if test -n "$CONFIG_SITE"; then
2615 # We do not want a PATH search for config.site.
2616 case $CONFIG_SITE in #((
2617 -*) ac_site_file1=./$CONFIG_SITE;;
2618 */*) ac_site_file1=$CONFIG_SITE;;
2619 *) ac_site_file1=./$CONFIG_SITE;;
2621 elif test "x$prefix" != xNONE; then
2622 ac_site_file1=$prefix/share/config.site
2623 ac_site_file2=$prefix/etc/config.site
2625 ac_site_file1=$ac_default_prefix/share/config.site
2626 ac_site_file2=$ac_default_prefix/etc/config.site
2628 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2630 test "x$ac_site_file" = xNONE && continue
2631 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2633 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2634 sed 's/^/| /' "$ac_site_file" >&5
2636 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2638 as_fn_error $? "failed to load site
script $ac_site_file
2639 See \
`config.log' for more details" "$LINENO" 5; }
2643 if test -r "$cache_file"; then
2644 # Some versions of bash will fail to source /dev/null (special files
2645 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2646 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2648 $as_echo "$as_me: loading cache $cache_file" >&6;}
2650 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2651 *) . "./$cache_file";;
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2656 $as_echo "$as_me: creating cache $cache_file" >&6;}
2660 # Check that the precious variables saved in the cache have kept the same
2662 ac_cache_corrupted=false
2663 for ac_var in $ac_precious_vars; do
2664 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2665 eval ac_new_set=\$ac_env_${ac_var}_set
2666 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2667 eval ac_new_val=\$ac_env_${ac_var}_value
2668 case $ac_old_set,$ac_new_set in
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2671 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2672 ac_cache_corrupted=: ;;
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2675 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2676 ac_cache_corrupted=: ;;
2679 if test "x$ac_old_val" != "x$ac_new_val"; then
2680 # differences in whitespace do not lead to failure.
2681 ac_old_val_w=`echo x
$ac_old_val`
2682 ac_new_val_w=`echo x
$ac_new_val`
2683 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2685 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2686 ac_cache_corrupted=:
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2689 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2690 eval $ac_var=\$ac_old_val
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2693 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2695 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2698 # Pass precious variables to config.status.
2699 if test "$ac_new_set" = set; then
2701 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2702 *) ac_arg=$ac_var=$ac_new_val ;;
2704 case " $ac_configure_args " in
2705 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2706 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2710 if $ac_cache_corrupted; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2714 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2715 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2717 ## -------------------- ##
2718 ## Main body of script. ##
2719 ## -------------------- ##
2722 ac_cpp='$CPP $CPPFLAGS'
2723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2729 for ac_dir in config "$srcdir"/config; do
2730 if test -f "$ac_dir/install-sh"; then
2732 ac_install_sh="$ac_aux_dir/install-sh -c"
2734 elif test -f "$ac_dir/install.sh"; then
2736 ac_install_sh="$ac_aux_dir/install.sh -c"
2738 elif test -f "$ac_dir/shtool"; then
2740 ac_install_sh="$ac_aux_dir/shtool install -c"
2744 if test -z "$ac_aux_dir"; then
2745 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2748 # These three variables are undocumented and unsupported,
2749 # and are intended to be withdrawn in a future Autoconf release.
2750 # They can cause serious problems if a builder's source tree is in a directory
2751 # whose full name contains unusual characters.
2752 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2753 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2754 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2759 ac_cpp='$CPP $CPPFLAGS'
2760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2765 # Make sure we can run config.sub.
2766 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2767 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2770 $as_echo_n "checking build system type... " >&6; }
2771 if ${ac_cv_build+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 ac_build_alias=$build_alias
2775 test "x$ac_build_alias" = x &&
2776 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2777 test "x$ac_build_alias" = x &&
2778 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2779 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2780 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2784 $as_echo "$ac_cv_build" >&6; }
2785 case $ac_cv_build in
2787 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2790 ac_save_IFS=$IFS; IFS='-'
2796 # Remember, the first character of IFS is used to create $*,
2797 # except with old shells:
2800 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2804 $as_echo_n "checking host system type... " >&6; }
2805 if ${ac_cv_host+:} false; then :
2806 $as_echo_n "(cached) " >&6
2808 if test "x$host_alias" = x; then
2809 ac_cv_host=$ac_cv_build
2811 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2812 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2817 $as_echo "$ac_cv_host" >&6; }
2820 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2823 ac_save_IFS=$IFS; IFS='-'
2829 # Remember, the first character of IFS is used to create $*,
2830 # except with old shells:
2833 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2837 am__api_version='1.12'
2839 # Find a good install program. We prefer a C program (faster),
2840 # so one script is as good as another. But avoid the broken or
2841 # incompatible versions:
2842 # SysV /etc/install, /usr/sbin/install
2843 # SunOS /usr/etc/install
2844 # IRIX /sbin/install
2846 # AmigaOS /C/install, which installs bootblocks on floppy discs
2847 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2848 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2849 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2850 # OS/2's system install, which has a completely different semantic
2851 # ./install, which can be erroneously created by make from ./install.sh.
2852 # Reject install programs that cannot install multiple files.
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2854 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2855 if test -z "$INSTALL"; then
2856 if ${ac_cv_path_install+:} false; then :
2857 $as_echo_n "(cached) " >&6
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir=.
2864 # Account for people who put trailing slashes in PATH elements.
2865 case $as_dir/ in #((
2866 ./ | .// | /[cC]/* | \
2867 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2868 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2871 # OSF1 and SCO ODT 3.0 have their own names for install.
2872 # Don't use installbsd from OSF since it installs stuff as root
2874 for ac_prog in ginstall scoinst install; do
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2877 if test $ac_prog = install &&
2878 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2879 # AIX install. It has an incompatible calling convention.
2881 elif test $ac_prog = install &&
2882 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2883 # program-specific install script used by HP pwplus--don't use.
2886 rm -rf conftest.one conftest.two conftest.dir
2887 echo one > conftest.one
2888 echo two > conftest.two
2890 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2891 test -s conftest.one && test -s conftest.two &&
2892 test -s conftest.dir/conftest.one &&
2893 test -s conftest.dir/conftest.two
2895 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2908 rm -rf conftest.one conftest.two conftest.dir
2911 if test "${ac_cv_path_install+set}" = set; then
2912 INSTALL=$ac_cv_path_install
2914 # As a last resort, use the slow shell script. Don't cache a
2915 # value for INSTALL within a source directory, because that will
2916 # break other packages using the cache if that directory is
2917 # removed, or if the value is a relative name.
2918 INSTALL=$ac_install_sh
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2922 $as_echo "$INSTALL" >&6; }
2924 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2925 # It thinks the first close brace ends the variable substitution.
2926 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2928 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2930 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2933 $as_echo_n "checking whether build environment is sane... " >&6; }
2934 # Reject unsafe characters in $srcdir or the absolute working directory
2935 # name. Accept space and tab only in the latter.
2939 *[\\\"\#\$\&\'\`$am_lf]*)
2940 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2943 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2944 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2947 # Do 'set' in a subshell so we don't clobber the current shell's
2948 # arguments. Must try -L first in case configure is actually a
2949 # symlink; some systems play weird games with the mod time of symlinks
2950 # (eg FreeBSD returns the mod time of the symlink's containing
2954 for am_try in 1 2; do
2955 echo "timestamp, slept: $am_has_slept" > conftest.file
2956 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2957 if test "$*" = "X"; then
2959 set X `ls -t "$srcdir/configure" conftest.
file`
2961 if test "$*" != "X $srcdir/configure conftest.file" \
2962 && test "$*" != "X conftest.file $srcdir/configure"; then
2964 # If neither matched, then we have a broken ls. This can happen
2965 # if, for instance, CONFIG_SHELL is bash and it inherits a
2966 # broken ls alias from the environment. This has actually
2967 # happened. Such a system could not be considered "sane".
2968 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2969 alias in your environment" "$LINENO" 5
2971 if test "$2" = conftest.file || test $am_try -eq 2; then
2978 test "$2" = conftest.file
2984 as_fn_error $? "newly created file is older than distributed files!
2985 Check your system clock" "$LINENO" 5
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2988 $as_echo "yes" >&6; }
2989 # If we didn't sleep, we still need to ensure time stamps of config.status and
2990 # generated files are strictly newer.
2992 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2999 test "$program_prefix" != NONE &&
3000 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3001 # Use a double $ so make ignores it.
3002 test "$program_suffix" != NONE &&
3003 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3004 # Double any \ or $.
3005 # By default was `s
,x
,x
', remove it if useless.
3006 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
3007 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3009 # expand $ac_aux_dir to an absolute path
3010 am_aux_dir=`cd $ac_aux_dir && pwd`
3012 if test x"${MISSING+set}" != xset; then
3015 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3017 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3020 # Use eval to expand $SHELL
3021 if eval "$MISSING --run true"; then
3022 am_missing_run="$MISSING --run "
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
3026 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
3029 if test x"${install_sh}" != xset; then
3032 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3034 install_sh="\${SHELL} $am_aux_dir/install-sh"
3038 # Installed binaries are usually stripped using 'strip
' when the user
3039 # run "make install-strip". However 'strip
' might not be the right
3040 # tool to use in cross-compilation environments, therefore Automake
3041 # will honor the 'STRIP
' environment variable to overrule this program.
3042 if test "$cross_compiling" != no; then
3043 if test -n "$ac_tool_prefix"; then
3044 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3045 set dummy ${ac_tool_prefix}strip; ac_word=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_STRIP+:} false; then :
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$STRIP"; then
3052 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071 STRIP=$ac_cv_prog_STRIP
3072 if test -n "$STRIP"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3074 $as_echo "$STRIP" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3082 if test -z "$ac_cv_prog_STRIP"; then
3084 # Extract the first word of "strip", so it can be a program name with args.
3085 set dummy strip; ac_word=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$ac_ct_STRIP"; then
3092 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3101 ac_cv_prog_ac_ct_STRIP="strip"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3112 if test -n "$ac_ct_STRIP"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3114 $as_echo "$ac_ct_STRIP" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3120 if test "x$ac_ct_STRIP" = x; then
3123 case $cross_compiling:$ac_tool_warned in
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3127 ac_tool_warned=yes ;;
3132 STRIP="$ac_cv_prog_STRIP"
3136 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3139 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3140 if test -z "$MKDIR_P"; then
3141 if ${ac_cv_path_mkdir+:} false; then :
3142 $as_echo_n "(cached) " >&6
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3148 test -z "$as_dir" && as_dir=.
3149 for ac_prog in mkdir gmkdir; do
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3152 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3153 'mkdir (GNU coreutils
) '* | \
3154 'mkdir (coreutils
) '* | \
3155 'mkdir (fileutils
) '4.1*)
3156 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3166 test -d ./--version && rmdir ./--version
3167 if test "${ac_cv_path_mkdir+set}" = set; then
3168 MKDIR_P="$ac_cv_path_mkdir -p"
3170 # As a last resort, use the slow shell script. Don't cache a
3171 # value for MKDIR_P within a source directory, because that will
3172 # break other packages using the cache if that directory is
3173 # removed, or if the value is a relative name.
3174 MKDIR_P
="$ac_install_sh -d"
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3178 $as_echo "$MKDIR_P" >&6; }
3180 for ac_prog
in gawk mawk nawk
awk
3182 # Extract the first word of "$ac_prog", so it can be a program name with args.
3183 set dummy
$ac_prog; ac_word
=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_AWK+:} false
; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -n "$AWK"; then
3190 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir
=.
3197 for ac_exec_ext
in '' $ac_executable_extensions; do
3198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3199 ac_cv_prog_AWK
="$ac_prog"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 if test -n "$AWK"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3212 $as_echo "$AWK" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3219 test -n "$AWK" && break
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3223 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3225 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3226 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3227 $as_echo_n "(cached) " >&6
3229 cat >conftest.
make <<\_ACEOF
3232 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3234 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3235 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3237 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3239 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3243 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3245 $as_echo "yes" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 SET_MAKE
="MAKE=${MAKE-make}"
3253 rm -rf .tst
2>/dev
/null
3254 mkdir .tst
2>/dev
/null
3255 if test -d .tst
; then
3260 rmdir .tst
2>/dev
/null
3262 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3263 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3264 # is not polluted with repeated "-I."
3265 am__isrc
=' -I$(srcdir)'
3266 # test to see if srcdir already configured
3267 if test -f $srcdir/config.status
; then
3268 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3272 # test whether we have cygpath
3273 if test -z "$CYGPATH_W"; then
3274 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3275 CYGPATH_W
='cygpath -w'
3282 # Define the identity of the package.
3287 cat >>confdefs.h
<<_ACEOF
3288 #define PACKAGE "$PACKAGE"
3292 cat >>confdefs.h
<<_ACEOF
3293 #define VERSION "$VERSION"
3296 # Some tools Automake needs.
3298 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3301 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3304 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3307 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3310 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3312 # For better backward compatibility. To be removed once Automake 1.9.x
3313 # dies out for good. For more background, see:
3314 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3315 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3316 mkdir_p
='$(MKDIR_P)'
3318 # We need awk for the "check" target. The system "awk" is bad on
3320 # Always define AMTAR for backward compatibility. Yes, it's still used
3321 # in the wild :-( We should find a proper way to deprecate it ...
3324 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3332 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3333 # Check whether --enable-maintainer-mode was given.
3334 if test "${enable_maintainer_mode+set}" = set; then :
3335 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3337 USE_MAINTAINER_MODE
=no
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3341 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3342 if test $USE_MAINTAINER_MODE = yes; then
3343 MAINTAINER_MODE_TRUE
=
3344 MAINTAINER_MODE_FALSE
='#'
3346 MAINTAINER_MODE_TRUE
='#'
3347 MAINTAINER_MODE_FALSE
=
3350 MAINT
=$MAINTAINER_MODE_TRUE
3354 LIBTIFF_MAJOR_VERSION
=4
3355 LIBTIFF_MINOR_VERSION
=0
3356 LIBTIFF_MICRO_VERSION
=3
3357 LIBTIFF_ALPHA_VERSION
=
3358 LIBTIFF_VERSION
=$LIBTIFF_MAJOR_VERSION.
$LIBTIFF_MINOR_VERSION.
$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION
3359 LIBTIFF_RELEASE_DATE
=`date +"%Y%m%d"`
3364 LIBTIFF_VERSION_INFO
=$LIBTIFF_CURRENT:$LIBTIFF_REVISION:$LIBTIFF_AGE
3366 # This is a special hack for OpenBSD and MirOS systems. The dynamic linker
3367 # in OpenBSD uses some special semantics for shared libraries. Their soname
3368 # contains only two numbers, major and minor.
3369 # See http://bugzilla.remotesensing.org/show_bug.cgi?id=838 for details.
3371 # openbsd* | mirbsd*)
3372 # LIBTIFF_VERSION_INFO=$LIBTIFF_MAJOR_VERSION$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION:0
3375 # LIBTIFF_VERSION_INFO=$LIBTIFF_MAJOR_VERSION:$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION
3388 ac_cpp
='$CPP $CPPFLAGS'
3389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3392 if test -n "$ac_tool_prefix"; then
3393 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3394 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if ${ac_cv_prog_CC+:} false
; then :
3398 $as_echo_n "(cached) " >&6
3400 if test -n "$CC"; then
3401 ac_cv_prog_CC
="$CC" # Let the user override the test.
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_exec_ext
in '' $ac_executable_extensions; do
3409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 if test -n "$CC"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3423 $as_echo "$CC" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3431 if test -z "$ac_cv_prog_CC"; then
3433 # Extract the first word of "gcc", so it can be a program name with args.
3434 set dummy gcc
; ac_word
=$2
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3436 $as_echo_n "checking for $ac_word... " >&6; }
3437 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3438 $as_echo_n "(cached) " >&6
3440 if test -n "$ac_ct_CC"; then
3441 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3447 test -z "$as_dir" && as_dir
=.
3448 for ac_exec_ext
in '' $ac_executable_extensions; do
3449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3450 ac_cv_prog_ac_ct_CC
="gcc"
3451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3461 if test -n "$ac_ct_CC"; then
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3463 $as_echo "$ac_ct_CC" >&6; }
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466 $as_echo "no" >&6; }
3469 if test "x$ac_ct_CC" = x
; then
3472 case $cross_compiling:$ac_tool_warned in
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3476 ac_tool_warned
=yes ;;
3484 if test -z "$CC"; then
3485 if test -n "$ac_tool_prefix"; then
3486 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3487 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if ${ac_cv_prog_CC+:} false
; then :
3491 $as_echo_n "(cached) " >&6
3493 if test -n "$CC"; then
3494 ac_cv_prog_CC
="$CC" # Let the user override the test.
3496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3500 test -z "$as_dir" && as_dir
=.
3501 for ac_exec_ext
in '' $ac_executable_extensions; do
3502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3503 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 if test -n "$CC"; then
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3516 $as_echo "$CC" >&6; }
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519 $as_echo "no" >&6; }
3525 if test -z "$CC"; then
3526 # Extract the first word of "cc", so it can be a program name with args.
3527 set dummy cc
; ac_word
=$2
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if ${ac_cv_prog_CC+:} false
; then :
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$CC"; then
3534 ac_cv_prog_CC
="$CC" # Let the user override the test.
3537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir
=.
3542 for ac_exec_ext
in '' $ac_executable_extensions; do
3543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3544 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3545 ac_prog_rejected
=yes
3549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 if test $ac_prog_rejected = yes; then
3557 # We found a bogon in the path, so make sure we never use it.
3558 set dummy
$ac_cv_prog_CC
3560 if test $# != 0; then
3561 # We chose a different compiler from the bogus one.
3562 # However, it has the same basename, so the bogon will be chosen
3563 # first if we set CC to just the basename; use the full file name.
3565 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3571 if test -n "$CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3581 if test -z "$CC"; then
3582 if test -n "$ac_tool_prefix"; then
3583 for ac_prog
in cl.exe
3585 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3586 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if ${ac_cv_prog_CC+:} false
; then :
3590 $as_echo_n "(cached) " >&6
3592 if test -n "$CC"; then
3593 ac_cv_prog_CC
="$CC" # Let the user override the test.
3595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3599 test -z "$as_dir" && as_dir
=.
3600 for ac_exec_ext
in '' $ac_executable_extensions; do
3601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3602 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 if test -n "$CC"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3615 $as_echo "$CC" >&6; }
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3622 test -n "$CC" && break
3625 if test -z "$CC"; then
3627 for ac_prog
in cl.exe
3629 # Extract the first word of "$ac_prog", so it can be a program name with args.
3630 set dummy
$ac_prog; ac_word
=$2
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632 $as_echo_n "checking for $ac_word... " >&6; }
3633 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3634 $as_echo_n "(cached) " >&6
3636 if test -n "$ac_ct_CC"; then
3637 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir
=.
3644 for ac_exec_ext
in '' $ac_executable_extensions; do
3645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3646 ac_cv_prog_ac_ct_CC
="$ac_prog"
3647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3657 if test -n "$ac_ct_CC"; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3659 $as_echo "$ac_ct_CC" >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3666 test -n "$ac_ct_CC" && break
3669 if test "x$ac_ct_CC" = x
; then
3672 case $cross_compiling:$ac_tool_warned in
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3676 ac_tool_warned
=yes ;;
3685 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3687 as_fn_error $?
"no acceptable C compiler found in \$PATH
3688 See \`config.log' for more details" "$LINENO" 5; }
3690 # Provide some information about the compiler.
3691 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3694 for ac_option
in --version -v -V -qversion; do
3695 { { ac_try
="$ac_compiler $ac_option >&5"
3697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3698 *) ac_try_echo=$ac_try;;
3700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3701 $as_echo "$ac_try_echo"; } >&5
3702 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3704 if test -s conftest.err; then
3706 ... rest of stderr output deleted ...
3707 10q' conftest.err >conftest.er1
3708 cat conftest.er1 >&5
3710 rm -f conftest.er1 conftest.err
3711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3712 test $ac_status = 0; }
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3726 ac_clean_files_save=$ac_clean_files
3727 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3728 # Try to create an executable without -o first, disregard a.out.
3729 # It will help us diagnose broken compilers, and finding out an intuition
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3732 $as_echo_n "checking whether the C compiler works... " >&6; }
3733 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3735 # The possible output files:
3736 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3739 for ac_file in $ac_files
3742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3743 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3748 if { { ac_try="$ac_link_default"
3750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3751 *) ac_try_echo
=$ac_try;;
3753 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3754 $as_echo "$ac_try_echo"; } >&5
3755 (eval "$ac_link_default") 2>&5
3757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3758 test $ac_status = 0; }; then :
3759 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3760 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3761 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3762 # so that the user can short-circuit this test for compilers unknown to
3764 for ac_file
in $ac_files ''
3766 test -f "$ac_file" || continue
3768 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3771 # We found the default executable, but exeext='' is most
3775 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3777 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3779 # We set ac_cv_exeext here because the later test for it is not
3780 # safe: cross compilers may not add the suffix if given an `-o'
3781 # argument, so we may need to know it at that point already.
3782 # Even if this section looks crufty: it has the advantage of
3789 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3794 if test -z "$ac_file"; then :
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3796 $as_echo "no" >&6; }
3797 $as_echo "$as_me: failed program was:" >&5
3798 sed 's/^/| /' conftest.
$ac_ext >&5
3800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802 as_fn_error
77 "C compiler cannot create executables
3803 See \`config.log' for more details" "$LINENO" 5; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3806 $as_echo "yes" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3809 $as_echo_n "checking for C compiler default output file name... " >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3811 $as_echo "$ac_file" >&6; }
3812 ac_exeext
=$ac_cv_exeext
3814 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3815 ac_clean_files
=$ac_clean_files_save
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3817 $as_echo_n "checking for suffix of executables... " >&6; }
3818 if { { ac_try
="$ac_link"
3820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_link") 2>&5
3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }; then :
3829 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3830 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3831 # work properly (i.e., refer to `conftest.exe'), while it won't with
3833 for ac_file
in conftest.exe conftest conftest.
*; do
3834 test -f "$ac_file" || continue
3836 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3837 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3845 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3846 See \`config.log' for more details" "$LINENO" 5; }
3848 rm -f conftest conftest
$ac_cv_exeext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3850 $as_echo "$ac_cv_exeext" >&6; }
3852 rm -f conftest.
$ac_ext
3853 EXEEXT
=$ac_cv_exeext
3855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3861 FILE *f = fopen ("conftest.out", "w");
3862 return ferror (f) || fclose (f) != 0;
3868 ac_clean_files
="$ac_clean_files conftest.out"
3869 # Check that the compiler produces executables we can run. If not, either
3870 # the compiler is broken, or we cross compile.
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3872 $as_echo_n "checking whether we are cross compiling... " >&6; }
3873 if test "$cross_compiling" != yes; then
3874 { { ac_try
="$ac_link"
3876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880 $as_echo "$ac_try_echo"; } >&5
3881 (eval "$ac_link") 2>&5
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }
3885 if { ac_try='./conftest$ac_cv_exeext'
3886 { { case "(($ac_try" in
3887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3888 *) ac_try_echo
=$ac_try;;
3890 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892 (eval "$ac_try") 2>&5
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; }; then
3898 if test "$cross_compiling" = maybe
; then
3901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 as_fn_error $?
"cannot run C compiled programs.
3904 If you meant to cross compile, use \`--host'.
3905 See \`config.log' for more details" "$LINENO" 5; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3910 $as_echo "$cross_compiling" >&6; }
3912 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3913 ac_clean_files
=$ac_clean_files_save
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3915 $as_echo_n "checking for suffix of object files... " >&6; }
3916 if ${ac_cv_objext+:} false
; then :
3917 $as_echo_n "(cached) " >&6
3919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 rm -f conftest.o conftest.obj
3931 if { { ac_try
="$ac_compile"
3933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_compile") 2>&5
3940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; }; then :
3942 for ac_file in conftest.o conftest.obj conftest.*; do
3943 test -f "$ac_file" || continue;
3945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3946 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3951 $as_echo "$as_me: failed program was:" >&5
3952 sed 's/^/| /' conftest.$ac_ext >&5
3954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3956 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3957 See \
`config.log' for more details" "$LINENO" 5; }
3959 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3962 $as_echo "$ac_cv_objext" >&6; }
3963 OBJEXT=$ac_cv_objext
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3966 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3967 if ${ac_cv_c_compiler_gnu+:} false; then :
3968 $as_echo_n "(cached) " >&6
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3984 if ac_fn_c_try_compile "$LINENO"; then :
3989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3994 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3995 if test $ac_compiler_gnu = yes; then
4000 ac_test_CFLAGS=${CFLAGS+set}
4001 ac_save_CFLAGS=$CFLAGS
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4003 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4004 if ${ac_cv_prog_cc_g+:} false; then :
4005 $as_echo_n "(cached) " >&6
4007 ac_save_c_werror_flag=$ac_c_werror_flag
4008 ac_c_werror_flag=yes
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4022 if ac_fn_c_try_compile "$LINENO"; then :
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4037 if ac_fn_c_try_compile "$LINENO"; then :
4040 ac_c_werror_flag=$ac_save_c_werror_flag
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 if ac_fn_c_try_compile "$LINENO"; then :
4056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4061 ac_c_werror_flag=$ac_save_c_werror_flag
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4064 $as_echo "$ac_cv_prog_cc_g" >&6; }
4065 if test "$ac_test_CFLAGS" = set; then
4066 CFLAGS=$ac_save_CFLAGS
4067 elif test $ac_cv_prog_cc_g = yes; then
4068 if test "$GCC" = yes; then
4074 if test "$GCC" = yes; then
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4081 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4082 if ${ac_cv_prog_cc_c89+:} false; then :
4083 $as_echo_n "(cached) " >&6
4085 ac_cv_prog_cc_c89=no
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4092 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4093 struct buf { int x; };
4094 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4095 static char *e (p, i)
4101 static char *f (char * (*g) (char **, int), char **p, ...)
4106 s = g (p, va_arg (v,int));
4111 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4112 function prototypes and stuff, but not '\xHH' hex character constants.
4113 These don't provoke an error unfortunately, instead are silently treated
4114 as 'x'. The following induces an error, until -std is added to get
4115 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4116 array size at least. It's necessary to write '\x00'==0 to get something
4117 that's true only with -std. */
4118 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4120 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4121 inside strings and character constants. */
4123 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4125 int test (int i, double x);
4126 struct s1 {int (*f) (int a);};
4127 struct s2 {int (*f) (double a);};
4128 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4134 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4139 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4140 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4142 CC="$ac_save_CC $ac_arg"
4143 if ac_fn_c_try_compile "$LINENO"; then :
4144 ac_cv_prog_cc_c89=$ac_arg
4146 rm -f core conftest.err conftest.$ac_objext
4147 test "x$ac_cv_prog_cc_c89" != "xno" && break
4149 rm -f conftest.$ac_ext
4154 case "x$ac_cv_prog_cc_c89" in
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4157 $as_echo "none needed" >&6; } ;;
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4160 $as_echo "unsupported" >&6; } ;;
4162 CC="$CC $ac_cv_prog_cc_c89"
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4164 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4166 if test "x$ac_cv_prog_cc_c89" != xno; then :
4171 ac_cpp='$CPP $CPPFLAGS'
4172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4175 DEPDIR="${am__leading_dot}deps"
4177 ac_config_commands="$ac_config_commands depfiles"
4180 am_make=${MAKE-make}
4181 cat > confinc << 'END'
4183 @echo this is the am__doit target
4186 # If we don't find an include directive, just comment out the code.
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4188 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4192 # First try GNU make style include.
4193 echo "include confinc" > confmf
4194 # Ignore all kinds of additional output from 'make'.
4195 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4196 *the\ am__doit\ target*)
4202 # Now try BSD make style include.
4203 if test "$am__include" = "#"; then
4204 echo '.include "confinc"' > confmf
4205 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4206 *the\ am__doit\ target*)
4207 am__include=.include
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4216 $as_echo "$_am_result" >&6; }
4217 rm -f confinc confmf
4219 # Check whether --enable-dependency-tracking was given.
4220 if test "${enable_dependency_tracking+set}" = set; then :
4221 enableval=$enable_dependency_tracking;
4224 if test "x$enable_dependency_tracking" != xno; then
4225 am_depcomp="$ac_aux_dir/depcomp"
4229 if test "x$enable_dependency_tracking" != xno; then
4239 depcc="$CC" am_compiler_list=
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4242 $as_echo_n "checking dependency style of $depcc... " >&6; }
4243 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4244 $as_echo_n "(cached) " >&6
4246 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4247 # We make a subdir and do the tests there. Otherwise we can end up
4248 # making bogus files that we don't know about and never remove. For
4249 # instance it was reported that on HP-UX the gcc test will end up
4250 # making a dummy file named 'D' -- because '-MD' means "put the output
4254 # Copy depcomp to subdir because otherwise we won't find it if we're
4255 # using a relative directory.
4256 cp "$am_depcomp" conftest.dir
4258 # We will build objects and dependencies in a subdirectory because
4259 # it helps to detect inapplicable dependency modes. For instance
4260 # both Tru64's cc and ICC support -MD to output dependencies as a
4261 # side effect of compilation, but ICC will put the dependencies in
4262 # the current directory while Tru64 will put them in the object
4266 am_cv_CC_dependencies_compiler_type=none
4267 if test "$am_compiler_list" = ""; then
4268 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4271 case " $depcc " in #(
4272 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4275 for depmode in $am_compiler_list; do
4276 # Setup a source with many dependencies, because some compilers
4277 # like to wrap large dependency lists on column 80 (with \), and
4278 # we should not choose a depcomp mode which is confused by this.
4280 # We need to recreate these files for each test, as the compiler may
4281 # overwrite some of them when testing with obscure command lines.
4282 # This happens at least with the AIX C compiler.
4284 for i in 1 2 3 4 5 6; do
4285 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4286 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4287 # Solaris 10 /bin/sh.
4288 echo '/* dummy */' > sub/conftst$i.h
4290 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4292 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4293 # mode. It turns out that the SunPro C++ compiler does not properly
4294 # handle '-M -o', and we need to detect this. Also, some Intel
4295 # versions had trouble with output in subdirs.
4296 am__obj=sub/conftest.${OBJEXT-o}
4297 am__minus_obj="-o $am__obj"
4300 # This depmode causes a compiler race in universal mode.
4301 test "$am__universal" = false || continue
4304 # After this tag, mechanisms are not by side-effect, so they'll
4305 # only be used when explicitly requested.
4306 if test "x$enable_dependency_tracking" = xyes; then
4312 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4313 # This compiler won't grok '-c -o', but also, the minuso test has
4314 # not run yet. These depmodes are late enough in the game, and
4315 # so weak that their functioning should not be impacted.
4316 am__obj=conftest.${OBJEXT-o}
4321 if depmode=$depmode \
4322 source=sub/conftest.c object=$am__obj \
4323 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4324 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4325 >/dev/null 2>conftest.err &&
4326 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4327 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4328 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4329 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4330 # icc doesn't choke on unknown options, it will just issue warnings
4331 # or remarks (even with -Werror). So we grep stderr for any message
4332 # that says an option was ignored or not supported.
4333 # When given -MP, icc 7.0 and 7.1 complain thusly:
4334 # icc: Command line warning: ignoring option '-M'; no argument required
4335 # The diagnosis changed in icc 8.0:
4336 # icc: Command line remark: option '-MP' not supported
4337 if (grep 'ignoring option' conftest.err ||
4338 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4339 am_cv_CC_dependencies_compiler_type=$depmode
4348 am_cv_CC_dependencies_compiler_type=none
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4353 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4354 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4357 test "x$enable_dependency_tracking" != xno \
4358 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4360 am__fastdepCC_FALSE='#'
4362 am__fastdepCC_TRUE='#'
4363 am__fastdepCC_FALSE=
4367 if test "x$CC" != xcc; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4369 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4372 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4374 set dummy $CC; ac_cc=`$as_echo "$2" |
4375 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4376 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4377 $as_echo_n "(cached) " >&6
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4390 # Make sure it works both with $CC and with simple cc.
4391 # We do the test twice because some compilers refuse to overwrite an
4392 # existing .o file with -o, though they will create one.
4393 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4395 if { { case "(($ac_try" in
4396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4397 *) ac_try_echo
=$ac_try;;
4399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4400 $as_echo "$ac_try_echo"; } >&5
4401 (eval "$ac_try") 2>&5
4403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4404 test $ac_status = 0; } &&
4405 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
4406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4407 *) ac_try_echo=$ac_try;;
4409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$ac_try_echo"; } >&5
4411 (eval "$ac_try") 2>&5
4413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4414 test $ac_status = 0; };
4416 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4417 if test "x$CC" != xcc; then
4418 # Test first that cc exists at all.
4419 if { ac_try='cc -c conftest.$ac_ext >&5'
4420 { { case "(($ac_try" in
4421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4422 *) ac_try_echo
=$ac_try;;
4424 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4425 $as_echo "$ac_try_echo"; } >&5
4426 (eval "$ac_try") 2>&5
4428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4429 test $ac_status = 0; }; }; then
4430 ac_try
='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4432 if { { case "(($ac_try" in
4433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;;
4436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4437 $as_echo "$ac_try_echo"; } >&5
4438 (eval "$ac_try") 2>&5
4440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4441 test $ac_status = 0; } &&
4442 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4444 *) ac_try_echo
=$ac_try;;
4446 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4447 $as_echo "$ac_try_echo"; } >&5
4448 (eval "$ac_try") 2>&5
4450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4451 test $ac_status = 0; };
4456 # cc exists but doesn't like -o.
4457 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4462 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4464 rm -f core conftest
*
4467 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4469 $as_echo "yes" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4474 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4478 # FIXME: we rely on the cache variable name because
4479 # there is no other way.
4481 am_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4482 eval am_t
=\
$ac_cv_prog_cc_${am_cc}_c_o
4483 if test "$am_t" != yes; then
4484 # Losing compiler, so override with the script.
4485 # FIXME: It is wrong to rewrite CC.
4486 # But if we don't then we get into trouble of one sort or another.
4487 # A longer-term fix would be to have automake use am__CC in this case,
4488 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4489 CC
="$am_aux_dir/compile $CC"
4496 if test -z "$ansi"; then
4497 msg
="for C compiler warning flags"
4499 msg
="for C compiler warning and ANSI conformance flags"
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $msg" >&5
4502 $as_echo_n "checking $msg... " >&6; }
4503 if ${vl_cv_prog_cc_warnings+:} false
; then :
4504 $as_echo_n "(cached) " >&6
4507 if test -n "$CC"; then
4508 cat > conftest.c
<<EOF
4509 int main(int argc, char **argv) { return 0; }
4512 if test "$GCC" = "yes"; then
4513 if test -z "$ansi"; then
4514 vl_cv_prog_cc_warnings
="-Wall -W"
4516 vl_cv_prog_cc_warnings
="-Wall -W -ansi -pedantic"
4520 elif $CC -V 2>&1 | grep -i "WorkShop" > /dev
/null
2>&1 &&
4521 $CC -c -v -Xc conftest.c
> /dev
/null
2>&1 &&
4522 test -f conftest.o
; then
4523 if test -z "$ansi"; then
4524 vl_cv_prog_cc_warnings
="-v"
4526 vl_cv_prog_cc_warnings
="-v -Xc"
4529 elif $CC -V 2>&1 | grep -i "Digital UNIX Compiler" > /dev
/null
2>&1 &&
4530 $CC -c -verbose -w0 -warnprotos -std1 conftest.c
> /dev
/null
2>&1 &&
4531 test -f conftest.o
; then
4532 if test -z "$ansi"; then
4533 vl_cv_prog_cc_warnings
="-verbose -w0 -warnprotos"
4535 vl_cv_prog_cc_warnings
="-verbose -w0 -warnprotos -std1"
4538 elif $CC 2>&1 | grep -i "C for AIX Compiler" > /dev
/null
2>&1 &&
4539 $CC -c -qlanglvl=ansi
-qinfo=all conftest.c
> /dev
/null
2>&1 &&
4540 test -f conftest.o
; then
4541 if test -z "$ansi"; then
4542 vl_cv_prog_cc_warnings
="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd"
4544 vl_cv_prog_cc_warnings
="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd -qlanglvl=ansi"
4547 elif $CC -version 2>&1 | grep -i "MIPSpro Compilers" > /dev
/null
2>&1 &&
4548 $CC -c -fullwarn -ansi -ansiE conftest.c
> /dev
/null
2>&1 &&
4549 test -f conftest.o
; then
4550 if test -z "$ansi"; then
4551 vl_cv_prog_cc_warnings
="-fullwarn"
4553 vl_cv_prog_cc_warnings
="-fullwarn -ansi -ansiE"
4556 elif what
$CC 2>&1 | grep -i "HP C Compiler" > /dev
/null
2>&1 &&
4557 $CC -c -Aa +w1 conftest.c
> /dev
/null
2>&1 &&
4558 test -f conftest.o
; then
4559 if test -z "$ansi"; then
4560 vl_cv_prog_cc_warnings
="+w1"
4562 vl_cv_prog_cc_warnings
="+w1 -Aa"
4565 elif $CC -V 2>&1 | grep "/SX" > /dev
/null
2>&1 &&
4566 $CC -c -pvctl,fullmsg
-Xc conftest.c
> /dev
/null
2>&1 &&
4567 test -f conftest.o
; then
4568 if test -z "$ansi"; then
4569 vl_cv_prog_cc_warnings
="-pvctl,fullmsg"
4571 vl_cv_prog_cc_warnings
="-pvctl,fullmsg -Xc"
4574 elif $CC -V 2>&1 | grep -i "Cray" > /dev
/null
2>&1 &&
4575 $CC -c -h msglevel
2 conftest.c
> /dev
/null
2>&1 &&
4576 test -f conftest.o
; then
4577 if test -z "$ansi"; then
4578 vl_cv_prog_cc_warnings
="-h msglevel 2"
4580 vl_cv_prog_cc_warnings
="-h msglevel 2 -h conform"
4586 if test -n "$vl_cv_prog_cc_warnings"; then
4587 CFLAGS
="$CFLAGS $vl_cv_prog_cc_warnings"
4589 vl_cv_prog_cc_warnings
="unknown"
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_prog_cc_warnings" >&5
4594 $as_echo "$vl_cv_prog_cc_warnings" >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4599 $as_echo_n "checking whether ln -s works... " >&6; }
4601 if test "$LN_S" = "ln -s"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4603 $as_echo "yes" >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4606 $as_echo "no, using $LN_S" >&6; }
4611 # Check if LD supports linker scripts, and define automake conditional
4612 # HAVE_LD_VERSION_SCRIPT if so. This functionality is currently
4613 # constrained to compilers using GNU ld on ELF systems or systems
4614 # which provide an adequate emulation thereof.
4615 # Check whether --enable-ld-version-script was given.
4616 if test "${enable_ld_version_script+set}" = set; then :
4617 enableval
=$enable_ld_version_script; have_ld_version_script
=$enableval
4619 have_ld_version_script
=no
4622 if test "$have_ld_version_script" != no
; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5
4624 $as_echo_n "checking if LD -Wl,--version-script works... " >&6; }
4625 save_LDFLAGS
="$LDFLAGS"
4626 LDFLAGS
="$LDFLAGS -Wl,--version-script=conftest.map"
4627 cat > conftest.map
<<EOF
4637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4648 if ac_fn_c_try_link
"$LINENO"; then :
4649 have_ld_version_script
=yes
4651 have_ld_version_script
=no
4653 rm -f core conftest.err conftest.
$ac_objext \
4654 conftest
$ac_exeext conftest.
$ac_ext
4656 LDFLAGS
="$save_LDFLAGS"
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ld_version_script" >&5
4658 $as_echo "$have_ld_version_script" >&6; }
4660 if test "$have_ld_version_script" = "yes"; then
4661 HAVE_LD_VERSION_SCRIPT_TRUE
=
4662 HAVE_LD_VERSION_SCRIPT_FALSE
='#'
4664 HAVE_LD_VERSION_SCRIPT_TRUE
='#'
4665 HAVE_LD_VERSION_SCRIPT_FALSE
=
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4676 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4681 macro_version
='2.4.2'
4682 macro_revision
='1.3337'
4696 ltmain
="$ac_aux_dir/ltmain.sh"
4698 # Backslashify metacharacters that are still active within
4699 # double-quoted strings.
4700 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4702 # Same as above, but do not quote variable references.
4703 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4705 # Sed substitution to delay expansion of an escaped shell variable in a
4706 # double_quote_subst'ed string.
4707 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4709 # Sed substitution to delay expansion of an escaped single quote.
4710 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4712 # Sed substitution to avoid accidental globbing in evaled expressions
4713 no_glob_subst
='s/\*/\\\*/g'
4715 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4716 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4717 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4720 $as_echo_n "checking how to print strings... " >&6; }
4721 # Test print first, because it will be a builtin if present.
4722 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4723 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4725 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4728 # Use this function as a fallback that always works.
4729 func_fallback_echo ()
4731 eval 'cat <<_LTECHO_EOF
4735 ECHO='func_fallback_echo
'
4738 # func_echo_all arg...
4739 # Invoke $ECHO with all args, space-separated.
4746 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4747 $as_echo "printf" >&6; } ;;
4748 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4749 $as_echo "print -r" >&6; } ;;
4750 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4751 $as_echo "cat" >&6; } ;;
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4768 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4769 if ${ac_cv_path_SED+:} false; then :
4770 $as_echo_n "(cached) " >&6
4772 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4773 for ac_i in 1 2 3 4 5 6 7; do
4774 ac_script="$ac_script$as_nl$ac_script"
4776 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4777 { ac_script=; unset ac_script;}
4778 if test -z "$SED"; then
4779 ac_path_SED_found=false
4780 # Loop through the user's path and
test for each of PROGNAME
-LIST
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_prog
in sed gsed
; do
4787 for ac_exec_ext
in '' $ac_executable_extensions; do
4788 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4789 as_fn_executable_p
"$ac_path_SED" || continue
4790 # Check for GNU ac_path_SED and select it if it is found.
4791 # Check for GNU $ac_path_SED
4792 case `"$ac_path_SED" --version 2>&1` in
4794 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4797 $as_echo_n 0123456789 >"conftest.in"
4800 cat "conftest.in" "conftest.in" >"conftest.tmp"
4801 mv "conftest.tmp" "conftest.in"
4802 cp "conftest.in" "conftest.nl"
4803 $as_echo '' >> "conftest.nl"
4804 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4805 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4806 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4807 if test $ac_count -gt ${ac_path_SED_max-0}; then
4808 # Best one so far, save it but keep looking for a better one
4809 ac_cv_path_SED
="$ac_path_SED"
4810 ac_path_SED_max
=$ac_count
4812 # 10*(2^10) chars as input seems more than enough
4813 test $ac_count -gt 10 && break
4815 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4818 $ac_path_SED_found && break 3
4823 if test -z "$ac_cv_path_SED"; then
4824 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4832 $as_echo "$ac_cv_path_SED" >&6; }
4833 SED
="$ac_cv_path_SED"
4836 test -z "$SED" && SED
=sed
4837 Xsed
="$SED -e 1s/^X//"
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4850 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4851 if ${ac_cv_path_GREP+:} false
; then :
4852 $as_echo_n "(cached) " >&6
4854 if test -z "$GREP"; then
4855 ac_path_GREP_found
=false
4856 # Loop through the user's path and test for each of PROGNAME-LIST
4857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4858 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4861 test -z "$as_dir" && as_dir
=.
4862 for ac_prog
in grep ggrep
; do
4863 for ac_exec_ext
in '' $ac_executable_extensions; do
4864 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4865 as_fn_executable_p
"$ac_path_GREP" || continue
4866 # Check for GNU ac_path_GREP and select it if it is found.
4867 # Check for GNU $ac_path_GREP
4868 case `"$ac_path_GREP" --version 2>&1` in
4870 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4873 $as_echo_n 0123456789 >"conftest.in"
4876 cat "conftest.in" "conftest.in" >"conftest.tmp"
4877 mv "conftest.tmp" "conftest.in"
4878 cp "conftest.in" "conftest.nl"
4879 $as_echo 'GREP' >> "conftest.nl"
4880 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4881 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4882 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4883 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4884 # Best one so far, save it but keep looking for a better one
4885 ac_cv_path_GREP
="$ac_path_GREP"
4886 ac_path_GREP_max
=$ac_count
4888 # 10*(2^10) chars as input seems more than enough
4889 test $ac_count -gt 10 && break
4891 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4894 $ac_path_GREP_found && break 3
4899 if test -z "$ac_cv_path_GREP"; then
4900 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4903 ac_cv_path_GREP
=$GREP
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4908 $as_echo "$ac_cv_path_GREP" >&6; }
4909 GREP
="$ac_cv_path_GREP"
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4913 $as_echo_n "checking for egrep... " >&6; }
4914 if ${ac_cv_path_EGREP+:} false
; then :
4915 $as_echo_n "(cached) " >&6
4917 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4918 then ac_cv_path_EGREP
="$GREP -E"
4920 if test -z "$EGREP"; then
4921 ac_path_EGREP_found
=false
4922 # Loop through the user's path and test for each of PROGNAME-LIST
4923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4927 test -z "$as_dir" && as_dir
=.
4928 for ac_prog
in egrep; do
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4931 as_fn_executable_p
"$ac_path_EGREP" || continue
4932 # Check for GNU ac_path_EGREP and select it if it is found.
4933 # Check for GNU $ac_path_EGREP
4934 case `"$ac_path_EGREP" --version 2>&1` in
4936 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4939 $as_echo_n 0123456789 >"conftest.in"
4942 cat "conftest.in" "conftest.in" >"conftest.tmp"
4943 mv "conftest.tmp" "conftest.in"
4944 cp "conftest.in" "conftest.nl"
4945 $as_echo 'EGREP' >> "conftest.nl"
4946 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4947 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4948 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4949 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4950 # Best one so far, save it but keep looking for a better one
4951 ac_cv_path_EGREP
="$ac_path_EGREP"
4952 ac_path_EGREP_max
=$ac_count
4954 # 10*(2^10) chars as input seems more than enough
4955 test $ac_count -gt 10 && break
4957 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4960 $ac_path_EGREP_found && break 3
4965 if test -z "$ac_cv_path_EGREP"; then
4966 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4969 ac_cv_path_EGREP
=$EGREP
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4975 $as_echo "$ac_cv_path_EGREP" >&6; }
4976 EGREP
="$ac_cv_path_EGREP"
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4980 $as_echo_n "checking for fgrep... " >&6; }
4981 if ${ac_cv_path_FGREP+:} false
; then :
4982 $as_echo_n "(cached) " >&6
4984 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
4985 then ac_cv_path_FGREP
="$GREP -F"
4987 if test -z "$FGREP"; then
4988 ac_path_FGREP_found
=false
4989 # Loop through the user's path and test for each of PROGNAME-LIST
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4991 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_prog
in fgrep
; do
4996 for ac_exec_ext
in '' $ac_executable_extensions; do
4997 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4998 as_fn_executable_p
"$ac_path_FGREP" || continue
4999 # Check for GNU ac_path_FGREP and select it if it is found.
5000 # Check for GNU $ac_path_FGREP
5001 case `"$ac_path_FGREP" --version 2>&1` in
5003 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5006 $as_echo_n 0123456789 >"conftest.in"
5009 cat "conftest.in" "conftest.in" >"conftest.tmp"
5010 mv "conftest.tmp" "conftest.in"
5011 cp "conftest.in" "conftest.nl"
5012 $as_echo 'FGREP' >> "conftest.nl"
5013 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5014 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5015 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5016 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5017 # Best one so far, save it but keep looking for a better one
5018 ac_cv_path_FGREP
="$ac_path_FGREP"
5019 ac_path_FGREP_max
=$ac_count
5021 # 10*(2^10) chars as input seems more than enough
5022 test $ac_count -gt 10 && break
5024 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5027 $ac_path_FGREP_found && break 3
5032 if test -z "$ac_cv_path_FGREP"; then
5033 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5036 ac_cv_path_FGREP
=$FGREP
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5042 $as_echo "$ac_cv_path_FGREP" >&6; }
5043 FGREP
="$ac_cv_path_FGREP"
5046 test -z "$GREP" && GREP
=grep
5066 # Check whether --with-gnu-ld was given.
5067 if test "${with_gnu_ld+set}" = set; then :
5068 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
5074 if test "$GCC" = yes; then
5075 # Check if gcc -print-prog-name=ld gives a path.
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5077 $as_echo_n "checking for ld used by $CC... " >&6; }
5080 # gcc leaves a trailing carriage return which upsets mingw
5081 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5083 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5086 # Accept absolute paths.
5088 re_direlt
='/[^/][^/]*/\.\./'
5089 # Canonicalize the pathname of ld
5090 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5091 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
5092 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5094 test -z "$LD" && LD
="$ac_prog"
5097 # If it fails, then pretend we aren't using GCC.
5101 # If it is relative, then search for the first ld in PATH.
5105 elif test "$with_gnu_ld" = yes; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5107 $as_echo_n "checking for GNU ld... " >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5110 $as_echo_n "checking for non-GNU ld... " >&6; }
5112 if ${lt_cv_path_LD+:} false
; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -z "$LD"; then
5116 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5117 for ac_dir
in $PATH; do
5119 test -z "$ac_dir" && ac_dir
=.
5120 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5121 lt_cv_path_LD
="$ac_dir/$ac_prog"
5122 # Check to see if the program is GNU ld. I'd rather use --version,
5123 # but apparently some variants of GNU ld only accept -v.
5124 # Break only if it was the GNU/non-GNU ld that we prefer.
5125 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5126 *GNU
* | *'with BFD'*)
5127 test "$with_gnu_ld" != no
&& break
5130 test "$with_gnu_ld" != yes && break
5137 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5142 if test -n "$LD"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5144 $as_echo "$LD" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5149 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5151 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5152 if ${lt_cv_prog_gnu_ld+:} false
; then :
5153 $as_echo_n "(cached) " >&6
5155 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5156 case `$LD -v 2>&1 </dev/null` in
5157 *GNU
* | *'with BFD'*)
5158 lt_cv_prog_gnu_ld
=yes
5161 lt_cv_prog_gnu_ld
=no
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5166 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5167 with_gnu_ld
=$lt_cv_prog_gnu_ld
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5178 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5179 if ${lt_cv_path_NM+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$NM"; then
5183 # Let the user override the test.
5186 lt_nm_to_check
="${ac_tool_prefix}nm"
5187 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5188 lt_nm_to_check
="$lt_nm_to_check nm"
5190 for lt_tmp_nm
in $lt_nm_to_check; do
5191 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5192 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5194 test -z "$ac_dir" && ac_dir
=.
5195 tmp_nm
="$ac_dir/$lt_tmp_nm"
5196 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5197 # Check to see if the nm accepts a BSD-compat flag.
5198 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5199 # nm: unknown option "B" ignored
5200 # Tru64's nm complains that /dev/null is an invalid object file
5201 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5202 */dev
/null
* | *'Invalid file or object type'*)
5203 lt_cv_path_NM
="$tmp_nm -B"
5207 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5209 lt_cv_path_NM
="$tmp_nm -p"
5213 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5214 continue # so that we can try to find one that supports BSD flags
5223 : ${lt_cv_path_NM=no}
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5227 $as_echo "$lt_cv_path_NM" >&6; }
5228 if test "$lt_cv_path_NM" != "no"; then
5231 # Didn't find any BSD compatible name lister, look for dumpbin.
5232 if test -n "$DUMPBIN"; then :
5233 # Let the user override the test.
5235 if test -n "$ac_tool_prefix"; then
5236 for ac_prog
in dumpbin
"link -dump"
5238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5239 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$DUMPBIN"; then
5246 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 DUMPBIN
=$ac_cv_prog_DUMPBIN
5266 if test -n "$DUMPBIN"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5268 $as_echo "$DUMPBIN" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 test -n "$DUMPBIN" && break
5278 if test -z "$DUMPBIN"; then
5279 ac_ct_DUMPBIN
=$DUMPBIN
5280 for ac_prog
in dumpbin
"link -dump"
5282 # Extract the first word of "$ac_prog", so it can be a program name with args.
5283 set dummy
$ac_prog; ac_word
=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5287 $as_echo_n "(cached) " >&6
5289 if test -n "$ac_ct_DUMPBIN"; then
5290 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5309 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5310 if test -n "$ac_ct_DUMPBIN"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5312 $as_echo "$ac_ct_DUMPBIN" >&6; }
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5319 test -n "$ac_ct_DUMPBIN" && break
5322 if test "x$ac_ct_DUMPBIN" = x
; then
5325 case $cross_compiling:$ac_tool_warned in
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5329 ac_tool_warned
=yes ;;
5331 DUMPBIN
=$ac_ct_DUMPBIN
5335 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5337 DUMPBIN
="$DUMPBIN -symbols"
5345 if test "$DUMPBIN" != ":"; then
5349 test -z "$NM" && NM
=nm
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5357 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5358 if ${lt_cv_nm_interface+:} false
; then :
5359 $as_echo_n "(cached) " >&6
5361 lt_cv_nm_interface
="BSD nm"
5362 echo "int some_variable = 0;" > conftest.
$ac_ext
5363 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5364 (eval "$ac_compile" 2>conftest.err
)
5365 cat conftest.err
>&5
5366 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5367 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5368 cat conftest.err
>&5
5369 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5370 cat conftest.out
>&5
5371 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5372 lt_cv_nm_interface
="MS dumpbin"
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5377 $as_echo "$lt_cv_nm_interface" >&6; }
5379 # find the maximum length of command line arguments
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5381 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5382 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5383 $as_echo_n "(cached) " >&6
5390 # On DJGPP, this test can blow up pretty badly due to problems in libc
5391 # (any single argument exceeding 2000 bytes causes a buffer overrun
5392 # during glob expansion). Even if it were fixed, the result of this
5393 # check would be larger than it should be.
5394 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5398 # Under GNU Hurd, this test is not required because there is
5399 # no limit to the length of command line arguments.
5400 # Libtool will interpret -1 as no limit whatsoever
5401 lt_cv_sys_max_cmd_len
=-1;
5404 cygwin
* | mingw
* | cegcc
*)
5405 # On Win9x/ME, this test blows up -- it succeeds, but takes
5406 # about 5 minutes as the teststring grows exponentially.
5407 # Worse, since 9x/ME are not pre-emptively multitasking,
5408 # you end up with a "frozen" computer, even though with patience
5409 # the test eventually succeeds (with a max line length of 256k).
5410 # Instead, let's just punt: use the minimum linelength reported by
5411 # all of the supported platforms: 8192 (on NT/2K/XP).
5412 lt_cv_sys_max_cmd_len
=8192;
5416 # On MiNT this can take a long time and run out of memory.
5417 lt_cv_sys_max_cmd_len
=8192;
5421 # On AmigaOS with pdksh, this test takes hours, literally.
5422 # So we just punt and use a minimum line length of 8192.
5423 lt_cv_sys_max_cmd_len
=8192;
5426 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5427 # This has been around since 386BSD, at least. Likely further.
5428 if test -x /sbin
/sysctl
; then
5429 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5430 elif test -x /usr
/sbin
/sysctl
; then
5431 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5433 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5435 # And add a safety zone
5436 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5437 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5441 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5442 lt_cv_sys_max_cmd_len
=196608
5446 # The test takes a long time on OS/2.
5447 lt_cv_sys_max_cmd_len
=8192
5451 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5452 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5453 # nice to cause kernel panics so lets avoid the loop below.
5454 # First set a reasonable default.
5455 lt_cv_sys_max_cmd_len
=16384
5457 if test -x /sbin
/sysconfig
; then
5458 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5459 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5464 lt_cv_sys_max_cmd_len
=102400
5466 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5467 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5468 if test -n "$kargmax"; then
5469 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5471 lt_cv_sys_max_cmd_len
=32768
5475 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5476 if test -n "$lt_cv_sys_max_cmd_len"; then
5477 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5478 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5480 # Make teststring a little bigger before we do anything with it.
5481 # a 1K string should be a reasonable start.
5482 for i
in 1 2 3 4 5 6 7 8 ; do
5483 teststring
=$teststring$teststring
5485 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5486 # If test is not a shell built-in, we'll probably end up computing a
5487 # maximum length that is only half of the actual maximum length, but
5489 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5490 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5491 test $i != 17 # 1/2 MB should be enough
5494 teststring
=$teststring$teststring
5496 # Only check the string length outside the loop.
5497 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5499 # Add a significant safety factor because C++ compilers can tack on
5500 # massive amounts of additional arguments before passing them to the
5501 # linker. It appears as though 1/2 is a usable value.
5502 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5509 if test -n $lt_cv_sys_max_cmd_len ; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5511 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5514 $as_echo "none" >&6; }
5516 max_cmd_len
=$lt_cv_sys_max_cmd_len
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5528 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5529 # Try some XSI features
5532 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5534 && eval 'test $(( 1 + 1 )) -eq 2 \
5535 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5538 $as_echo "$xsi_shell" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5542 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5544 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5546 && lt_shell_append
=yes
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5548 $as_echo "$lt_shell_append" >&6; }
5551 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
5561 # test EBCDIC or ASCII
5562 case `echo X|tr X '\101'` in
5563 A
) # ASCII based system
5564 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5565 lt_SP2NL
='tr \040 \012'
5566 lt_NL2SP
='tr \015\012 \040\040'
5568 *) # EBCDIC based system
5569 lt_SP2NL
='tr \100 \n'
5570 lt_NL2SP
='tr \r\n \100\100'
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5583 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5584 if ${lt_cv_to_host_file_cmd+:} false
; then :
5585 $as_echo_n "(cached) " >&6
5590 *-*-mingw* ) # actually msys
5591 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5594 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5596 * ) # otherwise, assume *nix
5597 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5603 *-*-mingw* ) # actually msys
5604 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5607 lt_cv_to_host_file_cmd
=func_convert_file_noop
5609 * ) # otherwise, assume *nix
5610 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5614 * ) # unhandled hosts (and "normal" native builds)
5615 lt_cv_to_host_file_cmd
=func_convert_file_noop
5621 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5623 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5630 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5631 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5632 $as_echo_n "(cached) " >&6
5634 #assume ordinary cross tools, or native build.
5635 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5639 *-*-mingw* ) # actually msys
5640 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5648 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5650 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5657 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5658 if ${lt_cv_ld_reload_flag+:} false
; then :
5659 $as_echo_n "(cached) " >&6
5661 lt_cv_ld_reload_flag
='-r'
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5664 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5665 reload_flag
=$lt_cv_ld_reload_flag
5666 case $reload_flag in
5668 *) reload_flag
=" $reload_flag" ;;
5670 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5672 cygwin
* | mingw
* | pw32
* | cegcc
*)
5673 if test "$GCC" != yes; then
5678 if test "$GCC" = yes; then
5679 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5681 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5694 if test -n "$ac_tool_prefix"; then
5695 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5696 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$OBJDUMP"; then
5703 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir
=.
5710 for ac_exec_ext
in '' $ac_executable_extensions; do
5711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 OBJDUMP
=$ac_cv_prog_OBJDUMP
5723 if test -n "$OBJDUMP"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5725 $as_echo "$OBJDUMP" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5733 if test -z "$ac_cv_prog_OBJDUMP"; then
5734 ac_ct_OBJDUMP
=$OBJDUMP
5735 # Extract the first word of "objdump", so it can be a program name with args.
5736 set dummy objdump
; ac_word
=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5740 $as_echo_n "(cached) " >&6
5742 if test -n "$ac_ct_OBJDUMP"; then
5743 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5749 test -z "$as_dir" && as_dir
=.
5750 for ac_exec_ext
in '' $ac_executable_extensions; do
5751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5763 if test -n "$ac_ct_OBJDUMP"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5765 $as_echo "$ac_ct_OBJDUMP" >&6; }
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5771 if test "x$ac_ct_OBJDUMP" = x
; then
5774 case $cross_compiling:$ac_tool_warned in
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778 ac_tool_warned
=yes ;;
5780 OBJDUMP
=$ac_ct_OBJDUMP
5783 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5786 test -z "$OBJDUMP" && OBJDUMP
=objdump
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5794 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5795 if ${lt_cv_deplibs_check_method+:} false
; then :
5796 $as_echo_n "(cached) " >&6
5798 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5799 lt_cv_file_magic_test_file
=
5800 lt_cv_deplibs_check_method
='unknown'
5801 # Need to set the preceding variable on all platforms that support
5802 # interlibrary dependencies.
5803 # 'none' -- dependencies not supported.
5804 # `unknown' -- same as none, but documents that we really don't know.
5805 # 'pass_all' -- all dependencies passed with no checks.
5806 # 'test_compile' -- check by making test program.
5807 # 'file_magic [[regex]]' -- check by looking for files in library path
5808 # which responds to the $file_magic_cmd with a given extended regex.
5809 # If you have `file' or equivalent on your system and you're not sure
5810 # whether `pass_all' will *always* work, you probably want this one.
5814 lt_cv_deplibs_check_method
=pass_all
5818 lt_cv_deplibs_check_method
=pass_all
5822 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5823 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5824 lt_cv_file_magic_test_file
=/shlib
/libc.so
5828 # func_win32_libid is a shell function defined in ltmain.sh
5829 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5830 lt_cv_file_magic_cmd
='func_win32_libid'
5834 # Base MSYS/MinGW do not provide the 'file' command needed by
5835 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5836 # unless we find 'file', for example because we are cross-compiling.
5837 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5838 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5839 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5840 lt_cv_file_magic_cmd
='func_win32_libid'
5842 # Keep this pattern in sync with the one in func_win32_libid.
5843 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5844 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5849 # use the weaker test based on 'objdump'. See mingw*.
5850 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5851 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5854 darwin
* | rhapsody
*)
5855 lt_cv_deplibs_check_method
=pass_all
5858 freebsd
* | dragonfly
*)
5859 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5862 # Not sure whether the presence of OpenBSD here was a mistake.
5863 # Let's accept both of them until this is cleared up.
5864 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5865 lt_cv_file_magic_cmd
=/usr
/bin
/file
5866 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5870 lt_cv_deplibs_check_method
=pass_all
5875 lt_cv_deplibs_check_method
=pass_all
5879 lt_cv_deplibs_check_method
=pass_all
5882 hpux10.20
* | hpux11
*)
5883 lt_cv_file_magic_cmd
=/usr
/bin
/file
5886 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5887 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5890 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5891 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5894 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5895 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5901 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5902 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5905 irix5
* | irix6
* | nonstopux
*)
5907 *-32|*"-32 ") libmagic
=32-bit;;
5908 *-n32|*"-n32 ") libmagic
=N32
;;
5909 *-64|*"-64 ") libmagic
=64-bit;;
5910 *) libmagic
=never
-match;;
5912 lt_cv_deplibs_check_method
=pass_all
5915 # This must be glibc/ELF.
5916 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5917 lt_cv_deplibs_check_method
=pass_all
5921 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5922 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5924 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5929 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5930 lt_cv_file_magic_cmd
=/usr
/bin
/file
5931 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5935 lt_cv_deplibs_check_method
=pass_all
5939 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5940 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5942 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5946 osf3
* | osf4
* | osf5
*)
5947 lt_cv_deplibs_check_method
=pass_all
5951 lt_cv_deplibs_check_method
=pass_all
5955 lt_cv_deplibs_check_method
=pass_all
5958 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5959 lt_cv_deplibs_check_method
=pass_all
5963 case $host_vendor in
5965 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]'
5966 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5969 lt_cv_deplibs_check_method
=pass_all
5972 lt_cv_file_magic_cmd
='/bin/file'
5973 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5976 lt_cv_file_magic_cmd
='/bin/file'
5977 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5978 lt_cv_file_magic_test_file
=/lib
/libc.so
5981 lt_cv_deplibs_check_method
=pass_all
5984 lt_cv_deplibs_check_method
=pass_all
5990 lt_cv_deplibs_check_method
=pass_all
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5996 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6000 if test "$build" = "$host"; then
6003 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
6006 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6012 file_magic_cmd
=$lt_cv_file_magic_cmd
6013 deplibs_check_method
=$lt_cv_deplibs_check_method
6014 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6037 if test -n "$ac_tool_prefix"; then
6038 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6039 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6043 $as_echo_n "(cached) " >&6
6045 if test -n "$DLLTOOL"; then
6046 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6052 test -z "$as_dir" && as_dir
=.
6053 for ac_exec_ext
in '' $ac_executable_extensions; do
6054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 DLLTOOL
=$ac_cv_prog_DLLTOOL
6066 if test -n "$DLLTOOL"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6068 $as_echo "$DLLTOOL" >&6; }
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6076 if test -z "$ac_cv_prog_DLLTOOL"; then
6077 ac_ct_DLLTOOL
=$DLLTOOL
6078 # Extract the first word of "dlltool", so it can be a program name with args.
6079 set dummy dlltool
; ac_word
=$2
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 $as_echo_n "checking for $ac_word... " >&6; }
6082 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6083 $as_echo_n "(cached) " >&6
6085 if test -n "$ac_ct_DLLTOOL"; then
6086 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6092 test -z "$as_dir" && as_dir
=.
6093 for ac_exec_ext
in '' $ac_executable_extensions; do
6094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6095 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6106 if test -n "$ac_ct_DLLTOOL"; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6108 $as_echo "$ac_ct_DLLTOOL" >&6; }
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111 $as_echo "no" >&6; }
6114 if test "x$ac_ct_DLLTOOL" = x
; then
6117 case $cross_compiling:$ac_tool_warned in
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6121 ac_tool_warned
=yes ;;
6123 DLLTOOL
=$ac_ct_DLLTOOL
6126 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6129 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6138 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6139 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6140 $as_echo_n "(cached) " >&6
6142 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6145 cygwin
* | mingw
* | pw32
* | cegcc
*)
6146 # two different shell functions defined in ltmain.sh
6147 # decide which to use based on capabilities of $DLLTOOL
6148 case `$DLLTOOL --help 2>&1` in
6149 *--identify-strict*)
6150 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6153 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6158 # fallback: assume linklib IS sharedlib
6159 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6165 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6166 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6167 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6175 if test -n "$ac_tool_prefix"; then
6178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6179 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181 $as_echo_n "checking for $ac_word... " >&6; }
6182 if ${ac_cv_prog_AR+:} false
; then :
6183 $as_echo_n "(cached) " >&6
6185 if test -n "$AR"; then
6186 ac_cv_prog_AR
="$AR" # Let the user override the test.
6188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6192 test -z "$as_dir" && as_dir
=.
6193 for ac_exec_ext
in '' $ac_executable_extensions; do
6194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6195 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 if test -n "$AR"; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6208 $as_echo "$AR" >&6; }
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 $as_echo "no" >&6; }
6215 test -n "$AR" && break
6218 if test -z "$AR"; then
6222 # Extract the first word of "$ac_prog", so it can be a program name with args.
6223 set dummy
$ac_prog; ac_word
=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6227 $as_echo_n "(cached) " >&6
6229 if test -n "$ac_ct_AR"; then
6230 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6236 test -z "$as_dir" && as_dir
=.
6237 for ac_exec_ext
in '' $ac_executable_extensions; do
6238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6239 ac_cv_prog_ac_ct_AR
="$ac_prog"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6249 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6250 if test -n "$ac_ct_AR"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6252 $as_echo "$ac_ct_AR" >&6; }
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6259 test -n "$ac_ct_AR" && break
6262 if test "x$ac_ct_AR" = x
; then
6265 case $cross_compiling:$ac_tool_warned in
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6269 ac_tool_warned
=yes ;;
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6289 $as_echo_n "checking for archiver @FILE support... " >&6; }
6290 if ${lt_cv_ar_at_file+:} false
; then :
6291 $as_echo_n "(cached) " >&6
6294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6295 /* end confdefs.h. */
6305 if ac_fn_c_try_compile
"$LINENO"; then :
6306 echo conftest.
$ac_objext > conftest.lst
6307 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6308 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6309 (eval $lt_ar_try) 2>&5
6311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6312 test $ac_status = 0; }
6313 if test "$ac_status" -eq 0; then
6314 # Ensure the archiver fails upon bogus file names.
6315 rm -f conftest.
$ac_objext libconftest.a
6316 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6317 (eval $lt_ar_try) 2>&5
6319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6320 test $ac_status = 0; }
6321 if test "$ac_status" -ne 0; then
6325 rm -f conftest.
* libconftest.a
6328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6332 $as_echo "$lt_cv_ar_at_file" >&6; }
6334 if test "x$lt_cv_ar_at_file" = xno
; then
6337 archiver_list_spec
=$lt_cv_ar_at_file
6346 if test -n "$ac_tool_prefix"; then
6347 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6348 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if ${ac_cv_prog_STRIP+:} false
; then :
6352 $as_echo_n "(cached) " >&6
6354 if test -n "$STRIP"; then
6355 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir
=.
6362 for ac_exec_ext
in '' $ac_executable_extensions; do
6363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6364 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 STRIP
=$ac_cv_prog_STRIP
6375 if test -n "$STRIP"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6377 $as_echo "$STRIP" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6385 if test -z "$ac_cv_prog_STRIP"; then
6387 # Extract the first word of "strip", so it can be a program name with args.
6388 set dummy strip
; ac_word
=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6392 $as_echo_n "(cached) " >&6
6394 if test -n "$ac_ct_STRIP"; then
6395 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6401 test -z "$as_dir" && as_dir
=.
6402 for ac_exec_ext
in '' $ac_executable_extensions; do
6403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_ac_ct_STRIP
="strip"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6415 if test -n "$ac_ct_STRIP"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6417 $as_echo "$ac_ct_STRIP" >&6; }
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6423 if test "x$ac_ct_STRIP" = x
; then
6426 case $cross_compiling:$ac_tool_warned in
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6430 ac_tool_warned
=yes ;;
6435 STRIP
="$ac_cv_prog_STRIP"
6438 test -z "$STRIP" && STRIP
=:
6445 if test -n "$ac_tool_prefix"; then
6446 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6447 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6449 $as_echo_n "checking for $ac_word... " >&6; }
6450 if ${ac_cv_prog_RANLIB+:} false
; then :
6451 $as_echo_n "(cached) " >&6
6453 if test -n "$RANLIB"; then
6454 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6460 test -z "$as_dir" && as_dir
=.
6461 for ac_exec_ext
in '' $ac_executable_extensions; do
6462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6463 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 RANLIB
=$ac_cv_prog_RANLIB
6474 if test -n "$RANLIB"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6476 $as_echo "$RANLIB" >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6479 $as_echo "no" >&6; }
6484 if test -z "$ac_cv_prog_RANLIB"; then
6485 ac_ct_RANLIB
=$RANLIB
6486 # Extract the first word of "ranlib", so it can be a program name with args.
6487 set dummy ranlib
; ac_word
=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6491 $as_echo_n "(cached) " >&6
6493 if test -n "$ac_ct_RANLIB"; then
6494 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir
=.
6501 for ac_exec_ext
in '' $ac_executable_extensions; do
6502 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6503 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6514 if test -n "$ac_ct_RANLIB"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6516 $as_echo "$ac_ct_RANLIB" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6519 $as_echo "no" >&6; }
6522 if test "x$ac_ct_RANLIB" = x
; then
6525 case $cross_compiling:$ac_tool_warned in
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6529 ac_tool_warned
=yes ;;
6531 RANLIB
=$ac_ct_RANLIB
6534 RANLIB
="$ac_cv_prog_RANLIB"
6537 test -z "$RANLIB" && RANLIB
=:
6544 # Determine commands to create old-style static archives.
6545 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6546 old_postinstall_cmds
='chmod 644 $oldlib'
6547 old_postuninstall_cmds
=
6549 if test -n "$RANLIB"; then
6552 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6555 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6558 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6563 lock_old_archive_extraction
=yes ;;
6565 lock_old_archive_extraction
=no
;;
6606 # If no C compiler was specified, use CC.
6609 # If no C compiler flags were specified, use CFLAGS.
6610 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6612 # Allow CC to be a program name with arguments.
6616 # Check for command to grab the raw symbol name followed by C symbol from nm.
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6618 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6619 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6620 $as_echo_n "(cached) " >&6
6623 # These are sane defaults that work on at least a few old systems.
6624 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6626 # Character class describing NM global symbol codes.
6627 symcode
='[BCDEGRST]'
6629 # Regexp to match symbols that can be accessed directly from C.
6630 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6632 # Define system-specific variables.
6637 cygwin
* | mingw
* | pw32
* | cegcc
*)
6638 symcode
='[ABCDGISTW]'
6641 if test "$host_cpu" = ia64
; then
6642 symcode
='[ABCDEGRST]'
6646 symcode
='[BCDEGRST]'
6649 symcode
='[BCDEGQRST]'
6660 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6668 # If we're using GNU nm, then use its standard symbol codes.
6669 case `$NM -V 2>&1` in
6670 *GNU
* | *'with BFD'*)
6671 symcode
='[ABCDGIRSTW]' ;;
6674 # Transform an extracted symbol line into a proper C declaration.
6675 # Some systems (esp. on ia64) link data and code symbols differently,
6676 # so use this general approach.
6677 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6679 # Transform an extracted symbol line into symbol name and symbol address
6680 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6681 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'"
6683 # Handle CRLF in mingw tool chain
6687 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6691 # Try without a prefix underscore, then with it.
6692 for ac_symprfx
in "" "_"; do
6694 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6695 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6697 # Write the raw and C identifiers.
6698 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6699 # Fake it for dumpbin and say T for any non-static function
6700 # and D for any global variable.
6701 # Also find C++ and __fastcall symbols from MSVC++,
6702 # which start with @ or ?.
6703 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6704 " {last_section=section; section=\$ 3};"\
6705 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6706 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6707 " \$ 0!~/External *\|/{next};"\
6708 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6709 " {if(hide[section]) next};"\
6710 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6711 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6712 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6713 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6714 " ' prfx=^$ac_symprfx"
6716 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6718 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6720 # Check to see that the pipe works correctly.
6724 cat > conftest.
$ac_ext <<_LT_EOF
6729 void nm_test_func(void);
6730 void nm_test_func(void){}
6734 int main(){nm_test_var='a';nm_test_func();return(0);}
6737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6738 (eval $ac_compile) 2>&5
6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6741 test $ac_status = 0; }; then
6742 # Now try to grab the symbols.
6744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6745 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6748 test $ac_status = 0; } && test -s "$nlist"; then
6749 # Try sorting and uniquifying the output.
6750 if sort "$nlist" | uniq > "$nlist"T
; then
6751 mv -f "$nlist"T
"$nlist"
6756 # Make sure that we snagged all the symbols we need.
6757 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6758 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6759 cat <<_LT_EOF > conftest.$ac_ext
6760 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6761 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6762 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6763 relocations are performed -- see ld's documentation on pseudo-relocs. */
6764 # define LT_DLSYM_CONST
6765 #elif defined(__osf__)
6766 /* This system does not cope well with relocations in const data. */
6767 # define LT_DLSYM_CONST
6769 # define LT_DLSYM_CONST const
6777 # Now generate the symbol file.
6778 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6780 cat <<_LT_EOF >> conftest.$ac_ext
6782 /* The mapping between symbol names and symbols. */
6783 LT_DLSYM_CONST struct {
6787 lt__PROGRAM__LTX_preloaded_symbols[] =
6789 { "@PROGRAM@", (void *) 0 },
6791 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
6792 cat <<\_LT_EOF
>> conftest.
$ac_ext
6796 /* This works around a problem
in FreeBSD linker
*/
6797 #ifdef FREEBSD_WORKAROUND
6798 static const void
*lt_preloaded_setup
() {
6799 return lt__PROGRAM__LTX_preloaded_symbols
;
6807 # Now try linking the two files.
6808 mv conftest.
$ac_objext conftstm.
$ac_objext
6809 lt_globsym_save_LIBS
=$LIBS
6810 lt_globsym_save_CFLAGS
=$CFLAGS
6811 LIBS
="conftstm.$ac_objext"
6812 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6814 (eval $ac_link) 2>&5
6816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6817 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6820 LIBS
=$lt_globsym_save_LIBS
6821 CFLAGS
=$lt_globsym_save_CFLAGS
6823 echo "cannot find nm_test_func in $nlist" >&5
6826 echo "cannot find nm_test_var in $nlist" >&5
6829 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6832 echo "$progname: failed program was:" >&5
6833 cat conftest.
$ac_ext >&5
6835 rm -rf conftest
* conftst
*
6837 # Do not use the global_symbol_pipe unless it works.
6838 if test "$pipe_works" = yes; then
6841 lt_cv_sys_global_symbol_pipe
=
6847 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6848 lt_cv_sys_global_symbol_to_cdecl
=
6850 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6852 $as_echo "failed" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6855 $as_echo "ok" >&6; }
6858 # Response file support.
6859 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6860 nm_file_list_spec
='@'
6861 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
6862 nm_file_list_spec
='@'
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6892 $as_echo_n "checking for sysroot... " >&6; }
6894 # Check whether --with-sysroot was given.
6895 if test "${with_sysroot+set}" = set; then :
6896 withval
=$with_sysroot;
6903 case ${with_sysroot} in #(
6905 if test "$GCC" = yes; then
6906 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6910 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6916 $as_echo "${with_sysroot}" >&6; }
6917 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6922 $as_echo "${lt_sysroot:-no}" >&6; }
6928 # Check whether --enable-libtool-lock was given.
6929 if test "${enable_libtool_lock+set}" = set; then :
6930 enableval
=$enable_libtool_lock;
6933 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6935 # Some flags need to be propagated to the compiler or linker for good
6939 # Find out which ABI we are using.
6940 echo 'int i;' > conftest.
$ac_ext
6941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6942 (eval $ac_compile) 2>&5
6944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6945 test $ac_status = 0; }; then
6946 case `/usr/bin/file conftest.$ac_objext` in
6958 # Find out which ABI we are using.
6959 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6960 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6961 (eval $ac_compile) 2>&5
6963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6964 test $ac_status = 0; }; then
6965 if test "$lt_cv_prog_gnu_ld" = yes; then
6966 case `/usr/bin/file conftest.$ac_objext` in
6968 LD
="${LD-ld} -melf32bsmip"
6971 LD
="${LD-ld} -melf32bmipn32"
6974 LD
="${LD-ld} -melf64bmip"
6978 case `/usr/bin/file conftest.$ac_objext` in
6994 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6995 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6996 # Find out which ABI we are using.
6997 echo 'int i;' > conftest.
$ac_ext
6998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6999 (eval $ac_compile) 2>&5
7001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7002 test $ac_status = 0; }; then
7003 case `/usr/bin/file conftest.o` in
7006 x86_64
-*kfreebsd
*-gnu)
7007 LD
="${LD-ld} -m elf_i386_fbsd"
7010 LD
="${LD-ld} -m elf_i386"
7012 ppc64
-*linux
*|powerpc64
-*linux
*)
7013 LD
="${LD-ld} -m elf32ppclinux"
7016 LD
="${LD-ld} -m elf_s390"
7019 LD
="${LD-ld} -m elf32_sparc"
7025 x86_64
-*kfreebsd
*-gnu)
7026 LD
="${LD-ld} -m elf_x86_64_fbsd"
7029 LD
="${LD-ld} -m elf_x86_64"
7031 ppc
*-*linux
*|powerpc
*-*linux
*)
7032 LD
="${LD-ld} -m elf64ppc"
7034 s390
*-*linux
*|s390
*-*tpf
*)
7035 LD
="${LD-ld} -m elf64_s390"
7038 LD
="${LD-ld} -m elf64_sparc"
7048 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7049 SAVE_CFLAGS
="$CFLAGS"
7050 CFLAGS
="$CFLAGS -belf"
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7052 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7053 if ${lt_cv_cc_needs_belf+:} false
; then :
7054 $as_echo_n "(cached) " >&6
7057 ac_cpp
='$CPP $CPPFLAGS'
7058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7063 /* end confdefs.h. */
7073 if ac_fn_c_try_link
"$LINENO"; then :
7074 lt_cv_cc_needs_belf
=yes
7076 lt_cv_cc_needs_belf
=no
7078 rm -f core conftest.err conftest.
$ac_objext \
7079 conftest
$ac_exeext conftest.
$ac_ext
7081 ac_cpp
='$CPP $CPPFLAGS'
7082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7088 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7089 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7090 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7091 CFLAGS
="$SAVE_CFLAGS"
7095 # Find out which ABI we are using.
7096 echo 'int i;' > conftest.
$ac_ext
7097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7098 (eval $ac_compile) 2>&5
7100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7101 test $ac_status = 0; }; then
7102 case `/usr/bin/file conftest.o` in
7104 case $lt_cv_prog_gnu_ld in
7107 i?
86-*-solaris*|x86_64
-*-solaris*)
7108 LD
="${LD-ld} -m elf_x86_64"
7111 LD
="${LD-ld} -m elf64_sparc"
7114 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7115 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
7120 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7132 need_locks
="$enable_libtool_lock"
7134 if test -n "$ac_tool_prefix"; then
7135 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7136 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7140 $as_echo_n "(cached) " >&6
7142 if test -n "$MANIFEST_TOOL"; then
7143 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir
=.
7150 for ac_exec_ext
in '' $ac_executable_extensions; do
7151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7152 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7163 if test -n "$MANIFEST_TOOL"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7165 $as_echo "$MANIFEST_TOOL" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7173 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7174 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7175 # Extract the first word of "mt", so it can be a program name with args.
7176 set dummy mt
; ac_word
=$2
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7178 $as_echo_n "checking for $ac_word... " >&6; }
7179 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7180 $as_echo_n "(cached) " >&6
7182 if test -n "$ac_ct_MANIFEST_TOOL"; then
7183 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7189 test -z "$as_dir" && as_dir
=.
7190 for ac_exec_ext
in '' $ac_executable_extensions; do
7191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7192 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7203 if test -n "$ac_ct_MANIFEST_TOOL"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7205 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }
7211 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7214 case $cross_compiling:$ac_tool_warned in
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7218 ac_tool_warned
=yes ;;
7220 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7223 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7226 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7228 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7229 if ${lt_cv_path_mainfest_tool+:} false
; then :
7230 $as_echo_n "(cached) " >&6
7232 lt_cv_path_mainfest_tool
=no
7233 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7234 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7235 cat conftest.err
>&5
7236 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7237 lt_cv_path_mainfest_tool
=yes
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7242 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7243 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
7253 rhapsody
* | darwin
*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7260 $as_echo_n "(cached) " >&6
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7269 test -z "$as_dir" && as_dir
=.
7270 for ac_exec_ext
in '' $ac_executable_extensions; do
7271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7272 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL
=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil
; ac_word
=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7300 $as_echo_n "(cached) " >&6
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7309 test -z "$as_dir" && as_dir
=.
7310 for ac_exec_ext
in '' $ac_executable_extensions; do
7311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7312 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7322 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_DSYMUTIL" = x
; then
7334 case $cross_compiling:$ac_tool_warned in
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned
=yes ;;
7340 DSYMUTIL
=$ac_ct_DSYMUTIL
7343 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if ${ac_cv_prog_NMEDIT+:} false
; then :
7352 $as_echo_n "(cached) " >&6
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir
=.
7362 for ac_exec_ext
in '' $ac_executable_extensions; do
7363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 NMEDIT
=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT
=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit
; ac_word
=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7392 $as_echo_n "(cached) " >&6
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir
=.
7402 for ac_exec_ext
in '' $ac_executable_extensions; do
7403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_NMEDIT" = x
; then
7426 case $cross_compiling:$ac_tool_warned in
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned
=yes ;;
7432 NMEDIT
=$ac_ct_NMEDIT
7435 NMEDIT
="$ac_cv_prog_NMEDIT"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if ${ac_cv_prog_LIPO+:} false
; then :
7444 $as_echo_n "(cached) " >&6
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7453 test -z "$as_dir" && as_dir
=.
7454 for ac_exec_ext
in '' $ac_executable_extensions; do
7455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7466 LIPO
=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_LIPO"; then
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo
; ac_word
=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7484 $as_echo_n "(cached) " >&6
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7493 test -z "$as_dir" && as_dir
=.
7494 for ac_exec_ext
in '' $ac_executable_extensions; do
7495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7496 ac_cv_prog_ac_ct_LIPO
="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_LIPO" = x
; then
7518 case $cross_compiling:$ac_tool_warned in
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned
=yes ;;
7527 LIPO
="$ac_cv_prog_LIPO"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if ${ac_cv_prog_OTOOL+:} false
; then :
7536 $as_echo_n "(cached) " >&6
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7545 test -z "$as_dir" && as_dir
=.
7546 for ac_exec_ext
in '' $ac_executable_extensions; do
7547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7548 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 OTOOL
=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_OTOOL"; then
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool
; ac_word
=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7576 $as_echo_n "(cached) " >&6
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7585 test -z "$as_dir" && as_dir
=.
7586 for ac_exec_ext
in '' $ac_executable_extensions; do
7587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_ac_ct_OTOOL
="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_OTOOL" = x
; then
7610 case $cross_compiling:$ac_tool_warned in
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned
=yes ;;
7619 OTOOL
="$ac_cv_prog_OTOOL"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if ${ac_cv_prog_OTOOL64+:} false
; then :
7628 $as_echo_n "(cached) " >&6
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7637 test -z "$as_dir" && as_dir
=.
7638 for ac_exec_ext
in '' $ac_executable_extensions; do
7639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7640 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7650 OTOOL64
=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64
=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64
; ac_word
=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7668 $as_echo_n "(cached) " >&6
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir
=.
7678 for ac_exec_ext
in '' $ac_executable_extensions; do
7679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7680 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7690 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL64" = x
; then
7702 case $cross_compiling:$ac_tool_warned in
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned
=yes ;;
7708 OTOOL64
=$ac_ct_OTOOL64
7711 OTOOL64
="$ac_cv_prog_OTOOL64"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7743 $as_echo_n "(cached) " >&6
7745 lt_cv_apple_cc_single_mod
=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7751 rm -rf libconftest.dylib
*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7758 # If there is a non-empty error log, and "single_module"
7759 # appears in it, assume the flag caused a linker warning
7760 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7761 cat conftest.err
>&5
7762 # Otherwise, if the output was created with a 0 exit code from
7763 # the compiler, it worked.
7764 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
7765 lt_cv_apple_cc_single_mod
=yes
7767 cat conftest.err
>&5
7769 rm -rf libconftest.dylib
*
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7774 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7777 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7778 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7779 $as_echo_n "(cached) " >&6
7781 lt_cv_ld_exported_symbols_list
=no
7782 save_LDFLAGS
=$LDFLAGS
7783 echo "_main" > conftest.sym
7784 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7786 /* end confdefs.h. */
7796 if ac_fn_c_try_link
"$LINENO"; then :
7797 lt_cv_ld_exported_symbols_list
=yes
7799 lt_cv_ld_exported_symbols_list
=no
7801 rm -f core conftest.err conftest.
$ac_objext \
7802 conftest
$ac_exeext conftest.
$ac_ext
7803 LDFLAGS
="$save_LDFLAGS"
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7807 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7810 $as_echo_n "checking for -force_load linker flag... " >&6; }
7811 if ${lt_cv_ld_force_load+:} false
; then :
7812 $as_echo_n "(cached) " >&6
7814 lt_cv_ld_force_load
=no
7815 cat > conftest.c
<< _LT_EOF
7816 int forced_loaded() { return 2;}
7818 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7819 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7820 echo "$AR cru libconftest.a conftest.o" >&5
7821 $AR cru libconftest.a conftest.o
2>&5
7822 echo "$RANLIB libconftest.a" >&5
7823 $RANLIB libconftest.a
2>&5
7824 cat > conftest.c
<< _LT_EOF
7825 int main() { return 0;}
7827 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7828 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7830 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7831 cat conftest.err
>&5
7832 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
7833 lt_cv_ld_force_load
=yes
7835 cat conftest.err
>&5
7837 rm -f conftest.err libconftest.a conftest conftest.c
7838 rm -rf conftest.dSYM
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7842 $as_echo "$lt_cv_ld_force_load" >&6; }
7844 rhapsody
* | darwin1.
[012])
7845 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7847 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 darwin
*) # darwin 5.x on
7849 # if running on 10.5 or later, the deployment target defaults
7850 # to the OS version, if on x86, and 10.4, the deployment
7851 # target defaults to 10.4. Don't you love it?
7852 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7853 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7854 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7856 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7858 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7862 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7863 _lt_dar_single_mod
='$single_module'
7865 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7866 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7868 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7870 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7871 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7879 ac_cpp
='$CPP $CPPFLAGS'
7880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7884 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7885 # On Suns, sometimes $CPP names a directory.
7886 if test -n "$CPP" && test -d "$CPP"; then
7889 if test -z "$CPP"; then
7890 if ${ac_cv_prog_CPP+:} false
; then :
7891 $as_echo_n "(cached) " >&6
7893 # Double quotes because CPP needs to be expanded
7894 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7897 for ac_c_preproc_warn_flag
in '' yes
7899 # Use a header file that comes with gcc, so configuring glibc
7900 # with a fresh cross-compiler works.
7901 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7902 # <limits.h> exists even on freestanding compilers.
7903 # On the NeXT, cc -E runs the code through the compiler's parser,
7904 # not just through cpp. "Syntax error" is here to catch this case.
7905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7906 /* end confdefs.h. */
7908 # include <limits.h>
7910 # include <assert.h>
7914 if ac_fn_c_try_cpp
"$LINENO"; then :
7917 # Broken: fails on valid input.
7920 rm -f conftest.err conftest.i conftest.
$ac_ext
7922 # OK, works on sane cases. Now check whether nonexistent headers
7923 # can be detected and how.
7924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7926 #include <ac_nonexistent.h>
7928 if ac_fn_c_try_cpp
"$LINENO"; then :
7929 # Broken: success on invalid input.
7932 # Passes both tests.
7936 rm -f conftest.err conftest.i conftest.
$ac_ext
7939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7940 rm -f conftest.i conftest.err conftest.
$ac_ext
7941 if $ac_preproc_ok; then :
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7954 $as_echo "$CPP" >&6; }
7956 for ac_c_preproc_warn_flag
in '' yes
7958 # Use a header file that comes with gcc, so configuring glibc
7959 # with a fresh cross-compiler works.
7960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7961 # <limits.h> exists even on freestanding compilers.
7962 # On the NeXT, cc -E runs the code through the compiler's parser,
7963 # not just through cpp. "Syntax error" is here to catch this case.
7964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7967 # include <limits.h>
7969 # include <assert.h>
7973 if ac_fn_c_try_cpp
"$LINENO"; then :
7976 # Broken: fails on valid input.
7979 rm -f conftest.err conftest.i conftest.
$ac_ext
7981 # OK, works on sane cases. Now check whether nonexistent headers
7982 # can be detected and how.
7983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7984 /* end confdefs.h. */
7985 #include <ac_nonexistent.h>
7987 if ac_fn_c_try_cpp
"$LINENO"; then :
7988 # Broken: success on invalid input.
7991 # Passes both tests.
7995 rm -f conftest.err conftest.i conftest.
$ac_ext
7998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7999 rm -f conftest.i conftest.err conftest.
$ac_ext
8000 if $ac_preproc_ok; then :
8003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8005 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8006 See \`config.log' for more details" "$LINENO" 5; }
8010 ac_cpp
='$CPP $CPPFLAGS'
8011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8017 $as_echo_n "checking for ANSI C header files... " >&6; }
8018 if ${ac_cv_header_stdc+:} false
; then :
8019 $as_echo_n "(cached) " >&6
8021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8036 if ac_fn_c_try_compile
"$LINENO"; then :
8037 ac_cv_header_stdc
=yes
8039 ac_cv_header_stdc
=no
8041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8043 if test $ac_cv_header_stdc = yes; then
8044 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8046 /* end confdefs.h. */
8050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8051 $EGREP "memchr" >/dev
/null
2>&1; then :
8054 ac_cv_header_stdc
=no
8060 if test $ac_cv_header_stdc = yes; then
8061 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8063 /* end confdefs.h. */
8067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8068 $EGREP "free" >/dev
/null
2>&1; then :
8071 ac_cv_header_stdc
=no
8077 if test $ac_cv_header_stdc = yes; then
8078 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8079 if test "$cross_compiling" = yes; then :
8082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8083 /* end confdefs.h. */
8086 #if ((' ' & 0x0FF) == 0x020)
8087 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8088 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8090 # define ISLOWER(c) \
8091 (('a' <= (c) && (c) <= 'i') \
8092 || ('j' <= (c) && (c) <= 'r') \
8093 || ('s' <= (c) && (c) <= 'z'))
8094 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8097 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8102 for (i = 0; i < 256; i++)
8103 if (XOR (islower (i), ISLOWER (i))
8104 || toupper (i) != TOUPPER (i))
8109 if ac_fn_c_try_run
"$LINENO"; then :
8112 ac_cv_header_stdc
=no
8114 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8115 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8121 $as_echo "$ac_cv_header_stdc" >&6; }
8122 if test $ac_cv_header_stdc = yes; then
8124 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8128 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8129 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8130 inttypes.h stdint.h unistd.h
8132 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8133 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8135 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8136 cat >>confdefs.h
<<_ACEOF
8137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8145 for ac_header
in dlfcn.h
8147 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8149 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8150 cat >>confdefs.h
<<_ACEOF
8151 #define HAVE_DLFCN_H 1
8163 enable_win32_dll
=yes
8166 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8167 if test -n "$ac_tool_prefix"; then
8168 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8169 set dummy
${ac_tool_prefix}as
; ac_word
=$2
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8171 $as_echo_n "checking for $ac_word... " >&6; }
8172 if ${ac_cv_prog_AS+:} false
; then :
8173 $as_echo_n "(cached) " >&6
8175 if test -n "$AS"; then
8176 ac_cv_prog_AS
="$AS" # Let the user override the test.
8178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8182 test -z "$as_dir" && as_dir
=.
8183 for ac_exec_ext
in '' $ac_executable_extensions; do
8184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8185 ac_cv_prog_AS
="${ac_tool_prefix}as"
8186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8196 if test -n "$AS"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8198 $as_echo "$AS" >&6; }
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8201 $as_echo "no" >&6; }
8206 if test -z "$ac_cv_prog_AS"; then
8208 # Extract the first word of "as", so it can be a program name with args.
8209 set dummy as
; ac_word
=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8211 $as_echo_n "checking for $ac_word... " >&6; }
8212 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
8213 $as_echo_n "(cached) " >&6
8215 if test -n "$ac_ct_AS"; then
8216 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
8218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8222 test -z "$as_dir" && as_dir
=.
8223 for ac_exec_ext
in '' $ac_executable_extensions; do
8224 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8225 ac_cv_prog_ac_ct_AS
="as"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8235 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
8236 if test -n "$ac_ct_AS"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8238 $as_echo "$ac_ct_AS" >&6; }
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241 $as_echo "no" >&6; }
8244 if test "x$ac_ct_AS" = x
; then
8247 case $cross_compiling:$ac_tool_warned in
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8251 ac_tool_warned
=yes ;;
8259 if test -n "$ac_tool_prefix"; then
8260 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8261 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263 $as_echo_n "checking for $ac_word... " >&6; }
8264 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8265 $as_echo_n "(cached) " >&6
8267 if test -n "$DLLTOOL"; then
8268 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8274 test -z "$as_dir" && as_dir
=.
8275 for ac_exec_ext
in '' $ac_executable_extensions; do
8276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8277 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 DLLTOOL
=$ac_cv_prog_DLLTOOL
8288 if test -n "$DLLTOOL"; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8290 $as_echo "$DLLTOOL" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8298 if test -z "$ac_cv_prog_DLLTOOL"; then
8299 ac_ct_DLLTOOL
=$DLLTOOL
8300 # Extract the first word of "dlltool", so it can be a program name with args.
8301 set dummy dlltool
; ac_word
=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8303 $as_echo_n "checking for $ac_word... " >&6; }
8304 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8305 $as_echo_n "(cached) " >&6
8307 if test -n "$ac_ct_DLLTOOL"; then
8308 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8314 test -z "$as_dir" && as_dir
=.
8315 for ac_exec_ext
in '' $ac_executable_extensions; do
8316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8317 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8328 if test -n "$ac_ct_DLLTOOL"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8330 $as_echo "$ac_ct_DLLTOOL" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 $as_echo "no" >&6; }
8336 if test "x$ac_ct_DLLTOOL" = x
; then
8339 case $cross_compiling:$ac_tool_warned in
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8343 ac_tool_warned
=yes ;;
8345 DLLTOOL
=$ac_ct_DLLTOOL
8348 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8351 if test -n "$ac_tool_prefix"; then
8352 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8353 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355 $as_echo_n "checking for $ac_word... " >&6; }
8356 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8357 $as_echo_n "(cached) " >&6
8359 if test -n "$OBJDUMP"; then
8360 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8366 test -z "$as_dir" && as_dir
=.
8367 for ac_exec_ext
in '' $ac_executable_extensions; do
8368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8369 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8379 OBJDUMP
=$ac_cv_prog_OBJDUMP
8380 if test -n "$OBJDUMP"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8382 $as_echo "$OBJDUMP" >&6; }
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385 $as_echo "no" >&6; }
8390 if test -z "$ac_cv_prog_OBJDUMP"; then
8391 ac_ct_OBJDUMP
=$OBJDUMP
8392 # Extract the first word of "objdump", so it can be a program name with args.
8393 set dummy objdump
; ac_word
=$2
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8395 $as_echo_n "checking for $ac_word... " >&6; }
8396 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8397 $as_echo_n "(cached) " >&6
8399 if test -n "$ac_ct_OBJDUMP"; then
8400 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8406 test -z "$as_dir" && as_dir
=.
8407 for ac_exec_ext
in '' $ac_executable_extensions; do
8408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8409 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8419 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8420 if test -n "$ac_ct_OBJDUMP"; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8422 $as_echo "$ac_ct_OBJDUMP" >&6; }
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8425 $as_echo "no" >&6; }
8428 if test "x$ac_ct_OBJDUMP" = x
; then
8431 case $cross_compiling:$ac_tool_warned in
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8435 ac_tool_warned
=yes ;;
8437 OBJDUMP
=$ac_ct_OBJDUMP
8440 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8446 test -z "$AS" && AS
=as
8452 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8458 test -z "$OBJDUMP" && OBJDUMP
=objdump
8470 # Check whether --enable-shared was given.
8471 if test "${enable_shared+set}" = set; then :
8472 enableval
=$enable_shared; p
=${PACKAGE-default}
8474 yes) enable_shared
=yes ;;
8475 no
) enable_shared
=no
;;
8478 # Look at the argument we got. We use all the common list separators.
8479 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8480 for pkg
in $enableval; do
8482 if test "X$pkg" = "X$p"; then
8501 # Check whether --enable-static was given.
8502 if test "${enable_static+set}" = set; then :
8503 enableval
=$enable_static; p
=${PACKAGE-default}
8505 yes) enable_static
=yes ;;
8506 no
) enable_static
=no
;;
8509 # Look at the argument we got. We use all the common list separators.
8510 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8511 for pkg
in $enableval; do
8513 if test "X$pkg" = "X$p"; then
8533 # Check whether --with-pic was given.
8534 if test "${with_pic+set}" = set; then :
8535 withval
=$with_pic; lt_p
=${PACKAGE-default}
8537 yes|no
) pic_mode
=$withval ;;
8540 # Look at the argument we got. We use all the common list separators.
8541 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8542 for lt_pkg
in $withval; do
8544 if test "X$lt_pkg" = "X$lt_p"; then
8556 test -z "$pic_mode" && pic_mode
=default
8564 # Check whether --enable-fast-install was given.
8565 if test "${enable_fast_install+set}" = set; then :
8566 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8568 yes) enable_fast_install
=yes ;;
8569 no
) enable_fast_install
=no
;;
8571 enable_fast_install
=no
8572 # Look at the argument we got. We use all the common list separators.
8573 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8574 for pkg
in $enableval; do
8576 if test "X$pkg" = "X$p"; then
8577 enable_fast_install
=yes
8584 enable_fast_install
=yes
8597 # This can be used to rebuild libtool when needed
8598 LIBTOOL_DEPS
="$ltmain"
8600 # Always use our own libtool.
8601 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8632 test -z "$LN_S" && LN_S
="ln -s"
8647 if test -n "${ZSH_VERSION+set}" ; then
8648 setopt NO_GLOB_SUBST
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8652 $as_echo_n "checking for objdir... " >&6; }
8653 if ${lt_cv_objdir+:} false
; then :
8654 $as_echo_n "(cached) " >&6
8656 rm -f .libs
2>/dev
/null
8657 mkdir .libs
2>/dev
/null
8658 if test -d .libs
; then
8661 # MS-DOS does not allow filenames that begin with a dot.
8664 rmdir .libs
2>/dev
/null
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8667 $as_echo "$lt_cv_objdir" >&6; }
8668 objdir
=$lt_cv_objdir
8674 cat >>confdefs.h
<<_ACEOF
8675 #define LT_OBJDIR "$lt_cv_objdir/"
8683 # AIX sometimes has problems with the GCC collect2 program. For some
8684 # reason, if we set the COLLECT_NAMES environment variable, the problems
8685 # vanish in a puff of smoke.
8686 if test "X${COLLECT_NAMES+set}" != Xset
; then
8688 export COLLECT_NAMES
8695 can_build_shared
=yes
8697 # All known linkers require a `.a' archive for static linking (except MSVC,
8698 # which needs '.lib').
8701 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8704 old_CFLAGS
="$CFLAGS"
8706 # Set sane defaults for various variables
8707 test -z "$CC" && CC
=cc
8708 test -z "$LTCC" && LTCC
=$CC
8709 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8710 test -z "$LD" && LD
=ld
8711 test -z "$ac_objext" && ac_objext
=o
8713 for cc_temp
in $compiler""; do
8715 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8716 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8721 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8724 # Only perform the check for file, if the check method requires it
8725 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8726 case $deplibs_check_method in
8728 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8730 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8731 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8732 $as_echo_n "(cached) " >&6
8736 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8739 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8740 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8741 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8742 for ac_dir
in $ac_dummy; do
8744 test -z "$ac_dir" && ac_dir
=.
8745 if test -f $ac_dir/${ac_tool_prefix}file; then
8746 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8747 if test -n "$file_magic_test_file"; then
8748 case $deplibs_check_method in
8750 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8751 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8752 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8753 $EGREP "$file_magic_regex" > /dev
/null
; then
8758 *** Warning: the command libtool uses to detect shared libraries,
8759 *** $file_magic_cmd, produces output that libtool cannot recognize.
8760 *** The result is that libtool may fail to recognize shared libraries
8761 *** as such. This will affect the creation of libtool libraries that
8762 *** depend on shared libraries, but programs linked with such libtool
8763 *** libraries will work regardless of this problem. Nevertheless, you
8764 *** may want to report the problem to your system manager and/or to
8765 *** bug-libtool@gnu.org
8775 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8780 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8781 if test -n "$MAGIC_CMD"; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8783 $as_echo "$MAGIC_CMD" >&6; }
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8786 $as_echo "no" >&6; }
8793 if test -z "$lt_cv_path_MAGIC_CMD"; then
8794 if test -n "$ac_tool_prefix"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8796 $as_echo_n "checking for file... " >&6; }
8797 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8798 $as_echo_n "(cached) " >&6
8802 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8805 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8806 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8807 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8808 for ac_dir
in $ac_dummy; do
8810 test -z "$ac_dir" && ac_dir
=.
8811 if test -f $ac_dir/file; then
8812 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8813 if test -n "$file_magic_test_file"; then
8814 case $deplibs_check_method in
8816 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8817 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8818 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8819 $EGREP "$file_magic_regex" > /dev
/null
; then
8824 *** Warning: the command libtool uses to detect shared libraries,
8825 *** $file_magic_cmd, produces output that libtool cannot recognize.
8826 *** The result is that libtool may fail to recognize shared libraries
8827 *** as such. This will affect the creation of libtool libraries that
8828 *** depend on shared libraries, but programs linked with such libtool
8829 *** libraries will work regardless of this problem. Nevertheless, you
8830 *** may want to report the problem to your system manager and/or to
8831 *** bug-libtool@gnu.org
8841 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8846 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8847 if test -n "$MAGIC_CMD"; then
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8849 $as_echo "$MAGIC_CMD" >&6; }
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8852 $as_echo "no" >&6; }
8865 # Use C for the default configuration in the libtool script
8869 ac_cpp
='$CPP $CPPFLAGS'
8870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8875 # Source file extension for C test sources.
8878 # Object file extension for compiled C test sources.
8882 # Code to be used in simple compile tests
8883 lt_simple_compile_test_code
="int some_variable = 0;"
8885 # Code to be used in simple link tests
8886 lt_simple_link_test_code
='int main(){return(0);}'
8894 # If no C compiler was specified, use CC.
8897 # If no C compiler flags were specified, use CFLAGS.
8898 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8900 # Allow CC to be a program name with arguments.
8903 # Save the default compiler, since it gets overwritten when the other
8904 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8905 compiler_DEFAULT
=$CC
8907 # save warnings/boilerplate of simple test code
8908 ac_outfile
=conftest.
$ac_objext
8909 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8910 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8911 _lt_compiler_boilerplate
=`cat conftest.err`
8914 ac_outfile
=conftest.
$ac_objext
8915 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8916 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8917 _lt_linker_boilerplate
=`cat conftest.err`
8922 ## There is no encapsulation within the following macros, do not change
8923 ## the running order or otherwise move them around unless you know exactly
8924 ## what you are doing...
8925 if test -n "$compiler"; then
8927 lt_prog_compiler_no_builtin_flag
=
8929 if test "$GCC" = yes; then
8930 case $cc_basename in
8932 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8934 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8938 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8939 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8940 $as_echo_n "(cached) " >&6
8942 lt_cv_prog_compiler_rtti_exceptions
=no
8943 ac_outfile
=conftest.
$ac_objext
8944 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8945 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8946 # Insert the option either (1) after the last *FLAGS variable, or
8947 # (2) before a word containing "conftest.", or (3) at the end.
8948 # Note that $ac_compile itself does not contain backslashes and begins
8949 # with a dollar sign (not a hyphen), so the echo should work correctly.
8950 # The option is referenced via a variable to avoid confusing sed.
8951 lt_compile
=`echo "$ac_compile" | $SED \
8952 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8954 -e 's:$: $lt_compiler_flag:'`
8955 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8956 (eval "$lt_compile" 2>conftest.err
)
8958 cat conftest.err
>&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 if (exit $ac_status) && test -s "$ac_outfile"; then
8961 # The compiler can only warn and ignore the option if not recognized
8962 # So say no if there are warnings other than the usual output.
8963 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8964 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8965 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8966 lt_cv_prog_compiler_rtti_exceptions
=yes
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8973 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8975 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8976 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8988 lt_prog_compiler_wl
=
8989 lt_prog_compiler_pic
=
8990 lt_prog_compiler_static
=
8993 if test "$GCC" = yes; then
8994 lt_prog_compiler_wl
='-Wl,'
8995 lt_prog_compiler_static
='-static'
8999 # All AIX code is PIC.
9000 if test "$host_cpu" = ia64
; then
9001 # AIX 5 now supports IA64 processor
9002 lt_prog_compiler_static
='-Bstatic'
9009 # see comment about AmigaOS4 .so support
9010 lt_prog_compiler_pic
='-fPIC'
9013 # FIXME: we need at least 68020 code to build shared libraries, but
9014 # adding the `-m68020' flag to GCC prevents building anything better,
9016 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9021 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9022 # PIC is the default for these OSes.
9025 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9026 # This hack is so that the source file can tell whether it is being
9027 # built for inclusion in a dll (and should export symbols for example).
9028 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9029 # (--disable-auto-import) libraries
9030 lt_prog_compiler_pic
='-DDLL_EXPORT'
9033 darwin
* | rhapsody
*)
9034 # PIC is the default on this platform
9035 # Common symbols not allowed in MH_DYLIB files
9036 lt_prog_compiler_pic
='-fno-common'
9040 # PIC is the default for Haiku.
9041 # The "-static" flag exists, but is broken.
9042 lt_prog_compiler_static
=
9046 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9047 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9048 # sets the default TLS model and affects inlining.
9054 lt_prog_compiler_pic
='-fPIC'
9060 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9061 # Instead, we relocate shared libraries at runtime.
9065 # Just because we use GCC doesn't mean we suddenly get shared libraries
9066 # on systems that don't support them.
9067 lt_prog_compiler_can_build_shared
=no
9072 # QNX uses GNU C++, but need to define -shared option too, otherwise
9074 lt_prog_compiler_pic
='-fPIC -shared'
9078 if test -d /usr
/nec
; then
9079 lt_prog_compiler_pic
=-Kconform_pic
9084 lt_prog_compiler_pic
='-fPIC'
9088 case $cc_basename in
9089 nvcc
*) # Cuda Compiler Driver 2.2
9090 lt_prog_compiler_wl
='-Xlinker '
9091 if test -n "$lt_prog_compiler_pic"; then
9092 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9097 # PORTME Check for flag to pass linker flags through the system compiler.
9100 lt_prog_compiler_wl
='-Wl,'
9101 if test "$host_cpu" = ia64
; then
9102 # AIX 5 now supports IA64 processor
9103 lt_prog_compiler_static
='-Bstatic'
9105 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9109 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9110 # This hack is so that the source file can tell whether it is being
9111 # built for inclusion in a dll (and should export symbols for example).
9112 lt_prog_compiler_pic
='-DDLL_EXPORT'
9115 hpux9
* | hpux10
* | hpux11
*)
9116 lt_prog_compiler_wl
='-Wl,'
9117 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9124 lt_prog_compiler_pic
='+Z'
9127 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9128 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9131 irix5
* | irix6
* | nonstopux
*)
9132 lt_prog_compiler_wl
='-Wl,'
9133 # PIC (with -KPIC) is the default.
9134 lt_prog_compiler_static
='-non_shared'
9137 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9138 case $cc_basename in
9139 # old Intel for x86_64 which still supported -KPIC.
9141 lt_prog_compiler_wl
='-Wl,'
9142 lt_prog_compiler_pic
='-KPIC'
9143 lt_prog_compiler_static
='-static'
9145 # icc used to be incompatible with GCC.
9146 # ICC 10 doesn't accept -KPIC any more.
9148 lt_prog_compiler_wl
='-Wl,'
9149 lt_prog_compiler_pic
='-fPIC'
9150 lt_prog_compiler_static
='-static'
9152 # Lahey Fortran 8.1.
9154 lt_prog_compiler_wl
='-Wl,'
9155 lt_prog_compiler_pic
='--shared'
9156 lt_prog_compiler_static
='--static'
9159 # NAG Fortran compiler
9160 lt_prog_compiler_wl
='-Wl,-Wl,,'
9161 lt_prog_compiler_pic
='-PIC'
9162 lt_prog_compiler_static
='-Bstatic'
9164 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9165 # Portland Group compilers (*not* the Pentium gcc compiler,
9166 # which looks to be a dead project)
9167 lt_prog_compiler_wl
='-Wl,'
9168 lt_prog_compiler_pic
='-fpic'
9169 lt_prog_compiler_static
='-Bstatic'
9172 lt_prog_compiler_wl
='-Wl,'
9173 # All Alpha code is PIC.
9174 lt_prog_compiler_static
='-non_shared'
9176 xl
* | bgxl
* | bgf
* | mpixl
*)
9177 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9178 lt_prog_compiler_wl
='-Wl,'
9179 lt_prog_compiler_pic
='-qpic'
9180 lt_prog_compiler_static
='-qstaticlink'
9183 case `$CC -V 2>&1 | sed 5q` in
9184 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9185 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9186 lt_prog_compiler_pic
='-KPIC'
9187 lt_prog_compiler_static
='-Bstatic'
9188 lt_prog_compiler_wl
=''
9190 *Sun\ F
* | *Sun
*Fortran
*)
9191 lt_prog_compiler_pic
='-KPIC'
9192 lt_prog_compiler_static
='-Bstatic'
9193 lt_prog_compiler_wl
='-Qoption ld '
9197 lt_prog_compiler_pic
='-KPIC'
9198 lt_prog_compiler_static
='-Bstatic'
9199 lt_prog_compiler_wl
='-Wl,'
9201 *Intel
*\
[CF
]*Compiler
*)
9202 lt_prog_compiler_wl
='-Wl,'
9203 lt_prog_compiler_pic
='-fPIC'
9204 lt_prog_compiler_static
='-static'
9207 lt_prog_compiler_wl
='-Wl,'
9208 lt_prog_compiler_pic
='-fpic'
9209 lt_prog_compiler_static
='-Bstatic'
9217 lt_prog_compiler_pic
='-KPIC'
9218 lt_prog_compiler_static
='-Bstatic'
9222 # QNX uses GNU C++, but need to define -shared option too, otherwise
9224 lt_prog_compiler_pic
='-fPIC -shared'
9227 osf3
* | osf4
* | osf5
*)
9228 lt_prog_compiler_wl
='-Wl,'
9229 # All OSF/1 code is PIC.
9230 lt_prog_compiler_static
='-non_shared'
9234 lt_prog_compiler_static
='-non_shared'
9238 lt_prog_compiler_pic
='-KPIC'
9239 lt_prog_compiler_static
='-Bstatic'
9240 case $cc_basename in
9241 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9242 lt_prog_compiler_wl
='-Qoption ld ';;
9244 lt_prog_compiler_wl
='-Wl,';;
9249 lt_prog_compiler_wl
='-Qoption ld '
9250 lt_prog_compiler_pic
='-PIC'
9251 lt_prog_compiler_static
='-Bstatic'
9254 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9255 lt_prog_compiler_wl
='-Wl,'
9256 lt_prog_compiler_pic
='-KPIC'
9257 lt_prog_compiler_static
='-Bstatic'
9261 if test -d /usr
/nec
;then
9262 lt_prog_compiler_pic
='-Kconform_pic'
9263 lt_prog_compiler_static
='-Bstatic'
9267 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9268 lt_prog_compiler_wl
='-Wl,'
9269 lt_prog_compiler_pic
='-KPIC'
9270 lt_prog_compiler_static
='-Bstatic'
9274 lt_prog_compiler_wl
='-Wl,'
9275 lt_prog_compiler_can_build_shared
=no
9279 lt_prog_compiler_pic
='-pic'
9280 lt_prog_compiler_static
='-Bstatic'
9284 lt_prog_compiler_can_build_shared
=no
9290 # For platforms which do not support PIC, -DPIC is meaningless:
9292 lt_prog_compiler_pic
=
9295 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9300 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9301 if ${lt_cv_prog_compiler_pic+:} false
; then :
9302 $as_echo_n "(cached) " >&6
9304 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9307 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9308 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9311 # Check to make sure the PIC flag actually works.
9313 if test -n "$lt_prog_compiler_pic"; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9315 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9316 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9317 $as_echo_n "(cached) " >&6
9319 lt_cv_prog_compiler_pic_works
=no
9320 ac_outfile
=conftest.
$ac_objext
9321 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9322 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9323 # Insert the option either (1) after the last *FLAGS variable, or
9324 # (2) before a word containing "conftest.", or (3) at the end.
9325 # Note that $ac_compile itself does not contain backslashes and begins
9326 # with a dollar sign (not a hyphen), so the echo should work correctly.
9327 # The option is referenced via a variable to avoid confusing sed.
9328 lt_compile
=`echo "$ac_compile" | $SED \
9329 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9331 -e 's:$: $lt_compiler_flag:'`
9332 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9333 (eval "$lt_compile" 2>conftest.err
)
9335 cat conftest.err
>&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 if (exit $ac_status) && test -s "$ac_outfile"; then
9338 # The compiler can only warn and ignore the option if not recognized
9339 # So say no if there are warnings other than the usual output.
9340 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9341 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9342 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9343 lt_cv_prog_compiler_pic_works
=yes
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9350 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9352 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9353 case $lt_prog_compiler_pic in
9355 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9358 lt_prog_compiler_pic
=
9359 lt_prog_compiler_can_build_shared
=no
9375 # Check to make sure the static flag actually works.
9377 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9379 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9380 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9381 $as_echo_n "(cached) " >&6
9383 lt_cv_prog_compiler_static_works
=no
9384 save_LDFLAGS
="$LDFLAGS"
9385 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9386 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9387 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9388 # The linker can only warn and ignore the option if not recognized
9389 # So say no if there are warnings
9390 if test -s conftest.err
; then
9391 # Append any errors to the config.log.
9392 cat conftest.err
1>&5
9393 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9394 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9395 if diff conftest.exp conftest.er2
>/dev
/null
; then
9396 lt_cv_prog_compiler_static_works
=yes
9399 lt_cv_prog_compiler_static_works
=yes
9403 LDFLAGS
="$save_LDFLAGS"
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9407 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9409 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9412 lt_prog_compiler_static
=
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9422 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9423 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9424 $as_echo_n "(cached) " >&6
9426 lt_cv_prog_compiler_c_o
=no
9427 $RM -r conftest
2>/dev
/null
9431 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9433 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9434 # Insert the option either (1) after the last *FLAGS variable, or
9435 # (2) before a word containing "conftest.", or (3) at the end.
9436 # Note that $ac_compile itself does not contain backslashes and begins
9437 # with a dollar sign (not a hyphen), so the echo should work correctly.
9438 lt_compile
=`echo "$ac_compile" | $SED \
9439 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9440 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9441 -e 's:$: $lt_compiler_flag:'`
9442 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9443 (eval "$lt_compile" 2>out
/conftest.err
)
9445 cat out
/conftest.err
>&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9449 # The compiler can only warn and ignore the option if not recognized
9450 # So say no if there are warnings
9451 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9452 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9453 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9454 lt_cv_prog_compiler_c_o
=yes
9459 # SGI C++ compiler will create directory out/ii_files/ for
9460 # template instantiation
9461 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9462 $RM out
/* && rmdir out
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9469 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9477 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9478 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9479 $as_echo_n "(cached) " >&6
9481 lt_cv_prog_compiler_c_o
=no
9482 $RM -r conftest
2>/dev
/null
9486 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9488 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9489 # Insert the option either (1) after the last *FLAGS variable, or
9490 # (2) before a word containing "conftest.", or (3) at the end.
9491 # Note that $ac_compile itself does not contain backslashes and begins
9492 # with a dollar sign (not a hyphen), so the echo should work correctly.
9493 lt_compile
=`echo "$ac_compile" | $SED \
9494 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9496 -e 's:$: $lt_compiler_flag:'`
9497 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9498 (eval "$lt_compile" 2>out
/conftest.err
)
9500 cat out
/conftest.err
>&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9504 # The compiler can only warn and ignore the option if not recognized
9505 # So say no if there are warnings
9506 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9507 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9508 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9509 lt_cv_prog_compiler_c_o
=yes
9514 # SGI C++ compiler will create directory out/ii_files/ for
9515 # template instantiation
9516 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9517 $RM out
/* && rmdir out
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9524 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9529 hard_links
="nottested"
9530 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9531 # do not overwrite the value of need_locks provided by the user
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9533 $as_echo_n "checking if we can lock with hard links... " >&6; }
9536 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9538 ln conftest.a conftest.b
2>&5 || hard_links
=no
9539 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9541 $as_echo "$hard_links" >&6; }
9542 if test "$hard_links" = no
; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9544 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9557 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9560 allow_undefined_flag
=
9561 always_export_symbols
=no
9563 archive_expsym_cmds
=
9564 compiler_needs_object
=no
9565 enable_shared_with_static_runtimes
=no
9566 export_dynamic_flag_spec
=
9567 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9568 hardcode_automatic
=no
9570 hardcode_direct_absolute
=no
9571 hardcode_libdir_flag_spec
=
9572 hardcode_libdir_separator
=
9574 hardcode_shlibpath_var
=unsupported
9576 link_all_deplibs
=unknown
9579 old_archive_from_new_cmds
=
9580 old_archive_from_expsyms_cmds
=
9581 thread_safe_flag_spec
=
9582 whole_archive_flag_spec
=
9583 # include_expsyms should be a list of space-separated symbols to be *always*
9584 # included in the symbol list
9586 # exclude_expsyms can be an extended regexp of symbols to exclude
9587 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9588 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9589 # as well as any symbol that contains `d'.
9590 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9591 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9592 # platforms (ab)use it in PIC code, but their linkers get confused if
9593 # the symbol is explicitly referenced. Since portable code cannot
9594 # rely on this symbol name, it's probably fine to never include it in
9595 # preloaded symbol tables.
9596 # Exclude shared library initialization/finalization symbols.
9597 extract_expsyms_cmds
=
9600 cygwin
* | mingw
* | pw32
* | cegcc
*)
9601 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9602 # When not using gcc, we currently assume that we are using
9603 # Microsoft Visual C++.
9604 if test "$GCC" != yes; then
9609 # we just hope/assume this is gcc and not c89 (= MSVC++)
9619 # On some targets, GNU ld is compatible enough with the native linker
9620 # that we're better off using the native interface for both.
9621 lt_use_gnu_ld_interface
=no
9622 if test "$with_gnu_ld" = yes; then
9625 # The AIX port of GNU ld has always aspired to compatibility
9626 # with the native linker. However, as the warning in the GNU ld
9627 # block says, versions before 2.19.5* couldn't really create working
9628 # shared libraries, regardless of the interface used.
9629 case `$LD -v 2>&1` in
9630 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9631 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9632 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9634 lt_use_gnu_ld_interface
=yes
9639 lt_use_gnu_ld_interface
=yes
9644 if test "$lt_use_gnu_ld_interface" = yes; then
9645 # If archive_cmds runs LD, not CC, wlarc should be empty
9648 # Set some defaults for GNU ld with shared library support. These
9649 # are reset later if shared libraries are not supported. Putting them
9650 # here allows them to be overridden if necessary.
9651 runpath_var
=LD_RUN_PATH
9652 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9653 export_dynamic_flag_spec
='${wl}--export-dynamic'
9654 # ancient GNU ld didn't support --whole-archive et. al.
9655 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9656 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9658 whole_archive_flag_spec
=
9660 supports_anon_versioning
=no
9661 case `$LD -v 2>&1` in
9662 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9663 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9664 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9665 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9666 *\
2.11.
*) ;; # other 2.11 versions
9667 *) supports_anon_versioning
=yes ;;
9670 # See if GNU ld supports shared libraries.
9673 # On AIX/PPC, the GNU linker is very broken
9674 if test "$host_cpu" != ia64
; then
9678 *** Warning: the GNU linker, at least up to release 2.19, is reported
9679 *** to be unable to reliably create shared libraries on AIX.
9680 *** Therefore, libtool is disabling shared libraries support. If you
9681 *** really care for shared libraries, you may want to install binutils
9682 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9683 *** You will then need to restart the configuration process.
9692 # see comment about AmigaOS4 .so support
9693 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9694 archive_expsym_cmds
=''
9697 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)'
9698 hardcode_libdir_flag_spec
='-L$libdir'
9699 hardcode_minus_L
=yes
9705 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9706 allow_undefined_flag
=unsupported
9707 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9708 # support --undefined. This deserves some investigation. FIXME
9709 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9715 cygwin
* | mingw
* | pw32
* | cegcc
*)
9716 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9717 # as there is no search path for DLLs.
9718 hardcode_libdir_flag_spec
='-L$libdir'
9719 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9720 allow_undefined_flag
=unsupported
9721 always_export_symbols
=no
9722 enable_shared_with_static_runtimes
=yes
9723 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9724 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9726 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9727 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9728 # If the export-symbols file already is a .def file (1st line
9729 # is EXPORTS), use it as is; otherwise, prepend...
9730 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9731 cp $export_symbols $output_objdir/$soname.def;
9733 echo EXPORTS > $output_objdir/$soname.def;
9734 cat $export_symbols >> $output_objdir/$soname.def;
9736 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9743 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9744 link_all_deplibs
=yes
9749 hardcode_shlibpath_var
=no
9750 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9751 export_dynamic_flag_spec
='${wl}-E'
9752 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9753 # Instead, shared libraries are loaded at an image base (0x10000000 by
9754 # default) and relocated if they conflict, which is a slow very memory
9755 # consuming and fragmenting process. To avoid this, we pick a random,
9756 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9757 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9758 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9759 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'
9762 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9764 if test "$host_os" = linux
-dietlibc; then
9765 case $cc_basename in
9766 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9769 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9770 && test "$tmp_diet" = no
9772 tmp_addflag
=' $pic_flag'
9773 tmp_sharedflag
='-shared'
9774 case $cc_basename,$host_cpu in
9775 pgcc
*) # Portland Group C compiler
9776 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9777 tmp_addflag
=' $pic_flag'
9779 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9780 # Portland Group f77 and f90 compilers
9781 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9782 tmp_addflag
=' $pic_flag -Mnomain' ;;
9783 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9784 tmp_addflag
=' -i_dynamic' ;;
9785 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9786 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9787 ifc
* | ifort
*) # Intel Fortran compiler
9788 tmp_addflag
=' -nofor_main' ;;
9789 lf95
*) # Lahey Fortran 8.1
9790 whole_archive_flag_spec
=
9791 tmp_sharedflag
='--shared' ;;
9792 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9793 tmp_sharedflag
='-qmkshrobj'
9795 nvcc
*) # Cuda Compiler Driver 2.2
9796 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9797 compiler_needs_object
=yes
9800 case `$CC -V 2>&1 | sed 5q` in
9801 *Sun\ C
*) # Sun C 5.9
9802 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9803 compiler_needs_object
=yes
9804 tmp_sharedflag
='-G' ;;
9805 *Sun\ F
*) # Sun Fortran 8.3
9806 tmp_sharedflag
='-G' ;;
9808 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9810 if test "x$supports_anon_versioning" = xyes
; then
9811 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9812 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9813 echo "local: *; };" >> $output_objdir/$libname.ver~
9814 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9817 case $cc_basename in
9818 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9819 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9820 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9821 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9822 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9823 if test "x$supports_anon_versioning" = xyes
; then
9824 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9825 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9826 echo "local: *; };" >> $output_objdir/$libname.ver~
9827 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9837 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9838 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9841 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9842 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9847 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9851 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9852 *** create shared libraries on Solaris systems. Therefore, libtool
9853 *** is disabling shared libraries support. We urge you to upgrade GNU
9854 *** binutils to release 2.9.1 or newer. Another option is to modify
9855 *** your PATH or compiler configuration so that the native linker is
9856 *** used, and then restart.
9859 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9860 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9861 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9867 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9868 case `$LD -v 2>&1` in
9869 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9873 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9874 *** reliably create shared libraries on SCO systems. Therefore, libtool
9875 *** is disabling shared libraries support. We urge you to upgrade GNU
9876 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9877 *** your PATH or compiler configuration so that the native linker is
9878 *** used, and then restart.
9883 # For security reasons, it is highly recommended that you always
9884 # use absolute paths for naming shared libraries, and exclude the
9885 # DT_RUNPATH tag from executables and libraries. But doing so
9886 # requires that you compile everything twice, which is a pain.
9887 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9888 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9889 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9890 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9899 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9902 hardcode_shlibpath_var
=no
9906 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9907 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9908 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9915 if test "$ld_shlibs" = no
; then
9917 hardcode_libdir_flag_spec
=
9918 export_dynamic_flag_spec
=
9919 whole_archive_flag_spec
=
9922 # PORTME fill in a description of your system's linker (not GNU ld)
9925 allow_undefined_flag
=unsupported
9926 always_export_symbols
=yes
9927 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'
9928 # Note: this linker hardcodes the directories in LIBPATH if there
9929 # are no directories specified by -L.
9930 hardcode_minus_L
=yes
9931 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9932 # Neither direct hardcoding nor static linking is supported with a
9934 hardcode_direct
=unsupported
9939 if test "$host_cpu" = ia64
; then
9940 # On IA64, the linker does run time linking by default, so we don't
9941 # have to do anything special.
9942 aix_use_runtimelinking
=no
9943 exp_sym_flag
='-Bexport'
9946 # If we're using GNU nm, then we don't want the "-C" option.
9947 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9948 # Also, AIX nm treats weak defined symbols like other global
9949 # defined symbols, whereas GNU nm marks them as "W".
9950 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9951 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9953 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'
9955 aix_use_runtimelinking
=no
9957 # Test if we are trying to use run time linking or normal
9958 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9959 # need to do runtime linking.
9960 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9961 for ld_flag
in $LDFLAGS; do
9962 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9963 aix_use_runtimelinking
=yes
9970 exp_sym_flag
='-bexport'
9971 no_entry_flag
='-bnoentry'
9974 # When large executables or shared objects are built, AIX ld can
9975 # have problems creating the table of contents. If linking a library
9976 # or program results in "error TOC overflow" add -mminimal-toc to
9977 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9978 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9982 hardcode_direct_absolute
=yes
9983 hardcode_libdir_separator
=':'
9984 link_all_deplibs
=yes
9985 file_list_spec
='${wl}-f,'
9987 if test "$GCC" = yes; then
9988 case $host_os in aix4.
[012]|aix4.
[012].
*)
9989 # We only want to do this on AIX 4.2 and lower, the check
9990 # below for broken collect2 doesn't work under 4.3+
9991 collect2name
=`${CC} -print-prog-name=collect2`
9992 if test -f "$collect2name" &&
9993 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9995 # We have reworked collect2
9998 # We have old collect2
9999 hardcode_direct
=unsupported
10000 # It fails to find uninstalled libraries when the uninstalled
10001 # path is not listed in the libpath. Setting hardcode_minus_L
10002 # to unsupported forces relinking
10003 hardcode_minus_L
=yes
10004 hardcode_libdir_flag_spec
='-L$libdir'
10005 hardcode_libdir_separator
=
10009 shared_flag
='-shared'
10010 if test "$aix_use_runtimelinking" = yes; then
10011 shared_flag
="$shared_flag "'${wl}-G'
10015 if test "$host_cpu" = ia64
; then
10016 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10017 # chokes on -Wl,-G. The following line is correct:
10020 if test "$aix_use_runtimelinking" = yes; then
10021 shared_flag
='${wl}-G'
10023 shared_flag
='${wl}-bM:SRE'
10028 export_dynamic_flag_spec
='${wl}-bexpall'
10029 # It seems that -bexpall does not export symbols beginning with
10030 # underscore (_), so it is better to generate a list of symbols to export.
10031 always_export_symbols
=yes
10032 if test "$aix_use_runtimelinking" = yes; then
10033 # Warning - without using the other runtime loading flags (-brtl),
10034 # -berok will link without error, but may produce a broken library.
10035 allow_undefined_flag
='-berok'
10036 # Determine the default libpath from the value encoded in an
10037 # empty executable.
10038 if test "${lt_cv_aix_libpath+set}" = set; then
10039 aix_libpath
=$lt_cv_aix_libpath
10041 if ${lt_cv_aix_libpath_+:} false
; then :
10042 $as_echo_n "(cached) " >&6
10044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10055 if ac_fn_c_try_link
"$LINENO"; then :
10057 lt_aix_libpath_sed
='
10058 /Import File Strings/,/^$/ {
10060 s/^0 *\([^ ]*\) *$/\1/
10064 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10065 # Check for a 64-bit object if we didn't find anything.
10066 if test -z "$lt_cv_aix_libpath_"; then
10067 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10070 rm -f core conftest.err conftest.
$ac_objext \
10071 conftest
$ac_exeext conftest.
$ac_ext
10072 if test -z "$lt_cv_aix_libpath_"; then
10073 lt_cv_aix_libpath_
="/usr/lib:/lib"
10078 aix_libpath
=$lt_cv_aix_libpath_
10081 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10082 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10084 if test "$host_cpu" = ia64
; then
10085 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10086 allow_undefined_flag
="-z nodefs"
10087 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"
10089 # Determine the default libpath from the value encoded in an
10090 # empty executable.
10091 if test "${lt_cv_aix_libpath+set}" = set; then
10092 aix_libpath
=$lt_cv_aix_libpath
10094 if ${lt_cv_aix_libpath_+:} false
; then :
10095 $as_echo_n "(cached) " >&6
10097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10098 /* end confdefs.h. */
10108 if ac_fn_c_try_link
"$LINENO"; then :
10110 lt_aix_libpath_sed
='
10111 /Import File Strings/,/^$/ {
10113 s/^0 *\([^ ]*\) *$/\1/
10117 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10118 # Check for a 64-bit object if we didn't find anything.
10119 if test -z "$lt_cv_aix_libpath_"; then
10120 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10123 rm -f core conftest.err conftest.
$ac_objext \
10124 conftest
$ac_exeext conftest.
$ac_ext
10125 if test -z "$lt_cv_aix_libpath_"; then
10126 lt_cv_aix_libpath_
="/usr/lib:/lib"
10131 aix_libpath
=$lt_cv_aix_libpath_
10134 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10135 # Warning - without using the other run time loading flags,
10136 # -berok will link without error, but may produce a broken library.
10137 no_undefined_flag
=' ${wl}-bernotok'
10138 allow_undefined_flag
=' ${wl}-berok'
10139 if test "$with_gnu_ld" = yes; then
10140 # We only use this code for GNU lds that support --whole-archive.
10141 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10143 # Exported symbols can be pulled into shared objects from archives
10144 whole_archive_flag_spec
='$convenience'
10146 archive_cmds_need_lc
=yes
10147 # This is similar to how AIX traditionally builds its shared libraries.
10148 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'
10156 # see comment about AmigaOS4 .so support
10157 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10158 archive_expsym_cmds
=''
10161 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)'
10162 hardcode_libdir_flag_spec
='-L$libdir'
10163 hardcode_minus_L
=yes
10169 export_dynamic_flag_spec
=-rdynamic
10172 cygwin
* | mingw
* | pw32
* | cegcc
*)
10173 # When not using gcc, we currently assume that we are using
10174 # Microsoft Visual C++.
10175 # hardcode_libdir_flag_spec is actually meaningless, as there is
10176 # no search path for DLLs.
10177 case $cc_basename in
10180 hardcode_libdir_flag_spec
=' '
10181 allow_undefined_flag
=unsupported
10182 always_export_symbols
=yes
10184 # Tell ltmain to make .lib files, not .a files.
10186 # Tell ltmain to make .dll files, not .so files.
10188 # FIXME: Setting linknames here is a bad hack.
10189 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10190 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10191 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10193 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10195 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10197 # The linker will not automatically build a static lib if we build a DLL.
10198 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10199 enable_shared_with_static_runtimes
=yes
10200 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10201 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10203 old_postinstall_cmds
='chmod 644 $oldlib'
10204 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10205 lt_tool_outputfile="@TOOL_OUTPUT@"~
10206 case $lt_outputfile in
10209 lt_outputfile="$lt_outputfile.exe"
10210 lt_tool_outputfile="$lt_tool_outputfile.exe"
10213 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10214 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10215 $RM "$lt_outputfile.manifest";
10219 # Assume MSVC wrapper
10220 hardcode_libdir_flag_spec
=' '
10221 allow_undefined_flag
=unsupported
10222 # Tell ltmain to make .lib files, not .a files.
10224 # Tell ltmain to make .dll files, not .so files.
10226 # FIXME: Setting linknames here is a bad hack.
10227 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10228 # The linker will automatically build a .lib file if we build a DLL.
10229 old_archive_from_new_cmds
='true'
10230 # FIXME: Should let the user specify the lib program.
10231 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10232 enable_shared_with_static_runtimes
=yes
10237 darwin
* | rhapsody
*)
10240 archive_cmds_need_lc
=no
10242 hardcode_automatic
=yes
10243 hardcode_shlibpath_var
=unsupported
10244 if test "$lt_cv_ld_force_load" = "yes"; then
10245 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10248 whole_archive_flag_spec
=''
10250 link_all_deplibs
=yes
10251 allow_undefined_flag
="$_lt_dar_allow_undefined"
10252 case $cc_basename in
10253 ifort
*) _lt_dar_can_shared
=yes ;;
10254 *) _lt_dar_can_shared
=$GCC ;;
10256 if test "$_lt_dar_can_shared" = "yes"; then
10257 output_verbose_link_cmd
=func_echo_all
10258 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10259 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10260 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}"
10261 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}"
10270 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10271 hardcode_libdir_flag_spec
='-L$libdir'
10272 hardcode_shlibpath_var
=no
10275 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10276 # support. Future versions do this automatically, but an explicit c++rt0.o
10277 # does not break anything, and helps significantly (at the cost of a little
10280 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10281 hardcode_libdir_flag_spec
='-R$libdir'
10282 hardcode_direct
=yes
10283 hardcode_shlibpath_var
=no
10286 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10288 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10289 hardcode_direct
=yes
10290 hardcode_minus_L
=yes
10291 hardcode_shlibpath_var
=no
10294 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10295 freebsd
* | dragonfly
*)
10296 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10297 hardcode_libdir_flag_spec
='-R$libdir'
10298 hardcode_direct
=yes
10299 hardcode_shlibpath_var
=no
10303 if test "$GCC" = yes; then
10304 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10306 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'
10308 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10309 hardcode_libdir_separator
=:
10310 hardcode_direct
=yes
10312 # hardcode_minus_L: Not really in the search PATH,
10313 # but as the default location of the library.
10314 hardcode_minus_L
=yes
10315 export_dynamic_flag_spec
='${wl}-E'
10319 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10320 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10322 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10324 if test "$with_gnu_ld" = no
; then
10325 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10326 hardcode_libdir_separator
=:
10327 hardcode_direct
=yes
10328 hardcode_direct_absolute
=yes
10329 export_dynamic_flag_spec
='${wl}-E'
10330 # hardcode_minus_L: Not really in the search PATH,
10331 # but as the default location of the library.
10332 hardcode_minus_L
=yes
10337 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10340 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10343 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10352 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10355 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10359 # Older versions of the 11.00 compiler do not understand -b yet
10360 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10362 $as_echo_n "checking if $CC understands -b... " >&6; }
10363 if ${lt_cv_prog_compiler__b+:} false
; then :
10364 $as_echo_n "(cached) " >&6
10366 lt_cv_prog_compiler__b
=no
10367 save_LDFLAGS
="$LDFLAGS"
10368 LDFLAGS
="$LDFLAGS -b"
10369 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10370 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10371 # The linker can only warn and ignore the option if not recognized
10372 # So say no if there are warnings
10373 if test -s conftest.err
; then
10374 # Append any errors to the config.log.
10375 cat conftest.err
1>&5
10376 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10377 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10378 if diff conftest.exp conftest.er2
>/dev
/null
; then
10379 lt_cv_prog_compiler__b
=yes
10382 lt_cv_prog_compiler__b
=yes
10386 LDFLAGS
="$save_LDFLAGS"
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10390 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10392 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10393 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10395 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10401 if test "$with_gnu_ld" = no
; then
10402 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10403 hardcode_libdir_separator
=:
10408 hardcode_shlibpath_var
=no
10411 hardcode_direct
=yes
10412 hardcode_direct_absolute
=yes
10413 export_dynamic_flag_spec
='${wl}-E'
10415 # hardcode_minus_L: Not really in the search PATH,
10416 # but as the default location of the library.
10417 hardcode_minus_L
=yes
10423 irix5
* | irix6
* | nonstopux
*)
10424 if test "$GCC" = yes; then
10425 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10426 # Try to use the -exported_symbol ld option, if it does not
10427 # work, assume that -exports_file does not work either and
10428 # implicitly export all symbols.
10429 # This should be the same for all languages, so no per-tag cache variable.
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10431 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10432 if ${lt_cv_irix_exported_symbol+:} false
; then :
10433 $as_echo_n "(cached) " >&6
10435 save_LDFLAGS
="$LDFLAGS"
10436 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 int foo (void) { return 0; }
10441 if ac_fn_c_try_link
"$LINENO"; then :
10442 lt_cv_irix_exported_symbol
=yes
10444 lt_cv_irix_exported_symbol
=no
10446 rm -f core conftest.err conftest.
$ac_objext \
10447 conftest
$ac_exeext conftest.
$ac_ext
10448 LDFLAGS
="$save_LDFLAGS"
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10451 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10452 if test "$lt_cv_irix_exported_symbol" = yes; then
10453 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10456 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10457 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10459 archive_cmds_need_lc
='no'
10460 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10461 hardcode_libdir_separator
=:
10463 link_all_deplibs
=yes
10467 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10468 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10470 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10472 hardcode_libdir_flag_spec
='-R$libdir'
10473 hardcode_direct
=yes
10474 hardcode_shlibpath_var
=no
10478 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10479 hardcode_direct
=yes
10480 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10481 hardcode_libdir_separator
=:
10482 hardcode_shlibpath_var
=no
10489 if test -f /usr
/libexec
/ld.so
; then
10490 hardcode_direct
=yes
10491 hardcode_shlibpath_var
=no
10492 hardcode_direct_absolute
=yes
10493 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10494 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10495 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10496 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10497 export_dynamic_flag_spec
='${wl}-E'
10500 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10501 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10502 hardcode_libdir_flag_spec
='-R$libdir'
10505 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10506 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10516 hardcode_libdir_flag_spec
='-L$libdir'
10517 hardcode_minus_L
=yes
10518 allow_undefined_flag
=unsupported
10519 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'
10520 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10524 if test "$GCC" = yes; then
10525 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10526 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10528 allow_undefined_flag
=' -expect_unresolved \*'
10529 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10531 archive_cmds_need_lc
='no'
10532 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10533 hardcode_libdir_separator
=:
10536 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10537 if test "$GCC" = yes; then
10538 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10539 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10540 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10542 allow_undefined_flag
=' -expect_unresolved \*'
10543 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10544 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~
10545 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10547 # Both c and cxx compiler support -rpath directly
10548 hardcode_libdir_flag_spec
='-rpath $libdir'
10550 archive_cmds_need_lc
='no'
10551 hardcode_libdir_separator
=:
10555 no_undefined_flag
=' -z defs'
10556 if test "$GCC" = yes; then
10558 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10559 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10560 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10562 case `$CC -V 2>&1` in
10565 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10566 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10567 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10571 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10572 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10573 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10577 hardcode_libdir_flag_spec
='-R$libdir'
10578 hardcode_shlibpath_var
=no
10580 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10582 # The compiler driver will combine and reorder linker options,
10583 # but understands `-z linker_flag'. GCC discards it without `$wl',
10584 # but is careful enough not to reorder.
10585 # Supported since Solaris 2.6 (maybe 2.5.1?)
10586 if test "$GCC" = yes; then
10587 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10589 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10593 link_all_deplibs
=yes
10597 if test "x$host_vendor" = xsequent
; then
10598 # Use $CC to link under sequent, because it throws in some extra .o
10599 # files that make .init and .fini sections work.
10600 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10602 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10604 hardcode_libdir_flag_spec
='-L$libdir'
10605 hardcode_direct
=yes
10606 hardcode_minus_L
=yes
10607 hardcode_shlibpath_var
=no
10611 case $host_vendor in
10613 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10614 hardcode_direct
=yes # is this really true???
10617 ## LD is ld it makes a PLAMLIB
10618 ## CC just makes a GrossModule.
10619 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10620 reload_cmds
='$CC -r -o $output$reload_objs'
10624 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10625 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10628 runpath_var
='LD_RUN_PATH'
10629 hardcode_shlibpath_var
=no
10633 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10634 hardcode_shlibpath_var
=no
10635 export_dynamic_flag_spec
='-Bexport'
10639 if test -d /usr
/nec
; then
10640 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10641 hardcode_shlibpath_var
=no
10642 runpath_var
=LD_RUN_PATH
10643 hardcode_runpath_var
=yes
10648 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10649 no_undefined_flag
='${wl}-z,text'
10650 archive_cmds_need_lc
=no
10651 hardcode_shlibpath_var
=no
10652 runpath_var
='LD_RUN_PATH'
10654 if test "$GCC" = yes; then
10655 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10656 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10658 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10659 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10663 sysv5
* | sco3.2v5
* | sco5v6
*)
10664 # Note: We can NOT use -z defs as we might desire, because we do not
10665 # link with -lc, and that would cause any symbols used from libc to
10666 # always be unresolved, which means just about no library would
10667 # ever link correctly. If we're not using GNU ld we use -z text
10668 # though, which does catch some bad symbols but isn't as heavy-handed
10670 no_undefined_flag
='${wl}-z,text'
10671 allow_undefined_flag
='${wl}-z,nodefs'
10672 archive_cmds_need_lc
=no
10673 hardcode_shlibpath_var
=no
10674 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10675 hardcode_libdir_separator
=':'
10676 link_all_deplibs
=yes
10677 export_dynamic_flag_spec
='${wl}-Bexport'
10678 runpath_var
='LD_RUN_PATH'
10680 if test "$GCC" = yes; then
10681 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10684 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10685 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10690 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10691 hardcode_libdir_flag_spec
='-L$libdir'
10692 hardcode_shlibpath_var
=no
10700 if test x
$host_vendor = xsni
; then
10702 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10703 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10710 $as_echo "$ld_shlibs" >&6; }
10711 test "$ld_shlibs" = no
&& can_build_shared
=no
10713 with_gnu_ld
=$with_gnu_ld
10730 # Do we need to explicitly link libc?
10732 case "x$archive_cmds_need_lc" in
10734 # Assume -lc should be added
10735 archive_cmds_need_lc
=yes
10737 if test "$enable_shared" = yes && test "$GCC" = yes; then
10738 case $archive_cmds in
10740 # FIXME: we may have to deal with multi-command sequences.
10743 # Test whether the compiler implicitly links with -lc since on some
10744 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10745 # to ld, don't add -lc before -lgcc.
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10747 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10748 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10749 $as_echo_n "(cached) " >&6
10752 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10755 (eval $ac_compile) 2>&5
10757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10758 test $ac_status = 0; } 2>conftest.err
; then
10761 libobjs
=conftest.
$ac_objext
10763 wl
=$lt_prog_compiler_wl
10764 pic_flag
=$lt_prog_compiler_pic
10770 lt_save_allow_undefined_flag
=$allow_undefined_flag
10771 allow_undefined_flag
=
10772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10773 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10776 test $ac_status = 0; }
10778 lt_cv_archive_cmds_need_lc
=no
10780 lt_cv_archive_cmds_need_lc
=yes
10782 allow_undefined_flag
=$lt_save_allow_undefined_flag
10784 cat conftest.err
1>&5
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10790 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10791 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10950 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10952 if test "$GCC" = yes; then
10954 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10955 *) lt_awk_arg
="/^libraries:/" ;;
10958 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10959 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10961 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10962 case $lt_search_path_spec in
10964 # if the path contains ";" then we assume it to be the separator
10965 # otherwise default to the standard path separator (i.e. ":") - it is
10966 # assumed that no part of a normal pathname contains ";" but that should
10967 # okay in the real world where ";" in dirpaths is itself problematic.
10968 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10971 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10974 # Ok, now we have the path, separated by spaces, we can step through it
10975 # and add multilib dir if necessary.
10976 lt_tmp_lt_search_path_spec
=
10977 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10978 for lt_sys_path
in $lt_search_path_spec; do
10979 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10980 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10982 test -d "$lt_sys_path" && \
10983 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10986 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10987 BEGIN {RS=" "; FS="/|\n";} {
10990 for (lt_i = NF; lt_i > 0; lt_i--) {
10991 if ($lt_i != "" && $lt_i != ".") {
10992 if ($lt_i == "..") {
10995 if (lt_count == 0) {
10996 lt_foo="/" $lt_i lt_foo;
11003 if (lt_foo != "") { lt_freq[lt_foo]++; }
11004 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11006 # AWK program above erroneously prepends '/' to C:/dos/paths
11009 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11010 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11012 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11014 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11016 library_names_spec
=
11017 libname_spec
='lib$name'
11021 postuninstall_cmds
=
11025 shlibpath_overrides_runpath
=unknown
11027 dynamic_linker
="$host_os ld.so"
11028 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11029 need_lib_prefix
=unknown
11030 hardcode_into_libs
=no
11032 # when you set need_version to no, make sure it does not cause -set_version
11033 # flags to be left without arguments
11034 need_version
=unknown
11038 version_type
=linux
# correct to gnu/linux during the next big refactor
11039 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11040 shlibpath_var
=LIBPATH
11042 # AIX 3 has no versioning support, so we append a major version to the name.
11043 soname_spec
='${libname}${release}${shared_ext}$major'
11047 version_type
=linux
# correct to gnu/linux during the next big refactor
11050 hardcode_into_libs
=yes
11051 if test "$host_cpu" = ia64
; then
11052 # AIX 5 supports IA64
11053 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11054 shlibpath_var
=LD_LIBRARY_PATH
11056 # With GCC up to 2.95.x, collect2 would create an import file
11057 # for dependence libraries. The import file would start with
11058 # the line `#! .'. This would cause the generated library to
11059 # depend on `.', always an invalid library. This was fixed in
11060 # development snapshots of GCC prior to 3.0.
11062 aix4
| aix4.
[01] | aix4.
[01].
*)
11063 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11065 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11068 can_build_shared
=no
11072 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11073 # soname into executable. Probably we can add versioning support to
11074 # collect2, so additional links can be useful in future.
11075 if test "$aix_use_runtimelinking" = yes; then
11076 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11077 # instead of lib<name>.a to let people know that these are not
11078 # typical AIX shared libraries.
11079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11081 # We preserve .a as extension for shared libraries through AIX4.2
11082 # and later when we are not doing run time linking.
11083 library_names_spec
='${libname}${release}.a $libname.a'
11084 soname_spec
='${libname}${release}${shared_ext}$major'
11086 shlibpath_var
=LIBPATH
11093 # Since July 2007 AmigaOS4 officially supports .so libraries.
11094 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11098 library_names_spec
='$libname.ixlibrary $libname.a'
11099 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11100 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11106 library_names_spec
='${libname}${shared_ext}'
11107 dynamic_linker
="$host_os ld.so"
11108 shlibpath_var
=LIBRARY_PATH
11112 version_type
=linux
# correct to gnu/linux during the next big refactor
11114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115 soname_spec
='${libname}${release}${shared_ext}$major'
11116 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11117 shlibpath_var
=LD_LIBRARY_PATH
11118 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11119 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11120 # the default ld.so.conf also contains /usr/contrib/lib and
11121 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11122 # libtool to hard-code these into programs
11125 cygwin
* | mingw
* | pw32
* | cegcc
*)
11126 version_type
=windows
11131 case $GCC,$cc_basename in
11134 library_names_spec
='$libname.dll.a'
11135 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11136 postinstall_cmds
='base_file=`basename \${file}`~
11137 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11138 dldir=$destdir/`dirname \$dlpath`~
11139 test -d \$dldir || mkdir -p \$dldir~
11140 $install_prog $dir/$dlname \$dldir/$dlname~
11141 chmod a+x \$dldir/$dlname~
11142 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11143 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11145 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11146 dlpath=$dir/\$dldll~
11148 shlibpath_overrides_runpath
=yes
11152 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11153 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11155 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11158 # MinGW DLLs use traditional 'lib' prefix
11159 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11162 # pw32 DLLs use 'pw' prefix rather than 'lib'
11163 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11166 dynamic_linker
='Win32 ld.exe'
11171 libname_spec
='$name'
11172 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11173 library_names_spec
='${libname}.dll.lib'
11177 sys_lib_search_path_spec
=
11180 for lt_path
in $LIB
11183 # Let DOS variable expansion print the short 8.3 style file name.
11184 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11185 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11188 # Convert to MSYS style.
11189 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11192 # Convert to unix form, then to dos form, then back to unix form
11193 # but this time dos style (no spaces!) so that the unix form looks
11194 # like /cygdrive/c/PROGRA~1:/cygdr...
11195 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11196 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11197 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11200 sys_lib_search_path_spec
="$LIB"
11201 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11202 # It is most probably a Windows format PATH.
11203 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11205 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11207 # FIXME: find the short name or the path components, as spaces are
11208 # common. (e.g. "Program Files" -> "PROGRA~1")
11212 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11213 postinstall_cmds
='base_file=`basename \${file}`~
11214 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11215 dldir=$destdir/`dirname \$dlpath`~
11216 test -d \$dldir || mkdir -p \$dldir~
11217 $install_prog $dir/$dlname \$dldir/$dlname'
11218 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11219 dlpath=$dir/\$dldll~
11221 shlibpath_overrides_runpath
=yes
11222 dynamic_linker
='Win32 link.exe'
11226 # Assume MSVC wrapper
11227 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11228 dynamic_linker
='Win32 ld.exe'
11231 # FIXME: first we should search . and the directory the executable is in
11235 darwin
* | rhapsody
*)
11236 dynamic_linker
="$host_os dyld"
11237 version_type
=darwin
11240 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11241 soname_spec
='${libname}${release}${major}$shared_ext'
11242 shlibpath_overrides_runpath
=yes
11243 shlibpath_var
=DYLD_LIBRARY_PATH
11244 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11246 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11247 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11251 version_type
=linux
# correct to gnu/linux during the next big refactor
11254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11255 soname_spec
='${libname}${release}${shared_ext}$major'
11256 shlibpath_var
=LD_LIBRARY_PATH
11259 freebsd
* | dragonfly
*)
11260 # DragonFly does not have aout. When/if they implement a new
11261 # versioning mechanism, adjust this.
11262 if test -x /usr
/bin
/objformat
; then
11263 objformat
=`/usr/bin/objformat`
11266 freebsd
[23].
*) objformat
=aout
;;
11267 *) objformat
=elf
;;
11270 version_type
=freebsd
-$objformat
11271 case $version_type in
11273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11278 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11282 shlibpath_var
=LD_LIBRARY_PATH
11285 shlibpath_overrides_runpath
=yes
11287 freebsd3.
[01]* | freebsdelf3.
[01]*)
11288 shlibpath_overrides_runpath
=yes
11289 hardcode_into_libs
=yes
11291 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11292 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11293 shlibpath_overrides_runpath
=no
11294 hardcode_into_libs
=yes
11296 *) # from 4.6 on, and DragonFly
11297 shlibpath_overrides_runpath
=yes
11298 hardcode_into_libs
=yes
11304 version_type
=linux
# correct to gnu/linux during the next big refactor
11307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11308 soname_spec
='${libname}${release}${shared_ext}$major'
11309 shlibpath_var
=LD_LIBRARY_PATH
11310 shlibpath_overrides_runpath
=no
11311 hardcode_into_libs
=yes
11315 version_type
=linux
# correct to gnu/linux during the next big refactor
11318 dynamic_linker
="$host_os runtime_loader"
11319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11320 soname_spec
='${libname}${release}${shared_ext}$major'
11321 shlibpath_var
=LIBRARY_PATH
11322 shlibpath_overrides_runpath
=yes
11323 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11324 hardcode_into_libs
=yes
11327 hpux9
* | hpux10
* | hpux11
*)
11328 # Give a soname corresponding to the major version so that dld.sl refuses to
11329 # link against other versions.
11336 hardcode_into_libs
=yes
11337 dynamic_linker
="$host_os dld.so"
11338 shlibpath_var
=LD_LIBRARY_PATH
11339 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11341 soname_spec
='${libname}${release}${shared_ext}$major'
11342 if test "X$HPUX_IA64_MODE" = X32
; then
11343 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11345 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11347 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11351 hardcode_into_libs
=yes
11352 dynamic_linker
="$host_os dld.sl"
11353 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11354 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11356 soname_spec
='${libname}${release}${shared_ext}$major'
11357 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11358 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11362 dynamic_linker
="$host_os dld.sl"
11363 shlibpath_var
=SHLIB_PATH
11364 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11366 soname_spec
='${libname}${release}${shared_ext}$major'
11369 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11370 postinstall_cmds
='chmod 555 $lib'
11371 # or fails outright, so override atomically:
11372 install_override_mode
=555
11376 version_type
=linux
# correct to gnu/linux during the next big refactor
11379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11380 soname_spec
='${libname}${release}${shared_ext}$major'
11381 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11382 shlibpath_var
=LD_LIBRARY_PATH
11383 shlibpath_overrides_runpath
=no
11384 hardcode_into_libs
=yes
11387 irix5
* | irix6
* | nonstopux
*)
11389 nonstopux
*) version_type
=nonstopux
;;
11391 if test "$lt_cv_prog_gnu_ld" = yes; then
11392 version_type
=linux
# correct to gnu/linux during the next big refactor
11399 soname_spec
='${libname}${release}${shared_ext}$major'
11400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11402 irix5
* | nonstopux
*)
11403 libsuff
= shlibsuff
=
11406 case $LD in # libtool.m4 will add one of these switches to LD
11407 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11408 libsuff
= shlibsuff
= libmagic
=32-bit;;
11409 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11410 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11411 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11412 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11413 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11417 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11418 shlibpath_overrides_runpath
=no
11419 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11420 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11421 hardcode_into_libs
=yes
11424 # No shared lib support for Linux oldld, aout, or coff.
11425 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11429 # This must be glibc/ELF.
11430 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11431 version_type
=linux
# correct to gnu/linux during the next big refactor
11434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11435 soname_spec
='${libname}${release}${shared_ext}$major'
11436 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11437 shlibpath_var
=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath
=no
11440 # Some binutils ld are patched to set DT_RUNPATH
11441 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11442 $as_echo_n "(cached) " >&6
11444 lt_cv_shlibpath_overrides_runpath
=no
11445 save_LDFLAGS
=$LDFLAGS
11446 save_libdir
=$libdir
11447 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11448 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11460 if ac_fn_c_try_link
"$LINENO"; then :
11461 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11462 lt_cv_shlibpath_overrides_runpath
=yes
11465 rm -f core conftest.err conftest.
$ac_objext \
11466 conftest
$ac_exeext conftest.
$ac_ext
11467 LDFLAGS
=$save_LDFLAGS
11468 libdir
=$save_libdir
11472 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11474 # This implies no fast_install, which is unacceptable.
11475 # Some rework will be needed to allow for fast_install
11476 # before this can be enabled.
11477 hardcode_into_libs
=yes
11479 # Append ld.so.conf contents to the search path
11480 if test -f /etc
/ld.so.conf
; then
11481 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11482 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11485 # We used to test for /lib/ld.so.1 and disable shared libraries on
11486 # powerpc, because MkLinux only supported shared libraries with the
11487 # GNU dynamic linker. Since this was broken with cross compilers,
11488 # most powerpc-linux boxes support dynamic linking these days and
11489 # people can always --disable-shared, the test was removed, and we
11490 # assume the GNU/Linux dynamic linker is in use.
11491 dynamic_linker
='GNU/Linux ld.so'
11498 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11500 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11501 dynamic_linker
='NetBSD (a.out) ld.so'
11503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11504 soname_spec
='${libname}${release}${shared_ext}$major'
11505 dynamic_linker
='NetBSD ld.elf_so'
11507 shlibpath_var
=LD_LIBRARY_PATH
11508 shlibpath_overrides_runpath
=yes
11509 hardcode_into_libs
=yes
11513 version_type
=linux
# correct to gnu/linux during the next big refactor
11514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11515 shlibpath_var
=LD_LIBRARY_PATH
11516 shlibpath_overrides_runpath
=yes
11523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524 soname_spec
='${libname}${release}${shared_ext}$major'
11525 shlibpath_var
=LD_LIBRARY_PATH
11526 shlibpath_overrides_runpath
=no
11527 hardcode_into_libs
=yes
11528 dynamic_linker
='ldqnx.so'
11533 sys_lib_dlsearch_path_spec
="/usr/lib"
11535 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11537 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11538 *) need_version
=no
;;
11540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11541 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11542 shlibpath_var
=LD_LIBRARY_PATH
11543 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11545 openbsd2.
[89] | openbsd2.
[89].
*)
11546 shlibpath_overrides_runpath
=no
11549 shlibpath_overrides_runpath
=yes
11553 shlibpath_overrides_runpath
=yes
11558 libname_spec
='$name'
11561 library_names_spec
='$libname${shared_ext} $libname.a'
11562 dynamic_linker
='OS/2 ld.exe'
11563 shlibpath_var
=LIBPATH
11566 osf3
* | osf4
* | osf5
*)
11570 soname_spec
='${libname}${release}${shared_ext}$major'
11571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11572 shlibpath_var
=LD_LIBRARY_PATH
11573 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11574 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11582 version_type
=linux
# correct to gnu/linux during the next big refactor
11585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11586 soname_spec
='${libname}${release}${shared_ext}$major'
11587 shlibpath_var
=LD_LIBRARY_PATH
11588 shlibpath_overrides_runpath
=yes
11589 hardcode_into_libs
=yes
11590 # ldd complains unless libraries are executable
11591 postinstall_cmds
='chmod +x $lib'
11596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11597 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11598 shlibpath_var
=LD_LIBRARY_PATH
11599 shlibpath_overrides_runpath
=yes
11600 if test "$with_gnu_ld" = yes; then
11607 version_type
=linux
# correct to gnu/linux during the next big refactor
11608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11609 soname_spec
='${libname}${release}${shared_ext}$major'
11610 shlibpath_var
=LD_LIBRARY_PATH
11611 case $host_vendor in
11613 shlibpath_overrides_runpath
=no
11615 runpath_var
=LD_RUN_PATH
11623 shlibpath_overrides_runpath
=no
11624 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11630 if test -d /usr
/nec
;then
11631 version_type
=linux
# correct to gnu/linux during the next big refactor
11632 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11633 soname_spec
='$libname${shared_ext}.$major'
11634 shlibpath_var
=LD_LIBRARY_PATH
11638 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11639 version_type
=freebsd
-elf
11642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11643 soname_spec
='${libname}${release}${shared_ext}$major'
11644 shlibpath_var
=LD_LIBRARY_PATH
11645 shlibpath_overrides_runpath
=yes
11646 hardcode_into_libs
=yes
11647 if test "$with_gnu_ld" = yes; then
11648 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11650 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11653 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11657 sys_lib_dlsearch_path_spec
='/usr/lib'
11661 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11662 version_type
=linux
# correct to gnu/linux during the next big refactor
11665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11666 shlibpath_var
=LD_LIBRARY_PATH
11667 shlibpath_overrides_runpath
=no
11668 hardcode_into_libs
=yes
11672 version_type
=linux
# correct to gnu/linux during the next big refactor
11673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11674 soname_spec
='${libname}${release}${shared_ext}$major'
11675 shlibpath_var
=LD_LIBRARY_PATH
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11683 $as_echo "$dynamic_linker" >&6; }
11684 test "$dynamic_linker" = no
&& can_build_shared
=no
11686 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11687 if test "$GCC" = yes; then
11688 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11691 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11692 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11694 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11695 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11790 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11792 if test -n "$hardcode_libdir_flag_spec" ||
11793 test -n "$runpath_var" ||
11794 test "X$hardcode_automatic" = "Xyes" ; then
11796 # We can hardcode non-existent directories.
11797 if test "$hardcode_direct" != no
&&
11798 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11799 # have to relink, otherwise we might link with an installed library
11800 # when we should be linking with a yet-to-be-installed one
11801 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11802 test "$hardcode_minus_L" != no
; then
11803 # Linking always hardcodes the temporary library directory.
11804 hardcode_action
=relink
11806 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11807 hardcode_action
=immediate
11810 # We cannot hardcode anything, or else we can only hardcode existing
11812 hardcode_action
=unsupported
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11815 $as_echo "$hardcode_action" >&6; }
11817 if test "$hardcode_action" = relink
||
11818 test "$inherit_rpath" = yes; then
11819 # Fast installation is not supported
11820 enable_fast_install
=no
11821 elif test "$shlibpath_overrides_runpath" = yes ||
11822 test "$enable_shared" = no
; then
11823 # Fast installation is not necessary
11824 enable_fast_install
=needless
11832 if test "x$enable_dlopen" != xyes
; then
11833 enable_dlopen
=unknown
11834 enable_dlopen_self
=unknown
11835 enable_dlopen_self_static
=unknown
11842 lt_cv_dlopen
="load_add_on"
11844 lt_cv_dlopen_self
=yes
11847 mingw
* | pw32
* | cegcc
*)
11848 lt_cv_dlopen
="LoadLibrary"
11853 lt_cv_dlopen
="dlopen"
11858 # if libdl is installed we need to link against it
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11860 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11861 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11862 $as_echo_n "(cached) " >&6
11864 ac_check_lib_save_LIBS
=$LIBS
11866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11884 if ac_fn_c_try_link
"$LINENO"; then :
11885 ac_cv_lib_dl_dlopen
=yes
11887 ac_cv_lib_dl_dlopen
=no
11889 rm -f core conftest.err conftest.
$ac_objext \
11890 conftest
$ac_exeext conftest.
$ac_ext
11891 LIBS
=$ac_check_lib_save_LIBS
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11894 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11895 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11896 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11899 lt_cv_dlopen
="dyld"
11901 lt_cv_dlopen_self
=yes
11908 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11909 if test "x$ac_cv_func_shl_load" = xyes
; then :
11910 lt_cv_dlopen
="shl_load"
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11913 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11914 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11915 $as_echo_n "(cached) " >&6
11917 ac_check_lib_save_LIBS
=$LIBS
11919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11932 return shl_load ();
11937 if ac_fn_c_try_link
"$LINENO"; then :
11938 ac_cv_lib_dld_shl_load
=yes
11940 ac_cv_lib_dld_shl_load
=no
11942 rm -f core conftest.err conftest.
$ac_objext \
11943 conftest
$ac_exeext conftest.
$ac_ext
11944 LIBS
=$ac_check_lib_save_LIBS
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11947 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11948 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11949 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11951 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11952 if test "x$ac_cv_func_dlopen" = xyes
; then :
11953 lt_cv_dlopen
="dlopen"
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11956 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11957 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11958 $as_echo_n "(cached) " >&6
11960 ac_check_lib_save_LIBS
=$LIBS
11962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11980 if ac_fn_c_try_link
"$LINENO"; then :
11981 ac_cv_lib_dl_dlopen
=yes
11983 ac_cv_lib_dl_dlopen
=no
11985 rm -f core conftest.err conftest.
$ac_objext \
11986 conftest
$ac_exeext conftest.
$ac_ext
11987 LIBS
=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11990 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11991 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11992 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11995 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11996 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11997 $as_echo_n "(cached) " >&6
11999 ac_check_lib_save_LIBS
=$LIBS
12000 LIBS
="-lsvld $LIBS"
12001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12019 if ac_fn_c_try_link
"$LINENO"; then :
12020 ac_cv_lib_svld_dlopen
=yes
12022 ac_cv_lib_svld_dlopen
=no
12024 rm -f core conftest.err conftest.
$ac_objext \
12025 conftest
$ac_exeext conftest.
$ac_ext
12026 LIBS
=$ac_check_lib_save_LIBS
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12029 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12030 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12031 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12034 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12035 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12036 $as_echo_n "(cached) " >&6
12038 ac_check_lib_save_LIBS
=$LIBS
12040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12053 return dld_link ();
12058 if ac_fn_c_try_link
"$LINENO"; then :
12059 ac_cv_lib_dld_dld_link
=yes
12061 ac_cv_lib_dld_dld_link
=no
12063 rm -f core conftest.err conftest.
$ac_objext \
12064 conftest
$ac_exeext conftest.
$ac_ext
12065 LIBS
=$ac_check_lib_save_LIBS
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12068 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12069 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12070 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12091 if test "x$lt_cv_dlopen" != xno
; then
12097 case $lt_cv_dlopen in
12099 save_CPPFLAGS
="$CPPFLAGS"
12100 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12102 save_LDFLAGS
="$LDFLAGS"
12103 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12106 LIBS
="$lt_cv_dlopen_libs $LIBS"
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12109 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12110 if ${lt_cv_dlopen_self+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 if test "$cross_compiling" = yes; then :
12114 lt_cv_dlopen_self
=cross
12116 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12117 lt_status
=$lt_dlunknown
12118 cat > conftest.
$ac_ext <<_LT_EOF
12119 #line $LINENO "configure"
12120 #include "confdefs.h"
12129 # define LT_DLGLOBAL RTLD_GLOBAL
12132 # define LT_DLGLOBAL DL_GLOBAL
12134 # define LT_DLGLOBAL 0
12138 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12139 find out it does not work in some platform. */
12140 #ifndef LT_DLLAZY_OR_NOW
12142 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12145 # define LT_DLLAZY_OR_NOW DL_LAZY
12148 # define LT_DLLAZY_OR_NOW RTLD_NOW
12151 # define LT_DLLAZY_OR_NOW DL_NOW
12153 # define LT_DLLAZY_OR_NOW 0
12160 /* When -fvisbility=hidden is used, assume the code has been annotated
12161 correspondingly for the symbols needed. */
12162 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12163 int fnord () __attribute__((visibility("default")));
12166 int fnord () { return 42; }
12169 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12170 int status = $lt_dlunknown;
12174 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12177 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12178 else puts (dlerror ());
12180 /* dlclose (self); */
12188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12189 (eval $ac_link) 2>&5
12191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12192 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12193 (.
/conftest
; exit; ) >&5 2>/dev
/null
12195 case x
$lt_status in
12196 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12197 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12198 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12201 # compilation failed
12202 lt_cv_dlopen_self
=no
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12210 $as_echo "$lt_cv_dlopen_self" >&6; }
12212 if test "x$lt_cv_dlopen_self" = xyes
; then
12213 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12215 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12216 if ${lt_cv_dlopen_self_static+:} false
; then :
12217 $as_echo_n "(cached) " >&6
12219 if test "$cross_compiling" = yes; then :
12220 lt_cv_dlopen_self_static
=cross
12222 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12223 lt_status
=$lt_dlunknown
12224 cat > conftest.
$ac_ext <<_LT_EOF
12225 #line $LINENO "configure"
12226 #include "confdefs.h"
12235 # define LT_DLGLOBAL RTLD_GLOBAL
12238 # define LT_DLGLOBAL DL_GLOBAL
12240 # define LT_DLGLOBAL 0
12244 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12245 find out it does not work in some platform. */
12246 #ifndef LT_DLLAZY_OR_NOW
12248 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12251 # define LT_DLLAZY_OR_NOW DL_LAZY
12254 # define LT_DLLAZY_OR_NOW RTLD_NOW
12257 # define LT_DLLAZY_OR_NOW DL_NOW
12259 # define LT_DLLAZY_OR_NOW 0
12266 /* When -fvisbility=hidden is used, assume the code has been annotated
12267 correspondingly for the symbols needed. */
12268 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12269 int fnord () __attribute__((visibility("default")));
12272 int fnord () { return 42; }
12275 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12276 int status = $lt_dlunknown;
12280 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12283 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12284 else puts (dlerror ());
12286 /* dlclose (self); */
12294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12295 (eval $ac_link) 2>&5
12297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12298 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12299 (.
/conftest
; exit; ) >&5 2>/dev
/null
12301 case x
$lt_status in
12302 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12303 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12304 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12307 # compilation failed
12308 lt_cv_dlopen_self_static
=no
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12316 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12319 CPPFLAGS
="$save_CPPFLAGS"
12320 LDFLAGS
="$save_LDFLAGS"
12325 case $lt_cv_dlopen_self in
12326 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12327 *) enable_dlopen_self
=unknown
;;
12330 case $lt_cv_dlopen_self_static in
12331 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12332 *) enable_dlopen_self_static
=unknown
;;
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12355 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12356 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12357 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12358 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12360 $as_echo "yes" >&6; }
12362 # FIXME - insert some real tests, host_os isn't really good enough
12365 if test -n "$STRIP" ; then
12366 striplib
="$STRIP -x"
12367 old_striplib
="$STRIP -S"
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12369 $as_echo "yes" >&6; }
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12372 $as_echo "no" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12393 # Report which library types will actually be built
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12395 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12397 $as_echo "$can_build_shared" >&6; }
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12400 $as_echo_n "checking whether to build shared libraries... " >&6; }
12401 test "$can_build_shared" = "no" && enable_shared
=no
12403 # On AIX, shared libraries and static libraries use the same namespace, and
12404 # are all built from PIC.
12407 test "$enable_shared" = yes && enable_static
=no
12408 if test -n "$RANLIB"; then
12409 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12410 postinstall_cmds
='$RANLIB $lib'
12415 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12416 test "$enable_shared" = yes && enable_static
=no
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12421 $as_echo "$enable_shared" >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12424 $as_echo_n "checking whether to build static libraries... " >&6; }
12425 # Make sure either enable_shared or enable_static is yes.
12426 test "$enable_shared" = yes || enable_static
=yes
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12428 $as_echo "$enable_static" >&6; }
12435 ac_cpp
='$CPP $CPPFLAGS'
12436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12456 ac_config_commands
="$ac_config_commands libtool"
12461 # Only expand once:
12465 ac_cpp
='$CXXCPP $CPPFLAGS'
12466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12469 if test -z "$CXX"; then
12470 if test -n "$CCC"; then
12473 if test -n "$ac_tool_prefix"; then
12474 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
12476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12477 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12479 $as_echo_n "checking for $ac_word... " >&6; }
12480 if ${ac_cv_prog_CXX+:} false
; then :
12481 $as_echo_n "(cached) " >&6
12483 if test -n "$CXX"; then
12484 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12487 for as_dir
in $PATH
12490 test -z "$as_dir" && as_dir
=.
12491 for ac_exec_ext
in '' $ac_executable_extensions; do
12492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12493 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12503 CXX
=$ac_cv_prog_CXX
12504 if test -n "$CXX"; then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12506 $as_echo "$CXX" >&6; }
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12509 $as_echo "no" >&6; }
12513 test -n "$CXX" && break
12516 if test -z "$CXX"; then
12518 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
12520 # Extract the first word of "$ac_prog", so it can be a program name with args.
12521 set dummy
$ac_prog; ac_word
=$2
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12523 $as_echo_n "checking for $ac_word... " >&6; }
12524 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
12525 $as_echo_n "(cached) " >&6
12527 if test -n "$ac_ct_CXX"; then
12528 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12531 for as_dir
in $PATH
12534 test -z "$as_dir" && as_dir
=.
12535 for ac_exec_ext
in '' $ac_executable_extensions; do
12536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12537 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12547 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12548 if test -n "$ac_ct_CXX"; then
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12550 $as_echo "$ac_ct_CXX" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12557 test -n "$ac_ct_CXX" && break
12560 if test "x$ac_ct_CXX" = x
; then
12563 case $cross_compiling:$ac_tool_warned in
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12567 ac_tool_warned
=yes ;;
12575 # Provide some information about the compiler.
12576 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12579 for ac_option
in --version -v -V -qversion; do
12580 { { ac_try
="$ac_compiler $ac_option >&5"
12581 case "(($ac_try" in
12582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
12583 *) ac_try_echo=$ac_try;;
12585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12586 $as_echo "$ac_try_echo"; } >&5
12587 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12589 if test -s conftest.err; then
12591 ... rest of stderr output deleted ...
12592 10q' conftest.err >conftest.er1
12593 cat conftest.er1 >&5
12595 rm -f conftest.er1 conftest.err
12596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12597 test $ac_status = 0; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12601 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12602 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12603 $as_echo_n "(cached) " >&6
12605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12606 /* end confdefs.h. */
12619 if ac_fn_cxx_try_compile "$LINENO"; then :
12620 ac_compiler_gnu=yes
12624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12625 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12629 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12630 if test $ac_compiler_gnu = yes; then
12635 ac_test_CXXFLAGS=${CXXFLAGS+set}
12636 ac_save_CXXFLAGS=$CXXFLAGS
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12638 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12639 if ${ac_cv_prog_cxx_g+:} false; then :
12640 $as_echo_n "(cached) " >&6
12642 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12643 ac_cxx_werror_flag=yes
12644 ac_cv_prog_cxx_g=no
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12657 if ac_fn_cxx_try_compile "$LINENO"; then :
12658 ac_cv_prog_cxx_g=yes
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12672 if ac_fn_cxx_try_compile "$LINENO"; then :
12675 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12688 if ac_fn_cxx_try_compile "$LINENO"; then :
12689 ac_cv_prog_cxx_g=yes
12691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12696 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12699 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12700 if test "$ac_test_CXXFLAGS" = set; then
12701 CXXFLAGS=$ac_save_CXXFLAGS
12702 elif test $ac_cv_prog_cxx_g = yes; then
12703 if test "$GXX" = yes; then
12709 if test "$GXX" = yes; then
12716 ac_cpp='$CPP $CPPFLAGS'
12717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12721 depcc="$CXX" am_compiler_list=
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12724 $as_echo_n "checking dependency style of $depcc... " >&6; }
12725 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12726 $as_echo_n "(cached) " >&6
12728 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12729 # We make a subdir and do the tests there. Otherwise we can end up
12730 # making bogus files that we don't know about and never remove. For
12731 # instance it was reported that on HP-UX the gcc test will end up
12732 # making a dummy file named 'D' -- because '-MD' means "put the output
12734 rm -rf conftest.dir
12736 # Copy depcomp to subdir because otherwise we won't find it if we're
12737 # using a relative directory.
12738 cp "$am_depcomp" conftest.dir
12740 # We will build objects and dependencies in a subdirectory because
12741 # it helps to detect inapplicable dependency modes. For instance
12742 # both Tru64's cc and ICC support -MD to output dependencies as a
12743 # side effect of compilation, but ICC will put the dependencies in
12744 # the current directory while Tru64 will put them in the object
12748 am_cv_CXX_dependencies_compiler_type=none
12749 if test "$am_compiler_list" = ""; then
12750 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12752 am__universal=false
12753 case " $depcc " in #(
12754 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12757 for depmode in $am_compiler_list; do
12758 # Setup a source with many dependencies, because some compilers
12759 # like to wrap large dependency lists on column 80 (with \), and
12760 # we should not choose a depcomp mode which is confused by this.
12762 # We need to recreate these files for each test, as the compiler may
12763 # overwrite some of them when testing with obscure command lines.
12764 # This happens at least with the AIX C compiler.
12766 for i in 1 2 3 4 5 6; do
12767 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12768 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12769 # Solaris 10 /bin/sh.
12770 echo '/* dummy */' > sub/conftst$i.h
12772 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12774 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12775 # mode. It turns out that the SunPro C++ compiler does not properly
12776 # handle '-M -o', and we need to detect this. Also, some Intel
12777 # versions had trouble with output in subdirs.
12778 am__obj=sub/conftest.${OBJEXT-o}
12779 am__minus_obj="-o $am__obj"
12782 # This depmode causes a compiler race in universal mode.
12783 test "$am__universal" = false || continue
12786 # After this tag, mechanisms are not by side-effect, so they'll
12787 # only be used when explicitly requested.
12788 if test "x$enable_dependency_tracking" = xyes; then
12794 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12795 # This compiler won't grok '-c -o', but also, the minuso test has
12796 # not run yet. These depmodes are late enough in the game, and
12797 # so weak that their functioning should not be impacted.
12798 am__obj=conftest.${OBJEXT-o}
12803 if depmode=$depmode \
12804 source=sub/conftest.c object=$am__obj \
12805 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12806 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12807 >/dev/null 2>conftest.err &&
12808 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12809 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12810 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12811 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12812 # icc doesn't choke on unknown options, it will just issue warnings
12813 # or remarks (even with -Werror). So we grep stderr for any message
12814 # that says an option was ignored or not supported.
12815 # When given -MP, icc 7.0 and 7.1 complain thusly:
12816 # icc: Command line warning: ignoring option '-M'; no argument required
12817 # The diagnosis changed in icc 8.0:
12818 # icc: Command line remark: option '-MP' not supported
12819 if (grep 'ignoring option' conftest.err ||
12820 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12821 am_cv_CXX_dependencies_compiler_type=$depmode
12828 rm -rf conftest.dir
12830 am_cv_CXX_dependencies_compiler_type=none
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12835 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12836 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12839 test "x$enable_dependency_tracking" != xno \
12840 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12841 am__fastdepCXX_TRUE=
12842 am__fastdepCXX_FALSE='#'
12844 am__fastdepCXX_TRUE='#'
12845 am__fastdepCXX_FALSE=
12852 func_stripname_cnf ()
12855 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12856 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12858 } # func_stripname_cnf
12860 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12861 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12862 (test "X$CXX" != "Xg++"))) ; then
12864 ac_cpp='$CXXCPP $CPPFLAGS'
12865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12869 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12870 if test -z "$CXXCPP"; then
12871 if ${ac_cv_prog_CXXCPP+:} false; then :
12872 $as_echo_n "(cached) " >&6
12874 # Double quotes because CXXCPP needs to be expanded
12875 for CXXCPP in "$CXX -E" "/lib/cpp"
12877 ac_preproc_ok=false
12878 for ac_cxx_preproc_warn_flag in '' yes
12880 # Use a header file that comes with gcc, so configuring glibc
12881 # with a fresh cross-compiler works.
12882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12883 # <limits.h> exists even on freestanding compilers.
12884 # On the NeXT, cc -E runs the code through the compiler's parser,
12885 # not just through cpp. "Syntax error" is here to catch this case.
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12889 # include <limits.h>
12891 # include <assert.h>
12895 if ac_fn_cxx_try_cpp "$LINENO"; then :
12898 # Broken: fails on valid input.
12901 rm -f conftest.err conftest.i conftest.$ac_ext
12903 # OK, works on sane cases. Now check whether nonexistent headers
12904 # can be detected and how.
12905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12907 #include <ac_nonexistent.h>
12909 if ac_fn_cxx_try_cpp "$LINENO"; then :
12910 # Broken: success on invalid input.
12913 # Passes both tests.
12917 rm -f conftest.err conftest.i conftest.$ac_ext
12920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12921 rm -f conftest.i conftest.err conftest.
$ac_ext
12922 if $ac_preproc_ok; then :
12927 ac_cv_prog_CXXCPP
=$CXXCPP
12930 CXXCPP
=$ac_cv_prog_CXXCPP
12932 ac_cv_prog_CXXCPP
=$CXXCPP
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12935 $as_echo "$CXXCPP" >&6; }
12936 ac_preproc_ok
=false
12937 for ac_cxx_preproc_warn_flag
in '' yes
12939 # Use a header file that comes with gcc, so configuring glibc
12940 # with a fresh cross-compiler works.
12941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12942 # <limits.h> exists even on freestanding compilers.
12943 # On the NeXT, cc -E runs the code through the compiler's parser,
12944 # not just through cpp. "Syntax error" is here to catch this case.
12945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12948 # include <limits.h>
12950 # include <assert.h>
12954 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12957 # Broken: fails on valid input.
12960 rm -f conftest.err conftest.i conftest.
$ac_ext
12962 # OK, works on sane cases. Now check whether nonexistent headers
12963 # can be detected and how.
12964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12966 #include <ac_nonexistent.h>
12968 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12969 # Broken: success on invalid input.
12972 # Passes both tests.
12976 rm -f conftest.err conftest.i conftest.
$ac_ext
12979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12980 rm -f conftest.i conftest.err conftest.
$ac_ext
12981 if $ac_preproc_ok; then :
12984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12986 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12987 See \`config.log' for more details" "$LINENO" 5; }
12991 ac_cpp
='$CPP $CPPFLAGS'
12992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12997 _lt_caught_CXX_error
=yes
13001 ac_cpp
='$CXXCPP $CPPFLAGS'
13002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13006 archive_cmds_need_lc_CXX
=no
13007 allow_undefined_flag_CXX
=
13008 always_export_symbols_CXX
=no
13009 archive_expsym_cmds_CXX
=
13010 compiler_needs_object_CXX
=no
13011 export_dynamic_flag_spec_CXX
=
13012 hardcode_direct_CXX
=no
13013 hardcode_direct_absolute_CXX
=no
13014 hardcode_libdir_flag_spec_CXX
=
13015 hardcode_libdir_separator_CXX
=
13016 hardcode_minus_L_CXX
=no
13017 hardcode_shlibpath_var_CXX
=unsupported
13018 hardcode_automatic_CXX
=no
13019 inherit_rpath_CXX
=no
13021 module_expsym_cmds_CXX
=
13022 link_all_deplibs_CXX
=unknown
13023 old_archive_cmds_CXX
=$old_archive_cmds
13024 reload_flag_CXX
=$reload_flag
13025 reload_cmds_CXX
=$reload_cmds
13026 no_undefined_flag_CXX
=
13027 whole_archive_flag_spec_CXX
=
13028 enable_shared_with_static_runtimes_CXX
=no
13030 # Source file extension for C++ test sources.
13033 # Object file extension for compiled C++ test sources.
13037 # No sense in running all these tests if we already determined that
13038 # the CXX compiler isn't working. Some variables (like enable_shared)
13039 # are currently assumed to apply to all compilers on this platform,
13040 # and will be corrupted by setting them based on a non-working compiler.
13041 if test "$_lt_caught_CXX_error" != yes; then
13042 # Code to be used in simple compile tests
13043 lt_simple_compile_test_code
="int some_variable = 0;"
13045 # Code to be used in simple link tests
13046 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13048 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13055 # If no C compiler was specified, use CC.
13058 # If no C compiler flags were specified, use CFLAGS.
13059 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13061 # Allow CC to be a program name with arguments.
13065 # save warnings/boilerplate of simple test code
13066 ac_outfile
=conftest.
$ac_objext
13067 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13068 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13069 _lt_compiler_boilerplate
=`cat conftest.err`
13072 ac_outfile
=conftest.
$ac_objext
13073 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13074 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13075 _lt_linker_boilerplate
=`cat conftest.err`
13079 # Allow CC to be a program name with arguments.
13081 lt_save_CFLAGS
=$CFLAGS
13085 lt_save_with_gnu_ld
=$with_gnu_ld
13086 lt_save_path_LD
=$lt_cv_path_LD
13087 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13088 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13090 $as_unset lt_cv_prog_gnu_ld
13092 if test -n "${lt_cv_path_LDCXX+set}"; then
13093 lt_cv_path_LD
=$lt_cv_path_LDCXX
13095 $as_unset lt_cv_path_LD
13097 test -z "${LDCXX+set}" || LD
=$LDCXX
13102 for cc_temp
in $compiler""; do
13104 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
13105 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
13110 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13113 if test -n "$compiler"; then
13114 # We don't want -fno-exception when compiling C++ code, so set the
13115 # no_builtin_flag separately
13116 if test "$GXX" = yes; then
13117 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13119 lt_prog_compiler_no_builtin_flag_CXX
=
13122 if test "$GXX" = yes; then
13123 # Set up default GNU C++ configuration
13127 # Check whether --with-gnu-ld was given.
13128 if test "${with_gnu_ld+set}" = set; then :
13129 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
13135 if test "$GCC" = yes; then
13136 # Check if gcc -print-prog-name=ld gives a path.
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13138 $as_echo_n "checking for ld used by $CC... " >&6; }
13141 # gcc leaves a trailing carriage return which upsets mingw
13142 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13144 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13147 # Accept absolute paths.
13149 re_direlt
='/[^/][^/]*/\.\./'
13150 # Canonicalize the pathname of ld
13151 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13152 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13153 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13155 test -z "$LD" && LD
="$ac_prog"
13158 # If it fails, then pretend we aren't using GCC.
13162 # If it is relative, then search for the first ld in PATH.
13163 with_gnu_ld
=unknown
13166 elif test "$with_gnu_ld" = yes; then
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13168 $as_echo_n "checking for GNU ld... " >&6; }
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13171 $as_echo_n "checking for non-GNU ld... " >&6; }
13173 if ${lt_cv_path_LD+:} false
; then :
13174 $as_echo_n "(cached) " >&6
13176 if test -z "$LD"; then
13177 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13178 for ac_dir
in $PATH; do
13180 test -z "$ac_dir" && ac_dir
=.
13181 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13182 lt_cv_path_LD
="$ac_dir/$ac_prog"
13183 # Check to see if the program is GNU ld. I'd rather use --version,
13184 # but apparently some variants of GNU ld only accept -v.
13185 # Break only if it was the GNU/non-GNU ld that we prefer.
13186 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13187 *GNU
* | *'with BFD'*)
13188 test "$with_gnu_ld" != no
&& break
13191 test "$with_gnu_ld" != yes && break
13198 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13202 LD
="$lt_cv_path_LD"
13203 if test -n "$LD"; then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13205 $as_echo "$LD" >&6; }
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13208 $as_echo "no" >&6; }
13210 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13212 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13213 if ${lt_cv_prog_gnu_ld+:} false
; then :
13214 $as_echo_n "(cached) " >&6
13216 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13217 case `$LD -v 2>&1 </dev/null` in
13218 *GNU
* | *'with BFD'*)
13219 lt_cv_prog_gnu_ld
=yes
13222 lt_cv_prog_gnu_ld
=no
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13227 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13228 with_gnu_ld
=$lt_cv_prog_gnu_ld
13236 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13237 # archiving commands below assume that GNU ld is being used.
13238 if test "$with_gnu_ld" = yes; then
13239 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13240 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13242 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13243 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13245 # If archive_cmds runs LD, not CC, wlarc should be empty
13246 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13247 # investigate it a little bit more. (MM)
13250 # ancient GNU ld didn't support --whole-archive et. al.
13251 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13252 $GREP 'no-whole-archive' > /dev
/null
; then
13253 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13255 whole_archive_flag_spec_CXX
=
13261 # A generic and very simple default shared library creation
13262 # command for GNU C++ for the case where it uses the native
13263 # linker, instead of GNU ld. If possible, this setting should
13264 # overridden to take advantage of the native linker features on
13265 # the platform it is being used on.
13266 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13269 # Commands to make compiler produce verbose output that lists
13270 # what "hidden" libraries, object files and flags are used when
13271 # linking a shared library.
13272 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13280 # PORTME: fill in a description of your system's C++ link characteristics
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13282 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13286 # FIXME: insert proper C++ library support
13290 if test "$host_cpu" = ia64
; then
13291 # On IA64, the linker does run time linking by default, so we don't
13292 # have to do anything special.
13293 aix_use_runtimelinking
=no
13294 exp_sym_flag
='-Bexport'
13297 aix_use_runtimelinking
=no
13299 # Test if we are trying to use run time linking or normal
13300 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13301 # need to do runtime linking.
13302 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13303 for ld_flag
in $LDFLAGS; do
13306 aix_use_runtimelinking
=yes
13314 exp_sym_flag
='-bexport'
13315 no_entry_flag
='-bnoentry'
13318 # When large executables or shared objects are built, AIX ld can
13319 # have problems creating the table of contents. If linking a library
13320 # or program results in "error TOC overflow" add -mminimal-toc to
13321 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13322 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13324 archive_cmds_CXX
=''
13325 hardcode_direct_CXX
=yes
13326 hardcode_direct_absolute_CXX
=yes
13327 hardcode_libdir_separator_CXX
=':'
13328 link_all_deplibs_CXX
=yes
13329 file_list_spec_CXX
='${wl}-f,'
13331 if test "$GXX" = yes; then
13332 case $host_os in aix4.
[012]|aix4.
[012].
*)
13333 # We only want to do this on AIX 4.2 and lower, the check
13334 # below for broken collect2 doesn't work under 4.3+
13335 collect2name
=`${CC} -print-prog-name=collect2`
13336 if test -f "$collect2name" &&
13337 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13339 # We have reworked collect2
13342 # We have old collect2
13343 hardcode_direct_CXX
=unsupported
13344 # It fails to find uninstalled libraries when the uninstalled
13345 # path is not listed in the libpath. Setting hardcode_minus_L
13346 # to unsupported forces relinking
13347 hardcode_minus_L_CXX
=yes
13348 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13349 hardcode_libdir_separator_CXX
=
13352 shared_flag
='-shared'
13353 if test "$aix_use_runtimelinking" = yes; then
13354 shared_flag
="$shared_flag "'${wl}-G'
13358 if test "$host_cpu" = ia64
; then
13359 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13360 # chokes on -Wl,-G. The following line is correct:
13363 if test "$aix_use_runtimelinking" = yes; then
13364 shared_flag
='${wl}-G'
13366 shared_flag
='${wl}-bM:SRE'
13371 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13372 # It seems that -bexpall does not export symbols beginning with
13373 # underscore (_), so it is better to generate a list of symbols to
13375 always_export_symbols_CXX
=yes
13376 if test "$aix_use_runtimelinking" = yes; then
13377 # Warning - without using the other runtime loading flags (-brtl),
13378 # -berok will link without error, but may produce a broken library.
13379 allow_undefined_flag_CXX
='-berok'
13380 # Determine the default libpath from the value encoded in an empty
13382 if test "${lt_cv_aix_libpath+set}" = set; then
13383 aix_libpath
=$lt_cv_aix_libpath
13385 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13386 $as_echo_n "(cached) " >&6
13388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13399 if ac_fn_cxx_try_link
"$LINENO"; then :
13401 lt_aix_libpath_sed
='
13402 /Import File Strings/,/^$/ {
13404 s/^0 *\([^ ]*\) *$/\1/
13408 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13409 # Check for a 64-bit object if we didn't find anything.
13410 if test -z "$lt_cv_aix_libpath__CXX"; then
13411 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13414 rm -f core conftest.err conftest.
$ac_objext \
13415 conftest
$ac_exeext conftest.
$ac_ext
13416 if test -z "$lt_cv_aix_libpath__CXX"; then
13417 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13422 aix_libpath
=$lt_cv_aix_libpath__CXX
13425 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13427 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13429 if test "$host_cpu" = ia64
; then
13430 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13431 allow_undefined_flag_CXX
="-z nodefs"
13432 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"
13434 # Determine the default libpath from the value encoded in an
13435 # empty executable.
13436 if test "${lt_cv_aix_libpath+set}" = set; then
13437 aix_libpath
=$lt_cv_aix_libpath
13439 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13440 $as_echo_n "(cached) " >&6
13442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13453 if ac_fn_cxx_try_link
"$LINENO"; then :
13455 lt_aix_libpath_sed
='
13456 /Import File Strings/,/^$/ {
13458 s/^0 *\([^ ]*\) *$/\1/
13462 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13463 # Check for a 64-bit object if we didn't find anything.
13464 if test -z "$lt_cv_aix_libpath__CXX"; then
13465 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13468 rm -f core conftest.err conftest.
$ac_objext \
13469 conftest
$ac_exeext conftest.
$ac_ext
13470 if test -z "$lt_cv_aix_libpath__CXX"; then
13471 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13476 aix_libpath
=$lt_cv_aix_libpath__CXX
13479 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13480 # Warning - without using the other run time loading flags,
13481 # -berok will link without error, but may produce a broken library.
13482 no_undefined_flag_CXX
=' ${wl}-bernotok'
13483 allow_undefined_flag_CXX
=' ${wl}-berok'
13484 if test "$with_gnu_ld" = yes; then
13485 # We only use this code for GNU lds that support --whole-archive.
13486 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13488 # Exported symbols can be pulled into shared objects from archives
13489 whole_archive_flag_spec_CXX
='$convenience'
13491 archive_cmds_need_lc_CXX
=yes
13492 # This is similar to how AIX traditionally builds its shared
13494 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'
13500 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13501 allow_undefined_flag_CXX
=unsupported
13502 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13503 # support --undefined. This deserves some investigation. FIXME
13504 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13511 case $cc_basename in
13513 # FIXME: insert proper C++ library support
13519 cygwin
* | mingw
* | pw32
* | cegcc
*)
13520 case $GXX,$cc_basename in
13523 # hardcode_libdir_flag_spec is actually meaningless, as there is
13524 # no search path for DLLs.
13525 hardcode_libdir_flag_spec_CXX
=' '
13526 allow_undefined_flag_CXX
=unsupported
13527 always_export_symbols_CXX
=yes
13528 file_list_spec_CXX
='@'
13529 # Tell ltmain to make .lib files, not .a files.
13531 # Tell ltmain to make .dll files, not .so files.
13533 # FIXME: Setting linknames here is a bad hack.
13534 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13535 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13536 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13538 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13540 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13542 # The linker will not automatically build a static lib if we build a DLL.
13543 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13544 enable_shared_with_static_runtimes_CXX
=yes
13546 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13547 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13548 lt_tool_outputfile="@TOOL_OUTPUT@"~
13549 case $lt_outputfile in
13552 lt_outputfile="$lt_outputfile.exe"
13553 lt_tool_outputfile="$lt_tool_outputfile.exe"
13556 func_to_tool_file "$lt_outputfile"~
13557 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13558 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13559 $RM "$lt_outputfile.manifest";
13564 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13565 # as there is no search path for DLLs.
13566 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13567 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13568 allow_undefined_flag_CXX
=unsupported
13569 always_export_symbols_CXX
=no
13570 enable_shared_with_static_runtimes_CXX
=yes
13572 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13573 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'
13574 # If the export-symbols file already is a .def file (1st line
13575 # is EXPORTS), use it as is; otherwise, prepend...
13576 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13577 cp $export_symbols $output_objdir/$soname.def;
13579 echo EXPORTS > $output_objdir/$soname.def;
13580 cat $export_symbols >> $output_objdir/$soname.def;
13582 $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'
13589 darwin
* | rhapsody
*)
13592 archive_cmds_need_lc_CXX
=no
13593 hardcode_direct_CXX
=no
13594 hardcode_automatic_CXX
=yes
13595 hardcode_shlibpath_var_CXX
=unsupported
13596 if test "$lt_cv_ld_force_load" = "yes"; then
13597 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13600 whole_archive_flag_spec_CXX
=''
13602 link_all_deplibs_CXX
=yes
13603 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13604 case $cc_basename in
13605 ifort
*) _lt_dar_can_shared
=yes ;;
13606 *) _lt_dar_can_shared
=$GCC ;;
13608 if test "$_lt_dar_can_shared" = "yes"; then
13609 output_verbose_link_cmd
=func_echo_all
13610 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}"
13611 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13612 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}"
13613 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}"
13614 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13615 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}"
13616 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}"
13626 case $cc_basename in
13628 # FIXME: insert proper C++ library support
13632 # Green Hills C++ Compiler
13633 # FIXME: insert proper C++ library support
13637 # FIXME: insert proper C++ library support
13644 # C++ shared libraries reported to be fairly broken before
13650 archive_cmds_need_lc_CXX
=no
13653 freebsd
* | dragonfly
*)
13654 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13663 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13664 link_all_deplibs_CXX
=yes
13668 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13669 hardcode_libdir_separator_CXX
=:
13670 export_dynamic_flag_spec_CXX
='${wl}-E'
13671 hardcode_direct_CXX
=yes
13672 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13673 # but as the default
13674 # location of the library.
13676 case $cc_basename in
13678 # FIXME: insert proper C++ library support
13682 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'
13683 # Commands to make compiler produce verbose output that lists
13684 # what "hidden" libraries, object files and flags are used when
13685 # linking a shared library.
13687 # There doesn't appear to be a way to prevent this compiler from
13688 # explicitly linking system object files so we need to strip them
13689 # from the output so that they don't get included in the library
13691 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13694 if test "$GXX" = yes; then
13695 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13697 # FIXME: insert proper C++ library support
13705 if test $with_gnu_ld = no
; then
13706 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13707 hardcode_libdir_separator_CXX
=:
13713 export_dynamic_flag_spec_CXX
='${wl}-E'
13719 hardcode_direct_CXX
=no
13720 hardcode_shlibpath_var_CXX
=no
13723 hardcode_direct_CXX
=yes
13724 hardcode_direct_absolute_CXX
=yes
13725 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13726 # but as the default
13727 # location of the library.
13731 case $cc_basename in
13733 # FIXME: insert proper C++ library support
13739 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13742 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13745 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13748 # Commands to make compiler produce verbose output that lists
13749 # what "hidden" libraries, object files and flags are used when
13750 # linking a shared library.
13752 # There doesn't appear to be a way to prevent this compiler from
13753 # explicitly linking system object files so we need to strip them
13754 # from the output so that they don't get included in the library
13756 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13759 if test "$GXX" = yes; then
13760 if test $with_gnu_ld = no
; then
13763 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13766 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13769 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13774 # FIXME: insert proper C++ library support
13782 hardcode_direct_CXX
=no
13783 hardcode_shlibpath_var_CXX
=no
13784 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13785 export_dynamic_flag_spec_CXX
='${wl}-E'
13786 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13787 # Instead, shared libraries are loaded at an image base (0x10000000 by
13788 # default) and relocated if they conflict, which is a slow very memory
13789 # consuming and fragmenting process. To avoid this, we pick a random,
13790 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13791 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13792 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'
13793 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'
13796 case $cc_basename in
13799 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13801 # Archives containing C++ object files must be created using
13802 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13803 # necessary to make sure instantiated templates are included
13805 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13808 if test "$GXX" = yes; then
13809 if test "$with_gnu_ld" = no
; then
13810 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13812 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13815 link_all_deplibs_CXX
=yes
13818 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13819 hardcode_libdir_separator_CXX
=:
13820 inherit_rpath_CXX
=yes
13823 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13824 case $cc_basename in
13826 # Kuck and Associates, Inc. (KAI) C++ Compiler
13828 # KCC will only create a shared library if the output file
13829 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13830 # to its proper name (with version) after linking.
13831 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'
13832 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'
13833 # Commands to make compiler produce verbose output that lists
13834 # what "hidden" libraries, object files and flags are used when
13835 # linking a shared library.
13837 # There doesn't appear to be a way to prevent this compiler from
13838 # explicitly linking system object files so we need to strip them
13839 # from the output so that they don't get included in the library
13841 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13843 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13844 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13846 # Archives containing C++ object files must be created using
13847 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13848 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13853 # version 8.0 and above of icpc choke on multiply defined symbols
13854 # if we add $predep_objects and $postdep_objects, however 7.1 and
13855 # earlier do not add the objects themselves.
13856 case `$CC -V 2>&1` in
13858 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13859 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'
13861 *) # Version 8.0 or newer
13864 ia64
*) tmp_idyn
=' -i_dynamic';;
13866 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13867 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'
13870 archive_cmds_need_lc_CXX
=no
13871 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13872 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13873 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13876 # Portland Group C++ compiler
13878 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13879 prelink_cmds_CXX
='tpldir=Template.dir~
13881 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13882 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13883 old_archive_cmds_CXX
='tpldir=Template.dir~
13885 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13886 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13888 archive_cmds_CXX
='tpldir=Template.dir~
13890 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13891 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13892 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13894 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13895 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13897 *) # Version 6 and above use weak symbols
13898 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13899 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'
13903 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13904 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13905 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13909 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13910 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'
13912 runpath_var
=LD_RUN_PATH
13913 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13914 hardcode_libdir_separator_CXX
=:
13916 # Commands to make compiler produce verbose output that lists
13917 # what "hidden" libraries, object files and flags are used when
13918 # linking a shared library.
13920 # There doesn't appear to be a way to prevent this compiler from
13921 # explicitly linking system object files so we need to strip them
13922 # from the output so that they don't get included in the library
13924 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13926 xl
* | mpixl
* | bgxl
*)
13927 # IBM XL 8.0 on PPC, with GNU ld
13928 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13929 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13930 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13931 if test "x$supports_anon_versioning" = xyes
; then
13932 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13933 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13934 echo "local: *; };" >> $output_objdir/$libname.ver~
13935 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13939 case `$CC -V 2>&1 | sed 5q` in
13942 no_undefined_flag_CXX
=' -zdefs'
13943 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13944 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'
13945 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13946 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13947 compiler_needs_object_CXX
=yes
13949 # Not sure whether something based on
13950 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13952 output_verbose_link_cmd
='func_echo_all'
13954 # Archives containing C++ object files must be created using
13955 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13956 # necessary to make sure instantiated templates are included
13958 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13966 # FIXME: insert proper C++ library support
13971 # FIXME: insert proper C++ library support
13976 case $cc_basename in
13978 # FIXME: insert proper C++ library support
13982 # FIXME: insert proper C++ library support
13989 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13990 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13992 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13993 hardcode_direct_CXX
=yes
13994 hardcode_shlibpath_var_CXX
=no
13996 # Workaround some broken pre-1.5 toolchains
13997 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14005 # C++ shared libraries are fairly broken
14010 if test -f /usr
/libexec
/ld.so
; then
14011 hardcode_direct_CXX
=yes
14012 hardcode_shlibpath_var_CXX
=no
14013 hardcode_direct_absolute_CXX
=yes
14014 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14015 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14016 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14017 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14018 export_dynamic_flag_spec_CXX
='${wl}-E'
14019 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14021 output_verbose_link_cmd
=func_echo_all
14027 osf3
* | osf4
* | osf5
*)
14028 case $cc_basename in
14030 # Kuck and Associates, Inc. (KAI) C++ Compiler
14032 # KCC will only create a shared library if the output file
14033 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14034 # to its proper name (with version) after linking.
14035 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'
14037 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14038 hardcode_libdir_separator_CXX
=:
14040 # Archives containing C++ object files must be created using
14041 # the KAI C++ compiler.
14043 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14044 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14048 # Rational C++ 2.4.1
14049 # FIXME: insert proper C++ library support
14055 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14056 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14057 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14060 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14061 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14062 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14063 echo "-hidden">> $lib.exp~
14064 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14066 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14070 hardcode_libdir_separator_CXX
=:
14072 # Commands to make compiler produce verbose output that lists
14073 # what "hidden" libraries, object files and flags are used when
14074 # linking a shared library.
14076 # There doesn't appear to be a way to prevent this compiler from
14077 # explicitly linking system object files so we need to strip them
14078 # from the output so that they don't get included in the library
14080 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14083 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14084 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14087 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14090 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14094 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14095 hardcode_libdir_separator_CXX
=:
14097 # Commands to make compiler produce verbose output that lists
14098 # what "hidden" libraries, object files and flags are used when
14099 # linking a shared library.
14100 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14103 # FIXME: insert proper C++ library support
14111 # FIXME: insert proper C++ library support
14116 case $cc_basename in
14119 # FIXME: insert proper C++ library support
14124 # FIXME: insert proper C++ library support
14128 # FIXME: insert proper C++ library support
14135 case $cc_basename in
14137 # Sun C++ 4.2, 5.x and Centerline C++
14138 archive_cmds_need_lc_CXX
=yes
14139 no_undefined_flag_CXX
=' -zdefs'
14140 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14141 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14142 $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'
14144 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14145 hardcode_shlibpath_var_CXX
=no
14147 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14149 # The compiler driver will combine and reorder linker options,
14150 # but understands `-z linker_flag'.
14151 # Supported since Solaris 2.6 (maybe 2.5.1?)
14152 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14155 link_all_deplibs_CXX
=yes
14157 output_verbose_link_cmd
='func_echo_all'
14159 # Archives containing C++ object files must be created using
14160 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14161 # necessary to make sure instantiated templates are included
14163 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14166 # Green Hills C++ Compiler
14167 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14169 # The C++ compiler must be used to create the archive.
14170 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14173 # GNU C++ compiler with Solaris linker
14174 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14175 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14176 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14177 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14178 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14179 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14181 # Commands to make compiler produce verbose output that lists
14182 # what "hidden" libraries, object files and flags are used when
14183 # linking a shared library.
14184 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14186 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14188 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14189 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14190 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14192 # Commands to make compiler produce verbose output that lists
14193 # what "hidden" libraries, object files and flags are used when
14194 # linking a shared library.
14195 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14198 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14200 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14202 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14210 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14211 no_undefined_flag_CXX
='${wl}-z,text'
14212 archive_cmds_need_lc_CXX
=no
14213 hardcode_shlibpath_var_CXX
=no
14214 runpath_var
='LD_RUN_PATH'
14216 case $cc_basename in
14218 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14219 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14222 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14223 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14228 sysv5
* | sco3.2v5
* | sco5v6
*)
14229 # Note: We can NOT use -z defs as we might desire, because we do not
14230 # link with -lc, and that would cause any symbols used from libc to
14231 # always be unresolved, which means just about no library would
14232 # ever link correctly. If we're not using GNU ld we use -z text
14233 # though, which does catch some bad symbols but isn't as heavy-handed
14235 no_undefined_flag_CXX
='${wl}-z,text'
14236 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14237 archive_cmds_need_lc_CXX
=no
14238 hardcode_shlibpath_var_CXX
=no
14239 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14240 hardcode_libdir_separator_CXX
=':'
14241 link_all_deplibs_CXX
=yes
14242 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14243 runpath_var
='LD_RUN_PATH'
14245 case $cc_basename in
14247 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14248 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14249 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14250 '"$old_archive_cmds_CXX"
14251 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14252 '"$reload_cmds_CXX"
14255 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14256 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14262 case $cc_basename in
14264 # NonStop-UX NCC 3.20
14265 # FIXME: insert proper C++ library support
14269 # FIXME: insert proper C++ library support
14276 # FIXME: insert proper C++ library support
14281 # FIXME: insert proper C++ library support
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14287 $as_echo "$ld_shlibs_CXX" >&6; }
14288 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14294 ## There is no encapsulation within the following macros, do not change
14295 ## the running order or otherwise move them around unless you know exactly
14296 ## what you are doing...
14297 # Dependencies to place before and after the object being linked:
14298 predep_objects_CXX
=
14299 postdep_objects_CXX
=
14302 compiler_lib_search_path_CXX
=
14304 cat > conftest.
$ac_ext <<_LT_EOF
14308 Foo (void) { a = 0; }
14315 _lt_libdeps_save_CFLAGS
=$CFLAGS
14316 case "$CC $CFLAGS " in #(
14317 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14318 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14319 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14323 (eval $ac_compile) 2>&5
14325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14326 test $ac_status = 0; }; then
14327 # Parse the compiler output and extract the necessary
14328 # objects, libraries and library flags.
14330 # Sentinel used to keep track of whether or not we are before
14331 # the conftest object file.
14332 pre_test_object_deps_done
=no
14334 for p
in `eval "$output_verbose_link_cmd"`; do
14335 case ${prev}${p} in
14338 # Some compilers place space between "-{L,R}" and the path.
14339 # Remove the space.
14340 if test $p = "-L" ||
14341 test $p = "-R"; then
14346 # Expand the sysroot to ease extracting the directories later.
14347 if test -z "$prev"; then
14349 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14350 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14351 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14355 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14357 if test "$pre_test_object_deps_done" = no
; then
14360 # Internal compiler library paths should come after those
14361 # provided the user. The postdeps already come after the
14362 # user supplied libs so there is no need to process them.
14363 if test -z "$compiler_lib_search_path_CXX"; then
14364 compiler_lib_search_path_CXX
="${prev}${p}"
14366 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14369 # The "-l" case would never come before the object being
14370 # linked, so don't bother handling this case.
14373 if test -z "$postdeps_CXX"; then
14374 postdeps_CXX
="${prev}${p}"
14376 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14382 *.lto.
$objext) ;; # Ignore GCC LTO objects
14384 # This assumes that the test object file only shows up
14385 # once in the compiler output.
14386 if test "$p" = "conftest.$objext"; then
14387 pre_test_object_deps_done
=yes
14391 if test "$pre_test_object_deps_done" = no
; then
14392 if test -z "$predep_objects_CXX"; then
14393 predep_objects_CXX
="$p"
14395 predep_objects_CXX
="$predep_objects_CXX $p"
14398 if test -z "$postdep_objects_CXX"; then
14399 postdep_objects_CXX
="$p"
14401 postdep_objects_CXX
="$postdep_objects_CXX $p"
14406 *) ;; # Ignore the rest.
14414 echo "libtool.m4: error: problem compiling CXX test program"
14417 $RM -f confest.
$objext
14418 CFLAGS
=$_lt_libdeps_save_CFLAGS
14420 # PORTME: override above test on systems where it is broken
14423 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14424 # hack all around it, let's just trust "g++" to DTRT.
14425 predep_objects_CXX
=
14426 postdep_objects_CXX
=
14431 case `$CC -V 2>&1 | sed 5q` in
14435 # The more standards-conforming stlport4 library is
14436 # incompatible with the Cstd library. Avoid specifying
14437 # it if it's in CXXFLAGS. Ignore libCrun as
14438 # -library=stlport4 depends on it.
14439 case " $CXX $CXXFLAGS " in
14440 *" -library=stlport4 "*)
14441 solaris_use_stlport4
=yes
14445 if test "$solaris_use_stlport4" != yes; then
14446 postdeps_CXX
='-library=Cstd -library=Crun'
14453 case $cc_basename in
14455 # The more standards-conforming stlport4 library is
14456 # incompatible with the Cstd library. Avoid specifying
14457 # it if it's in CXXFLAGS. Ignore libCrun as
14458 # -library=stlport4 depends on it.
14459 case " $CXX $CXXFLAGS " in
14460 *" -library=stlport4 "*)
14461 solaris_use_stlport4
=yes
14465 # Adding this requires a known-good setup of shared libraries for
14466 # Sun compiler versions before 5.6, else PIC objects from an old
14467 # archive will be linked into the output, leading to subtle bugs.
14468 if test "$solaris_use_stlport4" != yes; then
14469 postdeps_CXX
='-library=Cstd -library=Crun'
14477 case " $postdeps_CXX " in
14478 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14480 compiler_lib_search_dirs_CXX
=
14481 if test -n "${compiler_lib_search_path_CXX}"; then
14482 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14515 lt_prog_compiler_wl_CXX
=
14516 lt_prog_compiler_pic_CXX
=
14517 lt_prog_compiler_static_CXX
=
14520 # C++ specific cases for pic, static, wl, etc.
14521 if test "$GXX" = yes; then
14522 lt_prog_compiler_wl_CXX
='-Wl,'
14523 lt_prog_compiler_static_CXX
='-static'
14527 # All AIX code is PIC.
14528 if test "$host_cpu" = ia64
; then
14529 # AIX 5 now supports IA64 processor
14530 lt_prog_compiler_static_CXX
='-Bstatic'
14537 # see comment about AmigaOS4 .so support
14538 lt_prog_compiler_pic_CXX
='-fPIC'
14541 # FIXME: we need at least 68020 code to build shared libraries, but
14542 # adding the `-m68020' flag to GCC prevents building anything better,
14544 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14549 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14550 # PIC is the default for these OSes.
14552 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14553 # This hack is so that the source file can tell whether it is being
14554 # built for inclusion in a dll (and should export symbols for example).
14555 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14556 # (--disable-auto-import) libraries
14557 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14559 darwin
* | rhapsody
*)
14560 # PIC is the default on this platform
14561 # Common symbols not allowed in MH_DYLIB files
14562 lt_prog_compiler_pic_CXX
='-fno-common'
14565 # DJGPP does not support shared libraries at all
14566 lt_prog_compiler_pic_CXX
=
14569 # PIC is the default for Haiku.
14570 # The "-static" flag exists, but is broken.
14571 lt_prog_compiler_static_CXX
=
14574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14575 # Instead, we relocate shared libraries at runtime.
14578 if test -d /usr
/nec
; then
14579 lt_prog_compiler_pic_CXX
=-Kconform_pic
14583 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14584 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14585 # sets the default TLS model and affects inlining.
14590 lt_prog_compiler_pic_CXX
='-fPIC'
14595 # QNX uses GNU C++, but need to define -shared option too, otherwise
14596 # it will coredump.
14597 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14600 lt_prog_compiler_pic_CXX
='-fPIC'
14606 # All AIX code is PIC.
14607 if test "$host_cpu" = ia64
; then
14608 # AIX 5 now supports IA64 processor
14609 lt_prog_compiler_static_CXX
='-Bstatic'
14611 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14615 case $cc_basename in
14617 # Green Hills C++ Compiler
14618 # _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"
14622 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14623 # This hack is so that the source file can tell whether it is being
14624 # built for inclusion in a dll (and should export symbols for example).
14625 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14628 case $cc_basename in
14630 lt_prog_compiler_pic_CXX
='-KPIC'
14633 # Green Hills C++ Compiler
14634 lt_prog_compiler_pic_CXX
='-pic'
14640 freebsd
* | dragonfly
*)
14641 # FreeBSD uses GNU C++
14643 hpux9
* | hpux10
* | hpux11
*)
14644 case $cc_basename in
14646 lt_prog_compiler_wl_CXX
='-Wl,'
14647 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14648 if test "$host_cpu" != ia64
; then
14649 lt_prog_compiler_pic_CXX
='+Z'
14653 lt_prog_compiler_wl_CXX
='-Wl,'
14654 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14660 lt_prog_compiler_pic_CXX
='+Z'
14669 # This is c89, which is MS Visual C++ (no shared libs)
14670 # Anyone wants to do a port?
14672 irix5
* | irix6
* | nonstopux
*)
14673 case $cc_basename in
14675 lt_prog_compiler_wl_CXX
='-Wl,'
14676 lt_prog_compiler_static_CXX
='-non_shared'
14677 # CC pic flag -KPIC is the default.
14683 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14684 case $cc_basename in
14687 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14688 lt_prog_compiler_pic_CXX
='-fPIC'
14691 # old Intel C++ for x86_64 which still supported -KPIC.
14692 lt_prog_compiler_wl_CXX
='-Wl,'
14693 lt_prog_compiler_pic_CXX
='-KPIC'
14694 lt_prog_compiler_static_CXX
='-static'
14697 # Intel C++, used to be incompatible with GCC.
14698 # ICC 10 doesn't accept -KPIC any more.
14699 lt_prog_compiler_wl_CXX
='-Wl,'
14700 lt_prog_compiler_pic_CXX
='-fPIC'
14701 lt_prog_compiler_static_CXX
='-static'
14704 # Portland Group C++ compiler
14705 lt_prog_compiler_wl_CXX
='-Wl,'
14706 lt_prog_compiler_pic_CXX
='-fpic'
14707 lt_prog_compiler_static_CXX
='-Bstatic'
14711 # Make sure the PIC flag is empty. It appears that all Alpha
14712 # Linux and Compaq Tru64 Unix objects are PIC.
14713 lt_prog_compiler_pic_CXX
=
14714 lt_prog_compiler_static_CXX
='-non_shared'
14716 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14717 # IBM XL 8.0, 9.0 on PPC and BlueGene
14718 lt_prog_compiler_wl_CXX
='-Wl,'
14719 lt_prog_compiler_pic_CXX
='-qpic'
14720 lt_prog_compiler_static_CXX
='-qstaticlink'
14723 case `$CC -V 2>&1 | sed 5q` in
14726 lt_prog_compiler_pic_CXX
='-KPIC'
14727 lt_prog_compiler_static_CXX
='-Bstatic'
14728 lt_prog_compiler_wl_CXX
='-Qoption ld '
14739 case $cc_basename in
14741 lt_prog_compiler_pic_CXX
='-W c,exportall'
14750 # QNX uses GNU C++, but need to define -shared option too, otherwise
14751 # it will coredump.
14752 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14754 osf3
* | osf4
* | osf5
*)
14755 case $cc_basename in
14757 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14760 # Rational C++ 2.4.1
14761 lt_prog_compiler_pic_CXX
='-pic'
14764 # Digital/Compaq C++
14765 lt_prog_compiler_wl_CXX
='-Wl,'
14766 # Make sure the PIC flag is empty. It appears that all Alpha
14767 # Linux and Compaq Tru64 Unix objects are PIC.
14768 lt_prog_compiler_pic_CXX
=
14769 lt_prog_compiler_static_CXX
='-non_shared'
14778 case $cc_basename in
14780 # Sun C++ 4.2, 5.x and Centerline C++
14781 lt_prog_compiler_pic_CXX
='-KPIC'
14782 lt_prog_compiler_static_CXX
='-Bstatic'
14783 lt_prog_compiler_wl_CXX
='-Qoption ld '
14786 # Green Hills C++ Compiler
14787 lt_prog_compiler_pic_CXX
='-PIC'
14794 case $cc_basename in
14797 lt_prog_compiler_pic_CXX
='-pic'
14798 lt_prog_compiler_static_CXX
='-Bstatic'
14802 lt_prog_compiler_pic_CXX
='-pic'
14808 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14809 case $cc_basename in
14811 lt_prog_compiler_wl_CXX
='-Wl,'
14812 lt_prog_compiler_pic_CXX
='-KPIC'
14813 lt_prog_compiler_static_CXX
='-Bstatic'
14818 case $cc_basename in
14820 # NonStop-UX NCC 3.20
14821 lt_prog_compiler_pic_CXX
='-KPIC'
14830 lt_prog_compiler_can_build_shared_CXX
=no
14836 # For platforms which do not support PIC, -DPIC is meaningless:
14838 lt_prog_compiler_pic_CXX
=
14841 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14846 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14847 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14848 $as_echo_n "(cached) " >&6
14850 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14853 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14854 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14857 # Check to make sure the PIC flag actually works.
14859 if test -n "$lt_prog_compiler_pic_CXX"; then
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14861 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14862 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14863 $as_echo_n "(cached) " >&6
14865 lt_cv_prog_compiler_pic_works_CXX
=no
14866 ac_outfile
=conftest.
$ac_objext
14867 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14868 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14869 # Insert the option either (1) after the last *FLAGS variable, or
14870 # (2) before a word containing "conftest.", or (3) at the end.
14871 # Note that $ac_compile itself does not contain backslashes and begins
14872 # with a dollar sign (not a hyphen), so the echo should work correctly.
14873 # The option is referenced via a variable to avoid confusing sed.
14874 lt_compile
=`echo "$ac_compile" | $SED \
14875 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14877 -e 's:$: $lt_compiler_flag:'`
14878 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14879 (eval "$lt_compile" 2>conftest.err
)
14881 cat conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 if (exit $ac_status) && test -s "$ac_outfile"; then
14884 # The compiler can only warn and ignore the option if not recognized
14885 # So say no if there are warnings other than the usual output.
14886 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14887 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14888 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14889 lt_cv_prog_compiler_pic_works_CXX
=yes
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14896 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14898 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14899 case $lt_prog_compiler_pic_CXX in
14901 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14904 lt_prog_compiler_pic_CXX
=
14905 lt_prog_compiler_can_build_shared_CXX
=no
14915 # Check to make sure the static flag actually works.
14917 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14919 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14920 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14921 $as_echo_n "(cached) " >&6
14923 lt_cv_prog_compiler_static_works_CXX
=no
14924 save_LDFLAGS
="$LDFLAGS"
14925 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14926 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14927 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14928 # The linker can only warn and ignore the option if not recognized
14929 # So say no if there are warnings
14930 if test -s conftest.err
; then
14931 # Append any errors to the config.log.
14932 cat conftest.err
1>&5
14933 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14934 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14935 if diff conftest.exp conftest.er2
>/dev
/null
; then
14936 lt_cv_prog_compiler_static_works_CXX
=yes
14939 lt_cv_prog_compiler_static_works_CXX
=yes
14943 LDFLAGS
="$save_LDFLAGS"
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14947 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14949 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14952 lt_prog_compiler_static_CXX
=
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14960 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14961 $as_echo_n "(cached) " >&6
14963 lt_cv_prog_compiler_c_o_CXX
=no
14964 $RM -r conftest
2>/dev
/null
14968 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14970 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14971 # Insert the option either (1) after the last *FLAGS variable, or
14972 # (2) before a word containing "conftest.", or (3) at the end.
14973 # Note that $ac_compile itself does not contain backslashes and begins
14974 # with a dollar sign (not a hyphen), so the echo should work correctly.
14975 lt_compile
=`echo "$ac_compile" | $SED \
14976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14978 -e 's:$: $lt_compiler_flag:'`
14979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14980 (eval "$lt_compile" 2>out
/conftest.err
)
14982 cat out
/conftest.err
>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14986 # The compiler can only warn and ignore the option if not recognized
14987 # So say no if there are warnings
14988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14989 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14990 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14991 lt_cv_prog_compiler_c_o_CXX
=yes
14996 # SGI C++ compiler will create directory out/ii_files/ for
14997 # template instantiation
14998 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14999 $RM out
/* && rmdir out
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15006 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15011 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15012 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15013 $as_echo_n "(cached) " >&6
15015 lt_cv_prog_compiler_c_o_CXX
=no
15016 $RM -r conftest
2>/dev
/null
15020 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15022 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15023 # Insert the option either (1) after the last *FLAGS variable, or
15024 # (2) before a word containing "conftest.", or (3) at the end.
15025 # Note that $ac_compile itself does not contain backslashes and begins
15026 # with a dollar sign (not a hyphen), so the echo should work correctly.
15027 lt_compile
=`echo "$ac_compile" | $SED \
15028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15030 -e 's:$: $lt_compiler_flag:'`
15031 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15032 (eval "$lt_compile" 2>out
/conftest.err
)
15034 cat out
/conftest.err
>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15038 # The compiler can only warn and ignore the option if not recognized
15039 # So say no if there are warnings
15040 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15041 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15042 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15043 lt_cv_prog_compiler_c_o_CXX
=yes
15048 # SGI C++ compiler will create directory out/ii_files/ for
15049 # template instantiation
15050 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15051 $RM out
/* && rmdir out
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15058 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15063 hard_links
="nottested"
15064 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15065 # do not overwrite the value of need_locks provided by the user
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15067 $as_echo_n "checking if we can lock with hard links... " >&6; }
15070 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15072 ln conftest.a conftest.b
2>&5 || hard_links
=no
15073 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15075 $as_echo "$hard_links" >&6; }
15076 if test "$hard_links" = no
; then
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15078 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15088 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15090 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15091 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15094 # If we're using GNU nm, then we don't want the "-C" option.
15095 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15096 # Also, AIX nm treats weak defined symbols like other global defined
15097 # symbols, whereas GNU nm marks them as "W".
15098 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15099 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15101 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'
15105 export_symbols_cmds_CXX
="$ltdll_cmds"
15107 cygwin
* | mingw
* | cegcc
*)
15108 case $cc_basename in
15110 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15113 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15114 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15119 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15124 $as_echo "$ld_shlibs_CXX" >&6; }
15125 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15127 with_gnu_ld_CXX
=$with_gnu_ld
15135 # Do we need to explicitly link libc?
15137 case "x$archive_cmds_need_lc_CXX" in
15139 # Assume -lc should be added
15140 archive_cmds_need_lc_CXX
=yes
15142 if test "$enable_shared" = yes && test "$GCC" = yes; then
15143 case $archive_cmds_CXX in
15145 # FIXME: we may have to deal with multi-command sequences.
15148 # Test whether the compiler implicitly links with -lc since on some
15149 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15150 # to ld, don't add -lc before -lgcc.
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15152 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15153 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15154 $as_echo_n "(cached) " >&6
15157 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15160 (eval $ac_compile) 2>&5
15162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15163 test $ac_status = 0; } 2>conftest.err
; then
15166 libobjs
=conftest.
$ac_objext
15168 wl
=$lt_prog_compiler_wl_CXX
15169 pic_flag
=$lt_prog_compiler_pic_CXX
15175 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15176 allow_undefined_flag_CXX
=
15177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15178 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15181 test $ac_status = 0; }
15183 lt_cv_archive_cmds_need_lc_CXX
=no
15185 lt_cv_archive_cmds_need_lc_CXX
=yes
15187 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15189 cat conftest.err
1>&5
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15195 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15196 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15265 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15267 library_names_spec
=
15268 libname_spec
='lib$name'
15272 postuninstall_cmds
=
15276 shlibpath_overrides_runpath
=unknown
15278 dynamic_linker
="$host_os ld.so"
15279 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15280 need_lib_prefix
=unknown
15281 hardcode_into_libs
=no
15283 # when you set need_version to no, make sure it does not cause -set_version
15284 # flags to be left without arguments
15285 need_version
=unknown
15289 version_type
=linux
# correct to gnu/linux during the next big refactor
15290 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15291 shlibpath_var
=LIBPATH
15293 # AIX 3 has no versioning support, so we append a major version to the name.
15294 soname_spec
='${libname}${release}${shared_ext}$major'
15298 version_type
=linux
# correct to gnu/linux during the next big refactor
15301 hardcode_into_libs
=yes
15302 if test "$host_cpu" = ia64
; then
15303 # AIX 5 supports IA64
15304 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15305 shlibpath_var
=LD_LIBRARY_PATH
15307 # With GCC up to 2.95.x, collect2 would create an import file
15308 # for dependence libraries. The import file would start with
15309 # the line `#! .'. This would cause the generated library to
15310 # depend on `.', always an invalid library. This was fixed in
15311 # development snapshots of GCC prior to 3.0.
15313 aix4
| aix4.
[01] | aix4.
[01].
*)
15314 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15316 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15319 can_build_shared
=no
15323 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15324 # soname into executable. Probably we can add versioning support to
15325 # collect2, so additional links can be useful in future.
15326 if test "$aix_use_runtimelinking" = yes; then
15327 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15328 # instead of lib<name>.a to let people know that these are not
15329 # typical AIX shared libraries.
15330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15332 # We preserve .a as extension for shared libraries through AIX4.2
15333 # and later when we are not doing run time linking.
15334 library_names_spec
='${libname}${release}.a $libname.a'
15335 soname_spec
='${libname}${release}${shared_ext}$major'
15337 shlibpath_var
=LIBPATH
15344 # Since July 2007 AmigaOS4 officially supports .so libraries.
15345 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15349 library_names_spec
='$libname.ixlibrary $libname.a'
15350 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15351 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15357 library_names_spec
='${libname}${shared_ext}'
15358 dynamic_linker
="$host_os ld.so"
15359 shlibpath_var
=LIBRARY_PATH
15363 version_type
=linux
# correct to gnu/linux during the next big refactor
15365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15366 soname_spec
='${libname}${release}${shared_ext}$major'
15367 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15368 shlibpath_var
=LD_LIBRARY_PATH
15369 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15370 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15371 # the default ld.so.conf also contains /usr/contrib/lib and
15372 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15373 # libtool to hard-code these into programs
15376 cygwin
* | mingw
* | pw32
* | cegcc
*)
15377 version_type
=windows
15382 case $GCC,$cc_basename in
15385 library_names_spec
='$libname.dll.a'
15386 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15387 postinstall_cmds
='base_file=`basename \${file}`~
15388 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15389 dldir=$destdir/`dirname \$dlpath`~
15390 test -d \$dldir || mkdir -p \$dldir~
15391 $install_prog $dir/$dlname \$dldir/$dlname~
15392 chmod a+x \$dldir/$dlname~
15393 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15394 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15396 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15397 dlpath=$dir/\$dldll~
15399 shlibpath_overrides_runpath
=yes
15403 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15404 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15408 # MinGW DLLs use traditional 'lib' prefix
15409 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15412 # pw32 DLLs use 'pw' prefix rather than 'lib'
15413 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15416 dynamic_linker
='Win32 ld.exe'
15421 libname_spec
='$name'
15422 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15423 library_names_spec
='${libname}.dll.lib'
15427 sys_lib_search_path_spec
=
15430 for lt_path
in $LIB
15433 # Let DOS variable expansion print the short 8.3 style file name.
15434 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15435 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15438 # Convert to MSYS style.
15439 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15442 # Convert to unix form, then to dos form, then back to unix form
15443 # but this time dos style (no spaces!) so that the unix form looks
15444 # like /cygdrive/c/PROGRA~1:/cygdr...
15445 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15446 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15447 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15450 sys_lib_search_path_spec
="$LIB"
15451 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15452 # It is most probably a Windows format PATH.
15453 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15455 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15457 # FIXME: find the short name or the path components, as spaces are
15458 # common. (e.g. "Program Files" -> "PROGRA~1")
15462 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15463 postinstall_cmds
='base_file=`basename \${file}`~
15464 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15465 dldir=$destdir/`dirname \$dlpath`~
15466 test -d \$dldir || mkdir -p \$dldir~
15467 $install_prog $dir/$dlname \$dldir/$dlname'
15468 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15469 dlpath=$dir/\$dldll~
15471 shlibpath_overrides_runpath
=yes
15472 dynamic_linker
='Win32 link.exe'
15476 # Assume MSVC wrapper
15477 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15478 dynamic_linker
='Win32 ld.exe'
15481 # FIXME: first we should search . and the directory the executable is in
15485 darwin
* | rhapsody
*)
15486 dynamic_linker
="$host_os dyld"
15487 version_type
=darwin
15490 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15491 soname_spec
='${libname}${release}${major}$shared_ext'
15492 shlibpath_overrides_runpath
=yes
15493 shlibpath_var
=DYLD_LIBRARY_PATH
15494 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15496 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15500 version_type
=linux
# correct to gnu/linux during the next big refactor
15503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15504 soname_spec
='${libname}${release}${shared_ext}$major'
15505 shlibpath_var
=LD_LIBRARY_PATH
15508 freebsd
* | dragonfly
*)
15509 # DragonFly does not have aout. When/if they implement a new
15510 # versioning mechanism, adjust this.
15511 if test -x /usr
/bin
/objformat
; then
15512 objformat
=`/usr/bin/objformat`
15515 freebsd
[23].
*) objformat
=aout
;;
15516 *) objformat
=elf
;;
15519 version_type
=freebsd
-$objformat
15520 case $version_type in
15522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15527 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15531 shlibpath_var
=LD_LIBRARY_PATH
15534 shlibpath_overrides_runpath
=yes
15536 freebsd3.
[01]* | freebsdelf3.
[01]*)
15537 shlibpath_overrides_runpath
=yes
15538 hardcode_into_libs
=yes
15540 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15541 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15542 shlibpath_overrides_runpath
=no
15543 hardcode_into_libs
=yes
15545 *) # from 4.6 on, and DragonFly
15546 shlibpath_overrides_runpath
=yes
15547 hardcode_into_libs
=yes
15553 version_type
=linux
# correct to gnu/linux during the next big refactor
15556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15557 soname_spec
='${libname}${release}${shared_ext}$major'
15558 shlibpath_var
=LD_LIBRARY_PATH
15559 shlibpath_overrides_runpath
=no
15560 hardcode_into_libs
=yes
15564 version_type
=linux
# correct to gnu/linux during the next big refactor
15567 dynamic_linker
="$host_os runtime_loader"
15568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15569 soname_spec
='${libname}${release}${shared_ext}$major'
15570 shlibpath_var
=LIBRARY_PATH
15571 shlibpath_overrides_runpath
=yes
15572 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15573 hardcode_into_libs
=yes
15576 hpux9
* | hpux10
* | hpux11
*)
15577 # Give a soname corresponding to the major version so that dld.sl refuses to
15578 # link against other versions.
15585 hardcode_into_libs
=yes
15586 dynamic_linker
="$host_os dld.so"
15587 shlibpath_var
=LD_LIBRARY_PATH
15588 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15590 soname_spec
='${libname}${release}${shared_ext}$major'
15591 if test "X$HPUX_IA64_MODE" = X32
; then
15592 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15594 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15596 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15600 hardcode_into_libs
=yes
15601 dynamic_linker
="$host_os dld.sl"
15602 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15603 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15605 soname_spec
='${libname}${release}${shared_ext}$major'
15606 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15607 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15611 dynamic_linker
="$host_os dld.sl"
15612 shlibpath_var
=SHLIB_PATH
15613 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15615 soname_spec
='${libname}${release}${shared_ext}$major'
15618 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15619 postinstall_cmds
='chmod 555 $lib'
15620 # or fails outright, so override atomically:
15621 install_override_mode
=555
15625 version_type
=linux
# correct to gnu/linux during the next big refactor
15628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15629 soname_spec
='${libname}${release}${shared_ext}$major'
15630 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15631 shlibpath_var
=LD_LIBRARY_PATH
15632 shlibpath_overrides_runpath
=no
15633 hardcode_into_libs
=yes
15636 irix5
* | irix6
* | nonstopux
*)
15638 nonstopux
*) version_type
=nonstopux
;;
15640 if test "$lt_cv_prog_gnu_ld" = yes; then
15641 version_type
=linux
# correct to gnu/linux during the next big refactor
15648 soname_spec
='${libname}${release}${shared_ext}$major'
15649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15651 irix5
* | nonstopux
*)
15652 libsuff
= shlibsuff
=
15655 case $LD in # libtool.m4 will add one of these switches to LD
15656 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15657 libsuff
= shlibsuff
= libmagic
=32-bit;;
15658 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15659 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15660 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15661 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15662 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15666 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15667 shlibpath_overrides_runpath
=no
15668 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15669 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15670 hardcode_into_libs
=yes
15673 # No shared lib support for Linux oldld, aout, or coff.
15674 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15678 # This must be glibc/ELF.
15679 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15680 version_type
=linux
# correct to gnu/linux during the next big refactor
15683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15684 soname_spec
='${libname}${release}${shared_ext}$major'
15685 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15686 shlibpath_var
=LD_LIBRARY_PATH
15687 shlibpath_overrides_runpath
=no
15689 # Some binutils ld are patched to set DT_RUNPATH
15690 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15691 $as_echo_n "(cached) " >&6
15693 lt_cv_shlibpath_overrides_runpath
=no
15694 save_LDFLAGS
=$LDFLAGS
15695 save_libdir
=$libdir
15696 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15697 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15709 if ac_fn_cxx_try_link
"$LINENO"; then :
15710 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15711 lt_cv_shlibpath_overrides_runpath
=yes
15714 rm -f core conftest.err conftest.
$ac_objext \
15715 conftest
$ac_exeext conftest.
$ac_ext
15716 LDFLAGS
=$save_LDFLAGS
15717 libdir
=$save_libdir
15721 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15723 # This implies no fast_install, which is unacceptable.
15724 # Some rework will be needed to allow for fast_install
15725 # before this can be enabled.
15726 hardcode_into_libs
=yes
15728 # Append ld.so.conf contents to the search path
15729 if test -f /etc
/ld.so.conf
; then
15730 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15731 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15734 # We used to test for /lib/ld.so.1 and disable shared libraries on
15735 # powerpc, because MkLinux only supported shared libraries with the
15736 # GNU dynamic linker. Since this was broken with cross compilers,
15737 # most powerpc-linux boxes support dynamic linking these days and
15738 # people can always --disable-shared, the test was removed, and we
15739 # assume the GNU/Linux dynamic linker is in use.
15740 dynamic_linker
='GNU/Linux ld.so'
15747 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15749 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15750 dynamic_linker
='NetBSD (a.out) ld.so'
15752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15753 soname_spec
='${libname}${release}${shared_ext}$major'
15754 dynamic_linker
='NetBSD ld.elf_so'
15756 shlibpath_var
=LD_LIBRARY_PATH
15757 shlibpath_overrides_runpath
=yes
15758 hardcode_into_libs
=yes
15762 version_type
=linux
# correct to gnu/linux during the next big refactor
15763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 shlibpath_var
=LD_LIBRARY_PATH
15765 shlibpath_overrides_runpath
=yes
15772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15773 soname_spec
='${libname}${release}${shared_ext}$major'
15774 shlibpath_var
=LD_LIBRARY_PATH
15775 shlibpath_overrides_runpath
=no
15776 hardcode_into_libs
=yes
15777 dynamic_linker
='ldqnx.so'
15782 sys_lib_dlsearch_path_spec
="/usr/lib"
15784 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15786 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15787 *) need_version
=no
;;
15789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15790 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15791 shlibpath_var
=LD_LIBRARY_PATH
15792 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15794 openbsd2.
[89] | openbsd2.
[89].
*)
15795 shlibpath_overrides_runpath
=no
15798 shlibpath_overrides_runpath
=yes
15802 shlibpath_overrides_runpath
=yes
15807 libname_spec
='$name'
15810 library_names_spec
='$libname${shared_ext} $libname.a'
15811 dynamic_linker
='OS/2 ld.exe'
15812 shlibpath_var
=LIBPATH
15815 osf3
* | osf4
* | osf5
*)
15819 soname_spec
='${libname}${release}${shared_ext}$major'
15820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15821 shlibpath_var
=LD_LIBRARY_PATH
15822 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15823 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15831 version_type
=linux
# correct to gnu/linux during the next big refactor
15834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15835 soname_spec
='${libname}${release}${shared_ext}$major'
15836 shlibpath_var
=LD_LIBRARY_PATH
15837 shlibpath_overrides_runpath
=yes
15838 hardcode_into_libs
=yes
15839 # ldd complains unless libraries are executable
15840 postinstall_cmds
='chmod +x $lib'
15845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15846 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15847 shlibpath_var
=LD_LIBRARY_PATH
15848 shlibpath_overrides_runpath
=yes
15849 if test "$with_gnu_ld" = yes; then
15856 version_type
=linux
# correct to gnu/linux during the next big refactor
15857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15858 soname_spec
='${libname}${release}${shared_ext}$major'
15859 shlibpath_var
=LD_LIBRARY_PATH
15860 case $host_vendor in
15862 shlibpath_overrides_runpath
=no
15864 runpath_var
=LD_RUN_PATH
15872 shlibpath_overrides_runpath
=no
15873 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15879 if test -d /usr
/nec
;then
15880 version_type
=linux
# correct to gnu/linux during the next big refactor
15881 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15882 soname_spec
='$libname${shared_ext}.$major'
15883 shlibpath_var
=LD_LIBRARY_PATH
15887 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15888 version_type
=freebsd
-elf
15891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15892 soname_spec
='${libname}${release}${shared_ext}$major'
15893 shlibpath_var
=LD_LIBRARY_PATH
15894 shlibpath_overrides_runpath
=yes
15895 hardcode_into_libs
=yes
15896 if test "$with_gnu_ld" = yes; then
15897 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15899 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15902 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15906 sys_lib_dlsearch_path_spec
='/usr/lib'
15910 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15911 version_type
=linux
# correct to gnu/linux during the next big refactor
15914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 shlibpath_var
=LD_LIBRARY_PATH
15916 shlibpath_overrides_runpath
=no
15917 hardcode_into_libs
=yes
15921 version_type
=linux
# correct to gnu/linux during the next big refactor
15922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15923 soname_spec
='${libname}${release}${shared_ext}$major'
15924 shlibpath_var
=LD_LIBRARY_PATH
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15932 $as_echo "$dynamic_linker" >&6; }
15933 test "$dynamic_linker" = no
&& can_build_shared
=no
15935 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15936 if test "$GCC" = yes; then
15937 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15940 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15941 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15943 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15944 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15985 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15986 hardcode_action_CXX
=
15987 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15988 test -n "$runpath_var_CXX" ||
15989 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15991 # We can hardcode non-existent directories.
15992 if test "$hardcode_direct_CXX" != no
&&
15993 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15994 # have to relink, otherwise we might link with an installed library
15995 # when we should be linking with a yet-to-be-installed one
15996 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15997 test "$hardcode_minus_L_CXX" != no
; then
15998 # Linking always hardcodes the temporary library directory.
15999 hardcode_action_CXX
=relink
16001 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16002 hardcode_action_CXX
=immediate
16005 # We cannot hardcode anything, or else we can only hardcode existing
16007 hardcode_action_CXX
=unsupported
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16010 $as_echo "$hardcode_action_CXX" >&6; }
16012 if test "$hardcode_action_CXX" = relink
||
16013 test "$inherit_rpath_CXX" = yes; then
16014 # Fast installation is not supported
16015 enable_fast_install
=no
16016 elif test "$shlibpath_overrides_runpath" = yes ||
16017 test "$enable_shared" = no
; then
16018 # Fast installation is not necessary
16019 enable_fast_install
=needless
16028 fi # test -n "$compiler"
16031 CFLAGS
=$lt_save_CFLAGS
16035 with_gnu_ld
=$lt_save_with_gnu_ld
16036 lt_cv_path_LDCXX
=$lt_cv_path_LD
16037 lt_cv_path_LD
=$lt_save_path_LD
16038 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16039 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16040 fi # test "$_lt_caught_CXX_error" != yes
16043 ac_cpp
='$CPP $CPPFLAGS'
16044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16050 # Enable support for silent build rules
16051 # Check whether --enable-silent-rules was given.
16052 if test "${enable_silent_rules+set}" = set; then :
16053 enableval
=$enable_silent_rules;
16056 case $enable_silent_rules in # (((
16057 yes) AM_DEFAULT_VERBOSITY
=0;;
16058 no
) AM_DEFAULT_VERBOSITY
=1;;
16059 *) AM_DEFAULT_VERBOSITY
=1;;
16061 am_make
=${MAKE-make}
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
16063 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
16064 if ${am_cv_make_support_nested_variables+:} false
; then :
16065 $as_echo_n "(cached) " >&6
16067 if $as_echo 'TRUE=$(BAR$(V))
16073 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
16074 am_cv_make_support_nested_variables
=yes
16076 am_cv_make_support_nested_variables
=no
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
16080 $as_echo "$am_cv_make_support_nested_variables" >&6; }
16081 if test $am_cv_make_support_nested_variables = yes; then
16083 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
16085 AM_V
=$AM_DEFAULT_VERBOSITY
16086 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
16091 case "${host_os}" in
16092 cygwin* | mingw32* | beos* | darwin*)
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16096 $as_echo_n "checking for sin in -lm... " >&6; }
16097 if ${ac_cv_lib_m_sin+:} false; then :
16098 $as_echo_n "(cached) " >&6
16100 ac_check_lib_save_LIBS=$LIBS
16102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16103 /* end confdefs.h. */
16105 /* Override any GCC internal prototype to avoid an error.
16106 Use char because int might match the return type of a GCC
16107 builtin and then its argument prototype would still apply. */
16120 if ac_fn_c_try_link "$LINENO"; then :
16121 ac_cv_lib_m_sin=yes
16125 rm -f core conftest.err conftest.$ac_objext \
16126 conftest$ac_exeext conftest.$ac_ext
16127 LIBS=$ac_check_lib_save_LIBS
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16130 $as_echo "$ac_cv_lib_m_sin" >&6; }
16131 if test "x$ac_cv_lib_m_sin" = xyes; then :
16132 cat >>confdefs.h <<_ACEOF
16133 #define HAVE_LIBM 1
16146 for ac_header in assert.h fcntl.h io.h limits.h malloc.h search.h sys/time.h unistd.h
16148 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16149 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16150 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16161 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16162 if ${ac_cv_c_const+:} false; then :
16163 $as_echo_n "(cached) " >&6
16165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166 /* end confdefs.h. */
16172 #ifndef __cplusplus
16173 /* Ultrix mips cc rejects this sort of thing. */
16174 typedef int charset[2];
16175 const charset cs = { 0, 0 };
16176 /* SunOS 4.1.1 cc rejects this. */
16177 char const *const *pcpcc;
16179 /* NEC SVR4.0.2 mips cc rejects this. */
16180 struct point {int x, y;};
16181 static struct point const zero = {0,0};
16182 /* AIX XL C 1.02.0.0 rejects this.
16183 It does not let you subtract one const X* pointer from another in
16184 an arm of an if-expression whose if-part is not a constant
16186 const char *g = "string";
16187 pcpcc = &g + (g ? g-g : 0);
16188 /* HPUX 7.0 cc rejects these. */
16190 ppc = (char**) pcpcc;
16191 pcpcc = (char const *const *) ppc;
16192 { /* SCO 3.2v4 cc rejects this sort of thing. */
16195 char const *s = 0 ? (char *) 0 : (char const *) 0;
16200 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16201 int x[] = {25, 17};
16202 const int *foo = &x[0];
16205 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16206 typedef const int *iptr;
16210 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
16211 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16212 struct s { int j; const int *ap[3]; } bx;
16213 struct s *b = &bx; b->j = 5;
16215 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16216 const int foo = 10;
16217 if (!foo) return 0;
16219 return !cs[0] && !zero.x;
16226 if ac_fn_c_try_compile "$LINENO"; then :
16231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16234 $as_echo "$ac_cv_c_const" >&6; }
16235 if test $ac_cv_c_const = no; then
16237 $as_echo "#define const /**/" >>confdefs.h
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16242 $as_echo_n "checking for inline... " >&6; }
16243 if ${ac_cv_c_inline+:} false; then :
16244 $as_echo_n "(cached) " >&6
16247 for ac_kw in inline __inline__ __inline; do
16248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16249 /* end confdefs.h. */
16250 #ifndef __cplusplus
16252 static $ac_kw foo_t static_foo () {return 0; }
16253 $ac_kw foo_t foo () {return 0; }
16257 if ac_fn_c_try_compile "$LINENO"; then :
16258 ac_cv_c_inline=$ac_kw
16260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16261 test "$ac_cv_c_inline" != no && break
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16266 $as_echo "$ac_cv_c_inline" >&6; }
16268 case $ac_cv_c_inline in
16271 case $ac_cv_c_inline in
16273 *) ac_val=$ac_cv_c_inline;;
16275 cat >>confdefs.h <<_ACEOF
16276 #ifndef __cplusplus
16277 #define inline $ac_val
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16284 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16285 if ${ac_cv_c_bigendian+:} false; then :
16286 $as_echo_n "(cached) " >&6
16288 ac_cv_c_bigendian=unknown
16289 # See if we're dealing with a universal compiler.
16290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #ifndef __APPLE_CC__
16293 not a universal capable compiler
16298 if ac_fn_c_try_compile
"$LINENO"; then :
16300 # Check for potential -arch flags. It is not universal unless
16301 # there are at least two -arch flags with different values.
16304 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16305 if test -n "$ac_prev"; then
16307 i?
86 | x86_64
| ppc
| ppc64
)
16308 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16311 ac_cv_c_bigendian
=universal
16317 elif test "x$ac_word" = "x-arch"; then
16322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16323 if test $ac_cv_c_bigendian = unknown
; then
16324 # See if sys/param.h defines the BYTE_ORDER macro.
16325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16326 /* end confdefs.h. */
16327 #include <sys/types.h>
16328 #include <sys/param.h>
16333 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16334 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16336 bogus endian macros
16343 if ac_fn_c_try_compile
"$LINENO"; then :
16344 # It does; now see whether it defined to BIG_ENDIAN or not.
16345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <sys/types.h>
16348 #include <sys/param.h>
16353 #if BYTE_ORDER != BIG_ENDIAN
16361 if ac_fn_c_try_compile
"$LINENO"; then :
16362 ac_cv_c_bigendian
=yes
16364 ac_cv_c_bigendian
=no
16366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16370 if test $ac_cv_c_bigendian = unknown
; then
16371 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <limits.h>
16379 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16380 bogus endian macros
16387 if ac_fn_c_try_compile
"$LINENO"; then :
16388 # It does; now see whether it defined to _BIG_ENDIAN or not.
16389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16391 #include <limits.h>
16396 #ifndef _BIG_ENDIAN
16404 if ac_fn_c_try_compile
"$LINENO"; then :
16405 ac_cv_c_bigendian
=yes
16407 ac_cv_c_bigendian
=no
16409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16413 if test $ac_cv_c_bigendian = unknown
; then
16414 # Compile a test program.
16415 if test "$cross_compiling" = yes; then :
16416 # Try to guess by grepping values from an object file.
16417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16418 /* end confdefs.h. */
16419 short int ascii_mm[] =
16420 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16421 short int ascii_ii[] =
16422 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16423 int use_ascii (int i) {
16424 return ascii_mm[i] + ascii_ii[i];
16426 short int ebcdic_ii[] =
16427 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16428 short int ebcdic_mm[] =
16429 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16430 int use_ebcdic (int i) {
16431 return ebcdic_mm[i] + ebcdic_ii[i];
16438 return use_ascii (foo) == use_ebcdic (foo);
16443 if ac_fn_c_try_compile
"$LINENO"; then :
16444 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16445 ac_cv_c_bigendian
=yes
16447 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16448 if test "$ac_cv_c_bigendian" = unknown
; then
16449 ac_cv_c_bigendian
=no
16451 # finding both strings is unlikely to happen, but who knows?
16452 ac_cv_c_bigendian
=unknown
16456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16460 $ac_includes_default
16465 /* Are we little or big endian? From Harbison&Steele. */
16469 char c[sizeof (long int)];
16472 return u.c[sizeof (long int) - 1] == 1;
16478 if ac_fn_c_try_run
"$LINENO"; then :
16479 ac_cv_c_bigendian
=no
16481 ac_cv_c_bigendian
=yes
16483 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16484 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16490 $as_echo "$ac_cv_c_bigendian" >&6; }
16491 case $ac_cv_c_bigendian in #(
16493 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16499 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16503 as_fn_error $?
"unknown endianness
16504 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16507 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16508 if test "x$ac_cv_type_off_t" = xyes
; then :
16512 cat >>confdefs.h
<<_ACEOF
16513 #define off_t long int
16518 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16519 if test "x$ac_cv_type_size_t" = xyes
; then :
16523 cat >>confdefs.h
<<_ACEOF
16524 #define size_t unsigned int
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
16530 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
16531 if ${ac_cv_header_time+:} false
; then :
16532 $as_echo_n "(cached) " >&6
16534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16536 #include <sys/types.h>
16537 #include <sys/time.h>
16543 if ((struct tm *) 0)
16549 if ac_fn_c_try_compile
"$LINENO"; then :
16550 ac_cv_header_time
=yes
16552 ac_cv_header_time
=no
16554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
16557 $as_echo "$ac_cv_header_time" >&6; }
16558 if test $ac_cv_header_time = yes; then
16560 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
16565 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
16566 if ${ac_cv_struct_tm+:} false
; then :
16567 $as_echo_n "(cached) " >&6
16569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16571 #include <sys/types.h>
16578 int *p = &tm.tm_sec;
16584 if ac_fn_c_try_compile
"$LINENO"; then :
16585 ac_cv_struct_tm
=time.h
16587 ac_cv_struct_tm
=sys
/time.h
16589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
16592 $as_echo "$ac_cv_struct_tm" >&6; }
16593 if test $ac_cv_struct_tm = sys
/time.h
; then
16595 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
16601 # Obtain size of an 'signed short' and define as SIZEOF_SIGNED_SHORT
16602 # The cast to long int works around a bug in the HP C Compiler
16603 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16604 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16605 # This bug is HP SR number 8606223364.
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed short" >&5
16607 $as_echo_n "checking size of signed short... " >&6; }
16608 if ${ac_cv_sizeof_signed_short+:} false
; then :
16609 $as_echo_n "(cached) " >&6
16611 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (signed short))" "ac_cv_sizeof_signed_short" "$ac_includes_default"; then :
16614 if test "$ac_cv_type_signed_short" = yes; then
16615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16617 as_fn_error
77 "cannot compute sizeof (signed short)
16618 See \`config.log' for more details" "$LINENO" 5; }
16620 ac_cv_sizeof_signed_short
=0
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_short" >&5
16626 $as_echo "$ac_cv_sizeof_signed_short" >&6; }
16630 cat >>confdefs.h
<<_ACEOF
16631 #define SIZEOF_SIGNED_SHORT $ac_cv_sizeof_signed_short
16636 # Obtain size of an 'unsigned short' and define as SIZEOF_UNSIGNED_SHORT
16637 # The cast to long int works around a bug in the HP C Compiler
16638 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16639 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16640 # This bug is HP SR number 8606223364.
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
16642 $as_echo_n "checking size of unsigned short... " >&6; }
16643 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
16644 $as_echo_n "(cached) " >&6
16646 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
16649 if test "$ac_cv_type_unsigned_short" = yes; then
16650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16652 as_fn_error
77 "cannot compute sizeof (unsigned short)
16653 See \`config.log' for more details" "$LINENO" 5; }
16655 ac_cv_sizeof_unsigned_short
=0
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
16661 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
16665 cat >>confdefs.h
<<_ACEOF
16666 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
16671 # Obtain size of an 'signed int' and define as SIZEOF_SIGNED_INT
16672 # The cast to long int works around a bug in the HP C Compiler
16673 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16674 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16675 # This bug is HP SR number 8606223364.
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed int" >&5
16677 $as_echo_n "checking size of signed int... " >&6; }
16678 if ${ac_cv_sizeof_signed_int+:} false
; then :
16679 $as_echo_n "(cached) " >&6
16681 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (signed int))" "ac_cv_sizeof_signed_int" "$ac_includes_default"; then :
16684 if test "$ac_cv_type_signed_int" = yes; then
16685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16687 as_fn_error
77 "cannot compute sizeof (signed int)
16688 See \`config.log' for more details" "$LINENO" 5; }
16690 ac_cv_sizeof_signed_int
=0
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_int" >&5
16696 $as_echo "$ac_cv_sizeof_signed_int" >&6; }
16700 cat >>confdefs.h
<<_ACEOF
16701 #define SIZEOF_SIGNED_INT $ac_cv_sizeof_signed_int
16706 # Obtain size of an 'unsigned int' and define as SIZEOF_UNSIGNED_INT
16707 # The cast to long int works around a bug in the HP C Compiler
16708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16710 # This bug is HP SR number 8606223364.
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
16712 $as_echo_n "checking size of unsigned int... " >&6; }
16713 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
16714 $as_echo_n "(cached) " >&6
16716 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
16719 if test "$ac_cv_type_unsigned_int" = yes; then
16720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16722 as_fn_error
77 "cannot compute sizeof (unsigned int)
16723 See \`config.log' for more details" "$LINENO" 5; }
16725 ac_cv_sizeof_unsigned_int
=0
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
16731 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
16735 cat >>confdefs.h
<<_ACEOF
16736 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
16741 # Obtain size of a 'signed long' and define as SIZEOF_SIGNED_LONG
16742 # The cast to long int works around a bug in the HP C Compiler
16743 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16744 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16745 # This bug is HP SR number 8606223364.
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed long" >&5
16747 $as_echo_n "checking size of signed long... " >&6; }
16748 if ${ac_cv_sizeof_signed_long+:} false
; then :
16749 $as_echo_n "(cached) " >&6
16751 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (signed long))" "ac_cv_sizeof_signed_long" "$ac_includes_default"; then :
16754 if test "$ac_cv_type_signed_long" = yes; then
16755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16757 as_fn_error
77 "cannot compute sizeof (signed long)
16758 See \`config.log' for more details" "$LINENO" 5; }
16760 ac_cv_sizeof_signed_long
=0
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_long" >&5
16766 $as_echo "$ac_cv_sizeof_signed_long" >&6; }
16770 cat >>confdefs.h
<<_ACEOF
16771 #define SIZEOF_SIGNED_LONG $ac_cv_sizeof_signed_long
16776 # Obtain size of a 'unsigned long' and define as SIZEOF_UNSIGNED_LONG
16777 # The cast to long int works around a bug in the HP C Compiler
16778 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16779 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16780 # This bug is HP SR number 8606223364.
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
16782 $as_echo_n "checking size of unsigned long... " >&6; }
16783 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
16784 $as_echo_n "(cached) " >&6
16786 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
16789 if test "$ac_cv_type_unsigned_long" = yes; then
16790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16792 as_fn_error
77 "cannot compute sizeof (unsigned long)
16793 See \`config.log' for more details" "$LINENO" 5; }
16795 ac_cv_sizeof_unsigned_long
=0
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
16801 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
16805 cat >>confdefs.h
<<_ACEOF
16806 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
16811 # Obtain size of a 'long long' and define as SIZEOF_SIGNED_LONG_LONG.
16812 # If 'long long' is not supported then the value defined is zero.
16813 # The cast to long int works around a bug in the HP C Compiler
16814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16816 # This bug is HP SR number 8606223364.
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed long long" >&5
16818 $as_echo_n "checking size of signed long long... " >&6; }
16819 if ${ac_cv_sizeof_signed_long_long+:} false
; then :
16820 $as_echo_n "(cached) " >&6
16822 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (signed long long))" "ac_cv_sizeof_signed_long_long" "$ac_includes_default"; then :
16825 if test "$ac_cv_type_signed_long_long" = yes; then
16826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16828 as_fn_error
77 "cannot compute sizeof (signed long long)
16829 See \`config.log' for more details" "$LINENO" 5; }
16831 ac_cv_sizeof_signed_long_long
=0
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_long_long" >&5
16837 $as_echo "$ac_cv_sizeof_signed_long_long" >&6; }
16841 cat >>confdefs.h
<<_ACEOF
16842 #define SIZEOF_SIGNED_LONG_LONG $ac_cv_sizeof_signed_long_long
16847 # Obtain size of a 'unsigned long long' and define as
16848 # SIZEOF_UNSIGNED_LONG_LONG. If 'unsigned long long' is not
16849 # supported then the value defined is zero.
16850 # The cast to long int works around a bug in the HP C Compiler
16851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16853 # This bug is HP SR number 8606223364.
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
16855 $as_echo_n "checking size of unsigned long long... " >&6; }
16856 if ${ac_cv_sizeof_unsigned_long_long+:} false
; then :
16857 $as_echo_n "(cached) " >&6
16859 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then :
16862 if test "$ac_cv_type_unsigned_long_long" = yes; then
16863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16865 as_fn_error
77 "cannot compute sizeof (unsigned long long)
16866 See \`config.log' for more details" "$LINENO" 5; }
16868 ac_cv_sizeof_unsigned_long_long
=0
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5
16874 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
16878 cat >>confdefs.h
<<_ACEOF
16879 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
16884 # Obtain the size of an 'unsigned char *' and define as
16885 # SIZEOF_UNSIGNED_CHAR_P. Result is available in
16886 # ac_cv_sizeof_unsigned_char_p.
16887 # The cast to long int works around a bug in the HP C Compiler
16888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16890 # This bug is HP SR number 8606223364.
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char *" >&5
16892 $as_echo_n "checking size of unsigned char *... " >&6; }
16893 if ${ac_cv_sizeof_unsigned_char_p+:} false
; then :
16894 $as_echo_n "(cached) " >&6
16896 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned char *))" "ac_cv_sizeof_unsigned_char_p" "$ac_includes_default"; then :
16899 if test "$ac_cv_type_unsigned_char_p" = yes; then
16900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16902 as_fn_error
77 "cannot compute sizeof (unsigned char *)
16903 See \`config.log' for more details" "$LINENO" 5; }
16905 ac_cv_sizeof_unsigned_char_p
=0
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char_p" >&5
16911 $as_echo "$ac_cv_sizeof_unsigned_char_p" >&6; }
16915 cat >>confdefs.h
<<_ACEOF
16916 #define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed 8-bit type" >&5
16922 $as_echo_n "checking for signed 8-bit type... " >&6; }
16923 INT8_T
='signed char'
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INT8_T" >&5
16925 $as_echo "$INT8_T" >&6; }
16927 cat >>confdefs.h
<<_ACEOF
16928 #define TIFF_INT8_T $INT8_T
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned 8-bit type" >&5
16933 $as_echo_n "checking for unsigned 8-bit type... " >&6; }
16934 UINT8_T
='unsigned char'
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT8_T" >&5
16936 $as_echo "$UINT8_T" >&6; }
16938 cat >>confdefs.h
<<_ACEOF
16939 #define TIFF_UINT8_T $UINT8_T
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed 16-bit type" >&5
16944 $as_echo_n "checking for signed 16-bit type... " >&6; }
16945 INT16_T
='signed short'
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INT16_T" >&5
16947 $as_echo "$INT16_T" >&6; }
16949 cat >>confdefs.h
<<_ACEOF
16950 #define TIFF_INT16_T $INT16_T
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned 16-bit type" >&5
16956 $as_echo_n "checking for unsigned 16-bit type... " >&6; }
16957 UINT16_T
='unsigned short'
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT16_T" >&5
16959 $as_echo "$UINT16_T" >&6; }
16961 cat >>confdefs.h
<<_ACEOF
16962 #define TIFF_UINT16_T $UINT16_T
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed 32-bit type" >&5
16967 $as_echo_n "checking for signed 32-bit type... " >&6; }
16969 INT32_FORMAT
='none'
16970 if test $ac_cv_sizeof_signed_int -eq 4
16972 INT32_T
='signed int'
16973 INT32_FORMAT
='"%d"'
16974 elif test $ac_cv_sizeof_signed_long -eq 4
16976 INT32_T
='signed long'
16977 INT32_FORMAT
='"%ld"'
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INT32_T" >&5
16980 $as_echo "$INT32_T" >&6; }
16982 cat >>confdefs.h
<<_ACEOF
16983 #define TIFF_INT32_T $INT32_T
16987 cat >>confdefs.h
<<_ACEOF
16988 #define TIFF_INT32_FORMAT $INT32_FORMAT
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned 32-bit type" >&5
16993 $as_echo_n "checking for unsigned 32-bit type... " >&6; }
16995 UINT32_FORMAT
='none'
16996 if test $ac_cv_sizeof_unsigned_int -eq 4
16998 UINT32_T
='unsigned int'
16999 UINT32_FORMAT
='"%u"'
17000 elif test $ac_cv_sizeof_unsigned_long -eq 4
17002 UINT32_T
='unsigned long'
17003 UINT32_FORMAT
='"%lu"'
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT32_T" >&5
17006 $as_echo "$UINT32_T" >&6; }
17008 cat >>confdefs.h
<<_ACEOF
17009 #define TIFF_UINT32_T $UINT32_T
17013 cat >>confdefs.h
<<_ACEOF
17014 #define TIFF_UINT32_FORMAT $UINT32_FORMAT
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed 64-bit type" >&5
17019 $as_echo_n "checking for signed 64-bit type... " >&6; }
17021 INT64_FORMAT
='none'
17022 if test $ac_cv_sizeof_signed_long -eq 8
17024 INT64_T
='signed long'
17025 INT64_FORMAT
='"%ld"'
17026 elif test $ac_cv_sizeof_signed_long_long -eq 8
17028 INT64_T
='signed long long'
17029 case "${host_os}" in
17031 # MinGW32 understands 'long long', but uses printf from WIN32 CRT
17032 INT64_FORMAT
='"%I64d"'
17035 INT64_FORMAT
='"%lld"'
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INT64_T" >&5
17042 $as_echo "$INT64_T" >&6; }
17044 cat >>confdefs.h
<<_ACEOF
17045 #define TIFF_INT64_T $INT64_T
17049 cat >>confdefs.h
<<_ACEOF
17050 #define TIFF_INT64_FORMAT $INT64_FORMAT
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned 64-bit type" >&5
17055 $as_echo_n "checking for unsigned 64-bit type... " >&6; }
17057 UINT64_FORMAT
='none'
17058 if test $ac_cv_sizeof_unsigned_long -eq 8
17060 UINT64_T
='unsigned long'
17061 UINT64_FORMAT
='"%lu"'
17062 elif test $ac_cv_sizeof_unsigned_long_long -eq 8
17064 UINT64_T
='unsigned long long'
17065 case "${host_os}" in
17067 # MinGW32 understands 'unsigned long long', but uses printf from WIN32 CRT
17068 UINT64_FORMAT
='"%I64u"'
17071 UINT64_FORMAT
='"%llu"'
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT64_T" >&5
17076 $as_echo "$UINT64_T" >&6; }
17078 cat >>confdefs.h
<<_ACEOF
17079 #define TIFF_UINT64_T $UINT64_T
17083 cat >>confdefs.h
<<_ACEOF
17084 #define TIFF_UINT64_FORMAT $UINT64_FORMAT
17088 # Determine TIFF equivalent of ssize_t
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed size type" >&5
17090 $as_echo_n "checking for signed size type... " >&6; }
17092 SSIZE_FORMAT
='unknown'
17093 if test $ac_cv_sizeof_signed_long -eq $ac_cv_sizeof_unsigned_char_p
17095 SSIZE_T
='signed long'
17096 SSIZE_FORMAT
='"%ld"'
17097 elif test $ac_cv_sizeof_signed_long_long -eq $ac_cv_sizeof_unsigned_char_p
17099 SSIZE_T
='signed long long'
17100 SSIZE_FORMAT
='"%lld"'
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSIZE_T" >&5
17103 $as_echo "$SSIZE_T" >&6; }
17105 cat >>confdefs.h
<<_ACEOF
17106 #define TIFF_SSIZE_T $SSIZE_T
17110 cat >>confdefs.h
<<_ACEOF
17111 #define TIFF_SSIZE_FORMAT $SSIZE_FORMAT
17115 # Determine the type to use for the difference between two pointers.
17116 # We will default to the POSIX ptrdiff_t if it is available, but will
17117 # be prepared for the case when it is not.
17118 PTRDIFF_T
='unknown'
17119 PTRDIFF_FORMAT
='"%ld"'
17120 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
17121 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
17122 PTRDIFF_T
=ptrdiff_t
17125 if test $PTRDIFF_T = unknown
17128 PTRDIFF_FORMAT
=$SSIZE_FORMAT
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pointer difference type" >&5
17131 $as_echo_n "checking for pointer difference type... " >&6; }
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTRDIFF_T" >&5
17133 $as_echo "$PTRDIFF_T" >&6; }
17135 cat >>confdefs.h
<<_ACEOF
17136 #define TIFF_PTRDIFF_T $PTRDIFF_T
17140 cat >>confdefs.h
<<_ACEOF
17141 #define TIFF_PTRDIFF_FORMAT $PTRDIFF_FORMAT
17145 ac_fn_c_check_type
"$LINENO" "int8" "ac_cv_type_int8" "
17146 #if HAVE_INTTYPES_H
17147 # include <inttypes.h>
17151 if test "x$ac_cv_type_int8" = xyes
; then :
17153 cat >>confdefs.h
<<_ACEOF
17154 #define HAVE_INT8 1
17159 ac_fn_c_check_type
"$LINENO" "int16" "ac_cv_type_int16" "
17160 #if HAVE_INTTYPES_H
17161 # include <inttypes.h>
17165 if test "x$ac_cv_type_int16" = xyes
; then :
17167 cat >>confdefs.h
<<_ACEOF
17168 #define HAVE_INT16 1
17173 ac_fn_c_check_type
"$LINENO" "int32" "ac_cv_type_int32" "
17174 #if HAVE_INTTYPES_H
17175 # include <inttypes.h>
17179 if test "x$ac_cv_type_int32" = xyes
; then :
17181 cat >>confdefs.h
<<_ACEOF
17182 #define HAVE_INT32 1
17189 for ac_func
in floor isascii memmove memset mmap pow setmode sqrt strchr strrchr strstr strtol strtoull
17191 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17192 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17193 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17194 cat >>confdefs.h
<<_ACEOF
17195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17202 ac_fn_c_check_func
"$LINENO" "getopt" "ac_cv_func_getopt"
17203 if test "x$ac_cv_func_getopt" = xyes
; then :
17204 $as_echo "#define HAVE_GETOPT 1" >>confdefs.h
17207 case " $LIBOBJS " in
17208 *" getopt.$ac_objext "* ) ;;
17209 *) LIBOBJS
="$LIBOBJS getopt.$ac_objext"
17216 ac_fn_c_check_func
"$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
17217 if test "x$ac_cv_func_strcasecmp" = xyes
; then :
17218 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
17221 case " $LIBOBJS " in
17222 *" strcasecmp.$ac_objext "* ) ;;
17223 *) LIBOBJS
="$LIBOBJS strcasecmp.$ac_objext"
17230 ac_fn_c_check_func
"$LINENO" "strtoul" "ac_cv_func_strtoul"
17231 if test "x$ac_cv_func_strtoul" = xyes
; then :
17232 $as_echo "#define HAVE_STRTOUL 1" >>confdefs.h
17235 case " $LIBOBJS " in
17236 *" strtoul.$ac_objext "* ) ;;
17237 *) LIBOBJS
="$LIBOBJS strtoul.$ac_objext"
17244 ac_fn_c_check_func
"$LINENO" "strtoull" "ac_cv_func_strtoull"
17245 if test "x$ac_cv_func_strtoull" = xyes
; then :
17246 $as_echo "#define HAVE_STRTOULL 1" >>confdefs.h
17249 case " $LIBOBJS " in
17250 *" strtoull.$ac_objext "* ) ;;
17251 *) LIBOBJS
="$LIBOBJS strtoull.$ac_objext"
17258 ac_fn_c_check_func
"$LINENO" "lfind" "ac_cv_func_lfind"
17259 if test "x$ac_cv_func_lfind" = xyes
; then :
17260 $as_echo "#define HAVE_LFIND 1" >>confdefs.h
17263 case " $LIBOBJS " in
17264 *" lfind.$ac_objext "* ) ;;
17265 *) LIBOBJS
="$LIBOBJS lfind.$ac_objext"
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking native cpu bit order" >&5
17274 $as_echo_n "checking native cpu bit order... " >&6; }
17275 case "$host_cpu" in
17277 HOST_FILLORDER
=FILLORDER_LSB2MSB
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: lsb2msb" >&5
17279 $as_echo "lsb2msb" >&6; }
17282 HOST_FILLORDER
=FILLORDER_MSB2LSB
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: msb2lsb" >&5
17284 $as_echo "msb2lsb" >&6; }
17288 cat >>confdefs.h
<<_ACEOF
17289 #define HOST_FILLORDER $HOST_FILLORDER
17293 if test "$ac_cv_c_bigendian" = yes ; then
17299 cat >>confdefs.h
<<_ACEOF
17300 #define HOST_BIGENDIAN $HOST_BIGENDIAN
17305 #AC_DEFINE_UNQUOTED(_POSIX_C_SOURCE, $_POSIX_C_SOURCE, [Define this macro to a positive integer to control which POSIX functionality is made available.])
17309 cat >>confdefs.h
<<_ACEOF
17310 #define HAVE_IEEEFP $HAVE_IEEEFP
17315 # Check whether --enable-rpath was given.
17316 if test "${enable_rpath+set}" = set; then :
17317 enableval
=$enable_rpath; HAVE_RPATH
=$enableval
17322 if test "$HAVE_RPATH" = "yes"; then
17324 HAVE_RPATH_FALSE
='#'
17326 HAVE_RPATH_TRUE
='#'
17332 # Check whether --enable-largefile was given.
17333 if test "${enable_largefile+set}" = set; then :
17334 enableval
=$enable_largefile;
17337 if test "$enable_largefile" != no
; then
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17340 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17341 if ${ac_cv_sys_largefile_CC+:} false
; then :
17342 $as_echo_n "(cached) " >&6
17344 ac_cv_sys_largefile_CC
=no
17345 if test "$GCC" != yes; then
17348 # IRIX 6.2 and later do not support large files by default,
17349 # so use the C compiler's -n32 option if that helps.
17350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17352 #include <sys/types.h>
17353 /* Check that off_t can represent 2**63 - 1 correctly.
17354 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17355 since some C++ compilers masquerading as C compilers
17356 incorrectly reject 9223372036854775807. */
17357 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17358 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17359 && LARGE_OFF_T % 2147483647 == 1)
17369 if ac_fn_c_try_compile
"$LINENO"; then :
17372 rm -f core conftest.err conftest.
$ac_objext
17374 if ac_fn_c_try_compile
"$LINENO"; then :
17375 ac_cv_sys_largefile_CC
=' -n32'; break
17377 rm -f core conftest.err conftest.
$ac_objext
17381 rm -f conftest.
$ac_ext
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17385 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
17386 if test "$ac_cv_sys_largefile_CC" != no
; then
17387 CC
=$CC$ac_cv_sys_largefile_CC
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17391 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17392 if ${ac_cv_sys_file_offset_bits+:} false
; then :
17393 $as_echo_n "(cached) " >&6
17396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 #include <sys/types.h>
17399 /* Check that off_t can represent 2**63 - 1 correctly.
17400 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17401 since some C++ compilers masquerading as C compilers
17402 incorrectly reject 9223372036854775807. */
17403 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17404 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17405 && LARGE_OFF_T % 2147483647 == 1)
17415 if ac_fn_c_try_compile
"$LINENO"; then :
17416 ac_cv_sys_file_offset_bits
=no
; break
17418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17420 /* end confdefs.h. */
17421 #define _FILE_OFFSET_BITS 64
17422 #include <sys/types.h>
17423 /* Check that off_t can represent 2**63 - 1 correctly.
17424 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17425 since some C++ compilers masquerading as C compilers
17426 incorrectly reject 9223372036854775807. */
17427 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17428 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17429 && LARGE_OFF_T % 2147483647 == 1)
17439 if ac_fn_c_try_compile
"$LINENO"; then :
17440 ac_cv_sys_file_offset_bits
=64; break
17442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17443 ac_cv_sys_file_offset_bits
=unknown
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17448 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17449 case $ac_cv_sys_file_offset_bits in #(
17452 cat >>confdefs.h
<<_ACEOF
17453 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17458 if test $ac_cv_sys_file_offset_bits = unknown
; then
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17460 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17461 if ${ac_cv_sys_large_files+:} false
; then :
17462 $as_echo_n "(cached) " >&6
17465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17467 #include <sys/types.h>
17468 /* Check that off_t can represent 2**63 - 1 correctly.
17469 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17470 since some C++ compilers masquerading as C compilers
17471 incorrectly reject 9223372036854775807. */
17472 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17473 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17474 && LARGE_OFF_T % 2147483647 == 1)
17484 if ac_fn_c_try_compile
"$LINENO"; then :
17485 ac_cv_sys_large_files
=no
; break
17487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 #define _LARGE_FILES 1
17491 #include <sys/types.h>
17492 /* Check that off_t can represent 2**63 - 1 correctly.
17493 We can't simply define LARGE_OFF_T to be 9223372036854775807,
17494 since some C++ compilers masquerading as C compilers
17495 incorrectly reject 9223372036854775807. */
17496 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17497 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17498 && LARGE_OFF_T % 2147483647 == 1)
17508 if ac_fn_c_try_compile
"$LINENO"; then :
17509 ac_cv_sys_large_files
=1; break
17511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17512 ac_cv_sys_large_files
=unknown
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17517 $as_echo "$ac_cv_sys_large_files" >&6; }
17518 case $ac_cv_sys_large_files in #(
17521 cat >>confdefs.h
<<_ACEOF
17522 #define _LARGE_FILES $ac_cv_sys_large_files
17534 LIBTIFF_DOCDIR
=\
${prefix}/share
/doc
/${PACKAGE}-${LIBTIFF_VERSION}
17537 # Check whether --with-docdir was given.
17538 if test "${with_docdir+set}" = set; then :
17539 withval
=$with_docdir;
17542 if test "x$with_docdir" != "x" ; then
17543 LIBTIFF_DOCDIR
=$with_docdir
17549 # Check whether --enable-ccitt was given.
17550 if test "${enable_ccitt+set}" = set; then :
17551 enableval
=$enable_ccitt; HAVE_CCITT
=$enableval
17557 if test "$HAVE_CCITT" = "yes" ; then
17559 $as_echo "#define CCITT_SUPPORT 1" >>confdefs.h
17563 # Check whether --enable-packbits was given.
17564 if test "${enable_packbits+set}" = set; then :
17565 enableval
=$enable_packbits; HAVE_PACKBITS
=$enableval
17571 if test "$HAVE_PACKBITS" = "yes" ; then
17573 $as_echo "#define PACKBITS_SUPPORT 1" >>confdefs.h
17577 # Check whether --enable-lzw was given.
17578 if test "${enable_lzw+set}" = set; then :
17579 enableval
=$enable_lzw; HAVE_LZW
=$enableval
17585 if test "$HAVE_LZW" = "yes" ; then
17587 $as_echo "#define LZW_SUPPORT 1" >>confdefs.h
17591 # Check whether --enable-thunder was given.
17592 if test "${enable_thunder+set}" = set; then :
17593 enableval
=$enable_thunder; HAVE_THUNDER
=$enableval
17599 if test "$HAVE_THUNDER" = "yes" ; then
17601 $as_echo "#define THUNDER_SUPPORT 1" >>confdefs.h
17607 # Check whether --enable-next was given.
17608 if test "${enable_next+set}" = set; then :
17609 enableval
=$enable_next; HAVE_NEXT
=$enableval
17615 if test "$HAVE_NEXT" = "yes" ; then
17617 $as_echo "#define NEXT_SUPPORT 1" >>confdefs.h
17621 # Check whether --enable-logluv was given.
17622 if test "${enable_logluv+set}" = set; then :
17623 enableval
=$enable_logluv; HAVE_LOGLUV
=$enableval
17629 if test "$HAVE_LOGLUV" = "yes" ; then
17631 $as_echo "#define LOGLUV_SUPPORT 1" >>confdefs.h
17636 # Check whether --enable-mdi was given.
17637 if test "${enable_mdi+set}" = set; then :
17638 enableval
=$enable_mdi; HAVE_MDI
=$enableval
17644 if test "$HAVE_MDI" = "yes" ; then
17646 $as_echo "#define MDI_SUPPORT 1" >>confdefs.h
17653 # Check whether --enable-zlib was given.
17654 if test "${enable_zlib+set}" = set; then :
17655 enableval
=$enable_zlib;
17659 # Check whether --with-zlib-include-dir was given.
17660 if test "${with_zlib_include_dir+set}" = set; then :
17661 withval
=$with_zlib_include_dir;
17665 # Check whether --with-zlib-lib-dir was given.
17666 if test "${with_zlib_lib_dir+set}" = set; then :
17667 withval
=$with_zlib_lib_dir;
17671 if test "x$enable_zlib" != "xno" ; then
17673 if test "x$with_zlib_lib_dir" != "x" ; then
17674 LDFLAGS
="-L$with_zlib_lib_dir $LDFLAGS"
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
17678 $as_echo_n "checking for inflateEnd in -lz... " >&6; }
17679 if ${ac_cv_lib_z_inflateEnd+:} false
; then :
17680 $as_echo_n "(cached) " >&6
17682 ac_check_lib_save_LIBS
=$LIBS
17684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17685 /* end confdefs.h. */
17687 /* Override any GCC internal prototype to avoid an error.
17688 Use char because int might match the return type of a GCC
17689 builtin and then its argument prototype would still apply. */
17693 char inflateEnd ();
17697 return inflateEnd ();
17702 if ac_fn_c_try_link
"$LINENO"; then :
17703 ac_cv_lib_z_inflateEnd
=yes
17705 ac_cv_lib_z_inflateEnd
=no
17707 rm -f core conftest.err conftest.
$ac_objext \
17708 conftest
$ac_exeext conftest.
$ac_ext
17709 LIBS
=$ac_check_lib_save_LIBS
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
17712 $as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
17713 if test "x$ac_cv_lib_z_inflateEnd" = xyes
; then :
17719 if test "$zlib_lib" = "no" -a "x$with_zlib_lib_dir" != "x"; then
17720 as_fn_error $?
"Zlib library not found at $with_zlib_lib_dir" "$LINENO" 5
17723 if test "x$with_zlib_include_dir" != "x" ; then
17724 CPPFLAGS
="-I$with_zlib_include_dir $CPPFLAGS"
17726 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
17727 if test "x$ac_cv_header_zlib_h" = xyes
; then :
17734 if test "$zlib_h" = "no" -a "x$with_zlib_include_dir" != "x" ; then
17735 as_fn_error $?
"Zlib headers not found at $with_zlib_include_dir" "$LINENO" 5
17738 if test "$zlib_lib" = "yes" -a "$zlib_h" = "yes" ; then
17744 if test "$HAVE_ZLIB" = "yes" ; then
17746 $as_echo "#define ZIP_SUPPORT 1" >>confdefs.h
17749 tiff_libs_private
="-lz ${tiff_libs_private}"
17751 if test "$HAVE_RPATH" = "yes" -a "x$with_zlib_lib_dir" != "x" ; then
17752 LIBDIR
="-R $with_zlib_lib_dir $LIBDIR"
17758 # Check whether --enable-pixarlog was given.
17759 if test "${enable_pixarlog+set}" = set; then :
17760 enableval
=$enable_pixarlog; HAVE_PIXARLOG
=$enableval
17766 if test "$HAVE_ZLIB" = "yes" -a "$HAVE_PIXARLOG" = "yes" ; then
17768 $as_echo "#define PIXARLOG_SUPPORT 1" >>confdefs.h
17777 # Check whether --enable-jpeg was given.
17778 if test "${enable_jpeg+set}" = set; then :
17779 enableval
=$enable_jpeg;
17783 # Check whether --with-jpeg-include-dir was given.
17784 if test "${with_jpeg_include_dir+set}" = set; then :
17785 withval
=$with_jpeg_include_dir;
17789 # Check whether --with-jpeg-lib-dir was given.
17790 if test "${with_jpeg_lib_dir+set}" = set; then :
17791 withval
=$with_jpeg_lib_dir;
17795 if test "x$enable_jpeg" != "xno" ; then
17797 if test "x$with_jpeg_lib_dir" != "x" ; then
17798 LDFLAGS
="-L$with_jpeg_lib_dir $LDFLAGS"
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_scanlines in -ljpeg" >&5
17803 $as_echo_n "checking for jpeg_read_scanlines in -ljpeg... " >&6; }
17804 if ${ac_cv_lib_jpeg_jpeg_read_scanlines+:} false
; then :
17805 $as_echo_n "(cached) " >&6
17807 ac_check_lib_save_LIBS
=$LIBS
17808 LIBS
="-ljpeg $LIBS"
17809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17812 /* Override any GCC internal prototype to avoid an error.
17813 Use char because int might match the return type of a GCC
17814 builtin and then its argument prototype would still apply. */
17818 char jpeg_read_scanlines ();
17822 return jpeg_read_scanlines ();
17827 if ac_fn_c_try_link
"$LINENO"; then :
17828 ac_cv_lib_jpeg_jpeg_read_scanlines
=yes
17830 ac_cv_lib_jpeg_jpeg_read_scanlines
=no
17832 rm -f core conftest.err conftest.
$ac_objext \
17833 conftest
$ac_exeext conftest.
$ac_ext
17834 LIBS
=$ac_check_lib_save_LIBS
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_scanlines" >&5
17837 $as_echo "$ac_cv_lib_jpeg_jpeg_read_scanlines" >&6; }
17838 if test "x$ac_cv_lib_jpeg_jpeg_read_scanlines" = xyes
; then :
17844 if test "$jpeg_lib" = "no" -a "x$with_jpeg_lib_dir" != "x" ; then
17845 as_fn_error $?
"IJG JPEG library not found at $with_jpeg_lib_dir" "$LINENO" 5
17848 if test "x$with_jpeg_include_dir" != "x" ; then
17849 CPPFLAGS
="-I$with_jpeg_include_dir $CPPFLAGS"
17851 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
17852 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
17859 if test "$jpeg_h" = "no" -a "x$with_jpeg_include_dir" != "x" ; then
17860 as_fn_error $?
"IJG JPEG library headers not found at $with_jpeg_include_dir" "$LINENO" 5
17863 if test "$jpeg_lib" = "yes" -a "$jpeg_h" = "yes" ; then
17869 if test "$HAVE_JPEG" = "yes" ; then
17871 $as_echo "#define JPEG_SUPPORT 1" >>confdefs.h
17873 LIBS
="-ljpeg $LIBS"
17874 tiff_libs_private
="-ljpeg ${tiff_libs_private}"
17876 if test "$HAVE_RPATH" = "yes" -a "x$with_jpeg_lib_dir" != "x" ; then
17877 LIBDIR
="-R $with_jpeg_lib_dir $LIBDIR"
17883 # Check whether --enable-old-jpeg was given.
17884 if test "${enable_old_jpeg+set}" = set; then :
17885 enableval
=$enable_old_jpeg; HAVE_OJPEG
=${enableval}
17891 if test "$HAVE_JPEG" = "yes" -a "$HAVE_OJPEG" = "yes" ; then
17893 $as_echo "#define OJPEG_SUPPORT 1" >>confdefs.h
17902 # Check whether --enable-jbig was given.
17903 if test "${enable_jbig+set}" = set; then :
17904 enableval
=$enable_jbig;
17908 # Check whether --with-jbig-include-dir was given.
17909 if test "${with_jbig_include_dir+set}" = set; then :
17910 withval
=$with_jbig_include_dir;
17914 # Check whether --with-jbig-lib-dir was given.
17915 if test "${with_jbig_lib_dir+set}" = set; then :
17916 withval
=$with_jbig_lib_dir;
17920 if test "x$enable_jbig" != "xno" ; then
17922 if test "x$with_jbig_lib_dir" != "x" ; then
17923 LDFLAGS
="-L$with_jbig_lib_dir $LDFLAGS"
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
17928 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
17929 if ${ac_cv_lib_jbig_jbg_dec_init+:} false
; then :
17930 $as_echo_n "(cached) " >&6
17932 ac_check_lib_save_LIBS
=$LIBS
17933 LIBS
="-ljbig $LIBS"
17934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17937 /* Override any GCC internal prototype to avoid an error.
17938 Use char because int might match the return type of a GCC
17939 builtin and then its argument prototype would still apply. */
17943 char jbg_dec_init ();
17947 return jbg_dec_init ();
17952 if ac_fn_c_try_link
"$LINENO"; then :
17953 ac_cv_lib_jbig_jbg_dec_init
=yes
17955 ac_cv_lib_jbig_jbg_dec_init
=no
17957 rm -f core conftest.err conftest.
$ac_objext \
17958 conftest
$ac_exeext conftest.
$ac_ext
17959 LIBS
=$ac_check_lib_save_LIBS
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
17962 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
17963 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes
; then :
17969 if test "$jbig_lib" = "no" -a "x$with_jbig_lib_dir" != "x" ; then
17970 as_fn_error $?
"JBIG-KIT library not found at $with_jbig_lib_dir" "$LINENO" 5
17973 if test "x$with_jbig_include_dir" != "x" ; then
17974 CPPFLAGS
="-I$with_jbig_include_dir $CPPFLAGS"
17976 ac_fn_c_check_header_mongrel
"$LINENO" "jbig.h" "ac_cv_header_jbig_h" "$ac_includes_default"
17977 if test "x$ac_cv_header_jbig_h" = xyes
; then :
17984 if test "$jbig_h" = "no" -a "x$with_jbig_include_dir" != "x" ; then
17985 as_fn_error $?
"JBIG-KIT library headers not found at $with_jbig_include_dir" "$LINENO" 5
17988 if test "$jbig_lib" = "yes" -a "$jbig_h" = "yes" ; then
17994 if test "$HAVE_JBIG" = "yes" ; then
17996 $as_echo "#define JBIG_SUPPORT 1" >>confdefs.h
17998 LIBS
="-ljbig $LIBS"
17999 tiff_libs_private
="-ljbig ${tiff_libs_private}"
18001 if test "$HAVE_RPATH" = "yes" -a "x$with_jbig_lib_dir" != "x" ; then
18002 LIBDIR
="-R $with_jbig_lib_dir $LIBDIR"
18005 # Older versions of jbigkit lack jbg_newlen
18006 for ac_func
in jbg_newlen
18008 ac_fn_c_check_func
"$LINENO" "jbg_newlen" "ac_cv_func_jbg_newlen"
18009 if test "x$ac_cv_func_jbg_newlen" = xyes
; then :
18010 cat >>confdefs.h
<<_ACEOF
18011 #define HAVE_JBG_NEWLEN 1
18023 # Check whether --enable-lzma was given.
18024 if test "${enable_lzma+set}" = set; then :
18025 enableval
=$enable_lzma;
18029 # Check whether --with-lzma-include-dir was given.
18030 if test "${with_lzma_include_dir+set}" = set; then :
18031 withval
=$with_lzma_include_dir;
18035 # Check whether --with-lzma-lib-dir was given.
18036 if test "${with_lzma_lib_dir+set}" = set; then :
18037 withval
=$with_lzma_lib_dir;
18041 if test "x$enable_lzma" != "xno" ; then
18043 if test "x$with_lzma_lib_dir" != "x" ; then
18044 LDFLAGS
="-L$with_lzma_lib_dir $LDFLAGS"
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
18048 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
18049 if ${ac_cv_lib_lzma_lzma_code+:} false
; then :
18050 $as_echo_n "(cached) " >&6
18052 ac_check_lib_save_LIBS
=$LIBS
18053 LIBS
="-llzma $LIBS"
18054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18057 /* Override any GCC internal prototype to avoid an error.
18058 Use char because int might match the return type of a GCC
18059 builtin and then its argument prototype would still apply. */
18067 return lzma_code ();
18072 if ac_fn_c_try_link
"$LINENO"; then :
18073 ac_cv_lib_lzma_lzma_code
=yes
18075 ac_cv_lib_lzma_lzma_code
=no
18077 rm -f core conftest.err conftest.
$ac_objext \
18078 conftest
$ac_exeext conftest.
$ac_ext
18079 LIBS
=$ac_check_lib_save_LIBS
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
18082 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
18083 if test "x$ac_cv_lib_lzma_lzma_code" = xyes
; then :
18089 if test "$lzma_lib" = "no" -a "x$with_lzma_lib_dir" != "x"; then
18090 as_fn_error $?
"lzma library not found at $with_lzma_lib_dir" "$LINENO" 5
18093 if test "x$with_lzma_include_dir" != "x" ; then
18094 CPPFLAGS
="-I$with_lzma_include_dir $CPPFLAGS"
18096 ac_fn_c_check_header_mongrel
"$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
18097 if test "x$ac_cv_header_lzma_h" = xyes
; then :
18104 if test "$lzma_h" = "no" -a "x$with_lzma_include_dir" != "x" ; then
18105 as_fn_error $?
"Liblzma headers not found at $with_lzma_include_dir" "$LINENO" 5
18108 if test "$lzma_lib" = "yes" -a "$lzma_h" = "yes" ; then
18114 if test "$HAVE_LZMA" = "yes" ; then
18116 $as_echo "#define LZMA_SUPPORT 1" >>confdefs.h
18118 LIBS
="-llzma $LIBS"
18119 tiff_libs_private
="-llzma ${tiff_libs_private}"
18121 if test "$HAVE_RPATH" = "yes" -a "x$with_lzma_lib_dir" != "x" ; then
18122 LIBDIR
="-R $with_lzma_lib_dir $LIBDIR"
18130 # Check whether --enable-jpeg12 was given.
18131 if test "${enable_jpeg12+set}" = set; then :
18132 enableval
=$enable_jpeg12;
18136 # Check whether --with-jpeg12-include-dir was given.
18137 if test "${with_jpeg12_include_dir+set}" = set; then :
18138 withval
=$with_jpeg12_include_dir;
18142 # Check whether --with-jpeg12-lib was given.
18143 if test "${with_jpeg12_lib+set}" = set; then :
18144 withval
=$with_jpeg12_lib;
18148 if test "x$enable_jpeg12" == "xyes" ; then
18150 if test "x$with_jpeg12_lib" != "x" ; then
18151 LIBS
="$with_jpeg12_lib $LIBS"
18157 $as_echo "#define JPEG_DUAL_MODE_8_12 1" >>confdefs.h
18159 if test "x$with_jpeg12_include_dir" != "x" ; then
18161 cat >>confdefs.h
<<_ACEOF
18162 #define LIBJPEG_12_PATH "$with_jpeg12_include_dir/jpeglib.h"
18170 # Check whether --enable-cxx was given.
18171 if test "${enable_cxx+set}" = set; then :
18172 enableval
=$enable_cxx; HAVE_CXX
=$enableval
18178 if test "$HAVE_CXX" = "yes" ; then
18180 $as_echo "#define CXX_SUPPORT 1" >>confdefs.h
18186 if test "$HAVE_CXX" = "yes"; then
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
18200 $as_echo_n "checking for X... " >&6; }
18203 # Check whether --with-x was given.
18204 if test "${with_x+set}" = set; then :
18208 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18209 if test "x$with_x" = xno
; then
18210 # The user explicitly disabled X.
18213 case $x_includes,$x_libraries in #(
18214 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
18215 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
18216 $as_echo_n "(cached) " >&6
18218 # One or both of the vars are not set, and there is no cached value.
18219 ac_x_includes
=no ac_x_libraries
=no
18220 rm -f -r conftest.dir
18221 if mkdir conftest.dir
; then
18223 cat >Imakefile
<<'_ACEOF'
18225 @echo incroot='${INCROOT}'
18227 @echo usrlibdir='${USRLIBDIR}'
18229 @echo libdir='${LIBDIR}'
18231 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18232 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
18233 for ac_var
in incroot usrlibdir libdir
; do
18234 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18236 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18237 for ac_extension
in a so sl dylib la dll
; do
18238 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18239 test -f "$ac_im_libdir/libX11.$ac_extension"; then
18240 ac_im_usrlibdir
=$ac_im_libdir; break
18243 # Screen out bogus values from the imake configuration. They are
18244 # bogus both because they are the default anyway, and because
18245 # using them would break gcc on systems where it needs fixed includes.
18246 case $ac_im_incroot in
18247 /usr
/include
) ac_x_includes
= ;;
18248 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
18250 case $ac_im_usrlibdir in
18251 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
18252 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
18256 rm -f -r conftest.dir
18259 # Standard set of common directories for X headers.
18260 # Check X11 before X11Rn because it is often a symlink to the current release.
18274 /usr/local/X11/include
18275 /usr/local/X11R7/include
18276 /usr/local/X11R6/include
18277 /usr/local/X11R5/include
18278 /usr/local/X11R4/include
18280 /usr/local/include/X11
18281 /usr/local/include/X11R7
18282 /usr/local/include/X11R6
18283 /usr/local/include/X11R5
18284 /usr/local/include/X11R4
18288 /usr/XFree86/include/X11
18292 /usr/unsupported/include
18293 /usr/athena/include
18294 /usr/local/x11r5/include
18295 /usr/lpp/Xamples/include
18297 /usr/openwin/include
18298 /usr/openwin/share/include'
18300 if test "$ac_x_includes" = no
; then
18301 # Guess where to find include files, by looking for Xlib.h.
18302 # First, try using that file with no special directory specified.
18303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18305 #include <X11/Xlib.h>
18307 if ac_fn_c_try_cpp
"$LINENO"; then :
18308 # We can compile using X headers with no special include directory.
18311 for ac_dir
in $ac_x_header_dirs; do
18312 if test -r "$ac_dir/X11/Xlib.h"; then
18313 ac_x_includes
=$ac_dir
18318 rm -f conftest.err conftest.i conftest.
$ac_ext
18319 fi # $ac_x_includes = no
18321 if test "$ac_x_libraries" = no
; then
18322 # Check for the libraries.
18323 # See if we find them without any special options.
18324 # Don't add to $LIBS permanently.
18327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18329 #include <X11/Xlib.h>
18338 if ac_fn_c_try_link
"$LINENO"; then :
18340 # We can link X programs with no special library path.
18344 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18346 # Don't even attempt the hair of trying to link an X program!
18347 for ac_extension
in a so sl dylib la dll
; do
18348 if test -r "$ac_dir/libX11.$ac_extension"; then
18349 ac_x_libraries
=$ac_dir
18355 rm -f core conftest.err conftest.
$ac_objext \
18356 conftest
$ac_exeext conftest.
$ac_ext
18357 fi # $ac_x_libraries = no
18359 case $ac_x_includes,$ac_x_libraries in #(
18360 no
,* | *,no
| *\'*)
18361 # Didn't find X, or a directory has "'" in its name.
18362 ac_cv_have_x
="have_x=no";; #(
18364 # Record where we found X for the cache.
18365 ac_cv_have_x
="have_x=yes\
18366 ac_x_includes='$ac_x_includes'\
18367 ac_x_libraries='$ac_x_libraries'"
18373 eval "$ac_cv_have_x"
18376 if test "$have_x" != yes; then
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
18378 $as_echo "$have_x" >&6; }
18381 # If each of the values was on the command line, it overrides each guess.
18382 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
18383 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
18384 # Update the cache value to reflect the command line values.
18385 ac_cv_have_x
="have_x=yes\
18386 ac_x_includes='$x_includes'\
18387 ac_x_libraries='$x_libraries'"
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
18389 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
18392 if test "$no_x" = yes; then
18393 # Not all programs may use this symbol, but it does not hurt to define it.
18395 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
18397 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
18399 if test -n "$x_includes"; then
18400 X_CFLAGS
="$X_CFLAGS -I$x_includes"
18403 # It would also be nice to do this for all -L options, not just this one.
18404 if test -n "$x_libraries"; then
18405 X_LIBS
="$X_LIBS -L$x_libraries"
18406 # For Solaris; some versions of Sun CC require a space after -R and
18407 # others require no space. Words are not sufficient . . . .
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
18409 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
18410 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
18411 ac_xsave_c_werror_flag
=$ac_c_werror_flag
18412 ac_c_werror_flag
=yes
18413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18414 /* end confdefs.h. */
18424 if ac_fn_c_try_link
"$LINENO"; then :
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18426 $as_echo "no" >&6; }
18427 X_LIBS
="$X_LIBS -R$x_libraries"
18429 LIBS
="$ac_xsave_LIBS -R $x_libraries"
18430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18431 /* end confdefs.h. */
18441 if ac_fn_c_try_link
"$LINENO"; then :
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18443 $as_echo "yes" >&6; }
18444 X_LIBS
="$X_LIBS -R $x_libraries"
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
18447 $as_echo "neither works" >&6; }
18449 rm -f core conftest.err conftest.
$ac_objext \
18450 conftest
$ac_exeext conftest.
$ac_ext
18452 rm -f core conftest.err conftest.
$ac_objext \
18453 conftest
$ac_exeext conftest.
$ac_ext
18454 ac_c_werror_flag
=$ac_xsave_c_werror_flag
18455 LIBS
=$ac_xsave_LIBS
18458 # Check for system-dependent libraries X programs must link with.
18459 # Do this before checking for the system-independent R6 libraries
18460 # (-lICE), since we may need -lsocket or whatever for X linking.
18462 if test "$ISC" = yes; then
18463 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
18465 # Martyn Johnson says this is needed for Ultrix, if the X
18466 # libraries were built with DECnet support. And Karl Berry says
18467 # the Alpha needs dnet_stub (dnet does not exist).
18468 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
18469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18472 /* Override any GCC internal prototype to avoid an error.
18473 Use char because int might match the return type of a GCC
18474 builtin and then its argument prototype would still apply. */
18478 char XOpenDisplay ();
18482 return XOpenDisplay ();
18487 if ac_fn_c_try_link
"$LINENO"; then :
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
18491 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
18492 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
18493 $as_echo_n "(cached) " >&6
18495 ac_check_lib_save_LIBS
=$LIBS
18496 LIBS
="-ldnet $LIBS"
18497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18500 /* Override any GCC internal prototype to avoid an error.
18501 Use char because int might match the return type of a GCC
18502 builtin and then its argument prototype would still apply. */
18510 return dnet_ntoa ();
18515 if ac_fn_c_try_link
"$LINENO"; then :
18516 ac_cv_lib_dnet_dnet_ntoa
=yes
18518 ac_cv_lib_dnet_dnet_ntoa
=no
18520 rm -f core conftest.err conftest.
$ac_objext \
18521 conftest
$ac_exeext conftest.
$ac_ext
18522 LIBS
=$ac_check_lib_save_LIBS
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
18525 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
18526 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
18527 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
18530 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
18532 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
18533 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
18534 $as_echo_n "(cached) " >&6
18536 ac_check_lib_save_LIBS
=$LIBS
18537 LIBS
="-ldnet_stub $LIBS"
18538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18541 /* Override any GCC internal prototype to avoid an error.
18542 Use char because int might match the return type of a GCC
18543 builtin and then its argument prototype would still apply. */
18551 return dnet_ntoa ();
18556 if ac_fn_c_try_link
"$LINENO"; then :
18557 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
18559 ac_cv_lib_dnet_stub_dnet_ntoa
=no
18561 rm -f core conftest.err conftest.
$ac_objext \
18562 conftest
$ac_exeext conftest.
$ac_ext
18563 LIBS
=$ac_check_lib_save_LIBS
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
18566 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
18567 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
18568 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
18573 rm -f core conftest.err conftest.
$ac_objext \
18574 conftest
$ac_exeext conftest.
$ac_ext
18575 LIBS
="$ac_xsave_LIBS"
18577 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
18578 # to get the SysV transport functions.
18579 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
18581 # The nsl library prevents programs from opening the X display
18582 # on Irix 5.2, according to T.E. Dickey.
18583 # The functions gethostbyname, getservbyname, and inet_addr are
18584 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
18585 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
18586 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
18590 if test $ac_cv_func_gethostbyname = no
; then
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
18592 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
18593 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
18594 $as_echo_n "(cached) " >&6
18596 ac_check_lib_save_LIBS
=$LIBS
18598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18599 /* end confdefs.h. */
18601 /* Override any GCC internal prototype to avoid an error.
18602 Use char because int might match the return type of a GCC
18603 builtin and then its argument prototype would still apply. */
18607 char gethostbyname ();
18611 return gethostbyname ();
18616 if ac_fn_c_try_link
"$LINENO"; then :
18617 ac_cv_lib_nsl_gethostbyname
=yes
18619 ac_cv_lib_nsl_gethostbyname
=no
18621 rm -f core conftest.err conftest.
$ac_objext \
18622 conftest
$ac_exeext conftest.
$ac_ext
18623 LIBS
=$ac_check_lib_save_LIBS
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
18626 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
18627 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
18628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
18631 if test $ac_cv_lib_nsl_gethostbyname = no
; then
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
18633 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
18634 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
18635 $as_echo_n "(cached) " >&6
18637 ac_check_lib_save_LIBS
=$LIBS
18639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18642 /* Override any GCC internal prototype to avoid an error.
18643 Use char because int might match the return type of a GCC
18644 builtin and then its argument prototype would still apply. */
18648 char gethostbyname ();
18652 return gethostbyname ();
18657 if ac_fn_c_try_link
"$LINENO"; then :
18658 ac_cv_lib_bsd_gethostbyname
=yes
18660 ac_cv_lib_bsd_gethostbyname
=no
18662 rm -f core conftest.err conftest.
$ac_objext \
18663 conftest
$ac_exeext conftest.
$ac_ext
18664 LIBS
=$ac_check_lib_save_LIBS
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
18667 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
18668 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
18669 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
18675 # lieder@skyler.mavd.honeywell.com says without -lsocket,
18676 # socket/setsockopt and other routines are undefined under SCO ODT
18677 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
18678 # on later versions), says Simon Leinen: it contains gethostby*
18679 # variants that don't use the name server (or something). -lsocket
18680 # must be given before -lnsl if both are needed. We assume that
18681 # if connect needs -lnsl, so does gethostbyname.
18682 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
18683 if test "x$ac_cv_func_connect" = xyes
; then :
18687 if test $ac_cv_func_connect = no
; then
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
18689 $as_echo_n "checking for connect in -lsocket... " >&6; }
18690 if ${ac_cv_lib_socket_connect+:} false
; then :
18691 $as_echo_n "(cached) " >&6
18693 ac_check_lib_save_LIBS
=$LIBS
18694 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
18695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18698 /* Override any GCC internal prototype to avoid an error.
18699 Use char because int might match the return type of a GCC
18700 builtin and then its argument prototype would still apply. */
18713 if ac_fn_c_try_link
"$LINENO"; then :
18714 ac_cv_lib_socket_connect
=yes
18716 ac_cv_lib_socket_connect
=no
18718 rm -f core conftest.err conftest.
$ac_objext \
18719 conftest
$ac_exeext conftest.
$ac_ext
18720 LIBS
=$ac_check_lib_save_LIBS
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
18723 $as_echo "$ac_cv_lib_socket_connect" >&6; }
18724 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
18725 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
18730 # Guillermo Gomez says -lposix is necessary on A/UX.
18731 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
18732 if test "x$ac_cv_func_remove" = xyes
; then :
18736 if test $ac_cv_func_remove = no
; then
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
18738 $as_echo_n "checking for remove in -lposix... " >&6; }
18739 if ${ac_cv_lib_posix_remove+:} false
; then :
18740 $as_echo_n "(cached) " >&6
18742 ac_check_lib_save_LIBS
=$LIBS
18743 LIBS
="-lposix $LIBS"
18744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18747 /* Override any GCC internal prototype to avoid an error.
18748 Use char because int might match the return type of a GCC
18749 builtin and then its argument prototype would still apply. */
18762 if ac_fn_c_try_link
"$LINENO"; then :
18763 ac_cv_lib_posix_remove
=yes
18765 ac_cv_lib_posix_remove
=no
18767 rm -f core conftest.err conftest.
$ac_objext \
18768 conftest
$ac_exeext conftest.
$ac_ext
18769 LIBS
=$ac_check_lib_save_LIBS
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
18772 $as_echo "$ac_cv_lib_posix_remove" >&6; }
18773 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
18774 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
18779 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
18780 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
18781 if test "x$ac_cv_func_shmat" = xyes
; then :
18785 if test $ac_cv_func_shmat = no
; then
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
18787 $as_echo_n "checking for shmat in -lipc... " >&6; }
18788 if ${ac_cv_lib_ipc_shmat+:} false
; then :
18789 $as_echo_n "(cached) " >&6
18791 ac_check_lib_save_LIBS
=$LIBS
18793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18796 /* Override any GCC internal prototype to avoid an error.
18797 Use char because int might match the return type of a GCC
18798 builtin and then its argument prototype would still apply. */
18811 if ac_fn_c_try_link
"$LINENO"; then :
18812 ac_cv_lib_ipc_shmat
=yes
18814 ac_cv_lib_ipc_shmat
=no
18816 rm -f core conftest.err conftest.
$ac_objext \
18817 conftest
$ac_exeext conftest.
$ac_ext
18818 LIBS
=$ac_check_lib_save_LIBS
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
18821 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
18822 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
18823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
18829 # Check for libraries that X11R6 Xt/Xaw programs need.
18830 ac_save_LDFLAGS
=$LDFLAGS
18831 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
18832 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
18833 # check for ICE first), but we must link in the order -lSM -lICE or
18834 # we get undefined symbols. So assume we have SM if we have ICE.
18835 # These have to be linked with before -lX11, unlike the other
18836 # libraries we check for below, so use a different variable.
18837 # John Interrante, Karl Berry
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
18839 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
18840 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
18841 $as_echo_n "(cached) " >&6
18843 ac_check_lib_save_LIBS
=$LIBS
18844 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
18845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18848 /* Override any GCC internal prototype to avoid an error.
18849 Use char because int might match the return type of a GCC
18850 builtin and then its argument prototype would still apply. */
18854 char IceConnectionNumber ();
18858 return IceConnectionNumber ();
18863 if ac_fn_c_try_link
"$LINENO"; then :
18864 ac_cv_lib_ICE_IceConnectionNumber
=yes
18866 ac_cv_lib_ICE_IceConnectionNumber
=no
18868 rm -f core conftest.err conftest.
$ac_objext \
18869 conftest
$ac_exeext conftest.
$ac_ext
18870 LIBS
=$ac_check_lib_save_LIBS
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
18873 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
18874 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
18875 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
18878 LDFLAGS
=$ac_save_LDFLAGS
18887 ac_cpp
='$CPP $CPPFLAGS'
18888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18895 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
18896 save_CFLAGS
="$CFLAGS"
18897 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
18899 LIBS
="$PTHREAD_LIBS $LIBS"
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
18901 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
18902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h. */
18905 /* Override any GCC internal prototype to avoid an error.
18906 Use char because int might match the return type of a GCC
18907 builtin and then its argument prototype would still apply. */
18911 char pthread_join ();
18915 return pthread_join ();
18920 if ac_fn_c_try_link
"$LINENO"; then :
18923 rm -f core conftest.err conftest.
$ac_objext \
18924 conftest
$ac_exeext conftest.
$ac_ext
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
18926 $as_echo "$ax_pthread_ok" >&6; }
18927 if test x
"$ax_pthread_ok" = xno
; then
18932 CFLAGS
="$save_CFLAGS"
18937 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18941 case "${host_cpu}-${host_os}" in
18945 ax_pthread_flags
="-pthreads pthread -mt -pthread $ax_pthread_flags"
18949 ax_pthread_flags
="-pthread $ax_pthread_flags"
18953 if test x
"$ax_pthread_ok" = xno
; then
18954 for flag
in $ax_pthread_flags; do
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18959 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18964 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18965 PTHREAD_CFLAGS
="$flag"
18969 # Extract the first word of "pthread-config", so it can be a program name with args.
18970 set dummy pthread
-config; ac_word
=$2
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18972 $as_echo_n "checking for $ac_word... " >&6; }
18973 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
18974 $as_echo_n "(cached) " >&6
18976 if test -n "$ax_pthread_config"; then
18977 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
18979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18980 for as_dir
in $PATH
18983 test -z "$as_dir" && as_dir
=.
18984 for ac_exec_ext
in '' $ac_executable_extensions; do
18985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18986 ac_cv_prog_ax_pthread_config
="yes"
18987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18994 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
18997 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
18998 if test -n "$ax_pthread_config"; then
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19000 $as_echo "$ax_pthread_config" >&6; }
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19003 $as_echo "no" >&6; }
19007 if test x
"$ax_pthread_config" = xno
; then continue; fi
19008 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19009 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19014 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19015 PTHREAD_LIBS
="-l$flag"
19020 save_CFLAGS
="$CFLAGS"
19021 LIBS
="$PTHREAD_LIBS $LIBS"
19022 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 #include <pthread.h>
19027 static void routine(void* a) {a=0;}
19028 static void* start_routine(void* a) {return a;}
19032 pthread_t th; pthread_attr_t attr;
19033 pthread_create(&th,0,start_routine,0);
19034 pthread_join(th, 0);
19035 pthread_attr_init(&attr);
19036 pthread_cleanup_push(routine, 0);
19037 pthread_cleanup_pop(0);
19042 if ac_fn_c_try_link
"$LINENO"; then :
19045 rm -f core conftest.err conftest.
$ac_objext \
19046 conftest
$ac_exeext conftest.
$ac_ext
19049 CFLAGS
="$save_CFLAGS"
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19052 $as_echo "$ax_pthread_ok" >&6; }
19053 if test "x$ax_pthread_ok" = xyes
; then
19062 if test "x$ax_pthread_ok" = xyes
; then
19064 LIBS
="$PTHREAD_LIBS $LIBS"
19065 save_CFLAGS
="$CFLAGS"
19066 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19069 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19071 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19073 /* end confdefs.h. */
19074 #include <pthread.h>
19078 int attr=$attr; return attr;
19083 if ac_fn_c_try_link
"$LINENO"; then :
19084 attr_name
=$attr; break
19086 rm -f core conftest.err conftest.
$ac_objext \
19087 conftest
$ac_exeext conftest.
$ac_ext
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19090 $as_echo "$attr_name" >&6; }
19091 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19093 cat >>confdefs.h
<<_ACEOF
19094 #define PTHREAD_CREATE_JOINABLE $attr_name
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19100 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19102 case "${host_cpu}-${host_os}" in
19103 *-aix* | *-freebsd* | *-darwin*) flag
="-D_THREAD_SAFE";;
19104 *solaris
* | *-osf* | *-hpux*) flag
="-D_REENTRANT";;
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19107 $as_echo "${flag}" >&6; }
19108 if test "x$flag" != xno
; then
19109 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19113 CFLAGS
="$save_CFLAGS"
19115 if test x
"$GCC" != xyes
; then
19116 for ac_prog
in xlc_r cc_r
19118 # Extract the first word of "$ac_prog", so it can be a program name with args.
19119 set dummy
$ac_prog; ac_word
=$2
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19121 $as_echo_n "checking for $ac_word... " >&6; }
19122 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19123 $as_echo_n "(cached) " >&6
19125 if test -n "$PTHREAD_CC"; then
19126 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19129 for as_dir
in $PATH
19132 test -z "$as_dir" && as_dir
=.
19133 for ac_exec_ext
in '' $ac_executable_extensions; do
19134 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19135 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19145 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19146 if test -n "$PTHREAD_CC"; then
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19148 $as_echo "$PTHREAD_CC" >&6; }
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19151 $as_echo "no" >&6; }
19155 test -n "$PTHREAD_CC" && break
19157 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19170 if test x
"$ax_pthread_ok" = xyes
; then
19172 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19180 ac_cpp
='$CPP $CPPFLAGS'
19181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19189 ac_cpp
='$CPP $CPPFLAGS'
19190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Microsoft C compiler" >&5
19195 $as_echo_n "checking whether we are using the Microsoft C compiler... " >&6; }
19196 if ${ax_cv_c_compiler_ms+:} false
; then :
19197 $as_echo_n "(cached) " >&6
19199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19200 /* end confdefs.h. */
19213 if ac_fn_c_try_compile
"$LINENO"; then :
19218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19219 ax_cv_c_compiler_ms
=$ax_compiler_ms
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_ms" >&5
19223 $as_echo "$ax_cv_c_compiler_ms" >&6; }
19224 if test X
$ax_compiler_ms = Xno
; then :
19225 GL_CFLAGS
="${PTHREAD_CFLAGS}"; GL_LIBS
="${PTHREAD_LIBS} -lm"
19228 if test "X$no_x" != "Xyes"; then :
19229 if test -n "$x_includes"; then :
19230 GL_CFLAGS
="-I${x_includes} ${GL_CFLAGS}"
19232 if test -n "$x_libraries"; then :
19233 GL_LIBS
="-L${x_libraries} -lX11 ${GL_LIBS}"
19237 ax_save_CPPFLAGS
="${CPPFLAGS}"
19238 CPPFLAGS
="${GL_CFLAGS} ${CPPFLAGS}"
19239 for ac_header
in GL
/gl.h OpenGL
/gl.h
19241 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19242 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19243 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19244 cat >>confdefs.h
<<_ACEOF
19245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19252 CPPFLAGS
="${ax_save_CPPFLAGS}"
19254 for ac_header
in windows.h
19256 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
19257 if test "x$ac_cv_header_windows_h" = xyes
; then :
19258 cat >>confdefs.h
<<_ACEOF
19259 #define HAVE_WINDOWS_H 1
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL library" >&5
19270 $as_echo_n "checking for OpenGL library... " >&6; }
19271 if ${ax_cv_check_gl_libgl+:} false
; then :
19272 $as_echo_n "(cached) " >&6
19274 ax_cv_check_gl_libgl
="no"
19276 x86_64
) ax_check_gl_libdir
=lib64
;;
19277 *) ax_check_gl_libdir
=lib
;;
19279 ax_save_CPPFLAGS
="${CPPFLAGS}"
19280 CPPFLAGS
="${GL_CFLAGS} ${CPPFLAGS}"
19281 ax_save_LIBS
="${LIBS}"
19283 ax_check_libs
="-lopengl32 -lGL"
19284 for ax_lib
in ${ax_check_libs}; do
19285 if test X
$ax_compiler_ms = Xyes
; then :
19286 ax_try_lib
=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`
19288 ax_try_lib
="${ax_lib}"
19290 LIBS
="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
19291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19294 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
19295 # include <windows.h>
19297 # ifdef HAVE_GL_GL_H
19298 # include <GL/gl.h>
19299 # elif defined(HAVE_OPENGL_GL_H)
19300 # include <OpenGL/gl.h>
19312 if ac_fn_c_try_link
"$LINENO"; then :
19313 ax_cv_check_gl_libgl
="${ax_try_lib}"; break
19315 ax_check_gl_nvidia_flags
="-L/usr/${ax_check_gl_libdir}/nvidia" LIBS
="${ax_try_lib} ${ax_check_gl_nvidia_flags} ${GL_LIBS} ${ax_save_LIBS}"
19316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19317 /* end confdefs.h. */
19319 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
19320 # include <windows.h>
19322 # ifdef HAVE_GL_GL_H
19323 # include <GL/gl.h>
19324 # elif defined(HAVE_OPENGL_GL_H)
19325 # include <OpenGL/gl.h>
19337 if ac_fn_c_try_link
"$LINENO"; then :
19338 ax_cv_check_gl_libgl
="${ax_try_lib} ${ax_check_gl_nvidia_flags}"; break
19340 ax_check_gl_dylib_flag
='-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib' LIBS
="${ax_try_lib} ${ax_check_gl_dylib_flag} ${GL_LIBS} ${ax_save_LIBS}"
19341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19342 /* end confdefs.h. */
19344 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
19345 # include <windows.h>
19347 # ifdef HAVE_GL_GL_H
19348 # include <GL/gl.h>
19349 # elif defined(HAVE_OPENGL_GL_H)
19350 # include <OpenGL/gl.h>
19362 if ac_fn_c_try_link
"$LINENO"; then :
19363 ax_cv_check_gl_libgl
="${ax_try_lib} ${ax_check_gl_dylib_flag}"; break
19365 rm -f core conftest.err conftest.
$ac_objext \
19366 conftest
$ac_exeext conftest.
$ac_ext
19368 rm -f core conftest.err conftest.
$ac_objext \
19369 conftest
$ac_exeext conftest.
$ac_ext
19371 rm -f core conftest.err conftest.
$ac_objext \
19372 conftest
$ac_exeext conftest.
$ac_ext
19375 if test "X$ax_cv_check_gl_libgl" = Xno
-a "X$no_x" = Xyes
; then :
19376 LIBS
='-framework OpenGL'
19377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19378 /* end confdefs.h. */
19380 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
19381 # include <windows.h>
19383 # ifdef HAVE_GL_GL_H
19384 # include <GL/gl.h>
19385 # elif defined(HAVE_OPENGL_GL_H)
19386 # include <OpenGL/gl.h>
19398 if ac_fn_c_try_link
"$LINENO"; then :
19399 ax_cv_check_gl_libgl
="$LIBS"
19401 rm -f core conftest.err conftest.
$ac_objext \
19402 conftest
$ac_exeext conftest.
$ac_ext
19405 LIBS
=${ax_save_LIBS}
19406 CPPFLAGS
=${ax_save_CPPFLAGS}
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_gl_libgl" >&5
19409 $as_echo "$ax_cv_check_gl_libgl" >&6; }
19411 if test "X$ax_cv_check_gl_libgl" = Xno
; then :
19412 no_gl
=yes; GL_CFLAGS
=""; GL_LIBS
=""
19414 GL_LIBS
="${ax_cv_check_gl_libgl} ${GL_LIBS}"
19417 ac_cpp
='$CPP $CPPFLAGS'
19418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19427 GLU_CFLAGS
="${GL_CFLAGS}"
19429 ax_save_CPPFLAGS
="${CPPFLAGS}"
19430 CPPFLAGS
="${GL_CFLAGS} ${CPPFLAGS}"
19431 for ac_header
in GL
/glu.h OpenGL
/glu.h
19433 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19434 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19435 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19436 cat >>confdefs.h
<<_ACEOF
19437 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19444 CPPFLAGS
="${ax_save_CPPFLAGS}"
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL Utility library" >&5
19449 $as_echo_n "checking for OpenGL Utility library... " >&6; }
19450 if ${ax_cv_check_glu_libglu+:} false
; then :
19451 $as_echo_n "(cached) " >&6
19453 ax_cv_check_glu_libglu
="no"
19454 ax_save_CPPFLAGS
="${CPPFLAGS}"
19455 CPPFLAGS
="${GL_CFLAGS} ${CPPFLAGS}"
19456 ax_save_LIBS
="${LIBS}"
19458 LIBS
="${GL_LIBS} ${ax_save_LIBS}"
19460 ac_cpp
='$CXXCPP $CPPFLAGS'
19461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19465 if test X
$ax_compiler_ms = Xyes
; then :
19467 ac_cpp
='$CPP $CPPFLAGS'
19468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19476 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
19477 # include <windows.h>
19479 # ifdef HAVE_GL_GLU_H
19480 # include <GL/glu.h>
19481 # elif defined(HAVE_OPENGL_GLU_H)
19482 # include <OpenGL/glu.h>
19494 if ac_fn_c_try_link
"$LINENO"; then :
19495 ax_cv_check_glu_libglu
=yes
19498 ax_check_libs
="-lglu32 -lGLU"
19499 for ax_lib
in ${ax_check_libs}; do
19500 if test X
$ax_compiler_ms = Xyes
; then :
19501 ax_try_lib
=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`
19503 ax_try_lib
="${ax_lib}"
19505 LIBS
="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
19506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19509 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
19510 # include <windows.h>
19512 # ifdef HAVE_GL_GLU_H
19513 # include <GL/glu.h>
19514 # elif defined(HAVE_OPENGL_GLU_H)
19515 # include <OpenGL/glu.h>
19527 if ac_fn_c_try_link
"$LINENO"; then :
19528 ax_cv_check_glu_libglu
="${ax_try_lib}"; break
19530 rm -f core conftest.err conftest.
$ac_objext \
19531 conftest
$ac_exeext conftest.
$ac_ext
19535 rm -f core conftest.err conftest.
$ac_objext \
19536 conftest
$ac_exeext conftest.
$ac_ext
19537 if test X
$ax_compiler_ms = Xyes
; then :
19539 ac_cpp
='$CXXCPP $CPPFLAGS'
19540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19546 ac_cpp
='$CPP $CPPFLAGS'
19547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19552 LIBS
=${ax_save_LIBS}
19553 CPPFLAGS
=${ax_save_CPPFLAGS}
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_glu_libglu" >&5
19556 $as_echo "$ax_cv_check_glu_libglu" >&6; }
19557 if test "X$ax_cv_check_glu_libglu" = Xno
; then :
19558 no_glu
=yes; GLU_CFLAGS
=""; GLU_LIBS
=""
19560 if test "X$ax_cv_check_glu_libglu" = Xyes
; then :
19561 GLU_LIBS
="$GL_LIBS"
19563 GLU_LIBS
="${ax_cv_check_glu_libglu} ${GL_LIBS}"
19569 if test "X$ax_cv_check_glu_libglu" != Xno
; then :
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for varargs GLU tesselator callback function type" >&5
19571 $as_echo_n "checking for varargs GLU tesselator callback function type... " >&6; }
19572 if ${ax_cv_varargs_glu_tesscb+:} false
; then :
19573 $as_echo_n "(cached) " >&6
19575 ax_cv_varargs_glu_tesscb
=no
19576 ax_save_CFLAGS
="$CFLAGS"
19577 CFLAGS
="$GL_CFLAGS $CFLAGS"
19578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19581 # ifdef HAVE_GL_GLU_H
19582 # include <GL/glu.h>
19584 # include <OpenGL/glu.h>
19589 GLvoid (*func)(...); gluTessCallback(0, 0, func)
19594 if ac_fn_c_try_compile
"$LINENO"; then :
19595 ax_cv_varargs_glu_tesscb
=yes
19597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 CFLAGS
="$ax_save_CFLAGS"
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_varargs_glu_tesscb" >&5
19601 $as_echo "$ax_cv_varargs_glu_tesscb" >&6; }
19602 if test X
$ax_cv_varargs_glu_tesscb = Xyes
; then :
19604 $as_echo "#define HAVE_VARARGS_GLU_TESSCB 1" >>confdefs.h
19611 ax_save_CPPFLAGS
="${CPPFLAGS}"
19612 CPPFLAGS
="${GLU_CFLAGS} ${CPPFLAGS}"
19613 for ac_header
in GL
/glut.h GLUT
/glut.h
19615 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19616 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19617 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19618 cat >>confdefs.h
<<_ACEOF
19619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19626 CPPFLAGS
="${ax_save_CPPFLAGS}"
19628 GLUT_CFLAGS
=${GLU_CFLAGS}
19629 GLUT_LIBS
=${GLU_LIBS}
19633 if test X
$no_x != Xyes
; then :
19634 GLUT_LIBS
="${X_PRE_LIBS} -lXi ${X_EXTRA_LIBS} ${GLUT_LIBS}"
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLUT library" >&5
19638 $as_echo_n "checking for GLUT library... " >&6; }
19639 if ${ax_cv_check_glut_libglut+:} false
; then :
19640 $as_echo_n "(cached) " >&6
19642 ax_cv_check_glut_libglut
="no"
19644 ac_cpp
='$CPP $CPPFLAGS'
19645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19649 ax_save_CPPFLAGS
="${CPPFLAGS}"
19650 CPPFLAGS
="${GLUT_CFLAGS} ${CPPFLAGS}"
19651 ax_save_LIBS
="${LIBS}"
19653 ax_check_libs
="-lglut32 -lglut"
19654 for ax_lib
in ${ax_check_libs}; do
19655 if test X
$ax_compiler_ms = Xyes
; then :
19656 ax_try_lib
=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`
19658 ax_try_lib
="${ax_lib}"
19660 LIBS
="${ax_try_lib} ${GLUT_LIBS} ${ax_save_LIBS}"
19661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19664 # if HAVE_WINDOWS_H && defined(_WIN32)
19665 # include <windows.h>
19667 # ifdef HAVE_GL_GLUT_H
19668 # include <GL/glut.h>
19669 # elif defined(HAVE_GLUT_GLUT_H)
19670 # include <GLUT/glut.h>
19682 if ac_fn_c_try_link
"$LINENO"; then :
19683 ax_cv_check_glut_libglut
="${ax_try_lib}"; break
19685 rm -f core conftest.err conftest.
$ac_objext \
19686 conftest
$ac_exeext conftest.
$ac_ext
19689 if test "X$ax_cv_check_glut_libglut" = Xno
-a "X$no_x" = Xyes
; then :
19690 LIBS
='-framework GLUT'
19691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19694 # if HAVE_WINDOWS_H && defined(_WIN32)
19695 # include <windows.h>
19697 # ifdef HAVE_GL_GLUT_H
19698 # include <GL/glut.h>
19699 # elif defined(HAVE_GLUT_GLUT_H)
19700 # include <GLUT/glut.h>
19712 if ac_fn_c_try_link
"$LINENO"; then :
19713 ax_cv_check_glut_libglut
="$LIBS"
19715 rm -f core conftest.err conftest.
$ac_objext \
19716 conftest
$ac_exeext conftest.
$ac_ext
19719 CPPFLAGS
="${ax_save_CPPFLAGS}"
19720 LIBS
="${ax_save_LIBS}"
19722 ac_cpp
='$CPP $CPPFLAGS'
19723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_glut_libglut" >&5
19729 $as_echo "$ax_cv_check_glut_libglut" >&6; }
19731 if test "X$ax_cv_check_glut_libglut" = Xno
; then :
19732 no_glut
="yes"; GLUT_CFLAGS
=""; GLUT_LIBS
=""
19734 GLUT_LIBS
="${ax_cv_check_glut_libglut} ${GLUT_LIBS}"
19741 if test "$no_x" != "yes" -a "$no_gl" != "yes" \
19742 -a "$no_glu" != "yes" -a "$no_glut" != "yes" ; then
19746 if test "$HAVE_OPENGL" = "yes"; then
19748 HAVE_OPENGL_FALSE
='#'
19750 HAVE_OPENGL_TRUE
='#'
19757 case "${host_os}" in
19761 if test x
"$ac_cv_header_windows_h" = xyes
; then
19764 $as_echo "#define USE_WIN32_FILEIO 1" >>confdefs.h
19769 if test "$win32_io_ok" = yes; then
19785 # Check whether --enable-strip-chopping was given.
19786 if test "${enable_strip_chopping+set}" = set; then :
19787 enableval
=$enable_strip_chopping; HAVE_STRIPCHOP
=$enableval
19793 # Check whether --with-default-strip-size was given.
19794 if test "${with_default_strip_size+set}" = set; then :
19795 withval
=$with_default_strip_size;
19799 if test "$HAVE_STRIPCHOP" = "yes" \
19800 -a "x$with_default_strip_size" != "xno"; then
19802 $as_echo "#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP" >>confdefs.h
19805 if test "x$with_default_strip_size" = "x" \
19806 -o "x$with_default_strip_size" = "xyes"; then
19807 with_default_strip_size
="8192"
19811 cat >>confdefs.h
<<_ACEOF
19812 #define STRIP_SIZE_DEFAULT $with_default_strip_size
19819 # Check whether --enable-defer-strile-load was given.
19820 if test "${enable_defer_strile_load+set}" = set; then :
19821 enableval
=$enable_defer_strile_load; HAVE_DEFER_STRILE_LOAD
=$enableval
19823 HAVE_DEFER_STRILE_LOAD
=no
19827 if test "$HAVE_DEFER_STRILE_LOAD" = "yes" ; then
19829 $as_echo "#define DEFER_STRILE_LOAD 1" >>confdefs.h
19835 # Check whether --enable-chunky-strip-read was given.
19836 if test "${enable_chunky_strip_read+set}" = set; then :
19837 enableval
=$enable_chunky_strip_read; HAVE_CHUNKY_STRIP_READ
=$enableval
19839 HAVE_CHUNKY_STRIP_READ
=no
19843 if test "$HAVE_CHUNKY_STRIP_READ" = "yes" ; then
19845 $as_echo "#define CHUNKY_STRIP_READ_SUPPORT 1" >>confdefs.h
19851 $as_echo "#define SUBIFD_SUPPORT 1" >>confdefs.h
19855 # Check whether --enable-extrasample-as-alpha was given.
19856 if test "${enable_extrasample_as_alpha+set}" = set; then :
19857 enableval
=$enable_extrasample_as_alpha; HAVE_EXTRASAMPLE_AS_ALPHA
=$enableval
19859 HAVE_EXTRASAMPLE_AS_ALPHA
=yes
19863 if test "$HAVE_EXTRASAMPLE_AS_ALPHA" = "yes" ; then
19865 $as_echo "#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1" >>confdefs.h
19870 # Check whether --enable-check-ycbcr-subsampling was given.
19871 if test "${enable_check_ycbcr_subsampling+set}" = set; then :
19872 enableval
=$enable_check_ycbcr_subsampling; CHECK_JPEG_YCBCR_SUBSAMPLING
=$enableval
19874 CHECK_JPEG_YCBCR_SUBSAMPLING
=yes
19878 if test "$CHECK_JPEG_YCBCR_SUBSAMPLING" = "yes" ; then
19880 $as_echo "#define CHECK_JPEG_YCBCR_SUBSAMPLING 1" >>confdefs.h
19887 ac_config_headers
="$ac_config_headers libtiff/tif_config.h libtiff/tiffconf.h"
19890 ac_config_files
="$ac_config_files Makefile build/Makefile contrib/Makefile contrib/addtiffo/Makefile contrib/dbs/Makefile contrib/dbs/xtiff/Makefile contrib/iptcutil/Makefile contrib/mfs/Makefile contrib/pds/Makefile contrib/ras/Makefile contrib/stream/Makefile contrib/tags/Makefile contrib/win_dib/Makefile html/Makefile html/images/Makefile html/man/Makefile libtiff-4.pc libtiff/Makefile man/Makefile port/Makefile test/Makefile tools/Makefile"
19892 cat >confcache
<<\_ACEOF
19893 # This file is a shell script that caches the results of configure
19894 # tests run on this system so they can be shared between configure
19895 # scripts and configure runs, see configure's option --config-cache.
19896 # It is not useful on other systems. If it contains results you don't
19897 # want to keep, you may remove or edit it.
19899 # config.status only pays attention to the cache file if you give it
19900 # the --recheck option to rerun configure.
19902 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19903 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19904 # following values.
19908 # The following way of writing the cache mishandles newlines in values,
19909 # but we know of no workaround that is simple, portable, and efficient.
19910 # So, we kill variables containing newlines.
19911 # Ultrix sh set writes to stderr and can't be redirected directly,
19912 # and sets the high bit in the cache file unless we assign to the vars.
19914 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19915 eval ac_val
=\$
$ac_var
19919 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19923 _
| IFS
| as_nl
) ;; #(
19924 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
19925 *) { eval $ac_var=; unset $ac_var;} ;;
19931 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19932 *${as_nl}ac_space
=\
*)
19933 # `set' does not quote correctly, so add quotes: double-quote
19934 # substitution turns \\\\ into \\, and sed turns \\ into \.
19937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19940 # `set' quotes correctly as required by POSIX, so do not add quotes.
19941 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19950 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19952 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19954 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19955 if test -w "$cache_file"; then
19956 if test "x$cache_file" != "x/dev/null"; then
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19958 $as_echo "$as_me: updating cache $cache_file" >&6;}
19959 if test ! -f "$cache_file" || test -h "$cache_file"; then
19960 cat confcache
>"$cache_file"
19962 case $cache_file in #(
19964 mv -f confcache
"$cache_file"$$
&&
19965 mv -f "$cache_file"$$
"$cache_file" ;; #(
19967 mv -f confcache
"$cache_file" ;;
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19973 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19978 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19979 # Let make expand exec_prefix.
19980 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19982 DEFS
=-DHAVE_CONFIG_H
19987 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19988 # 1. Remove the extension, and $U if already installed.
19989 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19990 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19991 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19992 # will be set to the directory where LIBOBJS objects are built.
19993 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19994 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19996 LIBOBJS
=$ac_libobjs
19998 LTLIBOBJS
=$ac_ltlibobjs
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20002 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20003 if test -n "$am_sleep_pid"; then
20004 # Hide warnings about reused PIDs.
20005 wait $am_sleep_pid 2>/dev
/null
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20008 $as_echo "done" >&6; }
20009 if test -n "$EXEEXT"; then
20011 am__EXEEXT_FALSE
='#'
20013 am__EXEEXT_TRUE
='#'
20017 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20018 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20021 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20022 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20025 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20026 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20029 if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
20030 as_fn_error $?
"conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
20031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20033 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20034 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20038 if test -z "${HAVE_RPATH_TRUE}" && test -z "${HAVE_RPATH_FALSE}"; then
20039 as_fn_error $?
"conditional \"HAVE_RPATH\" was never defined.
20040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20042 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
20043 as_fn_error $?
"conditional \"HAVE_CXX\" was never defined.
20044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20046 if test -z "${HAVE_OPENGL_TRUE}" && test -z "${HAVE_OPENGL_FALSE}"; then
20047 as_fn_error $?
"conditional \"HAVE_OPENGL\" was never defined.
20048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20050 if test -z "${WIN32_IO_TRUE}" && test -z "${WIN32_IO_FALSE}"; then
20051 as_fn_error $?
"conditional \"WIN32_IO\" was never defined.
20052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20055 : "${CONFIG_STATUS=./config.status}"
20057 ac_clean_files_save
=$ac_clean_files
20058 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20060 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20062 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20064 # Generated by $as_me.
20065 # Run this file to recreate the current configuration.
20066 # Compiler output produced by configure, useful for debugging
20067 # configure, is in config.log if it exists.
20070 ac_cs_recheck=false
20073 SHELL=\${CONFIG_SHELL-$SHELL}
20076 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20077 ## -------------------- ##
20078 ## M4sh Initialization. ##
20079 ## -------------------- ##
20081 # Be more Bourne compatible
20082 DUALCASE
=1; export DUALCASE
# for MKS sh
20083 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20086 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20087 # is contrary to our usage. Disable this feature.
20088 alias -g '${1+"$@"}'='"$@"'
20089 setopt NO_GLOB_SUBST
20091 case `(set -o) 2>/dev/null` in #(
20103 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20104 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20105 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20106 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20107 # Prefer a ksh shell builtin over an external printf program on Solaris,
20108 # but without wasting forks for bash or zsh.
20109 if test -z "$BASH_VERSION$ZSH_VERSION" \
20110 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20111 as_echo='print
-r --'
20112 as_echo_n='print
-rn --'
20113 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20114 as_echo='printf %s
\n'
20115 as_echo_n='printf %s
'
20117 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20118 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20119 as_echo_n='/usr
/ucb
/echo -n'
20121 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20122 as_echo_n_body='eval
20126 expr "X$arg" : "X\\(.*\\)$as_nl";
20127 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20129 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20131 export as_echo_n_body
20132 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20134 export as_echo_body
20135 as_echo='sh
-c $as_echo_body as_echo
'
20138 # The user is always right.
20139 if test "${PATH_SEPARATOR+set}" != set; then
20141 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20142 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20149 # We need space, tab and new line, in precisely that order. Quoting is
20150 # there to prevent editors from complaining about space-tab.
20151 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20152 # splitting by setting IFS to empty value.)
20155 # Find who we are. Look in the path if we contain no directory separator.
20158 *[\\/]* ) as_myself=$0 ;;
20159 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20160 for as_dir in $PATH
20163 test -z "$as_dir" && as_dir=.
20164 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20170 # We did not find ourselves, most probably we were run as `sh COMMAND'
20171 # in which case we are not to be found in the path.
20172 if test "x$as_myself" = x
; then
20175 if test ! -f "$as_myself"; then
20176 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20180 # Unset variables that we do not need and which cause bugs (e.g. in
20181 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20182 # suppresses any "Segmentation fault" message there. '((' could
20183 # trigger a bug in pdksh 5.2.14.
20184 for as_var
in BASH_ENV ENV MAIL MAILPATH
20185 do eval test x\
${$as_var+set} = xset \
20186 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20199 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20202 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20203 # ----------------------------------------
20204 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20205 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20206 # script with STATUS, using 1 if that was 0.
20209 as_status
=$1; test $as_status -eq 0 && as_status
=1
20211 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20212 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20214 $as_echo "$as_me: error: $2" >&2
20215 as_fn_exit
$as_status
20219 # as_fn_set_status STATUS
20220 # -----------------------
20221 # Set $? to STATUS, without forking.
20222 as_fn_set_status
()
20225 } # as_fn_set_status
20227 # as_fn_exit STATUS
20228 # -----------------
20229 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20233 as_fn_set_status
$1
20239 # Portably unset VAR.
20242 { eval $1=; unset $1;}
20244 as_unset
=as_fn_unset
20245 # as_fn_append VAR VALUE
20246 # ----------------------
20247 # Append the text in VALUE to the end of the definition contained in VAR. Take
20248 # advantage of any shell optimizations that allow amortized linear growth over
20249 # repeated appends, instead of the typical quadratic growth present in naive
20251 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20252 eval 'as_fn_append ()
20263 # as_fn_arith ARG...
20264 # ------------------
20265 # Perform arithmetic evaluation on the ARGs, and store the result in the
20266 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20267 # must be portable across $(()) and expr.
20268 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20269 eval 'as_fn_arith ()
20276 as_val
=`expr "$@" || test $? -eq 1`
20281 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20282 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20288 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20289 as_basename
=basename
20294 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20300 as_me
=`$as_basename -- "$0" ||
20301 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20302 X"$0" : 'X\(//\)$' \| \
20303 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20305 sed '/^.*\/\([^/][^/]*\)\/*$/{
20319 # Avoid depending upon Character Ranges.
20320 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20321 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20322 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20323 as_cr_digits
='0123456789'
20324 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20326 ECHO_C
= ECHO_N
= ECHO_T
=
20327 case `echo -n x` in #(((((
20329 case `echo 'xy\c'` in
20330 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20332 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20339 rm -f conf$$ conf$$.exe conf$$.
file
20340 if test -d conf$$.dir
; then
20341 rm -f conf$$.dir
/conf$$.
file
20344 mkdir conf$$.dir
2>/dev
/null
20346 if (echo >conf$$.
file) 2>/dev
/null
; then
20347 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20349 # ... but there are two gotchas:
20350 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20351 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20352 # In both cases, we have to default to `cp -pR'.
20353 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20355 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20363 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20364 rmdir conf$$.dir
2>/dev
/null
20369 # Create "$as_dir" as a directory, including parents if necessary.
20374 -*) as_dir
=.
/$as_dir;;
20376 test -d "$as_dir" || eval $as_mkdir_p || {
20380 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20381 *) as_qdir
=$as_dir;;
20383 as_dirs
="'$as_qdir' $as_dirs"
20384 as_dir
=`$as_dirname -- "$as_dir" ||
20385 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20386 X"$as_dir" : 'X\(//\)[^/]' \| \
20387 X"$as_dir" : 'X\(//\)$' \| \
20388 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20389 $as_echo X"$as_dir" |
20390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20394 /^X\(\/\/\)[^/].*/{
20407 test -d "$as_dir" && break
20409 test -z "$as_dirs" || eval "mkdir $as_dirs"
20410 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20414 if mkdir -p .
2>/dev
/null
; then
20415 as_mkdir_p
='mkdir -p "$as_dir"'
20417 test -d .
/-p && rmdir .
/-p
20422 # as_fn_executable_p FILE
20423 # -----------------------
20424 # Test if FILE is an executable regular file.
20425 as_fn_executable_p
()
20427 test -f "$1" && test -x "$1"
20428 } # as_fn_executable_p
20429 as_test_x
='test -x'
20430 as_executable_p
=as_fn_executable_p
20432 # Sed expression to map a string onto a valid CPP name.
20433 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20435 # Sed expression to map a string onto a valid variable name.
20436 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20440 ## ----------------------------------- ##
20441 ## Main body of $CONFIG_STATUS script. ##
20442 ## ----------------------------------- ##
20444 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20446 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20447 # Save the log message, to keep $0 and so on meaningful, and to
20448 # report actual input values of CONFIG_FILES etc. instead of their
20449 # values after options handling.
20451 This file was extended by LibTIFF Software $as_me 4.0.3, which was
20452 generated by GNU Autoconf 2.69. Invocation command line was
20454 CONFIG_FILES = $CONFIG_FILES
20455 CONFIG_HEADERS = $CONFIG_HEADERS
20456 CONFIG_LINKS = $CONFIG_LINKS
20457 CONFIG_COMMANDS = $CONFIG_COMMANDS
20460 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20465 case $ac_config_files in *"
20466 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20469 case $ac_config_headers in *"
20470 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20475 # Files that config.status was made for.
20476 config_files="$ac_config_files"
20477 config_headers="$ac_config_headers"
20478 config_commands="$ac_config_commands"
20482 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20484 \`$as_me' instantiates files and other configuration actions
20485 from templates according to the current configuration. Unless the files
20486 and actions are specified as TAGs, all are instantiated by default.
20488 Usage: $0 [OPTION]... [TAG]...
20490 -h, --help print this help, then exit
20491 -V, --version print version number and configuration settings, then exit
20492 --config print configuration, then exit
20493 -q, --quiet, --silent
20494 do not print progress messages
20495 -d, --debug don't remove temporary files
20496 --recheck update $as_me by reconfiguring in the same conditions
20497 --file=FILE[:TEMPLATE]
20498 instantiate the configuration file FILE
20499 --header=FILE[:TEMPLATE]
20500 instantiate the configuration header FILE
20502 Configuration files:
20505 Configuration headers:
20508 Configuration commands:
20511 Report bugs to <tiff@lists.maptools.org>."
20514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20515 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20517 LibTIFF Software config.status 4.0.3
20518 configured by $0, generated by GNU Autoconf 2.69,
20519 with options \\"\$ac_cs_config\\"
20521 Copyright (C) 2012 Free Software Foundation, Inc.
20522 This config.status script is free software; the Free Software Foundation
20523 gives unlimited permission to copy, distribute and modify it."
20530 test -n "\$AWK" || AWK=awk
20533 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20534 # The default lists apply if the user does not specify any file.
20540 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20541 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20545 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20557 # Handling of the options.
20558 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20560 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20561 $as_echo "$ac_cs_version"; exit ;;
20562 --config | --confi | --conf | --con | --co | --c )
20563 $as_echo "$ac_cs_config"; exit ;;
20564 --debug | --debu | --deb | --de | --d | -d )
20566 --file | --fil | --fi | --f )
20569 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20570 '') as_fn_error $?
"missing file argument" ;;
20572 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20573 ac_need_defaults
=false
;;
20574 --header | --heade | --head | --hea )
20577 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20579 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20580 ac_need_defaults
=false
;;
20582 # Conflict between --help and --header
20583 as_fn_error $?
"ambiguous option: \`$1'
20584 Try \`$0 --help' for more information.";;
20585 --help | --hel | -h )
20586 $as_echo "$ac_cs_usage"; exit ;;
20587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20588 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20591 # This is an error.
20592 -*) as_fn_error $?
"unrecognized option: \`$1'
20593 Try \`$0 --help' for more information." ;;
20595 *) as_fn_append ac_config_targets
" $1"
20596 ac_need_defaults
=false
;;
20602 ac_configure_extra_args
=
20604 if $ac_cs_silent; then
20606 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20611 if \$ac_cs_recheck; then
20612 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20614 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20615 CONFIG_SHELL='$SHELL'
20616 export CONFIG_SHELL
20621 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20625 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20626 ## Running $as_me. ##
20632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20639 # The HP-UX ksh and POSIX shell print the target directory to stdout
20640 # if CDPATH is set.
20641 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20643 sed_quote_subst='$sed_quote_subst'
20644 double_quote_subst='$double_quote_subst'
20645 delay_variable_subst='$delay_variable_subst'
20646 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20647 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20648 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20649 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20650 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20651 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20652 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20653 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20654 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20655 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20656 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20657 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20658 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20659 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20660 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20661 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20662 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20663 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20664 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20665 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20666 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20667 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20668 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20669 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20670 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20671 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20672 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20673 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20674 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20675 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20676 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20677 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20678 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20679 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20680 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20681 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20682 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20683 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20684 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20685 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20686 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20687 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20688 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20689 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20690 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20691 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20692 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20693 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20694 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20695 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20696 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20697 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20698 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20699 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20700 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20701 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20702 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20703 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20704 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20705 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20706 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20707 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20708 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20709 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20710 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20711 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20712 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20713 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20714 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20715 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20716 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20717 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20718 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20719 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20720 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20721 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20722 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20723 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20724 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20725 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20726 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20727 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20728 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20729 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20730 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20731 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20732 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20733 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20734 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20735 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20736 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20737 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20738 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20739 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20740 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20741 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20742 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20743 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20744 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20745 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20746 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20747 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20748 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20749 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20750 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20751 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20752 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20753 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20754 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20755 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20756 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20757 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20758 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20759 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20760 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20761 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20762 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20763 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20764 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20765 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20766 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20767 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20768 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20769 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20770 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20771 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20772 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20773 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20774 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20775 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20776 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20777 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20778 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20779 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20780 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20781 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20782 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20783 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20784 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20785 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20786 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20787 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20788 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20789 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20790 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20791 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20792 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20793 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20794 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20795 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20796 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20797 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20798 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20799 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20800 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20801 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20802 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20803 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20804 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20805 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20806 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20807 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20808 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20809 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20810 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20811 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20812 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20813 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20814 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20815 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20816 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20817 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20818 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20819 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20820 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20821 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20822 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20823 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20824 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20825 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20826 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20827 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20828 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20829 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20830 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20833 LTCFLAGS='$LTCFLAGS'
20834 compiler='$compiler_DEFAULT'
20836 # A function that is used when there is no print builtin or printf.
20837 func_fallback_echo ()
20839 eval 'cat <<_LTECHO_EOF
20844 # Quote evaled strings.
20861 deplibs_check_method \
20865 sharedlib_from_linklib_cmd \
20868 archiver_list_spec \
20874 lt_cv_sys_global_symbol_pipe \
20875 lt_cv_sys_global_symbol_to_cdecl \
20876 lt_cv_sys_global_symbol_to_c_name_address \
20877 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20878 nm_file_list_spec \
20879 lt_prog_compiler_no_builtin_flag \
20880 lt_prog_compiler_pic \
20881 lt_prog_compiler_wl \
20882 lt_prog_compiler_static \
20883 lt_cv_prog_compiler_c_o \
20892 export_dynamic_flag_spec \
20893 whole_archive_flag_spec \
20894 compiler_needs_object \
20896 allow_undefined_flag \
20897 no_undefined_flag \
20898 hardcode_libdir_flag_spec \
20899 hardcode_libdir_separator \
20903 variables_saved_for_relink \
20905 library_names_spec \
20907 install_override_mode \
20911 compiler_lib_search_dirs \
20916 compiler_lib_search_path \
20920 lt_prog_compiler_no_builtin_flag_CXX \
20921 lt_prog_compiler_pic_CXX \
20922 lt_prog_compiler_wl_CXX \
20923 lt_prog_compiler_static_CXX \
20924 lt_cv_prog_compiler_c_o_CXX \
20925 export_dynamic_flag_spec_CXX \
20926 whole_archive_flag_spec_CXX \
20927 compiler_needs_object_CXX \
20929 allow_undefined_flag_CXX \
20930 no_undefined_flag_CXX \
20931 hardcode_libdir_flag_spec_CXX \
20932 hardcode_libdir_separator_CXX \
20933 exclude_expsyms_CXX \
20934 include_expsyms_CXX \
20935 file_list_spec_CXX \
20936 compiler_lib_search_dirs_CXX \
20937 predep_objects_CXX \
20938 postdep_objects_CXX \
20941 compiler_lib_search_path_CXX; do
20942 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20943 *[\\\\\\\`\\"\\\$]*)
20944 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20947 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20952 # Double-quote double-evaled strings.
20953 for var in reload_cmds \
20954 old_postinstall_cmds \
20955 old_postuninstall_cmds \
20957 extract_expsyms_cmds \
20958 old_archive_from_new_cmds \
20959 old_archive_from_expsyms_cmds \
20961 archive_expsym_cmds \
20963 module_expsym_cmds \
20964 export_symbols_cmds \
20968 postuninstall_cmds \
20970 sys_lib_search_path_spec \
20971 sys_lib_dlsearch_path_spec \
20973 old_archive_cmds_CXX \
20974 old_archive_from_new_cmds_CXX \
20975 old_archive_from_expsyms_cmds_CXX \
20977 archive_expsym_cmds_CXX \
20979 module_expsym_cmds_CXX \
20980 export_symbols_cmds_CXX \
20982 postlink_cmds_CXX; do
20983 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20984 *[\\\\\\\`\\"\\\$]*)
20985 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20988 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20993 ac_aux_dir='$ac_aux_dir'
20994 xsi_shell='$xsi_shell'
20995 lt_shell_append='$lt_shell_append'
20997 # See if we are running on zsh, and set the options which allow our
20998 # commands through without removal of \ escapes INIT.
20999 if test -n "\${ZSH_VERSION+set}" ; then
21000 setopt NO_GLOB_SUBST
21006 TIMESTAMP='$TIMESTAMP'
21017 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21019 # Handling of arguments.
21020 for ac_config_target
in $ac_config_targets
21022 case $ac_config_target in
21023 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21024 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21025 "libtiff/tif_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS libtiff/tif_config.h" ;;
21026 "libtiff/tiffconf.h") CONFIG_HEADERS
="$CONFIG_HEADERS libtiff/tiffconf.h" ;;
21027 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21028 "build/Makefile") CONFIG_FILES
="$CONFIG_FILES build/Makefile" ;;
21029 "contrib/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/Makefile" ;;
21030 "contrib/addtiffo/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/addtiffo/Makefile" ;;
21031 "contrib/dbs/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/dbs/Makefile" ;;
21032 "contrib/dbs/xtiff/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/dbs/xtiff/Makefile" ;;
21033 "contrib/iptcutil/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/iptcutil/Makefile" ;;
21034 "contrib/mfs/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/mfs/Makefile" ;;
21035 "contrib/pds/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/pds/Makefile" ;;
21036 "contrib/ras/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/ras/Makefile" ;;
21037 "contrib/stream/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/stream/Makefile" ;;
21038 "contrib/tags/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/tags/Makefile" ;;
21039 "contrib/win_dib/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/win_dib/Makefile" ;;
21040 "html/Makefile") CONFIG_FILES
="$CONFIG_FILES html/Makefile" ;;
21041 "html/images/Makefile") CONFIG_FILES
="$CONFIG_FILES html/images/Makefile" ;;
21042 "html/man/Makefile") CONFIG_FILES
="$CONFIG_FILES html/man/Makefile" ;;
21043 "libtiff-4.pc") CONFIG_FILES
="$CONFIG_FILES libtiff-4.pc" ;;
21044 "libtiff/Makefile") CONFIG_FILES
="$CONFIG_FILES libtiff/Makefile" ;;
21045 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
21046 "port/Makefile") CONFIG_FILES
="$CONFIG_FILES port/Makefile" ;;
21047 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
21048 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21050 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21055 # If the user did not use the arguments to specify the items to instantiate,
21056 # then the envvar interface is used. Set only those that are not.
21057 # We use the long form for the default assignment because of an extremely
21058 # bizarre bug on SunOS 4.1.3.
21059 if $ac_need_defaults; then
21060 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21061 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21062 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21065 # Have a temporary directory for convenience. Make it in the build tree
21066 # simply because there is no reason against having it here, and in addition,
21067 # creating and moving files from /tmp can sometimes cause problems.
21068 # Hook for its removal unless debugging.
21069 # Note that there is a small window in which the directory will not be cleaned:
21070 # after its creation but before its name has been assigned to `$tmp'.
21074 trap 'exit_status=$?
21075 : "${ac_tmp:=$tmp}"
21076 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21078 trap 'as_fn_exit 1' 1 2 13 15
21080 # Create a (secure) tmp directory for tmp files.
21083 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21087 tmp
=.
/conf$$
-$RANDOM
21088 (umask 077 && mkdir "$tmp")
21089 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21092 # Set up the scripts for CONFIG_FILES section.
21093 # No need to generate them if there are no CONFIG_FILES.
21094 # This happens for instance with `./config.status config.h'.
21095 if test -n "$CONFIG_FILES"; then
21098 ac_cr
=`echo X | tr X '\015'`
21099 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21100 # But we know of no other shell where ac_cr would be empty at this
21101 # point, so we can use a bashism as a fallback.
21102 if test "x$ac_cr" = x
; then
21103 eval ac_cr
=\$
\'\\r
\'
21105 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21106 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21109 ac_cs_awk_cr
=$ac_cr
21112 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21117 echo "cat >conf$$subs.awk <<_ACEOF" &&
21118 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21120 } >conf$$subs.sh ||
21121 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21122 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21124 for ac_last_try in false false false false false :; do
21125 . ./conf$$subs.sh ||
21126 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21128 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21129 if test $ac_delim_n = $ac_delim_num; then
21131 elif $ac_last_try; then
21132 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21134 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21137 rm -f conf$$subs.sh
21139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21140 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21144 s/^/S["/; s
/!.
*/"]=/
21154 s/\(.\{148\}\)..*/\1/
21156 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21161 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21168 s/\(.\{148\}\)..*/\1/
21170 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21174 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21179 ' <conf$$subs.awk | sed '
21184 ' >>$CONFIG_STATUS || ac_write_fail=1
21185 rm -f conf$$subs.awk
21186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21188 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21189 for (key in S) S_is_set[key] = 1
21195 nfields = split(line, field, "@
")
21197 len = length(field[1])
21198 for (i = 2; i < nfields; i++) {
21200 keylen = length(key)
21201 if (S_is_set[key]) {
21203 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21204 len += length(value) + length(field[++i])
21215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21216 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21217 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21220 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21221 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21224 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21225 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21226 # trailing colons and then remove the whole line if VPATH becomes empty
21227 # (actually we leave an empty line to preserve line numbers).
21228 if test "x
$srcdir" = x.; then
21229 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21248 fi # test -n "$CONFIG_FILES"
21250 # Set up the scripts for CONFIG_HEADERS section.
21251 # No need to generate them if there are no CONFIG_HEADERS.
21252 # This happens for instance with `./config.status Makefile'.
21253 if test -n "$CONFIG_HEADERS"; then
21254 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21258 # Transform confdefs.h into an awk script `defines.awk', embedded as
21259 # here-document in config.status, that substitutes the proper values into
21260 # config.h.in to produce config.h.
21262 # Create a delimiter string that does not exist in confdefs.h, to ease
21263 # handling of long lines.
21265 for ac_last_try in false false :; do
21266 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21267 if test -z "$ac_tt"; then
21269 elif $ac_last_try; then
21270 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21272 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21276 # For the awk script, D is an array of macro values keyed by name,
21277 # likewise P contains macro parameters if any. Preserve backslash
21278 # newline sequences.
21280 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21282 s/.\{148\}/&'"$ac_delim"'/g
21285 s/^[ ]*#[ ]*define[ ][ ]*/ /
21292 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21294 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21298 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21299 D["\
1"]=" \
3\\\\\\n
"\\/p
21301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21306 s/.\{148\}/&'"$ac_delim"'/g
21311 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21314 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21316 ' <confdefs.h | sed '
21317 s/'"$ac_delim"'/"\\\
21318 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21321 for (key in D) D_is_set[key] = 1
21324 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21326 split(line, arg, " ")
21327 if (arg[1] == "#") {
21331 defundef
= substr
(arg
[1], 2)
21334 split(mac1
, mac2
, "(") #)
21336 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21337 if (D_is_set
[macro
]) {
21338 # Preserve the white space surrounding the "#".
21339 print prefix
"define", macro P
[macro
] D
[macro
]
21342 # Replace #undef with comments. This is necessary, for example,
21343 # in the case of _POSIX_SOURCE, which is predefined and required
21344 # on some systems where configure will not decide to define it.
21345 if (defundef
== "undef") {
21346 print
"/*", prefix defundef
, macro
, "*/"
21354 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21355 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21356 fi # test -n "$CONFIG_HEADERS"
21359 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21364 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21366 case $ac_mode$ac_tag in
21368 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21369 :[FH
]-) ac_tag
=-:-;;
21370 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21387 -) ac_f
="$ac_tmp/stdin";;
21388 *) # Look for the file first in the build tree, then in the source tree
21389 # (if the path is not absolute). The absolute path cannot be DOS-style,
21390 # because $ac_f cannot contain `:'.
21394 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21396 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21398 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21399 as_fn_append ac_file_inputs
" '$ac_f'"
21402 # Let's still pretend it is `configure' which instantiates (i.e., don't
21403 # use $as_me), people would be surprised to read:
21404 # /* config.h. Generated by config.status. */
21405 configure_input
='Generated from '`
21406 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21408 if test x
"$ac_file" != x
-; then
21409 configure_input
="$ac_file. $configure_input"
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21411 $as_echo "$as_me: creating $ac_file" >&6;}
21413 # Neutralize special characters interpreted by sed in replacement strings.
21414 case $configure_input in #(
21415 *\
&* | *\
|* | *\\* )
21416 ac_sed_conf_input
=`$as_echo "$configure_input" |
21417 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21418 *) ac_sed_conf_input
=$configure_input;;
21422 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21423 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21428 ac_dir
=`$as_dirname -- "$ac_file" ||
21429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21430 X"$ac_file" : 'X\(//\)[^/]' \| \
21431 X"$ac_file" : 'X\(//\)$' \| \
21432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21433 $as_echo X"$ac_file" |
21434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21438 /^X\(\/\/\)[^/].*/{
21451 as_dir
="$ac_dir"; as_fn_mkdir_p
21455 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21457 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21458 # A ".." for each directory in $ac_dir_suffix.
21459 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21460 case $ac_top_builddir_sub in
21461 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21462 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21465 ac_abs_top_builddir
=$ac_pwd
21466 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21467 # for backward compatibility:
21468 ac_top_builddir
=$ac_top_build_prefix
21471 .
) # We are building in place.
21473 ac_top_srcdir
=$ac_top_builddir_sub
21474 ac_abs_top_srcdir
=$ac_pwd ;;
21475 [\\/]* | ?
:[\\/]* ) # Absolute name.
21476 ac_srcdir
=$srcdir$ac_dir_suffix;
21477 ac_top_srcdir
=$srcdir
21478 ac_abs_top_srcdir
=$srcdir ;;
21479 *) # Relative name.
21480 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21481 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21482 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21484 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21494 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21495 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21497 ac_MKDIR_P
=$MKDIR_P
21499 [\\/$
]* | ?
:[\\/]* ) ;;
21500 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21504 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21505 # If the template does not know about datarootdir, expand it.
21506 # FIXME: This hack should be removed a few years after 2.60.
21507 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21518 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21519 *datarootdir
*) ac_datarootdir_seen
=yes;;
21520 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21522 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21525 ac_datarootdir_hack='
21526 s&@datadir@&$datadir&g
21527 s&@docdir@&$docdir&g
21528 s&@infodir@&$infodir&g
21529 s&@localedir@&$localedir&g
21530 s&@mandir@&$mandir&g
21531 s&\\\${datarootdir}&$datarootdir&g' ;;
21535 # Neutralize VPATH when `$srcdir' = `.'.
21536 # Shell code in configure.ac might set extrasub.
21537 # FIXME: do we really want to maintain this feature?
21538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21539 ac_sed_extra="$ac_vpsub
21542 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21544 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21545 s
|@configure_input@
|$ac_sed_conf_input|;t t
21546 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21547 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21548 s
&@srcdir@
&$ac_srcdir&;t t
21549 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21550 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21551 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21552 s
&@builddir@
&$ac_builddir&;t t
21553 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21554 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21555 s
&@INSTALL@
&$ac_INSTALL&;t t
21556 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21557 $ac_datarootdir_hack
21559 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21560 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21562 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21563 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21565 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21567 which seems to be undefined. Please make sure it is defined" >&5
21568 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21569 which seems to be undefined. Please make sure it is defined" >&2;}
21571 rm -f "$ac_tmp/stdin"
21573 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21574 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21582 if test x"$ac_file" != x-; then
21584 $as_echo "/* $configure_input */" \
21585 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21586 } >"$ac_tmp/config.h" \
21587 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21588 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21590 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21593 mv "$ac_tmp/config.h" "$ac_file" \
21594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21597 $as_echo "/* $configure_input */" \
21598 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21599 || as_fn_error $? "could not create -" "$LINENO" 5
21601 # Compute "$ac_file"'s index
in $config_headers.
21604 for _am_header
in $config_headers :; do
21605 case $_am_header in
21606 $_am_arg | $_am_arg:* )
21609 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21612 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21613 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21614 X"$_am_arg" : 'X\(//\)[^/]' \| \
21615 X"$_am_arg" : 'X\(//\)$' \| \
21616 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21617 $as_echo X"$_am_arg" |
21618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21622 /^X\(\/\/\)[^/].*/{
21634 s/.*/./; q'`/stamp
-h$_am_stamp_count
21637 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21638 $as_echo "$as_me: executing $ac_file commands" >&6;}
21643 case $ac_file$ac_mode in
21644 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
21645 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21646 # are listed without --file. Let's play safe and only enable the eval
21647 # if we detect the quoting.
21648 case $CONFIG_FILES in
21649 *\'*) eval set x
"$CONFIG_FILES" ;;
21650 *) set x
$CONFIG_FILES ;;
21655 # Strip MF so we end up with the name of the file.
21656 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21657 # Check whether this is an Automake generated Makefile or not.
21658 # We used to match only the files named 'Makefile.in', but
21659 # some people rename them; so instead we look at the file content.
21660 # Grep'ing the first line is not enough: some people post-process
21661 # each Makefile.in and add a new line on top of each file to say so.
21662 # Grep'ing the whole file is not good either: AIX grep has a line
21663 # limit of 2048, but all sed's we know have understand at least 4000.
21664 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
21665 dirpart
=`$as_dirname -- "$mf" ||
21666 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21667 X"$mf" : 'X\(//\)[^/]' \| \
21668 X"$mf" : 'X\(//\)$' \| \
21669 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21675 /^X\(\/\/\)[^/].*/{
21691 # Extract the definition of DEPDIR, am__include, and am__quote
21692 # from the Makefile without running 'make'.
21693 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21694 test -z "$DEPDIR" && continue
21695 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21696 test -z "am__include" && continue
21697 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21698 # Find all dependency output files, they are included files with
21699 # $(DEPDIR) in their names. We invoke sed twice because it is the
21700 # simplest approach to changing $(DEPDIR) to its actual value in the
21702 for file in `sed -n "
21703 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21704 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21705 # Make sure the directory exists.
21706 test -f "$dirpart/$file" && continue
21707 fdir
=`$as_dirname -- "$file" ||
21708 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21709 X"$file" : 'X\(//\)[^/]' \| \
21710 X"$file" : 'X\(//\)$' \| \
21711 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21712 $as_echo X"$file" |
21713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21717 /^X\(\/\/\)[^/].*/{
21730 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21731 # echo "creating $dirpart/$file"
21732 echo '# dummy' > "$dirpart/$file"
21739 # See if we are running on zsh, and set the options which allow our
21740 # commands through without removal of \ escapes.
21741 if test -n "${ZSH_VERSION+set}" ; then
21742 setopt NO_GLOB_SUBST
21745 cfgfile
="${ofile}T"
21746 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21749 cat <<_LT_EOF >> "$cfgfile"
21752 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21753 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21754 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21755 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21757 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21758 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21760 # Written by Gordon Matzigkeit, 1996
21762 # This file is part of GNU Libtool.
21764 # GNU Libtool is free software; you can redistribute it and/or
21765 # modify it under the terms of the GNU General Public License as
21766 # published by the Free Software Foundation; either version 2 of
21767 # the License, or (at your option) any later version.
21769 # As a special exception to the GNU General Public License,
21770 # if you distribute this file as part of a program or library that
21771 # is built using GNU Libtool, you may include this file under the
21772 # same distribution terms that you use for the rest of that program.
21774 # GNU Libtool is distributed in the hope that it will be useful,
21775 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21776 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21777 # GNU General Public License for more details.
21779 # You should have received a copy of the GNU General Public License
21780 # along with GNU Libtool; see the file COPYING. If not, a copy
21781 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21782 # obtained by writing to the Free Software Foundation, Inc.,
21783 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21786 # The names of the tagged configurations supported by this script.
21787 available_tags="CXX "
21789 # ### BEGIN LIBTOOL CONFIG
21791 # Which release of libtool.m4 was used?
21792 macro_version=$macro_version
21793 macro_revision=$macro_revision
21795 # Assembler program.
21798 # DLL creation program.
21799 DLLTOOL=$lt_DLLTOOL
21801 # Object dumper program.
21802 OBJDUMP=$lt_OBJDUMP
21804 # Whether or not to build shared libraries.
21805 build_libtool_libs=$enable_shared
21807 # Whether or not to build static libraries.
21808 build_old_libs=$enable_static
21810 # What type of objects to build.
21813 # Whether or not to optimize for fast installation.
21814 fast_install=$enable_fast_install
21816 # Shell to use when invoking shell scripts.
21819 # An echo program that protects backslashes.
21822 # The PATH separator for the build system.
21823 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21826 host_alias=$host_alias
21830 # The build system.
21831 build_alias=$build_alias
21835 # A sed program that does not truncate output.
21838 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21839 Xsed="\$SED -e 1s/^X//"
21841 # A grep program that handles long lines.
21847 # A literal string matcher.
21850 # A BSD- or MS-compatible name lister.
21853 # Whether we need soft or hard links.
21856 # What is the maximum length of a command?
21857 max_cmd_len=$max_cmd_len
21859 # Object file suffix (normally "o").
21862 # Executable file suffix (normally "").
21865 # whether the shell understands "unset".
21868 # turn spaces into newlines.
21871 # turn newlines into spaces.
21874 # convert \$build file names to \$host format.
21875 to_host_file_cmd=$lt_cv_to_host_file_cmd
21877 # convert \$build files to toolchain format.
21878 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21880 # Method to check whether dependent libraries are shared objects.
21881 deplibs_check_method=$lt_deplibs_check_method
21883 # Command to use when deplibs_check_method = "file_magic".
21884 file_magic_cmd=$lt_file_magic_cmd
21886 # How to find potential files when deplibs_check_method = "file_magic".
21887 file_magic_glob=$lt_file_magic_glob
21889 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21890 want_nocaseglob=$lt_want_nocaseglob
21892 # Command to associate shared and link libraries.
21893 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21898 # Flags to create an archive.
21899 AR_FLAGS=$lt_AR_FLAGS
21901 # How to feed a file listing to the archiver.
21902 archiver_list_spec=$lt_archiver_list_spec
21904 # A symbol stripping program.
21907 # Commands used to install an old-style archive.
21909 old_postinstall_cmds=$lt_old_postinstall_cmds
21910 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21912 # Whether to use a lock for old archive extraction.
21913 lock_old_archive_extraction=$lock_old_archive_extraction
21918 # LTCC compiler flags.
21919 LTCFLAGS=$lt_CFLAGS
21921 # Take the output of nm and produce a listing of raw symbols and C names.
21922 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21924 # Transform the output of nm in a proper C declaration.
21925 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21927 # Transform the output of nm in a C name address pair.
21928 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21930 # Transform the output of nm in a C name address pair when lib prefix is needed.
21931 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21933 # Specify filename containing input files for \$NM.
21934 nm_file_list_spec=$lt_nm_file_list_spec
21936 # The root where to search for dependent libraries,and in which our libraries should be installed.
21937 lt_sysroot=$lt_sysroot
21939 # The name of the directory that contains temporary libtool files.
21942 # Used to examine libraries when file_magic_cmd begins with "file".
21943 MAGIC_CMD=$MAGIC_CMD
21945 # Must we lock files when doing compilation?
21946 need_locks=$lt_need_locks
21949 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21951 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21952 DSYMUTIL=$lt_DSYMUTIL
21954 # Tool to change global to local symbols on Mac OS X.
21957 # Tool to manipulate fat objects and archives on Mac OS X.
21960 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21963 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21964 OTOOL64=$lt_OTOOL64
21966 # Old archive suffix (normally "a").
21969 # Shared library suffix (normally ".so").
21970 shrext_cmds=$lt_shrext_cmds
21972 # The commands to extract the exported symbol list from a shared archive.
21973 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21975 # Variables whose values should be saved in libtool wrapper scripts and
21976 # restored at link time.
21977 variables_saved_for_relink=$lt_variables_saved_for_relink
21979 # Do we need the "lib" prefix for modules?
21980 need_lib_prefix=$need_lib_prefix
21982 # Do we need a version for libraries?
21983 need_version=$need_version
21985 # Library versioning type.
21986 version_type=$version_type
21988 # Shared library runtime path variable.
21989 runpath_var=$runpath_var
21991 # Shared library path variable.
21992 shlibpath_var=$shlibpath_var
21994 # Is shlibpath searched before the hard-coded library search path?
21995 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21997 # Format of library name prefix.
21998 libname_spec=$lt_libname_spec
22000 # List of archive names. First name is the real one, the rest are links.
22001 # The last name is the one that the linker finds with -lNAME
22002 library_names_spec=$lt_library_names_spec
22004 # The coded name of the library, if different from the real name.
22005 soname_spec=$lt_soname_spec
22007 # Permission mode override for installation of shared libraries.
22008 install_override_mode=$lt_install_override_mode
22010 # Command to use after installation of a shared archive.
22011 postinstall_cmds=$lt_postinstall_cmds
22013 # Command to use after uninstallation of a shared archive.
22014 postuninstall_cmds=$lt_postuninstall_cmds
22016 # Commands used to finish a libtool library installation in a directory.
22017 finish_cmds=$lt_finish_cmds
22019 # As "finish_cmds", except a single script fragment to be evaled but
22021 finish_eval=$lt_finish_eval
22023 # Whether we should hardcode library paths into libraries.
22024 hardcode_into_libs=$hardcode_into_libs
22026 # Compile-time system search path for libraries.
22027 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22029 # Run-time system search path for libraries.
22030 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22032 # Whether dlopen is supported.
22033 dlopen_support=$enable_dlopen
22035 # Whether dlopen of programs is supported.
22036 dlopen_self=$enable_dlopen_self
22038 # Whether dlopen of statically linked programs is supported.
22039 dlopen_self_static=$enable_dlopen_self_static
22041 # Commands to strip libraries.
22042 old_striplib=$lt_old_striplib
22043 striplib=$lt_striplib
22046 # The linker used to build libraries.
22049 # How to create reloadable object files.
22050 reload_flag=$lt_reload_flag
22051 reload_cmds=$lt_reload_cmds
22053 # Commands used to build an old-style archive.
22054 old_archive_cmds=$lt_old_archive_cmds
22056 # A language specific compiler.
22059 # Is the compiler the GNU compiler?
22062 # Compiler flag to turn off builtin functions.
22063 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22065 # Additional compiler flags for building library objects.
22066 pic_flag=$lt_lt_prog_compiler_pic
22068 # How to pass a linker flag through the compiler.
22069 wl=$lt_lt_prog_compiler_wl
22071 # Compiler flag to prevent dynamic linking.
22072 link_static_flag=$lt_lt_prog_compiler_static
22074 # Does compiler simultaneously support -c and -o options?
22075 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22077 # Whether or not to add -lc for building shared libraries.
22078 build_libtool_need_lc=$archive_cmds_need_lc
22080 # Whether or not to disallow shared libs when runtime libs are static.
22081 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22083 # Compiler flag to allow reflexive dlopens.
22084 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22086 # Compiler flag to generate shared objects directly from archives.
22087 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22089 # Whether the compiler copes with passing no objects directly.
22090 compiler_needs_object=$lt_compiler_needs_object
22092 # Create an old-style archive from a shared archive.
22093 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22095 # Create a temporary old-style archive to link instead of a shared archive.
22096 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22098 # Commands used to build a shared archive.
22099 archive_cmds=$lt_archive_cmds
22100 archive_expsym_cmds=$lt_archive_expsym_cmds
22102 # Commands used to build a loadable module if different from building
22103 # a shared archive.
22104 module_cmds=$lt_module_cmds
22105 module_expsym_cmds=$lt_module_expsym_cmds
22107 # Whether we are building with GNU ld or not.
22108 with_gnu_ld=$lt_with_gnu_ld
22110 # Flag that allows shared libraries with undefined symbols to be built.
22111 allow_undefined_flag=$lt_allow_undefined_flag
22113 # Flag that enforces no undefined symbols.
22114 no_undefined_flag=$lt_no_undefined_flag
22116 # Flag to hardcode \$libdir into a binary during linking.
22117 # This must work even if \$libdir does not exist
22118 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22120 # Whether we need a single "-rpath" flag with a separated argument.
22121 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22123 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22124 # DIR into the resulting binary.
22125 hardcode_direct=$hardcode_direct
22127 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22128 # DIR into the resulting binary and the resulting library dependency is
22129 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22130 # library is relocated.
22131 hardcode_direct_absolute=$hardcode_direct_absolute
22133 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22134 # into the resulting binary.
22135 hardcode_minus_L=$hardcode_minus_L
22137 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22138 # into the resulting binary.
22139 hardcode_shlibpath_var=$hardcode_shlibpath_var
22141 # Set to "yes" if building a shared library automatically hardcodes DIR
22142 # into the library and all subsequent libraries and executables linked
22144 hardcode_automatic=$hardcode_automatic
22146 # Set to yes if linker adds runtime paths of dependent libraries
22147 # to runtime path list.
22148 inherit_rpath=$inherit_rpath
22150 # Whether libtool must link a program against all its dependency libraries.
22151 link_all_deplibs=$link_all_deplibs
22153 # Set to "yes" if exported symbols are required.
22154 always_export_symbols=$always_export_symbols
22156 # The commands to list exported symbols.
22157 export_symbols_cmds=$lt_export_symbols_cmds
22159 # Symbols that should not be listed in the preloaded symbols.
22160 exclude_expsyms=$lt_exclude_expsyms
22162 # Symbols that must always be exported.
22163 include_expsyms=$lt_include_expsyms
22165 # Commands necessary for linking programs (against libraries) with templates.
22166 prelink_cmds=$lt_prelink_cmds
22168 # Commands necessary for finishing linking programs.
22169 postlink_cmds=$lt_postlink_cmds
22171 # Specify filename containing input files.
22172 file_list_spec=$lt_file_list_spec
22174 # How to hardcode a shared library path into an executable.
22175 hardcode_action=$hardcode_action
22177 # The directories searched by this compiler when creating a shared library.
22178 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22180 # Dependencies to place before and after the objects being linked to
22181 # create a shared library.
22182 predep_objects=$lt_predep_objects
22183 postdep_objects=$lt_postdep_objects
22184 predeps=$lt_predeps
22185 postdeps=$lt_postdeps
22187 # The library search path used internally by the compiler when linking
22188 # a shared library.
22189 compiler_lib_search_path=$lt_compiler_lib_search_path
22191 # ### END LIBTOOL CONFIG
22197 cat <<\_LT_EOF
>> "$cfgfile"
22198 # AIX sometimes has problems with the GCC collect2 program. For some
22199 # reason, if we set the COLLECT_NAMES environment variable, the problems
22200 # vanish in a puff of smoke.
22201 if test "X${COLLECT_NAMES+set}" != Xset
; then
22203 export COLLECT_NAMES
22210 ltmain
="$ac_aux_dir/ltmain.sh"
22213 # We use sed instead of cat because bash on DJGPP gets confused if
22214 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22215 # text mode, it properly converts lines to CR/LF. This bash problem
22216 # is reportedly fixed, but why not run on old versions too?
22217 sed '$q' "$ltmain" >> "$cfgfile" \
22218 || (rm -f "$cfgfile"; exit 1)
22220 if test x
"$xsi_shell" = xyes
; then
22221 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22225 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22226 \ * ) func_dirname_result="${3}" ;;\
22228 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22229 && mv -f "$cfgfile.tmp" "$cfgfile" \
22230 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22231 test 0 -eq $?
|| _lt_function_replace_fail
=:
22234 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22237 \ func_basename_result="${1##*/}"\
22238 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22239 && mv -f "$cfgfile.tmp" "$cfgfile" \
22240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22241 test 0 -eq $?
|| _lt_function_replace_fail
=:
22244 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22245 func_dirname_and_basename ()\
22248 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22249 \ * ) func_dirname_result="${3}" ;;\
22251 \ func_basename_result="${1##*/}"\
22252 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22253 && mv -f "$cfgfile.tmp" "$cfgfile" \
22254 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22255 test 0 -eq $?
|| _lt_function_replace_fail
=:
22258 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22261 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22262 \ # positional parameters, so assign one to ordinary parameter first.\
22263 \ func_stripname_result=${3}\
22264 \ func_stripname_result=${func_stripname_result#"${1}"}\
22265 \ func_stripname_result=${func_stripname_result%"${2}"}\
22266 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22267 && mv -f "$cfgfile.tmp" "$cfgfile" \
22268 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22269 test 0 -eq $?
|| _lt_function_replace_fail
=:
22272 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22273 func_split_long_opt ()\
22275 \ func_split_long_opt_name=${1%%=*}\
22276 \ func_split_long_opt_arg=${1#*=}\
22277 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22278 && mv -f "$cfgfile.tmp" "$cfgfile" \
22279 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22280 test 0 -eq $?
|| _lt_function_replace_fail
=:
22283 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22284 func_split_short_opt ()\
22286 \ func_split_short_opt_arg=${1#??}\
22287 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22288 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22289 && mv -f "$cfgfile.tmp" "$cfgfile" \
22290 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22291 test 0 -eq $?
|| _lt_function_replace_fail
=:
22294 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22298 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22299 \ *) func_lo2o_result=${1} ;;\
22301 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22302 && mv -f "$cfgfile.tmp" "$cfgfile" \
22303 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22304 test 0 -eq $?
|| _lt_function_replace_fail
=:
22307 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22310 func_xform_result=${1%.*}.lo\
22311 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22312 && mv -f "$cfgfile.tmp" "$cfgfile" \
22313 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22314 test 0 -eq $?
|| _lt_function_replace_fail
=:
22317 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22320 func_arith_result=$(( $* ))\
22321 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22322 && mv -f "$cfgfile.tmp" "$cfgfile" \
22323 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22324 test 0 -eq $?
|| _lt_function_replace_fail
=:
22327 sed -e '/^func_len ()$/,/^} # func_len /c\
22330 func_len_result=${#1}\
22331 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22332 && mv -f "$cfgfile.tmp" "$cfgfile" \
22333 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22334 test 0 -eq $?
|| _lt_function_replace_fail
=:
22338 if test x
"$lt_shell_append" = xyes
; then
22339 sed -e '/^func_append ()$/,/^} # func_append /c\
22342 eval "${1}+=\\${2}"\
22343 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22344 && mv -f "$cfgfile.tmp" "$cfgfile" \
22345 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22346 test 0 -eq $?
|| _lt_function_replace_fail
=:
22349 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22350 func_append_quoted ()\
22352 \ func_quote_for_eval "${2}"\
22353 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22354 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22355 && mv -f "$cfgfile.tmp" "$cfgfile" \
22356 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22357 test 0 -eq $?
|| _lt_function_replace_fail
=:
22360 # Save a `func_append' function call where possible by direct use of '+='
22361 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22362 && mv -f "$cfgfile.tmp" "$cfgfile" \
22363 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22364 test 0 -eq $?
|| _lt_function_replace_fail
=:
22366 # Save a `func_append' function call even when '+=' is not available
22367 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22368 && mv -f "$cfgfile.tmp" "$cfgfile" \
22369 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22370 test 0 -eq $?
|| _lt_function_replace_fail
=:
22373 if test x
"$_lt_function_replace_fail" = x
":"; then
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22375 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22379 mv -f "$cfgfile" "$ofile" ||
22380 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22384 cat <<_LT_EOF >> "$ofile"
22386 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22388 # The linker used to build libraries.
22391 # How to create reloadable object files.
22392 reload_flag=$lt_reload_flag_CXX
22393 reload_cmds=$lt_reload_cmds_CXX
22395 # Commands used to build an old-style archive.
22396 old_archive_cmds=$lt_old_archive_cmds_CXX
22398 # A language specific compiler.
22399 CC=$lt_compiler_CXX
22401 # Is the compiler the GNU compiler?
22404 # Compiler flag to turn off builtin functions.
22405 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22407 # Additional compiler flags for building library objects.
22408 pic_flag=$lt_lt_prog_compiler_pic_CXX
22410 # How to pass a linker flag through the compiler.
22411 wl=$lt_lt_prog_compiler_wl_CXX
22413 # Compiler flag to prevent dynamic linking.
22414 link_static_flag=$lt_lt_prog_compiler_static_CXX
22416 # Does compiler simultaneously support -c and -o options?
22417 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22419 # Whether or not to add -lc for building shared libraries.
22420 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22422 # Whether or not to disallow shared libs when runtime libs are static.
22423 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22425 # Compiler flag to allow reflexive dlopens.
22426 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22428 # Compiler flag to generate shared objects directly from archives.
22429 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22431 # Whether the compiler copes with passing no objects directly.
22432 compiler_needs_object=$lt_compiler_needs_object_CXX
22434 # Create an old-style archive from a shared archive.
22435 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22437 # Create a temporary old-style archive to link instead of a shared archive.
22438 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22440 # Commands used to build a shared archive.
22441 archive_cmds=$lt_archive_cmds_CXX
22442 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22444 # Commands used to build a loadable module if different from building
22445 # a shared archive.
22446 module_cmds=$lt_module_cmds_CXX
22447 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22449 # Whether we are building with GNU ld or not.
22450 with_gnu_ld=$lt_with_gnu_ld_CXX
22452 # Flag that allows shared libraries with undefined symbols to be built.
22453 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22455 # Flag that enforces no undefined symbols.
22456 no_undefined_flag=$lt_no_undefined_flag_CXX
22458 # Flag to hardcode \$libdir into a binary during linking.
22459 # This must work even if \$libdir does not exist
22460 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22462 # Whether we need a single "-rpath" flag with a separated argument.
22463 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22466 # DIR into the resulting binary.
22467 hardcode_direct=$hardcode_direct_CXX
22469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22470 # DIR into the resulting binary and the resulting library dependency is
22471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22472 # library is relocated.
22473 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22476 # into the resulting binary.
22477 hardcode_minus_L=$hardcode_minus_L_CXX
22479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22480 # into the resulting binary.
22481 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22483 # Set to "yes" if building a shared library automatically hardcodes DIR
22484 # into the library and all subsequent libraries and executables linked
22486 hardcode_automatic=$hardcode_automatic_CXX
22488 # Set to yes if linker adds runtime paths of dependent libraries
22489 # to runtime path list.
22490 inherit_rpath=$inherit_rpath_CXX
22492 # Whether libtool must link a program against all its dependency libraries.
22493 link_all_deplibs=$link_all_deplibs_CXX
22495 # Set to "yes" if exported symbols are required.
22496 always_export_symbols=$always_export_symbols_CXX
22498 # The commands to list exported symbols.
22499 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22501 # Symbols that should not be listed in the preloaded symbols.
22502 exclude_expsyms=$lt_exclude_expsyms_CXX
22504 # Symbols that must always be exported.
22505 include_expsyms=$lt_include_expsyms_CXX
22507 # Commands necessary for linking programs (against libraries) with templates.
22508 prelink_cmds=$lt_prelink_cmds_CXX
22510 # Commands necessary for finishing linking programs.
22511 postlink_cmds=$lt_postlink_cmds_CXX
22513 # Specify filename containing input files.
22514 file_list_spec=$lt_file_list_spec_CXX
22516 # How to hardcode a shared library path into an executable.
22517 hardcode_action=$hardcode_action_CXX
22519 # The directories searched by this compiler when creating a shared library.
22520 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22522 # Dependencies to place before and after the objects being linked to
22523 # create a shared library.
22524 predep_objects=$lt_predep_objects_CXX
22525 postdep_objects=$lt_postdep_objects_CXX
22526 predeps=$lt_predeps_CXX
22527 postdeps=$lt_postdeps_CXX
22529 # The library search path used internally by the compiler when linking
22530 # a shared library.
22531 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22533 # ### END LIBTOOL TAG CONFIG: CXX
22544 ac_clean_files
=$ac_clean_files_save
22546 test $ac_write_fail = 0 ||
22547 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22550 # configure is writing to config.log, and then calls config.status.
22551 # config.status does its own redirection, appending to config.log.
22552 # Unfortunately, on DOS this fails, as config.log is still kept open
22553 # by configure, so config.status won't be able to write to it; its
22554 # output is simply discarded. So we exec the FD to /dev/null,
22555 # effectively closing config.log, so it can be properly (re)opened and
22556 # appended to by config.status. When coming back to configure, we
22557 # need to make the FD available again.
22558 if test "$no_create" != yes; then
22560 ac_config_status_args
=
22561 test "$silent" = yes &&
22562 ac_config_status_args
="$ac_config_status_args --quiet"
22564 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22566 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22567 # would make configure fail if this is the last instruction.
22568 $ac_cs_success || as_fn_exit
1
22570 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22572 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22578 echo "Libtiff is now configured for ${host}"
22580 echo " Installation directory: ${prefix}"
22581 echo " Documentation directory: ${LIBTIFF_DOCDIR}"
22582 echo " C compiler: ${CC} ${CFLAGS}"
22583 echo " C++ compiler: ${CXX} ${CXXFLAGS}"
22584 echo " Enable runtime linker paths: ${HAVE_RPATH}"
22585 echo " Enable linker symbol versioning: ${have_ld_version_script}"
22586 echo " Support Microsoft Document Imaging: ${HAVE_MDI}"
22587 echo " Use win32 IO: ${win32_io_ok}"
22589 echo " Support for internal codecs:"
22590 echo " CCITT Group 3 & 4 algorithms: ${HAVE_CCITT}"
22591 echo " Macintosh PackBits algorithm: ${HAVE_PACKBITS}"
22592 echo " LZW algorithm: ${HAVE_LZW}"
22593 echo " ThunderScan 4-bit RLE algorithm: ${HAVE_THUNDER}"
22594 echo " NeXT 2-bit RLE algorithm: ${HAVE_NEXT}"
22595 echo " LogLuv high dynamic range encoding: ${HAVE_LOGLUV}"
22597 echo " Support for external codecs:"
22598 echo " ZLIB support: ${HAVE_ZLIB}"
22599 echo " Pixar log-format algorithm: ${HAVE_PIXARLOG}"
22600 echo " JPEG support: ${HAVE_JPEG}"
22601 echo " Old JPEG support: ${HAVE_OJPEG}"
22602 echo " JPEG 8/12 bit dual mode: ${HAVE_JPEG12}"
22603 echo " ISO JBIG support: ${HAVE_JBIG}"
22604 echo " LZMA2 support: ${HAVE_LZMA}"
22606 echo " C++ support: ${HAVE_CXX}"
22608 echo " OpenGL support: ${HAVE_OPENGL}"