2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libjpeg 8.4.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
184 if (eval "$as_required") 2>/dev
/null
; then :
189 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
194 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir
=.
201 for as_base
in sh bash ksh sh5
; do
202 # Try only shells that exist, to save several forks.
203 as_shell
=$as_dir/$as_base
204 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$as_shell as_have_required
=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
215 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
217 CONFIG_SHELL
=$SHELL as_have_required
=yes
222 if test "x$CONFIG_SHELL" != x
; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
232 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x
$as_have_required = xno
; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x
${ZSH_VERSION+set} = xset
; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL
=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE
= GREP_OPTIONS
=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir
=.
/$as_dir;;
301 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
305 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs
="'$as_qdir' $as_dirs"
309 as_dir
=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
335 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
370 as_val
=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status
=$1; test $as_status -eq 0 && as_status
=1
384 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit
$as_status
391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
410 as_me
=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits
='0123456789'
434 as_cr_alnum
=$as_cr_Letters$as_cr_digits
437 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
438 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x
"$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C
= ECHO_N
= ECHO_T
=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
481 rm -f conf$$ conf$$.exe conf$$.
file
482 if test -d conf$$.dir
; then
483 rm -f conf$$.dir
/conf$$.
file
486 mkdir conf$$.dir
2>/dev
/null
488 if (echo >conf$$.
file) 2>/dev
/null
; then
489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
509 as_mkdir_p
='mkdir -p "$as_dir"'
511 test -d .
/-p && rmdir .
/-p
515 if test -x / >/dev
/null
2>&1; then
518 if ls -dL / >/dev
/null
2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p
=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL
=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix
=/usr
/local
560 ac_config_libobj_dir
=.
567 # Identity of this package.
568 PACKAGE_NAME
='libjpeg'
569 PACKAGE_TARNAME
='libjpeg'
570 PACKAGE_VERSION
='8.4.0'
571 PACKAGE_STRING
='libjpeg 8.4.0'
575 # Factoring default headers for most tests.
576 ac_includes_default
="\
578 #ifdef HAVE_SYS_TYPES_H
579 # include <sys/types.h>
581 #ifdef HAVE_SYS_STAT_H
582 # include <sys/stat.h>
588 # ifdef HAVE_STDLIB_H
593 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #ifdef HAVE_STRINGS_H
599 # include <strings.h>
601 #ifdef HAVE_INTTYPES_H
602 # include <inttypes.h>
611 ac_subst_vars
='am__EXEEXT_FALSE
636 HAVE_LD_VERSION_SCRIPT_FALSE
637 HAVE_LD_VERSION_SCRIPT_TRUE
640 MAINTAINER_MODE_FALSE
674 INSTALL_STRIP_PROGRAM
728 program_transform_name
741 enable_option_checking
743 enable_dependency_tracking
744 enable_maintainer_mode
745 enable_ld_version_script
755 ac_precious_vars
='build_alias
766 # Initialize some variables set by options.
768 ac_init_version
=false
769 ac_unrecognized_opts
=
771 # The variables have the same names as the options, with
772 # dashes changed to underlines.
780 program_transform_name
=s
,x
,x
,
788 # Installation directory options.
789 # These are left unexpanded so users can "make install exec_prefix=/foo"
790 # and all the variables that are supposed to be based on exec_prefix
791 # by default will actually change.
792 # Use braces instead of parens because sh, perl, etc. also accept them.
793 # (The list follows the same order as the GNU Coding Standards.)
794 bindir
='${exec_prefix}/bin'
795 sbindir
='${exec_prefix}/sbin'
796 libexecdir
='${exec_prefix}/libexec'
797 datarootdir
='${prefix}/share'
798 datadir
='${datarootdir}'
799 sysconfdir
='${prefix}/etc'
800 sharedstatedir
='${prefix}/com'
801 localstatedir
='${prefix}/var'
802 includedir
='${prefix}/include'
803 oldincludedir
='/usr/include'
804 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
805 infodir
='${datarootdir}/info'
810 libdir
='${exec_prefix}/lib'
811 localedir
='${datarootdir}/locale'
812 mandir
='${datarootdir}/man'
818 # If the previous option needs an argument, assign it.
819 if test -n "$ac_prev"; then
820 eval $ac_prev=\
$ac_option
826 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 case $ac_dashdash$ac_option in
837 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
839 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
842 -build |
--build |
--buil |
--bui |
--bu)
843 ac_prev
=build_alias
;;
844 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
845 build_alias
=$ac_optarg ;;
847 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
848 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
849 ac_prev
=cache_file
;;
850 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
851 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
852 cache_file
=$ac_optarg ;;
855 cache_file
=config.cache
;;
857 -datadir |
--datadir |
--datadi |
--datad)
859 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
860 datadir
=$ac_optarg ;;
862 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
863 |
--dataroo |
--dataro |
--datar)
864 ac_prev
=datarootdir
;;
865 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
866 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
867 datarootdir
=$ac_optarg ;;
869 -disable-* |
--disable-*)
870 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
873 as_fn_error $?
"invalid feature name: $ac_useropt"
874 ac_useropt_orig
=$ac_useropt
875 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 ac_unrecognized_sep
=', ';;
883 eval enable_
$ac_useropt=no
;;
885 -docdir |
--docdir |
--docdi |
--doc |
--do)
887 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
890 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
892 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
895 -enable-* |
--enable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error $?
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=\
$ac_optarg ;;
911 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
912 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
913 |
--exec |
--exe |
--ex)
914 ac_prev
=exec_prefix
;;
915 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
916 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
917 |
--exec=* |
--exe=* |
--ex=*)
918 exec_prefix
=$ac_optarg ;;
920 -gas |
--gas |
--ga |
--g)
921 # Obsolete; use --with-gas.
924 -help |
--help |
--hel |
--he |
-h)
926 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
927 ac_init_help
=recursive
;;
928 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
929 ac_init_help
=short
;;
931 -host |
--host |
--hos |
--ho)
932 ac_prev
=host_alias
;;
933 -host=* |
--host=* |
--hos=* |
--ho=*)
934 host_alias
=$ac_optarg ;;
936 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
938 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
940 htmldir
=$ac_optarg ;;
942 -includedir |
--includedir |
--includedi |
--included |
--include \
943 |
--includ |
--inclu |
--incl |
--inc)
944 ac_prev
=includedir
;;
945 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
946 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
947 includedir
=$ac_optarg ;;
949 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
951 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
952 infodir
=$ac_optarg ;;
954 -libdir |
--libdir |
--libdi |
--libd)
956 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
959 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
960 |
--libexe |
--libex |
--libe)
961 ac_prev
=libexecdir
;;
962 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
963 |
--libexe=* |
--libex=* |
--libe=*)
964 libexecdir
=$ac_optarg ;;
966 -localedir |
--localedir |
--localedi |
--localed |
--locale)
968 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
969 localedir
=$ac_optarg ;;
971 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
972 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
973 ac_prev
=localstatedir
;;
974 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
975 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
976 localstatedir
=$ac_optarg ;;
978 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
980 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
984 # Obsolete; use --without-fp.
987 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
988 |
--no-cr |
--no-c |
-n)
991 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
992 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
995 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
996 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
997 |
--oldin |
--oldi |
--old |
--ol |
--o)
998 ac_prev
=oldincludedir
;;
999 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1000 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1001 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1002 oldincludedir
=$ac_optarg ;;
1004 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1006 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1007 prefix
=$ac_optarg ;;
1009 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1010 |
--program-pre |
--program-pr |
--program-p)
1011 ac_prev
=program_prefix
;;
1012 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1013 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1014 program_prefix
=$ac_optarg ;;
1016 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1017 |
--program-suf |
--program-su |
--program-s)
1018 ac_prev
=program_suffix
;;
1019 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1020 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1021 program_suffix
=$ac_optarg ;;
1023 -program-transform-name |
--program-transform-name \
1024 |
--program-transform-nam |
--program-transform-na \
1025 |
--program-transform-n |
--program-transform- \
1026 |
--program-transform |
--program-transfor \
1027 |
--program-transfo |
--program-transf \
1028 |
--program-trans |
--program-tran \
1029 |
--progr-tra |
--program-tr |
--program-t)
1030 ac_prev
=program_transform_name
;;
1031 -program-transform-name=* |
--program-transform-name=* \
1032 |
--program-transform-nam=* |
--program-transform-na=* \
1033 |
--program-transform-n=* |
--program-transform-=* \
1034 |
--program-transform=* |
--program-transfor=* \
1035 |
--program-transfo=* |
--program-transf=* \
1036 |
--program-trans=* |
--program-tran=* \
1037 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1038 program_transform_name
=$ac_optarg ;;
1040 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1042 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1043 pdfdir
=$ac_optarg ;;
1045 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1047 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1050 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1051 |
-silent |
--silent |
--silen |
--sile |
--sil)
1054 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1056 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1058 sbindir
=$ac_optarg ;;
1060 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1061 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1062 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1064 ac_prev
=sharedstatedir
;;
1065 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1066 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1067 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1069 sharedstatedir
=$ac_optarg ;;
1071 -site |
--site |
--sit)
1073 -site=* |
--site=* |
--sit=*)
1076 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1078 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1079 srcdir
=$ac_optarg ;;
1081 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1082 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1083 ac_prev
=sysconfdir
;;
1084 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1085 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1086 sysconfdir
=$ac_optarg ;;
1088 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1089 ac_prev
=target_alias
;;
1090 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1091 target_alias
=$ac_optarg ;;
1093 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1096 -version |
--version |
--versio |
--versi |
--vers |
-V)
1097 ac_init_version
=: ;;
1100 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 as_fn_error $?
"invalid package name: $ac_useropt"
1104 ac_useropt_orig
=$ac_useropt
1105 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111 ac_unrecognized_sep
=', ';;
1113 eval with_
$ac_useropt=\
$ac_optarg ;;
1115 -without-* |
--without-*)
1116 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error $?
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=no
;;
1132 # Obsolete; use --with-x.
1135 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1136 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1137 ac_prev
=x_includes
;;
1138 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1139 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1140 x_includes
=$ac_optarg ;;
1142 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1143 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1144 ac_prev
=x_libraries
;;
1145 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1146 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1147 x_libraries
=$ac_optarg ;;
1149 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1150 Try \`$0 --help' for more information"
1154 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 case $ac_envvar in #(
1157 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1158 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1160 eval $ac_envvar=\
$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1174 if test -n "$ac_prev"; then
1175 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1176 as_fn_error $?
"missing argument to $ac_option"
1179 if test -n "$ac_unrecognized_opts"; then
1180 case $enable_option_checking in
1182 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val
=\$
$ac_var
1194 # Remove trailing slashes.
1197 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\
$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$
]* | ?
:[\\/]* ) continue;;
1203 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1205 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1213 target
=$target_alias
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x
; then
1217 if test "x$build_alias" = x
; then
1218 cross_compiling
=maybe
1219 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1220 If a cross compiler is detected then cross compile mode will be used" >&2
1221 elif test "x$build_alias" != "x$host_alias"; then
1227 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1229 test "$silent" = yes && exec 6>/dev
/null
1232 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di
=`ls -di .` &&
1234 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1235 as_fn_error $?
"working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 as_fn_error $?
"pwd does not report name of working directory"
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242 ac_srcdir_defaulted
=yes
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir
=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246 X"$as_myself" : 'X\(//\)[^/]' \| \
1247 X"$as_myself" : 'X\(//\)$' \| \
1248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1272 ac_srcdir_defaulted
=no
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1276 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1278 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1290 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 for ac_var
in $ac_precious_vars; do
1293 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1295 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1300 # Report the --help message.
1302 if test "$ac_init_help" = "long"; then
1303 # Omit some internal or obsolete options to make the list less imposing.
1304 # This message is too long to be a string in the A/UX 3.1 sh.
1306 \`configure' configures libjpeg 8.4.0 to adapt to many kinds of systems.
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE. See below for descriptions of some of the useful variables.
1313 Defaults for the options are specified in brackets.
1316 -h, --help display this help and exit
1317 --help=short display options specific to this package
1318 --help=recursive display the short help of all the included packages
1319 -V, --version display version information and exit
1320 -q, --quiet, --silent do not print \`checking ...' messages
1321 --cache-file=FILE cache test results in FILE [disabled]
1322 -C, --config-cache alias for \`--cache-file=config.cache'
1323 -n, --no-create do not create output files
1324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1326 Installation directories:
1327 --prefix=PREFIX install architecture-independent files in PREFIX
1328 [$ac_default_prefix]
1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1337 For better control, use the options below.
1339 Fine tuning of the installation directories:
1340 --bindir=DIR user executables [EPREFIX/bin]
1341 --sbindir=DIR system admin executables [EPREFIX/sbin]
1342 --libexecdir=DIR program executables [EPREFIX/libexec]
1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346 --libdir=DIR object code libraries [EPREFIX/lib]
1347 --includedir=DIR C header files [PREFIX/include]
1348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351 --infodir=DIR info documentation [DATAROOTDIR/info]
1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353 --mandir=DIR man documentation [DATAROOTDIR/man]
1354 --docdir=DIR documentation root [DATAROOTDIR/doc/libjpeg]
1355 --htmldir=DIR html documentation [DOCDIR]
1356 --dvidir=DIR dvi documentation [DOCDIR]
1357 --pdfdir=DIR pdf documentation [DOCDIR]
1358 --psdir=DIR ps documentation [DOCDIR]
1364 --program-prefix=PREFIX prepend PREFIX to installed program names
1365 --program-suffix=SUFFIX append SUFFIX to installed program names
1366 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1369 --build=BUILD configure
for building on BUILD
[guessed
]
1370 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1371 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of libjpeg 8.4.0:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1386 --disable-silent-rules verbose build output (undo: `make V
=0')
1387 --disable-dependency-tracking speeds up one-time build
1388 --enable-dependency-tracking do not reject slow dependency extractors
1389 --enable-maintainer-mode enable make rules and dependencies not useful
1390 (and sometimes confusing) to the casual installer
1391 --enable-ld-version-script
1392 enable linker version script (default is enabled
1394 --enable-shared[=PKGS] build shared libraries [default=yes]
1395 --enable-static[=PKGS] build static libraries [default=yes]
1396 --enable-fast-install[=PKGS]
1397 optimize for fast installation [default=yes]
1398 --disable-libtool-lock avoid locking (might break parallel builds)
1399 --enable-maxmem=N enable use of temp files, set max mem usage to N MB
1402 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1403 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1404 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1406 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1407 --with-sysroot=DIR Search for dependent libraries within DIR
1408 (or the compiler's sysroot
if not specified
).
1410 Some influential environment variables
:
1411 CC C compiler
command
1412 CFLAGS C compiler flags
1413 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1414 nonstandard directory
<lib dir
>
1415 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1416 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1417 you have headers
in a nonstandard directory
<include dir
>
1420 Use these variables to override the choices made by
`configure' or to help
1421 it to find libraries and programs with nonstandard names/locations.
1423 Report bugs to the package provider.
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431 test -d "$ac_dir" ||
1432 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1447 ac_abs_top_builddir=$ac_pwd
1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir=$ac_top_build_prefix
1453 .) # We are building in place.
1455 ac_top_srcdir=$ac_top_builddir_sub
1456 ac_abs_top_srcdir=$ac_pwd ;;
1457 [\\/]* | ?:[\\/]* ) # Absolute name.
1458 ac_srcdir=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir=$srcdir
1460 ac_abs_top_srcdir=$srcdir ;;
1462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" || { ac_status=$?; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 cd "$ac_pwd" || { ac_status=$?; break; }
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1486 libjpeg configure 8.4.0
1487 generated by GNU Autoconf 2.68
1489 Copyright (C) 2010 Free Software Foundation, Inc.
1490 This configure script is free software; the Free Software Foundation
1491 gives unlimited permission to copy, distribute and modify it.
1496 ## ------------------------ ##
1497 ## Autoconf initialization. ##
1498 ## ------------------------ ##
1500 # ac_fn_c_try_compile LINENO
1501 # --------------------------
1502 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1503 ac_fn_c_try_compile ()
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 rm -f conftest.$ac_objext
1507 if { { ac_try="$ac_compile"
1509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1510 *) ac_try_echo
=$ac_try;;
1512 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513 $as_echo "$ac_try_echo"; } >&5
1514 (eval "$ac_compile") 2>conftest.err
1516 if test -s conftest.err
; then
1517 grep -v '^ *+' conftest.err
>conftest.er1
1518 cat conftest.er1
>&5
1519 mv -f conftest.er1 conftest.err
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } && {
1523 test -z "$ac_c_werror_flag" ||
1524 test ! -s conftest.err
1525 } && test -s conftest.
$ac_objext; then :
1528 $as_echo "$as_me: failed program was:" >&5
1529 sed 's/^/| /' conftest.
$ac_ext >&5
1533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1534 as_fn_set_status
$ac_retval
1536 } # ac_fn_c_try_compile
1538 # ac_fn_c_try_cpp LINENO
1539 # ----------------------
1540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1543 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1544 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1547 *) ac_try_echo=$ac_try;;
1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1553 if test -s conftest.err; then
1554 grep -v '^ *+' conftest.err >conftest.er1
1555 cat conftest.er1 >&5
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } > conftest.i && {
1560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1561 test ! -s conftest.err
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 as_fn_set_status $ac_retval
1575 # ac_fn_c_try_run LINENO
1576 # ----------------------
1577 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1578 # that executables *can* be run.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 if { { ac_try="$ac_link"
1584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1585 *) ac_try_echo
=$ac_try;;
1587 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_link") 2>&5
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1593 { { case "(($ac_try" in
1594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_try") 2>&5
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; }; }; then :
1605 $as_echo "$as_me: program exited with status $ac_status" >&5
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1609 ac_retval=$ac_status
1611 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613 as_fn_set_status $ac_retval
1617 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1618 # -------------------------------------------------------
1619 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1620 # the include files in INCLUDES and setting the cache variable VAR
1622 ac_fn_c_check_header_mongrel ()
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 if eval \${$3+:} false; then :
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if eval \${$3+:} false; then :
1629 $as_echo_n "(cached) " >&6
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1633 $as_echo "$ac_res" >&6; }
1635 # Is the header compilable?
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1637 $as_echo_n "checking $2 usability... " >&6; }
1638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1639 /* end confdefs.h. */
1643 if ac_fn_c_try_compile "$LINENO"; then :
1644 ac_header_compiler=yes
1646 ac_header_compiler=no
1648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1650 $as_echo "$ac_header_compiler" >&6; }
1652 # Is the header present?
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1654 $as_echo_n "checking $2 presence... " >&6; }
1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656 /* end confdefs.h. */
1659 if ac_fn_c_try_cpp "$LINENO"; then :
1660 ac_header_preproc=yes
1662 ac_header_preproc=no
1664 rm -f conftest.err conftest.i conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1666 $as_echo "$ac_header_preproc" >&6; }
1668 # So? What about this header?
1669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1672 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1674 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1678 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1680 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1682 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1684 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1686 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1690 $as_echo_n "checking for $2... " >&6; }
1691 if eval \${$3+:} false; then :
1692 $as_echo_n "(cached) " >&6
1694 eval "$3=\$ac_header_compiler"
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 } # ac_fn_c_check_header_mongrel
1704 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1705 # -------------------------------------------------------
1706 # Tests whether HEADER exists and can be compiled using the include files in
1707 # INCLUDES, setting the cache variable VAR accordingly.
1708 ac_fn_c_check_header_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1712 $as_echo_n "checking for $2... " >&6; }
1713 if eval \${$3+:} false; then :
1714 $as_echo_n "(cached) " >&6
1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1721 if ac_fn_c_try_compile "$LINENO"; then :
1726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1730 $as_echo "$ac_res" >&6; }
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 } # ac_fn_c_check_header_compile
1735 # ac_fn_c_try_link LINENO
1736 # -----------------------
1737 # Try to link conftest.$ac_ext, and return whether this succeeded.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 rm -f conftest.$ac_objext conftest$ac_exeext
1742 if { { ac_try="$ac_link"
1744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1745 *) ac_try_echo
=$ac_try;;
1747 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_link") 2>conftest.err
1751 if test -s conftest.err
; then
1752 grep -v '^ *+' conftest.err
>conftest.er1
1753 cat conftest.er1
>&5
1754 mv -f conftest.er1 conftest.err
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } && {
1758 test -z "$ac_c_werror_flag" ||
1759 test ! -s conftest.err
1760 } && test -s conftest
$ac_exeext && {
1761 test "$cross_compiling" = yes ||
1762 $as_test_x conftest
$ac_exeext
1766 $as_echo "$as_me: failed program was:" >&5
1767 sed 's/^/| /' conftest.
$ac_ext >&5
1771 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1772 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1773 # interfere with the next link command; also delete a directory that is
1774 # left behind by Apple's compiler. We do this before executing the actions.
1775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 as_fn_set_status
$ac_retval
1779 } # ac_fn_c_try_link
1781 # ac_fn_c_check_func LINENO FUNC VAR
1782 # ----------------------------------
1783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1784 ac_fn_c_check_func
()
1786 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \
${$3+:} false
; then :
1790 $as_echo_n "(cached) " >&6
1792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1796 #define $2 innocuous_$2
1798 /* System header to define __stub macros and hopefully few prototypes,
1799 which can conflict with char $2 (); below.
1800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801 <limits.h> exists even on freestanding compilers. */
1804 # include <limits.h>
1806 # include <assert.h>
1811 /* Override any GCC internal prototype to avoid an error.
1812 Use char because int might match the return type of a GCC
1813 builtin and then its argument prototype would still apply. */
1818 /* The GNU C library defines this for functions which it implements
1819 to always fail with ENOSYS. Some functions are actually named
1820 something starting with __ and the normal name is an alias. */
1821 #if defined __stub_$2 || defined __stub___$2
1833 if ac_fn_c_try_link
"$LINENO"; then :
1838 rm -f core conftest.err conftest.
$ac_objext \
1839 conftest
$ac_exeext conftest.
$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 } # ac_fn_c_check_func
1847 cat >config.log
<<_ACEOF
1848 This file contains any messages produced by compilers while
1849 running configure, to aid debugging if configure makes a mistake.
1851 It was created by libjpeg $as_me 8.4.0, which was
1852 generated by GNU Autoconf 2.68. Invocation command line was
1864 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1865 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1866 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1867 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1868 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1870 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1871 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1873 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1874 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1875 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1876 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1877 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1878 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1879 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir
=.
1888 $as_echo "PATH: $as_dir"
1904 # Keep a trace of the command line.
1905 # Strip out --no-create and --no-recursion so they do not pile up.
1906 # Strip out --silent because we don't want to record it for future runs.
1907 # Also quote any args containing shell meta-characters.
1908 # Make two passes to allow for proper duplicate-argument suppression.
1912 ac_must_keep_next
=false
1918 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1919 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1920 |
-silent |
--silent |
--silen |
--sile |
--sil)
1923 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1926 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1928 as_fn_append ac_configure_args1
" '$ac_arg'"
1929 if test $ac_must_keep_next = true
; then
1930 ac_must_keep_next
=false
# Got value, back to normal.
1933 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1934 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1935 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1936 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1937 case "$ac_configure_args0 " in
1938 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1941 -* ) ac_must_keep_next
=true
;;
1944 as_fn_append ac_configure_args
" '$ac_arg'"
1949 { ac_configure_args0
=; unset ac_configure_args0
;}
1950 { ac_configure_args1
=; unset ac_configure_args1
;}
1952 # When interrupted or exit'd, cleanup temporary files, and complete
1953 # config.log. We remove comments because anyway the quotes in there
1954 # would cause problems or look ugly.
1955 # WARNING: Use '\'' to represent an apostrophe within the trap.
1956 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1957 trap 'exit_status=$?
1958 # Save into config.log some information that might help in debugging.
1962 $as_echo "## ---------------- ##
1963 ## Cache variables. ##
1964 ## ---------------- ##"
1966 # The following way of writing the cache mishandles newlines in values,
1968 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1969 eval ac_val=\$$ac_var
1973 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1974 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1977 _ | IFS | as_nl) ;; #(
1978 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1979 *) { eval $ac_var=; unset $ac_var;} ;;
1984 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1985 *${as_nl}ac_space=\ *)
1987 "s/'\''/'\''\\\\'\'''\''/g;
1988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1991 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1998 $as_echo "## ----------------- ##
1999 ## Output variables. ##
2000 ## ----------------- ##"
2002 for ac_var in $ac_subst_vars
2004 eval ac_val=\$$ac_var
2006 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2008 $as_echo "$ac_var='\''$ac_val'\''"
2012 if test -n "$ac_subst_files"; then
2013 $as_echo "## ------------------- ##
2014 ## File substitutions. ##
2015 ## ------------------- ##"
2017 for ac_var
in $ac_subst_files
2019 eval ac_val
=\$
$ac_var
2021 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2023 $as_echo "$ac_var='\''$ac_val'\''"
2028 if test -s confdefs.h; then
2029 $as_echo "## ----------- ##
2036 test "$ac_signal" != 0 &&
2037 $as_echo "$as_me: caught signal $ac_signal"
2038 $as_echo "$as_me: exit $exit_status"
2040 rm -f core *.core core.conftest.* &&
2041 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2044 for ac_signal
in 1 2 13 15; do
2045 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2049 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2050 rm -f -r conftest
* confdefs.h
2052 $as_echo "/* confdefs.h */" > confdefs.h
2054 # Predefined preprocessor variables.
2056 cat >>confdefs.h
<<_ACEOF
2057 #define PACKAGE_NAME "$PACKAGE_NAME"
2060 cat >>confdefs.h
<<_ACEOF
2061 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2064 cat >>confdefs.h
<<_ACEOF
2065 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2068 cat >>confdefs.h
<<_ACEOF
2069 #define PACKAGE_STRING "$PACKAGE_STRING"
2072 cat >>confdefs.h
<<_ACEOF
2073 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2076 cat >>confdefs.h
<<_ACEOF
2077 #define PACKAGE_URL "$PACKAGE_URL"
2081 # Let the site file select an alternate cache file if it wants to.
2082 # Prefer an explicitly selected file to automatically selected ones.
2085 if test -n "$CONFIG_SITE"; then
2086 # We do not want a PATH search for config.site.
2087 case $CONFIG_SITE in #((
2088 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2089 */*) ac_site_file1
=$CONFIG_SITE;;
2090 *) ac_site_file1
=.
/$CONFIG_SITE;;
2092 elif test "x$prefix" != xNONE
; then
2093 ac_site_file1
=$prefix/share
/config.site
2094 ac_site_file2
=$prefix/etc
/config.site
2096 ac_site_file1
=$ac_default_prefix/share
/config.site
2097 ac_site_file2
=$ac_default_prefix/etc
/config.site
2099 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2101 test "x$ac_site_file" = xNONE
&& continue
2102 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2104 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2105 sed 's/^/| /' "$ac_site_file" >&5
2107 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2109 as_fn_error $?
"failed to load site script $ac_site_file
2110 See \`config.log' for more details" "$LINENO" 5; }
2114 if test -r "$cache_file"; then
2115 # Some versions of bash will fail to source /dev/null (special files
2116 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2117 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2119 $as_echo "$as_me: loading cache $cache_file" >&6;}
2121 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2122 *) .
"./$cache_file";;
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2127 $as_echo "$as_me: creating cache $cache_file" >&6;}
2131 # Check that the precious variables saved in the cache have kept the same
2133 ac_cache_corrupted
=false
2134 for ac_var
in $ac_precious_vars; do
2135 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2136 eval ac_new_set
=\
$ac_env_${ac_var}_set
2137 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2138 eval ac_new_val
=\
$ac_env_${ac_var}_value
2139 case $ac_old_set,$ac_new_set in
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2142 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2143 ac_cache_corrupted
=: ;;
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2146 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2147 ac_cache_corrupted
=: ;;
2150 if test "x$ac_old_val" != "x$ac_new_val"; then
2151 # differences in whitespace do not lead to failure.
2152 ac_old_val_w
=`echo x $ac_old_val`
2153 ac_new_val_w
=`echo x $ac_new_val`
2154 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2156 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2157 ac_cache_corrupted
=:
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2160 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2161 eval $ac_var=\
$ac_old_val
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2164 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2166 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2169 # Pass precious variables to config.status.
2170 if test "$ac_new_set" = set; then
2172 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2173 *) ac_arg
=$ac_var=$ac_new_val ;;
2175 case " $ac_configure_args " in
2176 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2177 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2181 if $ac_cache_corrupted; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2185 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2186 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2188 ## -------------------- ##
2189 ## Main body of script. ##
2190 ## -------------------- ##
2193 ac_cpp
='$CPP $CPPFLAGS'
2194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2200 # Directory where autotools helper scripts lives.
2202 for ac_dir
in .
"$srcdir"/.
; do
2203 if test -f "$ac_dir/install-sh"; then
2205 ac_install_sh
="$ac_aux_dir/install-sh -c"
2207 elif test -f "$ac_dir/install.sh"; then
2209 ac_install_sh
="$ac_aux_dir/install.sh -c"
2211 elif test -f "$ac_dir/shtool"; then
2213 ac_install_sh
="$ac_aux_dir/shtool install -c"
2217 if test -z "$ac_aux_dir"; then
2218 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2221 # These three variables are undocumented and unsupported,
2222 # and are intended to be withdrawn in a future Autoconf release.
2223 # They can cause serious problems if a builder's source tree is in a directory
2224 # whose full name contains unusual characters.
2225 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2226 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2227 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2231 # Generate configuration headers.
2232 ac_config_headers
="$ac_config_headers jconfig.h:jconfig.cfg"
2235 # Hack: disable autoheader so that it doesn't overwrite our cfg template.
2236 AUTOHEADER
="echo autoheader ignored"
2239 # Make sure we can run config.sub.
2240 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2241 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2244 $as_echo_n "checking build system type... " >&6; }
2245 if ${ac_cv_build+:} false
; then :
2246 $as_echo_n "(cached) " >&6
2248 ac_build_alias
=$build_alias
2249 test "x$ac_build_alias" = x
&&
2250 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2251 test "x$ac_build_alias" = x
&&
2252 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2253 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2254 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2258 $as_echo "$ac_cv_build" >&6; }
2259 case $ac_cv_build in
2261 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2264 ac_save_IFS
=$IFS; IFS
='-'
2270 # Remember, the first character of IFS is used to create $*,
2271 # except with old shells:
2274 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2278 $as_echo_n "checking host system type... " >&6; }
2279 if ${ac_cv_host+:} false
; then :
2280 $as_echo_n "(cached) " >&6
2282 if test "x$host_alias" = x
; then
2283 ac_cv_host
=$ac_cv_build
2285 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2286 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2291 $as_echo "$ac_cv_host" >&6; }
2294 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2297 ac_save_IFS
=$IFS; IFS
='-'
2303 # Remember, the first character of IFS is used to create $*,
2304 # except with old shells:
2307 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2311 $as_echo_n "checking target system type... " >&6; }
2312 if ${ac_cv_target+:} false
; then :
2313 $as_echo_n "(cached) " >&6
2315 if test "x$target_alias" = x
; then
2316 ac_cv_target
=$ac_cv_host
2318 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2319 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2324 $as_echo "$ac_cv_target" >&6; }
2325 case $ac_cv_target in
2327 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2329 target
=$ac_cv_target
2330 ac_save_IFS
=$IFS; IFS
='-'
2336 # Remember, the first character of IFS is used to create $*,
2337 # except with old shells:
2340 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2343 # The aliases save the names the user supplied, while $host etc.
2344 # will get canonicalized.
2345 test -n "$target_alias" &&
2346 test "$program_prefix$program_suffix$program_transform_name" = \
2348 program_prefix
=${target_alias}-
2350 # Initialize Automake
2351 # Don't require all the GNU mandated files
2352 am__api_version
='1.11'
2354 # Find a good install program. We prefer a C program (faster),
2355 # so one script is as good as another. But avoid the broken or
2356 # incompatible versions:
2357 # SysV /etc/install, /usr/sbin/install
2358 # SunOS /usr/etc/install
2359 # IRIX /sbin/install
2361 # AmigaOS /C/install, which installs bootblocks on floppy discs
2362 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2363 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2364 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2365 # OS/2's system install, which has a completely different semantic
2366 # ./install, which can be erroneously created by make from ./install.sh.
2367 # Reject install programs that cannot install multiple files.
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2369 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2370 if test -z "$INSTALL"; then
2371 if ${ac_cv_path_install+:} false
; then :
2372 $as_echo_n "(cached) " >&6
2374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir
=.
2379 # Account for people who put trailing slashes in PATH elements.
2380 case $as_dir/ in #((
2381 .
/ | .
// |
/[cC
]/* | \
2382 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2383 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2386 # OSF1 and SCO ODT 3.0 have their own names for install.
2387 # Don't use installbsd from OSF since it installs stuff as root
2389 for ac_prog
in ginstall scoinst
install; do
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2392 if test $ac_prog = install &&
2393 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2394 # AIX install. It has an incompatible calling convention.
2396 elif test $ac_prog = install &&
2397 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2398 # program-specific install script used by HP pwplus--don't use.
2401 rm -rf conftest.one conftest.two conftest.dir
2402 echo one
> conftest.one
2403 echo two
> conftest.two
2405 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2406 test -s conftest.one
&& test -s conftest.two
&&
2407 test -s conftest.dir
/conftest.one
&&
2408 test -s conftest.dir
/conftest.two
2410 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2423 rm -rf conftest.one conftest.two conftest.dir
2426 if test "${ac_cv_path_install+set}" = set; then
2427 INSTALL
=$ac_cv_path_install
2429 # As a last resort, use the slow shell script. Don't cache a
2430 # value for INSTALL within a source directory, because that will
2431 # break other packages using the cache if that directory is
2432 # removed, or if the value is a relative name.
2433 INSTALL
=$ac_install_sh
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2437 $as_echo "$INSTALL" >&6; }
2439 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2440 # It thinks the first close brace ends the variable substitution.
2441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2443 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2445 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2448 $as_echo_n "checking whether build environment is sane... " >&6; }
2451 echo timestamp
> conftest.
file
2452 # Reject unsafe characters in $srcdir or the absolute working directory
2453 # name. Accept space and tab only in the latter.
2457 *[\\\"\
#\$\&\'\`$am_lf]*)
2458 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2461 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2462 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2465 # Do `set' in a subshell so we don't clobber the current shell's
2466 # arguments. Must try -L first in case configure is actually a
2467 # symlink; some systems play weird games with the mod time of symlinks
2468 # (eg FreeBSD returns the mod time of the symlink's containing
2471 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2472 if test "$*" = "X"; then
2474 set X
`ls -t "$srcdir/configure" conftest.file`
2477 if test "$*" != "X $srcdir/configure conftest.file" \
2478 && test "$*" != "X conftest.file $srcdir/configure"; then
2480 # If neither matched, then we have a broken ls. This can happen
2481 # if, for instance, CONFIG_SHELL is bash and it inherits a
2482 # broken ls alias from the environment. This has actually
2483 # happened. Such a system could not be considered "sane".
2484 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2485 alias in your environment" "$LINENO" 5
2488 test "$2" = conftest.
file
2494 as_fn_error $?
"newly created file is older than distributed files!
2495 Check your system clock" "$LINENO" 5
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2498 $as_echo "yes" >&6; }
2499 test "$program_prefix" != NONE
&&
2500 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2501 # Use a double $ so make ignores it.
2502 test "$program_suffix" != NONE
&&
2503 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2504 # Double any \ or $.
2505 # By default was `s,x,x', remove it if useless.
2506 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2507 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2509 # expand $ac_aux_dir to an absolute path
2510 am_aux_dir
=`cd $ac_aux_dir && pwd`
2512 if test x
"${MISSING+set}" != xset
; then
2515 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2517 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2520 # Use eval to expand $SHELL
2521 if eval "$MISSING --run true"; then
2522 am_missing_run
="$MISSING --run "
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2526 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2529 if test x
"${install_sh}" != xset
; then
2532 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2534 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2538 # Installed binaries are usually stripped using `strip' when the user
2539 # run `make install-strip'. However `strip' might not be the right
2540 # tool to use in cross-compilation environments, therefore Automake
2541 # will honor the `STRIP' environment variable to overrule this program.
2542 if test "$cross_compiling" != no
; then
2543 if test -n "$ac_tool_prefix"; then
2544 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2545 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if ${ac_cv_prog_STRIP+:} false
; then :
2549 $as_echo_n "(cached) " >&6
2551 if test -n "$STRIP"; then
2552 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2558 test -z "$as_dir" && as_dir
=.
2559 for ac_exec_ext
in '' $ac_executable_extensions; do
2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2561 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 STRIP
=$ac_cv_prog_STRIP
2572 if test -n "$STRIP"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2574 $as_echo "$STRIP" >&6; }
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577 $as_echo "no" >&6; }
2582 if test -z "$ac_cv_prog_STRIP"; then
2584 # Extract the first word of "strip", so it can be a program name with args.
2585 set dummy strip
; ac_word
=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 if test -n "$ac_ct_STRIP"; then
2592 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir
=.
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_ac_ct_STRIP
="strip"
2602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2612 if test -n "$ac_ct_STRIP"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2614 $as_echo "$ac_ct_STRIP" >&6; }
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617 $as_echo "no" >&6; }
2620 if test "x$ac_ct_STRIP" = x
; then
2623 case $cross_compiling:$ac_tool_warned in
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2627 ac_tool_warned
=yes ;;
2632 STRIP
="$ac_cv_prog_STRIP"
2636 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2639 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2640 if test -z "$MKDIR_P"; then
2641 if ${ac_cv_path_mkdir+:} false
; then :
2642 $as_echo_n "(cached) " >&6
2644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2645 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2648 test -z "$as_dir" && as_dir
=.
2649 for ac_prog
in mkdir gmkdir
; do
2650 for ac_exec_ext
in '' $ac_executable_extensions; do
2651 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2652 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2653 'mkdir (GNU coreutils) '* | \
2654 'mkdir (coreutils) '* | \
2655 'mkdir (fileutils) '4.1*)
2656 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2666 test -d .
/--version && rmdir .
/--version
2667 if test "${ac_cv_path_mkdir+set}" = set; then
2668 MKDIR_P
="$ac_cv_path_mkdir -p"
2670 # As a last resort, use the slow shell script. Don't cache a
2671 # value for MKDIR_P within a source directory, because that will
2672 # break other packages using the cache if that directory is
2673 # removed, or if the value is a relative name.
2674 MKDIR_P
="$ac_install_sh -d"
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2678 $as_echo "$MKDIR_P" >&6; }
2682 [\\/$
]* | ?
:[\\/]*) ;;
2683 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2686 for ac_prog
in gawk mawk nawk
awk
2688 # Extract the first word of "$ac_prog", so it can be a program name with args.
2689 set dummy
$ac_prog; ac_word
=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_AWK+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$AWK"; then
2696 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir
=.
2703 for ac_exec_ext
in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 ac_cv_prog_AWK
="$ac_prog"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 if test -n "$AWK"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2718 $as_echo "$AWK" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2725 test -n "$AWK" && break
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2729 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2731 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2732 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2733 $as_echo_n "(cached) " >&6
2735 cat >conftest.
make <<\_ACEOF
2738 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2740 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2741 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2743 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2745 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2749 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2751 $as_echo "yes" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2756 SET_MAKE
="MAKE=${MAKE-make}"
2759 rm -rf .tst
2>/dev
/null
2760 mkdir .tst
2>/dev
/null
2761 if test -d .tst
; then
2766 rmdir .tst
2>/dev
/null
2768 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2769 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2770 # is not polluted with repeated "-I."
2771 am__isrc
=' -I$(srcdir)'
2772 # test to see if srcdir already configured
2773 if test -f $srcdir/config.status
; then
2774 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2778 # test whether we have cygpath
2779 if test -z "$CYGPATH_W"; then
2780 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2781 CYGPATH_W
='cygpath -w'
2788 # Define the identity of the package.
2793 cat >>confdefs.h
<<_ACEOF
2794 #define PACKAGE "$PACKAGE"
2798 cat >>confdefs.h
<<_ACEOF
2799 #define VERSION "$VERSION"
2802 # Some tools Automake needs.
2804 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2807 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2810 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2813 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2816 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2818 # We need awk for the "check" target. The system "awk" is bad on
2820 # Always define AMTAR for backward compatibility.
2822 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2824 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2831 # Make --enable-silent-rules the default.
2832 # To get verbose build output you may configure
2833 # with --disable-silent-rules or use "make V=1".
2834 # Check whether --enable-silent-rules was given.
2835 if test "${enable_silent_rules+set}" = set; then :
2836 enableval
=$enable_silent_rules;
2839 case $enable_silent_rules in
2840 yes) AM_DEFAULT_VERBOSITY
=0;;
2841 no
) AM_DEFAULT_VERBOSITY
=1;;
2842 *) AM_DEFAULT_VERBOSITY
=0;;
2847 # This is required when using the de-ANSI-fication feature.
2848 DEPDIR="${am__leading_dot}deps"
2850 ac_config_commands="$ac_config_commands depfiles"
2853 am_make=${MAKE-make}
2854 cat > confinc << 'END
'
2856 @echo this is the am__doit target
2859 # If we don't
find an include directive
, just comment out the code.
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2861 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2865 # First try GNU make style include.
2866 echo "include confinc" > confmf
2867 # Ignore all kinds of additional output from `make'.
2868 case `$am_make -s -f confmf 2> /dev/null` in #(
2869 *the\ am__doit\ target
*)
2875 # Now try BSD make style include.
2876 if test "$am__include" = "#"; then
2877 echo '.include "confinc"' > confmf
2878 case `$am_make -s -f confmf 2> /dev/null` in #(
2879 *the\ am__doit\ target
*)
2880 am__include
=.include
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2889 $as_echo "$_am_result" >&6; }
2890 rm -f confinc confmf
2892 # Check whether --enable-dependency-tracking was given.
2893 if test "${enable_dependency_tracking+set}" = set; then :
2894 enableval
=$enable_dependency_tracking;
2897 if test "x$enable_dependency_tracking" != xno
; then
2898 am_depcomp
="$ac_aux_dir/depcomp"
2902 if test "x$enable_dependency_tracking" != xno; then
2912 ac_cpp
='$CPP $CPPFLAGS'
2913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2916 if test -n "$ac_tool_prefix"; then
2917 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2918 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if ${ac_cv_prog_CC+:} false
; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$CC"; then
2925 ac_cv_prog_CC
="$CC" # Let the user override the test.
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir
=.
2932 for ac_exec_ext
in '' $ac_executable_extensions; do
2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 if test -n "$CC"; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2947 $as_echo "$CC" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2955 if test -z "$ac_cv_prog_CC"; then
2957 # Extract the first word of "gcc", so it can be a program name with args.
2958 set dummy gcc
; ac_word
=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$ac_ct_CC"; then
2965 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir
=.
2972 for ac_exec_ext
in '' $ac_executable_extensions; do
2973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974 ac_cv_prog_ac_ct_CC
="gcc"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2985 if test -n "$ac_ct_CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2987 $as_echo "$ac_ct_CC" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2993 if test "x$ac_ct_CC" = x
; then
2996 case $cross_compiling:$ac_tool_warned in
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3000 ac_tool_warned
=yes ;;
3008 if test -z "$CC"; then
3009 if test -n "$ac_tool_prefix"; then
3010 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3011 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_CC+:} false
; then :
3015 $as_echo_n "(cached) " >&6
3017 if test -n "$CC"; then
3018 ac_cv_prog_CC
="$CC" # Let the user override the test.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 if test -n "$CC"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3040 $as_echo "$CC" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3049 if test -z "$CC"; then
3050 # Extract the first word of "cc", so it can be a program name with args.
3051 set dummy cc
; ac_word
=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if ${ac_cv_prog_CC+:} false
; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$CC"; then
3058 ac_cv_prog_CC
="$CC" # Let the user override the test.
3061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3065 test -z "$as_dir" && as_dir
=.
3066 for ac_exec_ext
in '' $ac_executable_extensions; do
3067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3068 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3069 ac_prog_rejected
=yes
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 if test $ac_prog_rejected = yes; then
3081 # We found a bogon in the path, so make sure we never use it.
3082 set dummy
$ac_cv_prog_CC
3084 if test $# != 0; then
3085 # We chose a different compiler from the bogus one.
3086 # However, it has the same basename, so the bogon will be chosen
3087 # first if we set CC to just the basename; use the full file name.
3089 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3095 if test -n "$CC"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3097 $as_echo "$CC" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3105 if test -z "$CC"; then
3106 if test -n "$ac_tool_prefix"; then
3107 for ac_prog
in cl.exe
3109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3110 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3112 $as_echo_n "checking for $ac_word... " >&6; }
3113 if ${ac_cv_prog_CC+:} false
; then :
3114 $as_echo_n "(cached) " >&6
3116 if test -n "$CC"; then
3117 ac_cv_prog_CC
="$CC" # Let the user override the test.
3119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3123 test -z "$as_dir" && as_dir
=.
3124 for ac_exec_ext
in '' $ac_executable_extensions; do
3125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3126 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137 if test -n "$CC"; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3139 $as_echo "$CC" >&6; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142 $as_echo "no" >&6; }
3146 test -n "$CC" && break
3149 if test -z "$CC"; then
3151 for ac_prog
in cl.exe
3153 # Extract the first word of "$ac_prog", so it can be a program name with args.
3154 set dummy
$ac_prog; ac_word
=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3158 $as_echo_n "(cached) " >&6
3160 if test -n "$ac_ct_CC"; then
3161 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir
=.
3168 for ac_exec_ext
in '' $ac_executable_extensions; do
3169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170 ac_cv_prog_ac_ct_CC
="$ac_prog"
3171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3181 if test -n "$ac_ct_CC"; then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3183 $as_echo "$ac_ct_CC" >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3190 test -n "$ac_ct_CC" && break
3193 if test "x$ac_ct_CC" = x
; then
3196 case $cross_compiling:$ac_tool_warned in
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3200 ac_tool_warned
=yes ;;
3209 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3211 as_fn_error $?
"no acceptable C compiler found in \$PATH
3212 See \`config.log' for more details" "$LINENO" 5; }
3214 # Provide some information about the compiler.
3215 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3218 for ac_option
in --version -v -V -qversion; do
3219 { { ac_try
="$ac_compiler $ac_option >&5"
3221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3225 $as_echo "$ac_try_echo"; } >&5
3226 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3228 if test -s conftest.err; then
3230 ... rest of stderr output deleted ...
3231 10q' conftest.err >conftest.er1
3232 cat conftest.er1 >&5
3234 rm -f conftest.er1 conftest.err
3235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3236 test $ac_status = 0; }
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3250 ac_clean_files_save=$ac_clean_files
3251 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3252 # Try to create an executable without -o first, disregard a.out.
3253 # It will help us diagnose broken compilers, and finding out an intuition
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3256 $as_echo_n "checking whether the C compiler works... " >&6; }
3257 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3259 # The possible output files:
3260 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3263 for ac_file in $ac_files
3266 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3267 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3272 if { { ac_try="$ac_link_default"
3274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3275 *) ac_try_echo
=$ac_try;;
3277 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279 (eval "$ac_link_default") 2>&5
3281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3282 test $ac_status = 0; }; then :
3283 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3284 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3285 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3286 # so that the user can short-circuit this test for compilers unknown to
3288 for ac_file
in $ac_files ''
3290 test -f "$ac_file" ||
continue
3292 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3295 # We found the default executable, but exeext='' is most
3299 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3301 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3303 # We set ac_cv_exeext here because the later test for it is not
3304 # safe: cross compilers may not add the suffix if given an `-o'
3305 # argument, so we may need to know it at that point already.
3306 # Even if this section looks crufty: it has the advantage of
3313 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3318 if test -z "$ac_file"; then :
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320 $as_echo "no" >&6; }
3321 $as_echo "$as_me: failed program was:" >&5
3322 sed 's/^/| /' conftest.
$ac_ext >&5
3324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326 as_fn_error
77 "C compiler cannot create executables
3327 See \`config.log' for more details" "$LINENO" 5; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3330 $as_echo "yes" >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3333 $as_echo_n "checking for C compiler default output file name... " >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3335 $as_echo "$ac_file" >&6; }
3336 ac_exeext
=$ac_cv_exeext
3338 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3339 ac_clean_files
=$ac_clean_files_save
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3341 $as_echo_n "checking for suffix of executables... " >&6; }
3342 if { { ac_try
="$ac_link"
3344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3348 $as_echo "$ac_try_echo"; } >&5
3349 (eval "$ac_link") 2>&5
3351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3352 test $ac_status = 0; }; then :
3353 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3354 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3355 # work properly (i.e., refer to `conftest.exe'), while it won't with
3357 for ac_file
in conftest.exe conftest conftest.
*; do
3358 test -f "$ac_file" ||
continue
3360 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3361 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3370 See \`config.log' for more details" "$LINENO" 5; }
3372 rm -f conftest conftest
$ac_cv_exeext
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3374 $as_echo "$ac_cv_exeext" >&6; }
3376 rm -f conftest.
$ac_ext
3377 EXEEXT
=$ac_cv_exeext
3379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3385 FILE *f = fopen ("conftest.out", "w");
3386 return ferror (f) || fclose (f) != 0;
3392 ac_clean_files
="$ac_clean_files conftest.out"
3393 # Check that the compiler produces executables we can run. If not, either
3394 # the compiler is broken, or we cross compile.
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3396 $as_echo_n "checking whether we are cross compiling... " >&6; }
3397 if test "$cross_compiling" != yes; then
3398 { { ac_try
="$ac_link"
3400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404 $as_echo "$ac_try_echo"; } >&5
3405 (eval "$ac_link") 2>&5
3407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3408 test $ac_status = 0; }
3409 if { ac_try='./conftest$ac_cv_exeext'
3410 { { case "(($ac_try" in
3411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3412 *) ac_try_echo
=$ac_try;;
3414 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415 $as_echo "$ac_try_echo"; } >&5
3416 (eval "$ac_try") 2>&5
3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419 test $ac_status = 0; }; }; then
3422 if test "$cross_compiling" = maybe
; then
3425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427 as_fn_error $?
"cannot run C compiled programs.
3428 If you meant to cross compile, use \`--host'.
3429 See \`config.log' for more details" "$LINENO" 5; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3434 $as_echo "$cross_compiling" >&6; }
3436 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3437 ac_clean_files
=$ac_clean_files_save
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3439 $as_echo_n "checking for suffix of object files... " >&6; }
3440 if ${ac_cv_objext+:} false
; then :
3441 $as_echo_n "(cached) " >&6
3443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3454 rm -f conftest.o conftest.obj
3455 if { { ac_try
="$ac_compile"
3457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461 $as_echo "$ac_try_echo"; } >&5
3462 (eval "$ac_compile") 2>&5
3464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465 test $ac_status = 0; }; then :
3466 for ac_file in conftest.o conftest.obj conftest.*; do
3467 test -f "$ac_file" || continue;
3469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3470 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3475 $as_echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.$ac_ext >&5
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3481 See \
`config.log' for more details" "$LINENO" 5; }
3483 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3486 $as_echo "$ac_cv_objext" >&6; }
3487 OBJEXT=$ac_cv_objext
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3490 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3491 if ${ac_cv_c_compiler_gnu+:} false; then :
3492 $as_echo_n "(cached) " >&6
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3508 if ac_fn_c_try_compile "$LINENO"; then :
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3518 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3519 if test $ac_compiler_gnu = yes; then
3524 ac_test_CFLAGS=${CFLAGS+set}
3525 ac_save_CFLAGS=$CFLAGS
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3527 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3528 if ${ac_cv_prog_cc_g+:} false; then :
3529 $as_echo_n "(cached) " >&6
3531 ac_save_c_werror_flag=$ac_c_werror_flag
3532 ac_c_werror_flag=yes
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3546 if ac_fn_c_try_compile "$LINENO"; then :
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3561 if ac_fn_c_try_compile "$LINENO"; then :
3564 ac_c_werror_flag=$ac_save_c_werror_flag
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3577 if ac_fn_c_try_compile "$LINENO"; then :
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 ac_c_werror_flag=$ac_save_c_werror_flag
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3588 $as_echo "$ac_cv_prog_cc_g" >&6; }
3589 if test "$ac_test_CFLAGS" = set; then
3590 CFLAGS=$ac_save_CFLAGS
3591 elif test $ac_cv_prog_cc_g = yes; then
3592 if test "$GCC" = yes; then
3598 if test "$GCC" = yes; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3605 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3606 if ${ac_cv_prog_cc_c89+:} false; then :
3607 $as_echo_n "(cached) " >&6
3609 ac_cv_prog_cc_c89=no
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3615 #include <sys/types.h>
3616 #include <sys/stat.h>
3617 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3618 struct buf { int x; };
3619 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3620 static char *e (p, i)
3626 static char *f (char * (*g) (char **, int), char **p, ...)
3631 s = g (p, va_arg (v,int));
3636 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3637 function prototypes and stuff, but not '\xHH' hex character constants.
3638 These don't provoke an error unfortunately, instead are silently treated
3639 as 'x'. The following induces an error, until -std is added to get
3640 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3641 array size at least. It's necessary to write '\x00'==0 to get something
3642 that's true only with -std. */
3643 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3645 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3646 inside strings and character constants. */
3648 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3650 int test (int i, double x);
3651 struct s1 {int (*f) (int a);};
3652 struct s2 {int (*f) (double a);};
3653 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3659 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3664 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3665 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3667 CC="$ac_save_CC $ac_arg"
3668 if ac_fn_c_try_compile "$LINENO"; then :
3669 ac_cv_prog_cc_c89=$ac_arg
3671 rm -f core conftest.err conftest.$ac_objext
3672 test "x$ac_cv_prog_cc_c89" != "xno" && break
3674 rm -f conftest.$ac_ext
3679 case "x$ac_cv_prog_cc_c89" in
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3682 $as_echo "none needed" >&6; } ;;
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3685 $as_echo "unsupported" >&6; } ;;
3687 CC="$CC $ac_cv_prog_cc_c89"
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3689 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3691 if test "x$ac_cv_prog_cc_c89" != xno; then :
3696 ac_cpp='$CPP $CPPFLAGS'
3697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 depcc="$CC" am_compiler_list=
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3704 $as_echo_n "checking dependency style of $depcc... " >&6; }
3705 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3709 # We make a subdir and do the tests there. Otherwise we can end up
3710 # making bogus files that we don't know about and never remove. For
3711 # instance it was reported that on HP-UX the gcc test will end up
3712 # making a dummy file named `D
' -- because `-MD' means
`put the output
3716 # Copy depcomp to subdir because otherwise we won't find it if we're
3717 # using a relative directory.
3718 cp "$am_depcomp" conftest.dir
3720 # We will build objects and dependencies in a subdirectory because
3721 # it helps to detect inapplicable dependency modes. For instance
3722 # both Tru64's cc and ICC support -MD to output dependencies as a
3723 # side effect of compilation, but ICC will put the dependencies in
3724 # the current directory while Tru64 will put them in the object
3728 am_cv_CC_dependencies_compiler_type=none
3729 if test "$am_compiler_list" = ""; then
3730 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3733 case " $depcc " in #(
3734 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3737 for depmode in $am_compiler_list; do
3738 # Setup a source with many dependencies, because some compilers
3739 # like to wrap large dependency lists on column 80 (with \), and
3740 # we should not choose a depcomp mode which is confused by this.
3742 # We need to recreate these files for each test, as the compiler may
3743 # overwrite some of them when testing with obscure command lines.
3744 # This happens at least with the AIX C compiler.
3746 for i in 1 2 3 4 5 6; do
3747 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3748 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3749 # Solaris 8's
{/usr
,}/bin
/sh.
3750 touch sub
/conftst
$i.h
3752 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3754 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3755 # mode. It turns out that the SunPro C++ compiler does not properly
3756 # handle `-M -o', and we need to detect this. Also, some Intel
3757 # versions had trouble with output in subdirs
3758 am__obj
=sub
/conftest.
${OBJEXT-o}
3759 am__minus_obj
="-o $am__obj"
3762 # This depmode causes a compiler race in universal mode.
3763 test "$am__universal" = false ||
continue
3766 # after this tag, mechanisms are not by side-effect, so they'll
3767 # only be used when explicitly requested
3768 if test "x$enable_dependency_tracking" = xyes
; then
3774 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3775 # This compiler won't grok `-c -o', but also, the minuso test has
3776 # not run yet. These depmodes are late enough in the game, and
3777 # so weak that their functioning should not be impacted.
3778 am__obj
=conftest.
${OBJEXT-o}
3783 if depmode
=$depmode \
3784 source=sub
/conftest.c object
=$am__obj \
3785 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3786 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3787 >/dev
/null
2>conftest.err
&&
3788 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3789 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3790 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3791 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3792 # icc doesn't choke on unknown options, it will just issue warnings
3793 # or remarks (even with -Werror). So we grep stderr for any message
3794 # that says an option was ignored or not supported.
3795 # When given -MP, icc 7.0 and 7.1 complain thusly:
3796 # icc: Command line warning: ignoring option '-M'; no argument required
3797 # The diagnosis changed in icc 8.0:
3798 # icc: Command line remark: option '-MP' not supported
3799 if (grep 'ignoring option' conftest.err ||
3800 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3801 am_cv_CC_dependencies_compiler_type
=$depmode
3810 am_cv_CC_dependencies_compiler_type
=none
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3815 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3816 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3819 test "x$enable_dependency_tracking" != xno \
3820 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3822 am__fastdepCC_FALSE
='#'
3824 am__fastdepCC_TRUE
='#'
3825 am__fastdepCC_FALSE
=
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
3830 $as_echo_n "checking for function prototypes... " >&6; }
3831 if test "$ac_cv_prog_cc_c89" != no
; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3833 $as_echo "yes" >&6; }
3835 $as_echo "#define PROTOTYPES 1" >>confdefs.h
3838 $as_echo "#define __PROTOTYPES 1" >>confdefs.h
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 $as_echo "no" >&6; }
3847 ac_cpp
='$CPP $CPPFLAGS'
3848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3852 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3853 # On Suns, sometimes $CPP names a directory.
3854 if test -n "$CPP" && test -d "$CPP"; then
3857 if test -z "$CPP"; then
3858 if ${ac_cv_prog_CPP+:} false
; then :
3859 $as_echo_n "(cached) " >&6
3861 # Double quotes because CPP needs to be expanded
3862 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3865 for ac_c_preproc_warn_flag
in '' yes
3867 # Use a header file that comes with gcc, so configuring glibc
3868 # with a fresh cross-compiler works.
3869 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3870 # <limits.h> exists even on freestanding compilers.
3871 # On the NeXT, cc -E runs the code through the compiler's parser,
3872 # not just through cpp. "Syntax error" is here to catch this case.
3873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3876 # include <limits.h>
3878 # include <assert.h>
3882 if ac_fn_c_try_cpp
"$LINENO"; then :
3885 # Broken: fails on valid input.
3888 rm -f conftest.err conftest.i conftest.
$ac_ext
3890 # OK, works on sane cases. Now check whether nonexistent headers
3891 # can be detected and how.
3892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3894 #include <ac_nonexistent.h>
3896 if ac_fn_c_try_cpp
"$LINENO"; then :
3897 # Broken: success on invalid input.
3900 # Passes both tests.
3904 rm -f conftest.err conftest.i conftest.
$ac_ext
3907 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3908 rm -f conftest.i conftest.err conftest.
$ac_ext
3909 if $ac_preproc_ok; then :
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3922 $as_echo "$CPP" >&6; }
3924 for ac_c_preproc_warn_flag
in '' yes
3926 # Use a header file that comes with gcc, so configuring glibc
3927 # with a fresh cross-compiler works.
3928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3929 # <limits.h> exists even on freestanding compilers.
3930 # On the NeXT, cc -E runs the code through the compiler's parser,
3931 # not just through cpp. "Syntax error" is here to catch this case.
3932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3935 # include <limits.h>
3937 # include <assert.h>
3941 if ac_fn_c_try_cpp
"$LINENO"; then :
3944 # Broken: fails on valid input.
3947 rm -f conftest.err conftest.i conftest.
$ac_ext
3949 # OK, works on sane cases. Now check whether nonexistent headers
3950 # can be detected and how.
3951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3953 #include <ac_nonexistent.h>
3955 if ac_fn_c_try_cpp
"$LINENO"; then :
3956 # Broken: success on invalid input.
3959 # Passes both tests.
3963 rm -f conftest.err conftest.i conftest.
$ac_ext
3966 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3967 rm -f conftest.i conftest.err conftest.
$ac_ext
3968 if $ac_preproc_ok; then :
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3974 See \`config.log' for more details" "$LINENO" 5; }
3978 ac_cpp
='$CPP $CPPFLAGS'
3979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3985 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3986 if ${ac_cv_path_GREP+:} false
; then :
3987 $as_echo_n "(cached) " >&6
3989 if test -z "$GREP"; then
3990 ac_path_GREP_found
=false
3991 # Loop through the user's path and test for each of PROGNAME-LIST
3992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3993 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3996 test -z "$as_dir" && as_dir
=.
3997 for ac_prog
in grep ggrep
; do
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4000 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4001 # Check for GNU ac_path_GREP and select it if it is found.
4002 # Check for GNU $ac_path_GREP
4003 case `"$ac_path_GREP" --version 2>&1` in
4005 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4008 $as_echo_n 0123456789 >"conftest.in"
4011 cat "conftest.in" "conftest.in" >"conftest.tmp"
4012 mv "conftest.tmp" "conftest.in"
4013 cp "conftest.in" "conftest.nl"
4014 $as_echo 'GREP' >> "conftest.nl"
4015 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4016 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4017 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4018 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4019 # Best one so far, save it but keep looking for a better one
4020 ac_cv_path_GREP
="$ac_path_GREP"
4021 ac_path_GREP_max
=$ac_count
4023 # 10*(2^10) chars as input seems more than enough
4024 test $ac_count -gt 10 && break
4026 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4029 $ac_path_GREP_found && break 3
4034 if test -z "$ac_cv_path_GREP"; then
4035 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4038 ac_cv_path_GREP
=$GREP
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4043 $as_echo "$ac_cv_path_GREP" >&6; }
4044 GREP
="$ac_cv_path_GREP"
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4048 $as_echo_n "checking for egrep... " >&6; }
4049 if ${ac_cv_path_EGREP+:} false
; then :
4050 $as_echo_n "(cached) " >&6
4052 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4053 then ac_cv_path_EGREP
="$GREP -E"
4055 if test -z "$EGREP"; then
4056 ac_path_EGREP_found
=false
4057 # Loop through the user's path and test for each of PROGNAME-LIST
4058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4059 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4062 test -z "$as_dir" && as_dir
=.
4063 for ac_prog
in egrep; do
4064 for ac_exec_ext
in '' $ac_executable_extensions; do
4065 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4066 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4067 # Check for GNU ac_path_EGREP and select it if it is found.
4068 # Check for GNU $ac_path_EGREP
4069 case `"$ac_path_EGREP" --version 2>&1` in
4071 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4074 $as_echo_n 0123456789 >"conftest.in"
4077 cat "conftest.in" "conftest.in" >"conftest.tmp"
4078 mv "conftest.tmp" "conftest.in"
4079 cp "conftest.in" "conftest.nl"
4080 $as_echo 'EGREP' >> "conftest.nl"
4081 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4082 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4083 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4084 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4085 # Best one so far, save it but keep looking for a better one
4086 ac_cv_path_EGREP
="$ac_path_EGREP"
4087 ac_path_EGREP_max
=$ac_count
4089 # 10*(2^10) chars as input seems more than enough
4090 test $ac_count -gt 10 && break
4092 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4095 $ac_path_EGREP_found && break 3
4100 if test -z "$ac_cv_path_EGREP"; then
4101 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4104 ac_cv_path_EGREP
=$EGREP
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4110 $as_echo "$ac_cv_path_EGREP" >&6; }
4111 EGREP
="$ac_cv_path_EGREP"
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4115 $as_echo_n "checking for ANSI C header files... " >&6; }
4116 if ${ac_cv_header_stdc+:} false
; then :
4117 $as_echo_n "(cached) " >&6
4119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4120 /* end confdefs.h. */
4134 if ac_fn_c_try_compile
"$LINENO"; then :
4135 ac_cv_header_stdc
=yes
4137 ac_cv_header_stdc
=no
4139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4141 if test $ac_cv_header_stdc = yes; then
4142 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4149 $EGREP "memchr" >/dev
/null
2>&1; then :
4152 ac_cv_header_stdc
=no
4158 if test $ac_cv_header_stdc = yes; then
4159 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4166 $EGREP "free" >/dev
/null
2>&1; then :
4169 ac_cv_header_stdc
=no
4175 if test $ac_cv_header_stdc = yes; then
4176 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4177 if test "$cross_compiling" = yes; then :
4180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 #if ((' ' & 0x0FF) == 0x020)
4185 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4186 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4188 # define ISLOWER(c) \
4189 (('a' <= (c) && (c) <= 'i') \
4190 || ('j' <= (c) && (c) <= 'r') \
4191 || ('s' <= (c) && (c) <= 'z'))
4192 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4195 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4200 for (i = 0; i < 256; i++)
4201 if (XOR (islower (i), ISLOWER (i))
4202 || toupper (i) != TOUPPER (i))
4207 if ac_fn_c_try_run
"$LINENO"; then :
4210 ac_cv_header_stdc
=no
4212 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4213 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4219 $as_echo "$ac_cv_header_stdc" >&6; }
4220 if test $ac_cv_header_stdc = yes; then
4222 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4226 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4227 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4228 inttypes.h stdint.h unistd.h
4230 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4231 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4233 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4234 cat >>confdefs.h
<<_ACEOF
4235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4245 if test "$ac_cv_prog_cc_stdc" != no
; then
4248 U
=_ ANSI2KNR
=.
/ansi2knr
4250 # Ensure some checks needed by ansi2knr itself.
4252 for ac_header
in string.h
4254 ac_fn_c_check_header_mongrel
"$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
4255 if test "x$ac_cv_header_string_h" = xyes
; then :
4256 cat >>confdefs.h
<<_ACEOF
4257 #define HAVE_STRING_H 1
4266 # Add configure option --enable-maintainer-mode which enables
4267 # dependency checking and generation useful to package maintainers.
4268 # This is made an option to avoid confusing end users.
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4271 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4272 # Check whether --enable-maintainer-mode was given.
4273 if test "${enable_maintainer_mode+set}" = set; then :
4274 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4276 USE_MAINTAINER_MODE
=no
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4280 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4281 if test $USE_MAINTAINER_MODE = yes; then
4282 MAINTAINER_MODE_TRUE
=
4283 MAINTAINER_MODE_FALSE
='#'
4285 MAINTAINER_MODE_TRUE
='#'
4286 MAINTAINER_MODE_FALSE
=
4289 MAINT
=$MAINTAINER_MODE_TRUE
4293 # Check for programs
4295 ac_cpp
='$CPP $CPPFLAGS'
4296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4299 if test -n "$ac_tool_prefix"; then
4300 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4301 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_CC+:} false
; then :
4305 $as_echo_n "(cached) " >&6
4307 if test -n "$CC"; then
4308 ac_cv_prog_CC
="$CC" # Let the user override the test.
4310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4314 test -z "$as_dir" && as_dir
=.
4315 for ac_exec_ext
in '' $ac_executable_extensions; do
4316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4317 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 if test -n "$CC"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4330 $as_echo "$CC" >&6; }
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4338 if test -z "$ac_cv_prog_CC"; then
4340 # Extract the first word of "gcc", so it can be a program name with args.
4341 set dummy gcc
; ac_word
=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -n "$ac_ct_CC"; then
4348 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4354 test -z "$as_dir" && as_dir
=.
4355 for ac_exec_ext
in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_prog_ac_ct_CC
="gcc"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4368 if test -n "$ac_ct_CC"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4370 $as_echo "$ac_ct_CC" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4376 if test "x$ac_ct_CC" = x
; then
4379 case $cross_compiling:$ac_tool_warned in
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4383 ac_tool_warned
=yes ;;
4391 if test -z "$CC"; then
4392 if test -n "$ac_tool_prefix"; then
4393 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4394 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if ${ac_cv_prog_CC+:} false
; then :
4398 $as_echo_n "(cached) " >&6
4400 if test -n "$CC"; then
4401 ac_cv_prog_CC
="$CC" # Let the user override the test.
4403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir
=.
4408 for ac_exec_ext
in '' $ac_executable_extensions; do
4409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4410 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 if test -n "$CC"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4423 $as_echo "$CC" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4432 if test -z "$CC"; then
4433 # Extract the first word of "cc", so it can be a program name with args.
4434 set dummy cc
; ac_word
=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_CC+:} false
; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -n "$CC"; then
4441 ac_cv_prog_CC
="$CC" # Let the user override the test.
4444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir
=.
4449 for ac_exec_ext
in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4452 ac_prog_rejected
=yes
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 if test $ac_prog_rejected = yes; then
4464 # We found a bogon in the path, so make sure we never use it.
4465 set dummy
$ac_cv_prog_CC
4467 if test $# != 0; then
4468 # We chose a different compiler from the bogus one.
4469 # However, it has the same basename, so the bogon will be chosen
4470 # first if we set CC to just the basename; use the full file name.
4472 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4478 if test -n "$CC"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4480 $as_echo "$CC" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4488 if test -z "$CC"; then
4489 if test -n "$ac_tool_prefix"; then
4490 for ac_prog
in cl.exe
4492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4493 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if ${ac_cv_prog_CC+:} false
; then :
4497 $as_echo_n "(cached) " >&6
4499 if test -n "$CC"; then
4500 ac_cv_prog_CC
="$CC" # Let the user override the test.
4502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir
=.
4507 for ac_exec_ext
in '' $ac_executable_extensions; do
4508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4509 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4520 if test -n "$CC"; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4522 $as_echo "$CC" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4525 $as_echo "no" >&6; }
4529 test -n "$CC" && break
4532 if test -z "$CC"; then
4534 for ac_prog
in cl.exe
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy
$ac_prog; ac_word
=$2
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4539 $as_echo_n "checking for $ac_word... " >&6; }
4540 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4541 $as_echo_n "(cached) " >&6
4543 if test -n "$ac_ct_CC"; then
4544 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir
=.
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4553 ac_cv_prog_ac_ct_CC
="$ac_prog"
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4564 if test -n "$ac_ct_CC"; then
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4566 $as_echo "$ac_ct_CC" >&6; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4569 $as_echo "no" >&6; }
4573 test -n "$ac_ct_CC" && break
4576 if test "x$ac_ct_CC" = x
; then
4579 case $cross_compiling:$ac_tool_warned in
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4583 ac_tool_warned
=yes ;;
4592 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4594 as_fn_error $?
"no acceptable C compiler found in \$PATH
4595 See \`config.log' for more details" "$LINENO" 5; }
4597 # Provide some information about the compiler.
4598 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4601 for ac_option
in --version -v -V -qversion; do
4602 { { ac_try
="$ac_compiler $ac_option >&5"
4604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4605 *) ac_try_echo=$ac_try;;
4607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608 $as_echo "$ac_try_echo"; } >&5
4609 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4611 if test -s conftest.err; then
4613 ... rest of stderr output deleted ...
4614 10q' conftest.err >conftest.er1
4615 cat conftest.er1 >&5
4617 rm -f conftest.er1 conftest.err
4618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4619 test $ac_status = 0; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4623 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4624 if ${ac_cv_c_compiler_gnu+:} false; then :
4625 $as_echo_n "(cached) " >&6
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4641 if ac_fn_c_try_compile "$LINENO"; then :
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4651 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4652 if test $ac_compiler_gnu = yes; then
4657 ac_test_CFLAGS=${CFLAGS+set}
4658 ac_save_CFLAGS=$CFLAGS
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4660 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4661 if ${ac_cv_prog_cc_g+:} false; then :
4662 $as_echo_n "(cached) " >&6
4664 ac_save_c_werror_flag=$ac_c_werror_flag
4665 ac_c_werror_flag=yes
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4679 if ac_fn_c_try_compile "$LINENO"; then :
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4694 if ac_fn_c_try_compile "$LINENO"; then :
4697 ac_c_werror_flag=$ac_save_c_werror_flag
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4710 if ac_fn_c_try_compile "$LINENO"; then :
4713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4718 ac_c_werror_flag=$ac_save_c_werror_flag
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4721 $as_echo "$ac_cv_prog_cc_g" >&6; }
4722 if test "$ac_test_CFLAGS" = set; then
4723 CFLAGS=$ac_save_CFLAGS
4724 elif test $ac_cv_prog_cc_g = yes; then
4725 if test "$GCC" = yes; then
4731 if test "$GCC" = yes; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4738 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4739 if ${ac_cv_prog_cc_c89+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 ac_cv_prog_cc_c89=no
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4748 #include <sys/types.h>
4749 #include <sys/stat.h>
4750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4751 struct buf { int x; };
4752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4753 static char *e (p, i)
4759 static char *f (char * (*g) (char **, int), char **p, ...)
4764 s = g (p, va_arg (v,int));
4769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4770 function prototypes and stuff, but not '\xHH' hex character constants.
4771 These don't provoke an error unfortunately, instead are silently treated
4772 as 'x'. The following induces an error, until -std is added to get
4773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4774 array size at least. It's necessary to write '\x00'==0 to get something
4775 that's true only with -std. */
4776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4778 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4779 inside strings and character constants. */
4781 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4783 int test (int i, double x);
4784 struct s1 {int (*f) (int a);};
4785 struct s2 {int (*f) (double a);};
4786 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4792 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4797 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4798 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4800 CC="$ac_save_CC $ac_arg"
4801 if ac_fn_c_try_compile "$LINENO"; then :
4802 ac_cv_prog_cc_c89=$ac_arg
4804 rm -f core conftest.err conftest.$ac_objext
4805 test "x$ac_cv_prog_cc_c89" != "xno" && break
4807 rm -f conftest.$ac_ext
4812 case "x$ac_cv_prog_cc_c89" in
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4815 $as_echo "none needed" >&6; } ;;
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4818 $as_echo "unsupported" >&6; } ;;
4820 CC="$CC $ac_cv_prog_cc_c89"
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4824 if test "x$ac_cv_prog_cc_c89" != xno; then :
4829 ac_cpp='$CPP $CPPFLAGS'
4830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4834 depcc="$CC" am_compiler_list=
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4837 $as_echo_n "checking dependency style of $depcc... " >&6; }
4838 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4842 # We make a subdir and do the tests there. Otherwise we can end up
4843 # making bogus files that we don't know about and never remove. For
4844 # instance it was reported that on HP-UX the gcc test will end up
4845 # making a dummy file named `D
' -- because `-MD' means
`put the output
4849 # Copy depcomp to subdir because otherwise we won't find it if we're
4850 # using a relative directory.
4851 cp "$am_depcomp" conftest.dir
4853 # We will build objects and dependencies in a subdirectory because
4854 # it helps to detect inapplicable dependency modes. For instance
4855 # both Tru64's cc and ICC support -MD to output dependencies as a
4856 # side effect of compilation, but ICC will put the dependencies in
4857 # the current directory while Tru64 will put them in the object
4861 am_cv_CC_dependencies_compiler_type=none
4862 if test "$am_compiler_list" = ""; then
4863 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4866 case " $depcc " in #(
4867 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4870 for depmode in $am_compiler_list; do
4871 # Setup a source with many dependencies, because some compilers
4872 # like to wrap large dependency lists on column 80 (with \), and
4873 # we should not choose a depcomp mode which is confused by this.
4875 # We need to recreate these files for each test, as the compiler may
4876 # overwrite some of them when testing with obscure command lines.
4877 # This happens at least with the AIX C compiler.
4879 for i in 1 2 3 4 5 6; do
4880 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4881 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4882 # Solaris 8's
{/usr
,}/bin
/sh.
4883 touch sub
/conftst
$i.h
4885 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4887 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4888 # mode. It turns out that the SunPro C++ compiler does not properly
4889 # handle `-M -o', and we need to detect this. Also, some Intel
4890 # versions had trouble with output in subdirs
4891 am__obj
=sub
/conftest.
${OBJEXT-o}
4892 am__minus_obj
="-o $am__obj"
4895 # This depmode causes a compiler race in universal mode.
4896 test "$am__universal" = false ||
continue
4899 # after this tag, mechanisms are not by side-effect, so they'll
4900 # only be used when explicitly requested
4901 if test "x$enable_dependency_tracking" = xyes
; then
4907 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4908 # This compiler won't grok `-c -o', but also, the minuso test has
4909 # not run yet. These depmodes are late enough in the game, and
4910 # so weak that their functioning should not be impacted.
4911 am__obj
=conftest.
${OBJEXT-o}
4916 if depmode
=$depmode \
4917 source=sub
/conftest.c object
=$am__obj \
4918 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4919 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4920 >/dev
/null
2>conftest.err
&&
4921 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4922 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4923 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4924 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4925 # icc doesn't choke on unknown options, it will just issue warnings
4926 # or remarks (even with -Werror). So we grep stderr for any message
4927 # that says an option was ignored or not supported.
4928 # When given -MP, icc 7.0 and 7.1 complain thusly:
4929 # icc: Command line warning: ignoring option '-M'; no argument required
4930 # The diagnosis changed in icc 8.0:
4931 # icc: Command line remark: option '-MP' not supported
4932 if (grep 'ignoring option' conftest.err ||
4933 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4934 am_cv_CC_dependencies_compiler_type
=$depmode
4943 am_cv_CC_dependencies_compiler_type
=none
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4948 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4949 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4952 test "x$enable_dependency_tracking" != xno \
4953 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4955 am__fastdepCC_FALSE
='#'
4957 am__fastdepCC_TRUE
='#'
4958 am__fastdepCC_FALSE
=
4962 case $ac_cv_prog_cc_stdc in #(
4964 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4967 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4968 if ${ac_cv_prog_cc_c99+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4971 ac_cv_prog_cc_c99
=no
4973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4976 #include <stdbool.h>
4981 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4982 #define debug(...) fprintf (stderr, __VA_ARGS__)
4983 #define showlist(...) puts (#__VA_ARGS__)
4984 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4986 test_varargs_macros (void)
4991 debug ("X = %d\n", x);
4992 showlist (The first, second, and third items.);
4993 report (x>y, "x is %d but y is %d", x, y);
4996 // Check long long types.
4997 #define BIG64 18446744073709551615ull
4998 #define BIG32 4294967295ul
4999 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5001 your preprocessor is broken;
5005 your preprocessor is broken;
5007 static long long int bignum = -9223372036854775807LL;
5008 static unsigned long long int ubignum = BIG64;
5010 struct incomplete_array
5018 const wchar_t *name;
5022 typedef const char *ccp;
5025 test_restrict (ccp restrict text)
5027 // See if C++-style comments work.
5028 // Iterate through items via the restricted pointer.
5029 // Also check for declarations in for loops.
5030 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5035 // Check varargs and va_copy.
5037 test_varargs (const char *format, ...)
5040 va_start (args, format);
5042 va_copy (args_copy, args);
5053 str = va_arg (args_copy, const char *);
5056 number = va_arg (args_copy, int);
5059 fnumber = va_arg (args_copy, double);
5074 _Bool success = false;
5077 if (test_restrict ("String literal") == 0)
5079 char *restrict newvar = "Another string";
5082 test_varargs ("s, d' f .", "string", 65, 34.234);
5083 test_varargs_macros ();
5085 // Check flexible array members.
5086 struct incomplete_array *ia =
5087 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5089 for (int i = 0; i < ia->datasize; ++i)
5090 ia->data[i] = i * 1.234;
5092 // Check named initializers.
5093 struct named_init ni = {
5095 .name = L"Test wide string",
5096 .average = 543.34343,
5101 int dynamic_array[ni.number];
5102 dynamic_array[ni.number - 1] = 543;
5104 // work around unused variable warnings
5105 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5106 || dynamic_array[ni.number - 1] != 543);
5112 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
5114 CC
="$ac_save_CC $ac_arg"
5115 if ac_fn_c_try_compile
"$LINENO"; then :
5116 ac_cv_prog_cc_c99
=$ac_arg
5118 rm -f core conftest.err conftest.
$ac_objext
5119 test "x$ac_cv_prog_cc_c99" != "xno" && break
5121 rm -f conftest.
$ac_ext
5126 case "x$ac_cv_prog_cc_c99" in
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5129 $as_echo "none needed" >&6; } ;;
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5132 $as_echo "unsupported" >&6; } ;;
5134 CC
="$CC $ac_cv_prog_cc_c99"
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5136 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5138 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5139 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5142 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5143 if ${ac_cv_prog_cc_c89+:} false
; then :
5144 $as_echo_n "(cached) " >&6
5146 ac_cv_prog_cc_c89
=no
5148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5149 /* end confdefs.h. */
5152 #include <sys/types.h>
5153 #include <sys/stat.h>
5154 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5155 struct buf { int x; };
5156 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5157 static char *e (p, i)
5163 static char *f (char * (*g) (char **, int), char **p, ...)
5168 s = g (p, va_arg (v,int));
5173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5174 function prototypes and stuff, but not '\xHH' hex character constants.
5175 These don't provoke an error unfortunately, instead are silently treated
5176 as 'x'. The following induces an error, until -std is added to get
5177 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5178 array size at least. It's necessary to write '\x00'==0 to get something
5179 that's true only with -std. */
5180 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5183 inside strings and character constants. */
5185 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5187 int test (int i, double x);
5188 struct s1 {int (*f) (int a);};
5189 struct s2 {int (*f) (double a);};
5190 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5196 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5201 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
5202 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5204 CC
="$ac_save_CC $ac_arg"
5205 if ac_fn_c_try_compile
"$LINENO"; then :
5206 ac_cv_prog_cc_c89
=$ac_arg
5208 rm -f core conftest.err conftest.
$ac_objext
5209 test "x$ac_cv_prog_cc_c89" != "xno" && break
5211 rm -f conftest.
$ac_ext
5216 case "x$ac_cv_prog_cc_c89" in
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5219 $as_echo "none needed" >&6; } ;;
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5222 $as_echo "unsupported" >&6; } ;;
5224 CC
="$CC $ac_cv_prog_cc_c89"
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5226 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5228 if test "x$ac_cv_prog_cc_c89" != xno
; then :
5229 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
5231 ac_cv_prog_cc_stdc
=no
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5238 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5239 if ${ac_cv_prog_cc_stdc+:} false
; then :
5240 $as_echo_n "(cached) " >&6
5243 case $ac_cv_prog_cc_stdc in #(
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5246 $as_echo "unsupported" >&6; } ;; #(
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5249 $as_echo "none needed" >&6; } ;; #(
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5252 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5256 ac_cpp
='$CPP $CPPFLAGS'
5257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5261 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5262 # On Suns, sometimes $CPP names a directory.
5263 if test -n "$CPP" && test -d "$CPP"; then
5266 if test -z "$CPP"; then
5267 if ${ac_cv_prog_CPP+:} false
; then :
5268 $as_echo_n "(cached) " >&6
5270 # Double quotes because CPP needs to be expanded
5271 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5274 for ac_c_preproc_warn_flag
in '' yes
5276 # Use a header file that comes with gcc, so configuring glibc
5277 # with a fresh cross-compiler works.
5278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5279 # <limits.h> exists even on freestanding compilers.
5280 # On the NeXT, cc -E runs the code through the compiler's parser,
5281 # not just through cpp. "Syntax error" is here to catch this case.
5282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5285 # include <limits.h>
5287 # include <assert.h>
5291 if ac_fn_c_try_cpp
"$LINENO"; then :
5294 # Broken: fails on valid input.
5297 rm -f conftest.err conftest.i conftest.
$ac_ext
5299 # OK, works on sane cases. Now check whether nonexistent headers
5300 # can be detected and how.
5301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5302 /* end confdefs.h. */
5303 #include <ac_nonexistent.h>
5305 if ac_fn_c_try_cpp
"$LINENO"; then :
5306 # Broken: success on invalid input.
5309 # Passes both tests.
5313 rm -f conftest.err conftest.i conftest.
$ac_ext
5316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5317 rm -f conftest.i conftest.err conftest.
$ac_ext
5318 if $ac_preproc_ok; then :
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5331 $as_echo "$CPP" >&6; }
5333 for ac_c_preproc_warn_flag
in '' yes
5335 # Use a header file that comes with gcc, so configuring glibc
5336 # with a fresh cross-compiler works.
5337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5338 # <limits.h> exists even on freestanding compilers.
5339 # On the NeXT, cc -E runs the code through the compiler's parser,
5340 # not just through cpp. "Syntax error" is here to catch this case.
5341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5344 # include <limits.h>
5346 # include <assert.h>
5350 if ac_fn_c_try_cpp
"$LINENO"; then :
5353 # Broken: fails on valid input.
5356 rm -f conftest.err conftest.i conftest.
$ac_ext
5358 # OK, works on sane cases. Now check whether nonexistent headers
5359 # can be detected and how.
5360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5362 #include <ac_nonexistent.h>
5364 if ac_fn_c_try_cpp
"$LINENO"; then :
5365 # Broken: success on invalid input.
5368 # Passes both tests.
5372 rm -f conftest.err conftest.i conftest.
$ac_ext
5375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5376 rm -f conftest.i conftest.err conftest.
$ac_ext
5377 if $ac_preproc_ok; then :
5380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5382 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5383 See \`config.log' for more details" "$LINENO" 5; }
5387 ac_cpp
='$CPP $CPPFLAGS'
5388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5394 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5396 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5397 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5398 $as_echo_n "(cached) " >&6
5400 cat >conftest.
make <<\_ACEOF
5403 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5405 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5406 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5408 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5410 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5414 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5416 $as_echo "yes" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5421 SET_MAKE
="MAKE=${MAKE-make}"
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5425 $as_echo_n "checking whether ln -s works... " >&6; }
5427 if test "$LN_S" = "ln -s"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5429 $as_echo "yes" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5432 $as_echo "no, using $LN_S" >&6; }
5436 # Check if LD supports linker scripts,
5437 # and define automake conditional HAVE_LD_VERSION_SCRIPT if so.
5438 # Check whether --enable-ld-version-script was given.
5439 if test "${enable_ld_version_script+set}" = set; then :
5440 enableval
=$enable_ld_version_script; have_ld_version_script
=$enableval
5443 if test -z "$have_ld_version_script"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5
5445 $as_echo_n "checking if LD -Wl,--version-script works... " >&6; }
5446 save_LDFLAGS
="$LDFLAGS"
5447 LDFLAGS
="$LDFLAGS -Wl,--version-script=conftest.map"
5448 cat > conftest.map
<<EOF
5457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5468 if ac_fn_c_try_link
"$LINENO"; then :
5469 have_ld_version_script
=yes
5471 have_ld_version_script
=no
5473 rm -f core conftest.err conftest.
$ac_objext \
5474 conftest
$ac_exeext conftest.
$ac_ext
5476 LDFLAGS
="$save_LDFLAGS"
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ld_version_script" >&5
5478 $as_echo "$have_ld_version_script" >&6; }
5480 if test "$have_ld_version_script" = "yes"; then
5481 HAVE_LD_VERSION_SCRIPT_TRUE
=
5482 HAVE_LD_VERSION_SCRIPT_FALSE
='#'
5484 HAVE_LD_VERSION_SCRIPT_TRUE
='#'
5485 HAVE_LD_VERSION_SCRIPT_FALSE
=
5489 # See if compiler supports prototypes.
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
5491 $as_echo_n "checking for function prototypes... " >&6; }
5492 if ${ijg_cv_have_prototypes+:} false
; then :
5493 $as_echo_n "(cached) " >&6
5495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5498 int testfunction (int arg1, int * arg2); /* check prototypes */
5499 struct methods_struct { /* check method-pointer declarations */
5500 int (*error_exit) (char *msgtext);
5501 int (*trace_message) (char *msgtext);
5502 int (*another_method) (void);
5504 int testfunction (int arg1, int * arg2) /* check definitions */
5505 { return arg2[arg1]; }
5506 int test2function (void) /* check void arg list */
5510 if ac_fn_c_try_compile
"$LINENO"; then :
5511 ijg_cv_have_prototypes
=yes
5513 ijg_cv_have_prototypes
=no
5515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_cv_have_prototypes" >&5
5519 $as_echo "$ijg_cv_have_prototypes" >&6; }
5520 if test $ijg_cv_have_prototypes = yes; then
5522 $as_echo "#define HAVE_PROTOTYPES 1" >>confdefs.h
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your compiler does not seem to know about function prototypes.
5526 Perhaps it needs a special switch to enable ANSI C mode.
5527 If so, we recommend running configure like this:
5528 ./configure CC='cc -switch'
5529 where -switch is the proper switch." >&5
5530 $as_echo "$as_me: WARNING: Your compiler does not seem to know about function prototypes.
5531 Perhaps it needs a special switch to enable ANSI C mode.
5532 If so, we recommend running configure like this:
5533 ./configure CC='cc -switch'
5534 where -switch is the proper switch." >&2;}
5537 # Check header files
5538 for ac_header
in stddef.h stdlib.h locale.h
5540 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5541 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5542 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5543 cat >>confdefs.h
<<_ACEOF
5544 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5551 ac_fn_c_check_header_mongrel
"$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
5552 if test "x$ac_cv_header_string_h" = xyes
; then :
5556 $as_echo "#define NEED_BSD_STRINGS 1" >>confdefs.h
5562 # See whether type size_t is defined in any ANSI-standard places;
5563 # if not, perhaps it is defined in <sys/types.h>.
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t" >&5
5565 $as_echo_n "checking for size_t... " >&6; }
5566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5569 #ifdef HAVE_STDDEF_H
5572 #ifdef HAVE_STDLIB_H
5576 #ifdef NEED_BSD_STRINGS
5577 #include <strings.h>
5581 typedef size_t my_size_t;
5591 if ac_fn_c_try_compile
"$LINENO"; then :
5594 ijg_size_t_ok
="not ANSI, perhaps it is in sys/types.h"
5596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_size_t_ok" >&5
5598 $as_echo "$ijg_size_t_ok" >&6; }
5599 if test "$ijg_size_t_ok" != yes; then
5600 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
5601 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
5603 $as_echo "#define NEED_SYS_TYPES_H 1" >>confdefs.h
5605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5607 #include <sys/types.h>
5609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5610 $EGREP "size_t" >/dev
/null
2>&1; then :
5611 ijg_size_t_ok
="size_t is in sys/types.h"
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_size_t_ok" >&5
5623 $as_echo "$ijg_size_t_ok" >&6; }
5624 if test "$ijg_size_t_ok" = no
; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Type size_t is not defined in any of the usual places.
5626 Try putting '\"typedef unsigned int size_t;\"' in jconfig.h." >&5
5627 $as_echo "$as_me: WARNING: Type size_t is not defined in any of the usual places.
5628 Try putting '\"typedef unsigned int size_t;\"' in jconfig.h." >&2;}
5632 # Check compiler characteristics
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type unsigned char" >&5
5634 $as_echo_n "checking for type unsigned char... " >&6; }
5635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5641 unsigned char un_char;
5646 if ac_fn_c_try_compile
"$LINENO"; then :
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5648 $as_echo "yes" >&6; }
5650 $as_echo "#define HAVE_UNSIGNED_CHAR 1" >>confdefs.h
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type unsigned short" >&5
5659 $as_echo_n "checking for type unsigned short... " >&6; }
5660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5666 unsigned short un_short;
5671 if ac_fn_c_try_compile
"$LINENO"; then :
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5673 $as_echo "yes" >&6; }
5675 $as_echo "#define HAVE_UNSIGNED_SHORT 1" >>confdefs.h
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type void" >&5
5684 $as_echo_n "checking for type void... " >&6; }
5685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5688 /* Caution: a C++ compiler will insist on valid prototypes */
5689 typedef void * void_ptr; /* check void * */
5690 #ifdef HAVE_PROTOTYPES /* check ptr to function returning void */
5691 typedef void (*void_func) (int a, int b);
5693 typedef void (*void_func) ();
5696 #ifdef HAVE_PROTOTYPES /* check void function result */
5697 void test3function (void_ptr arg1, void_func arg2)
5699 void test3function (arg1, arg2)
5704 char * locptr = (char *) arg1; /* check casting to and from void * */
5705 arg1 = (void *) locptr;
5706 (*arg2) (1, 2); /* check call of fcn returning void */
5717 if ac_fn_c_try_compile
"$LINENO"; then :
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5719 $as_echo "yes" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5724 $as_echo "#define void char" >>confdefs.h
5727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5729 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5730 if ${ac_cv_c_const+:} false
; then :
5731 $as_echo_n "(cached) " >&6
5733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5734 /* end confdefs.h. */
5739 /* FIXME: Include the comments suggested by Paul. */
5741 /* Ultrix mips cc rejects this. */
5742 typedef int charset[2];
5744 /* SunOS 4.1.1 cc rejects this. */
5745 char const *const *pcpcc;
5747 /* NEC SVR4.0.2 mips cc rejects this. */
5748 struct point {int x, y;};
5749 static struct point const zero = {0,0};
5750 /* AIX XL C 1.02.0.0 rejects this.
5751 It does not let you subtract one const X* pointer from another in
5752 an arm of an if-expression whose if-part is not a constant
5754 const char *g = "string";
5755 pcpcc = &g + (g ? g-g : 0);
5756 /* HPUX 7.0 cc rejects these. */
5758 ppc = (char**) pcpcc;
5759 pcpcc = (char const *const *) ppc;
5760 { /* SCO 3.2v4 cc rejects this. */
5762 char const *s = 0 ? (char *) 0 : (char const *) 0;
5767 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5769 const int *foo = &x[0];
5772 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5773 typedef const int *iptr;
5777 { /* AIX XL C 1.02.0.0 rejects this saying
5778 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5779 struct s { int j; const int *ap[3]; };
5780 struct s *b; b->j = 5;
5782 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5786 return !cs[0] && !zero.x;
5793 if ac_fn_c_try_compile
"$LINENO"; then :
5798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5801 $as_echo "$ac_cv_c_const" >&6; }
5802 if test $ac_cv_c_const = no
; then
5804 $as_echo "#define const /**/" >>confdefs.h
5809 # Check for non-broken inline under various spellings
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5811 $as_echo_n "checking for inline... " >&6; }
5813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5814 /* end confdefs.h. */
5819 } __inline__ int foo() { return 0; }
5820 int bar() { return foo();
5825 if ac_fn_c_try_compile
"$LINENO"; then :
5826 ijg_cv_inline
="__inline__"
5828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5834 } __inline int foo() { return 0; }
5835 int bar() { return foo();
5840 if ac_fn_c_try_compile
"$LINENO"; then :
5841 ijg_cv_inline
="__inline"
5843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5849 } inline int foo() { return 0; }
5850 int bar() { return foo();
5855 if ac_fn_c_try_compile
"$LINENO"; then :
5856 ijg_cv_inline
="inline"
5858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_cv_inline" >&5
5864 $as_echo "$ijg_cv_inline" >&6; }
5866 cat >>confdefs.h
<<_ACEOF
5867 #define INLINE $ijg_cv_inline
5871 # We cannot check for bogus warnings, but at least we can check for errors
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken incomplete types" >&5
5873 $as_echo_n "checking for broken incomplete types... " >&6; }
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5876 typedef struct undefined_structure * undef_struct_ptr;
5885 if ac_fn_c_try_compile
"$LINENO"; then :
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5887 $as_echo "ok" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5
5890 $as_echo "broken" >&6; }
5892 $as_echo "#define INCOMPLETE_TYPES_BROKEN 1" >>confdefs.h
5895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5897 # Test whether global names are unique to at least 15 chars
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for short external names" >&5
5899 $as_echo_n "checking for short external names... " >&6; }
5900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5901 /* end confdefs.h. */
5903 int possibly_duplicate_function () { return 0; }
5904 int possibly_dupli_function () { return 1; }
5914 if ac_fn_c_try_link
"$LINENO"; then :
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5916 $as_echo "ok" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5
5919 $as_echo "short" >&6; }
5921 $as_echo "#define NEED_SHORT_EXTERNAL_NAMES 1" >>confdefs.h
5924 rm -f core conftest.err conftest.
$ac_objext \
5925 conftest
$ac_exeext conftest.
$ac_ext
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if char is signed" >&5
5929 $as_echo_n "checking to see if char is signed... " >&6; }
5930 if test "$cross_compiling" = yes; then :
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that char is signed on target machine.
5932 If it is unsigned, this will be a little bit inefficient." >&5
5933 $as_echo "$as_me: WARNING: Assuming that char is signed on target machine.
5934 If it is unsigned, this will be a little bit inefficient." >&2;}
5937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5940 #ifdef HAVE_PROTOTYPES
5941 int is_char_signed (int arg)
5943 int is_char_signed (arg)
5947 if (arg == 189) { /* expected result for unsigned char */
5948 return 0; /* type char is unsigned */
5950 else if (arg != -67) { /* expected result for signed char */
5951 printf("Hmm, it seems 'char' is not eight bits wide on your machine.\n");
5952 printf("I fear the JPEG software will not work at all.\n\n");
5954 return 1; /* assume char is signed otherwise */
5956 char signed_char_check = (char) (-67);
5958 exit(is_char_signed((int) signed_char_check));
5961 if ac_fn_c_try_run
"$LINENO"; then :
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5965 $as_echo "#define CHAR_IS_UNSIGNED 1" >>confdefs.h
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5969 $as_echo "yes" >&6; }
5971 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5972 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if right shift is signed" >&5
5977 $as_echo_n "checking to see if right shift is signed... " >&6; }
5978 if test "$cross_compiling" = yes; then :
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Assuming that right shift is signed on target machine." >&5
5980 $as_echo "Assuming that right shift is signed on target machine." >&6; }
5982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5985 #ifdef HAVE_PROTOTYPES
5986 int is_shifting_signed (long arg)
5988 int is_shifting_signed (arg)
5991 /* See whether right-shift on a long is signed or not. */
5993 long res = arg >> 4;
5995 if (res == -0x7F7E80CL) { /* expected result for signed shift */
5996 return 1; /* right shift is signed */
5998 /* see if unsigned-shift hack will fix it. */
5999 /* we can't just test exact value since it depends on width of long... */
6000 res |= (~0L) << (32-4);
6001 if (res == -0x7F7E80CL) { /* expected result now? */
6002 return 0; /* right shift is unsigned */
6004 printf("Right shift isn't acting as I expect it to.\n");
6005 printf("I fear the JPEG software will not work at all.\n\n");
6006 return 0; /* try it with unsigned anyway */
6009 exit(is_shifting_signed(-0x7F7E80B1L));
6012 if ac_fn_c_try_run
"$LINENO"; then :
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6016 $as_echo "#define RIGHT_SHIFT_IS_UNSIGNED 1" >>confdefs.h
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6020 $as_echo "yes" >&6; }
6022 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6023 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if fopen accepts b spec" >&5
6028 $as_echo_n "checking to see if fopen accepts b spec... " >&6; }
6029 if test "$cross_compiling" = yes; then :
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Assuming that it does." >&5
6031 $as_echo "Assuming that it does." >&6; }
6033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6038 if (fopen("conftestdata", "wb") != NULL)
6043 if ac_fn_c_try_run
"$LINENO"; then :
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6045 $as_echo "yes" >&6; }
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6050 $as_echo "#define DONT_USE_B_MODE 1" >>confdefs.h
6053 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6054 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6059 enable_win32_dll
=yes
6062 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
6063 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6065 set dummy
${ac_tool_prefix}as
; ac_word
=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_AS+:} false
; then :
6069 $as_echo_n "(cached) " >&6
6071 if test -n "$AS"; then
6072 ac_cv_prog_AS
="$AS" # Let the user override the test.
6074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir
=.
6079 for ac_exec_ext
in '' $ac_executable_extensions; do
6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 ac_cv_prog_AS
="${ac_tool_prefix}as"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 if test -n "$AS"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6094 $as_echo "$AS" >&6; }
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6102 if test -z "$ac_cv_prog_AS"; then
6104 # Extract the first word of "as", so it can be a program name with args.
6105 set dummy as
; ac_word
=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 if test -n "$ac_ct_AS"; then
6112 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
6114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir
=.
6119 for ac_exec_ext
in '' $ac_executable_extensions; do
6120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6121 ac_cv_prog_ac_ct_AS
="as"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
6132 if test -n "$ac_ct_AS"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6134 $as_echo "$ac_ct_AS" >&6; }
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6140 if test "x$ac_ct_AS" = x
; then
6143 case $cross_compiling:$ac_tool_warned in
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6147 ac_tool_warned
=yes ;;
6155 if test -n "$ac_tool_prefix"; then
6156 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6157 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6161 $as_echo_n "(cached) " >&6
6163 if test -n "$DLLTOOL"; then
6164 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir
=.
6171 for ac_exec_ext
in '' $ac_executable_extensions; do
6172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 DLLTOOL
=$ac_cv_prog_DLLTOOL
6184 if test -n "$DLLTOOL"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6186 $as_echo "$DLLTOOL" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6194 if test -z "$ac_cv_prog_DLLTOOL"; then
6195 ac_ct_DLLTOOL
=$DLLTOOL
6196 # Extract the first word of "dlltool", so it can be a program name with args.
6197 set dummy dlltool
; ac_word
=$2
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6199 $as_echo_n "checking for $ac_word... " >&6; }
6200 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6201 $as_echo_n "(cached) " >&6
6203 if test -n "$ac_ct_DLLTOOL"; then
6204 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6210 test -z "$as_dir" && as_dir
=.
6211 for ac_exec_ext
in '' $ac_executable_extensions; do
6212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6213 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6224 if test -n "$ac_ct_DLLTOOL"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6226 $as_echo "$ac_ct_DLLTOOL" >&6; }
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6232 if test "x$ac_ct_DLLTOOL" = x
; then
6235 case $cross_compiling:$ac_tool_warned in
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned
=yes ;;
6241 DLLTOOL
=$ac_ct_DLLTOOL
6244 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6247 if test -n "$ac_tool_prefix"; then
6248 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6249 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6251 $as_echo_n "checking for $ac_word... " >&6; }
6252 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6253 $as_echo_n "(cached) " >&6
6255 if test -n "$OBJDUMP"; then
6256 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir
=.
6263 for ac_exec_ext
in '' $ac_executable_extensions; do
6264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6265 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275 OBJDUMP
=$ac_cv_prog_OBJDUMP
6276 if test -n "$OBJDUMP"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6278 $as_echo "$OBJDUMP" >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6281 $as_echo "no" >&6; }
6286 if test -z "$ac_cv_prog_OBJDUMP"; then
6287 ac_ct_OBJDUMP
=$OBJDUMP
6288 # Extract the first word of "objdump", so it can be a program name with args.
6289 set dummy objdump
; ac_word
=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6291 $as_echo_n "checking for $ac_word... " >&6; }
6292 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6293 $as_echo_n "(cached) " >&6
6295 if test -n "$ac_ct_OBJDUMP"; then
6296 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir
=.
6303 for ac_exec_ext
in '' $ac_executable_extensions; do
6304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6316 if test -n "$ac_ct_OBJDUMP"; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6318 $as_echo "$ac_ct_OBJDUMP" >&6; }
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6321 $as_echo "no" >&6; }
6324 if test "x$ac_ct_OBJDUMP" = x
; then
6327 case $cross_compiling:$ac_tool_warned in
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6331 ac_tool_warned
=yes ;;
6333 OBJDUMP
=$ac_ct_OBJDUMP
6336 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6342 test -z "$AS" && AS
=as
6348 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6354 test -z "$OBJDUMP" && OBJDUMP
=objdump
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6365 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6370 macro_version
='2.4.2'
6371 macro_revision
='1.3337'
6385 ltmain
="$ac_aux_dir/ltmain.sh"
6387 # Backslashify metacharacters that are still active within
6388 # double-quoted strings.
6389 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6391 # Same as above, but do not quote variable references.
6392 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6394 # Sed substitution to delay expansion of an escaped shell variable in a
6395 # double_quote_subst'ed string.
6396 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6398 # Sed substitution to delay expansion of an escaped single quote.
6399 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6401 # Sed substitution to avoid accidental globbing in evaled expressions
6402 no_glob_subst
='s/\*/\\\*/g'
6404 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6405 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6406 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6409 $as_echo_n "checking how to print strings... " >&6; }
6410 # Test print first, because it will be a builtin if present.
6411 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6412 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6414 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6417 # Use this function as a fallback that always works.
6418 func_fallback_echo ()
6420 eval 'cat <<_LTECHO_EOF
6424 ECHO='func_fallback_echo
'
6427 # func_echo_all arg...
6428 # Invoke $ECHO with all args, space-separated.
6435 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6436 $as_echo "printf" >&6; } ;;
6437 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6438 $as_echo "print -r" >&6; } ;;
6439 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6440 $as_echo "cat" >&6; } ;;
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6457 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6458 if ${ac_cv_path_SED+:} false; then :
6459 $as_echo_n "(cached) " >&6
6461 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6462 for ac_i in 1 2 3 4 5 6 7; do
6463 ac_script="$ac_script$as_nl$ac_script"
6465 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6466 { ac_script=; unset ac_script;}
6467 if test -z "$SED"; then
6468 ac_path_SED_found=false
6469 # Loop through the user's path and
test for each of PROGNAME-LIST
6470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6474 test -z "$as_dir" && as_dir
=.
6475 for ac_prog
in sed gsed
; do
6476 for ac_exec_ext
in '' $ac_executable_extensions; do
6477 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6478 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6479 # Check for GNU ac_path_SED and select it if it is found.
6480 # Check for GNU $ac_path_SED
6481 case `"$ac_path_SED" --version 2>&1` in
6483 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6486 $as_echo_n 0123456789 >"conftest.in"
6489 cat "conftest.in" "conftest.in" >"conftest.tmp"
6490 mv "conftest.tmp" "conftest.in"
6491 cp "conftest.in" "conftest.nl"
6492 $as_echo '' >> "conftest.nl"
6493 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6494 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6495 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6496 if test $ac_count -gt ${ac_path_SED_max-0}; then
6497 # Best one so far, save it but keep looking for a better one
6498 ac_cv_path_SED
="$ac_path_SED"
6499 ac_path_SED_max
=$ac_count
6501 # 10*(2^10) chars as input seems more than enough
6502 test $ac_count -gt 10 && break
6504 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6507 $ac_path_SED_found && break 3
6512 if test -z "$ac_cv_path_SED"; then
6513 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6521 $as_echo "$ac_cv_path_SED" >&6; }
6522 SED
="$ac_cv_path_SED"
6525 test -z "$SED" && SED
=sed
6526 Xsed
="$SED -e 1s/^X//"
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6539 $as_echo_n "checking for fgrep... " >&6; }
6540 if ${ac_cv_path_FGREP+:} false
; then :
6541 $as_echo_n "(cached) " >&6
6543 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6544 then ac_cv_path_FGREP
="$GREP -F"
6546 if test -z "$FGREP"; then
6547 ac_path_FGREP_found
=false
6548 # Loop through the user's path and test for each of PROGNAME-LIST
6549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6550 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6553 test -z "$as_dir" && as_dir
=.
6554 for ac_prog
in fgrep
; do
6555 for ac_exec_ext
in '' $ac_executable_extensions; do
6556 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6557 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
6558 # Check for GNU ac_path_FGREP and select it if it is found.
6559 # Check for GNU $ac_path_FGREP
6560 case `"$ac_path_FGREP" --version 2>&1` in
6562 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6565 $as_echo_n 0123456789 >"conftest.in"
6568 cat "conftest.in" "conftest.in" >"conftest.tmp"
6569 mv "conftest.tmp" "conftest.in"
6570 cp "conftest.in" "conftest.nl"
6571 $as_echo 'FGREP' >> "conftest.nl"
6572 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6573 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6574 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6575 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6576 # Best one so far, save it but keep looking for a better one
6577 ac_cv_path_FGREP
="$ac_path_FGREP"
6578 ac_path_FGREP_max
=$ac_count
6580 # 10*(2^10) chars as input seems more than enough
6581 test $ac_count -gt 10 && break
6583 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6586 $ac_path_FGREP_found && break 3
6591 if test -z "$ac_cv_path_FGREP"; then
6592 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6595 ac_cv_path_FGREP
=$FGREP
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6601 $as_echo "$ac_cv_path_FGREP" >&6; }
6602 FGREP
="$ac_cv_path_FGREP"
6605 test -z "$GREP" && GREP
=grep
6625 # Check whether --with-gnu-ld was given.
6626 if test "${with_gnu_ld+set}" = set; then :
6627 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6633 if test "$GCC" = yes; then
6634 # Check if gcc -print-prog-name=ld gives a path.
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6636 $as_echo_n "checking for ld used by $CC... " >&6; }
6639 # gcc leaves a trailing carriage return which upsets mingw
6640 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6642 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6645 # Accept absolute paths.
6647 re_direlt
='/[^/][^/]*/\.\./'
6648 # Canonicalize the pathname of ld
6649 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6650 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6651 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6653 test -z "$LD" && LD
="$ac_prog"
6656 # If it fails, then pretend we aren't using GCC.
6660 # If it is relative, then search for the first ld in PATH.
6664 elif test "$with_gnu_ld" = yes; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6666 $as_echo_n "checking for GNU ld... " >&6; }
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6669 $as_echo_n "checking for non-GNU ld... " >&6; }
6671 if ${lt_cv_path_LD+:} false
; then :
6672 $as_echo_n "(cached) " >&6
6674 if test -z "$LD"; then
6675 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6676 for ac_dir
in $PATH; do
6678 test -z "$ac_dir" && ac_dir
=.
6679 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6680 lt_cv_path_LD
="$ac_dir/$ac_prog"
6681 # Check to see if the program is GNU ld. I'd rather use --version,
6682 # but apparently some variants of GNU ld only accept -v.
6683 # Break only if it was the GNU/non-GNU ld that we prefer.
6684 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6685 *GNU
* |
*'with BFD'*)
6686 test "$with_gnu_ld" != no
&& break
6689 test "$with_gnu_ld" != yes && break
6696 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6701 if test -n "$LD"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6703 $as_echo "$LD" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6708 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6710 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6711 if ${lt_cv_prog_gnu_ld+:} false
; then :
6712 $as_echo_n "(cached) " >&6
6714 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6715 case `$LD -v 2>&1 </dev/null` in
6716 *GNU
* |
*'with BFD'*)
6717 lt_cv_prog_gnu_ld
=yes
6720 lt_cv_prog_gnu_ld
=no
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6725 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6726 with_gnu_ld
=$lt_cv_prog_gnu_ld
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6737 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6738 if ${lt_cv_path_NM+:} false
; then :
6739 $as_echo_n "(cached) " >&6
6741 if test -n "$NM"; then
6742 # Let the user override the test.
6745 lt_nm_to_check
="${ac_tool_prefix}nm"
6746 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6747 lt_nm_to_check
="$lt_nm_to_check nm"
6749 for lt_tmp_nm
in $lt_nm_to_check; do
6750 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6751 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6753 test -z "$ac_dir" && ac_dir
=.
6754 tmp_nm
="$ac_dir/$lt_tmp_nm"
6755 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6756 # Check to see if the nm accepts a BSD-compat flag.
6757 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6758 # nm: unknown option "B" ignored
6759 # Tru64's nm complains that /dev/null is an invalid object file
6760 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6761 */dev
/null
* |
*'Invalid file or object type'*)
6762 lt_cv_path_NM
="$tmp_nm -B"
6766 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6768 lt_cv_path_NM
="$tmp_nm -p"
6772 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6773 continue # so that we can try to find one that supports BSD flags
6782 : ${lt_cv_path_NM=no}
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6786 $as_echo "$lt_cv_path_NM" >&6; }
6787 if test "$lt_cv_path_NM" != "no"; then
6790 # Didn't find any BSD compatible name lister, look for dumpbin.
6791 if test -n "$DUMPBIN"; then :
6792 # Let the user override the test.
6794 if test -n "$ac_tool_prefix"; then
6795 for ac_prog
in dumpbin
"link -dump"
6797 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6798 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800 $as_echo_n "checking for $ac_word... " >&6; }
6801 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6802 $as_echo_n "(cached) " >&6
6804 if test -n "$DUMPBIN"; then
6805 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6811 test -z "$as_dir" && as_dir
=.
6812 for ac_exec_ext
in '' $ac_executable_extensions; do
6813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6814 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824 DUMPBIN
=$ac_cv_prog_DUMPBIN
6825 if test -n "$DUMPBIN"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6827 $as_echo "$DUMPBIN" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 $as_echo "no" >&6; }
6834 test -n "$DUMPBIN" && break
6837 if test -z "$DUMPBIN"; then
6838 ac_ct_DUMPBIN
=$DUMPBIN
6839 for ac_prog
in dumpbin
"link -dump"
6841 # Extract the first word of "$ac_prog", so it can be a program name with args.
6842 set dummy
$ac_prog; ac_word
=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6846 $as_echo_n "(cached) " >&6
6848 if test -n "$ac_ct_DUMPBIN"; then
6849 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir
=.
6856 for ac_exec_ext
in '' $ac_executable_extensions; do
6857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6868 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6869 if test -n "$ac_ct_DUMPBIN"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6871 $as_echo "$ac_ct_DUMPBIN" >&6; }
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 $as_echo "no" >&6; }
6878 test -n "$ac_ct_DUMPBIN" && break
6881 if test "x$ac_ct_DUMPBIN" = x
; then
6884 case $cross_compiling:$ac_tool_warned in
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6888 ac_tool_warned
=yes ;;
6890 DUMPBIN
=$ac_ct_DUMPBIN
6894 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6896 DUMPBIN
="$DUMPBIN -symbols"
6904 if test "$DUMPBIN" != ":"; then
6908 test -z "$NM" && NM
=nm
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6916 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6917 if ${lt_cv_nm_interface+:} false
; then :
6918 $as_echo_n "(cached) " >&6
6920 lt_cv_nm_interface
="BSD nm"
6921 echo "int some_variable = 0;" > conftest.
$ac_ext
6922 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6923 (eval "$ac_compile" 2>conftest.err
)
6924 cat conftest.err
>&5
6925 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6926 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6927 cat conftest.err
>&5
6928 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6929 cat conftest.out
>&5
6930 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6931 lt_cv_nm_interface
="MS dumpbin"
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6936 $as_echo "$lt_cv_nm_interface" >&6; }
6938 # find the maximum length of command line arguments
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6940 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6941 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6942 $as_echo_n "(cached) " >&6
6949 # On DJGPP, this test can blow up pretty badly due to problems in libc
6950 # (any single argument exceeding 2000 bytes causes a buffer overrun
6951 # during glob expansion). Even if it were fixed, the result of this
6952 # check would be larger than it should be.
6953 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6957 # Under GNU Hurd, this test is not required because there is
6958 # no limit to the length of command line arguments.
6959 # Libtool will interpret -1 as no limit whatsoever
6960 lt_cv_sys_max_cmd_len
=-1;
6963 cygwin
* | mingw
* | cegcc
*)
6964 # On Win9x/ME, this test blows up -- it succeeds, but takes
6965 # about 5 minutes as the teststring grows exponentially.
6966 # Worse, since 9x/ME are not pre-emptively multitasking,
6967 # you end up with a "frozen" computer, even though with patience
6968 # the test eventually succeeds (with a max line length of 256k).
6969 # Instead, let's just punt: use the minimum linelength reported by
6970 # all of the supported platforms: 8192 (on NT/2K/XP).
6971 lt_cv_sys_max_cmd_len
=8192;
6975 # On MiNT this can take a long time and run out of memory.
6976 lt_cv_sys_max_cmd_len
=8192;
6980 # On AmigaOS with pdksh, this test takes hours, literally.
6981 # So we just punt and use a minimum line length of 8192.
6982 lt_cv_sys_max_cmd_len
=8192;
6985 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6986 # This has been around since 386BSD, at least. Likely further.
6987 if test -x /sbin
/sysctl
; then
6988 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6989 elif test -x /usr
/sbin
/sysctl
; then
6990 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6992 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6994 # And add a safety zone
6995 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6996 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7000 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7001 lt_cv_sys_max_cmd_len
=196608
7005 # The test takes a long time on OS/2.
7006 lt_cv_sys_max_cmd_len
=8192
7010 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7011 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7012 # nice to cause kernel panics so lets avoid the loop below.
7013 # First set a reasonable default.
7014 lt_cv_sys_max_cmd_len
=16384
7016 if test -x /sbin
/sysconfig
; then
7017 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7018 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7023 lt_cv_sys_max_cmd_len
=102400
7025 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7026 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7027 if test -n "$kargmax"; then
7028 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7030 lt_cv_sys_max_cmd_len
=32768
7034 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7035 if test -n "$lt_cv_sys_max_cmd_len"; then
7036 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7037 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7039 # Make teststring a little bigger before we do anything with it.
7040 # a 1K string should be a reasonable start.
7041 for i
in 1 2 3 4 5 6 7 8 ; do
7042 teststring
=$teststring$teststring
7044 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7045 # If test is not a shell built-in, we'll probably end up computing a
7046 # maximum length that is only half of the actual maximum length, but
7048 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7049 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7050 test $i != 17 # 1/2 MB should be enough
7053 teststring
=$teststring$teststring
7055 # Only check the string length outside the loop.
7056 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7058 # Add a significant safety factor because C++ compilers can tack on
7059 # massive amounts of additional arguments before passing them to the
7060 # linker. It appears as though 1/2 is a usable value.
7061 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7068 if test -n $lt_cv_sys_max_cmd_len ; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7070 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7073 $as_echo "none" >&6; }
7075 max_cmd_len
=$lt_cv_sys_max_cmd_len
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7087 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7088 # Try some XSI features
7091 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7093 && eval 'test $(( 1 + 1 )) -eq 2 \
7094 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7097 $as_echo "$xsi_shell" >&6; }
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7101 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7103 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7105 && lt_shell_append=yes
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7107 $as_echo "$lt_shell_append" >&6; }
7110 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7120 # test EBCDIC or ASCII
7121 case `echo X|tr X '\101'` in
7122 A) # ASCII based system
7123 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7124 lt_SP2NL='tr \040 \012'
7125 lt_NL2SP='tr \015\012 \040\040'
7127 *) # EBCDIC based system
7128 lt_SP2NL='tr \100 \n'
7129 lt_NL2SP='tr \r\n \100\100'
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
7142 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
7143 if ${lt_cv_to_host_file_cmd+:} false; then :
7144 $as_echo_n "(cached
) " >&6
7149 *-*-mingw* ) # actually msys
7150 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7153 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7155 * ) # otherwise, assume *nix
7156 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7162 *-*-mingw* ) # actually msys
7163 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7166 lt_cv_to_host_file_cmd=func_convert_file_noop
7168 * ) # otherwise, assume *nix
7169 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7173 * ) # unhandled hosts (and "normal
" native builds)
7174 lt_cv_to_host_file_cmd=func_convert_file_noop
7180 to_host_file_cmd=$lt_cv_to_host_file_cmd
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
7182 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
7189 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
7190 if ${lt_cv_to_tool_file_cmd+:} false; then :
7191 $as_echo_n "(cached
) " >&6
7193 #assume ordinary cross tools, or native build.
7194 lt_cv_to_tool_file_cmd=func_convert_file_noop
7198 *-*-mingw* ) # actually msys
7199 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7207 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
7209 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7216 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7217 if ${lt_cv_ld_reload_flag+:} false; then :
7218 $as_echo_n "(cached
) " >&6
7220 lt_cv_ld_reload_flag='-r'
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7223 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7224 reload_flag=$lt_cv_ld_reload_flag
7225 case $reload_flag in
7227 *) reload_flag=" $reload_flag" ;;
7229 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7231 cygwin* | mingw* | pw32* | cegcc*)
7232 if test "$GCC" != yes; then
7237 if test "$GCC" = yes; then
7238 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7240 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7253 if test -n "$ac_tool_prefix"; then
7254 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7255 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7257 $as_echo_n "checking
for $ac_word...
" >&6; }
7258 if ${ac_cv_prog_OBJDUMP+:} false; then :
7259 $as_echo_n "(cached
) " >&6
7261 if test -n "$OBJDUMP"; then
7262 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7281 OBJDUMP=$ac_cv_prog_OBJDUMP
7282 if test -n "$OBJDUMP"; then
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7284 $as_echo "$OBJDUMP" >&6; }
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7287 $as_echo "no
" >&6; }
7292 if test -z "$ac_cv_prog_OBJDUMP"; then
7293 ac_ct_OBJDUMP=$OBJDUMP
7294 # Extract the first word of "objdump
", so it can be a program name with args.
7295 set dummy objdump; ac_word=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7297 $as_echo_n "checking
for $ac_word...
" >&6; }
7298 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7299 $as_echo_n "(cached
) " >&6
7301 if test -n "$ac_ct_OBJDUMP"; then
7302 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7311 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7321 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7322 if test -n "$ac_ct_OBJDUMP"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7324 $as_echo "$ac_ct_OBJDUMP" >&6; }
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7327 $as_echo "no
" >&6; }
7330 if test "x
$ac_ct_OBJDUMP" = x; then
7333 case $cross_compiling:$ac_tool_warned in
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7336 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7337 ac_tool_warned=yes ;;
7339 OBJDUMP=$ac_ct_OBJDUMP
7342 OBJDUMP="$ac_cv_prog_OBJDUMP"
7345 test -z "$OBJDUMP" && OBJDUMP=objdump
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7353 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7354 if ${lt_cv_deplibs_check_method+:} false; then :
7355 $as_echo_n "(cached
) " >&6
7357 lt_cv_file_magic_cmd='$MAGIC_CMD'
7358 lt_cv_file_magic_test_file=
7359 lt_cv_deplibs_check_method='unknown'
7360 # Need to set the preceding variable on all platforms that support
7361 # interlibrary dependencies.
7362 # 'none' -- dependencies not supported.
7363 # `unknown' -- same as none, but documents that we really don't know.
7364 # 'pass_all' -- all dependencies passed with no checks.
7365 # 'test_compile' -- check by making test program.
7366 # 'file_magic [[regex]]' -- check by looking for files in library path
7367 # which responds to the $file_magic_cmd with a given extended regex.
7368 # If you have `file' or equivalent on your system and you're not sure
7369 # whether `pass_all' will *always* work, you probably want this one.
7373 lt_cv_deplibs_check_method=pass_all
7377 lt_cv_deplibs_check_method=pass_all
7381 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7382 lt_cv_file_magic_cmd='/usr/bin/file -L'
7383 lt_cv_file_magic_test_file=/shlib/libc.so
7387 # func_win32_libid is a shell function defined in ltmain.sh
7388 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7389 lt_cv_file_magic_cmd='func_win32_libid'
7393 # Base MSYS/MinGW do not provide the 'file' command needed by
7394 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7395 # unless we find 'file', for example because we are cross-compiling.
7396 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7397 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7398 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7399 lt_cv_file_magic_cmd='func_win32_libid'
7401 # Keep this pattern in sync with the one in func_win32_libid.
7402 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7403 lt_cv_file_magic_cmd='$OBJDUMP -f'
7408 # use the weaker test based on 'objdump'. See mingw*.
7409 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7410 lt_cv_file_magic_cmd='$OBJDUMP -f'
7413 darwin* | rhapsody*)
7414 lt_cv_deplibs_check_method=pass_all
7417 freebsd* | dragonfly*)
7418 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7421 # Not sure whether the presence of OpenBSD here was a mistake.
7422 # Let's accept both of them until this is cleared up.
7423 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7424 lt_cv_file_magic_cmd=/usr/bin/file
7425 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7429 lt_cv_deplibs_check_method=pass_all
7434 lt_cv_deplibs_check_method=pass_all
7438 lt_cv_deplibs_check_method=pass_all
7441 hpux10.20* | hpux11*)
7442 lt_cv_file_magic_cmd=/usr/bin/file
7445 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7446 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7449 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]'
7450 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7453 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7454 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7460 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7464 irix5* | irix6* | nonstopux*)
7466 *-32|*"-32 ") libmagic=32-bit;;
7467 *-n32|*"-n32 ") libmagic=N32;;
7468 *-64|*"-64 ") libmagic=64-bit;;
7469 *) libmagic=never-match;;
7471 lt_cv_deplibs_check_method=pass_all
7474 # This must be glibc/ELF.
7475 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7476 lt_cv_deplibs_check_method=pass_all
7480 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7481 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7483 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7488 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7489 lt_cv_file_magic_cmd=/usr/bin/file
7490 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7494 lt_cv_deplibs_check_method=pass_all
7498 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7499 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7501 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7505 osf3* | osf4* | osf5*)
7506 lt_cv_deplibs_check_method=pass_all
7510 lt_cv_deplibs_check_method=pass_all
7514 lt_cv_deplibs_check_method=pass_all
7517 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7518 lt_cv_deplibs_check_method=pass_all
7522 case $host_vendor in
7524 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]'
7525 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7528 lt_cv_deplibs_check_method=pass_all
7531 lt_cv_file_magic_cmd='/bin/file'
7532 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7535 lt_cv_file_magic_cmd='/bin/file'
7536 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7537 lt_cv_file_magic_test_file=/lib/libc.so
7540 lt_cv_deplibs_check_method=pass_all
7543 lt_cv_deplibs_check_method=pass_all
7549 lt_cv_deplibs_check_method=pass_all
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7555 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7559 if test "$build" = "$host"; then
7562 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7565 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
7571 file_magic_cmd=$lt_cv_file_magic_cmd
7572 deplibs_check_method=$lt_cv_deplibs_check_method
7573 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7596 if test -n "$ac_tool_prefix"; then
7597 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
7598 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7600 $as_echo_n "checking
for $ac_word...
" >&6; }
7601 if ${ac_cv_prog_DLLTOOL+:} false; then :
7602 $as_echo_n "(cached
) " >&6
7604 if test -n "$DLLTOOL"; then
7605 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7624 DLLTOOL=$ac_cv_prog_DLLTOOL
7625 if test -n "$DLLTOOL"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7627 $as_echo "$DLLTOOL" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7630 $as_echo "no
" >&6; }
7635 if test -z "$ac_cv_prog_DLLTOOL"; then
7636 ac_ct_DLLTOOL=$DLLTOOL
7637 # Extract the first word of "dlltool
", so it can be a program name with args.
7638 set dummy dlltool; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7640 $as_echo_n "checking
for $ac_word...
" >&6; }
7641 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7642 $as_echo_n "(cached
) " >&6
7644 if test -n "$ac_ct_DLLTOOL"; then
7645 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7664 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7665 if test -n "$ac_ct_DLLTOOL"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
7667 $as_echo "$ac_ct_DLLTOOL" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7670 $as_echo "no
" >&6; }
7673 if test "x
$ac_ct_DLLTOOL" = x; then
7676 case $cross_compiling:$ac_tool_warned in
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7679 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7680 ac_tool_warned=yes ;;
7682 DLLTOOL=$ac_ct_DLLTOOL
7685 DLLTOOL="$ac_cv_prog_DLLTOOL"
7688 test -z "$DLLTOOL" && DLLTOOL=dlltool
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
7697 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
7698 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7699 $as_echo_n "(cached
) " >&6
7701 lt_cv_sharedlib_from_linklib_cmd='unknown'
7704 cygwin* | mingw* | pw32* | cegcc*)
7705 # two different shell functions defined in ltmain.sh
7706 # decide which to use based on capabilities of $DLLTOOL
7707 case `$DLLTOOL --help 2>&1` in
7708 *--identify-strict*)
7709 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7712 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7717 # fallback: assume linklib IS sharedlib
7718 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7724 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7725 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7726 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7734 if test -n "$ac_tool_prefix"; then
7737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7740 $as_echo_n "checking
for $ac_word...
" >&6; }
7741 if ${ac_cv_prog_AR+:} false; then :
7742 $as_echo_n "(cached
) " >&6
7744 if test -n "$AR"; then
7745 ac_cv_prog_AR="$AR" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7754 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7765 if test -n "$AR"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7767 $as_echo "$AR" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7770 $as_echo "no
" >&6; }
7774 test -n "$AR" && break
7777 if test -z "$AR"; then
7781 # Extract the first word of "$ac_prog", so it can be a program name with args.
7782 set dummy $ac_prog; ac_word=$2
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7784 $as_echo_n "checking
for $ac_word...
" >&6; }
7785 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7786 $as_echo_n "(cached
) " >&6
7788 if test -n "$ac_ct_AR"; then
7789 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 test -z "$as_dir" && as_dir=.
7796 for ac_exec_ext in '' $ac_executable_extensions; do
7797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7798 ac_cv_prog_ac_ct_AR="$ac_prog"
7799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7808 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7809 if test -n "$ac_ct_AR"; then
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7811 $as_echo "$ac_ct_AR" >&6; }
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7814 $as_echo "no
" >&6; }
7818 test -n "$ac_ct_AR" && break
7821 if test "x
$ac_ct_AR" = x; then
7824 case $cross_compiling:$ac_tool_warned in
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7827 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7828 ac_tool_warned=yes ;;
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7848 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7849 if ${lt_cv_ar_at_file+:} false; then :
7850 $as_echo_n "(cached
) " >&6
7853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7864 if ac_fn_c_try_compile "$LINENO"; then :
7865 echo conftest.$ac_objext > conftest.lst
7866 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7867 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7868 (eval $lt_ar_try) 2>&5
7870 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7871 test $ac_status = 0; }
7872 if test "$ac_status" -eq 0; then
7873 # Ensure the archiver fails upon bogus file names.
7874 rm -f conftest.$ac_objext libconftest.a
7875 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7876 (eval $lt_ar_try) 2>&5
7878 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7879 test $ac_status = 0; }
7880 if test "$ac_status" -ne 0; then
7884 rm -f conftest.* libconftest.a
7887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7891 $as_echo "$lt_cv_ar_at_file" >&6; }
7893 if test "x
$lt_cv_ar_at_file" = xno; then
7896 archiver_list_spec=$lt_cv_ar_at_file
7905 if test -n "$ac_tool_prefix"; then
7906 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7907 set dummy ${ac_tool_prefix}strip; ac_word=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7909 $as_echo_n "checking
for $ac_word...
" >&6; }
7910 if ${ac_cv_prog_STRIP+:} false; then :
7911 $as_echo_n "(cached
) " >&6
7913 if test -n "$STRIP"; then
7914 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7923 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7933 STRIP=$ac_cv_prog_STRIP
7934 if test -n "$STRIP"; then
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7936 $as_echo "$STRIP" >&6; }
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7939 $as_echo "no
" >&6; }
7944 if test -z "$ac_cv_prog_STRIP"; then
7946 # Extract the first word of "strip
", so it can be a program name with args.
7947 set dummy strip; ac_word=$2
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7949 $as_echo_n "checking
for $ac_word...
" >&6; }
7950 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7951 $as_echo_n "(cached
) " >&6
7953 if test -n "$ac_ct_STRIP"; then
7954 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 test -z "$as_dir" && as_dir=.
7961 for ac_exec_ext in '' $ac_executable_extensions; do
7962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7963 ac_cv_prog_ac_ct_STRIP="strip
"
7964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7973 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7974 if test -n "$ac_ct_STRIP"; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7976 $as_echo "$ac_ct_STRIP" >&6; }
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7979 $as_echo "no
" >&6; }
7982 if test "x
$ac_ct_STRIP" = x; then
7985 case $cross_compiling:$ac_tool_warned in
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7988 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7989 ac_tool_warned=yes ;;
7994 STRIP="$ac_cv_prog_STRIP"
7997 test -z "$STRIP" && STRIP=:
8004 if test -n "$ac_tool_prefix"; then
8005 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8006 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8008 $as_echo_n "checking
for $ac_word...
" >&6; }
8009 if ${ac_cv_prog_RANLIB+:} false; then :
8010 $as_echo_n "(cached
) " >&6
8012 if test -n "$RANLIB"; then
8013 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 test -z "$as_dir" && as_dir=.
8020 for ac_exec_ext in '' $ac_executable_extensions; do
8021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8022 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8032 RANLIB=$ac_cv_prog_RANLIB
8033 if test -n "$RANLIB"; then
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8035 $as_echo "$RANLIB" >&6; }
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8038 $as_echo "no
" >&6; }
8043 if test -z "$ac_cv_prog_RANLIB"; then
8044 ac_ct_RANLIB=$RANLIB
8045 # Extract the first word of "ranlib
", so it can be a program name with args.
8046 set dummy ranlib; ac_word=$2
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8048 $as_echo_n "checking
for $ac_word...
" >&6; }
8049 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8050 $as_echo_n "(cached
) " >&6
8052 if test -n "$ac_ct_RANLIB"; then
8053 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8062 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8072 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8073 if test -n "$ac_ct_RANLIB"; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8075 $as_echo "$ac_ct_RANLIB" >&6; }
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8078 $as_echo "no
" >&6; }
8081 if test "x
$ac_ct_RANLIB" = x; then
8084 case $cross_compiling:$ac_tool_warned in
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8087 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8088 ac_tool_warned=yes ;;
8090 RANLIB=$ac_ct_RANLIB
8093 RANLIB="$ac_cv_prog_RANLIB"
8096 test -z "$RANLIB" && RANLIB=:
8103 # Determine commands to create old-style static archives.
8104 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8105 old_postinstall_cmds='chmod 644 $oldlib'
8106 old_postuninstall_cmds=
8108 if test -n "$RANLIB"; then
8111 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
8114 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
8117 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
8122 lock_old_archive_extraction=yes ;;
8124 lock_old_archive_extraction=no ;;
8165 # If no C compiler was specified, use CC.
8168 # If no C compiler flags were specified, use CFLAGS.
8169 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8171 # Allow CC to be a program name with arguments.
8175 # Check for command to grab the raw symbol name followed by C symbol from nm.
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8177 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8178 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8179 $as_echo_n "(cached
) " >&6
8182 # These are sane defaults that work on at least a few old systems.
8183 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8185 # Character class describing NM global symbol codes.
8186 symcode='[BCDEGRST]'
8188 # Regexp to match symbols that can be accessed directly from C.
8189 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8191 # Define system-specific variables.
8196 cygwin* | mingw* | pw32* | cegcc*)
8197 symcode='[ABCDGISTW]'
8200 if test "$host_cpu" = ia64; then
8201 symcode='[ABCDEGRST]'
8205 symcode='[BCDEGRST]'
8208 symcode='[BCDEGQRST]'
8219 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8227 # If we're using GNU nm, then use its standard symbol codes.
8228 case `$NM -V 2>&1` in
8229 *GNU* | *'with BFD'*)
8230 symcode='[ABCDGIRSTW]' ;;
8233 # Transform an extracted symbol line into a proper C declaration.
8234 # Some systems (esp. on ia64) link data and code symbols differently,
8235 # so use this general approach.
8236 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8238 # Transform an extracted symbol line into symbol name and symbol address
8239 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8240 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'"
8242 # Handle CRLF in mingw tool chain
8246 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8250 # Try without a prefix underscore, then with it.
8251 for ac_symprfx in "" "_
"; do
8253 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8254 symxfrm="\\1 $ac_symprfx\\2 \\2"
8256 # Write the raw and C identifiers.
8257 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8258 # Fake it for dumpbin and say T for any non-static function
8259 # and D for any global variable.
8260 # Also find C++ and __fastcall symbols from MSVC++,
8261 # which start with @ or ?.
8262 lt_cv_sys_global_symbol_pipe="$AWK '"\
8263 " {last_section=section; section=\$ 3};"\
8264 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8265 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8266 " \$ 0!~/External *\|/{next};"\
8267 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8268 " {if(hide[section]) next};"\
8269 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8270 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8271 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8272 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8273 " ' prfx
=^
$ac_symprfx"
8275 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8277 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
8279 # Check to see that the pipe works correctly.
8283 cat > conftest.$ac_ext <<_LT_EOF
8288 void nm_test_func(void);
8289 void nm_test_func(void){}
8293 int main(){nm_test_var='a';nm_test_func();return(0);}
8296 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8297 (eval $ac_compile) 2>&5
8299 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8300 test $ac_status = 0; }; then
8301 # Now try to grab the symbols.
8303 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8304 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8306 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8307 test $ac_status = 0; } && test -s "$nlist"; then
8308 # Try sorting and uniquifying the output.
8309 if sort "$nlist" | uniq > "$nlist"T; then
8310 mv -f "$nlist"T "$nlist"
8315 # Make sure that we snagged all the symbols we need.
8316 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8317 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8318 cat <<_LT_EOF > conftest.$ac_ext
8319 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8320 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8321 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8322 relocations are performed -- see ld's documentation on pseudo-relocs. */
8323 # define LT_DLSYM_CONST
8324 #elif defined(__osf__)
8325 /* This system does not cope well with relocations in const data. */
8326 # define LT_DLSYM_CONST
8328 # define LT_DLSYM_CONST const
8336 # Now generate the symbol file.
8337 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8339 cat <<_LT_EOF >> conftest.$ac_ext
8341 /* The mapping between symbol names and symbols. */
8342 LT_DLSYM_CONST struct {
8346 lt__PROGRAM__LTX_preloaded_symbols[] =
8348 { "@PROGRAM@
", (void *) 0 },
8350 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8351 cat <<\_LT_EOF >> conftest.$ac_ext
8355 /* This works around a problem in FreeBSD linker */
8356 #ifdef FREEBSD_WORKAROUND
8357 static const void *lt_preloaded_setup() {
8358 return lt__PROGRAM__LTX_preloaded_symbols;
8366 # Now try linking the two files.
8367 mv conftest.$ac_objext conftstm.$ac_objext
8368 lt_globsym_save_LIBS=$LIBS
8369 lt_globsym_save_CFLAGS=$CFLAGS
8370 LIBS="conftstm.
$ac_objext"
8371 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8372 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8373 (eval $ac_link) 2>&5
8375 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8376 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8379 LIBS=$lt_globsym_save_LIBS
8380 CFLAGS=$lt_globsym_save_CFLAGS
8382 echo "cannot
find nm_test_func
in $nlist" >&5
8385 echo "cannot
find nm_test_var
in $nlist" >&5
8388 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8391 echo "$progname: failed program was
:" >&5
8392 cat conftest.$ac_ext >&5
8394 rm -rf conftest* conftst*
8396 # Do not use the global_symbol_pipe unless it works.
8397 if test "$pipe_works" = yes; then
8400 lt_cv_sys_global_symbol_pipe=
8406 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8407 lt_cv_sys_global_symbol_to_cdecl=
8409 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8411 $as_echo "failed
" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8414 $as_echo "ok
" >&6; }
8417 # Response file support.
8418 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8419 nm_file_list_spec='@'
8420 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8421 nm_file_list_spec='@'
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
8451 $as_echo_n "checking
for sysroot...
" >&6; }
8453 # Check whether --with-sysroot was given.
8454 if test "${with_sysroot+set}" = set; then :
8455 withval=$with_sysroot;
8462 case ${with_sysroot} in #(
8464 if test "$GCC" = yes; then
8465 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8469 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
8475 $as_echo "${with_sysroot}" >&6; }
8476 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
8481 $as_echo "${lt_sysroot:-no}" >&6; }
8487 # Check whether --enable-libtool-lock was given.
8488 if test "${enable_libtool_lock+set}" = set; then :
8489 enableval=$enable_libtool_lock;
8492 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8494 # Some flags need to be propagated to the compiler or linker for good
8498 # Find out which ABI we are using.
8499 echo 'int i;' > conftest.$ac_ext
8500 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8501 (eval $ac_compile) 2>&5
8503 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8504 test $ac_status = 0; }; then
8505 case `/usr/bin/file conftest.$ac_objext` in
8517 # Find out which ABI we are using.
8518 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8519 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8520 (eval $ac_compile) 2>&5
8522 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8523 test $ac_status = 0; }; then
8524 if test "$lt_cv_prog_gnu_ld" = yes; then
8525 case `/usr/bin/file conftest.$ac_objext` in
8527 LD="${LD-ld} -melf32bsmip"
8530 LD="${LD-ld} -melf32bmipn32"
8533 LD="${LD-ld} -melf64bmip"
8537 case `/usr/bin/file conftest.$ac_objext` in
8553 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8554 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8555 # Find out which ABI we are using.
8556 echo 'int i;' > conftest.$ac_ext
8557 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8558 (eval $ac_compile) 2>&5
8560 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8561 test $ac_status = 0; }; then
8562 case `/usr/bin/file conftest.o` in
8565 x86_64-*kfreebsd*-gnu)
8566 LD="${LD-ld} -m elf_i386_fbsd
"
8569 LD="${LD-ld} -m elf_i386
"
8571 ppc64-*linux*|powerpc64-*linux*)
8572 LD="${LD-ld} -m elf32ppclinux
"
8575 LD="${LD-ld} -m elf_s390
"
8578 LD="${LD-ld} -m elf32_sparc
"
8584 x86_64-*kfreebsd*-gnu)
8585 LD="${LD-ld} -m elf_x86_64_fbsd
"
8588 LD="${LD-ld} -m elf_x86_64
"
8590 ppc*-*linux*|powerpc*-*linux*)
8591 LD="${LD-ld} -m elf64ppc
"
8593 s390*-*linux*|s390*-*tpf*)
8594 LD="${LD-ld} -m elf64_s390
"
8597 LD="${LD-ld} -m elf64_sparc
"
8607 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8608 SAVE_CFLAGS="$CFLAGS"
8609 CFLAGS="$CFLAGS -belf"
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8611 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8612 if ${lt_cv_cc_needs_belf+:} false; then :
8613 $as_echo_n "(cached
) " >&6
8616 ac_cpp='$CPP $CPPFLAGS'
8617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8632 if ac_fn_c_try_link "$LINENO"; then :
8633 lt_cv_cc_needs_belf=yes
8635 lt_cv_cc_needs_belf=no
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8640 ac_cpp='$CPP $CPPFLAGS'
8641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8647 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8648 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8649 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8650 CFLAGS="$SAVE_CFLAGS"
8654 # Find out which ABI we are using.
8655 echo 'int i;' > conftest.$ac_ext
8656 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8657 (eval $ac_compile) 2>&5
8659 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8660 test $ac_status = 0; }; then
8661 case `/usr/bin/file conftest.o` in
8663 case $lt_cv_prog_gnu_ld in
8667 LD="${LD-ld} -m elf_x86_64
"
8670 LD="${LD-ld} -m elf64_sparc
"
8673 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8674 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8679 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8691 need_locks="$enable_libtool_lock"
8693 if test -n "$ac_tool_prefix"; then
8694 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
8695 set dummy ${ac_tool_prefix}mt; ac_word=$2
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8697 $as_echo_n "checking
for $ac_word...
" >&6; }
8698 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8699 $as_echo_n "(cached
) " >&6
8701 if test -n "$MANIFEST_TOOL"; then
8702 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8708 test -z "$as_dir" && as_dir=.
8709 for ac_exec_ext in '' $ac_executable_extensions; do
8710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8711 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
8712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8721 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8722 if test -n "$MANIFEST_TOOL"; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8724 $as_echo "$MANIFEST_TOOL" >&6; }
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8727 $as_echo "no
" >&6; }
8732 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8733 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8734 # Extract the first word of "mt
", so it can be a program name with args.
8735 set dummy mt; ac_word=$2
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8737 $as_echo_n "checking
for $ac_word...
" >&6; }
8738 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8739 $as_echo_n "(cached
) " >&6
8741 if test -n "$ac_ct_MANIFEST_TOOL"; then
8742 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8748 test -z "$as_dir" && as_dir=.
8749 for ac_exec_ext in '' $ac_executable_extensions; do
8750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8751 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8761 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8762 if test -n "$ac_ct_MANIFEST_TOOL"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8764 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8767 $as_echo "no
" >&6; }
8770 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8773 case $cross_compiling:$ac_tool_warned in
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8776 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8777 ac_tool_warned=yes ;;
8779 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8782 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8785 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8787 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8788 if ${lt_cv_path_mainfest_tool+:} false; then :
8789 $as_echo_n "(cached
) " >&6
8791 lt_cv_path_mainfest_tool=no
8792 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8793 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8794 cat conftest.err >&5
8795 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8796 lt_cv_path_mainfest_tool=yes
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8801 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8802 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8812 rhapsody* | darwin*)
8813 if test -n "$ac_tool_prefix"; then
8814 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8815 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8817 $as_echo_n "checking
for $ac_word...
" >&6; }
8818 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8819 $as_echo_n "(cached
) " >&6
8821 if test -n "$DSYMUTIL"; then
8822 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8828 test -z "$as_dir" && as_dir=.
8829 for ac_exec_ext in '' $ac_executable_extensions; do
8830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8831 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8841 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8842 if test -n "$DSYMUTIL"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8844 $as_echo "$DSYMUTIL" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8847 $as_echo "no
" >&6; }
8852 if test -z "$ac_cv_prog_DSYMUTIL"; then
8853 ac_ct_DSYMUTIL=$DSYMUTIL
8854 # Extract the first word of "dsymutil
", so it can be a program name with args.
8855 set dummy dsymutil; ac_word=$2
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8857 $as_echo_n "checking
for $ac_word...
" >&6; }
8858 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8859 $as_echo_n "(cached
) " >&6
8861 if test -n "$ac_ct_DSYMUTIL"; then
8862 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8868 test -z "$as_dir" && as_dir=.
8869 for ac_exec_ext in '' $ac_executable_extensions; do
8870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8871 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8881 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8882 if test -n "$ac_ct_DSYMUTIL"; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8884 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8887 $as_echo "no
" >&6; }
8890 if test "x
$ac_ct_DSYMUTIL" = x; then
8893 case $cross_compiling:$ac_tool_warned in
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8896 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8897 ac_tool_warned=yes ;;
8899 DSYMUTIL=$ac_ct_DSYMUTIL
8902 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8905 if test -n "$ac_tool_prefix"; then
8906 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8907 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8909 $as_echo_n "checking
for $ac_word...
" >&6; }
8910 if ${ac_cv_prog_NMEDIT+:} false; then :
8911 $as_echo_n "(cached
) " >&6
8913 if test -n "$NMEDIT"; then
8914 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8920 test -z "$as_dir" && as_dir=.
8921 for ac_exec_ext in '' $ac_executable_extensions; do
8922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8923 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8933 NMEDIT=$ac_cv_prog_NMEDIT
8934 if test -n "$NMEDIT"; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8936 $as_echo "$NMEDIT" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8939 $as_echo "no
" >&6; }
8944 if test -z "$ac_cv_prog_NMEDIT"; then
8945 ac_ct_NMEDIT=$NMEDIT
8946 # Extract the first word of "nmedit
", so it can be a program name with args.
8947 set dummy nmedit; ac_word=$2
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8949 $as_echo_n "checking
for $ac_word...
" >&6; }
8950 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8951 $as_echo_n "(cached
) " >&6
8953 if test -n "$ac_ct_NMEDIT"; then
8954 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8973 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8974 if test -n "$ac_ct_NMEDIT"; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8976 $as_echo "$ac_ct_NMEDIT" >&6; }
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8979 $as_echo "no
" >&6; }
8982 if test "x
$ac_ct_NMEDIT" = x; then
8985 case $cross_compiling:$ac_tool_warned in
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8988 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8989 ac_tool_warned=yes ;;
8991 NMEDIT=$ac_ct_NMEDIT
8994 NMEDIT="$ac_cv_prog_NMEDIT"
8997 if test -n "$ac_tool_prefix"; then
8998 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8999 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9001 $as_echo_n "checking
for $ac_word...
" >&6; }
9002 if ${ac_cv_prog_LIPO+:} false; then :
9003 $as_echo_n "(cached
) " >&6
9005 if test -n "$LIPO"; then
9006 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9012 test -z "$as_dir" && as_dir=.
9013 for ac_exec_ext in '' $ac_executable_extensions; do
9014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9015 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9025 LIPO=$ac_cv_prog_LIPO
9026 if test -n "$LIPO"; then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9028 $as_echo "$LIPO" >&6; }
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9031 $as_echo "no
" >&6; }
9036 if test -z "$ac_cv_prog_LIPO"; then
9038 # Extract the first word of "lipo
", so it can be a program name with args.
9039 set dummy lipo; ac_word=$2
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9041 $as_echo_n "checking
for $ac_word...
" >&6; }
9042 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9043 $as_echo_n "(cached
) " >&6
9045 if test -n "$ac_ct_LIPO"; then
9046 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9052 test -z "$as_dir" && as_dir=.
9053 for ac_exec_ext in '' $ac_executable_extensions; do
9054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9055 ac_cv_prog_ac_ct_LIPO="lipo
"
9056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9065 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9066 if test -n "$ac_ct_LIPO"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9068 $as_echo "$ac_ct_LIPO" >&6; }
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9071 $as_echo "no
" >&6; }
9074 if test "x
$ac_ct_LIPO" = x; then
9077 case $cross_compiling:$ac_tool_warned in
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9080 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9081 ac_tool_warned=yes ;;
9086 LIPO="$ac_cv_prog_LIPO"
9089 if test -n "$ac_tool_prefix"; then
9090 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9091 set dummy ${ac_tool_prefix}otool; ac_word=$2
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9093 $as_echo_n "checking
for $ac_word...
" >&6; }
9094 if ${ac_cv_prog_OTOOL+:} false; then :
9095 $as_echo_n "(cached
) " >&6
9097 if test -n "$OTOOL"; then
9098 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9104 test -z "$as_dir" && as_dir=.
9105 for ac_exec_ext in '' $ac_executable_extensions; do
9106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9107 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9117 OTOOL=$ac_cv_prog_OTOOL
9118 if test -n "$OTOOL"; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9120 $as_echo "$OTOOL" >&6; }
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9123 $as_echo "no
" >&6; }
9128 if test -z "$ac_cv_prog_OTOOL"; then
9130 # Extract the first word of "otool
", so it can be a program name with args.
9131 set dummy otool; ac_word=$2
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9133 $as_echo_n "checking
for $ac_word...
" >&6; }
9134 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9135 $as_echo_n "(cached
) " >&6
9137 if test -n "$ac_ct_OTOOL"; then
9138 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9144 test -z "$as_dir" && as_dir=.
9145 for ac_exec_ext in '' $ac_executable_extensions; do
9146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9147 ac_cv_prog_ac_ct_OTOOL="otool
"
9148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9157 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9158 if test -n "$ac_ct_OTOOL"; then
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9160 $as_echo "$ac_ct_OTOOL" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9163 $as_echo "no
" >&6; }
9166 if test "x
$ac_ct_OTOOL" = x; then
9169 case $cross_compiling:$ac_tool_warned in
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9172 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9173 ac_tool_warned=yes ;;
9178 OTOOL="$ac_cv_prog_OTOOL"
9181 if test -n "$ac_tool_prefix"; then
9182 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9183 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9185 $as_echo_n "checking
for $ac_word...
" >&6; }
9186 if ${ac_cv_prog_OTOOL64+:} false; then :
9187 $as_echo_n "(cached
) " >&6
9189 if test -n "$OTOOL64"; then
9190 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9196 test -z "$as_dir" && as_dir=.
9197 for ac_exec_ext in '' $ac_executable_extensions; do
9198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9199 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9209 OTOOL64=$ac_cv_prog_OTOOL64
9210 if test -n "$OTOOL64"; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9212 $as_echo "$OTOOL64" >&6; }
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9215 $as_echo "no
" >&6; }
9220 if test -z "$ac_cv_prog_OTOOL64"; then
9221 ac_ct_OTOOL64=$OTOOL64
9222 # Extract the first word of "otool64
", so it can be a program name with args.
9223 set dummy otool64; ac_word=$2
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9225 $as_echo_n "checking
for $ac_word...
" >&6; }
9226 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9227 $as_echo_n "(cached
) " >&6
9229 if test -n "$ac_ct_OTOOL64"; then
9230 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9236 test -z "$as_dir" && as_dir=.
9237 for ac_exec_ext in '' $ac_executable_extensions; do
9238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9239 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9249 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9250 if test -n "$ac_ct_OTOOL64"; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9252 $as_echo "$ac_ct_OTOOL64" >&6; }
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9255 $as_echo "no
" >&6; }
9258 if test "x
$ac_ct_OTOOL64" = x; then
9261 case $cross_compiling:$ac_tool_warned in
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9264 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9265 ac_tool_warned=yes ;;
9267 OTOOL64=$ac_ct_OTOOL64
9270 OTOOL64="$ac_cv_prog_OTOOL64"
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9300 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9301 if ${lt_cv_apple_cc_single_mod+:} false; then :
9302 $as_echo_n "(cached
) " >&6
9304 lt_cv_apple_cc_single_mod=no
9305 if test -z "${LT_MULTI_MODULE}"; then
9306 # By default we will add the -single_module flag. You can override
9307 # by either setting the environment variable LT_MULTI_MODULE
9308 # non-empty at configure time, or by adding -multi_module to the
9310 rm -rf libconftest.dylib*
9311 echo "int foo
(void
){return 1;}" > conftest.c
9312 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9313 -dynamiclib -Wl,-single_module conftest.c
" >&5
9314 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9315 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9317 # If there is a non-empty error log, and "single_module
"
9318 # appears in it, assume the flag caused a linker warning
9319 if test -s conftest.err && $GREP single_module conftest.err; then
9320 cat conftest.err >&5
9321 # Otherwise, if the output was created with a 0 exit code from
9322 # the compiler, it worked.
9323 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9324 lt_cv_apple_cc_single_mod=yes
9326 cat conftest.err >&5
9328 rm -rf libconftest.dylib*
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9333 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9336 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9337 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9338 $as_echo_n "(cached
) " >&6
9340 lt_cv_ld_exported_symbols_list=no
9341 save_LDFLAGS=$LDFLAGS
9342 echo "_main
" > conftest.sym
9343 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9345 /* end confdefs.h. */
9355 if ac_fn_c_try_link "$LINENO"; then :
9356 lt_cv_ld_exported_symbols_list=yes
9358 lt_cv_ld_exported_symbols_list=no
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 LDFLAGS="$save_LDFLAGS"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9366 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9369 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9370 if ${lt_cv_ld_force_load+:} false; then :
9371 $as_echo_n "(cached
) " >&6
9373 lt_cv_ld_force_load=no
9374 cat > conftest.c << _LT_EOF
9375 int forced_loaded() { return 2;}
9377 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9378 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9379 echo "$AR cru libconftest.a conftest.o
" >&5
9380 $AR cru libconftest.a conftest.o 2>&5
9381 echo "$RANLIB libconftest.a
" >&5
9382 $RANLIB libconftest.a 2>&5
9383 cat > conftest.c << _LT_EOF
9384 int main() { return 0;}
9386 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9387 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9389 if test -s conftest.err && $GREP force_load conftest.err; then
9390 cat conftest.err >&5
9391 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9392 lt_cv_ld_force_load=yes
9394 cat conftest.err >&5
9396 rm -f conftest.err libconftest.a conftest conftest.c
9397 rm -rf conftest.dSYM
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9401 $as_echo "$lt_cv_ld_force_load" >&6; }
9403 rhapsody* | darwin1.[012])
9404 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9406 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9407 darwin*) # darwin 5.x on
9408 # if running on 10.5 or later, the deployment target defaults
9409 # to the OS version, if on x86, and 10.4, the deployment
9410 # target defaults to 10.4. Don't you love it?
9411 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9412 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9413 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9415 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9417 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9421 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9422 _lt_dar_single_mod='$single_module'
9424 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9425 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9427 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9429 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9430 _lt_dsymutil='~$DSYMUTIL $lib || :'
9437 for ac_header in dlfcn.h
9439 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9441 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9442 cat >>confdefs.h <<_ACEOF
9443 #define HAVE_DLFCN_H 1
9462 # Check whether --enable-shared was given.
9463 if test "${enable_shared+set}" = set; then :
9464 enableval=$enable_shared; p=${PACKAGE-default}
9466 yes) enable_shared=yes ;;
9467 no) enable_shared=no ;;
9470 # Look at the argument we got. We use all the common list separators.
9471 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9472 for pkg in $enableval; do
9474 if test "X
$pkg" = "X
$p"; then
9493 # Check whether --enable-static was given.
9494 if test "${enable_static+set}" = set; then :
9495 enableval=$enable_static; p=${PACKAGE-default}
9497 yes) enable_static=yes ;;
9498 no) enable_static=no ;;
9501 # Look at the argument we got. We use all the common list separators.
9502 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9503 for pkg in $enableval; do
9505 if test "X
$pkg" = "X
$p"; then
9525 # Check whether --with-pic was given.
9526 if test "${with_pic+set}" = set; then :
9527 withval=$with_pic; lt_p=${PACKAGE-default}
9529 yes|no) pic_mode=$withval ;;
9532 # Look at the argument we got. We use all the common list separators.
9533 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9534 for lt_pkg in $withval; do
9536 if test "X
$lt_pkg" = "X
$lt_p"; then
9548 test -z "$pic_mode" && pic_mode=default
9556 # Check whether --enable-fast-install was given.
9557 if test "${enable_fast_install+set}" = set; then :
9558 enableval=$enable_fast_install; p=${PACKAGE-default}
9560 yes) enable_fast_install=yes ;;
9561 no) enable_fast_install=no ;;
9563 enable_fast_install=no
9564 # Look at the argument we got. We use all the common list separators.
9565 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9566 for pkg in $enableval; do
9568 if test "X
$pkg" = "X
$p"; then
9569 enable_fast_install=yes
9576 enable_fast_install=yes
9589 # This can be used to rebuild libtool when needed
9590 LIBTOOL_DEPS="$ltmain"
9592 # Always use our own libtool.
9593 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9624 test -z "$LN_S" && LN_S="ln -s"
9639 if test -n "${ZSH_VERSION+set}" ; then
9640 setopt NO_GLOB_SUBST
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9644 $as_echo_n "checking
for objdir...
" >&6; }
9645 if ${lt_cv_objdir+:} false; then :
9646 $as_echo_n "(cached
) " >&6
9648 rm -f .libs 2>/dev/null
9649 mkdir .libs 2>/dev/null
9650 if test -d .libs; then
9653 # MS-DOS does not allow filenames that begin with a dot.
9656 rmdir .libs 2>/dev/null
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9659 $as_echo "$lt_cv_objdir" >&6; }
9660 objdir=$lt_cv_objdir
9666 cat >>confdefs.h <<_ACEOF
9667 #define LT_OBJDIR "$lt_cv_objdir/"
9675 # AIX sometimes has problems with the GCC collect2 program. For some
9676 # reason, if we set the COLLECT_NAMES environment variable, the problems
9677 # vanish in a puff of smoke.
9678 if test "X
${COLLECT_NAMES+set}" != Xset; then
9680 export COLLECT_NAMES
9687 can_build_shared=yes
9689 # All known linkers require a `.a' archive for static linking (except MSVC,
9690 # which needs '.lib').
9693 with_gnu_ld="$lt_cv_prog_gnu_ld"
9696 old_CFLAGS="$CFLAGS"
9698 # Set sane defaults for various variables
9699 test -z "$CC" && CC=cc
9700 test -z "$LTCC" && LTCC=$CC
9701 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9702 test -z "$LD" && LD=ld
9703 test -z "$ac_objext" && ac_objext=o
9705 for cc_temp in $compiler""; do
9707 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9708 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9713 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9716 # Only perform the check for file, if the check method requires it
9717 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9718 case $deplibs_check_method in
9720 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9722 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9723 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9724 $as_echo_n "(cached
) " >&6
9728 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9731 lt_save_MAGIC_CMD="$MAGIC_CMD"
9732 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9733 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9734 for ac_dir in $ac_dummy; do
9736 test -z "$ac_dir" && ac_dir=.
9737 if test -f $ac_dir/${ac_tool_prefix}file; then
9738 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9739 if test -n "$file_magic_test_file"; then
9740 case $deplibs_check_method in
9742 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9743 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9744 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9745 $EGREP "$file_magic_regex" > /dev/null; then
9750 *** Warning: the command libtool uses to detect shared libraries,
9751 *** $file_magic_cmd, produces output that libtool cannot recognize.
9752 *** The result is that libtool may fail to recognize shared libraries
9753 *** as such. This will affect the creation of libtool libraries that
9754 *** depend on shared libraries, but programs linked with such libtool
9755 *** libraries will work regardless of this problem. Nevertheless, you
9756 *** may want to report the problem to your system manager and/or to
9757 *** bug-libtool@gnu.org
9767 MAGIC_CMD="$lt_save_MAGIC_CMD"
9772 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9773 if test -n "$MAGIC_CMD"; then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9775 $as_echo "$MAGIC_CMD" >&6; }
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9778 $as_echo "no
" >&6; }
9785 if test -z "$lt_cv_path_MAGIC_CMD"; then
9786 if test -n "$ac_tool_prefix"; then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9788 $as_echo_n "checking
for file...
" >&6; }
9789 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9790 $as_echo_n "(cached
) " >&6
9794 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9797 lt_save_MAGIC_CMD="$MAGIC_CMD"
9798 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9799 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9800 for ac_dir in $ac_dummy; do
9802 test -z "$ac_dir" && ac_dir=.
9803 if test -f $ac_dir/file; then
9804 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9805 if test -n "$file_magic_test_file"; then
9806 case $deplibs_check_method in
9808 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9809 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9810 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9811 $EGREP "$file_magic_regex" > /dev/null; then
9816 *** Warning: the command libtool uses to detect shared libraries,
9817 *** $file_magic_cmd, produces output that libtool cannot recognize.
9818 *** The result is that libtool may fail to recognize shared libraries
9819 *** as such. This will affect the creation of libtool libraries that
9820 *** depend on shared libraries, but programs linked with such libtool
9821 *** libraries will work regardless of this problem. Nevertheless, you
9822 *** may want to report the problem to your system manager and/or to
9823 *** bug-libtool@gnu.org
9833 MAGIC_CMD="$lt_save_MAGIC_CMD"
9838 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9839 if test -n "$MAGIC_CMD"; then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9841 $as_echo "$MAGIC_CMD" >&6; }
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9844 $as_echo "no
" >&6; }
9857 # Use C for the default configuration in the libtool script
9861 ac_cpp='$CPP $CPPFLAGS'
9862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9867 # Source file extension for C test sources.
9870 # Object file extension for compiled C test sources.
9874 # Code to be used in simple compile tests
9875 lt_simple_compile_test_code="int some_variable
= 0;"
9877 # Code to be used in simple link tests
9878 lt_simple_link_test_code='int main(){return(0);}'
9886 # If no C compiler was specified, use CC.
9889 # If no C compiler flags were specified, use CFLAGS.
9890 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9892 # Allow CC to be a program name with arguments.
9895 # Save the default compiler, since it gets overwritten when the other
9896 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9897 compiler_DEFAULT=$CC
9899 # save warnings/boilerplate of simple test code
9900 ac_outfile=conftest.$ac_objext
9901 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9902 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9903 _lt_compiler_boilerplate=`cat conftest.err`
9906 ac_outfile=conftest.$ac_objext
9907 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9908 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9909 _lt_linker_boilerplate=`cat conftest.err`
9913 if test -n "$compiler"; then
9915 lt_prog_compiler_no_builtin_flag=
9917 if test "$GCC" = yes; then
9918 case $cc_basename in
9920 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9922 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9926 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9927 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9928 $as_echo_n "(cached
) " >&6
9930 lt_cv_prog_compiler_rtti_exceptions=no
9931 ac_outfile=conftest.$ac_objext
9932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9933 lt_compiler_flag="-fno-rtti -fno-exceptions"
9934 # Insert the option either (1) after the last *FLAGS variable, or
9935 # (2) before a word containing "conftest.
", or (3) at the end.
9936 # Note that $ac_compile itself does not contain backslashes and begins
9937 # with a dollar sign (not a hyphen), so the echo should work correctly.
9938 # The option is referenced via a variable to avoid confusing sed.
9939 lt_compile=`echo "$ac_compile" | $SED \
9940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9942 -e 's:$: $lt_compiler_flag:'`
9943 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9944 (eval "$lt_compile" 2>conftest.err)
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9948 if (exit $ac_status) && test -s "$ac_outfile"; then
9949 # The compiler can only warn and ignore the option if not recognized
9950 # So say no if there are warnings other than the usual output.
9951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9952 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9953 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9954 lt_cv_prog_compiler_rtti_exceptions=yes
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9961 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9963 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9964 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9976 lt_prog_compiler_wl=
9977 lt_prog_compiler_pic=
9978 lt_prog_compiler_static=
9981 if test "$GCC" = yes; then
9982 lt_prog_compiler_wl='-Wl,'
9983 lt_prog_compiler_static='-static'
9987 # All AIX code is PIC.
9988 if test "$host_cpu" = ia64; then
9989 # AIX 5 now supports IA64 processor
9990 lt_prog_compiler_static='-Bstatic'
9997 # see comment about AmigaOS4 .so support
9998 lt_prog_compiler_pic='-fPIC'
10001 # FIXME: we need at least 68020 code to build shared libraries, but
10002 # adding the `-m68020' flag to GCC prevents building anything better,
10004 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10009 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10010 # PIC is the default for these OSes.
10013 mingw* | cygwin* | pw32* | os2* | cegcc*)
10014 # This hack is so that the source file can tell whether it is being
10015 # built for inclusion in a dll (and should export symbols for example).
10016 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10017 # (--disable-auto-import) libraries
10018 lt_prog_compiler_pic='-DDLL_EXPORT'
10021 darwin* | rhapsody*)
10022 # PIC is the default on this platform
10023 # Common symbols not allowed in MH_DYLIB files
10024 lt_prog_compiler_pic='-fno-common'
10028 # PIC is the default for Haiku.
10029 # The "-static" flag exists, but is broken.
10030 lt_prog_compiler_static=
10034 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10035 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10036 # sets the default TLS model and affects inlining.
10042 lt_prog_compiler_pic='-fPIC'
10048 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10049 # Instead, we relocate shared libraries at runtime.
10053 # Just because we use GCC doesn't mean we suddenly get shared libraries
10054 # on systems that don't support them.
10055 lt_prog_compiler_can_build_shared=no
10060 # QNX uses GNU C++, but need to define -shared option too, otherwise
10061 # it will coredump.
10062 lt_prog_compiler_pic='-fPIC -shared'
10066 if test -d /usr/nec; then
10067 lt_prog_compiler_pic=-Kconform_pic
10072 lt_prog_compiler_pic='-fPIC'
10076 case $cc_basename in
10077 nvcc*) # Cuda Compiler Driver 2.2
10078 lt_prog_compiler_wl='-Xlinker '
10079 if test -n "$lt_prog_compiler_pic"; then
10080 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10085 # PORTME Check for flag to pass linker flags through the system compiler.
10088 lt_prog_compiler_wl='-Wl,'
10089 if test "$host_cpu" = ia64; then
10090 # AIX 5 now supports IA64 processor
10091 lt_prog_compiler_static='-Bstatic'
10093 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10097 mingw* | cygwin* | pw32* | os2* | cegcc*)
10098 # This hack is so that the source file can tell whether it is being
10099 # built for inclusion in a dll (and should export symbols for example).
10100 lt_prog_compiler_pic='-DDLL_EXPORT'
10103 hpux9* | hpux10* | hpux11*)
10104 lt_prog_compiler_wl='-Wl,'
10105 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10106 # not for PA HP-UX.
10112 lt_prog_compiler_pic='+Z'
10115 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10116 lt_prog_compiler_static='${wl}-a ${wl}archive'
10119 irix5* | irix6* | nonstopux*)
10120 lt_prog_compiler_wl='-Wl,'
10121 # PIC (with -KPIC) is the default.
10122 lt_prog_compiler_static='-non_shared'
10125 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10126 case $cc_basename in
10127 # old Intel for x86_64 which still supported -KPIC.
10129 lt_prog_compiler_wl='-Wl,'
10130 lt_prog_compiler_pic='-KPIC'
10131 lt_prog_compiler_static='-static'
10133 # icc used to be incompatible with GCC.
10134 # ICC 10 doesn't accept -KPIC any more.
10136 lt_prog_compiler_wl='-Wl,'
10137 lt_prog_compiler_pic='-fPIC'
10138 lt_prog_compiler_static='-static'
10140 # Lahey Fortran 8.1.
10142 lt_prog_compiler_wl='-Wl,'
10143 lt_prog_compiler_pic='--shared'
10144 lt_prog_compiler_static='--static'
10147 # NAG Fortran compiler
10148 lt_prog_compiler_wl='-Wl,-Wl,,'
10149 lt_prog_compiler_pic='-PIC'
10150 lt_prog_compiler_static='-Bstatic'
10152 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10153 # Portland Group compilers (*not* the Pentium gcc compiler,
10154 # which looks to be a dead project)
10155 lt_prog_compiler_wl='-Wl,'
10156 lt_prog_compiler_pic='-fpic'
10157 lt_prog_compiler_static='-Bstatic'
10160 lt_prog_compiler_wl='-Wl,'
10161 # All Alpha code is PIC.
10162 lt_prog_compiler_static='-non_shared'
10164 xl* | bgxl* | bgf* | mpixl*)
10165 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10166 lt_prog_compiler_wl='-Wl,'
10167 lt_prog_compiler_pic='-qpic'
10168 lt_prog_compiler_static='-qstaticlink'
10171 case `$CC -V 2>&1 | sed 5q` in
10172 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10173 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10174 lt_prog_compiler_pic='-KPIC'
10175 lt_prog_compiler_static='-Bstatic'
10176 lt_prog_compiler_wl=''
10178 *Sun\ F* | *Sun*Fortran*)
10179 lt_prog_compiler_pic='-KPIC'
10180 lt_prog_compiler_static='-Bstatic'
10181 lt_prog_compiler_wl='-Qoption ld '
10185 lt_prog_compiler_pic='-KPIC'
10186 lt_prog_compiler_static='-Bstatic'
10187 lt_prog_compiler_wl='-Wl,'
10189 *Intel*\ [CF]*Compiler*)
10190 lt_prog_compiler_wl='-Wl,'
10191 lt_prog_compiler_pic='-fPIC'
10192 lt_prog_compiler_static='-static'
10195 lt_prog_compiler_wl='-Wl,'
10196 lt_prog_compiler_pic='-fpic'
10197 lt_prog_compiler_static='-Bstatic'
10205 lt_prog_compiler_pic='-KPIC'
10206 lt_prog_compiler_static='-Bstatic'
10210 # QNX uses GNU C++, but need to define -shared option too, otherwise
10211 # it will coredump.
10212 lt_prog_compiler_pic='-fPIC -shared'
10215 osf3* | osf4* | osf5*)
10216 lt_prog_compiler_wl='-Wl,'
10217 # All OSF/1 code is PIC.
10218 lt_prog_compiler_static='-non_shared'
10222 lt_prog_compiler_static='-non_shared'
10226 lt_prog_compiler_pic='-KPIC'
10227 lt_prog_compiler_static='-Bstatic'
10228 case $cc_basename in
10229 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10230 lt_prog_compiler_wl='-Qoption ld ';;
10232 lt_prog_compiler_wl='-Wl,';;
10237 lt_prog_compiler_wl='-Qoption ld '
10238 lt_prog_compiler_pic='-PIC'
10239 lt_prog_compiler_static='-Bstatic'
10242 sysv4 | sysv4.2uw2* | sysv4.3*)
10243 lt_prog_compiler_wl='-Wl,'
10244 lt_prog_compiler_pic='-KPIC'
10245 lt_prog_compiler_static='-Bstatic'
10249 if test -d /usr/nec ;then
10250 lt_prog_compiler_pic='-Kconform_pic'
10251 lt_prog_compiler_static='-Bstatic'
10255 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10256 lt_prog_compiler_wl='-Wl,'
10257 lt_prog_compiler_pic='-KPIC'
10258 lt_prog_compiler_static='-Bstatic'
10262 lt_prog_compiler_wl='-Wl,'
10263 lt_prog_compiler_can_build_shared=no
10267 lt_prog_compiler_pic='-pic'
10268 lt_prog_compiler_static='-Bstatic'
10272 lt_prog_compiler_can_build_shared=no
10278 # For platforms which do not support PIC, -DPIC is meaningless:
10280 lt_prog_compiler_pic=
10283 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
10288 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
10289 if ${lt_cv_prog_compiler_pic+:} false; then :
10290 $as_echo_n "(cached
) " >&6
10292 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
10295 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10296 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10299 # Check to make sure the PIC flag actually works.
10301 if test -n "$lt_prog_compiler_pic"; then
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
10303 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
10304 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10305 $as_echo_n "(cached
) " >&6
10307 lt_cv_prog_compiler_pic_works=no
10308 ac_outfile=conftest.$ac_objext
10309 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10310 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10311 # Insert the option either (1) after the last *FLAGS variable, or
10312 # (2) before a word containing "conftest.
", or (3) at the end.
10313 # Note that $ac_compile itself does not contain backslashes and begins
10314 # with a dollar sign (not a hyphen), so the echo should work correctly.
10315 # The option is referenced via a variable to avoid confusing sed.
10316 lt_compile=`echo "$ac_compile" | $SED \
10317 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10318 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10319 -e 's:$: $lt_compiler_flag:'`
10320 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10321 (eval "$lt_compile" 2>conftest.err)
10323 cat conftest.err >&5
10324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10325 if (exit $ac_status) && test -s "$ac_outfile"; then
10326 # The compiler can only warn and ignore the option if not recognized
10327 # So say no if there are warnings other than the usual output.
10328 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10329 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10330 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10331 lt_cv_prog_compiler_pic_works=yes
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10338 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10340 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10341 case $lt_prog_compiler_pic in
10343 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10346 lt_prog_compiler_pic=
10347 lt_prog_compiler_can_build_shared=no
10363 # Check to make sure the static flag actually works.
10365 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10367 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10368 if ${lt_cv_prog_compiler_static_works+:} false; then :
10369 $as_echo_n "(cached
) " >&6
10371 lt_cv_prog_compiler_static_works=no
10372 save_LDFLAGS="$LDFLAGS"
10373 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10374 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10375 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10376 # The linker can only warn and ignore the option if not recognized
10377 # So say no if there are warnings
10378 if test -s conftest.err; then
10379 # Append any errors to the config.log.
10380 cat conftest.err 1>&5
10381 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10382 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10383 if diff conftest.exp conftest.er2 >/dev/null; then
10384 lt_cv_prog_compiler_static_works=yes
10387 lt_cv_prog_compiler_static_works=yes
10391 LDFLAGS="$save_LDFLAGS"
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10395 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10397 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10400 lt_prog_compiler_static=
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10410 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10411 if ${lt_cv_prog_compiler_c_o+:} false; then :
10412 $as_echo_n "(cached
) " >&6
10414 lt_cv_prog_compiler_c_o=no
10415 $RM -r conftest 2>/dev/null
10419 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10421 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10422 # Insert the option either (1) after the last *FLAGS variable, or
10423 # (2) before a word containing "conftest.
", or (3) at the end.
10424 # Note that $ac_compile itself does not contain backslashes and begins
10425 # with a dollar sign (not a hyphen), so the echo should work correctly.
10426 lt_compile=`echo "$ac_compile" | $SED \
10427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10429 -e 's:$: $lt_compiler_flag:'`
10430 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10431 (eval "$lt_compile" 2>out/conftest.err)
10433 cat out/conftest.err >&5
10434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10435 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10437 # The compiler can only warn and ignore the option if not recognized
10438 # So say no if there are warnings
10439 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10440 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10441 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10442 lt_cv_prog_compiler_c_o=yes
10447 # SGI C++ compiler will create directory out/ii_files/ for
10448 # template instantiation
10449 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10450 $RM out/* && rmdir out
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10457 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10465 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10466 if ${lt_cv_prog_compiler_c_o+:} false; then :
10467 $as_echo_n "(cached
) " >&6
10469 lt_cv_prog_compiler_c_o=no
10470 $RM -r conftest 2>/dev/null
10474 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10476 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10477 # Insert the option either (1) after the last *FLAGS variable, or
10478 # (2) before a word containing "conftest.
", or (3) at the end.
10479 # Note that $ac_compile itself does not contain backslashes and begins
10480 # with a dollar sign (not a hyphen), so the echo should work correctly.
10481 lt_compile=`echo "$ac_compile" | $SED \
10482 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10483 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10484 -e 's:$: $lt_compiler_flag:'`
10485 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10486 (eval "$lt_compile" 2>out/conftest.err)
10488 cat out/conftest.err >&5
10489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10490 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10492 # The compiler can only warn and ignore the option if not recognized
10493 # So say no if there are warnings
10494 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10495 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10496 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10497 lt_cv_prog_compiler_c_o=yes
10502 # SGI C++ compiler will create directory out/ii_files/ for
10503 # template instantiation
10504 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10505 $RM out/* && rmdir out
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10512 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10517 hard_links="nottested
"
10518 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10519 # do not overwrite the value of need_locks provided by the user
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10521 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10524 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10526 ln conftest.a conftest.b 2>&5 || hard_links=no
10527 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10529 $as_echo "$hard_links" >&6; }
10530 if test "$hard_links" = no; then
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10532 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10545 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10548 allow_undefined_flag=
10549 always_export_symbols=no
10551 archive_expsym_cmds=
10552 compiler_needs_object=no
10553 enable_shared_with_static_runtimes=no
10554 export_dynamic_flag_spec=
10555 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10556 hardcode_automatic=no
10558 hardcode_direct_absolute=no
10559 hardcode_libdir_flag_spec=
10560 hardcode_libdir_separator=
10561 hardcode_minus_L=no
10562 hardcode_shlibpath_var=unsupported
10564 link_all_deplibs=unknown
10566 module_expsym_cmds=
10567 old_archive_from_new_cmds=
10568 old_archive_from_expsyms_cmds=
10569 thread_safe_flag_spec=
10570 whole_archive_flag_spec=
10571 # include_expsyms should be a list of space-separated symbols to be *always*
10572 # included in the symbol list
10574 # exclude_expsyms can be an extended regexp of symbols to exclude
10575 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10576 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10577 # as well as any symbol that contains `d'.
10578 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10579 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10580 # platforms (ab)use it in PIC code, but their linkers get confused if
10581 # the symbol is explicitly referenced. Since portable code cannot
10582 # rely on this symbol name, it's probably fine to never include it in
10583 # preloaded symbol tables.
10584 # Exclude shared library initialization/finalization symbols.
10585 extract_expsyms_cmds=
10588 cygwin* | mingw* | pw32* | cegcc*)
10589 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10590 # When not using gcc, we currently assume that we are using
10591 # Microsoft Visual C++.
10592 if test "$GCC" != yes; then
10597 # we just hope/assume this is gcc and not c89 (= MSVC++)
10607 # On some targets, GNU ld is compatible enough with the native linker
10608 # that we're better off using the native interface for both.
10609 lt_use_gnu_ld_interface=no
10610 if test "$with_gnu_ld" = yes; then
10613 # The AIX port of GNU ld has always aspired to compatibility
10614 # with the native linker. However, as the warning in the GNU ld
10615 # block says, versions before 2.19.5* couldn't really create working
10616 # shared libraries, regardless of the interface used.
10617 case `$LD -v 2>&1` in
10618 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10619 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10620 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10622 lt_use_gnu_ld_interface=yes
10627 lt_use_gnu_ld_interface=yes
10632 if test "$lt_use_gnu_ld_interface" = yes; then
10633 # If archive_cmds runs LD, not CC, wlarc should be empty
10636 # Set some defaults for GNU ld with shared library support. These
10637 # are reset later if shared libraries are not supported. Putting them
10638 # here allows them to be overridden if necessary.
10639 runpath_var=LD_RUN_PATH
10640 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10641 export_dynamic_flag_spec='${wl}--export-dynamic'
10642 # ancient GNU ld didn't support --whole-archive et. al.
10643 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10644 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10646 whole_archive_flag_spec=
10648 supports_anon_versioning=no
10649 case `$LD -v 2>&1` in
10650 *GNU\ gold*) supports_anon_versioning=yes ;;
10651 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10652 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10653 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10654 *\ 2.11.*) ;; # other 2.11 versions
10655 *) supports_anon_versioning=yes ;;
10658 # See if GNU ld supports shared libraries.
10661 # On AIX/PPC, the GNU linker is very broken
10662 if test "$host_cpu" != ia64; then
10666 *** Warning: the GNU linker, at least up to release 2.19, is reported
10667 *** to be unable to reliably create shared libraries on AIX.
10668 *** Therefore, libtool is disabling shared libraries support. If you
10669 *** really care for shared libraries, you may want to install binutils
10670 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10671 *** You will then need to restart the configuration process.
10680 # see comment about AmigaOS4 .so support
10681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10682 archive_expsym_cmds=''
10685 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)'
10686 hardcode_libdir_flag_spec
='-L$libdir'
10687 hardcode_minus_L
=yes
10693 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10694 allow_undefined_flag
=unsupported
10695 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10696 # support --undefined. This deserves some investigation. FIXME
10697 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10703 cygwin
* | mingw
* | pw32
* | cegcc
*)
10704 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10705 # as there is no search path for DLLs.
10706 hardcode_libdir_flag_spec
='-L$libdir'
10707 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10708 allow_undefined_flag
=unsupported
10709 always_export_symbols
=no
10710 enable_shared_with_static_runtimes
=yes
10711 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'
10712 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10714 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10715 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10716 # If the export-symbols file already is a .def file (1st line
10717 # is EXPORTS), use it as is; otherwise, prepend...
10718 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10719 cp $export_symbols $output_objdir/$soname.def;
10721 echo EXPORTS > $output_objdir/$soname.def;
10722 cat $export_symbols >> $output_objdir/$soname.def;
10724 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10731 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10732 link_all_deplibs
=yes
10737 hardcode_shlibpath_var
=no
10738 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10739 export_dynamic_flag_spec
='${wl}-E'
10740 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10741 # Instead, shared libraries are loaded at an image base (0x10000000 by
10742 # default) and relocated if they conflict, which is a slow very memory
10743 # consuming and fragmenting process. To avoid this, we pick a random,
10744 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10745 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10746 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10747 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'
10750 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10752 if test "$host_os" = linux-dietlibc
; then
10753 case $cc_basename in
10754 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10757 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10758 && test "$tmp_diet" = no
10760 tmp_addflag
=' $pic_flag'
10761 tmp_sharedflag
='-shared'
10762 case $cc_basename,$host_cpu in
10763 pgcc
*) # Portland Group C compiler
10764 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'
10765 tmp_addflag
=' $pic_flag'
10767 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10768 # Portland Group f77 and f90 compilers
10769 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'
10770 tmp_addflag
=' $pic_flag -Mnomain' ;;
10771 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10772 tmp_addflag
=' -i_dynamic' ;;
10773 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10774 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10775 ifc
* | ifort
*) # Intel Fortran compiler
10776 tmp_addflag
=' -nofor_main' ;;
10777 lf95
*) # Lahey Fortran 8.1
10778 whole_archive_flag_spec
=
10779 tmp_sharedflag
='--shared' ;;
10780 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10781 tmp_sharedflag
='-qmkshrobj'
10783 nvcc
*) # Cuda Compiler Driver 2.2
10784 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'
10785 compiler_needs_object
=yes
10788 case `$CC -V 2>&1 | sed 5q` in
10789 *Sun\ C
*) # Sun C 5.9
10790 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'
10791 compiler_needs_object
=yes
10792 tmp_sharedflag
='-G' ;;
10793 *Sun\ F
*) # Sun Fortran 8.3
10794 tmp_sharedflag
='-G' ;;
10796 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10798 if test "x$supports_anon_versioning" = xyes
; then
10799 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10800 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10801 echo "local: *; };" >> $output_objdir/$libname.ver~
10802 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10805 case $cc_basename in
10806 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10807 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10808 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10809 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10810 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10811 if test "x$supports_anon_versioning" = xyes
; then
10812 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10813 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10814 echo "local: *; };" >> $output_objdir/$libname.ver~
10815 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10825 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10826 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10829 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10830 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10835 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10839 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10840 *** create shared libraries on Solaris systems. Therefore, libtool
10841 *** is disabling shared libraries support. We urge you to upgrade GNU
10842 *** binutils to release 2.9.1 or newer. Another option is to modify
10843 *** your PATH or compiler configuration so that the native linker is
10844 *** used, and then restart.
10847 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10848 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10849 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10855 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10856 case `$LD -v 2>&1` in
10857 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10861 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10862 *** reliably create shared libraries on SCO systems. Therefore, libtool
10863 *** is disabling shared libraries support. We urge you to upgrade GNU
10864 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10865 *** your PATH or compiler configuration so that the native linker is
10866 *** used, and then restart.
10871 # For security reasons, it is highly recommended that you always
10872 # use absolute paths for naming shared libraries, and exclude the
10873 # DT_RUNPATH tag from executables and libraries. But doing so
10874 # requires that you compile everything twice, which is a pain.
10875 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10876 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10877 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10878 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10887 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10889 hardcode_direct
=yes
10890 hardcode_shlibpath_var
=no
10894 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10895 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10896 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10903 if test "$ld_shlibs" = no
; then
10905 hardcode_libdir_flag_spec
=
10906 export_dynamic_flag_spec
=
10907 whole_archive_flag_spec
=
10910 # PORTME fill in a description of your system's linker (not GNU ld)
10913 allow_undefined_flag
=unsupported
10914 always_export_symbols
=yes
10915 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'
10916 # Note: this linker hardcodes the directories in LIBPATH if there
10917 # are no directories specified by -L.
10918 hardcode_minus_L
=yes
10919 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10920 # Neither direct hardcoding nor static linking is supported with a
10922 hardcode_direct
=unsupported
10927 if test "$host_cpu" = ia64
; then
10928 # On IA64, the linker does run time linking by default, so we don't
10929 # have to do anything special.
10930 aix_use_runtimelinking
=no
10931 exp_sym_flag
='-Bexport'
10934 # If we're using GNU nm, then we don't want the "-C" option.
10935 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10936 # Also, AIX nm treats weak defined symbols like other global
10937 # defined symbols, whereas GNU nm marks them as "W".
10938 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10939 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'
10941 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'
10943 aix_use_runtimelinking
=no
10945 # Test if we are trying to use run time linking or normal
10946 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10947 # need to do runtime linking.
10948 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10949 for ld_flag
in $LDFLAGS; do
10950 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10951 aix_use_runtimelinking
=yes
10958 exp_sym_flag
='-bexport'
10959 no_entry_flag
='-bnoentry'
10962 # When large executables or shared objects are built, AIX ld can
10963 # have problems creating the table of contents. If linking a library
10964 # or program results in "error TOC overflow" add -mminimal-toc to
10965 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10966 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10969 hardcode_direct
=yes
10970 hardcode_direct_absolute
=yes
10971 hardcode_libdir_separator
=':'
10972 link_all_deplibs
=yes
10973 file_list_spec
='${wl}-f,'
10975 if test "$GCC" = yes; then
10976 case $host_os in aix4.
[012]|aix4.
[012].
*)
10977 # We only want to do this on AIX 4.2 and lower, the check
10978 # below for broken collect2 doesn't work under 4.3+
10979 collect2name
=`${CC} -print-prog-name=collect2`
10980 if test -f "$collect2name" &&
10981 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10983 # We have reworked collect2
10986 # We have old collect2
10987 hardcode_direct
=unsupported
10988 # It fails to find uninstalled libraries when the uninstalled
10989 # path is not listed in the libpath. Setting hardcode_minus_L
10990 # to unsupported forces relinking
10991 hardcode_minus_L
=yes
10992 hardcode_libdir_flag_spec
='-L$libdir'
10993 hardcode_libdir_separator
=
10997 shared_flag
='-shared'
10998 if test "$aix_use_runtimelinking" = yes; then
10999 shared_flag
="$shared_flag "'${wl}-G'
11003 if test "$host_cpu" = ia64
; then
11004 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11005 # chokes on -Wl,-G. The following line is correct:
11008 if test "$aix_use_runtimelinking" = yes; then
11009 shared_flag
='${wl}-G'
11011 shared_flag
='${wl}-bM:SRE'
11016 export_dynamic_flag_spec
='${wl}-bexpall'
11017 # It seems that -bexpall does not export symbols beginning with
11018 # underscore (_), so it is better to generate a list of symbols to export.
11019 always_export_symbols
=yes
11020 if test "$aix_use_runtimelinking" = yes; then
11021 # Warning - without using the other runtime loading flags (-brtl),
11022 # -berok will link without error, but may produce a broken library.
11023 allow_undefined_flag
='-berok'
11024 # Determine the default libpath from the value encoded in an
11025 # empty executable.
11026 if test "${lt_cv_aix_libpath+set}" = set; then
11027 aix_libpath
=$lt_cv_aix_libpath
11029 if ${lt_cv_aix_libpath_+:} false
; then :
11030 $as_echo_n "(cached) " >&6
11032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11043 if ac_fn_c_try_link
"$LINENO"; then :
11045 lt_aix_libpath_sed
='
11046 /Import File Strings/,/^$/ {
11048 s/^0 *\([^ ]*\) *$/\1/
11052 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11053 # Check for a 64-bit object if we didn't find anything.
11054 if test -z "$lt_cv_aix_libpath_"; then
11055 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11058 rm -f core conftest.err conftest.
$ac_objext \
11059 conftest
$ac_exeext conftest.
$ac_ext
11060 if test -z "$lt_cv_aix_libpath_"; then
11061 lt_cv_aix_libpath_
="/usr/lib:/lib"
11066 aix_libpath
=$lt_cv_aix_libpath_
11069 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11070 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"
11072 if test "$host_cpu" = ia64
; then
11073 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11074 allow_undefined_flag
="-z nodefs"
11075 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"
11077 # Determine the default libpath from the value encoded in an
11078 # empty executable.
11079 if test "${lt_cv_aix_libpath+set}" = set; then
11080 aix_libpath
=$lt_cv_aix_libpath
11082 if ${lt_cv_aix_libpath_+:} false
; then :
11083 $as_echo_n "(cached) " >&6
11085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11096 if ac_fn_c_try_link
"$LINENO"; then :
11098 lt_aix_libpath_sed
='
11099 /Import File Strings/,/^$/ {
11101 s/^0 *\([^ ]*\) *$/\1/
11105 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11106 # Check for a 64-bit object if we didn't find anything.
11107 if test -z "$lt_cv_aix_libpath_"; then
11108 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11111 rm -f core conftest.err conftest.
$ac_objext \
11112 conftest
$ac_exeext conftest.
$ac_ext
11113 if test -z "$lt_cv_aix_libpath_"; then
11114 lt_cv_aix_libpath_
="/usr/lib:/lib"
11119 aix_libpath
=$lt_cv_aix_libpath_
11122 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11123 # Warning - without using the other run time loading flags,
11124 # -berok will link without error, but may produce a broken library.
11125 no_undefined_flag
=' ${wl}-bernotok'
11126 allow_undefined_flag
=' ${wl}-berok'
11127 if test "$with_gnu_ld" = yes; then
11128 # We only use this code for GNU lds that support --whole-archive.
11129 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11131 # Exported symbols can be pulled into shared objects from archives
11132 whole_archive_flag_spec
='$convenience'
11134 archive_cmds_need_lc
=yes
11135 # This is similar to how AIX traditionally builds its shared libraries.
11136 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'
11144 # see comment about AmigaOS4 .so support
11145 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11146 archive_expsym_cmds
=''
11149 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)'
11150 hardcode_libdir_flag_spec
='-L$libdir'
11151 hardcode_minus_L
=yes
11157 export_dynamic_flag_spec
=-rdynamic
11160 cygwin
* | mingw
* | pw32
* | cegcc
*)
11161 # When not using gcc, we currently assume that we are using
11162 # Microsoft Visual C++.
11163 # hardcode_libdir_flag_spec is actually meaningless, as there is
11164 # no search path for DLLs.
11165 case $cc_basename in
11168 hardcode_libdir_flag_spec
=' '
11169 allow_undefined_flag
=unsupported
11170 always_export_symbols
=yes
11172 # Tell ltmain to make .lib files, not .a files.
11174 # Tell ltmain to make .dll files, not .so files.
11176 # FIXME: Setting linknames here is a bad hack.
11177 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11178 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11179 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
11181 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
11183 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11185 # The linker will not automatically build a static lib if we build a DLL.
11186 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11187 enable_shared_with_static_runtimes
=yes
11188 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11189 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11191 old_postinstall_cmds
='chmod 644 $oldlib'
11192 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11193 lt_tool_outputfile="@TOOL_OUTPUT@"~
11194 case $lt_outputfile in
11197 lt_outputfile="$lt_outputfile.exe"
11198 lt_tool_outputfile="$lt_tool_outputfile.exe"
11201 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11202 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11203 $RM "$lt_outputfile.manifest";
11207 # Assume MSVC wrapper
11208 hardcode_libdir_flag_spec
=' '
11209 allow_undefined_flag
=unsupported
11210 # Tell ltmain to make .lib files, not .a files.
11212 # Tell ltmain to make .dll files, not .so files.
11214 # FIXME: Setting linknames here is a bad hack.
11215 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11216 # The linker will automatically build a .lib file if we build a DLL.
11217 old_archive_from_new_cmds
='true'
11218 # FIXME: Should let the user specify the lib program.
11219 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11220 enable_shared_with_static_runtimes
=yes
11225 darwin
* | rhapsody
*)
11228 archive_cmds_need_lc
=no
11230 hardcode_automatic
=yes
11231 hardcode_shlibpath_var
=unsupported
11232 if test "$lt_cv_ld_force_load" = "yes"; then
11233 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\"`'
11236 whole_archive_flag_spec
=''
11238 link_all_deplibs
=yes
11239 allow_undefined_flag
="$_lt_dar_allow_undefined"
11240 case $cc_basename in
11241 ifort
*) _lt_dar_can_shared
=yes ;;
11242 *) _lt_dar_can_shared
=$GCC ;;
11244 if test "$_lt_dar_can_shared" = "yes"; then
11245 output_verbose_link_cmd
=func_echo_all
11246 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11247 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11248 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}"
11249 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}"
11258 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11259 hardcode_libdir_flag_spec
='-L$libdir'
11260 hardcode_shlibpath_var
=no
11263 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11264 # support. Future versions do this automatically, but an explicit c++rt0.o
11265 # does not break anything, and helps significantly (at the cost of a little
11268 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11269 hardcode_libdir_flag_spec
='-R$libdir'
11270 hardcode_direct
=yes
11271 hardcode_shlibpath_var
=no
11274 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11276 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11277 hardcode_direct
=yes
11278 hardcode_minus_L
=yes
11279 hardcode_shlibpath_var
=no
11282 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11283 freebsd
* | dragonfly
*)
11284 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11285 hardcode_libdir_flag_spec
='-R$libdir'
11286 hardcode_direct
=yes
11287 hardcode_shlibpath_var
=no
11291 if test "$GCC" = yes; then
11292 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'
11294 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'
11296 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11297 hardcode_libdir_separator
=:
11298 hardcode_direct
=yes
11300 # hardcode_minus_L: Not really in the search PATH,
11301 # but as the default location of the library.
11302 hardcode_minus_L
=yes
11303 export_dynamic_flag_spec
='${wl}-E'
11307 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11308 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11310 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11312 if test "$with_gnu_ld" = no
; then
11313 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11314 hardcode_libdir_separator
=:
11315 hardcode_direct
=yes
11316 hardcode_direct_absolute
=yes
11317 export_dynamic_flag_spec
='${wl}-E'
11318 # hardcode_minus_L: Not really in the search PATH,
11319 # but as the default location of the library.
11320 hardcode_minus_L
=yes
11325 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11328 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11331 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11334 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11340 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11343 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11347 # Older versions of the 11.00 compiler do not understand -b yet
11348 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11350 $as_echo_n "checking if $CC understands -b... " >&6; }
11351 if ${lt_cv_prog_compiler__b+:} false
; then :
11352 $as_echo_n "(cached) " >&6
11354 lt_cv_prog_compiler__b
=no
11355 save_LDFLAGS
="$LDFLAGS"
11356 LDFLAGS
="$LDFLAGS -b"
11357 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11358 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11359 # The linker can only warn and ignore the option if not recognized
11360 # So say no if there are warnings
11361 if test -s conftest.err
; then
11362 # Append any errors to the config.log.
11363 cat conftest.err
1>&5
11364 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11365 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11366 if diff conftest.exp conftest.er2
>/dev
/null
; then
11367 lt_cv_prog_compiler__b
=yes
11370 lt_cv_prog_compiler__b
=yes
11374 LDFLAGS
="$save_LDFLAGS"
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11378 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11380 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11381 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11383 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11389 if test "$with_gnu_ld" = no
; then
11390 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11391 hardcode_libdir_separator
=:
11396 hardcode_shlibpath_var
=no
11399 hardcode_direct
=yes
11400 hardcode_direct_absolute
=yes
11401 export_dynamic_flag_spec
='${wl}-E'
11403 # hardcode_minus_L: Not really in the search PATH,
11404 # but as the default location of the library.
11405 hardcode_minus_L
=yes
11411 irix5
* | irix6
* | nonstopux
*)
11412 if test "$GCC" = yes; then
11413 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'
11414 # Try to use the -exported_symbol ld option, if it does not
11415 # work, assume that -exports_file does not work either and
11416 # implicitly export all symbols.
11417 # This should be the same for all languages, so no per-tag cache variable.
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11419 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11420 if ${lt_cv_irix_exported_symbol+:} false
; then :
11421 $as_echo_n "(cached) " >&6
11423 save_LDFLAGS
="$LDFLAGS"
11424 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11427 int foo (void) { return 0; }
11429 if ac_fn_c_try_link
"$LINENO"; then :
11430 lt_cv_irix_exported_symbol
=yes
11432 lt_cv_irix_exported_symbol
=no
11434 rm -f core conftest.err conftest.
$ac_objext \
11435 conftest
$ac_exeext conftest.
$ac_ext
11436 LDFLAGS
="$save_LDFLAGS"
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11439 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11440 if test "$lt_cv_irix_exported_symbol" = yes; then
11441 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'
11444 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'
11445 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'
11447 archive_cmds_need_lc
='no'
11448 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11449 hardcode_libdir_separator
=:
11451 link_all_deplibs
=yes
11455 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11456 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11458 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11460 hardcode_libdir_flag_spec
='-R$libdir'
11461 hardcode_direct
=yes
11462 hardcode_shlibpath_var
=no
11466 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11467 hardcode_direct
=yes
11468 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11469 hardcode_libdir_separator
=:
11470 hardcode_shlibpath_var
=no
11477 if test -f /usr
/libexec
/ld.so
; then
11478 hardcode_direct
=yes
11479 hardcode_shlibpath_var
=no
11480 hardcode_direct_absolute
=yes
11481 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11482 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11483 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11484 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11485 export_dynamic_flag_spec
='${wl}-E'
11488 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11489 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11490 hardcode_libdir_flag_spec
='-R$libdir'
11493 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11494 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11504 hardcode_libdir_flag_spec
='-L$libdir'
11505 hardcode_minus_L
=yes
11506 allow_undefined_flag
=unsupported
11507 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'
11508 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11512 if test "$GCC" = yes; then
11513 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11514 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'
11516 allow_undefined_flag
=' -expect_unresolved \*'
11517 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'
11519 archive_cmds_need_lc
='no'
11520 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11521 hardcode_libdir_separator
=:
11524 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11525 if test "$GCC" = yes; then
11526 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11527 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'
11528 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11530 allow_undefined_flag
=' -expect_unresolved \*'
11531 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'
11532 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~
11533 $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'
11535 # Both c and cxx compiler support -rpath directly
11536 hardcode_libdir_flag_spec
='-rpath $libdir'
11538 archive_cmds_need_lc
='no'
11539 hardcode_libdir_separator
=:
11543 no_undefined_flag
=' -z defs'
11544 if test "$GCC" = yes; then
11546 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11547 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11548 $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'
11550 case `$CC -V 2>&1` in
11553 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11554 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11555 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11559 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11560 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11561 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11565 hardcode_libdir_flag_spec
='-R$libdir'
11566 hardcode_shlibpath_var
=no
11568 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11570 # The compiler driver will combine and reorder linker options,
11571 # but understands `-z linker_flag'. GCC discards it without `$wl',
11572 # but is careful enough not to reorder.
11573 # Supported since Solaris 2.6 (maybe 2.5.1?)
11574 if test "$GCC" = yes; then
11575 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11577 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11581 link_all_deplibs
=yes
11585 if test "x$host_vendor" = xsequent
; then
11586 # Use $CC to link under sequent, because it throws in some extra .o
11587 # files that make .init and .fini sections work.
11588 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11590 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11592 hardcode_libdir_flag_spec
='-L$libdir'
11593 hardcode_direct
=yes
11594 hardcode_minus_L
=yes
11595 hardcode_shlibpath_var
=no
11599 case $host_vendor in
11601 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11602 hardcode_direct
=yes # is this really true???
11605 ## LD is ld it makes a PLAMLIB
11606 ## CC just makes a GrossModule.
11607 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11608 reload_cmds
='$CC -r -o $output$reload_objs'
11612 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11613 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11616 runpath_var
='LD_RUN_PATH'
11617 hardcode_shlibpath_var
=no
11621 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11622 hardcode_shlibpath_var
=no
11623 export_dynamic_flag_spec
='-Bexport'
11627 if test -d /usr
/nec
; then
11628 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11629 hardcode_shlibpath_var
=no
11630 runpath_var
=LD_RUN_PATH
11631 hardcode_runpath_var
=yes
11636 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11637 no_undefined_flag
='${wl}-z,text'
11638 archive_cmds_need_lc
=no
11639 hardcode_shlibpath_var
=no
11640 runpath_var
='LD_RUN_PATH'
11642 if test "$GCC" = yes; then
11643 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11644 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11646 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11647 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11651 sysv5
* | sco3.2v5
* | sco5v6
*)
11652 # Note: We can NOT use -z defs as we might desire, because we do not
11653 # link with -lc, and that would cause any symbols used from libc to
11654 # always be unresolved, which means just about no library would
11655 # ever link correctly. If we're not using GNU ld we use -z text
11656 # though, which does catch some bad symbols but isn't as heavy-handed
11658 no_undefined_flag
='${wl}-z,text'
11659 allow_undefined_flag
='${wl}-z,nodefs'
11660 archive_cmds_need_lc
=no
11661 hardcode_shlibpath_var
=no
11662 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11663 hardcode_libdir_separator
=':'
11664 link_all_deplibs
=yes
11665 export_dynamic_flag_spec
='${wl}-Bexport'
11666 runpath_var
='LD_RUN_PATH'
11668 if test "$GCC" = yes; then
11669 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11670 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11672 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11673 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11678 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11679 hardcode_libdir_flag_spec
='-L$libdir'
11680 hardcode_shlibpath_var
=no
11688 if test x
$host_vendor = xsni
; then
11690 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11691 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11698 $as_echo "$ld_shlibs" >&6; }
11699 test "$ld_shlibs" = no
&& can_build_shared
=no
11701 with_gnu_ld
=$with_gnu_ld
11718 # Do we need to explicitly link libc?
11720 case "x$archive_cmds_need_lc" in
11722 # Assume -lc should be added
11723 archive_cmds_need_lc
=yes
11725 if test "$enable_shared" = yes && test "$GCC" = yes; then
11726 case $archive_cmds in
11728 # FIXME: we may have to deal with multi-command sequences.
11731 # Test whether the compiler implicitly links with -lc since on some
11732 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11733 # to ld, don't add -lc before -lgcc.
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11735 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11736 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11737 $as_echo_n "(cached) " >&6
11740 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11742 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11743 (eval $ac_compile) 2>&5
11745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11746 test $ac_status = 0; } 2>conftest.err
; then
11749 libobjs
=conftest.
$ac_objext
11751 wl
=$lt_prog_compiler_wl
11752 pic_flag
=$lt_prog_compiler_pic
11758 lt_save_allow_undefined_flag
=$allow_undefined_flag
11759 allow_undefined_flag
=
11760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11761 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11764 test $ac_status = 0; }
11766 lt_cv_archive_cmds_need_lc
=no
11768 lt_cv_archive_cmds_need_lc
=yes
11770 allow_undefined_flag
=$lt_save_allow_undefined_flag
11772 cat conftest.err
1>&5
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11778 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11779 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11938 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11940 if test "$GCC" = yes; then
11942 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11943 *) lt_awk_arg
="/^libraries:/" ;;
11946 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11947 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11949 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11950 case $lt_search_path_spec in
11952 # if the path contains ";" then we assume it to be the separator
11953 # otherwise default to the standard path separator (i.e. ":") - it is
11954 # assumed that no part of a normal pathname contains ";" but that should
11955 # okay in the real world where ";" in dirpaths is itself problematic.
11956 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11959 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11962 # Ok, now we have the path, separated by spaces, we can step through it
11963 # and add multilib dir if necessary.
11964 lt_tmp_lt_search_path_spec
=
11965 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11966 for lt_sys_path
in $lt_search_path_spec; do
11967 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11968 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11970 test -d "$lt_sys_path" && \
11971 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11974 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11975 BEGIN {RS=" "; FS="/|\n";} {
11978 for (lt_i = NF; lt_i > 0; lt_i--) {
11979 if ($lt_i != "" && $lt_i != ".") {
11980 if ($lt_i == "..") {
11983 if (lt_count == 0) {
11984 lt_foo="/" $lt_i lt_foo;
11991 if (lt_foo != "") { lt_freq[lt_foo]++; }
11992 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11994 # AWK program above erroneously prepends '/' to C:/dos/paths
11997 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11998 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12000 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12002 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12004 library_names_spec
=
12005 libname_spec
='lib$name'
12009 postuninstall_cmds
=
12013 shlibpath_overrides_runpath
=unknown
12015 dynamic_linker
="$host_os ld.so"
12016 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12017 need_lib_prefix
=unknown
12018 hardcode_into_libs
=no
12020 # when you set need_version to no, make sure it does not cause -set_version
12021 # flags to be left without arguments
12022 need_version
=unknown
12026 version_type
=linux
# correct to gnu/linux during the next big refactor
12027 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12028 shlibpath_var
=LIBPATH
12030 # AIX 3 has no versioning support, so we append a major version to the name.
12031 soname_spec
='${libname}${release}${shared_ext}$major'
12035 version_type
=linux
# correct to gnu/linux during the next big refactor
12038 hardcode_into_libs
=yes
12039 if test "$host_cpu" = ia64
; then
12040 # AIX 5 supports IA64
12041 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12042 shlibpath_var
=LD_LIBRARY_PATH
12044 # With GCC up to 2.95.x, collect2 would create an import file
12045 # for dependence libraries. The import file would start with
12046 # the line `#! .'. This would cause the generated library to
12047 # depend on `.', always an invalid library. This was fixed in
12048 # development snapshots of GCC prior to 3.0.
12050 aix4 | aix4.
[01] | aix4.
[01].
*)
12051 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12053 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12056 can_build_shared
=no
12060 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12061 # soname into executable. Probably we can add versioning support to
12062 # collect2, so additional links can be useful in future.
12063 if test "$aix_use_runtimelinking" = yes; then
12064 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12065 # instead of lib<name>.a to let people know that these are not
12066 # typical AIX shared libraries.
12067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12069 # We preserve .a as extension for shared libraries through AIX4.2
12070 # and later when we are not doing run time linking.
12071 library_names_spec
='${libname}${release}.a $libname.a'
12072 soname_spec
='${libname}${release}${shared_ext}$major'
12074 shlibpath_var
=LIBPATH
12081 # Since July 2007 AmigaOS4 officially supports .so libraries.
12082 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12086 library_names_spec
='$libname.ixlibrary $libname.a'
12087 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12088 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'
12094 library_names_spec
='${libname}${shared_ext}'
12095 dynamic_linker
="$host_os ld.so"
12096 shlibpath_var
=LIBRARY_PATH
12100 version_type
=linux
# correct to gnu/linux during the next big refactor
12102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12103 soname_spec
='${libname}${release}${shared_ext}$major'
12104 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12105 shlibpath_var
=LD_LIBRARY_PATH
12106 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12107 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12108 # the default ld.so.conf also contains /usr/contrib/lib and
12109 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12110 # libtool to hard-code these into programs
12113 cygwin
* | mingw
* | pw32
* | cegcc
*)
12114 version_type
=windows
12119 case $GCC,$cc_basename in
12122 library_names_spec
='$libname.dll.a'
12123 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12124 postinstall_cmds
='base_file=`basename \${file}`~
12125 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12126 dldir=$destdir/`dirname \$dlpath`~
12127 test -d \$dldir || mkdir -p \$dldir~
12128 $install_prog $dir/$dlname \$dldir/$dlname~
12129 chmod a+x \$dldir/$dlname~
12130 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12131 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12133 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12134 dlpath=$dir/\$dldll~
12136 shlibpath_overrides_runpath
=yes
12140 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12141 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12143 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12146 # MinGW DLLs use traditional 'lib' prefix
12147 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12150 # pw32 DLLs use 'pw' prefix rather than 'lib'
12151 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12154 dynamic_linker
='Win32 ld.exe'
12159 libname_spec
='$name'
12160 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12161 library_names_spec
='${libname}.dll.lib'
12165 sys_lib_search_path_spec
=
12168 for lt_path
in $LIB
12171 # Let DOS variable expansion print the short 8.3 style file name.
12172 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12173 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12176 # Convert to MSYS style.
12177 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12180 # Convert to unix form, then to dos form, then back to unix form
12181 # but this time dos style (no spaces!) so that the unix form looks
12182 # like /cygdrive/c/PROGRA~1:/cygdr...
12183 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12184 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12185 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12188 sys_lib_search_path_spec
="$LIB"
12189 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12190 # It is most probably a Windows format PATH.
12191 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12193 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12195 # FIXME: find the short name or the path components, as spaces are
12196 # common. (e.g. "Program Files" -> "PROGRA~1")
12200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12201 postinstall_cmds
='base_file=`basename \${file}`~
12202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12203 dldir=$destdir/`dirname \$dlpath`~
12204 test -d \$dldir || mkdir -p \$dldir~
12205 $install_prog $dir/$dlname \$dldir/$dlname'
12206 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12207 dlpath=$dir/\$dldll~
12209 shlibpath_overrides_runpath
=yes
12210 dynamic_linker
='Win32 link.exe'
12214 # Assume MSVC wrapper
12215 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12216 dynamic_linker
='Win32 ld.exe'
12219 # FIXME: first we should search . and the directory the executable is in
12223 darwin
* | rhapsody
*)
12224 dynamic_linker
="$host_os dyld"
12225 version_type
=darwin
12228 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12229 soname_spec
='${libname}${release}${major}$shared_ext'
12230 shlibpath_overrides_runpath
=yes
12231 shlibpath_var
=DYLD_LIBRARY_PATH
12232 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12234 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12235 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12239 version_type
=linux
# correct to gnu/linux during the next big refactor
12242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12243 soname_spec
='${libname}${release}${shared_ext}$major'
12244 shlibpath_var
=LD_LIBRARY_PATH
12247 freebsd
* | dragonfly
*)
12248 # DragonFly does not have aout. When/if they implement a new
12249 # versioning mechanism, adjust this.
12250 if test -x /usr
/bin
/objformat
; then
12251 objformat
=`/usr/bin/objformat`
12254 freebsd
[23].
*) objformat
=aout
;;
12255 *) objformat
=elf
;;
12258 version_type
=freebsd-
$objformat
12259 case $version_type in
12261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12266 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12270 shlibpath_var
=LD_LIBRARY_PATH
12273 shlibpath_overrides_runpath
=yes
12275 freebsd3.
[01]* | freebsdelf3.
[01]*)
12276 shlibpath_overrides_runpath
=yes
12277 hardcode_into_libs
=yes
12279 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12280 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12281 shlibpath_overrides_runpath
=no
12282 hardcode_into_libs
=yes
12284 *) # from 4.6 on, and DragonFly
12285 shlibpath_overrides_runpath
=yes
12286 hardcode_into_libs
=yes
12292 version_type
=linux
# correct to gnu/linux during the next big refactor
12295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12296 soname_spec
='${libname}${release}${shared_ext}$major'
12297 shlibpath_var
=LD_LIBRARY_PATH
12298 shlibpath_overrides_runpath
=no
12299 hardcode_into_libs
=yes
12303 version_type
=linux
# correct to gnu/linux during the next big refactor
12306 dynamic_linker
="$host_os runtime_loader"
12307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12308 soname_spec
='${libname}${release}${shared_ext}$major'
12309 shlibpath_var
=LIBRARY_PATH
12310 shlibpath_overrides_runpath
=yes
12311 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12312 hardcode_into_libs
=yes
12315 hpux9
* | hpux10
* | hpux11
*)
12316 # Give a soname corresponding to the major version so that dld.sl refuses to
12317 # link against other versions.
12324 hardcode_into_libs
=yes
12325 dynamic_linker
="$host_os dld.so"
12326 shlibpath_var
=LD_LIBRARY_PATH
12327 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12329 soname_spec
='${libname}${release}${shared_ext}$major'
12330 if test "X$HPUX_IA64_MODE" = X32
; then
12331 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12333 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12335 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12339 hardcode_into_libs
=yes
12340 dynamic_linker
="$host_os dld.sl"
12341 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12342 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12344 soname_spec
='${libname}${release}${shared_ext}$major'
12345 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12346 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12350 dynamic_linker
="$host_os dld.sl"
12351 shlibpath_var
=SHLIB_PATH
12352 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12354 soname_spec
='${libname}${release}${shared_ext}$major'
12357 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12358 postinstall_cmds
='chmod 555 $lib'
12359 # or fails outright, so override atomically:
12360 install_override_mode
=555
12364 version_type
=linux
# correct to gnu/linux during the next big refactor
12367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12368 soname_spec
='${libname}${release}${shared_ext}$major'
12369 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12370 shlibpath_var
=LD_LIBRARY_PATH
12371 shlibpath_overrides_runpath
=no
12372 hardcode_into_libs
=yes
12375 irix5
* | irix6
* | nonstopux
*)
12377 nonstopux
*) version_type
=nonstopux
;;
12379 if test "$lt_cv_prog_gnu_ld" = yes; then
12380 version_type
=linux
# correct to gnu/linux during the next big refactor
12387 soname_spec
='${libname}${release}${shared_ext}$major'
12388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12390 irix5
* | nonstopux
*)
12391 libsuff
= shlibsuff
=
12394 case $LD in # libtool.m4 will add one of these switches to LD
12395 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12396 libsuff
= shlibsuff
= libmagic
=32-bit;;
12397 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12398 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12399 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12400 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12401 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12405 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12406 shlibpath_overrides_runpath
=no
12407 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12408 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12409 hardcode_into_libs
=yes
12412 # No shared lib support for Linux oldld, aout, or coff.
12413 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12417 # This must be glibc/ELF.
12418 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12419 version_type
=linux
# correct to gnu/linux during the next big refactor
12422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12423 soname_spec
='${libname}${release}${shared_ext}$major'
12424 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12425 shlibpath_var
=LD_LIBRARY_PATH
12426 shlibpath_overrides_runpath
=no
12428 # Some binutils ld are patched to set DT_RUNPATH
12429 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12430 $as_echo_n "(cached) " >&6
12432 lt_cv_shlibpath_overrides_runpath
=no
12433 save_LDFLAGS
=$LDFLAGS
12434 save_libdir
=$libdir
12435 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12436 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12448 if ac_fn_c_try_link
"$LINENO"; then :
12449 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12450 lt_cv_shlibpath_overrides_runpath
=yes
12453 rm -f core conftest.err conftest.
$ac_objext \
12454 conftest
$ac_exeext conftest.
$ac_ext
12455 LDFLAGS
=$save_LDFLAGS
12456 libdir
=$save_libdir
12460 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12462 # This implies no fast_install, which is unacceptable.
12463 # Some rework will be needed to allow for fast_install
12464 # before this can be enabled.
12465 hardcode_into_libs
=yes
12467 # Append ld.so.conf contents to the search path
12468 if test -f /etc
/ld.so.conf
; then
12469 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' ' '`
12470 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12473 # We used to test for /lib/ld.so.1 and disable shared libraries on
12474 # powerpc, because MkLinux only supported shared libraries with the
12475 # GNU dynamic linker. Since this was broken with cross compilers,
12476 # most powerpc-linux boxes support dynamic linking these days and
12477 # people can always --disable-shared, the test was removed, and we
12478 # assume the GNU/Linux dynamic linker is in use.
12479 dynamic_linker
='GNU/Linux ld.so'
12486 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12488 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12489 dynamic_linker
='NetBSD (a.out) ld.so'
12491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12492 soname_spec
='${libname}${release}${shared_ext}$major'
12493 dynamic_linker
='NetBSD ld.elf_so'
12495 shlibpath_var
=LD_LIBRARY_PATH
12496 shlibpath_overrides_runpath
=yes
12497 hardcode_into_libs
=yes
12501 version_type
=linux
# correct to gnu/linux during the next big refactor
12502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12503 shlibpath_var
=LD_LIBRARY_PATH
12504 shlibpath_overrides_runpath
=yes
12511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12512 soname_spec
='${libname}${release}${shared_ext}$major'
12513 shlibpath_var
=LD_LIBRARY_PATH
12514 shlibpath_overrides_runpath
=no
12515 hardcode_into_libs
=yes
12516 dynamic_linker
='ldqnx.so'
12521 sys_lib_dlsearch_path_spec
="/usr/lib"
12523 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12525 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12526 *) need_version
=no
;;
12528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12529 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12530 shlibpath_var
=LD_LIBRARY_PATH
12531 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12533 openbsd2.
[89] | openbsd2.
[89].
*)
12534 shlibpath_overrides_runpath
=no
12537 shlibpath_overrides_runpath
=yes
12541 shlibpath_overrides_runpath
=yes
12546 libname_spec
='$name'
12549 library_names_spec
='$libname${shared_ext} $libname.a'
12550 dynamic_linker
='OS/2 ld.exe'
12551 shlibpath_var
=LIBPATH
12554 osf3
* | osf4
* | osf5
*)
12558 soname_spec
='${libname}${release}${shared_ext}$major'
12559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12560 shlibpath_var
=LD_LIBRARY_PATH
12561 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12562 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12570 version_type
=linux
# correct to gnu/linux during the next big refactor
12573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12574 soname_spec
='${libname}${release}${shared_ext}$major'
12575 shlibpath_var
=LD_LIBRARY_PATH
12576 shlibpath_overrides_runpath
=yes
12577 hardcode_into_libs
=yes
12578 # ldd complains unless libraries are executable
12579 postinstall_cmds
='chmod +x $lib'
12584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12585 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12586 shlibpath_var
=LD_LIBRARY_PATH
12587 shlibpath_overrides_runpath
=yes
12588 if test "$with_gnu_ld" = yes; then
12595 version_type
=linux
# correct to gnu/linux during the next big refactor
12596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12597 soname_spec
='${libname}${release}${shared_ext}$major'
12598 shlibpath_var
=LD_LIBRARY_PATH
12599 case $host_vendor in
12601 shlibpath_overrides_runpath
=no
12603 runpath_var
=LD_RUN_PATH
12611 shlibpath_overrides_runpath
=no
12612 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12618 if test -d /usr
/nec
;then
12619 version_type
=linux
# correct to gnu/linux during the next big refactor
12620 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12621 soname_spec
='$libname${shared_ext}.$major'
12622 shlibpath_var
=LD_LIBRARY_PATH
12626 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12627 version_type
=freebsd-elf
12630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12631 soname_spec
='${libname}${release}${shared_ext}$major'
12632 shlibpath_var
=LD_LIBRARY_PATH
12633 shlibpath_overrides_runpath
=yes
12634 hardcode_into_libs
=yes
12635 if test "$with_gnu_ld" = yes; then
12636 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12638 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12641 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12645 sys_lib_dlsearch_path_spec
='/usr/lib'
12649 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12650 version_type
=linux
# correct to gnu/linux during the next big refactor
12653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12654 shlibpath_var
=LD_LIBRARY_PATH
12655 shlibpath_overrides_runpath
=no
12656 hardcode_into_libs
=yes
12660 version_type
=linux
# correct to gnu/linux during the next big refactor
12661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12662 soname_spec
='${libname}${release}${shared_ext}$major'
12663 shlibpath_var
=LD_LIBRARY_PATH
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12671 $as_echo "$dynamic_linker" >&6; }
12672 test "$dynamic_linker" = no
&& can_build_shared
=no
12674 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12675 if test "$GCC" = yes; then
12676 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12679 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12680 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12682 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12683 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12778 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12780 if test -n "$hardcode_libdir_flag_spec" ||
12781 test -n "$runpath_var" ||
12782 test "X$hardcode_automatic" = "Xyes" ; then
12784 # We can hardcode non-existent directories.
12785 if test "$hardcode_direct" != no
&&
12786 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12787 # have to relink, otherwise we might link with an installed library
12788 # when we should be linking with a yet-to-be-installed one
12789 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12790 test "$hardcode_minus_L" != no
; then
12791 # Linking always hardcodes the temporary library directory.
12792 hardcode_action
=relink
12794 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12795 hardcode_action
=immediate
12798 # We cannot hardcode anything, or else we can only hardcode existing
12800 hardcode_action
=unsupported
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12803 $as_echo "$hardcode_action" >&6; }
12805 if test "$hardcode_action" = relink ||
12806 test "$inherit_rpath" = yes; then
12807 # Fast installation is not supported
12808 enable_fast_install
=no
12809 elif test "$shlibpath_overrides_runpath" = yes ||
12810 test "$enable_shared" = no
; then
12811 # Fast installation is not necessary
12812 enable_fast_install
=needless
12820 if test "x$enable_dlopen" != xyes
; then
12821 enable_dlopen
=unknown
12822 enable_dlopen_self
=unknown
12823 enable_dlopen_self_static
=unknown
12830 lt_cv_dlopen
="load_add_on"
12832 lt_cv_dlopen_self
=yes
12835 mingw
* | pw32
* | cegcc
*)
12836 lt_cv_dlopen
="LoadLibrary"
12841 lt_cv_dlopen
="dlopen"
12846 # if libdl is installed we need to link against it
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12848 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12849 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12850 $as_echo_n "(cached) " >&6
12852 ac_check_lib_save_LIBS
=$LIBS
12854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12872 if ac_fn_c_try_link
"$LINENO"; then :
12873 ac_cv_lib_dl_dlopen
=yes
12875 ac_cv_lib_dl_dlopen
=no
12877 rm -f core conftest.err conftest.
$ac_objext \
12878 conftest
$ac_exeext conftest.
$ac_ext
12879 LIBS
=$ac_check_lib_save_LIBS
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12882 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12883 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12884 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12887 lt_cv_dlopen
="dyld"
12889 lt_cv_dlopen_self
=yes
12896 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12897 if test "x$ac_cv_func_shl_load" = xyes
; then :
12898 lt_cv_dlopen
="shl_load"
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12901 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12902 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12903 $as_echo_n "(cached) " >&6
12905 ac_check_lib_save_LIBS
=$LIBS
12907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12910 /* Override any GCC internal prototype to avoid an error.
12911 Use char because int might match the return type of a GCC
12912 builtin and then its argument prototype would still apply. */
12920 return shl_load ();
12925 if ac_fn_c_try_link
"$LINENO"; then :
12926 ac_cv_lib_dld_shl_load
=yes
12928 ac_cv_lib_dld_shl_load
=no
12930 rm -f core conftest.err conftest.
$ac_objext \
12931 conftest
$ac_exeext conftest.
$ac_ext
12932 LIBS
=$ac_check_lib_save_LIBS
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12935 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12936 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12937 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12939 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12940 if test "x$ac_cv_func_dlopen" = xyes
; then :
12941 lt_cv_dlopen
="dlopen"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12944 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12945 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12946 $as_echo_n "(cached) " >&6
12948 ac_check_lib_save_LIBS
=$LIBS
12950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 /* Override any GCC internal prototype to avoid an error.
12954 Use char because int might match the return type of a GCC
12955 builtin and then its argument prototype would still apply. */
12968 if ac_fn_c_try_link
"$LINENO"; then :
12969 ac_cv_lib_dl_dlopen
=yes
12971 ac_cv_lib_dl_dlopen
=no
12973 rm -f core conftest.err conftest.
$ac_objext \
12974 conftest
$ac_exeext conftest.
$ac_ext
12975 LIBS
=$ac_check_lib_save_LIBS
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12978 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12979 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12980 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12983 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12984 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12985 $as_echo_n "(cached) " >&6
12987 ac_check_lib_save_LIBS
=$LIBS
12988 LIBS
="-lsvld $LIBS"
12989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
13007 if ac_fn_c_try_link
"$LINENO"; then :
13008 ac_cv_lib_svld_dlopen
=yes
13010 ac_cv_lib_svld_dlopen
=no
13012 rm -f core conftest.err conftest.
$ac_objext \
13013 conftest
$ac_exeext conftest.
$ac_ext
13014 LIBS
=$ac_check_lib_save_LIBS
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13017 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13018 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13019 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13022 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13023 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13024 $as_echo_n "(cached) " >&6
13026 ac_check_lib_save_LIBS
=$LIBS
13028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13041 return dld_link ();
13046 if ac_fn_c_try_link
"$LINENO"; then :
13047 ac_cv_lib_dld_dld_link
=yes
13049 ac_cv_lib_dld_dld_link
=no
13051 rm -f core conftest.err conftest.
$ac_objext \
13052 conftest
$ac_exeext conftest.
$ac_ext
13053 LIBS
=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13056 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13057 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13058 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13079 if test "x$lt_cv_dlopen" != xno
; then
13085 case $lt_cv_dlopen in
13087 save_CPPFLAGS
="$CPPFLAGS"
13088 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13090 save_LDFLAGS
="$LDFLAGS"
13091 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13094 LIBS
="$lt_cv_dlopen_libs $LIBS"
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13097 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13098 if ${lt_cv_dlopen_self+:} false
; then :
13099 $as_echo_n "(cached) " >&6
13101 if test "$cross_compiling" = yes; then :
13102 lt_cv_dlopen_self
=cross
13104 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13105 lt_status
=$lt_dlunknown
13106 cat > conftest.
$ac_ext <<_LT_EOF
13107 #line $LINENO "configure"
13108 #include "confdefs.h"
13117 # define LT_DLGLOBAL RTLD_GLOBAL
13120 # define LT_DLGLOBAL DL_GLOBAL
13122 # define LT_DLGLOBAL 0
13126 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13127 find out it does not work in some platform. */
13128 #ifndef LT_DLLAZY_OR_NOW
13130 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13133 # define LT_DLLAZY_OR_NOW DL_LAZY
13136 # define LT_DLLAZY_OR_NOW RTLD_NOW
13139 # define LT_DLLAZY_OR_NOW DL_NOW
13141 # define LT_DLLAZY_OR_NOW 0
13148 /* When -fvisbility=hidden is used, assume the code has been annotated
13149 correspondingly for the symbols needed. */
13150 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13151 int fnord () __attribute__((visibility("default")));
13154 int fnord () { return 42; }
13157 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13158 int status = $lt_dlunknown;
13162 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13165 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13166 else puts (dlerror ());
13168 /* dlclose (self); */
13176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13177 (eval $ac_link) 2>&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13180 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13181 (.
/conftest
; exit; ) >&5 2>/dev
/null
13183 case x
$lt_status in
13184 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13185 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13186 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13189 # compilation failed
13190 lt_cv_dlopen_self
=no
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13198 $as_echo "$lt_cv_dlopen_self" >&6; }
13200 if test "x$lt_cv_dlopen_self" = xyes
; then
13201 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13203 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13204 if ${lt_cv_dlopen_self_static+:} false
; then :
13205 $as_echo_n "(cached) " >&6
13207 if test "$cross_compiling" = yes; then :
13208 lt_cv_dlopen_self_static
=cross
13210 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13211 lt_status
=$lt_dlunknown
13212 cat > conftest.
$ac_ext <<_LT_EOF
13213 #line $LINENO "configure"
13214 #include "confdefs.h"
13223 # define LT_DLGLOBAL RTLD_GLOBAL
13226 # define LT_DLGLOBAL DL_GLOBAL
13228 # define LT_DLGLOBAL 0
13232 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13233 find out it does not work in some platform. */
13234 #ifndef LT_DLLAZY_OR_NOW
13236 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13239 # define LT_DLLAZY_OR_NOW DL_LAZY
13242 # define LT_DLLAZY_OR_NOW RTLD_NOW
13245 # define LT_DLLAZY_OR_NOW DL_NOW
13247 # define LT_DLLAZY_OR_NOW 0
13254 /* When -fvisbility=hidden is used, assume the code has been annotated
13255 correspondingly for the symbols needed. */
13256 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13257 int fnord () __attribute__((visibility("default")));
13260 int fnord () { return 42; }
13263 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13264 int status = $lt_dlunknown;
13268 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13271 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13272 else puts (dlerror ());
13274 /* dlclose (self); */
13282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13283 (eval $ac_link) 2>&5
13285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13286 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13287 (.
/conftest
; exit; ) >&5 2>/dev
/null
13289 case x
$lt_status in
13290 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13291 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13292 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13295 # compilation failed
13296 lt_cv_dlopen_self_static
=no
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13304 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13307 CPPFLAGS
="$save_CPPFLAGS"
13308 LDFLAGS
="$save_LDFLAGS"
13313 case $lt_cv_dlopen_self in
13314 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13315 *) enable_dlopen_self
=unknown
;;
13318 case $lt_cv_dlopen_self_static in
13319 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13320 *) enable_dlopen_self_static
=unknown
;;
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13343 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13344 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13345 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13346 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13348 $as_echo "yes" >&6; }
13350 # FIXME - insert some real tests, host_os isn't really good enough
13353 if test -n "$STRIP" ; then
13354 striplib
="$STRIP -x"
13355 old_striplib
="$STRIP -S"
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13357 $as_echo "yes" >&6; }
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13360 $as_echo "no" >&6; }
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13365 $as_echo "no" >&6; }
13381 # Report which library types will actually be built
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13383 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13385 $as_echo "$can_build_shared" >&6; }
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13388 $as_echo_n "checking whether to build shared libraries... " >&6; }
13389 test "$can_build_shared" = "no" && enable_shared
=no
13391 # On AIX, shared libraries and static libraries use the same namespace, and
13392 # are all built from PIC.
13395 test "$enable_shared" = yes && enable_static
=no
13396 if test -n "$RANLIB"; then
13397 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13398 postinstall_cmds
='$RANLIB $lib'
13403 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13404 test "$enable_shared" = yes && enable_static
=no
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13409 $as_echo "$enable_shared" >&6; }
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13412 $as_echo_n "checking whether to build static libraries... " >&6; }
13413 # Make sure either enable_shared or enable_static is yes.
13414 test "$enable_shared" = yes || enable_static
=yes
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13416 $as_echo "$enable_static" >&6; }
13423 ac_cpp
='$CPP $CPPFLAGS'
13424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13444 ac_config_commands
="$ac_config_commands libtool"
13449 # Only expand once:
13453 # Select memory manager depending on user input.
13454 # If no "-enable-maxmem", use jmemnobs
13455 MEMORYMGR
='jmemnobs'
13457 # Check whether --enable-maxmem was given.
13458 if test "${enable_maxmem+set}" = set; then :
13459 enableval
=$enable_maxmem; MAXMEM
="$enableval"
13462 if test "x$MAXMEM" = xyes
; then
13465 if test "x$MAXMEM" != xno
; then
13466 if test -n "`echo $MAXMEM | sed 's/[0-9]//g'`"; then
13467 as_fn_error $?
"non-numeric argument to --enable-maxmem" "$LINENO" 5
13469 DEFAULTMAXMEM
=`expr $MAXMEM \* 1048576`
13471 cat >>confdefs.h
<<_ACEOF
13472 #define DEFAULT_MAX_MEM ${DEFAULTMAXMEM}
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 'tmpfile()'" >&5
13476 $as_echo_n "checking for 'tmpfile()'... " >&6; }
13477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13483 FILE * tfile = tmpfile();
13488 if ac_fn_c_try_link
"$LINENO"; then :
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13490 $as_echo "yes" >&6; }
13491 MEMORYMGR
='jmemansi'
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13494 $as_echo "no" >&6; }
13495 MEMORYMGR
='jmemname'
13497 # Test for the need to remove temporary files using a signal handler
13498 # (for cjpeg/djpeg)
13500 $as_echo "#define NEED_SIGNAL_CATCHER 1" >>confdefs.h
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 'mktemp()'" >&5
13503 $as_echo_n "checking for 'mktemp()'... " >&6; }
13504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13505 /* end confdefs.h. */
13510 char fname[80]; mktemp(fname);
13515 if ac_fn_c_try_link
"$LINENO"; then :
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13517 $as_echo "yes" >&6; }
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13520 $as_echo "no" >&6; }
13522 $as_echo "#define NO_MKTEMP 1" >>confdefs.h
13525 rm -f core conftest.err conftest.
$ac_objext \
13526 conftest
$ac_exeext conftest.
$ac_ext
13528 rm -f core conftest.err conftest.
$ac_objext \
13529 conftest
$ac_exeext conftest.
$ac_ext
13533 # Extract the library version IDs from jpeglib.h.
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libjpeg version number" >&5
13535 $as_echo_n "checking libjpeg version number... " >&6; }
13536 major
=`sed -ne 's/^#define JPEG_LIB_VERSION_MAJOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h`
13537 minor
=`sed -ne 's/^#define JPEG_LIB_VERSION_MINOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h`
13538 JPEG_LIB_VERSION
=`expr $major + $minor`:0:$minor
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JPEG_LIB_VERSION" >&5
13541 $as_echo "$JPEG_LIB_VERSION" >&6; }
13543 ac_config_files
="$ac_config_files Makefile"
13545 cat >confcache
<<\_ACEOF
13546 # This file is a shell script that caches the results of configure
13547 # tests run on this system so they can be shared between configure
13548 # scripts and configure runs, see configure's option --config-cache.
13549 # It is not useful on other systems. If it contains results you don't
13550 # want to keep, you may remove or edit it.
13552 # config.status only pays attention to the cache file if you give it
13553 # the --recheck option to rerun configure.
13555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13557 # following values.
13561 # The following way of writing the cache mishandles newlines in values,
13562 # but we know of no workaround that is simple, portable, and efficient.
13563 # So, we kill variables containing newlines.
13564 # Ultrix sh set writes to stderr and can't be redirected directly,
13565 # and sets the high bit in the cache file unless we assign to the vars.
13567 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13568 eval ac_val
=\$
$ac_var
13572 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13576 _ | IFS | as_nl
) ;; #(
13577 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13578 *) { eval $ac_var=; unset $ac_var;} ;;
13584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13585 *${as_nl}ac_space
=\
*)
13586 # `set' does not quote correctly, so add quotes: double-quote
13587 # substitution turns \\\\ into \\, and sed turns \\ into \.
13590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13593 # `set' quotes correctly as required by POSIX, so do not add quotes.
13594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13607 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13608 if test -w "$cache_file"; then
13609 if test "x$cache_file" != "x/dev/null"; then
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13611 $as_echo "$as_me: updating cache $cache_file" >&6;}
13612 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13613 cat confcache
>"$cache_file"
13615 case $cache_file in #(
13617 mv -f confcache
"$cache_file"$$
&&
13618 mv -f "$cache_file"$$
"$cache_file" ;; #(
13620 mv -f confcache
"$cache_file" ;;
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13626 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13631 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13632 # Let make expand exec_prefix.
13633 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13635 DEFS
=-DHAVE_CONFIG_H
13639 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13640 # 1. Remove the extension, and $U if already installed.
13641 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13642 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13643 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13644 # will be set to the directory where LIBOBJS objects are built.
13645 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13646 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13648 LIBOBJS
=$ac_libobjs
13650 LTLIBOBJS
=$ac_ltlibobjs
13653 if test -n "$EXEEXT"; then
13655 am__EXEEXT_FALSE
='#'
13657 am__EXEEXT_TRUE
='#'
13661 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13662 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13665 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13666 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13669 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13670 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13673 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13674 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13677 if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
13678 as_fn_error $?
"conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
13679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13682 : "${CONFIG_STATUS=./config.status}"
13684 ac_clean_files_save
=$ac_clean_files
13685 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13687 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13689 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13691 # Generated by $as_me.
13692 # Run this file to recreate the current configuration.
13693 # Compiler output produced by configure, useful for debugging
13694 # configure, is in config.log if it exists.
13697 ac_cs_recheck=false
13700 SHELL=\${CONFIG_SHELL-$SHELL}
13703 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13704 ## -------------------- ##
13705 ## M4sh Initialization. ##
13706 ## -------------------- ##
13708 # Be more Bourne compatible
13709 DUALCASE
=1; export DUALCASE
# for MKS sh
13710 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13713 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13714 # is contrary to our usage. Disable this feature.
13715 alias -g '${1+"$@"}'='"$@"'
13716 setopt NO_GLOB_SUBST
13718 case `(set -o) 2>/dev/null` in #(
13730 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13731 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13732 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13733 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13734 # Prefer a ksh shell builtin over an external printf program on Solaris,
13735 # but without wasting forks for bash or zsh.
13736 if test -z "$BASH_VERSION$ZSH_VERSION" \
13737 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13738 as_echo='print
-r --'
13739 as_echo_n='print
-rn --'
13740 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13741 as_echo='printf %s
\n'
13742 as_echo_n='printf %s
'
13744 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13745 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13746 as_echo_n='/usr
/ucb
/echo -n'
13748 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13749 as_echo_n_body='eval
13753 expr "X$arg" : "X\\(.*\\)$as_nl";
13754 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13756 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13758 export as_echo_n_body
13759 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13761 export as_echo_body
13762 as_echo='sh
-c $as_echo_body as_echo
'
13765 # The user is always right.
13766 if test "${PATH_SEPARATOR+set}" != set; then
13768 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13769 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13776 # We need space, tab and new line, in precisely that order. Quoting is
13777 # there to prevent editors from complaining about space-tab.
13778 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13779 # splitting by setting IFS to empty value.)
13782 # Find who we are. Look in the path if we contain no directory separator.
13785 *[\\/]* ) as_myself=$0 ;;
13786 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13787 for as_dir in $PATH
13790 test -z "$as_dir" && as_dir=.
13791 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13797 # We did not find ourselves, most probably we were run as `sh COMMAND'
13798 # in which case we are not to be found in the path.
13799 if test "x$as_myself" = x
; then
13802 if test ! -f "$as_myself"; then
13803 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13807 # Unset variables that we do not need and which cause bugs (e.g. in
13808 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13809 # suppresses any "Segmentation fault" message there. '((' could
13810 # trigger a bug in pdksh 5.2.14.
13811 for as_var
in BASH_ENV ENV MAIL MAILPATH
13812 do eval test x\
${$as_var+set} = xset \
13813 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13826 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13829 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13830 # ----------------------------------------
13831 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13832 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13833 # script with STATUS, using 1 if that was 0.
13836 as_status
=$1; test $as_status -eq 0 && as_status
=1
13838 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13839 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13841 $as_echo "$as_me: error: $2" >&2
13842 as_fn_exit
$as_status
13846 # as_fn_set_status STATUS
13847 # -----------------------
13848 # Set $? to STATUS, without forking.
13849 as_fn_set_status
()
13852 } # as_fn_set_status
13854 # as_fn_exit STATUS
13855 # -----------------
13856 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13860 as_fn_set_status
$1
13866 # Portably unset VAR.
13869 { eval $1=; unset $1;}
13871 as_unset
=as_fn_unset
13872 # as_fn_append VAR VALUE
13873 # ----------------------
13874 # Append the text in VALUE to the end of the definition contained in VAR. Take
13875 # advantage of any shell optimizations that allow amortized linear growth over
13876 # repeated appends, instead of the typical quadratic growth present in naive
13878 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13879 eval 'as_fn_append ()
13890 # as_fn_arith ARG...
13891 # ------------------
13892 # Perform arithmetic evaluation on the ARGs, and store the result in the
13893 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13894 # must be portable across $(()) and expr.
13895 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13896 eval 'as_fn_arith ()
13903 as_val
=`expr "$@" || test $? -eq 1`
13908 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13909 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13915 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13916 as_basename
=basename
13921 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13927 as_me
=`$as_basename -- "$0" ||
13928 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13929 X"$0" : 'X\(//\)$' \| \
13930 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13932 sed '/^.*\/\([^/][^/]*\)\/*$/{
13946 # Avoid depending upon Character Ranges.
13947 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13948 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13949 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13950 as_cr_digits
='0123456789'
13951 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13953 ECHO_C
= ECHO_N
= ECHO_T
=
13954 case `echo -n x` in #(((((
13956 case `echo 'xy\c'` in
13957 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13959 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13966 rm -f conf$$ conf$$.exe conf$$.
file
13967 if test -d conf$$.dir
; then
13968 rm -f conf$$.dir
/conf$$.
file
13971 mkdir conf$$.dir
2>/dev
/null
13973 if (echo >conf$$.
file) 2>/dev
/null
; then
13974 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13976 # ... but there are two gotchas:
13977 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13978 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13979 # In both cases, we have to default to `cp -p'.
13980 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13982 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13990 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13991 rmdir conf$$.dir
2>/dev
/null
13996 # Create "$as_dir" as a directory, including parents if necessary.
14001 -*) as_dir
=.
/$as_dir;;
14003 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14007 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14008 *) as_qdir
=$as_dir;;
14010 as_dirs
="'$as_qdir' $as_dirs"
14011 as_dir
=`$as_dirname -- "$as_dir" ||
14012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14013 X"$as_dir" : 'X\(//\)[^/]' \| \
14014 X"$as_dir" : 'X\(//\)$' \| \
14015 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14016 $as_echo X"$as_dir" |
14017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14021 /^X\(\/\/\)[^/].*/{
14034 test -d "$as_dir" && break
14036 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14037 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14041 if mkdir
-p .
2>/dev
/null
; then
14042 as_mkdir_p
='mkdir -p "$as_dir"'
14044 test -d .
/-p && rmdir .
/-p
14048 if test -x / >/dev
/null
2>&1; then
14049 as_test_x
='test -x'
14051 if ls -dL / >/dev
/null
2>&1; then
14058 if test -d "$1"; then
14064 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14065 ???[sx]*):;;*)false;;esac;fi
14069 as_executable_p
=$as_test_x
14071 # Sed expression to map a string onto a valid CPP name.
14072 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14074 # Sed expression to map a string onto a valid variable name.
14075 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14079 ## ----------------------------------- ##
14080 ## Main body of $CONFIG_STATUS script. ##
14081 ## ----------------------------------- ##
14083 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14086 # Save the log message, to keep $0 and so on meaningful, and to
14087 # report actual input values of CONFIG_FILES etc. instead of their
14088 # values after options handling.
14090 This file was extended by libjpeg $as_me 8.4.0, which was
14091 generated by GNU Autoconf 2.68. Invocation command line was
14093 CONFIG_FILES = $CONFIG_FILES
14094 CONFIG_HEADERS = $CONFIG_HEADERS
14095 CONFIG_LINKS = $CONFIG_LINKS
14096 CONFIG_COMMANDS = $CONFIG_COMMANDS
14099 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14104 case $ac_config_files in *"
14105 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14108 case $ac_config_headers in *"
14109 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14114 # Files that config.status was made for.
14115 config_files="$ac_config_files"
14116 config_headers="$ac_config_headers"
14117 config_commands="$ac_config_commands"
14121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14123 \`$as_me' instantiates files and other configuration actions
14124 from templates according to the current configuration. Unless the files
14125 and actions are specified as TAGs, all are instantiated by default.
14127 Usage: $0 [OPTION]... [TAG]...
14129 -h, --help print this help, then exit
14130 -V, --version print version number and configuration settings, then exit
14131 --config print configuration, then exit
14132 -q, --quiet, --silent
14133 do not print progress messages
14134 -d, --debug don't remove temporary files
14135 --recheck update $as_me by reconfiguring in the same conditions
14136 --file=FILE[:TEMPLATE]
14137 instantiate the configuration file FILE
14138 --header=FILE[:TEMPLATE]
14139 instantiate the configuration header FILE
14141 Configuration files:
14144 Configuration headers:
14147 Configuration commands:
14150 Report bugs to the package provider."
14153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14154 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14156 libjpeg config.status 8.4.0
14157 configured by $0, generated by GNU Autoconf 2.68,
14158 with options \\"\$ac_cs_config\\"
14160 Copyright (C) 2010 Free Software Foundation, Inc.
14161 This config.status script is free software; the Free Software Foundation
14162 gives unlimited permission to copy, distribute and modify it."
14169 test -n "\$AWK" || AWK=awk
14172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14173 # The default lists apply if the user does not specify any file.
14179 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14180 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14184 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14196 # Handling of the options.
14197 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14199 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14200 $as_echo "$ac_cs_version"; exit ;;
14201 --config |
--confi |
--conf |
--con |
--co |
--c )
14202 $as_echo "$ac_cs_config"; exit ;;
14203 --debug |
--debu |
--deb |
--de |
--d |
-d )
14205 --file |
--fil |
--fi |
--f )
14208 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14209 '') as_fn_error $?
"missing file argument" ;;
14211 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14212 ac_need_defaults
=false
;;
14213 --header |
--heade |
--head |
--hea )
14216 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14218 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14219 ac_need_defaults
=false
;;
14221 # Conflict between --help and --header
14222 as_fn_error $?
"ambiguous option: \`$1'
14223 Try \`$0 --help' for more information.";;
14224 --help |
--hel |
-h )
14225 $as_echo "$ac_cs_usage"; exit ;;
14226 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14227 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14230 # This is an error.
14231 -*) as_fn_error $?
"unrecognized option: \`$1'
14232 Try \`$0 --help' for more information." ;;
14234 *) as_fn_append ac_config_targets
" $1"
14235 ac_need_defaults
=false
;;
14241 ac_configure_extra_args
=
14243 if $ac_cs_silent; then
14245 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14250 if \$ac_cs_recheck; then
14251 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14253 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14254 CONFIG_SHELL='$SHELL'
14255 export CONFIG_SHELL
14260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14264 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14265 ## Running $as_me. ##
14271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14275 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14278 # The HP-UX ksh and POSIX shell print the target directory to stdout
14279 # if CDPATH is set.
14280 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14282 sed_quote_subst='$sed_quote_subst'
14283 double_quote_subst='$double_quote_subst'
14284 delay_variable_subst='$delay_variable_subst'
14285 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14286 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14287 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14288 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14289 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14290 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14291 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14292 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14293 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14294 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14295 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14296 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14297 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14298 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14299 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14300 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14301 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14302 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14303 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14304 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14305 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14306 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14307 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14308 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14309 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14310 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14311 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14312 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14313 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14314 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14315 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14316 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14317 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14318 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14319 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14320 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14321 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14322 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14323 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14324 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14325 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14326 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14327 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14328 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14329 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14330 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14331 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14332 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14333 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14334 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14335 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14336 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14337 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14338 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14339 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14340 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14341 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14342 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"`'
14343 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14344 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14345 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14346 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14347 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14348 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14349 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14350 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14351 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14352 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14353 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14354 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14355 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14356 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14357 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14358 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14359 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14360 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14361 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14362 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14363 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14364 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14365 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14366 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14367 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14368 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14369 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14370 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14371 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14372 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14373 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14374 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14375 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14376 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14377 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14378 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14379 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14380 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14381 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14382 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14383 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14384 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14385 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14386 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14387 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14388 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14389 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14390 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14391 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14392 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14393 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14394 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14395 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14396 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14397 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14398 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14399 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14400 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14401 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14402 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14403 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14404 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14405 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14406 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14407 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14408 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14409 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14410 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14411 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14412 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14413 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14414 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14415 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14418 LTCFLAGS='$LTCFLAGS'
14419 compiler='$compiler_DEFAULT'
14421 # A function that is used when there is no print builtin or printf.
14422 func_fallback_echo ()
14424 eval 'cat <<_LTECHO_EOF
14429 # Quote evaled strings.
14446 deplibs_check_method \
14450 sharedlib_from_linklib_cmd \
14453 archiver_list_spec \
14459 lt_cv_sys_global_symbol_pipe \
14460 lt_cv_sys_global_symbol_to_cdecl \
14461 lt_cv_sys_global_symbol_to_c_name_address \
14462 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14463 nm_file_list_spec \
14464 lt_prog_compiler_no_builtin_flag \
14465 lt_prog_compiler_pic \
14466 lt_prog_compiler_wl \
14467 lt_prog_compiler_static \
14468 lt_cv_prog_compiler_c_o \
14477 export_dynamic_flag_spec \
14478 whole_archive_flag_spec \
14479 compiler_needs_object \
14481 allow_undefined_flag \
14482 no_undefined_flag \
14483 hardcode_libdir_flag_spec \
14484 hardcode_libdir_separator \
14488 variables_saved_for_relink \
14490 library_names_spec \
14492 install_override_mode \
14496 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14497 *[\\\\\\\`\\"\\\$]*)
14498 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14501 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14506 # Double-quote double-evaled strings.
14507 for var in reload_cmds \
14508 old_postinstall_cmds \
14509 old_postuninstall_cmds \
14511 extract_expsyms_cmds \
14512 old_archive_from_new_cmds \
14513 old_archive_from_expsyms_cmds \
14515 archive_expsym_cmds \
14517 module_expsym_cmds \
14518 export_symbols_cmds \
14522 postuninstall_cmds \
14524 sys_lib_search_path_spec \
14525 sys_lib_dlsearch_path_spec; do
14526 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14527 *[\\\\\\\`\\"\\\$]*)
14528 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14531 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14536 ac_aux_dir='$ac_aux_dir'
14537 xsi_shell='$xsi_shell'
14538 lt_shell_append='$lt_shell_append'
14540 # See if we are running on zsh, and set the options which allow our
14541 # commands through without removal of \ escapes INIT.
14542 if test -n "\${ZSH_VERSION+set}" ; then
14543 setopt NO_GLOB_SUBST
14549 TIMESTAMP='$TIMESTAMP'
14558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14560 # Handling of arguments.
14561 for ac_config_target
in $ac_config_targets
14563 case $ac_config_target in
14564 "jconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS jconfig.h:jconfig.cfg" ;;
14565 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14566 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14567 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14569 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14574 # If the user did not use the arguments to specify the items to instantiate,
14575 # then the envvar interface is used. Set only those that are not.
14576 # We use the long form for the default assignment because of an extremely
14577 # bizarre bug on SunOS 4.1.3.
14578 if $ac_need_defaults; then
14579 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14580 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14581 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14584 # Have a temporary directory for convenience. Make it in the build tree
14585 # simply because there is no reason against having it here, and in addition,
14586 # creating and moving files from /tmp can sometimes cause problems.
14587 # Hook for its removal unless debugging.
14588 # Note that there is a small window in which the directory will not be cleaned:
14589 # after its creation but before its name has been assigned to `$tmp'.
14593 trap 'exit_status=$?
14594 : "${ac_tmp:=$tmp}"
14595 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14597 trap 'as_fn_exit 1' 1 2 13 15
14599 # Create a (secure) tmp directory for tmp files.
14602 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14606 tmp
=.
/conf$$
-$RANDOM
14607 (umask 077 && mkdir
"$tmp")
14608 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14611 # Set up the scripts for CONFIG_FILES section.
14612 # No need to generate them if there are no CONFIG_FILES.
14613 # This happens for instance with `./config.status config.h'.
14614 if test -n "$CONFIG_FILES"; then
14617 ac_cr
=`echo X | tr X '\015'`
14618 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14619 # But we know of no other shell where ac_cr would be empty at this
14620 # point, so we can use a bashism as a fallback.
14621 if test "x$ac_cr" = x
; then
14622 eval ac_cr
=\$
\'\\r
\'
14624 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14625 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14628 ac_cs_awk_cr
=$ac_cr
14631 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14636 echo "cat >conf$$subs.awk <<_ACEOF" &&
14637 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14639 } >conf$$subs.sh ||
14640 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14641 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14643 for ac_last_try in false false false false false :; do
14644 . ./conf$$subs.sh ||
14645 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14647 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14648 if test $ac_delim_n = $ac_delim_num; then
14650 elif $ac_last_try; then
14651 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14653 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14656 rm -f conf$$subs.sh
14658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14659 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14663 s/^/S["/; s
/!.
*/"]=/
14673 s/\(.\{148\}\)..*/\1/
14675 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14680 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14687 s/\(.\{148\}\)..*/\1/
14689 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14693 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14698 ' <conf$$subs.awk | sed '
14703 ' >>$CONFIG_STATUS || ac_write_fail=1
14704 rm -f conf$$subs.awk
14705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14707 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14708 for (key in S) S_is_set[key] = 1
14714 nfields = split(line, field, "@
")
14716 len = length(field[1])
14717 for (i = 2; i < nfields; i++) {
14719 keylen = length(key)
14720 if (S_is_set[key]) {
14722 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14723 len += length(value) + length(field[++i])
14734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14735 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14736 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14739 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14740 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14743 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14744 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14745 # trailing colons and then remove the whole line if VPATH becomes empty
14746 # (actually we leave an empty line to preserve line numbers).
14747 if test "x
$srcdir" = x.; then
14748 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14767 fi # test -n "$CONFIG_FILES"
14769 # Set up the scripts for CONFIG_HEADERS section.
14770 # No need to generate them if there are no CONFIG_HEADERS.
14771 # This happens for instance with `./config.status Makefile'.
14772 if test -n "$CONFIG_HEADERS"; then
14773 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14777 # Transform confdefs.h into an awk script `defines.awk', embedded as
14778 # here-document in config.status, that substitutes the proper values into
14779 # config.h.in to produce config.h.
14781 # Create a delimiter string that does not exist in confdefs.h, to ease
14782 # handling of long lines.
14784 for ac_last_try in false false :; do
14785 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14786 if test -z "$ac_tt"; then
14788 elif $ac_last_try; then
14789 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14791 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14795 # For the awk script, D is an array of macro values keyed by name,
14796 # likewise P contains macro parameters if any. Preserve backslash
14797 # newline sequences.
14799 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14801 s/.\{148\}/&'"$ac_delim"'/g
14804 s/^[ ]*#[ ]*define[ ][ ]*/ /
14811 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14813 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14817 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14818 D["\
1"]=" \
3\\\\\\n
"\\/p
14820 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14825 s/.\{148\}/&'"$ac_delim"'/g
14830 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14833 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14835 ' <confdefs.h | sed '
14836 s/'"$ac_delim"'/"\\\
14837 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14840 for (key in D) D_is_set[key] = 1
14843 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14845 split(line, arg, " ")
14846 if (arg[1] == "#") {
14850 defundef
= substr
(arg
[1], 2)
14853 split(mac1
, mac2
, "(") #)
14855 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14856 if (D_is_set
[macro
]) {
14857 # Preserve the white space surrounding the "#".
14858 print prefix
"define", macro P
[macro
] D
[macro
]
14861 # Replace #undef with comments. This is necessary, for example,
14862 # in the case of _POSIX_SOURCE, which is predefined and required
14863 # on some systems where configure will not decide to define it.
14864 if (defundef
== "undef") {
14865 print
"/*", prefix defundef
, macro
, "*/"
14873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14874 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14875 fi # test -n "$CONFIG_HEADERS"
14878 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14883 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14885 case $ac_mode$ac_tag in
14887 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14888 :[FH
]-) ac_tag
=-:-;;
14889 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14906 -) ac_f
="$ac_tmp/stdin";;
14907 *) # Look for the file first in the build tree, then in the source tree
14908 # (if the path is not absolute). The absolute path cannot be DOS-style,
14909 # because $ac_f cannot contain `:'.
14913 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14915 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14917 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14918 as_fn_append ac_file_inputs
" '$ac_f'"
14921 # Let's still pretend it is `configure' which instantiates (i.e., don't
14922 # use $as_me), people would be surprised to read:
14923 # /* config.h. Generated by config.status. */
14924 configure_input
='Generated from '`
14925 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14927 if test x
"$ac_file" != x-
; then
14928 configure_input
="$ac_file. $configure_input"
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14930 $as_echo "$as_me: creating $ac_file" >&6;}
14932 # Neutralize special characters interpreted by sed in replacement strings.
14933 case $configure_input in #(
14934 *\
&* |
*\|
* |
*\\* )
14935 ac_sed_conf_input
=`$as_echo "$configure_input" |
14936 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14937 *) ac_sed_conf_input
=$configure_input;;
14941 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14942 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14947 ac_dir
=`$as_dirname -- "$ac_file" ||
14948 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14949 X"$ac_file" : 'X\(//\)[^/]' \| \
14950 X"$ac_file" : 'X\(//\)$' \| \
14951 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14952 $as_echo X"$ac_file" |
14953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14957 /^X\(\/\/\)[^/].*/{
14970 as_dir
="$ac_dir"; as_fn_mkdir_p
14974 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14976 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14977 # A ".." for each directory in $ac_dir_suffix.
14978 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14979 case $ac_top_builddir_sub in
14980 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14981 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14984 ac_abs_top_builddir
=$ac_pwd
14985 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14986 # for backward compatibility:
14987 ac_top_builddir
=$ac_top_build_prefix
14990 .
) # We are building in place.
14992 ac_top_srcdir
=$ac_top_builddir_sub
14993 ac_abs_top_srcdir
=$ac_pwd ;;
14994 [\\/]* | ?
:[\\/]* ) # Absolute name.
14995 ac_srcdir
=$srcdir$ac_dir_suffix;
14996 ac_top_srcdir
=$srcdir
14997 ac_abs_top_srcdir
=$srcdir ;;
14998 *) # Relative name.
14999 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15000 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15001 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15003 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15013 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15014 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15016 ac_MKDIR_P
=$MKDIR_P
15018 [\\/$
]* | ?
:[\\/]* ) ;;
15019 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15024 # If the template does not know about datarootdir, expand it.
15025 # FIXME: This hack should be removed a few years after 2.60.
15026 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15037 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15038 *datarootdir
*) ac_datarootdir_seen
=yes;;
15039 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15041 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15044 ac_datarootdir_hack='
15045 s&@datadir@&$datadir&g
15046 s&@docdir@&$docdir&g
15047 s&@infodir@&$infodir&g
15048 s&@localedir@&$localedir&g
15049 s&@mandir@&$mandir&g
15050 s&\\\${datarootdir}&$datarootdir&g' ;;
15054 # Neutralize VPATH when `$srcdir' = `.'.
15055 # Shell code in configure.ac might set extrasub.
15056 # FIXME: do we really want to maintain this feature?
15057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15058 ac_sed_extra="$ac_vpsub
15061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15063 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15064 s|@configure_input@|
$ac_sed_conf_input|
;t t
15065 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15066 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15067 s
&@srcdir@
&$ac_srcdir&;t t
15068 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15069 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15070 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15071 s
&@builddir@
&$ac_builddir&;t t
15072 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15073 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15074 s
&@INSTALL@
&$ac_INSTALL&;t t
15075 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15076 $ac_datarootdir_hack
15078 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15079 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15081 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15082 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15083 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15084 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15086 which seems to be undefined. Please make sure it is defined" >&5
15087 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15088 which seems to be undefined. Please make sure it is defined" >&2;}
15090 rm -f "$ac_tmp/stdin"
15092 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15093 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15095 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15101 if test x"$ac_file" != x-; then
15103 $as_echo "/* $configure_input */" \
15104 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15105 } >"$ac_tmp/config.h" \
15106 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15107 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15109 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15112 mv "$ac_tmp/config.h" "$ac_file" \
15113 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15116 $as_echo "/* $configure_input */" \
15117 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15118 || as_fn_error $? "could not create -" "$LINENO" 5
15120 # Compute "$ac_file"'s index
in $config_headers.
15123 for _am_header
in $config_headers :; do
15124 case $_am_header in
15125 $_am_arg |
$_am_arg:* )
15128 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15131 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15132 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15133 X"$_am_arg" : 'X\(//\)[^/]' \| \
15134 X"$_am_arg" : 'X\(//\)$' \| \
15135 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15136 $as_echo X"$_am_arg" |
15137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15141 /^X\(\/\/\)[^/].*/{
15153 s/.*/./; q'`/stamp-h
$_am_stamp_count
15156 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15157 $as_echo "$as_me: executing $ac_file commands" >&6;}
15162 case $ac_file$ac_mode in
15163 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15164 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15165 # are listed without --file. Let's play safe and only enable the eval
15166 # if we detect the quoting.
15167 case $CONFIG_FILES in
15168 *\'*) eval set x
"$CONFIG_FILES" ;;
15169 *) set x
$CONFIG_FILES ;;
15174 # Strip MF so we end up with the name of the file.
15175 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15176 # Check whether this is an Automake generated Makefile or not.
15177 # We used to match only the files named `Makefile.in', but
15178 # some people rename them; so instead we look at the file content.
15179 # Grep'ing the first line is not enough: some people post-process
15180 # each Makefile.in and add a new line on top of each file to say so.
15181 # Grep'ing the whole file is not good either: AIX grep has a line
15182 # limit of 2048, but all sed's we know have understand at least 4000.
15183 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15184 dirpart
=`$as_dirname -- "$mf" ||
15185 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15186 X"$mf" : 'X\(//\)[^/]' \| \
15187 X"$mf" : 'X\(//\)$' \| \
15188 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15194 /^X\(\/\/\)[^/].*/{
15210 # Extract the definition of DEPDIR, am__include, and am__quote
15211 # from the Makefile without running `make'.
15212 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15213 test -z "$DEPDIR" && continue
15214 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15215 test -z "am__include" && continue
15216 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15217 # When using ansi2knr, U may be empty or an underscore; expand it
15218 U
=`sed -n 's/^U = //p' < "$mf"`
15219 # Find all dependency output files, they are included files with
15220 # $(DEPDIR) in their names. We invoke sed twice because it is the
15221 # simplest approach to changing $(DEPDIR) to its actual value in the
15223 for file in `sed -n "
15224 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15225 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15226 # Make sure the directory exists.
15227 test -f "$dirpart/$file" && continue
15228 fdir
=`$as_dirname -- "$file" ||
15229 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15230 X"$file" : 'X\(//\)[^/]' \| \
15231 X"$file" : 'X\(//\)$' \| \
15232 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15233 $as_echo X"$file" |
15234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15238 /^X\(\/\/\)[^/].*/{
15251 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15252 # echo "creating $dirpart/$file"
15253 echo '# dummy' > "$dirpart/$file"
15260 # See if we are running on zsh, and set the options which allow our
15261 # commands through without removal of \ escapes.
15262 if test -n "${ZSH_VERSION+set}" ; then
15263 setopt NO_GLOB_SUBST
15266 cfgfile
="${ofile}T"
15267 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15270 cat <<_LT_EOF >> "$cfgfile"
15273 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15274 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15275 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15276 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15278 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15279 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15281 # Written by Gordon Matzigkeit, 1996
15283 # This file is part of GNU Libtool.
15285 # GNU Libtool is free software; you can redistribute it and/or
15286 # modify it under the terms of the GNU General Public License as
15287 # published by the Free Software Foundation; either version 2 of
15288 # the License, or (at your option) any later version.
15290 # As a special exception to the GNU General Public License,
15291 # if you distribute this file as part of a program or library that
15292 # is built using GNU Libtool, you may include this file under the
15293 # same distribution terms that you use for the rest of that program.
15295 # GNU Libtool is distributed in the hope that it will be useful,
15296 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15297 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15298 # GNU General Public License for more details.
15300 # You should have received a copy of the GNU General Public License
15301 # along with GNU Libtool; see the file COPYING. If not, a copy
15302 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15303 # obtained by writing to the Free Software Foundation, Inc.,
15304 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15307 # The names of the tagged configurations supported by this script.
15310 # ### BEGIN LIBTOOL CONFIG
15312 # Assembler program.
15315 # DLL creation program.
15316 DLLTOOL=$lt_DLLTOOL
15318 # Object dumper program.
15319 OBJDUMP=$lt_OBJDUMP
15321 # Which release of libtool.m4 was used?
15322 macro_version=$macro_version
15323 macro_revision=$macro_revision
15325 # Whether or not to build shared libraries.
15326 build_libtool_libs=$enable_shared
15328 # Whether or not to build static libraries.
15329 build_old_libs=$enable_static
15331 # What type of objects to build.
15334 # Whether or not to optimize for fast installation.
15335 fast_install=$enable_fast_install
15337 # Shell to use when invoking shell scripts.
15340 # An echo program that protects backslashes.
15343 # The PATH separator for the build system.
15344 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15347 host_alias=$host_alias
15351 # The build system.
15352 build_alias=$build_alias
15356 # A sed program that does not truncate output.
15359 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15360 Xsed="\$SED -e 1s/^X//"
15362 # A grep program that handles long lines.
15368 # A literal string matcher.
15371 # A BSD- or MS-compatible name lister.
15374 # Whether we need soft or hard links.
15377 # What is the maximum length of a command?
15378 max_cmd_len=$max_cmd_len
15380 # Object file suffix (normally "o").
15383 # Executable file suffix (normally "").
15386 # whether the shell understands "unset".
15389 # turn spaces into newlines.
15392 # turn newlines into spaces.
15395 # convert \$build file names to \$host format.
15396 to_host_file_cmd=$lt_cv_to_host_file_cmd
15398 # convert \$build files to toolchain format.
15399 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15401 # Method to check whether dependent libraries are shared objects.
15402 deplibs_check_method=$lt_deplibs_check_method
15404 # Command to use when deplibs_check_method = "file_magic".
15405 file_magic_cmd=$lt_file_magic_cmd
15407 # How to find potential files when deplibs_check_method = "file_magic".
15408 file_magic_glob=$lt_file_magic_glob
15410 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15411 want_nocaseglob=$lt_want_nocaseglob
15413 # Command to associate shared and link libraries.
15414 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15419 # Flags to create an archive.
15420 AR_FLAGS=$lt_AR_FLAGS
15422 # How to feed a file listing to the archiver.
15423 archiver_list_spec=$lt_archiver_list_spec
15425 # A symbol stripping program.
15428 # Commands used to install an old-style archive.
15430 old_postinstall_cmds=$lt_old_postinstall_cmds
15431 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15433 # Whether to use a lock for old archive extraction.
15434 lock_old_archive_extraction=$lock_old_archive_extraction
15439 # LTCC compiler flags.
15440 LTCFLAGS=$lt_CFLAGS
15442 # Take the output of nm and produce a listing of raw symbols and C names.
15443 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15445 # Transform the output of nm in a proper C declaration.
15446 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15448 # Transform the output of nm in a C name address pair.
15449 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15451 # Transform the output of nm in a C name address pair when lib prefix is needed.
15452 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15454 # Specify filename containing input files for \$NM.
15455 nm_file_list_spec=$lt_nm_file_list_spec
15457 # The root where to search for dependent libraries,and in which our libraries should be installed.
15458 lt_sysroot=$lt_sysroot
15460 # The name of the directory that contains temporary libtool files.
15463 # Used to examine libraries when file_magic_cmd begins with "file".
15464 MAGIC_CMD=$MAGIC_CMD
15466 # Must we lock files when doing compilation?
15467 need_locks=$lt_need_locks
15470 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15472 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15473 DSYMUTIL=$lt_DSYMUTIL
15475 # Tool to change global to local symbols on Mac OS X.
15478 # Tool to manipulate fat objects and archives on Mac OS X.
15481 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15484 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15485 OTOOL64=$lt_OTOOL64
15487 # Old archive suffix (normally "a").
15490 # Shared library suffix (normally ".so").
15491 shrext_cmds=$lt_shrext_cmds
15493 # The commands to extract the exported symbol list from a shared archive.
15494 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15496 # Variables whose values should be saved in libtool wrapper scripts and
15497 # restored at link time.
15498 variables_saved_for_relink=$lt_variables_saved_for_relink
15500 # Do we need the "lib" prefix for modules?
15501 need_lib_prefix=$need_lib_prefix
15503 # Do we need a version for libraries?
15504 need_version=$need_version
15506 # Library versioning type.
15507 version_type=$version_type
15509 # Shared library runtime path variable.
15510 runpath_var=$runpath_var
15512 # Shared library path variable.
15513 shlibpath_var=$shlibpath_var
15515 # Is shlibpath searched before the hard-coded library search path?
15516 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15518 # Format of library name prefix.
15519 libname_spec=$lt_libname_spec
15521 # List of archive names. First name is the real one, the rest are links.
15522 # The last name is the one that the linker finds with -lNAME
15523 library_names_spec=$lt_library_names_spec
15525 # The coded name of the library, if different from the real name.
15526 soname_spec=$lt_soname_spec
15528 # Permission mode override for installation of shared libraries.
15529 install_override_mode=$lt_install_override_mode
15531 # Command to use after installation of a shared archive.
15532 postinstall_cmds=$lt_postinstall_cmds
15534 # Command to use after uninstallation of a shared archive.
15535 postuninstall_cmds=$lt_postuninstall_cmds
15537 # Commands used to finish a libtool library installation in a directory.
15538 finish_cmds=$lt_finish_cmds
15540 # As "finish_cmds", except a single script fragment to be evaled but
15542 finish_eval=$lt_finish_eval
15544 # Whether we should hardcode library paths into libraries.
15545 hardcode_into_libs=$hardcode_into_libs
15547 # Compile-time system search path for libraries.
15548 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15550 # Run-time system search path for libraries.
15551 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15553 # Whether dlopen is supported.
15554 dlopen_support=$enable_dlopen
15556 # Whether dlopen of programs is supported.
15557 dlopen_self=$enable_dlopen_self
15559 # Whether dlopen of statically linked programs is supported.
15560 dlopen_self_static=$enable_dlopen_self_static
15562 # Commands to strip libraries.
15563 old_striplib=$lt_old_striplib
15564 striplib=$lt_striplib
15567 # The linker used to build libraries.
15570 # How to create reloadable object files.
15571 reload_flag=$lt_reload_flag
15572 reload_cmds=$lt_reload_cmds
15574 # Commands used to build an old-style archive.
15575 old_archive_cmds=$lt_old_archive_cmds
15577 # A language specific compiler.
15580 # Is the compiler the GNU compiler?
15583 # Compiler flag to turn off builtin functions.
15584 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15586 # Additional compiler flags for building library objects.
15587 pic_flag=$lt_lt_prog_compiler_pic
15589 # How to pass a linker flag through the compiler.
15590 wl=$lt_lt_prog_compiler_wl
15592 # Compiler flag to prevent dynamic linking.
15593 link_static_flag=$lt_lt_prog_compiler_static
15595 # Does compiler simultaneously support -c and -o options?
15596 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15598 # Whether or not to add -lc for building shared libraries.
15599 build_libtool_need_lc=$archive_cmds_need_lc
15601 # Whether or not to disallow shared libs when runtime libs are static.
15602 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15604 # Compiler flag to allow reflexive dlopens.
15605 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15607 # Compiler flag to generate shared objects directly from archives.
15608 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15610 # Whether the compiler copes with passing no objects directly.
15611 compiler_needs_object=$lt_compiler_needs_object
15613 # Create an old-style archive from a shared archive.
15614 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15616 # Create a temporary old-style archive to link instead of a shared archive.
15617 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15619 # Commands used to build a shared archive.
15620 archive_cmds=$lt_archive_cmds
15621 archive_expsym_cmds=$lt_archive_expsym_cmds
15623 # Commands used to build a loadable module if different from building
15624 # a shared archive.
15625 module_cmds=$lt_module_cmds
15626 module_expsym_cmds=$lt_module_expsym_cmds
15628 # Whether we are building with GNU ld or not.
15629 with_gnu_ld=$lt_with_gnu_ld
15631 # Flag that allows shared libraries with undefined symbols to be built.
15632 allow_undefined_flag=$lt_allow_undefined_flag
15634 # Flag that enforces no undefined symbols.
15635 no_undefined_flag=$lt_no_undefined_flag
15637 # Flag to hardcode \$libdir into a binary during linking.
15638 # This must work even if \$libdir does not exist
15639 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15641 # Whether we need a single "-rpath" flag with a separated argument.
15642 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15644 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15645 # DIR into the resulting binary.
15646 hardcode_direct=$hardcode_direct
15648 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15649 # DIR into the resulting binary and the resulting library dependency is
15650 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15651 # library is relocated.
15652 hardcode_direct_absolute=$hardcode_direct_absolute
15654 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15655 # into the resulting binary.
15656 hardcode_minus_L=$hardcode_minus_L
15658 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15659 # into the resulting binary.
15660 hardcode_shlibpath_var=$hardcode_shlibpath_var
15662 # Set to "yes" if building a shared library automatically hardcodes DIR
15663 # into the library and all subsequent libraries and executables linked
15665 hardcode_automatic=$hardcode_automatic
15667 # Set to yes if linker adds runtime paths of dependent libraries
15668 # to runtime path list.
15669 inherit_rpath=$inherit_rpath
15671 # Whether libtool must link a program against all its dependency libraries.
15672 link_all_deplibs=$link_all_deplibs
15674 # Set to "yes" if exported symbols are required.
15675 always_export_symbols=$always_export_symbols
15677 # The commands to list exported symbols.
15678 export_symbols_cmds=$lt_export_symbols_cmds
15680 # Symbols that should not be listed in the preloaded symbols.
15681 exclude_expsyms=$lt_exclude_expsyms
15683 # Symbols that must always be exported.
15684 include_expsyms=$lt_include_expsyms
15686 # Commands necessary for linking programs (against libraries) with templates.
15687 prelink_cmds=$lt_prelink_cmds
15689 # Commands necessary for finishing linking programs.
15690 postlink_cmds=$lt_postlink_cmds
15692 # Specify filename containing input files.
15693 file_list_spec=$lt_file_list_spec
15695 # How to hardcode a shared library path into an executable.
15696 hardcode_action=$hardcode_action
15698 # ### END LIBTOOL CONFIG
15704 cat <<\_LT_EOF
>> "$cfgfile"
15705 # AIX sometimes has problems with the GCC collect2 program. For some
15706 # reason, if we set the COLLECT_NAMES environment variable, the problems
15707 # vanish in a puff of smoke.
15708 if test "X${COLLECT_NAMES+set}" != Xset
; then
15710 export COLLECT_NAMES
15717 ltmain
="$ac_aux_dir/ltmain.sh"
15720 # We use sed instead of cat because bash on DJGPP gets confused if
15721 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15722 # text mode, it properly converts lines to CR/LF. This bash problem
15723 # is reportedly fixed, but why not run on old versions too?
15724 sed '$q' "$ltmain" >> "$cfgfile" \
15725 ||
(rm -f "$cfgfile"; exit 1)
15727 if test x
"$xsi_shell" = xyes
; then
15728 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15732 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15733 \ * ) func_dirname_result="${3}" ;;\
15735 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15736 && mv -f "$cfgfile.tmp" "$cfgfile" \
15737 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15738 test 0 -eq $? || _lt_function_replace_fail
=:
15741 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15744 \ func_basename_result="${1##*/}"\
15745 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15746 && mv -f "$cfgfile.tmp" "$cfgfile" \
15747 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15748 test 0 -eq $? || _lt_function_replace_fail
=:
15751 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15752 func_dirname_and_basename ()\
15755 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15756 \ * ) func_dirname_result="${3}" ;;\
15758 \ func_basename_result="${1##*/}"\
15759 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15760 && mv -f "$cfgfile.tmp" "$cfgfile" \
15761 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15762 test 0 -eq $? || _lt_function_replace_fail
=:
15765 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15768 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15769 \ # positional parameters, so assign one to ordinary parameter first.\
15770 \ func_stripname_result=${3}\
15771 \ func_stripname_result=${func_stripname_result#"${1}"}\
15772 \ func_stripname_result=${func_stripname_result%"${2}"}\
15773 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15774 && mv -f "$cfgfile.tmp" "$cfgfile" \
15775 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15776 test 0 -eq $? || _lt_function_replace_fail
=:
15779 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15780 func_split_long_opt ()\
15782 \ func_split_long_opt_name=${1%%=*}\
15783 \ func_split_long_opt_arg=${1#*=}\
15784 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15785 && mv -f "$cfgfile.tmp" "$cfgfile" \
15786 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15787 test 0 -eq $? || _lt_function_replace_fail
=:
15790 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15791 func_split_short_opt ()\
15793 \ func_split_short_opt_arg=${1#??}\
15794 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15795 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15796 && mv -f "$cfgfile.tmp" "$cfgfile" \
15797 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15798 test 0 -eq $? || _lt_function_replace_fail
=:
15801 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15805 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15806 \ *) func_lo2o_result=${1} ;;\
15808 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15809 && mv -f "$cfgfile.tmp" "$cfgfile" \
15810 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15811 test 0 -eq $? || _lt_function_replace_fail
=:
15814 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15817 func_xform_result=${1%.*}.lo\
15818 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15819 && mv -f "$cfgfile.tmp" "$cfgfile" \
15820 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15821 test 0 -eq $? || _lt_function_replace_fail
=:
15824 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15827 func_arith_result=$(( $* ))\
15828 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15829 && mv -f "$cfgfile.tmp" "$cfgfile" \
15830 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15831 test 0 -eq $? || _lt_function_replace_fail
=:
15834 sed -e '/^func_len ()$/,/^} # func_len /c\
15837 func_len_result=${#1}\
15838 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15839 && mv -f "$cfgfile.tmp" "$cfgfile" \
15840 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15841 test 0 -eq $? || _lt_function_replace_fail
=:
15845 if test x
"$lt_shell_append" = xyes
; then
15846 sed -e '/^func_append ()$/,/^} # func_append /c\
15849 eval "${1}+=\\${2}"\
15850 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15851 && mv -f "$cfgfile.tmp" "$cfgfile" \
15852 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15853 test 0 -eq $? || _lt_function_replace_fail
=:
15856 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15857 func_append_quoted ()\
15859 \ func_quote_for_eval "${2}"\
15860 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15861 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15862 && mv -f "$cfgfile.tmp" "$cfgfile" \
15863 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15864 test 0 -eq $? || _lt_function_replace_fail
=:
15867 # Save a `func_append' function call where possible by direct use of '+='
15868 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15869 && mv -f "$cfgfile.tmp" "$cfgfile" \
15870 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15871 test 0 -eq $? || _lt_function_replace_fail
=:
15873 # Save a `func_append' function call even when '+=' is not available
15874 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15875 && mv -f "$cfgfile.tmp" "$cfgfile" \
15876 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15877 test 0 -eq $? || _lt_function_replace_fail
=:
15880 if test x
"$_lt_function_replace_fail" = x
":"; then
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15882 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15886 mv -f "$cfgfile" "$ofile" ||
15887 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15898 ac_clean_files
=$ac_clean_files_save
15900 test $ac_write_fail = 0 ||
15901 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15904 # configure is writing to config.log, and then calls config.status.
15905 # config.status does its own redirection, appending to config.log.
15906 # Unfortunately, on DOS this fails, as config.log is still kept open
15907 # by configure, so config.status won't be able to write to it; its
15908 # output is simply discarded. So we exec the FD to /dev/null,
15909 # effectively closing config.log, so it can be properly (re)opened and
15910 # appended to by config.status. When coming back to configure, we
15911 # need to make the FD available again.
15912 if test "$no_create" != yes; then
15914 ac_config_status_args
=
15915 test "$silent" = yes &&
15916 ac_config_status_args
="$ac_config_status_args --quiet"
15918 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15920 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15921 # would make configure fail if this is the last instruction.
15922 $ac_cs_success || as_fn_exit
1
15924 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15926 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}