2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for jasper 1.900.29.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='jasper'
589 PACKAGE_TARNAME
='jasper'
590 PACKAGE_VERSION
='1.900.29'
591 PACKAGE_STRING
='jasper 1.900.29'
595 ac_unique_file
="README"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
637 JAS_HAVE_GETTIMEOFDAY
710 GENERATE_CHANGELOG_RULES
724 INSTALL_STRIP_PROGRAM
766 program_transform_name
779 enable_option_checking
785 enable_dependency_tracking
792 with_glut_include_dir
802 ac_precious_vars
='build_alias
814 # Initialize some variables set by options.
816 ac_init_version
=false
817 ac_unrecognized_opts
=
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
828 program_transform_name
=s
,x
,x
,
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir
='${exec_prefix}/bin'
843 sbindir
='${exec_prefix}/sbin'
844 libexecdir
='${exec_prefix}/libexec'
845 datarootdir
='${prefix}/share'
846 datadir
='${datarootdir}'
847 sysconfdir
='${prefix}/etc'
848 sharedstatedir
='${prefix}/com'
849 localstatedir
='${prefix}/var'
850 includedir
='${prefix}/include'
851 oldincludedir
='/usr/include'
852 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
853 infodir
='${datarootdir}/info'
858 libdir
='${exec_prefix}/lib'
859 localedir
='${datarootdir}/locale'
860 mandir
='${datarootdir}/man'
866 # If the previous option needs an argument, assign it.
867 if test -n "$ac_prev"; then
868 eval $ac_prev=\
$ac_option
874 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 # Accept the important Cygnus configure options, so we can diagnose typos.
881 case $ac_dashdash$ac_option in
885 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
887 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
890 -build |
--build |
--buil |
--bui |
--bu)
891 ac_prev
=build_alias
;;
892 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
893 build_alias
=$ac_optarg ;;
895 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
896 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
897 ac_prev
=cache_file
;;
898 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
899 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
900 cache_file
=$ac_optarg ;;
903 cache_file
=config.cache
;;
905 -datadir |
--datadir |
--datadi |
--datad)
907 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
908 datadir
=$ac_optarg ;;
910 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
911 |
--dataroo |
--dataro |
--datar)
912 ac_prev
=datarootdir
;;
913 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
914 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
915 datarootdir
=$ac_optarg ;;
917 -disable-* |
--disable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error $?
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=no
;;
933 -docdir |
--docdir |
--docdi |
--doc |
--do)
935 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
938 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
940 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
943 -enable-* |
--enable-*)
944 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
947 as_fn_error $?
"invalid feature name: $ac_useropt"
948 ac_useropt_orig
=$ac_useropt
949 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
954 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
955 ac_unrecognized_sep
=', ';;
957 eval enable_
$ac_useropt=\
$ac_optarg ;;
959 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
960 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
961 |
--exec |
--exe |
--ex)
962 ac_prev
=exec_prefix
;;
963 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
964 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
965 |
--exec=* |
--exe=* |
--ex=*)
966 exec_prefix
=$ac_optarg ;;
968 -gas |
--gas |
--ga |
--g)
969 # Obsolete; use --with-gas.
972 -help |
--help |
--hel |
--he |
-h)
974 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
975 ac_init_help
=recursive
;;
976 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
977 ac_init_help
=short
;;
979 -host |
--host |
--hos |
--ho)
980 ac_prev
=host_alias
;;
981 -host=* |
--host=* |
--hos=* |
--ho=*)
982 host_alias
=$ac_optarg ;;
984 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
986 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
988 htmldir
=$ac_optarg ;;
990 -includedir |
--includedir |
--includedi |
--included |
--include \
991 |
--includ |
--inclu |
--incl |
--inc)
992 ac_prev
=includedir
;;
993 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
994 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
995 includedir
=$ac_optarg ;;
997 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
999 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1000 infodir
=$ac_optarg ;;
1002 -libdir |
--libdir |
--libdi |
--libd)
1004 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1005 libdir
=$ac_optarg ;;
1007 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1008 |
--libexe |
--libex |
--libe)
1009 ac_prev
=libexecdir
;;
1010 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1011 |
--libexe=* |
--libex=* |
--libe=*)
1012 libexecdir
=$ac_optarg ;;
1014 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1015 ac_prev
=localedir
;;
1016 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1017 localedir
=$ac_optarg ;;
1019 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1020 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1021 ac_prev
=localstatedir
;;
1022 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1023 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1024 localstatedir
=$ac_optarg ;;
1026 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1028 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1029 mandir
=$ac_optarg ;;
1031 -nfp |
--nfp |
--nf)
1032 # Obsolete; use --without-fp.
1035 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1036 |
--no-cr |
--no-c |
-n)
1039 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1040 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1043 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1044 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1045 |
--oldin |
--oldi |
--old |
--ol |
--o)
1046 ac_prev
=oldincludedir
;;
1047 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1048 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1049 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1050 oldincludedir
=$ac_optarg ;;
1052 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1054 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1055 prefix
=$ac_optarg ;;
1057 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1058 |
--program-pre |
--program-pr |
--program-p)
1059 ac_prev
=program_prefix
;;
1060 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1061 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1062 program_prefix
=$ac_optarg ;;
1064 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1065 |
--program-suf |
--program-su |
--program-s)
1066 ac_prev
=program_suffix
;;
1067 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1068 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1069 program_suffix
=$ac_optarg ;;
1071 -program-transform-name |
--program-transform-name \
1072 |
--program-transform-nam |
--program-transform-na \
1073 |
--program-transform-n |
--program-transform- \
1074 |
--program-transform |
--program-transfor \
1075 |
--program-transfo |
--program-transf \
1076 |
--program-trans |
--program-tran \
1077 |
--progr-tra |
--program-tr |
--program-t)
1078 ac_prev
=program_transform_name
;;
1079 -program-transform-name=* |
--program-transform-name=* \
1080 |
--program-transform-nam=* |
--program-transform-na=* \
1081 |
--program-transform-n=* |
--program-transform-=* \
1082 |
--program-transform=* |
--program-transfor=* \
1083 |
--program-transfo=* |
--program-transf=* \
1084 |
--program-trans=* |
--program-tran=* \
1085 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1086 program_transform_name
=$ac_optarg ;;
1088 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1090 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1091 pdfdir
=$ac_optarg ;;
1093 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1095 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1099 |
-silent |
--silent |
--silen |
--sile |
--sil)
1102 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1104 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1106 sbindir
=$ac_optarg ;;
1108 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1109 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1110 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1112 ac_prev
=sharedstatedir
;;
1113 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1114 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1115 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1117 sharedstatedir
=$ac_optarg ;;
1119 -site |
--site |
--sit)
1121 -site=* |
--site=* |
--sit=*)
1124 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1126 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1127 srcdir
=$ac_optarg ;;
1129 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1130 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1131 ac_prev
=sysconfdir
;;
1132 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1133 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1134 sysconfdir
=$ac_optarg ;;
1136 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1137 ac_prev
=target_alias
;;
1138 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1139 target_alias
=$ac_optarg ;;
1141 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1144 -version |
--version |
--versio |
--versi |
--vers |
-V)
1145 ac_init_version
=: ;;
1148 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1151 as_fn_error $?
"invalid package name: $ac_useropt"
1152 ac_useropt_orig
=$ac_useropt
1153 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159 ac_unrecognized_sep
=', ';;
1161 eval with_
$ac_useropt=\
$ac_optarg ;;
1163 -without-* |
--without-*)
1164 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1167 as_fn_error $?
"invalid package name: $ac_useropt"
1168 ac_useropt_orig
=$ac_useropt
1169 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1174 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1175 ac_unrecognized_sep
=', ';;
1177 eval with_
$ac_useropt=no
;;
1180 # Obsolete; use --with-x.
1183 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1184 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1185 ac_prev
=x_includes
;;
1186 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1187 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1188 x_includes
=$ac_optarg ;;
1190 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1191 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1192 ac_prev
=x_libraries
;;
1193 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1194 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1195 x_libraries
=$ac_optarg ;;
1197 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1198 Try \`$0 --help' for more information"
1202 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1203 # Reject names that are not valid shell variable names.
1204 case $ac_envvar in #(
1205 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1206 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1208 eval $ac_envvar=\
$ac_optarg
1209 export $ac_envvar ;;
1212 # FIXME: should be removed in autoconf 3.0.
1213 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1215 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1222 if test -n "$ac_prev"; then
1223 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1224 as_fn_error $?
"missing argument to $ac_option"
1227 if test -n "$ac_unrecognized_opts"; then
1228 case $enable_option_checking in
1230 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1231 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1235 # Check all directory arguments for consistency.
1236 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237 datadir sysconfdir sharedstatedir localstatedir includedir \
1238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239 libdir localedir mandir
1241 eval ac_val
=\$
$ac_var
1242 # Remove trailing slashes.
1245 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1246 eval $ac_var=\
$ac_val;;
1248 # Be sure to have absolute directory names.
1250 [\\/$
]* | ?
:[\\/]* ) continue;;
1251 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1253 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1256 # There might be people who depend on the old broken behavior: `$host'
1257 # used to hold the argument of --host etc.
1258 # FIXME: To remove some day.
1261 target
=$target_alias
1263 # FIXME: To remove some day.
1264 if test "x$host_alias" != x
; then
1265 if test "x$build_alias" = x
; then
1266 cross_compiling
=maybe
1267 elif test "x$build_alias" != "x$host_alias"; then
1273 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1275 test "$silent" = yes && exec 6>/dev
/null
1278 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1279 ac_ls_di
=`ls -di .` &&
1280 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1281 as_fn_error $?
"working directory cannot be determined"
1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1283 as_fn_error $?
"pwd does not report name of working directory"
1286 # Find the source files, if location was not specified.
1287 if test -z "$srcdir"; then
1288 ac_srcdir_defaulted
=yes
1289 # Try the directory containing this script, then the parent directory.
1290 ac_confdir
=`$as_dirname -- "$as_myself" ||
1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1292 X"$as_myself" : 'X\(//\)[^/]' \| \
1293 X"$as_myself" : 'X\(//\)$' \| \
1294 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1295 $as_echo X"$as_myself" |
1296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1318 ac_srcdir_defaulted
=no
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1321 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1322 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1324 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1326 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1328 # When building in place, set srcdir=.
1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
1332 # Remove unnecessary trailing slashes from srcdir.
1333 # Double slashes in file names in object file debugging info
1334 # mess up M-x gdb in Emacs.
1336 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1338 for ac_var
in $ac_precious_vars; do
1339 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1340 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1341 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1342 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1346 # Report the --help message.
1348 if test "$ac_init_help" = "long"; then
1349 # Omit some internal or obsolete options to make the list less imposing.
1350 # This message is too long to be a string in the A/UX 3.1 sh.
1352 \`configure' configures jasper 1.900.29 to adapt to many kinds of systems.
1354 Usage: $0 [OPTION]... [VAR=VALUE]...
1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1357 VAR=VALUE. See below for descriptions of some of the useful variables.
1359 Defaults for the options are specified in brackets.
1362 -h, --help display this help and exit
1363 --help=short display options specific to this package
1364 --help=recursive display the short help of all the included packages
1365 -V, --version display version information and exit
1366 -q, --quiet, --silent do not print \`checking ...' messages
1367 --cache-file=FILE cache test results in FILE [disabled]
1368 -C, --config-cache alias for \`--cache-file=config.cache'
1369 -n, --no-create do not create output files
1370 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1372 Installation directories:
1373 --prefix=PREFIX install architecture-independent files in PREFIX
1374 [$ac_default_prefix]
1375 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1378 By default, \`make install' will install all the files in
1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1381 for instance \`--prefix=\$HOME'.
1383 For better control, use the options below.
1385 Fine tuning of the installation directories:
1386 --bindir=DIR user executables [EPREFIX/bin]
1387 --sbindir=DIR system admin executables [EPREFIX/sbin]
1388 --libexecdir=DIR program executables [EPREFIX/libexec]
1389 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1390 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1391 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1392 --libdir=DIR object code libraries [EPREFIX/lib]
1393 --includedir=DIR C header files [PREFIX/include]
1394 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1395 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1396 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1397 --infodir=DIR info documentation [DATAROOTDIR/info]
1398 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1399 --mandir=DIR man documentation [DATAROOTDIR/man]
1400 --docdir=DIR documentation root [DATAROOTDIR/doc/jasper]
1401 --htmldir=DIR html documentation [DOCDIR]
1402 --dvidir=DIR dvi documentation [DOCDIR]
1403 --pdfdir=DIR pdf documentation [DOCDIR]
1404 --psdir=DIR ps documentation [DOCDIR]
1410 --program-prefix=PREFIX prepend PREFIX to installed program names
1411 --program-suffix=SUFFIX append SUFFIX to installed program names
1412 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1415 --x-includes=DIR X include files are
in DIR
1416 --x-libraries=DIR X library files are
in DIR
1419 --build=BUILD configure
for building on BUILD
[guessed
]
1420 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1424 if test -n "$ac_init_help"; then
1425 case $ac_init_help in
1426 short | recursive
) echo "Configuration of jasper 1.900.29:";;
1431 --disable-option-checking ignore unrecognized
--enable/--with options
1432 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1433 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1434 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1435 --disable-silent-rules verbose build output
(undo
: "make V=0")
1436 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1437 --enable-static[=PKGS
] build static libraries
[default
=yes]
1438 --enable-fast-install[=PKGS
]
1439 optimize
for fast installation
[default
=yes]
1440 --enable-dependency-tracking
1441 do not reject slow dependency extractors
1442 --disable-dependency-tracking
1443 speeds up one-time build
1444 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1445 --disable-strict Disable pedantic errors.
1446 --disable-libjpeg Force the IJG JPEG library to be ignored
1447 --disable-opengl Disable use of OpenGL.
1448 --enable-memory-limit=ARG Set memory limit to ARG
(where ARG defaults to SIZE_MAX
).
1449 --enable-asan Enable Address Sanitizer.
1450 --enable-usan Enable Undefined-Behavior Sanitizer.
1451 --enable-leak Enable Leak Sanitizer.
1452 --enable-msan Enable Memory Sanitizer.
1453 --enable-debug add extra code
for debugging
1456 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1457 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1458 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1460 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1461 --with-sysroot=DIR Search
for dependent libraries within DIR
1462 (or the compiler
's sysroot if not specified).
1463 --with-x use the X Window System
1464 --with-glut-include-dir=DIR Set GLUT include directory.
1465 --with-glut-lib-dir=DIR Set GLUT library directory.
1467 Some influential environment variables:
1468 CC C compiler command
1469 CFLAGS C compiler flags
1470 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1471 nonstandard directory <lib dir>
1472 LIBS libraries to pass to the linker, e.g. -l<library>
1473 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1474 you have headers in a nonstandard directory <include dir>
1476 XMKMF Path to xmkmf, Makefile generator for X Window System
1478 Use these variables to override the choices made by `configure' or to
help
1479 it to
find libraries and programs with nonstandard names
/locations.
1481 Report bugs to the package provider.
1486 if test "$ac_init_help" = "recursive"; then
1487 # If there are subdirs, report their specific --help.
1488 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1489 test -d "$ac_dir" ||
1490 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1495 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1497 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1498 # A ".." for each directory in $ac_dir_suffix.
1499 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1500 case $ac_top_builddir_sub in
1501 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1502 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1505 ac_abs_top_builddir
=$ac_pwd
1506 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1507 # for backward compatibility:
1508 ac_top_builddir
=$ac_top_build_prefix
1511 .
) # We are building in place.
1513 ac_top_srcdir
=$ac_top_builddir_sub
1514 ac_abs_top_srcdir
=$ac_pwd ;;
1515 [\\/]* | ?
:[\\/]* ) # Absolute name.
1516 ac_srcdir
=$srcdir$ac_dir_suffix;
1517 ac_top_srcdir
=$srcdir
1518 ac_abs_top_srcdir
=$srcdir ;;
1520 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1522 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1524 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1526 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1527 # Check for guested configure.
1528 if test -f "$ac_srcdir/configure.gnu"; then
1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531 elif test -f "$ac_srcdir/configure"; then
1533 $SHELL "$ac_srcdir/configure" --help=recursive
1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1537 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1541 test -n "$ac_init_help" && exit $ac_status
1542 if $ac_init_version; then
1544 jasper configure
1.900.29
1545 generated by GNU Autoconf
2.69
1547 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1548 This configure
script is free software
; the Free Software Foundation
1549 gives unlimited permission to copy
, distribute and modify it.
1554 ## ------------------------ ##
1555 ## Autoconf initialization. ##
1556 ## ------------------------ ##
1558 # ac_fn_c_try_compile LINENO
1559 # --------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_compile
()
1563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1564 rm -f conftest.
$ac_objext
1565 if { { ac_try
="$ac_compile"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.$ac_objext; then :
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1594 } # ac_fn_c_try_compile
1596 # ac_fn_c_try_link LINENO
1597 # -----------------------
1598 # Try to link conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext conftest$ac_exeext
1603 if { { ac_try="$ac_link"
1605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1606 *) ac_try_echo
=$ac_try;;
1608 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_link") 2>conftest.err
1612 if test -s conftest.err
; then
1613 grep -v '^ *+' conftest.err
>conftest.er1
1614 cat conftest.er1
>&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest
$ac_exeext && {
1622 test "$cross_compiling" = yes ||
1623 test -x conftest
$ac_exeext
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.
$ac_ext >&5
1632 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1633 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1634 # interfere with the next link command; also delete a directory that is
1635 # left behind by Apple's compiler. We do this before executing the actions.
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status
$ac_retval
1640 } # ac_fn_c_try_link
1642 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1643 # -------------------------------------------------------
1644 # Tests whether HEADER exists and can be compiled using the include files in
1645 # INCLUDES, setting the cache variable VAR accordingly.
1646 ac_fn_c_check_header_compile
()
1648 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650 $as_echo_n "checking for $2... " >&6; }
1651 if eval \
${$3+:} false
; then :
1652 $as_echo_n "(cached) " >&6
1654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1659 if ac_fn_c_try_compile
"$LINENO"; then :
1664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 } # ac_fn_c_check_header_compile
1673 # ac_fn_c_try_cpp LINENO
1674 # ----------------------
1675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1688 if test -s conftest.err; then
1689 grep -v '^ *+' conftest.err >conftest.er1
1690 cat conftest.er1 >&5
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } > conftest.i && {
1695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status $ac_retval
1710 # ac_fn_c_try_run LINENO
1711 # ----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1713 # that executables *can* be run.
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 if { { ac_try="$ac_link"
1719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1720 *) ac_try_echo
=$ac_try;;
1722 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_link") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1728 { { case "(($ac_try" in
1729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_try") 2>&5
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; }; }; then :
1740 $as_echo "$as_me: program exited with status $ac_status" >&5
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1744 ac_retval=$ac_status
1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status $ac_retval
1752 # ac_fn_c_check_func LINENO FUNC VAR
1753 # ----------------------------------
1754 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1755 ac_fn_c_check_func ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761 $as_echo_n "(cached) " >&6
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1765 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1767 #define $2 innocuous_$2
1769 /* System header to define __stub macros and hopefully few prototypes,
1770 which can conflict with char $2 (); below.
1771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1772 <limits.h> exists even on freestanding compilers. */
1775 # include <limits.h>
1777 # include <assert.h>
1782 /* Override any GCC internal prototype to avoid an error.
1783 Use char because int might match the return type of a GCC
1784 builtin and then its argument prototype would still apply. */
1789 /* The GNU C library defines this for functions which it implements
1790 to always fail with ENOSYS. Some functions are actually named
1791 something starting with __ and the normal name is an alias. */
1792 #if defined __stub_$2 || defined __stub___$2
1804 if ac_fn_c_try_link "$LINENO"; then :
1809 rm -f core conftest.err conftest.$ac_objext \
1810 conftest$ac_exeext conftest.$ac_ext
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 } # ac_fn_c_check_func
1819 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1820 # -------------------------------------------------------
1821 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1822 # the include files in INCLUDES and setting the cache variable VAR
1824 ac_fn_c_check_header_mongrel ()
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if eval \${$3+:} false; then :
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if eval \${$3+:} false; then :
1831 $as_echo_n "(cached) " >&6
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1837 # Is the header compilable?
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1839 $as_echo_n "checking $2 usability... " >&6; }
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1845 if ac_fn_c_try_compile "$LINENO"; then :
1846 ac_header_compiler=yes
1848 ac_header_compiler=no
1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1852 $as_echo "$ac_header_compiler" >&6; }
1854 # Is the header present?
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1856 $as_echo_n "checking $2 presence... " >&6; }
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1861 if ac_fn_c_try_cpp "$LINENO"; then :
1862 ac_header_preproc=yes
1864 ac_header_preproc=no
1866 rm -f conftest.err conftest.i conftest.$ac_ext
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1868 $as_echo "$ac_header_preproc" >&6; }
1870 # So? What about this header?
1871 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1874 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1876 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1880 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1882 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1884 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1886 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1888 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1896 eval "$3=\$ac_header_compiler"
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 } # ac_fn_c_check_header_mongrel
1905 cat >config.log <<_ACEOF
1906 This file contains any messages produced by compilers while
1907 running configure, to aid debugging if configure makes a mistake.
1909 It was created by jasper $as_me 1.900.29, which was
1910 generated by GNU Autoconf 2.69. Invocation command line was
1922 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1923 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1924 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1925 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1926 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1928 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1929 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1931 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1932 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1933 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1934 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1935 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1936 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1937 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 test -z "$as_dir" && as_dir=.
1946 $as_echo "PATH: $as_dir"
1962 # Keep a trace of the command line.
1963 # Strip out --no-create and --no-recursion so they do not pile up.
1964 # Strip out --silent because we don't want to record it for future runs.
1965 # Also quote any args containing shell meta-characters.
1966 # Make two passes to allow for proper duplicate-argument suppression.
1970 ac_must_keep_next=false
1976 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1978 | -silent | --silent | --silen | --sile | --sil)
1981 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1984 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1986 as_fn_append ac_configure_args1 " '$ac_arg'"
1987 if test $ac_must_keep_next = true; then
1988 ac_must_keep_next=false # Got value, back to normal.
1991 *=* | --config-cache | -C | -disable-* | --disable-* \
1992 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1993 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1994 | -with-* | --with-* | -without-* | --without-* | --x)
1995 case "$ac_configure_args0 " in
1996 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1999 -* ) ac_must_keep_next=true ;;
2002 as_fn_append ac_configure_args " '$ac_arg'"
2007 { ac_configure_args0=; unset ac_configure_args0;}
2008 { ac_configure_args1=; unset ac_configure_args1;}
2010 # When interrupted or exit'd, cleanup temporary files, and complete
2011 # config.log. We remove comments because anyway the quotes in there
2012 # would cause problems or look ugly.
2013 # WARNING: Use '\'' to represent an apostrophe within the trap.
2014 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2015 trap 'exit_status=$?
2016 # Save into config.log some information that might help in debugging.
2020 $as_echo "## ---------------- ##
2021 ## Cache variables. ##
2022 ## ---------------- ##"
2024 # The following way of writing the cache mishandles newlines in values,
2026 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2027 eval ac_val=\$$ac_var
2031 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2032 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2035 _ | IFS | as_nl) ;; #(
2036 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2037 *) { eval $ac_var=; unset $ac_var;} ;;
2042 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2043 *${as_nl}ac_space=\ *)
2045 "s/'\''/'\''\\\\'\'''\''/g;
2046 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2049 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2056 $as_echo "## ----------------- ##
2057 ## Output variables. ##
2058 ## ----------------- ##"
2060 for ac_var in $ac_subst_vars
2062 eval ac_val=\$$ac_var
2064 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2066 $as_echo "$ac_var='\''$ac_val'\''"
2070 if test -n "$ac_subst_files"; then
2071 $as_echo "## ------------------- ##
2072 ## File substitutions. ##
2073 ## ------------------- ##"
2075 for ac_var in $ac_subst_files
2077 eval ac_val=\$$ac_var
2079 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2081 $as_echo "$ac_var='\''$ac_val'\''"
2086 if test -s confdefs.h; then
2087 $as_echo "## ----------- ##
2094 test "$ac_signal" != 0 &&
2095 $as_echo "$as_me: caught signal $ac_signal"
2096 $as_echo "$as_me: exit $exit_status"
2098 rm -f core *.core core.conftest.* &&
2099 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2102 for ac_signal in 1 2 13 15; do
2103 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2107 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2108 rm -f -r conftest* confdefs.h
2110 $as_echo "/* confdefs.h */" > confdefs.h
2112 # Predefined preprocessor variables.
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_NAME "$PACKAGE_NAME"
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2122 cat >>confdefs.h <<_ACEOF
2123 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_STRING "$PACKAGE_STRING"
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2134 cat >>confdefs.h <<_ACEOF
2135 #define PACKAGE_URL "$PACKAGE_URL"
2139 # Let the site file select an alternate cache file if it wants to.
2140 # Prefer an explicitly selected file to automatically selected ones.
2143 if test -n "$CONFIG_SITE"; then
2144 # We do not want a PATH search for config.site.
2145 case $CONFIG_SITE in #((
2146 -*) ac_site_file1=./$CONFIG_SITE;;
2147 */*) ac_site_file1=$CONFIG_SITE;;
2148 *) ac_site_file1=./$CONFIG_SITE;;
2150 elif test "x$prefix" != xNONE; then
2151 ac_site_file1=$prefix/share/config.site
2152 ac_site_file2=$prefix/etc/config.site
2154 ac_site_file1=$ac_default_prefix/share/config.site
2155 ac_site_file2=$ac_default_prefix/etc/config.site
2157 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2159 test "x$ac_site_file" = xNONE && continue
2160 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2162 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2163 sed 's/^/| /' "$ac_site_file" >&5
2165 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167 as_fn_error $? "failed to load site
script $ac_site_file
2168 See \
`config.log' for more details" "$LINENO" 5; }
2172 if test -r "$cache_file"; then
2173 # Some versions of bash will fail to source /dev/null (special files
2174 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2175 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2177 $as_echo "$as_me: loading cache $cache_file" >&6;}
2179 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2180 *) . "./$cache_file";;
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2185 $as_echo "$as_me: creating cache $cache_file" >&6;}
2189 # Check that the precious variables saved in the cache have kept the same
2191 ac_cache_corrupted=false
2192 for ac_var in $ac_precious_vars; do
2193 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2194 eval ac_new_set=\$ac_env_${ac_var}_set
2195 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2196 eval ac_new_val=\$ac_env_${ac_var}_value
2197 case $ac_old_set,$ac_new_set in
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2200 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2201 ac_cache_corrupted=: ;;
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2204 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2205 ac_cache_corrupted=: ;;
2208 if test "x$ac_old_val" != "x$ac_new_val"; then
2209 # differences in whitespace do not lead to failure.
2210 ac_old_val_w=`echo x
$ac_old_val`
2211 ac_new_val_w=`echo x
$ac_new_val`
2212 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2214 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2215 ac_cache_corrupted=:
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2218 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2219 eval $ac_var=\$ac_old_val
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2222 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2224 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2227 # Pass precious variables to config.status.
2228 if test "$ac_new_set" = set; then
2230 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2231 *) ac_arg=$ac_var=$ac_new_val ;;
2233 case " $ac_configure_args " in
2234 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2235 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2239 if $ac_cache_corrupted; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2243 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2244 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2246 ## -------------------- ##
2247 ## Main body of script. ##
2248 ## -------------------- ##
2251 ac_cpp='$CPP $CPPFLAGS'
2252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2260 for ac_dir in ac_aux "$srcdir"/ac_aux; do
2261 if test -f "$ac_dir/install-sh"; then
2263 ac_install_sh="$ac_aux_dir/install-sh -c"
2265 elif test -f "$ac_dir/install.sh"; then
2267 ac_install_sh="$ac_aux_dir/install.sh -c"
2269 elif test -f "$ac_dir/shtool"; then
2271 ac_install_sh="$ac_aux_dir/shtool install -c"
2275 if test -z "$ac_aux_dir"; then
2276 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ac_aux \"$srcdir\"/ac_aux" "$LINENO" 5
2279 # These three variables are undocumented and unsupported,
2280 # and are intended to be withdrawn in a future Autoconf release.
2281 # They can cause serious problems if a builder's source tree is in a directory
2282 # whose full name contains unusual characters.
2283 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2284 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2285 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2290 am__api_version='1.14'
2292 # Find a good install program. We prefer a C program (faster),
2293 # so one script is as good as another. But avoid the broken or
2294 # incompatible versions:
2295 # SysV /etc/install, /usr/sbin/install
2296 # SunOS /usr/etc/install
2297 # IRIX /sbin/install
2299 # AmigaOS /C/install, which installs bootblocks on floppy discs
2300 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2301 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2303 # OS/2's system install, which has a completely different semantic
2304 # ./install, which can be erroneously created by make from ./install.sh.
2305 # Reject install programs that cannot install multiple files.
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2307 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2308 if test -z "$INSTALL"; then
2309 if ${ac_cv_path_install+:} false; then :
2310 $as_echo_n "(cached) " >&6
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir=.
2317 # Account for people who put trailing slashes in PATH elements.
2318 case $as_dir/ in #((
2319 ./ | .// | /[cC]/* | \
2320 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2321 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2324 # OSF1 and SCO ODT 3.0 have their own names for install.
2325 # Don't use installbsd from OSF since it installs stuff as root
2327 for ac_prog in ginstall scoinst install; do
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2330 if test $ac_prog = install &&
2331 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2332 # AIX install. It has an incompatible calling convention.
2334 elif test $ac_prog = install &&
2335 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2336 # program-specific install script used by HP pwplus--don't use.
2339 rm -rf conftest.one conftest.two conftest.dir
2340 echo one > conftest.one
2341 echo two > conftest.two
2343 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2344 test -s conftest.one && test -s conftest.two &&
2345 test -s conftest.dir/conftest.one &&
2346 test -s conftest.dir/conftest.two
2348 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2361 rm -rf conftest.one conftest.two conftest.dir
2364 if test "${ac_cv_path_install+set}" = set; then
2365 INSTALL=$ac_cv_path_install
2367 # As a last resort, use the slow shell script. Don't cache a
2368 # value for INSTALL within a source directory, because that will
2369 # break other packages using the cache if that directory is
2370 # removed, or if the value is a relative name.
2371 INSTALL=$ac_install_sh
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2375 $as_echo "$INSTALL" >&6; }
2377 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2378 # It thinks the first close brace ends the variable substitution.
2379 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2381 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2383 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2386 $as_echo_n "checking whether build environment is sane... " >&6; }
2387 # Reject unsafe characters in $srcdir or the absolute working directory
2388 # name. Accept space and tab only in the latter.
2392 *[\\\"\#\$\&\'\`$am_lf]*)
2393 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2396 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2397 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2400 # Do 'set' in a subshell so we don't clobber the current shell's
2401 # arguments. Must try -L first in case configure is actually a
2402 # symlink; some systems play weird games with the mod time of symlinks
2403 # (eg FreeBSD returns the mod time of the symlink's containing
2407 for am_try
in 1 2; do
2408 echo "timestamp, slept: $am_has_slept" > conftest.
file
2409 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2410 if test "$*" = "X"; then
2412 set X
`ls -t "$srcdir/configure" conftest.file`
2414 if test "$*" != "X $srcdir/configure conftest.file" \
2415 && test "$*" != "X conftest.file $srcdir/configure"; then
2417 # If neither matched, then we have a broken ls. This can happen
2418 # if, for instance, CONFIG_SHELL is bash and it inherits a
2419 # broken ls alias from the environment. This has actually
2420 # happened. Such a system could not be considered "sane".
2421 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2422 alias in your environment" "$LINENO" 5
2424 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2431 test "$2" = conftest.
file
2437 as_fn_error $?
"newly created file is older than distributed files!
2438 Check your system clock" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2441 $as_echo "yes" >&6; }
2442 # If we didn't sleep, we still need to ensure time stamps of config.status and
2443 # generated files are strictly newer.
2445 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2452 test "$program_prefix" != NONE
&&
2453 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2454 # Use a double $ so make ignores it.
2455 test "$program_suffix" != NONE
&&
2456 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2457 # Double any \ or $.
2458 # By default was `s,x,x', remove it if useless.
2459 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2460 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2462 # expand $ac_aux_dir to an absolute path
2463 am_aux_dir
=`cd $ac_aux_dir && pwd`
2465 if test x
"${MISSING+set}" != xset
; then
2468 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2470 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2473 # Use eval to expand $SHELL
2474 if eval "$MISSING --is-lightweight"; then
2475 am_missing_run
="$MISSING "
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2479 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2482 if test x
"${install_sh}" != xset
; then
2485 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2487 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2491 # Installed binaries are usually stripped using 'strip' when the user
2492 # run "make install-strip". However 'strip' might not be the right
2493 # tool to use in cross-compilation environments, therefore Automake
2494 # will honor the 'STRIP' environment variable to overrule this program.
2495 if test "$cross_compiling" != no
; then
2496 if test -n "$ac_tool_prefix"; then
2497 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2498 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2500 $as_echo_n "checking for $ac_word... " >&6; }
2501 if ${ac_cv_prog_STRIP+:} false
; then :
2502 $as_echo_n "(cached) " >&6
2504 if test -n "$STRIP"; then
2505 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 STRIP
=$ac_cv_prog_STRIP
2525 if test -n "$STRIP"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2527 $as_echo "$STRIP" >&6; }
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530 $as_echo "no" >&6; }
2535 if test -z "$ac_cv_prog_STRIP"; then
2537 # Extract the first word of "strip", so it can be a program name with args.
2538 set dummy strip
; ac_word
=$2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2542 $as_echo_n "(cached) " >&6
2544 if test -n "$ac_ct_STRIP"; then
2545 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir
=.
2552 for ac_exec_ext
in '' $ac_executable_extensions; do
2553 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_ac_ct_STRIP
="strip"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2565 if test -n "$ac_ct_STRIP"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2567 $as_echo "$ac_ct_STRIP" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 $as_echo "no" >&6; }
2573 if test "x$ac_ct_STRIP" = x
; then
2576 case $cross_compiling:$ac_tool_warned in
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2580 ac_tool_warned
=yes ;;
2585 STRIP
="$ac_cv_prog_STRIP"
2589 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2592 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2593 if test -z "$MKDIR_P"; then
2594 if ${ac_cv_path_mkdir+:} false
; then :
2595 $as_echo_n "(cached) " >&6
2597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2601 test -z "$as_dir" && as_dir
=.
2602 for ac_prog
in mkdir gmkdir
; do
2603 for ac_exec_ext
in '' $ac_executable_extensions; do
2604 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2605 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2606 'mkdir (GNU coreutils) '* | \
2607 'mkdir (coreutils) '* | \
2608 'mkdir (fileutils) '4.1*)
2609 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2619 test -d .
/--version && rmdir .
/--version
2620 if test "${ac_cv_path_mkdir+set}" = set; then
2621 MKDIR_P
="$ac_cv_path_mkdir -p"
2623 # As a last resort, use the slow shell script. Don't cache a
2624 # value for MKDIR_P within a source directory, because that will
2625 # break other packages using the cache if that directory is
2626 # removed, or if the value is a relative name.
2627 MKDIR_P
="$ac_install_sh -d"
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2631 $as_echo "$MKDIR_P" >&6; }
2633 for ac_prog
in gawk mawk nawk
awk
2635 # Extract the first word of "$ac_prog", so it can be a program name with args.
2636 set dummy
$ac_prog; ac_word
=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if ${ac_cv_prog_AWK+:} false
; then :
2640 $as_echo_n "(cached) " >&6
2642 if test -n "$AWK"; then
2643 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir
=.
2650 for ac_exec_ext
in '' $ac_executable_extensions; do
2651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2652 ac_cv_prog_AWK
="$ac_prog"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 if test -n "$AWK"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2665 $as_echo "$AWK" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2672 test -n "$AWK" && break
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2676 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2678 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2679 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2680 $as_echo_n "(cached) " >&6
2682 cat >conftest.
make <<\_ACEOF
2685 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2687 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2688 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2690 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2692 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2696 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2698 $as_echo "yes" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2703 SET_MAKE
="MAKE=${MAKE-make}"
2706 rm -rf .tst
2>/dev
/null
2707 mkdir .tst
2>/dev
/null
2708 if test -d .tst
; then
2713 rmdir .tst
2>/dev
/null
2715 # Check whether --enable-silent-rules was given.
2716 if test "${enable_silent_rules+set}" = set; then :
2717 enableval
=$enable_silent_rules;
2720 case $enable_silent_rules in # (((
2721 yes) AM_DEFAULT_VERBOSITY
=0;;
2722 no
) AM_DEFAULT_VERBOSITY
=1;;
2723 *) AM_DEFAULT_VERBOSITY
=1;;
2725 am_make
=${MAKE-make}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2727 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2728 if ${am_cv_make_support_nested_variables+:} false
; then :
2729 $as_echo_n "(cached) " >&6
2731 if $as_echo 'TRUE=$(BAR$(V))
2737 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2738 am_cv_make_support_nested_variables
=yes
2740 am_cv_make_support_nested_variables
=no
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2744 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2745 if test $am_cv_make_support_nested_variables = yes; then
2747 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2749 AM_V
=$AM_DEFAULT_VERBOSITY
2750 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2754 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2755 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2756 # is not polluted with repeated "-I."
2757 am__isrc
=' -I$(srcdir)'
2758 # test to see if srcdir already configured
2759 if test -f $srcdir/config.status
; then
2760 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2764 # test whether we have cygpath
2765 if test -z "$CYGPATH_W"; then
2766 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2767 CYGPATH_W
='cygpath -w'
2774 # Define the identity of the package.
2779 cat >>confdefs.h
<<_ACEOF
2780 #define PACKAGE "$PACKAGE"
2784 cat >>confdefs.h
<<_ACEOF
2785 #define VERSION "$VERSION"
2788 # Some tools Automake needs.
2790 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2793 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2796 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2799 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2802 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2804 # For better backward compatibility. To be removed once Automake 1.9.x
2805 # dies out for good. For more background, see:
2806 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2807 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2808 mkdir_p
='$(MKDIR_P)'
2810 # We need awk for the "check" target. The system "awk" is bad on
2812 # Always define AMTAR for backward compatibility. Yes, it's still used
2813 # in the wild :-( We should find a proper way to deprecate it ...
2817 # We'll loop over all known methods to create a tar archive until one works.
2818 _am_tools
='gnutar pax cpio none'
2820 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2827 # POSIX will say in a future version that running "rm -f" with no argument
2828 # is OK; and we want to be able to make that assumption in our Makefile
2829 # recipes. So use an aggressive probe to check that the usage we want is
2830 # actually supported "in the wild" to an acceptable degree.
2831 # See automake bug#10828.
2832 # To make any issue more visible, cause the running configure to be aborted
2833 # by default if the 'rm' program in use doesn't match our expectations; the
2834 # user can still override this though.
2835 if rm -f && rm -fr && rm -rf; then : OK
; else
2839 Your 'rm' program seems unable to run without file operands specified
2840 on the command line, even when the '-f' option is present. This is contrary
2841 to the behaviour of most rm programs out there, and not conforming with
2842 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2844 Please tell bug-automake@gnu.org about your system, including the value
2845 of your $PATH and any error possibly output before this message. This
2846 can help us improve future automake versions.
2849 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2850 echo 'Configuration will proceed anyway, since you have set the' >&2
2851 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2855 Aborting the configuration process, to ensure you take notice of the issue.
2857 You can download and install GNU coreutils to get an 'rm' implementation
2858 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2860 If you want to complete the configuration process using your problematic
2861 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2862 to "yes", and re-run configure.
2865 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2869 # ===========================================================================
2870 # http://www.gnu.org/software/autoconf-archive/ax_generate_changelog.html
2871 # ===========================================================================
2875 # AX_GENERATE_CHANGELOG()
2879 # Builds a rule for generating a ChangeLog file from version control
2880 # system commit messages. Currently, the only supported VCS is git, but
2881 # support for others could be added in future.
2883 # Defines GENERATE_CHANGELOG_RULES which should be substituted in your
2890 # AX_GENERATE_CHANGELOG
2894 # @GENERATE_CHANGELOG_RULES@
2895 # CHANGELOG_START = 0.2.3^
2896 # dist-hook: dist-ChangeLog
2898 # ChangeLog (stub committed to VCS):
2900 # The ChangeLog is auto-generated when releasing.
2901 # If you are seeing this, use 'git log' for a detailed list of changes.
2903 # This results in a "dist-ChangeLog" rule being added to the Makefile.
2904 # When run, "dist-ChangeLog" will generate a ChangeLog in the
2905 # $(top_distdir), using $(CHANGELOG_GIT_FLAGS) to format the output from
2906 # "git log" being run in $(CHANGELOG_GIT_DIR).
2908 # Unless Automake is initialised with the 'foreign' option, a dummy
2909 # ChangeLog file must be committed to VCS in $(top_srcdir), containing the
2910 # text above (for example). It will be substituted by the automatically
2911 # generated ChangeLog during "make dist".
2915 # Copyright (c) 2015 David King <amigadave@amigadave.com>
2916 # Copyright (c) 2015 Philip Withnall <philip.withnall@collabora.co.uk>
2918 # Copying and distribution of this file, with or without modification, are
2919 # permitted in any medium without royalty provided the copyright notice
2920 # and this notice are preserved. This file is offered as-is, without any
2945 # ===========================================================================
2946 # http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
2947 # ===========================================================================
2951 # AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
2955 # Check whether the given FLAG works with the current language's compiler
2956 # or gives an error. (Warnings, however, are ignored)
2958 # ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
2961 # If EXTRA-FLAGS is defined, it is added to the current language's default
2962 # flags (e.g. CFLAGS) when the check is done. The check is thus made with
2963 # the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
2964 # force the compiler to issue an error when a bad flag is given.
2966 # INPUT gives an alternative input source to AC_COMPILE_IFELSE.
2968 # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
2969 # macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
2973 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
2974 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
2976 # This program is free software: you can redistribute it and/or modify it
2977 # under the terms of the GNU General Public License as published by the
2978 # Free Software Foundation, either version 3 of the License, or (at your
2979 # option) any later version.
2981 # This program is distributed in the hope that it will be useful, but
2982 # WITHOUT ANY WARRANTY; without even the implied warranty of
2983 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2984 # Public License for more details.
2986 # You should have received a copy of the GNU General Public License along
2987 # with this program. If not, see <http://www.gnu.org/licenses/>.
2989 # As a special exception, the respective Autoconf Macro's copyright owner
2990 # gives unlimited permission to copy, distribute and modify the configure
2991 # scripts that are the output of Autoconf when processing the Macro. You
2992 # need not follow the terms of the GNU General Public License when using
2993 # or distributing such scripts, even though portions of the text of the
2994 # Macro appear in them. The GNU General Public License (GPL) does govern
2995 # all other use of the material that constitutes the Autoconf Macro.
2997 # This special exception to the GPL applies to versions of the Autoconf
2998 # Macro released by the Autoconf Archive. When you make and distribute a
2999 # modified version of the Autoconf Macro, you may extend this special
3000 # exception to the GPL to apply to your modified version as well.
3005 # ===========================================================================
3006 # http://www.gnu.org/software/autoconf-archive/ax_append_flag.html
3007 # ===========================================================================
3011 # AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
3015 # FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
3018 # If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
3019 # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
3020 # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
3023 # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
3027 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
3028 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
3030 # This program is free software: you can redistribute it and/or modify it
3031 # under the terms of the GNU General Public License as published by the
3032 # Free Software Foundation, either version 3 of the License, or (at your
3033 # option) any later version.
3035 # This program is distributed in the hope that it will be useful, but
3036 # WITHOUT ANY WARRANTY; without even the implied warranty of
3037 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3038 # Public License for more details.
3040 # You should have received a copy of the GNU General Public License along
3041 # with this program. If not, see <http://www.gnu.org/licenses/>.
3043 # As a special exception, the respective Autoconf Macro's copyright owner
3044 # gives unlimited permission to copy, distribute and modify the configure
3045 # scripts that are the output of Autoconf when processing the Macro. You
3046 # need not follow the terms of the GNU General Public License when using
3047 # or distributing such scripts, even though portions of the text of the
3048 # Macro appear in them. The GNU General Public License (GPL) does govern
3049 # all other use of the material that constitutes the Autoconf Macro.
3051 # This special exception to the GPL applies to versions of the Autoconf
3052 # Macro released by the Autoconf Archive. When you make and distribute a
3053 # modified version of the Autoconf Macro, you may extend this special
3054 # exception to the GPL to apply to your modified version as well.
3061 # Find git, defaulting to the 'missing' script so the user gets a nice
3062 # message if git is missing, rather than a plain 'command not found'.
3063 # Extract the first word of "git", so it can be a program name with args.
3064 set dummy git
; ac_word
=$2
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if ${ac_cv_path_GIT+:} false
; then :
3068 $as_echo_n "(cached) " >&6
3072 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3082 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 test -z "$ac_cv_path_GIT" && ac_cv_path_GIT
="${am_missing_run}git"
3095 if test -n "$GIT"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
3097 $as_echo "$GIT" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3106 # Build the ChangeLog rules.
3108 GENERATE_CHANGELOG_RULES
='
3109 # Generate ChangeLog
3112 # - CHANGELOG_START: git commit ID or tag name to output changelogs from
3113 # (exclusive). (Default: include all commits)
3114 # - CHANGELOG_GIT_FLAGS: General flags to pass to git-log when generating the
3115 # ChangeLog. (Default: various)
3116 # - CHANGELOG_GIT_DIR: .git directory to use. (Default: $(top_srcdir)/.git)
3119 CHANGELOG_GIT_FLAGS ?= --stat -M -C --name-status --no-color
3120 CHANGELOG_GIT_DIR ?= $(top_srcdir)/.git
3122 ifeq ($(CHANGELOG_START),)
3123 CHANGELOG_GIT_RANGE =
3125 CHANGELOG_GIT_RANGE = $(CHANGELOG_START)..
3128 # Generate a ChangeLog in $(top_distdir)
3130 $(AM_V_GEN)if $(GIT) \
3131 --git-dir=$(CHANGELOG_GIT_DIR) --work-tree=$(top_srcdir) log \
3132 $(CHANGELOG_GIT_FLAGS) $(CHANGELOG_GIT_RANGE) \
3133 | fmt --split-only >.ChangeLog.tmp; \
3134 then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
3135 else rm -f .ChangeLog.tmp; exit 1; fi
3137 .PHONY: dist-ChangeLog
3144 # Initialize libtool.
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3148 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3153 macro_version
='2.4.2'
3154 macro_revision
='1.3337'
3168 ltmain
="$ac_aux_dir/ltmain.sh"
3170 # Make sure we can run config.sub.
3171 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3172 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3175 $as_echo_n "checking build system type... " >&6; }
3176 if ${ac_cv_build+:} false
; then :
3177 $as_echo_n "(cached) " >&6
3179 ac_build_alias
=$build_alias
3180 test "x$ac_build_alias" = x
&&
3181 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3182 test "x$ac_build_alias" = x
&&
3183 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3184 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3185 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3189 $as_echo "$ac_cv_build" >&6; }
3190 case $ac_cv_build in
3192 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3195 ac_save_IFS
=$IFS; IFS
='-'
3201 # Remember, the first character of IFS is used to create $*,
3202 # except with old shells:
3205 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3209 $as_echo_n "checking host system type... " >&6; }
3210 if ${ac_cv_host+:} false
; then :
3211 $as_echo_n "(cached) " >&6
3213 if test "x$host_alias" = x
; then
3214 ac_cv_host
=$ac_cv_build
3216 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3217 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3222 $as_echo "$ac_cv_host" >&6; }
3225 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3228 ac_save_IFS
=$IFS; IFS
='-'
3234 # Remember, the first character of IFS is used to create $*,
3235 # except with old shells:
3238 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3241 # Backslashify metacharacters that are still active within
3242 # double-quoted strings.
3243 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3245 # Same as above, but do not quote variable references.
3246 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3248 # Sed substitution to delay expansion of an escaped shell variable in a
3249 # double_quote_subst'ed string.
3250 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3252 # Sed substitution to delay expansion of an escaped single quote.
3253 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3255 # Sed substitution to avoid accidental globbing in evaled expressions
3256 no_glob_subst
='s/\*/\\\*/g'
3258 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3259 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3260 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3263 $as_echo_n "checking how to print strings... " >&6; }
3264 # Test print first, because it will be a builtin if present.
3265 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3266 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3268 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3271 # Use this function as a fallback that always works.
3272 func_fallback_echo ()
3274 eval 'cat <<_LTECHO_EOF
3278 ECHO='func_fallback_echo
'
3281 # func_echo_all arg...
3282 # Invoke $ECHO with all args, space-separated.
3289 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3290 $as_echo "printf" >&6; } ;;
3291 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3292 $as_echo "print -r" >&6; } ;;
3293 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3294 $as_echo "cat" >&6; } ;;
3310 DEPDIR="${am__leading_dot}deps"
3312 ac_config_commands="$ac_config_commands depfiles"
3315 am_make=${MAKE-make}
3316 cat > confinc << 'END
'
3318 @echo this is the am__doit target
3321 # If we don't
find an include directive
, just comment out the code.
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3323 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3327 # First try GNU make style include.
3328 echo "include confinc" > confmf
3329 # Ignore all kinds of additional output from 'make'.
3330 case `$am_make -s -f confmf 2> /dev/null` in #(
3331 *the\ am__doit\ target
*)
3337 # Now try BSD make style include.
3338 if test "$am__include" = "#"; then
3339 echo '.include "confinc"' > confmf
3340 case `$am_make -s -f confmf 2> /dev/null` in #(
3341 *the\ am__doit\ target
*)
3342 am__include
=.include
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3351 $as_echo "$_am_result" >&6; }
3352 rm -f confinc confmf
3354 # Check whether --enable-dependency-tracking was given.
3355 if test "${enable_dependency_tracking+set}" = set; then :
3356 enableval
=$enable_dependency_tracking;
3359 if test "x$enable_dependency_tracking" != xno
; then
3360 am_depcomp
="$ac_aux_dir/depcomp"
3364 if test "x$enable_dependency_tracking" != xno; then
3374 ac_cpp
='$CPP $CPPFLAGS'
3375 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3376 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3377 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3378 if test -n "$ac_tool_prefix"; then
3379 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3380 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3382 $as_echo_n "checking for $ac_word... " >&6; }
3383 if ${ac_cv_prog_CC+:} false
; then :
3384 $as_echo_n "(cached) " >&6
3386 if test -n "$CC"; then
3387 ac_cv_prog_CC
="$CC" # Let the user override the test.
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 for ac_exec_ext
in '' $ac_executable_extensions; do
3395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407 if test -n "$CC"; then
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3409 $as_echo "$CC" >&6; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3412 $as_echo "no" >&6; }
3417 if test -z "$ac_cv_prog_CC"; then
3419 # Extract the first word of "gcc", so it can be a program name with args.
3420 set dummy gcc
; ac_word
=$2
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3422 $as_echo_n "checking for $ac_word... " >&6; }
3423 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3424 $as_echo_n "(cached) " >&6
3426 if test -n "$ac_ct_CC"; then
3427 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3433 test -z "$as_dir" && as_dir
=.
3434 for ac_exec_ext
in '' $ac_executable_extensions; do
3435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3436 ac_cv_prog_ac_ct_CC
="gcc"
3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3446 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3447 if test -n "$ac_ct_CC"; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3449 $as_echo "$ac_ct_CC" >&6; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452 $as_echo "no" >&6; }
3455 if test "x$ac_ct_CC" = x
; then
3458 case $cross_compiling:$ac_tool_warned in
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3462 ac_tool_warned
=yes ;;
3470 if test -z "$CC"; then
3471 if test -n "$ac_tool_prefix"; then
3472 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3473 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if ${ac_cv_prog_CC+:} false
; then :
3477 $as_echo_n "(cached) " >&6
3479 if test -n "$CC"; then
3480 ac_cv_prog_CC
="$CC" # Let the user override the test.
3482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3486 test -z "$as_dir" && as_dir
=.
3487 for ac_exec_ext
in '' $ac_executable_extensions; do
3488 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3489 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 if test -n "$CC"; then
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3502 $as_echo "$CC" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3511 if test -z "$CC"; then
3512 # Extract the first word of "cc", so it can be a program name with args.
3513 set dummy cc
; ac_word
=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if ${ac_cv_prog_CC+:} false
; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$CC"; then
3520 ac_cv_prog_CC
="$CC" # Let the user override the test.
3523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3527 test -z "$as_dir" && as_dir
=.
3528 for ac_exec_ext
in '' $ac_executable_extensions; do
3529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3530 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3531 ac_prog_rejected
=yes
3535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 if test $ac_prog_rejected = yes; then
3543 # We found a bogon in the path, so make sure we never use it.
3544 set dummy
$ac_cv_prog_CC
3546 if test $# != 0; then
3547 # We chose a different compiler from the bogus one.
3548 # However, it has the same basename, so the bogon will be chosen
3549 # first if we set CC to just the basename; use the full file name.
3551 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3557 if test -n "$CC"; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3559 $as_echo "$CC" >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3567 if test -z "$CC"; then
3568 if test -n "$ac_tool_prefix"; then
3569 for ac_prog
in cl.exe
3571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3572 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3574 $as_echo_n "checking for $ac_word... " >&6; }
3575 if ${ac_cv_prog_CC+:} false
; then :
3576 $as_echo_n "(cached) " >&6
3578 if test -n "$CC"; then
3579 ac_cv_prog_CC
="$CC" # Let the user override the test.
3581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3585 test -z "$as_dir" && as_dir
=.
3586 for ac_exec_ext
in '' $ac_executable_extensions; do
3587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3588 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 if test -n "$CC"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3601 $as_echo "$CC" >&6; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3608 test -n "$CC" && break
3611 if test -z "$CC"; then
3613 for ac_prog
in cl.exe
3615 # Extract the first word of "$ac_prog", so it can be a program name with args.
3616 set dummy
$ac_prog; ac_word
=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3620 $as_echo_n "(cached) " >&6
3622 if test -n "$ac_ct_CC"; then
3623 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir
=.
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3632 ac_cv_prog_ac_ct_CC
="$ac_prog"
3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3643 if test -n "$ac_ct_CC"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3645 $as_echo "$ac_ct_CC" >&6; }
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3652 test -n "$ac_ct_CC" && break
3655 if test "x$ac_ct_CC" = x
; then
3658 case $cross_compiling:$ac_tool_warned in
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3662 ac_tool_warned
=yes ;;
3671 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3673 as_fn_error $?
"no acceptable C compiler found in \$PATH
3674 See \`config.log' for more details" "$LINENO" 5; }
3676 # Provide some information about the compiler.
3677 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3680 for ac_option
in --version -v -V -qversion; do
3681 { { ac_try
="$ac_compiler $ac_option >&5"
3683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3684 *) ac_try_echo=$ac_try;;
3686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687 $as_echo "$ac_try_echo"; } >&5
3688 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3690 if test -s conftest.err; then
3692 ... rest of stderr output deleted ...
3693 10q' conftest.err >conftest.er1
3694 cat conftest.er1 >&5
3696 rm -f conftest.er1 conftest.err
3697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3698 test $ac_status = 0; }
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 ac_clean_files_save=$ac_clean_files
3713 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3714 # Try to create an executable without -o first, disregard a.out.
3715 # It will help us diagnose broken compilers, and finding out an intuition
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3718 $as_echo_n "checking whether the C compiler works... " >&6; }
3719 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3721 # The possible output files:
3722 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3725 for ac_file in $ac_files
3728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3729 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3734 if { { ac_try="$ac_link_default"
3736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3737 *) ac_try_echo
=$ac_try;;
3739 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3740 $as_echo "$ac_try_echo"; } >&5
3741 (eval "$ac_link_default") 2>&5
3743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3744 test $ac_status = 0; }; then :
3745 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3746 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3747 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3748 # so that the user can short-circuit this test for compilers unknown to
3750 for ac_file
in $ac_files ''
3752 test -f "$ac_file" ||
continue
3754 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3757 # We found the default executable, but exeext='' is most
3761 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3763 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3765 # We set ac_cv_exeext here because the later test for it is not
3766 # safe: cross compilers may not add the suffix if given an `-o'
3767 # argument, so we may need to know it at that point already.
3768 # Even if this section looks crufty: it has the advantage of
3775 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3780 if test -z "$ac_file"; then :
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 $as_echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.
$ac_ext >&5
3786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3788 as_fn_error
77 "C compiler cannot create executables
3789 See \`config.log' for more details" "$LINENO" 5; }
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3792 $as_echo "yes" >&6; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3795 $as_echo_n "checking for C compiler default output file name... " >&6; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3797 $as_echo "$ac_file" >&6; }
3798 ac_exeext
=$ac_cv_exeext
3800 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3801 ac_clean_files
=$ac_clean_files_save
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3803 $as_echo_n "checking for suffix of executables... " >&6; }
3804 if { { ac_try
="$ac_link"
3806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811 (eval "$ac_link") 2>&5
3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3814 test $ac_status = 0; }; then :
3815 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3816 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3817 # work properly (i.e., refer to `conftest.exe'), while it won't with
3819 for ac_file
in conftest.exe conftest conftest.
*; do
3820 test -f "$ac_file" ||
continue
3822 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3823 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3832 See \`config.log' for more details" "$LINENO" 5; }
3834 rm -f conftest conftest
$ac_cv_exeext
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3836 $as_echo "$ac_cv_exeext" >&6; }
3838 rm -f conftest.
$ac_ext
3839 EXEEXT
=$ac_cv_exeext
3841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3847 FILE *f = fopen ("conftest.out", "w");
3848 return ferror (f) || fclose (f) != 0;
3854 ac_clean_files
="$ac_clean_files conftest.out"
3855 # Check that the compiler produces executables we can run. If not, either
3856 # the compiler is broken, or we cross compile.
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3858 $as_echo_n "checking whether we are cross compiling... " >&6; }
3859 if test "$cross_compiling" != yes; then
3860 { { ac_try
="$ac_link"
3862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_link") 2>&5
3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870 test $ac_status = 0; }
3871 if { ac_try='./conftest$ac_cv_exeext'
3872 { { case "(($ac_try" in
3873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3874 *) ac_try_echo
=$ac_try;;
3876 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3877 $as_echo "$ac_try_echo"; } >&5
3878 (eval "$ac_try") 2>&5
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }; }; then
3884 if test "$cross_compiling" = maybe
; then
3887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3889 as_fn_error $?
"cannot run C compiled programs.
3890 If you meant to cross compile, use \`--host'.
3891 See \`config.log' for more details" "$LINENO" 5; }
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3896 $as_echo "$cross_compiling" >&6; }
3898 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3899 ac_clean_files
=$ac_clean_files_save
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3901 $as_echo_n "checking for suffix of object files... " >&6; }
3902 if ${ac_cv_objext+:} false
; then :
3903 $as_echo_n "(cached) " >&6
3905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3916 rm -f conftest.o conftest.obj
3917 if { { ac_try
="$ac_compile"
3919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923 $as_echo "$ac_try_echo"; } >&5
3924 (eval "$ac_compile") 2>&5
3926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3927 test $ac_status = 0; }; then :
3928 for ac_file in conftest.o conftest.obj conftest.*; do
3929 test -f "$ac_file" || continue;
3931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3932 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3937 $as_echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3942 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3943 See \
`config.log' for more details" "$LINENO" 5; }
3945 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3948 $as_echo "$ac_cv_objext" >&6; }
3949 OBJEXT=$ac_cv_objext
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3952 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3953 if ${ac_cv_c_compiler_gnu+:} false; then :
3954 $as_echo_n "(cached) " >&6
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3970 if ac_fn_c_try_compile "$LINENO"; then :
3975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3980 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3981 if test $ac_compiler_gnu = yes; then
3986 ac_test_CFLAGS=${CFLAGS+set}
3987 ac_save_CFLAGS=$CFLAGS
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3989 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3990 if ${ac_cv_prog_cc_g+:} false; then :
3991 $as_echo_n "(cached) " >&6
3993 ac_save_c_werror_flag=$ac_c_werror_flag
3994 ac_c_werror_flag=yes
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4008 if ac_fn_c_try_compile "$LINENO"; then :
4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4023 if ac_fn_c_try_compile "$LINENO"; then :
4026 ac_c_werror_flag=$ac_save_c_werror_flag
4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h. */
4039 if ac_fn_c_try_compile "$LINENO"; then :
4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4047 ac_c_werror_flag=$ac_save_c_werror_flag
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4050 $as_echo "$ac_cv_prog_cc_g" >&6; }
4051 if test "$ac_test_CFLAGS" = set; then
4052 CFLAGS=$ac_save_CFLAGS
4053 elif test $ac_cv_prog_cc_g = yes; then
4054 if test "$GCC" = yes; then
4060 if test "$GCC" = yes; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4067 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4068 if ${ac_cv_prog_cc_c89+:} false; then :
4069 $as_echo_n "(cached) " >&6
4071 ac_cv_prog_cc_c89=no
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4079 struct buf { int x; };
4080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4081 static char *e (p, i)
4087 static char *f (char * (*g) (char **, int), char **p, ...)
4092 s = g (p, va_arg (v,int));
4097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4098 function prototypes and stuff, but not '\xHH' hex character constants.
4099 These don't provoke an error unfortunately, instead are silently treated
4100 as 'x'. The following induces an error, until -std is added to get
4101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4102 array size at least. It's necessary to write '\x00'==0 to get something
4103 that's true only with -std. */
4104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4107 inside strings and character constants. */
4109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4111 int test (int i, double x);
4112 struct s1 {int (*f) (int a);};
4113 struct s2 {int (*f) (double a);};
4114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4128 CC="$ac_save_CC $ac_arg"
4129 if ac_fn_c_try_compile "$LINENO"; then :
4130 ac_cv_prog_cc_c89=$ac_arg
4132 rm -f core conftest.err conftest.$ac_objext
4133 test "x$ac_cv_prog_cc_c89" != "xno" && break
4135 rm -f conftest.$ac_ext
4140 case "x$ac_cv_prog_cc_c89" in
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4143 $as_echo "none needed" >&6; } ;;
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4146 $as_echo "unsupported" >&6; } ;;
4148 CC="$CC $ac_cv_prog_cc_c89"
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4150 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4152 if test "x$ac_cv_prog_cc_c89" != xno; then :
4157 ac_cpp='$CPP $CPPFLAGS'
4158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 ac_cpp='$CPP $CPPFLAGS'
4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4168 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4169 if ${am_cv_prog_cc_c_o+:} false; then :
4170 $as_echo_n "(cached) " >&6
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4183 # Make sure it works both with $CC and with simple cc.
4184 # Following AC_PROG_CC_C_O, we do the test twice because some
4185 # compilers refuse to overwrite an existing .o file with -o,
4186 # though they will create one.
4187 am_cv_prog_cc_c_o=yes
4189 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4190 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); } \
4194 && test -f conftest2.$ac_objext; then
4197 am_cv_prog_cc_c_o=no
4201 rm -f core conftest*
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4205 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4206 if test "$am_cv_prog_cc_c_o" != yes; then
4207 # Losing compiler, so override with the script.
4208 # FIXME: It is wrong to rewrite CC.
4209 # But if we don't then we get into trouble of one sort or another.
4210 # A longer-term fix would be to have automake use am__CC in this case,
4211 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4212 CC="$am_aux_dir/compile $CC"
4215 ac_cpp='$CPP $CPPFLAGS'
4216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4221 depcc="$CC" am_compiler_list=
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4224 $as_echo_n "checking dependency style of $depcc... " >&6; }
4225 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4229 # We make a subdir and do the tests there. Otherwise we can end up
4230 # making bogus files that we don't know about and never remove. For
4231 # instance it was reported that on HP-UX the gcc test will end up
4232 # making a dummy file named 'D' -- because '-MD' means "put the output
4236 # Copy depcomp to subdir because otherwise we won't find it if we're
4237 # using a relative directory.
4238 cp "$am_depcomp" conftest.dir
4240 # We will build objects and dependencies in a subdirectory because
4241 # it helps to detect inapplicable dependency modes. For instance
4242 # both Tru64's cc and ICC support -MD to output dependencies as a
4243 # side effect of compilation, but ICC will put the dependencies in
4244 # the current directory while Tru64 will put them in the object
4248 am_cv_CC_dependencies_compiler_type=none
4249 if test "$am_compiler_list" = ""; then
4250 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4253 case " $depcc " in #(
4254 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4257 for depmode in $am_compiler_list; do
4258 # Setup a source with many dependencies, because some compilers
4259 # like to wrap large dependency lists on column 80 (with \), and
4260 # we should not choose a depcomp mode which is confused by this.
4262 # We need to recreate these files for each test, as the compiler may
4263 # overwrite some of them when testing with obscure command lines.
4264 # This happens at least with the AIX C compiler.
4266 for i in 1 2 3 4 5 6; do
4267 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4268 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4269 # Solaris 10 /bin/sh.
4270 echo '/* dummy */' > sub/conftst$i.h
4272 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4274 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4275 # mode. It turns out that the SunPro C++ compiler does not properly
4276 # handle '-M -o', and we need to detect this. Also, some Intel
4277 # versions had trouble with output in subdirs.
4278 am__obj=sub/conftest.${OBJEXT-o}
4279 am__minus_obj="-o $am__obj"
4282 # This depmode causes a compiler race in universal mode.
4283 test "$am__universal" = false || continue
4286 # After this tag, mechanisms are not by side-effect, so they'll
4287 # only be used when explicitly requested.
4288 if test "x$enable_dependency_tracking" = xyes; then
4294 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4295 # This compiler won't grok '-c -o', but also, the minuso test has
4296 # not run yet. These depmodes are late enough in the game, and
4297 # so weak that their functioning should not be impacted.
4298 am__obj=conftest.${OBJEXT-o}
4303 if depmode=$depmode \
4304 source=sub/conftest.c object=$am__obj \
4305 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4306 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4307 >/dev/null 2>conftest.err &&
4308 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4309 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4310 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4311 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4312 # icc doesn't choke on unknown options, it will just issue warnings
4313 # or remarks (even with -Werror). So we grep stderr for any message
4314 # that says an option was ignored or not supported.
4315 # When given -MP, icc 7.0 and 7.1 complain thusly:
4316 # icc: Command line warning: ignoring option '-M'; no argument required
4317 # The diagnosis changed in icc 8.0:
4318 # icc: Command line remark: option '-MP' not supported
4319 if (grep 'ignoring option' conftest.err ||
4320 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4321 am_cv_CC_dependencies_compiler_type=$depmode
4330 am_cv_CC_dependencies_compiler_type=none
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4335 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4336 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4339 test "x$enable_dependency_tracking" != xno \
4340 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4342 am__fastdepCC_FALSE='#'
4344 am__fastdepCC_TRUE='#'
4345 am__fastdepCC_FALSE=
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4350 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4351 if ${ac_cv_path_SED+:} false; then :
4352 $as_echo_n "(cached) " >&6
4354 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4355 for ac_i in 1 2 3 4 5 6 7; do
4356 ac_script="$ac_script$as_nl$ac_script"
4358 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4359 { ac_script=; unset ac_script;}
4360 if test -z "$SED"; then
4361 ac_path_SED_found=false
4362 # Loop through the user's path and test for each of PROGNAME-LIST
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir=.
4368 for ac_prog in sed gsed; do
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4371 as_fn_executable_p "$ac_path_SED" || continue
4372 # Check for GNU ac_path_SED and select it if it is found.
4373 # Check for GNU $ac_path_SED
4374 case `"$ac_path_SED" --version 2>&1` in
4376 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4379 $as_echo_n 0123456789 >"conftest.in"
4382 cat "conftest.in" "conftest.in" >"conftest.tmp"
4383 mv "conftest.tmp" "conftest.in"
4384 cp "conftest.in" "conftest.nl"
4385 $as_echo '' >> "conftest.nl"
4386 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4387 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4388 as_fn_arith $ac_count + 1 && ac_count=$as_val
4389 if test $ac_count -gt ${ac_path_SED_max-0}; then
4390 # Best one so far, save it but keep looking for a better one
4391 ac_cv_path_SED="$ac_path_SED"
4392 ac_path_SED_max=$ac_count
4394 # 10*(2^10) chars as input seems more than enough
4395 test $ac_count -gt 10 && break
4397 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4400 $ac_path_SED_found && break 3
4405 if test -z "$ac_cv_path_SED"; then
4406 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4414 $as_echo "$ac_cv_path_SED" >&6; }
4415 SED="$ac_cv_path_SED"
4418 test -z "$SED" && SED=sed
4419 Xsed="$SED -e 1s/^X//"
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4432 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4433 if ${ac_cv_path_GREP+:} false; then :
4434 $as_echo_n "(cached) " >&6
4436 if test -z "$GREP"; then
4437 ac_path_GREP_found=false
4438 # Loop through the user's path and test for each of PROGNAME-LIST
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4443 test -z "$as_dir" && as_dir=.
4444 for ac_prog in grep ggrep; do
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4447 as_fn_executable_p "$ac_path_GREP" || continue
4448 # Check for GNU ac_path_GREP and select it if it is found.
4449 # Check for GNU $ac_path_GREP
4450 case `"$ac_path_GREP" --version 2>&1` in
4452 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4455 $as_echo_n 0123456789 >"conftest.in"
4458 cat "conftest.in" "conftest.in" >"conftest.tmp"
4459 mv "conftest.tmp" "conftest.in"
4460 cp "conftest.in" "conftest.nl"
4461 $as_echo 'GREP' >> "conftest.nl"
4462 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4464 as_fn_arith $ac_count + 1 && ac_count=$as_val
4465 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4466 # Best one so far, save it but keep looking for a better one
4467 ac_cv_path_GREP="$ac_path_GREP"
4468 ac_path_GREP_max=$ac_count
4470 # 10*(2^10) chars as input seems more than enough
4471 test $ac_count -gt 10 && break
4473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4476 $ac_path_GREP_found && break 3
4481 if test -z "$ac_cv_path_GREP"; then
4482 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4485 ac_cv_path_GREP=$GREP
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4490 $as_echo "$ac_cv_path_GREP" >&6; }
4491 GREP="$ac_cv_path_GREP"
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4495 $as_echo_n "checking for egrep... " >&6; }
4496 if ${ac_cv_path_EGREP+:} false; then :
4497 $as_echo_n "(cached) " >&6
4499 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4500 then ac_cv_path_EGREP="$GREP -E"
4502 if test -z "$EGREP"; then
4503 ac_path_EGREP_found=false
4504 # Loop through the user's path and test for each of PROGNAME-LIST
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4509 test -z "$as_dir" && as_dir=.
4510 for ac_prog in egrep; do
4511 for ac_exec_ext in '' $ac_executable_extensions; do
4512 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4513 as_fn_executable_p "$ac_path_EGREP" || continue
4514 # Check for GNU ac_path_EGREP and select it if it is found.
4515 # Check for GNU $ac_path_EGREP
4516 case `"$ac_path_EGREP" --version 2>&1` in
4518 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4521 $as_echo_n 0123456789 >"conftest.in"
4524 cat "conftest.in" "conftest.in" >"conftest.tmp"
4525 mv "conftest.tmp" "conftest.in"
4526 cp "conftest.in" "conftest.nl"
4527 $as_echo 'EGREP' >> "conftest.nl"
4528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4529 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4530 as_fn_arith $ac_count + 1 && ac_count=$as_val
4531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4532 # Best one so far, save it but keep looking for a better one
4533 ac_cv_path_EGREP="$ac_path_EGREP"
4534 ac_path_EGREP_max=$ac_count
4536 # 10*(2^10) chars as input seems more than enough
4537 test $ac_count -gt 10 && break
4539 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4542 $ac_path_EGREP_found && break 3
4547 if test -z "$ac_cv_path_EGREP"; then
4548 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4551 ac_cv_path_EGREP=$EGREP
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4557 $as_echo "$ac_cv_path_EGREP" >&6; }
4558 EGREP="$ac_cv_path_EGREP"
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4562 $as_echo_n "checking for fgrep... " >&6; }
4563 if ${ac_cv_path_FGREP+:} false; then :
4564 $as_echo_n "(cached) " >&6
4566 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4567 then ac_cv_path_FGREP="$GREP -F"
4569 if test -z "$FGREP"; then
4570 ac_path_FGREP_found=false
4571 # Loop through the user's path and test for each of PROGNAME-LIST
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4576 test -z "$as_dir" && as_dir=.
4577 for ac_prog in fgrep; do
4578 for ac_exec_ext in '' $ac_executable_extensions; do
4579 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4580 as_fn_executable_p "$ac_path_FGREP" || continue
4581 # Check for GNU ac_path_FGREP and select it if it is found.
4582 # Check for GNU $ac_path_FGREP
4583 case `"$ac_path_FGREP" --version 2>&1` in
4585 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4588 $as_echo_n 0123456789 >"conftest.in"
4591 cat "conftest.in" "conftest.in" >"conftest.tmp"
4592 mv "conftest.tmp" "conftest.in"
4593 cp "conftest.in" "conftest.nl"
4594 $as_echo 'FGREP' >> "conftest.nl"
4595 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4597 as_fn_arith $ac_count + 1 && ac_count=$as_val
4598 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4599 # Best one so far, save it but keep looking for a better one
4600 ac_cv_path_FGREP="$ac_path_FGREP"
4601 ac_path_FGREP_max=$ac_count
4603 # 10*(2^10) chars as input seems more than enough
4604 test $ac_count -gt 10 && break
4606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4609 $ac_path_FGREP_found && break 3
4614 if test -z "$ac_cv_path_FGREP"; then
4615 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4618 ac_cv_path_FGREP=$FGREP
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4624 $as_echo "$ac_cv_path_FGREP" >&6; }
4625 FGREP="$ac_cv_path_FGREP"
4628 test -z "$GREP" && GREP=grep
4648 # Check whether --with-gnu-ld was given.
4649 if test "${with_gnu_ld+set}" = set; then :
4650 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4656 if test "$GCC" = yes; then
4657 # Check if gcc -print-prog-name=ld gives a path.
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4659 $as_echo_n "checking for ld used by $CC... " >&6; }
4662 # gcc leaves a trailing carriage return which upsets mingw
4663 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4665 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4668 # Accept absolute paths.
4670 re_direlt='/[^/][^/]*/\.\./'
4671 # Canonicalize the pathname of ld
4672 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4673 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4674 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4676 test -z "$LD" && LD="$ac_prog"
4679 # If it fails, then pretend we aren't using GCC.
4683 # If it is relative, then search for the first ld in PATH.
4687 elif test "$with_gnu_ld" = yes; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4689 $as_echo_n "checking for GNU ld... " >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4692 $as_echo_n "checking for non-GNU ld... " >&6; }
4694 if ${lt_cv_path_LD+:} false; then :
4695 $as_echo_n "(cached) " >&6
4697 if test -z "$LD"; then
4698 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4699 for ac_dir in $PATH; do
4701 test -z "$ac_dir" && ac_dir=.
4702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4703 lt_cv_path_LD="$ac_dir/$ac_prog"
4704 # Check to see if the program is GNU ld. I'd rather use --version,
4705 # but apparently some variants of GNU ld only accept -v.
4706 # Break only if it was the GNU/non-GNU ld that we prefer.
4707 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4708 *GNU* | *'with BFD'*)
4709 test "$with_gnu_ld" != no && break
4712 test "$with_gnu_ld" != yes && break
4719 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4724 if test -n "$LD"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4726 $as_echo "$LD" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4731 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4734 if ${lt_cv_prog_gnu_ld+:} false; then :
4735 $as_echo_n "(cached) " >&6
4737 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4738 case `$LD -v 2>&1 </dev
/null
` in
4739 *GNU* | *'with BFD'*)
4740 lt_cv_prog_gnu_ld=yes
4743 lt_cv_prog_gnu_ld=no
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4749 with_gnu_ld=$lt_cv_prog_gnu_ld
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4761 if ${lt_cv_path_NM+:} false; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$NM"; then
4765 # Let the user override the test.
4768 lt_nm_to_check="${ac_tool_prefix}nm"
4769 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4770 lt_nm_to_check="$lt_nm_to_check nm"
4772 for lt_tmp_nm in $lt_nm_to_check; do
4773 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4774 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4776 test -z "$ac_dir" && ac_dir=.
4777 tmp_nm="$ac_dir/$lt_tmp_nm"
4778 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4779 # Check to see if the nm accepts a BSD-compat flag.
4780 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4781 # nm: unknown option "B" ignored
4782 # Tru64's nm complains that
/dev
/null is an invalid object
file
4783 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4784 */dev
/null
* |
*'Invalid file or object type'*)
4785 lt_cv_path_NM
="$tmp_nm -B"
4789 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4791 lt_cv_path_NM
="$tmp_nm -p"
4795 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4796 continue # so that we can try to find one that supports BSD flags
4805 : ${lt_cv_path_NM=no}
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4809 $as_echo "$lt_cv_path_NM" >&6; }
4810 if test "$lt_cv_path_NM" != "no"; then
4813 # Didn't find any BSD compatible name lister, look for dumpbin.
4814 if test -n "$DUMPBIN"; then :
4815 # Let the user override the test.
4817 if test -n "$ac_tool_prefix"; then
4818 for ac_prog
in dumpbin
"link -dump"
4820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4821 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$DUMPBIN"; then
4828 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 DUMPBIN
=$ac_cv_prog_DUMPBIN
4848 if test -n "$DUMPBIN"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4850 $as_echo "$DUMPBIN" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4857 test -n "$DUMPBIN" && break
4860 if test -z "$DUMPBIN"; then
4861 ac_ct_DUMPBIN
=$DUMPBIN
4862 for ac_prog
in dumpbin
"link -dump"
4864 # Extract the first word of "$ac_prog", so it can be a program name with args.
4865 set dummy
$ac_prog; ac_word
=$2
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 $as_echo_n "checking for $ac_word... " >&6; }
4868 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4869 $as_echo_n "(cached) " >&6
4871 if test -n "$ac_ct_DUMPBIN"; then
4872 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir
=.
4879 for ac_exec_ext
in '' $ac_executable_extensions; do
4880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4881 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4892 if test -n "$ac_ct_DUMPBIN"; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4894 $as_echo "$ac_ct_DUMPBIN" >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897 $as_echo "no" >&6; }
4901 test -n "$ac_ct_DUMPBIN" && break
4904 if test "x$ac_ct_DUMPBIN" = x
; then
4907 case $cross_compiling:$ac_tool_warned in
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4911 ac_tool_warned
=yes ;;
4913 DUMPBIN
=$ac_ct_DUMPBIN
4917 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4919 DUMPBIN
="$DUMPBIN -symbols"
4927 if test "$DUMPBIN" != ":"; then
4931 test -z "$NM" && NM
=nm
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4939 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4940 if ${lt_cv_nm_interface+:} false
; then :
4941 $as_echo_n "(cached) " >&6
4943 lt_cv_nm_interface
="BSD nm"
4944 echo "int some_variable = 0;" > conftest.
$ac_ext
4945 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4946 (eval "$ac_compile" 2>conftest.err
)
4947 cat conftest.err
>&5
4948 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4949 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4950 cat conftest.err
>&5
4951 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4952 cat conftest.out
>&5
4953 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4954 lt_cv_nm_interface
="MS dumpbin"
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4959 $as_echo "$lt_cv_nm_interface" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4962 $as_echo_n "checking whether ln -s works... " >&6; }
4964 if test "$LN_S" = "ln -s"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4966 $as_echo "yes" >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4969 $as_echo "no, using $LN_S" >&6; }
4972 # find the maximum length of command line arguments
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4974 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4975 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4976 $as_echo_n "(cached) " >&6
4983 # On DJGPP, this test can blow up pretty badly due to problems in libc
4984 # (any single argument exceeding 2000 bytes causes a buffer overrun
4985 # during glob expansion). Even if it were fixed, the result of this
4986 # check would be larger than it should be.
4987 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4991 # Under GNU Hurd, this test is not required because there is
4992 # no limit to the length of command line arguments.
4993 # Libtool will interpret -1 as no limit whatsoever
4994 lt_cv_sys_max_cmd_len
=-1;
4997 cygwin
* | mingw
* | cegcc
*)
4998 # On Win9x/ME, this test blows up -- it succeeds, but takes
4999 # about 5 minutes as the teststring grows exponentially.
5000 # Worse, since 9x/ME are not pre-emptively multitasking,
5001 # you end up with a "frozen" computer, even though with patience
5002 # the test eventually succeeds (with a max line length of 256k).
5003 # Instead, let's just punt: use the minimum linelength reported by
5004 # all of the supported platforms: 8192 (on NT/2K/XP).
5005 lt_cv_sys_max_cmd_len
=8192;
5009 # On MiNT this can take a long time and run out of memory.
5010 lt_cv_sys_max_cmd_len
=8192;
5014 # On AmigaOS with pdksh, this test takes hours, literally.
5015 # So we just punt and use a minimum line length of 8192.
5016 lt_cv_sys_max_cmd_len
=8192;
5019 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5020 # This has been around since 386BSD, at least. Likely further.
5021 if test -x /sbin
/sysctl
; then
5022 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5023 elif test -x /usr
/sbin
/sysctl
; then
5024 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5026 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5028 # And add a safety zone
5029 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5030 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5034 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5035 lt_cv_sys_max_cmd_len
=196608
5039 # The test takes a long time on OS/2.
5040 lt_cv_sys_max_cmd_len
=8192
5044 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5045 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5046 # nice to cause kernel panics so lets avoid the loop below.
5047 # First set a reasonable default.
5048 lt_cv_sys_max_cmd_len
=16384
5050 if test -x /sbin
/sysconfig
; then
5051 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5052 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5057 lt_cv_sys_max_cmd_len
=102400
5059 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5060 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5061 if test -n "$kargmax"; then
5062 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5064 lt_cv_sys_max_cmd_len
=32768
5068 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5069 if test -n "$lt_cv_sys_max_cmd_len"; then
5070 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5071 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5073 # Make teststring a little bigger before we do anything with it.
5074 # a 1K string should be a reasonable start.
5075 for i
in 1 2 3 4 5 6 7 8 ; do
5076 teststring
=$teststring$teststring
5078 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5079 # If test is not a shell built-in, we'll probably end up computing a
5080 # maximum length that is only half of the actual maximum length, but
5082 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5083 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5084 test $i != 17 # 1/2 MB should be enough
5087 teststring
=$teststring$teststring
5089 # Only check the string length outside the loop.
5090 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5092 # Add a significant safety factor because C++ compilers can tack on
5093 # massive amounts of additional arguments before passing them to the
5094 # linker. It appears as though 1/2 is a usable value.
5095 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5102 if test -n $lt_cv_sys_max_cmd_len ; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5104 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5107 $as_echo "none" >&6; }
5109 max_cmd_len
=$lt_cv_sys_max_cmd_len
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5121 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5122 # Try some XSI features
5125 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5127 && eval 'test $(( 1 + 1 )) -eq 2 \
5128 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5131 $as_echo "$xsi_shell" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5135 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5137 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5139 && lt_shell_append=yes
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5141 $as_echo "$lt_shell_append" >&6; }
5144 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5154 # test EBCDIC or ASCII
5155 case `echo X|tr X '\101'` in
5156 A) # ASCII based system
5157 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5158 lt_SP2NL='tr \040 \012'
5159 lt_NL2SP='tr \015\012 \040\040'
5161 *) # EBCDIC based system
5162 lt_SP2NL='tr \100 \n'
5163 lt_NL2SP='tr \r\n \100\100'
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5176 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5177 if ${lt_cv_to_host_file_cmd+:} false; then :
5178 $as_echo_n "(cached
) " >&6
5183 *-*-mingw* ) # actually msys
5184 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5187 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5189 * ) # otherwise, assume *nix
5190 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5196 *-*-mingw* ) # actually msys
5197 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5200 lt_cv_to_host_file_cmd=func_convert_file_noop
5202 * ) # otherwise, assume *nix
5203 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5207 * ) # unhandled hosts (and "normal
" native builds)
5208 lt_cv_to_host_file_cmd=func_convert_file_noop
5214 to_host_file_cmd=$lt_cv_to_host_file_cmd
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5216 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5223 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5224 if ${lt_cv_to_tool_file_cmd+:} false; then :
5225 $as_echo_n "(cached
) " >&6
5227 #assume ordinary cross tools, or native build.
5228 lt_cv_to_tool_file_cmd=func_convert_file_noop
5232 *-*-mingw* ) # actually msys
5233 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5241 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5243 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5250 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5251 if ${lt_cv_ld_reload_flag+:} false; then :
5252 $as_echo_n "(cached
) " >&6
5254 lt_cv_ld_reload_flag='-r'
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5257 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5258 reload_flag=$lt_cv_ld_reload_flag
5259 case $reload_flag in
5261 *) reload_flag=" $reload_flag" ;;
5263 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5265 cygwin* | mingw* | pw32* | cegcc*)
5266 if test "$GCC" != yes; then
5271 if test "$GCC" = yes; then
5272 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5274 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5287 if test -n "$ac_tool_prefix"; then
5288 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5289 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5291 $as_echo_n "checking
for $ac_word...
" >&6; }
5292 if ${ac_cv_prog_OBJDUMP+:} false; then :
5293 $as_echo_n "(cached
) " >&6
5295 if test -n "$OBJDUMP"; then
5296 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 test -z "$as_dir" && as_dir=.
5303 for ac_exec_ext in '' $ac_executable_extensions; do
5304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5305 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5315 OBJDUMP=$ac_cv_prog_OBJDUMP
5316 if test -n "$OBJDUMP"; then
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5318 $as_echo "$OBJDUMP" >&6; }
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5321 $as_echo "no
" >&6; }
5326 if test -z "$ac_cv_prog_OBJDUMP"; then
5327 ac_ct_OBJDUMP=$OBJDUMP
5328 # Extract the first word of "objdump
", so it can be a program name with args.
5329 set dummy objdump; ac_word=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5331 $as_echo_n "checking
for $ac_word...
" >&6; }
5332 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5333 $as_echo_n "(cached
) " >&6
5335 if test -n "$ac_ct_OBJDUMP"; then
5336 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5355 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5356 if test -n "$ac_ct_OBJDUMP"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5358 $as_echo "$ac_ct_OBJDUMP" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5361 $as_echo "no
" >&6; }
5364 if test "x
$ac_ct_OBJDUMP" = x; then
5367 case $cross_compiling:$ac_tool_warned in
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5370 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5371 ac_tool_warned=yes ;;
5373 OBJDUMP=$ac_ct_OBJDUMP
5376 OBJDUMP="$ac_cv_prog_OBJDUMP"
5379 test -z "$OBJDUMP" && OBJDUMP=objdump
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5390 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5391 if ${lt_cv_deplibs_check_method+:} false; then :
5392 $as_echo_n "(cached
) " >&6
5394 lt_cv_file_magic_cmd='$MAGIC_CMD'
5395 lt_cv_file_magic_test_file=
5396 lt_cv_deplibs_check_method='unknown'
5397 # Need to set the preceding variable on all platforms that support
5398 # interlibrary dependencies.
5399 # 'none' -- dependencies not supported.
5400 # `unknown' -- same as none, but documents that we really don't know.
5401 # 'pass_all' -- all dependencies passed with no checks.
5402 # 'test_compile' -- check by making test program.
5403 # 'file_magic [[regex]]' -- check by looking for files in library path
5404 # which responds to the $file_magic_cmd with a given extended regex.
5405 # If you have `file' or equivalent on your system and you're not sure
5406 # whether `pass_all' will *always* work, you probably want this one.
5410 lt_cv_deplibs_check_method=pass_all
5414 lt_cv_deplibs_check_method=pass_all
5418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5419 lt_cv_file_magic_cmd='/usr/bin/file -L'
5420 lt_cv_file_magic_test_file=/shlib/libc.so
5424 # func_win32_libid is a shell function defined in ltmain.sh
5425 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5426 lt_cv_file_magic_cmd='func_win32_libid'
5430 # Base MSYS/MinGW do not provide the 'file' command needed by
5431 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5432 # unless we find 'file', for example because we are cross-compiling.
5433 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5434 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5435 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5436 lt_cv_file_magic_cmd='func_win32_libid'
5438 # Keep this pattern in sync with the one in func_win32_libid.
5439 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5440 lt_cv_file_magic_cmd='$OBJDUMP -f'
5445 # use the weaker test based on 'objdump'. See mingw*.
5446 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5447 lt_cv_file_magic_cmd='$OBJDUMP -f'
5450 darwin* | rhapsody*)
5451 lt_cv_deplibs_check_method=pass_all
5454 freebsd* | dragonfly*)
5455 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5458 # Not sure whether the presence of OpenBSD here was a mistake.
5459 # Let's accept both of them until this is cleared up.
5460 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5461 lt_cv_file_magic_cmd=/usr/bin/file
5462 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5466 lt_cv_deplibs_check_method=pass_all
5471 lt_cv_deplibs_check_method=pass_all
5475 lt_cv_deplibs_check_method=pass_all
5478 hpux10.20* | hpux11*)
5479 lt_cv_file_magic_cmd=/usr/bin/file
5482 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5483 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5486 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]'
5487 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5490 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5491 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5497 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5498 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5501 irix5* | irix6* | nonstopux*)
5503 *-32|*"-32 ") libmagic=32-bit;;
5504 *-n32|*"-n32 ") libmagic=N32;;
5505 *-64|*"-64 ") libmagic=64-bit;;
5506 *) libmagic=never-match;;
5508 lt_cv_deplibs_check_method=pass_all
5511 # This must be glibc/ELF.
5512 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5513 lt_cv_deplibs_check_method=pass_all
5517 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5518 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5520 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5525 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5526 lt_cv_file_magic_cmd=/usr/bin/file
5527 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5531 lt_cv_deplibs_check_method=pass_all
5535 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5536 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5538 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5542 osf3* | osf4* | osf5*)
5543 lt_cv_deplibs_check_method=pass_all
5547 lt_cv_deplibs_check_method=pass_all
5551 lt_cv_deplibs_check_method=pass_all
5554 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5555 lt_cv_deplibs_check_method=pass_all
5559 case $host_vendor in
5561 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]'
5562 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5565 lt_cv_deplibs_check_method=pass_all
5568 lt_cv_file_magic_cmd='/bin/file'
5569 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5572 lt_cv_file_magic_cmd='/bin/file'
5573 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5574 lt_cv_file_magic_test_file=/lib/libc.so
5577 lt_cv_deplibs_check_method=pass_all
5580 lt_cv_deplibs_check_method=pass_all
5586 lt_cv_deplibs_check_method=pass_all
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5592 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5596 if test "$build" = "$host"; then
5599 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5602 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5608 file_magic_cmd=$lt_cv_file_magic_cmd
5609 deplibs_check_method=$lt_cv_deplibs_check_method
5610 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5637 $as_echo_n "checking
for $ac_word...
" >&6; }
5638 if ${ac_cv_prog_DLLTOOL+:} false; then :
5639 $as_echo_n "(cached
) " >&6
5641 if test -n "$DLLTOOL"; then
5642 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5661 DLLTOOL=$ac_cv_prog_DLLTOOL
5662 if test -n "$DLLTOOL"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5664 $as_echo "$DLLTOOL" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5667 $as_echo "no
" >&6; }
5672 if test -z "$ac_cv_prog_DLLTOOL"; then
5673 ac_ct_DLLTOOL=$DLLTOOL
5674 # Extract the first word of "dlltool
", so it can be a program name with args.
5675 set dummy dlltool; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5677 $as_echo_n "checking
for $ac_word...
" >&6; }
5678 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5679 $as_echo_n "(cached
) " >&6
5681 if test -n "$ac_ct_DLLTOOL"; then
5682 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5701 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5702 if test -n "$ac_ct_DLLTOOL"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5704 $as_echo "$ac_ct_DLLTOOL" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5707 $as_echo "no
" >&6; }
5710 if test "x
$ac_ct_DLLTOOL" = x; then
5713 case $cross_compiling:$ac_tool_warned in
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5716 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5717 ac_tool_warned=yes ;;
5719 DLLTOOL=$ac_ct_DLLTOOL
5722 DLLTOOL="$ac_cv_prog_DLLTOOL"
5725 test -z "$DLLTOOL" && DLLTOOL=dlltool
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5737 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5738 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5739 $as_echo_n "(cached
) " >&6
5741 lt_cv_sharedlib_from_linklib_cmd='unknown'
5744 cygwin* | mingw* | pw32* | cegcc*)
5745 # two different shell functions defined in ltmain.sh
5746 # decide which to use based on capabilities of $DLLTOOL
5747 case `$DLLTOOL --help 2>&1` in
5748 *--identify-strict*)
5749 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5752 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5757 # fallback: assume linklib IS sharedlib
5758 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5764 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5765 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5766 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5775 if test -n "$ac_tool_prefix"; then
5778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5781 $as_echo_n "checking
for $ac_word...
" >&6; }
5782 if ${ac_cv_prog_AR+:} false; then :
5783 $as_echo_n "(cached
) " >&6
5785 if test -n "$AR"; then
5786 ac_cv_prog_AR="$AR" # Let the user override the test.
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir=.
5793 for ac_exec_ext in '' $ac_executable_extensions; do
5794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5806 if test -n "$AR"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5808 $as_echo "$AR" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5811 $as_echo "no
" >&6; }
5815 test -n "$AR" && break
5818 if test -z "$AR"; then
5822 # Extract the first word of "$ac_prog", so it can be a program name with args.
5823 set dummy $ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5825 $as_echo_n "checking
for $ac_word...
" >&6; }
5826 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5827 $as_echo_n "(cached
) " >&6
5829 if test -n "$ac_ct_AR"; then
5830 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_ac_ct_AR="$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5849 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5850 if test -n "$ac_ct_AR"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5852 $as_echo "$ac_ct_AR" >&6; }
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5855 $as_echo "no
" >&6; }
5859 test -n "$ac_ct_AR" && break
5862 if test "x
$ac_ct_AR" = x; then
5865 case $cross_compiling:$ac_tool_warned in
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5868 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5869 ac_tool_warned=yes ;;
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5889 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5890 if ${lt_cv_ar_at_file+:} false; then :
5891 $as_echo_n "(cached
) " >&6
5894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5905 if ac_fn_c_try_compile "$LINENO"; then :
5906 echo conftest.$ac_objext > conftest.lst
5907 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5908 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5909 (eval $lt_ar_try) 2>&5
5911 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5912 test $ac_status = 0; }
5913 if test "$ac_status" -eq 0; then
5914 # Ensure the archiver fails upon bogus file names.
5915 rm -f conftest.$ac_objext libconftest.a
5916 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5917 (eval $lt_ar_try) 2>&5
5919 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5920 test $ac_status = 0; }
5921 if test "$ac_status" -ne 0; then
5925 rm -f conftest.* libconftest.a
5928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5932 $as_echo "$lt_cv_ar_at_file" >&6; }
5934 if test "x
$lt_cv_ar_at_file" = xno; then
5937 archiver_list_spec=$lt_cv_ar_at_file
5946 if test -n "$ac_tool_prefix"; then
5947 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5948 set dummy ${ac_tool_prefix}strip; ac_word=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5950 $as_echo_n "checking
for $ac_word...
" >&6; }
5951 if ${ac_cv_prog_STRIP+:} false; then :
5952 $as_echo_n "(cached
) " >&6
5954 if test -n "$STRIP"; then
5955 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 test -z "$as_dir" && as_dir=.
5962 for ac_exec_ext in '' $ac_executable_extensions; do
5963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5964 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5974 STRIP=$ac_cv_prog_STRIP
5975 if test -n "$STRIP"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5977 $as_echo "$STRIP" >&6; }
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5980 $as_echo "no
" >&6; }
5985 if test -z "$ac_cv_prog_STRIP"; then
5987 # Extract the first word of "strip
", so it can be a program name with args.
5988 set dummy strip; ac_word=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5990 $as_echo_n "checking
for $ac_word...
" >&6; }
5991 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5992 $as_echo_n "(cached
) " >&6
5994 if test -n "$ac_ct_STRIP"; then
5995 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir=.
6002 for ac_exec_ext in '' $ac_executable_extensions; do
6003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_ac_ct_STRIP="strip
"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6014 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6015 if test -n "$ac_ct_STRIP"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6017 $as_echo "$ac_ct_STRIP" >&6; }
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6020 $as_echo "no
" >&6; }
6023 if test "x
$ac_ct_STRIP" = x; then
6026 case $cross_compiling:$ac_tool_warned in
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6029 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6030 ac_tool_warned=yes ;;
6035 STRIP="$ac_cv_prog_STRIP"
6038 test -z "$STRIP" && STRIP=:
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6049 $as_echo_n "checking
for $ac_word...
" >&6; }
6050 if ${ac_cv_prog_RANLIB+:} false; then :
6051 $as_echo_n "(cached
) " >&6
6053 if test -n "$RANLIB"; then
6054 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6063 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6073 RANLIB=$ac_cv_prog_RANLIB
6074 if test -n "$RANLIB"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6076 $as_echo "$RANLIB" >&6; }
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6079 $as_echo "no
" >&6; }
6084 if test -z "$ac_cv_prog_RANLIB"; then
6085 ac_ct_RANLIB=$RANLIB
6086 # Extract the first word of "ranlib
", so it can be a program name with args.
6087 set dummy ranlib; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6089 $as_echo_n "checking
for $ac_word...
" >&6; }
6090 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6091 $as_echo_n "(cached
) " >&6
6093 if test -n "$ac_ct_RANLIB"; then
6094 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6103 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6113 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6114 if test -n "$ac_ct_RANLIB"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6116 $as_echo "$ac_ct_RANLIB" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6119 $as_echo "no
" >&6; }
6122 if test "x
$ac_ct_RANLIB" = x; then
6125 case $cross_compiling:$ac_tool_warned in
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6128 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6129 ac_tool_warned=yes ;;
6131 RANLIB=$ac_ct_RANLIB
6134 RANLIB="$ac_cv_prog_RANLIB"
6137 test -z "$RANLIB" && RANLIB=:
6144 # Determine commands to create old-style static archives.
6145 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6146 old_postinstall_cmds='chmod 644 $oldlib'
6147 old_postuninstall_cmds=
6149 if test -n "$RANLIB"; then
6152 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6155 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6158 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6163 lock_old_archive_extraction=yes ;;
6165 lock_old_archive_extraction=no ;;
6206 # If no C compiler was specified, use CC.
6209 # If no C compiler flags were specified, use CFLAGS.
6210 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6212 # Allow CC to be a program name with arguments.
6216 # Check for command to grab the raw symbol name followed by C symbol from nm.
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6218 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6219 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6220 $as_echo_n "(cached
) " >&6
6223 # These are sane defaults that work on at least a few old systems.
6224 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6226 # Character class describing NM global symbol codes.
6227 symcode='[BCDEGRST]'
6229 # Regexp to match symbols that can be accessed directly from C.
6230 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6232 # Define system-specific variables.
6237 cygwin* | mingw* | pw32* | cegcc*)
6238 symcode='[ABCDGISTW]'
6241 if test "$host_cpu" = ia64; then
6242 symcode='[ABCDEGRST]'
6246 symcode='[BCDEGRST]'
6249 symcode='[BCDEGQRST]'
6260 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6268 # If we're using GNU nm, then use its standard symbol codes.
6269 case `$NM -V 2>&1` in
6270 *GNU* | *'with BFD'*)
6271 symcode='[ABCDGIRSTW]' ;;
6274 # Transform an extracted symbol line into a proper C declaration.
6275 # Some systems (esp. on ia64) link data and code symbols differently,
6276 # so use this general approach.
6277 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6279 # Transform an extracted symbol line into symbol name and symbol address
6280 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6281 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'"
6283 # Handle CRLF in mingw tool chain
6287 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6291 # Try without a prefix underscore, then with it.
6292 for ac_symprfx in "" "_
"; do
6294 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6295 symxfrm="\\1 $ac_symprfx\\2 \\2"
6297 # Write the raw and C identifiers.
6298 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6299 # Fake it for dumpbin and say T for any non-static function
6300 # and D for any global variable.
6301 # Also find C++ and __fastcall symbols from MSVC++,
6302 # which start with @ or ?.
6303 lt_cv_sys_global_symbol_pipe="$AWK '"\
6304 " {last_section=section; section=\$ 3};"\
6305 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6306 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6307 " \$ 0!~/External *\|/{next};"\
6308 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6309 " {if(hide[section]) next};"\
6310 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6311 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6312 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6313 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6314 " ' prfx
=^
$ac_symprfx"
6316 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6318 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6320 # Check to see that the pipe works correctly.
6324 cat > conftest.$ac_ext <<_LT_EOF
6329 void nm_test_func(void);
6330 void nm_test_func(void){}
6334 int main(){nm_test_var='a';nm_test_func();return(0);}
6337 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6338 (eval $ac_compile) 2>&5
6340 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6341 test $ac_status = 0; }; then
6342 # Now try to grab the symbols.
6344 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6345 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6347 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6348 test $ac_status = 0; } && test -s "$nlist"; then
6349 # Try sorting and uniquifying the output.
6350 if sort "$nlist" | uniq > "$nlist"T; then
6351 mv -f "$nlist"T "$nlist"
6356 # Make sure that we snagged all the symbols we need.
6357 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6358 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6359 cat <<_LT_EOF > conftest.$ac_ext
6360 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6361 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6362 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6363 relocations are performed -- see ld's documentation on pseudo-relocs. */
6364 # define LT_DLSYM_CONST
6365 #elif defined(__osf__)
6366 /* This system does not cope well with relocations in const data. */
6367 # define LT_DLSYM_CONST
6369 # define LT_DLSYM_CONST const
6377 # Now generate the symbol file.
6378 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6380 cat <<_LT_EOF >> conftest.$ac_ext
6382 /* The mapping between symbol names and symbols. */
6383 LT_DLSYM_CONST struct {
6387 lt__PROGRAM__LTX_preloaded_symbols[] =
6389 { "@PROGRAM@
", (void *) 0 },
6391 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6392 cat <<\_LT_EOF >> conftest.$ac_ext
6396 /* This works around a problem in FreeBSD linker */
6397 #ifdef FREEBSD_WORKAROUND
6398 static const void *lt_preloaded_setup() {
6399 return lt__PROGRAM__LTX_preloaded_symbols;
6407 # Now try linking the two files.
6408 mv conftest.$ac_objext conftstm.$ac_objext
6409 lt_globsym_save_LIBS=$LIBS
6410 lt_globsym_save_CFLAGS=$CFLAGS
6411 LIBS="conftstm.
$ac_objext"
6412 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6413 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6414 (eval $ac_link) 2>&5
6416 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6417 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6420 LIBS=$lt_globsym_save_LIBS
6421 CFLAGS=$lt_globsym_save_CFLAGS
6423 echo "cannot
find nm_test_func
in $nlist" >&5
6426 echo "cannot
find nm_test_var
in $nlist" >&5
6429 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6432 echo "$progname: failed program was
:" >&5
6433 cat conftest.$ac_ext >&5
6435 rm -rf conftest* conftst*
6437 # Do not use the global_symbol_pipe unless it works.
6438 if test "$pipe_works" = yes; then
6441 lt_cv_sys_global_symbol_pipe=
6447 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6448 lt_cv_sys_global_symbol_to_cdecl=
6450 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6452 $as_echo "failed
" >&6; }
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6455 $as_echo "ok
" >&6; }
6458 # Response file support.
6459 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6460 nm_file_list_spec='@'
6461 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6462 nm_file_list_spec='@'
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6492 $as_echo_n "checking
for sysroot...
" >&6; }
6494 # Check whether --with-sysroot was given.
6495 if test "${with_sysroot+set}" = set; then :
6496 withval=$with_sysroot;
6503 case ${with_sysroot} in #(
6505 if test "$GCC" = yes; then
6506 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6510 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6516 $as_echo "${with_sysroot}" >&6; }
6517 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6522 $as_echo "${lt_sysroot:-no}" >&6; }
6528 # Check whether --enable-libtool-lock was given.
6529 if test "${enable_libtool_lock+set}" = set; then :
6530 enableval=$enable_libtool_lock;
6533 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6535 # Some flags need to be propagated to the compiler or linker for good
6539 # Find out which ABI we are using.
6540 echo 'int i;' > conftest.$ac_ext
6541 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6542 (eval $ac_compile) 2>&5
6544 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6545 test $ac_status = 0; }; then
6546 case `/usr/bin/file conftest.$ac_objext` in
6558 # Find out which ABI we are using.
6559 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6560 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6561 (eval $ac_compile) 2>&5
6563 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6564 test $ac_status = 0; }; then
6565 if test "$lt_cv_prog_gnu_ld" = yes; then
6566 case `/usr/bin/file conftest.$ac_objext` in
6568 LD="${LD-ld} -melf32bsmip"
6571 LD="${LD-ld} -melf32bmipn32"
6574 LD="${LD-ld} -melf64bmip"
6578 case `/usr/bin/file conftest.$ac_objext` in
6594 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6595 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6596 # Find out which ABI we are using.
6597 echo 'int i;' > conftest.$ac_ext
6598 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6599 (eval $ac_compile) 2>&5
6601 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6602 test $ac_status = 0; }; then
6603 case `/usr/bin/file conftest.o` in
6606 x86_64-*kfreebsd*-gnu)
6607 LD="${LD-ld} -m elf_i386_fbsd
"
6610 LD="${LD-ld} -m elf_i386
"
6612 powerpc64le-*linux*)
6613 LD="${LD-ld} -m elf32lppclinux
"
6616 LD="${LD-ld} -m elf32ppclinux
"
6619 LD="${LD-ld} -m elf_s390
"
6622 LD="${LD-ld} -m elf32_sparc
"
6628 x86_64-*kfreebsd*-gnu)
6629 LD="${LD-ld} -m elf_x86_64_fbsd
"
6632 LD="${LD-ld} -m elf_x86_64
"
6635 LD="${LD-ld} -m elf64lppc
"
6638 LD="${LD-ld} -m elf64ppc
"
6640 s390*-*linux*|s390*-*tpf*)
6641 LD="${LD-ld} -m elf64_s390
"
6644 LD="${LD-ld} -m elf64_sparc
"
6654 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6655 SAVE_CFLAGS="$CFLAGS"
6656 CFLAGS="$CFLAGS -belf"
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6658 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6659 if ${lt_cv_cc_needs_belf+:} false; then :
6660 $as_echo_n "(cached
) " >&6
6663 ac_cpp='$CPP $CPPFLAGS'
6664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6679 if ac_fn_c_try_link "$LINENO"; then :
6680 lt_cv_cc_needs_belf=yes
6682 lt_cv_cc_needs_belf=no
6684 rm -f core conftest.err conftest.$ac_objext \
6685 conftest$ac_exeext conftest.$ac_ext
6687 ac_cpp='$CPP $CPPFLAGS'
6688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6694 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6695 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6696 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6697 CFLAGS="$SAVE_CFLAGS"
6701 # Find out which ABI we are using.
6702 echo 'int i;' > conftest.$ac_ext
6703 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6704 (eval $ac_compile) 2>&5
6706 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6707 test $ac_status = 0; }; then
6708 case `/usr/bin/file conftest.o` in
6710 case $lt_cv_prog_gnu_ld in
6714 LD="${LD-ld} -m elf_x86_64
"
6717 LD="${LD-ld} -m elf64_sparc
"
6720 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6721 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6726 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6738 need_locks="$enable_libtool_lock"
6740 if test -n "$ac_tool_prefix"; then
6741 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6742 set dummy ${ac_tool_prefix}mt; ac_word=$2
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6744 $as_echo_n "checking
for $ac_word...
" >&6; }
6745 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6746 $as_echo_n "(cached
) " >&6
6748 if test -n "$MANIFEST_TOOL"; then
6749 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 test -z "$as_dir" && as_dir=.
6756 for ac_exec_ext in '' $ac_executable_extensions; do
6757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6758 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6768 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6769 if test -n "$MANIFEST_TOOL"; then
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6771 $as_echo "$MANIFEST_TOOL" >&6; }
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6774 $as_echo "no
" >&6; }
6779 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6780 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6781 # Extract the first word of "mt
", so it can be a program name with args.
6782 set dummy mt; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6784 $as_echo_n "checking
for $ac_word...
" >&6; }
6785 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6786 $as_echo_n "(cached
) " >&6
6788 if test -n "$ac_ct_MANIFEST_TOOL"; then
6789 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6808 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6809 if test -n "$ac_ct_MANIFEST_TOOL"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6811 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6814 $as_echo "no
" >&6; }
6817 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6820 case $cross_compiling:$ac_tool_warned in
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6823 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6824 ac_tool_warned=yes ;;
6826 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6829 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6832 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6834 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6835 if ${lt_cv_path_mainfest_tool+:} false; then :
6836 $as_echo_n "(cached
) " >&6
6838 lt_cv_path_mainfest_tool=no
6839 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6840 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6841 cat conftest.err >&5
6842 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6843 lt_cv_path_mainfest_tool=yes
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6848 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6849 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6859 rhapsody* | darwin*)
6860 if test -n "$ac_tool_prefix"; then
6861 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6862 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6864 $as_echo_n "checking
for $ac_word...
" >&6; }
6865 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6866 $as_echo_n "(cached
) " >&6
6868 if test -n "$DSYMUTIL"; then
6869 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6878 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6888 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6889 if test -n "$DSYMUTIL"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6891 $as_echo "$DSYMUTIL" >&6; }
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6894 $as_echo "no
" >&6; }
6899 if test -z "$ac_cv_prog_DSYMUTIL"; then
6900 ac_ct_DSYMUTIL=$DSYMUTIL
6901 # Extract the first word of "dsymutil
", so it can be a program name with args.
6902 set dummy dsymutil; ac_word=$2
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6904 $as_echo_n "checking
for $ac_word...
" >&6; }
6905 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6906 $as_echo_n "(cached
) " >&6
6908 if test -n "$ac_ct_DSYMUTIL"; then
6909 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 test -z "$as_dir" && as_dir=.
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6918 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6928 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6929 if test -n "$ac_ct_DSYMUTIL"; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6931 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6934 $as_echo "no
" >&6; }
6937 if test "x
$ac_ct_DSYMUTIL" = x; then
6940 case $cross_compiling:$ac_tool_warned in
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6943 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6944 ac_tool_warned=yes ;;
6946 DSYMUTIL=$ac_ct_DSYMUTIL
6949 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6952 if test -n "$ac_tool_prefix"; then
6953 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6954 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6956 $as_echo_n "checking
for $ac_word...
" >&6; }
6957 if ${ac_cv_prog_NMEDIT+:} false; then :
6958 $as_echo_n "(cached
) " >&6
6960 if test -n "$NMEDIT"; then
6961 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir=.
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6980 NMEDIT=$ac_cv_prog_NMEDIT
6981 if test -n "$NMEDIT"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6983 $as_echo "$NMEDIT" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6986 $as_echo "no
" >&6; }
6991 if test -z "$ac_cv_prog_NMEDIT"; then
6992 ac_ct_NMEDIT=$NMEDIT
6993 # Extract the first word of "nmedit
", so it can be a program name with args.
6994 set dummy nmedit; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6996 $as_echo_n "checking
for $ac_word...
" >&6; }
6997 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6998 $as_echo_n "(cached
) " >&6
7000 if test -n "$ac_ct_NMEDIT"; then
7001 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7010 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7020 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7021 if test -n "$ac_ct_NMEDIT"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7023 $as_echo "$ac_ct_NMEDIT" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7026 $as_echo "no
" >&6; }
7029 if test "x
$ac_ct_NMEDIT" = x; then
7032 case $cross_compiling:$ac_tool_warned in
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7035 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7036 ac_tool_warned=yes ;;
7038 NMEDIT=$ac_ct_NMEDIT
7041 NMEDIT="$ac_cv_prog_NMEDIT"
7044 if test -n "$ac_tool_prefix"; then
7045 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7046 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7048 $as_echo_n "checking
for $ac_word...
" >&6; }
7049 if ${ac_cv_prog_LIPO+:} false; then :
7050 $as_echo_n "(cached
) " >&6
7052 if test -n "$LIPO"; then
7053 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir=.
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7072 LIPO=$ac_cv_prog_LIPO
7073 if test -n "$LIPO"; then
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7075 $as_echo "$LIPO" >&6; }
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7078 $as_echo "no
" >&6; }
7083 if test -z "$ac_cv_prog_LIPO"; then
7085 # Extract the first word of "lipo
", so it can be a program name with args.
7086 set dummy lipo; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7088 $as_echo_n "checking
for $ac_word...
" >&6; }
7089 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7090 $as_echo_n "(cached
) " >&6
7092 if test -n "$ac_ct_LIPO"; then
7093 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102 ac_cv_prog_ac_ct_LIPO="lipo
"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7112 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7113 if test -n "$ac_ct_LIPO"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7115 $as_echo "$ac_ct_LIPO" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7118 $as_echo "no
" >&6; }
7121 if test "x
$ac_ct_LIPO" = x; then
7124 case $cross_compiling:$ac_tool_warned in
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7127 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7128 ac_tool_warned=yes ;;
7133 LIPO="$ac_cv_prog_LIPO"
7136 if test -n "$ac_tool_prefix"; then
7137 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7138 set dummy ${ac_tool_prefix}otool; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7140 $as_echo_n "checking
for $ac_word...
" >&6; }
7141 if ${ac_cv_prog_OTOOL+:} false; then :
7142 $as_echo_n "(cached
) " >&6
7144 if test -n "$OTOOL"; then
7145 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7164 OTOOL=$ac_cv_prog_OTOOL
7165 if test -n "$OTOOL"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7167 $as_echo "$OTOOL" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7170 $as_echo "no
" >&6; }
7175 if test -z "$ac_cv_prog_OTOOL"; then
7177 # Extract the first word of "otool
", so it can be a program name with args.
7178 set dummy otool; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7180 $as_echo_n "checking
for $ac_word...
" >&6; }
7181 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7182 $as_echo_n "(cached
) " >&6
7184 if test -n "$ac_ct_OTOOL"; then
7185 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194 ac_cv_prog_ac_ct_OTOOL="otool
"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7204 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7205 if test -n "$ac_ct_OTOOL"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7207 $as_echo "$ac_ct_OTOOL" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7210 $as_echo "no
" >&6; }
7213 if test "x
$ac_ct_OTOOL" = x; then
7216 case $cross_compiling:$ac_tool_warned in
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7219 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7220 ac_tool_warned=yes ;;
7225 OTOOL="$ac_cv_prog_OTOOL"
7228 if test -n "$ac_tool_prefix"; then
7229 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7230 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7232 $as_echo_n "checking
for $ac_word...
" >&6; }
7233 if ${ac_cv_prog_OTOOL64+:} false; then :
7234 $as_echo_n "(cached
) " >&6
7236 if test -n "$OTOOL64"; then
7237 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7256 OTOOL64=$ac_cv_prog_OTOOL64
7257 if test -n "$OTOOL64"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7259 $as_echo "$OTOOL64" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7262 $as_echo "no
" >&6; }
7267 if test -z "$ac_cv_prog_OTOOL64"; then
7268 ac_ct_OTOOL64=$OTOOL64
7269 # Extract the first word of "otool64
", so it can be a program name with args.
7270 set dummy otool64; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7272 $as_echo_n "checking
for $ac_word...
" >&6; }
7273 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7274 $as_echo_n "(cached
) " >&6
7276 if test -n "$ac_ct_OTOOL64"; then
7277 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7296 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7297 if test -n "$ac_ct_OTOOL64"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7299 $as_echo "$ac_ct_OTOOL64" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7302 $as_echo "no
" >&6; }
7305 if test "x
$ac_ct_OTOOL64" = x; then
7308 case $cross_compiling:$ac_tool_warned in
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7311 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7312 ac_tool_warned=yes ;;
7314 OTOOL64=$ac_ct_OTOOL64
7317 OTOOL64="$ac_cv_prog_OTOOL64"
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7347 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7348 if ${lt_cv_apple_cc_single_mod+:} false; then :
7349 $as_echo_n "(cached
) " >&6
7351 lt_cv_apple_cc_single_mod=no
7352 if test -z "${LT_MULTI_MODULE}"; then
7353 # By default we will add the -single_module flag. You can override
7354 # by either setting the environment variable LT_MULTI_MODULE
7355 # non-empty at configure time, or by adding -multi_module to the
7357 rm -rf libconftest.dylib*
7358 echo "int foo
(void
){return 1;}" > conftest.c
7359 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7360 -dynamiclib -Wl,-single_module conftest.c
" >&5
7361 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7362 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7364 # If there is a non-empty error log, and "single_module
"
7365 # appears in it, assume the flag caused a linker warning
7366 if test -s conftest.err && $GREP single_module conftest.err; then
7367 cat conftest.err >&5
7368 # Otherwise, if the output was created with a 0 exit code from
7369 # the compiler, it worked.
7370 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7371 lt_cv_apple_cc_single_mod=yes
7373 cat conftest.err >&5
7375 rm -rf libconftest.dylib*
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7380 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7383 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7384 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7385 $as_echo_n "(cached
) " >&6
7387 lt_cv_ld_exported_symbols_list=no
7388 save_LDFLAGS=$LDFLAGS
7389 echo "_main
" > conftest.sym
7390 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7392 /* end confdefs.h. */
7402 if ac_fn_c_try_link "$LINENO"; then :
7403 lt_cv_ld_exported_symbols_list=yes
7405 lt_cv_ld_exported_symbols_list=no
7407 rm -f core conftest.err conftest.$ac_objext \
7408 conftest$ac_exeext conftest.$ac_ext
7409 LDFLAGS="$save_LDFLAGS"
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7413 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7416 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7417 if ${lt_cv_ld_force_load+:} false; then :
7418 $as_echo_n "(cached
) " >&6
7420 lt_cv_ld_force_load=no
7421 cat > conftest.c << _LT_EOF
7422 int forced_loaded() { return 2;}
7424 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7425 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7426 echo "$AR cru libconftest.a conftest.o
" >&5
7427 $AR cru libconftest.a conftest.o 2>&5
7428 echo "$RANLIB libconftest.a
" >&5
7429 $RANLIB libconftest.a 2>&5
7430 cat > conftest.c << _LT_EOF
7431 int main() { return 0;}
7433 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7434 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7436 if test -s conftest.err && $GREP force_load conftest.err; then
7437 cat conftest.err >&5
7438 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7439 lt_cv_ld_force_load=yes
7441 cat conftest.err >&5
7443 rm -f conftest.err libconftest.a conftest conftest.c
7444 rm -rf conftest.dSYM
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7448 $as_echo "$lt_cv_ld_force_load" >&6; }
7450 rhapsody* | darwin1.[012])
7451 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7453 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7454 darwin*) # darwin 5.x on
7455 # if running on 10.5 or later, the deployment target defaults
7456 # to the OS version, if on x86, and 10.4, the deployment
7457 # target defaults to 10.4. Don't you love it?
7458 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7459 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7460 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7462 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7464 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7468 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7469 _lt_dar_single_mod='$single_module'
7471 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7472 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7474 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7476 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7477 _lt_dsymutil='~$DSYMUTIL $lib || :'
7485 ac_cpp='$CPP $CPPFLAGS'
7486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7490 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7491 # On Suns, sometimes $CPP names a directory.
7492 if test -n "$CPP" && test -d "$CPP"; then
7495 if test -z "$CPP"; then
7496 if ${ac_cv_prog_CPP+:} false; then :
7497 $as_echo_n "(cached
) " >&6
7499 # Double quotes because CPP needs to be expanded
7500 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7503 for ac_c_preproc_warn_flag in '' yes
7505 # Use a header file that comes with gcc, so configuring glibc
7506 # with a fresh cross-compiler works.
7507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7508 # <limits.h> exists even on freestanding compilers.
7509 # On the NeXT, cc -E runs the code through the compiler's parser,
7510 # not just through cpp. "Syntax error
" is here to catch this case.
7511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512 /* end confdefs.h. */
7514 # include <limits.h>
7516 # include <assert.h>
7520 if ac_fn_c_try_cpp "$LINENO"; then :
7523 # Broken: fails on valid input.
7526 rm -f conftest.err conftest.i conftest.$ac_ext
7528 # OK, works on sane cases. Now check whether nonexistent headers
7529 # can be detected and how.
7530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7532 #include <ac_nonexistent.h>
7534 if ac_fn_c_try_cpp "$LINENO"; then :
7535 # Broken: success on invalid input.
7538 # Passes both tests.
7542 rm -f conftest.err conftest.i conftest.$ac_ext
7545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7546 rm -f conftest.i conftest.err conftest.$ac_ext
7547 if $ac_preproc_ok; then :
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7560 $as_echo "$CPP" >&6; }
7562 for ac_c_preproc_warn_flag in '' yes
7564 # Use a header file that comes with gcc, so configuring glibc
7565 # with a fresh cross-compiler works.
7566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7567 # <limits.h> exists even on freestanding compilers.
7568 # On the NeXT, cc -E runs the code through the compiler's parser,
7569 # not just through cpp. "Syntax error
" is here to catch this case.
7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7573 # include <limits.h>
7575 # include <assert.h>
7579 if ac_fn_c_try_cpp "$LINENO"; then :
7582 # Broken: fails on valid input.
7585 rm -f conftest.err conftest.i conftest.$ac_ext
7587 # OK, works on sane cases. Now check whether nonexistent headers
7588 # can be detected and how.
7589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7590 /* end confdefs.h. */
7591 #include <ac_nonexistent.h>
7593 if ac_fn_c_try_cpp "$LINENO"; then :
7594 # Broken: success on invalid input.
7597 # Passes both tests.
7601 rm -f conftest.err conftest.i conftest.$ac_ext
7604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7605 rm -f conftest.i conftest.err conftest.$ac_ext
7606 if $ac_preproc_ok; then :
7609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7611 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7612 See \`config.log' for more details
" "$LINENO" 5; }
7616 ac_cpp='$CPP $CPPFLAGS'
7617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7623 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7624 if ${ac_cv_header_stdc+:} false; then :
7625 $as_echo_n "(cached
) " >&6
7627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7642 if ac_fn_c_try_compile "$LINENO"; then :
7643 ac_cv_header_stdc=yes
7645 ac_cv_header_stdc=no
7647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7649 if test $ac_cv_header_stdc = yes; then
7650 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7656 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7657 $EGREP "memchr
" >/dev/null 2>&1; then :
7660 ac_cv_header_stdc=no
7666 if test $ac_cv_header_stdc = yes; then
7667 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669 /* end confdefs.h. */
7673 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7674 $EGREP "free
" >/dev/null 2>&1; then :
7677 ac_cv_header_stdc=no
7683 if test $ac_cv_header_stdc = yes; then
7684 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7685 if test "$cross_compiling" = yes; then :
7688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7689 /* end confdefs.h. */
7692 #if ((' ' & 0x0FF) == 0x020)
7693 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7694 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7696 # define ISLOWER(c) \
7697 (('a' <= (c) && (c) <= 'i') \
7698 || ('j' <= (c) && (c) <= 'r') \
7699 || ('s' <= (c) && (c) <= 'z'))
7700 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7703 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7708 for (i = 0; i < 256; i++)
7709 if (XOR (islower (i), ISLOWER (i))
7710 || toupper (i) != TOUPPER (i))
7715 if ac_fn_c_try_run "$LINENO"; then :
7718 ac_cv_header_stdc=no
7720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7721 conftest.$ac_objext conftest.beam conftest.$ac_ext
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7727 $as_echo "$ac_cv_header_stdc" >&6; }
7728 if test $ac_cv_header_stdc = yes; then
7730 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7734 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7735 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7736 inttypes.h stdint.h unistd.h
7738 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7739 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7741 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7742 cat >>confdefs.h
<<_ACEOF
7743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751 for ac_header
in dlfcn.h
7753 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7755 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7756 cat >>confdefs.h
<<_ACEOF
7757 #define HAVE_DLFCN_H 1
7769 # Check whether --enable-shared was given.
7770 if test "${enable_shared+set}" = set; then :
7771 enableval
=$enable_shared; p
=${PACKAGE-default}
7773 yes) enable_shared
=yes ;;
7774 no
) enable_shared
=no
;;
7777 # Look at the argument we got. We use all the common list separators.
7778 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7779 for pkg
in $enableval; do
7781 if test "X$pkg" = "X$p"; then
7798 # Check whether --enable-static was given.
7799 if test "${enable_static+set}" = set; then :
7800 enableval
=$enable_static; p
=${PACKAGE-default}
7802 yes) enable_static
=yes ;;
7803 no
) enable_static
=no
;;
7806 # Look at the argument we got. We use all the common list separators.
7807 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7808 for pkg
in $enableval; do
7810 if test "X$pkg" = "X$p"; then
7839 # Check whether --with-pic was given.
7840 if test "${with_pic+set}" = set; then :
7841 withval
=$with_pic; lt_p
=${PACKAGE-default}
7843 yes|no
) pic_mode
=$withval ;;
7846 # Look at the argument we got. We use all the common list separators.
7847 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7848 for lt_pkg
in $withval; do
7850 if test "X$lt_pkg" = "X$lt_p"; then
7862 test -z "$pic_mode" && pic_mode
=default
7870 # Check whether --enable-fast-install was given.
7871 if test "${enable_fast_install+set}" = set; then :
7872 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7874 yes) enable_fast_install
=yes ;;
7875 no
) enable_fast_install
=no
;;
7877 enable_fast_install
=no
7878 # Look at the argument we got. We use all the common list separators.
7879 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7880 for pkg
in $enableval; do
7882 if test "X$pkg" = "X$p"; then
7883 enable_fast_install
=yes
7890 enable_fast_install
=yes
7903 # This can be used to rebuild libtool when needed
7904 LIBTOOL_DEPS
="$ltmain"
7906 # Always use our own libtool.
7907 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7938 test -z "$LN_S" && LN_S
="ln -s"
7953 if test -n "${ZSH_VERSION+set}" ; then
7954 setopt NO_GLOB_SUBST
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7958 $as_echo_n "checking for objdir... " >&6; }
7959 if ${lt_cv_objdir+:} false
; then :
7960 $as_echo_n "(cached) " >&6
7962 rm -f .libs
2>/dev
/null
7963 mkdir .libs
2>/dev
/null
7964 if test -d .libs
; then
7967 # MS-DOS does not allow filenames that begin with a dot.
7970 rmdir .libs
2>/dev
/null
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7973 $as_echo "$lt_cv_objdir" >&6; }
7974 objdir
=$lt_cv_objdir
7980 cat >>confdefs.h
<<_ACEOF
7981 #define LT_OBJDIR "$lt_cv_objdir/"
7989 # AIX sometimes has problems with the GCC collect2 program. For some
7990 # reason, if we set the COLLECT_NAMES environment variable, the problems
7991 # vanish in a puff of smoke.
7992 if test "X${COLLECT_NAMES+set}" != Xset
; then
7994 export COLLECT_NAMES
8001 can_build_shared
=yes
8003 # All known linkers require a `.a' archive for static linking (except MSVC,
8004 # which needs '.lib').
8007 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8010 old_CFLAGS
="$CFLAGS"
8012 # Set sane defaults for various variables
8013 test -z "$CC" && CC
=cc
8014 test -z "$LTCC" && LTCC
=$CC
8015 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8016 test -z "$LD" && LD
=ld
8017 test -z "$ac_objext" && ac_objext
=o
8019 for cc_temp
in $compiler""; do
8021 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8022 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8027 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8030 # Only perform the check for file, if the check method requires it
8031 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8032 case $deplibs_check_method in
8034 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8036 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8037 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8038 $as_echo_n "(cached) " >&6
8042 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8045 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8046 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8047 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8048 for ac_dir
in $ac_dummy; do
8050 test -z "$ac_dir" && ac_dir
=.
8051 if test -f $ac_dir/${ac_tool_prefix}file; then
8052 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8053 if test -n "$file_magic_test_file"; then
8054 case $deplibs_check_method in
8056 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8057 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8058 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8059 $EGREP "$file_magic_regex" > /dev
/null
; then
8064 *** Warning: the command libtool uses to detect shared libraries,
8065 *** $file_magic_cmd, produces output that libtool cannot recognize.
8066 *** The result is that libtool may fail to recognize shared libraries
8067 *** as such. This will affect the creation of libtool libraries that
8068 *** depend on shared libraries, but programs linked with such libtool
8069 *** libraries will work regardless of this problem. Nevertheless, you
8070 *** may want to report the problem to your system manager and/or to
8071 *** bug-libtool@gnu.org
8081 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8086 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8087 if test -n "$MAGIC_CMD"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8089 $as_echo "$MAGIC_CMD" >&6; }
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092 $as_echo "no" >&6; }
8099 if test -z "$lt_cv_path_MAGIC_CMD"; then
8100 if test -n "$ac_tool_prefix"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8102 $as_echo_n "checking for file... " >&6; }
8103 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8104 $as_echo_n "(cached) " >&6
8108 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8111 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8112 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8113 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8114 for ac_dir
in $ac_dummy; do
8116 test -z "$ac_dir" && ac_dir
=.
8117 if test -f $ac_dir/file; then
8118 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8119 if test -n "$file_magic_test_file"; then
8120 case $deplibs_check_method in
8122 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8123 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8124 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8125 $EGREP "$file_magic_regex" > /dev
/null
; then
8130 *** Warning: the command libtool uses to detect shared libraries,
8131 *** $file_magic_cmd, produces output that libtool cannot recognize.
8132 *** The result is that libtool may fail to recognize shared libraries
8133 *** as such. This will affect the creation of libtool libraries that
8134 *** depend on shared libraries, but programs linked with such libtool
8135 *** libraries will work regardless of this problem. Nevertheless, you
8136 *** may want to report the problem to your system manager and/or to
8137 *** bug-libtool@gnu.org
8147 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8152 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8153 if test -n "$MAGIC_CMD"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8155 $as_echo "$MAGIC_CMD" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158 $as_echo "no" >&6; }
8171 # Use C for the default configuration in the libtool script
8175 ac_cpp
='$CPP $CPPFLAGS'
8176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8181 # Source file extension for C test sources.
8184 # Object file extension for compiled C test sources.
8188 # Code to be used in simple compile tests
8189 lt_simple_compile_test_code
="int some_variable = 0;"
8191 # Code to be used in simple link tests
8192 lt_simple_link_test_code
='int main(){return(0);}'
8200 # If no C compiler was specified, use CC.
8203 # If no C compiler flags were specified, use CFLAGS.
8204 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8206 # Allow CC to be a program name with arguments.
8209 # Save the default compiler, since it gets overwritten when the other
8210 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8211 compiler_DEFAULT
=$CC
8213 # save warnings/boilerplate of simple test code
8214 ac_outfile
=conftest.
$ac_objext
8215 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8216 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8217 _lt_compiler_boilerplate
=`cat conftest.err`
8220 ac_outfile
=conftest.
$ac_objext
8221 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8222 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8223 _lt_linker_boilerplate
=`cat conftest.err`
8228 ## There is no encapsulation within the following macros, do not change
8229 ## the running order or otherwise move them around unless you know exactly
8230 ## what you are doing...
8231 if test -n "$compiler"; then
8233 lt_prog_compiler_no_builtin_flag
=
8235 if test "$GCC" = yes; then
8236 case $cc_basename in
8238 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8240 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8244 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8245 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8246 $as_echo_n "(cached) " >&6
8248 lt_cv_prog_compiler_rtti_exceptions
=no
8249 ac_outfile
=conftest.
$ac_objext
8250 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8251 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8252 # Insert the option either (1) after the last *FLAGS variable, or
8253 # (2) before a word containing "conftest.", or (3) at the end.
8254 # Note that $ac_compile itself does not contain backslashes and begins
8255 # with a dollar sign (not a hyphen), so the echo should work correctly.
8256 # The option is referenced via a variable to avoid confusing sed.
8257 lt_compile
=`echo "$ac_compile" | $SED \
8258 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8260 -e 's:$: $lt_compiler_flag:'`
8261 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8262 (eval "$lt_compile" 2>conftest.err
)
8264 cat conftest.err
>&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 if (exit $ac_status) && test -s "$ac_outfile"; then
8267 # The compiler can only warn and ignore the option if not recognized
8268 # So say no if there are warnings other than the usual output.
8269 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8270 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8271 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8272 lt_cv_prog_compiler_rtti_exceptions
=yes
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8279 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8281 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8282 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8294 lt_prog_compiler_wl
=
8295 lt_prog_compiler_pic
=
8296 lt_prog_compiler_static
=
8299 if test "$GCC" = yes; then
8300 lt_prog_compiler_wl
='-Wl,'
8301 lt_prog_compiler_static
='-static'
8305 # All AIX code is PIC.
8306 if test "$host_cpu" = ia64
; then
8307 # AIX 5 now supports IA64 processor
8308 lt_prog_compiler_static
='-Bstatic'
8315 # see comment about AmigaOS4 .so support
8316 lt_prog_compiler_pic
='-fPIC'
8319 # FIXME: we need at least 68020 code to build shared libraries, but
8320 # adding the `-m68020' flag to GCC prevents building anything better,
8322 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8327 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8328 # PIC is the default for these OSes.
8331 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8332 # This hack is so that the source file can tell whether it is being
8333 # built for inclusion in a dll (and should export symbols for example).
8334 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8335 # (--disable-auto-import) libraries
8336 lt_prog_compiler_pic
='-DDLL_EXPORT'
8339 darwin
* | rhapsody
*)
8340 # PIC is the default on this platform
8341 # Common symbols not allowed in MH_DYLIB files
8342 lt_prog_compiler_pic
='-fno-common'
8346 # PIC is the default for Haiku.
8347 # The "-static" flag exists, but is broken.
8348 lt_prog_compiler_static
=
8352 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8353 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8354 # sets the default TLS model and affects inlining.
8360 lt_prog_compiler_pic
='-fPIC'
8366 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8367 # Instead, we relocate shared libraries at runtime.
8371 # Just because we use GCC doesn't mean we suddenly get shared libraries
8372 # on systems that don't support them.
8373 lt_prog_compiler_can_build_shared
=no
8378 # QNX uses GNU C++, but need to define -shared option too, otherwise
8380 lt_prog_compiler_pic
='-fPIC -shared'
8384 if test -d /usr
/nec
; then
8385 lt_prog_compiler_pic
=-Kconform_pic
8390 lt_prog_compiler_pic
='-fPIC'
8394 case $cc_basename in
8395 nvcc
*) # Cuda Compiler Driver 2.2
8396 lt_prog_compiler_wl
='-Xlinker '
8397 if test -n "$lt_prog_compiler_pic"; then
8398 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8403 # PORTME Check for flag to pass linker flags through the system compiler.
8406 lt_prog_compiler_wl
='-Wl,'
8407 if test "$host_cpu" = ia64
; then
8408 # AIX 5 now supports IA64 processor
8409 lt_prog_compiler_static
='-Bstatic'
8411 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8415 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8416 # This hack is so that the source file can tell whether it is being
8417 # built for inclusion in a dll (and should export symbols for example).
8418 lt_prog_compiler_pic
='-DDLL_EXPORT'
8421 hpux9
* | hpux10
* | hpux11
*)
8422 lt_prog_compiler_wl
='-Wl,'
8423 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8430 lt_prog_compiler_pic
='+Z'
8433 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8434 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8437 irix5
* | irix6
* | nonstopux
*)
8438 lt_prog_compiler_wl
='-Wl,'
8439 # PIC (with -KPIC) is the default.
8440 lt_prog_compiler_static
='-non_shared'
8443 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8444 case $cc_basename in
8445 # old Intel for x86_64 which still supported -KPIC.
8447 lt_prog_compiler_wl
='-Wl,'
8448 lt_prog_compiler_pic
='-KPIC'
8449 lt_prog_compiler_static
='-static'
8451 # icc used to be incompatible with GCC.
8452 # ICC 10 doesn't accept -KPIC any more.
8454 lt_prog_compiler_wl
='-Wl,'
8455 lt_prog_compiler_pic
='-fPIC'
8456 lt_prog_compiler_static
='-static'
8458 # Lahey Fortran 8.1.
8460 lt_prog_compiler_wl
='-Wl,'
8461 lt_prog_compiler_pic
='--shared'
8462 lt_prog_compiler_static
='--static'
8465 # NAG Fortran compiler
8466 lt_prog_compiler_wl
='-Wl,-Wl,,'
8467 lt_prog_compiler_pic
='-PIC'
8468 lt_prog_compiler_static
='-Bstatic'
8470 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8471 # Portland Group compilers (*not* the Pentium gcc compiler,
8472 # which looks to be a dead project)
8473 lt_prog_compiler_wl
='-Wl,'
8474 lt_prog_compiler_pic
='-fpic'
8475 lt_prog_compiler_static
='-Bstatic'
8478 lt_prog_compiler_wl
='-Wl,'
8479 # All Alpha code is PIC.
8480 lt_prog_compiler_static
='-non_shared'
8482 xl
* | bgxl
* | bgf
* | mpixl
*)
8483 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8484 lt_prog_compiler_wl
='-Wl,'
8485 lt_prog_compiler_pic
='-qpic'
8486 lt_prog_compiler_static
='-qstaticlink'
8489 case `$CC -V 2>&1 | sed 5q` in
8490 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8491 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8492 lt_prog_compiler_pic
='-KPIC'
8493 lt_prog_compiler_static
='-Bstatic'
8494 lt_prog_compiler_wl
=''
8496 *Sun\ F
* |
*Sun
*Fortran
*)
8497 lt_prog_compiler_pic
='-KPIC'
8498 lt_prog_compiler_static
='-Bstatic'
8499 lt_prog_compiler_wl
='-Qoption ld '
8503 lt_prog_compiler_pic
='-KPIC'
8504 lt_prog_compiler_static
='-Bstatic'
8505 lt_prog_compiler_wl
='-Wl,'
8507 *Intel
*\
[CF
]*Compiler
*)
8508 lt_prog_compiler_wl
='-Wl,'
8509 lt_prog_compiler_pic
='-fPIC'
8510 lt_prog_compiler_static
='-static'
8513 lt_prog_compiler_wl
='-Wl,'
8514 lt_prog_compiler_pic
='-fpic'
8515 lt_prog_compiler_static
='-Bstatic'
8523 lt_prog_compiler_pic
='-KPIC'
8524 lt_prog_compiler_static
='-Bstatic'
8528 # QNX uses GNU C++, but need to define -shared option too, otherwise
8530 lt_prog_compiler_pic
='-fPIC -shared'
8533 osf3
* | osf4
* | osf5
*)
8534 lt_prog_compiler_wl
='-Wl,'
8535 # All OSF/1 code is PIC.
8536 lt_prog_compiler_static
='-non_shared'
8540 lt_prog_compiler_static
='-non_shared'
8544 lt_prog_compiler_pic
='-KPIC'
8545 lt_prog_compiler_static
='-Bstatic'
8546 case $cc_basename in
8547 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8548 lt_prog_compiler_wl
='-Qoption ld ';;
8550 lt_prog_compiler_wl
='-Wl,';;
8555 lt_prog_compiler_wl
='-Qoption ld '
8556 lt_prog_compiler_pic
='-PIC'
8557 lt_prog_compiler_static
='-Bstatic'
8560 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8561 lt_prog_compiler_wl
='-Wl,'
8562 lt_prog_compiler_pic
='-KPIC'
8563 lt_prog_compiler_static
='-Bstatic'
8567 if test -d /usr
/nec
;then
8568 lt_prog_compiler_pic
='-Kconform_pic'
8569 lt_prog_compiler_static
='-Bstatic'
8573 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8574 lt_prog_compiler_wl
='-Wl,'
8575 lt_prog_compiler_pic
='-KPIC'
8576 lt_prog_compiler_static
='-Bstatic'
8580 lt_prog_compiler_wl
='-Wl,'
8581 lt_prog_compiler_can_build_shared
=no
8585 lt_prog_compiler_pic
='-pic'
8586 lt_prog_compiler_static
='-Bstatic'
8590 lt_prog_compiler_can_build_shared
=no
8596 # For platforms which do not support PIC, -DPIC is meaningless:
8598 lt_prog_compiler_pic
=
8601 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8606 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8607 if ${lt_cv_prog_compiler_pic+:} false
; then :
8608 $as_echo_n "(cached) " >&6
8610 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8613 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8614 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8617 # Check to make sure the PIC flag actually works.
8619 if test -n "$lt_prog_compiler_pic"; then
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8621 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8622 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8623 $as_echo_n "(cached) " >&6
8625 lt_cv_prog_compiler_pic_works
=no
8626 ac_outfile
=conftest.
$ac_objext
8627 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8628 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8629 # Insert the option either (1) after the last *FLAGS variable, or
8630 # (2) before a word containing "conftest.", or (3) at the end.
8631 # Note that $ac_compile itself does not contain backslashes and begins
8632 # with a dollar sign (not a hyphen), so the echo should work correctly.
8633 # The option is referenced via a variable to avoid confusing sed.
8634 lt_compile
=`echo "$ac_compile" | $SED \
8635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8637 -e 's:$: $lt_compiler_flag:'`
8638 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8639 (eval "$lt_compile" 2>conftest.err
)
8641 cat conftest.err
>&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 if (exit $ac_status) && test -s "$ac_outfile"; then
8644 # The compiler can only warn and ignore the option if not recognized
8645 # So say no if there are warnings other than the usual output.
8646 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8647 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8648 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8649 lt_cv_prog_compiler_pic_works
=yes
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8656 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8658 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8659 case $lt_prog_compiler_pic in
8661 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8664 lt_prog_compiler_pic
=
8665 lt_prog_compiler_can_build_shared
=no
8681 # Check to make sure the static flag actually works.
8683 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8685 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8686 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8687 $as_echo_n "(cached) " >&6
8689 lt_cv_prog_compiler_static_works
=no
8690 save_LDFLAGS
="$LDFLAGS"
8691 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8692 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8693 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8694 # The linker can only warn and ignore the option if not recognized
8695 # So say no if there are warnings
8696 if test -s conftest.err
; then
8697 # Append any errors to the config.log.
8698 cat conftest.err
1>&5
8699 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8700 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8701 if diff conftest.exp conftest.er2
>/dev
/null
; then
8702 lt_cv_prog_compiler_static_works
=yes
8705 lt_cv_prog_compiler_static_works
=yes
8709 LDFLAGS
="$save_LDFLAGS"
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8713 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8715 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8718 lt_prog_compiler_static
=
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8728 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8729 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8732 lt_cv_prog_compiler_c_o
=no
8733 $RM -r conftest
2>/dev
/null
8737 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8739 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8740 # Insert the option either (1) after the last *FLAGS variable, or
8741 # (2) before a word containing "conftest.", or (3) at the end.
8742 # Note that $ac_compile itself does not contain backslashes and begins
8743 # with a dollar sign (not a hyphen), so the echo should work correctly.
8744 lt_compile
=`echo "$ac_compile" | $SED \
8745 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8747 -e 's:$: $lt_compiler_flag:'`
8748 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8749 (eval "$lt_compile" 2>out
/conftest.err
)
8751 cat out
/conftest.err
>&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8755 # The compiler can only warn and ignore the option if not recognized
8756 # So say no if there are warnings
8757 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8758 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8759 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8760 lt_cv_prog_compiler_c_o
=yes
8765 # SGI C++ compiler will create directory out/ii_files/ for
8766 # template instantiation
8767 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8768 $RM out
/* && rmdir out
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8775 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8783 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8784 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8785 $as_echo_n "(cached) " >&6
8787 lt_cv_prog_compiler_c_o
=no
8788 $RM -r conftest
2>/dev
/null
8792 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8794 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8795 # Insert the option either (1) after the last *FLAGS variable, or
8796 # (2) before a word containing "conftest.", or (3) at the end.
8797 # Note that $ac_compile itself does not contain backslashes and begins
8798 # with a dollar sign (not a hyphen), so the echo should work correctly.
8799 lt_compile
=`echo "$ac_compile" | $SED \
8800 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8801 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8802 -e 's:$: $lt_compiler_flag:'`
8803 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8804 (eval "$lt_compile" 2>out
/conftest.err
)
8806 cat out
/conftest.err
>&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8810 # The compiler can only warn and ignore the option if not recognized
8811 # So say no if there are warnings
8812 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8813 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8814 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8815 lt_cv_prog_compiler_c_o
=yes
8820 # SGI C++ compiler will create directory out/ii_files/ for
8821 # template instantiation
8822 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8823 $RM out
/* && rmdir out
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8830 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8835 hard_links
="nottested"
8836 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8837 # do not overwrite the value of need_locks provided by the user
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8839 $as_echo_n "checking if we can lock with hard links... " >&6; }
8842 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8844 ln conftest.a conftest.b
2>&5 || hard_links
=no
8845 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8847 $as_echo "$hard_links" >&6; }
8848 if test "$hard_links" = no
; then
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8850 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8863 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8866 allow_undefined_flag
=
8867 always_export_symbols
=no
8869 archive_expsym_cmds
=
8870 compiler_needs_object
=no
8871 enable_shared_with_static_runtimes
=no
8872 export_dynamic_flag_spec
=
8873 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8874 hardcode_automatic
=no
8876 hardcode_direct_absolute
=no
8877 hardcode_libdir_flag_spec
=
8878 hardcode_libdir_separator
=
8880 hardcode_shlibpath_var
=unsupported
8882 link_all_deplibs
=unknown
8885 old_archive_from_new_cmds
=
8886 old_archive_from_expsyms_cmds
=
8887 thread_safe_flag_spec
=
8888 whole_archive_flag_spec
=
8889 # include_expsyms should be a list of space-separated symbols to be *always*
8890 # included in the symbol list
8892 # exclude_expsyms can be an extended regexp of symbols to exclude
8893 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8894 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8895 # as well as any symbol that contains `d'.
8896 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8897 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8898 # platforms (ab)use it in PIC code, but their linkers get confused if
8899 # the symbol is explicitly referenced. Since portable code cannot
8900 # rely on this symbol name, it's probably fine to never include it in
8901 # preloaded symbol tables.
8902 # Exclude shared library initialization/finalization symbols.
8903 extract_expsyms_cmds
=
8906 cygwin
* | mingw
* | pw32
* | cegcc
*)
8907 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8908 # When not using gcc, we currently assume that we are using
8909 # Microsoft Visual C++.
8910 if test "$GCC" != yes; then
8915 # we just hope/assume this is gcc and not c89 (= MSVC++)
8925 # On some targets, GNU ld is compatible enough with the native linker
8926 # that we're better off using the native interface for both.
8927 lt_use_gnu_ld_interface
=no
8928 if test "$with_gnu_ld" = yes; then
8931 # The AIX port of GNU ld has always aspired to compatibility
8932 # with the native linker. However, as the warning in the GNU ld
8933 # block says, versions before 2.19.5* couldn't really create working
8934 # shared libraries, regardless of the interface used.
8935 case `$LD -v 2>&1` in
8936 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8937 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8938 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8940 lt_use_gnu_ld_interface
=yes
8945 lt_use_gnu_ld_interface
=yes
8950 if test "$lt_use_gnu_ld_interface" = yes; then
8951 # If archive_cmds runs LD, not CC, wlarc should be empty
8954 # Set some defaults for GNU ld with shared library support. These
8955 # are reset later if shared libraries are not supported. Putting them
8956 # here allows them to be overridden if necessary.
8957 runpath_var
=LD_RUN_PATH
8958 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8959 export_dynamic_flag_spec
='${wl}--export-dynamic'
8960 # ancient GNU ld didn't support --whole-archive et. al.
8961 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8962 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8964 whole_archive_flag_spec
=
8966 supports_anon_versioning
=no
8967 case `$LD -v 2>&1` in
8968 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8969 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8970 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8971 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8972 *\
2.11.
*) ;; # other 2.11 versions
8973 *) supports_anon_versioning
=yes ;;
8976 # See if GNU ld supports shared libraries.
8979 # On AIX/PPC, the GNU linker is very broken
8980 if test "$host_cpu" != ia64
; then
8984 *** Warning: the GNU linker, at least up to release 2.19, is reported
8985 *** to be unable to reliably create shared libraries on AIX.
8986 *** Therefore, libtool is disabling shared libraries support. If you
8987 *** really care for shared libraries, you may want to install binutils
8988 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8989 *** You will then need to restart the configuration process.
8998 # see comment about AmigaOS4 .so support
8999 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000 archive_expsym_cmds
=''
9003 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)'
9004 hardcode_libdir_flag_spec
='-L$libdir'
9005 hardcode_minus_L
=yes
9011 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9012 allow_undefined_flag
=unsupported
9013 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9014 # support --undefined. This deserves some investigation. FIXME
9015 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9021 cygwin
* | mingw
* | pw32
* | cegcc
*)
9022 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9023 # as there is no search path for DLLs.
9024 hardcode_libdir_flag_spec
='-L$libdir'
9025 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9026 allow_undefined_flag
=unsupported
9027 always_export_symbols
=no
9028 enable_shared_with_static_runtimes
=yes
9029 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'
9030 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9032 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9033 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9034 # If the export-symbols file already is a .def file (1st line
9035 # is EXPORTS), use it as is; otherwise, prepend...
9036 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9037 cp $export_symbols $output_objdir/$soname.def;
9039 echo EXPORTS > $output_objdir/$soname.def;
9040 cat $export_symbols >> $output_objdir/$soname.def;
9042 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9049 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9050 link_all_deplibs
=yes
9055 hardcode_shlibpath_var
=no
9056 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9057 export_dynamic_flag_spec
='${wl}-E'
9058 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9059 # Instead, shared libraries are loaded at an image base (0x10000000 by
9060 # default) and relocated if they conflict, which is a slow very memory
9061 # consuming and fragmenting process. To avoid this, we pick a random,
9062 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9063 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9064 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9065 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'
9068 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9070 if test "$host_os" = linux-dietlibc
; then
9071 case $cc_basename in
9072 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9075 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9076 && test "$tmp_diet" = no
9078 tmp_addflag
=' $pic_flag'
9079 tmp_sharedflag
='-shared'
9080 case $cc_basename,$host_cpu in
9081 pgcc
*) # Portland Group C compiler
9082 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'
9083 tmp_addflag
=' $pic_flag'
9085 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9086 # Portland Group f77 and f90 compilers
9087 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'
9088 tmp_addflag
=' $pic_flag -Mnomain' ;;
9089 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9090 tmp_addflag
=' -i_dynamic' ;;
9091 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9092 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9093 ifc
* | ifort
*) # Intel Fortran compiler
9094 tmp_addflag
=' -nofor_main' ;;
9095 lf95
*) # Lahey Fortran 8.1
9096 whole_archive_flag_spec
=
9097 tmp_sharedflag
='--shared' ;;
9098 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9099 tmp_sharedflag
='-qmkshrobj'
9101 nvcc
*) # Cuda Compiler Driver 2.2
9102 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'
9103 compiler_needs_object
=yes
9106 case `$CC -V 2>&1 | sed 5q` in
9107 *Sun\ C
*) # Sun C 5.9
9108 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'
9109 compiler_needs_object
=yes
9110 tmp_sharedflag
='-G' ;;
9111 *Sun\ F
*) # Sun Fortran 8.3
9112 tmp_sharedflag
='-G' ;;
9114 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9116 if test "x$supports_anon_versioning" = xyes
; then
9117 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9118 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9119 echo "local: *; };" >> $output_objdir/$libname.ver~
9120 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9123 case $cc_basename in
9124 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9125 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9126 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9127 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9128 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9129 if test "x$supports_anon_versioning" = xyes
; then
9130 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9131 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9132 echo "local: *; };" >> $output_objdir/$libname.ver~
9133 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9143 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9144 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9147 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9153 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9157 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9158 *** create shared libraries on Solaris systems. Therefore, libtool
9159 *** is disabling shared libraries support. We urge you to upgrade GNU
9160 *** binutils to release 2.9.1 or newer. Another option is to modify
9161 *** your PATH or compiler configuration so that the native linker is
9162 *** used, and then restart.
9165 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9166 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9167 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9173 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9174 case `$LD -v 2>&1` in
9175 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9179 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9180 *** reliably create shared libraries on SCO systems. Therefore, libtool
9181 *** is disabling shared libraries support. We urge you to upgrade GNU
9182 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9183 *** your PATH or compiler configuration so that the native linker is
9184 *** used, and then restart.
9189 # For security reasons, it is highly recommended that you always
9190 # use absolute paths for naming shared libraries, and exclude the
9191 # DT_RUNPATH tag from executables and libraries. But doing so
9192 # requires that you compile everything twice, which is a pain.
9193 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9194 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9195 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9205 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9208 hardcode_shlibpath_var
=no
9212 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9213 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9214 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9221 if test "$ld_shlibs" = no
; then
9223 hardcode_libdir_flag_spec
=
9224 export_dynamic_flag_spec
=
9225 whole_archive_flag_spec
=
9228 # PORTME fill in a description of your system's linker (not GNU ld)
9231 allow_undefined_flag
=unsupported
9232 always_export_symbols
=yes
9233 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'
9234 # Note: this linker hardcodes the directories in LIBPATH if there
9235 # are no directories specified by -L.
9236 hardcode_minus_L
=yes
9237 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9238 # Neither direct hardcoding nor static linking is supported with a
9240 hardcode_direct
=unsupported
9245 if test "$host_cpu" = ia64
; then
9246 # On IA64, the linker does run time linking by default, so we don't
9247 # have to do anything special.
9248 aix_use_runtimelinking
=no
9249 exp_sym_flag
='-Bexport'
9252 # If we're using GNU nm, then we don't want the "-C" option.
9253 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9254 # Also, AIX nm treats weak defined symbols like other global
9255 # defined symbols, whereas GNU nm marks them as "W".
9256 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9257 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'
9259 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'
9261 aix_use_runtimelinking
=no
9263 # Test if we are trying to use run time linking or normal
9264 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9265 # need to do runtime linking.
9266 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9267 for ld_flag
in $LDFLAGS; do
9268 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9269 aix_use_runtimelinking
=yes
9276 exp_sym_flag
='-bexport'
9277 no_entry_flag
='-bnoentry'
9280 # When large executables or shared objects are built, AIX ld can
9281 # have problems creating the table of contents. If linking a library
9282 # or program results in "error TOC overflow" add -mminimal-toc to
9283 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9284 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9288 hardcode_direct_absolute
=yes
9289 hardcode_libdir_separator
=':'
9290 link_all_deplibs
=yes
9291 file_list_spec
='${wl}-f,'
9293 if test "$GCC" = yes; then
9294 case $host_os in aix4.
[012]|aix4.
[012].
*)
9295 # We only want to do this on AIX 4.2 and lower, the check
9296 # below for broken collect2 doesn't work under 4.3+
9297 collect2name
=`${CC} -print-prog-name=collect2`
9298 if test -f "$collect2name" &&
9299 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9301 # We have reworked collect2
9304 # We have old collect2
9305 hardcode_direct
=unsupported
9306 # It fails to find uninstalled libraries when the uninstalled
9307 # path is not listed in the libpath. Setting hardcode_minus_L
9308 # to unsupported forces relinking
9309 hardcode_minus_L
=yes
9310 hardcode_libdir_flag_spec
='-L$libdir'
9311 hardcode_libdir_separator
=
9315 shared_flag
='-shared'
9316 if test "$aix_use_runtimelinking" = yes; then
9317 shared_flag
="$shared_flag "'${wl}-G'
9321 if test "$host_cpu" = ia64
; then
9322 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9323 # chokes on -Wl,-G. The following line is correct:
9326 if test "$aix_use_runtimelinking" = yes; then
9327 shared_flag
='${wl}-G'
9329 shared_flag
='${wl}-bM:SRE'
9334 export_dynamic_flag_spec
='${wl}-bexpall'
9335 # It seems that -bexpall does not export symbols beginning with
9336 # underscore (_), so it is better to generate a list of symbols to export.
9337 always_export_symbols
=yes
9338 if test "$aix_use_runtimelinking" = yes; then
9339 # Warning - without using the other runtime loading flags (-brtl),
9340 # -berok will link without error, but may produce a broken library.
9341 allow_undefined_flag
='-berok'
9342 # Determine the default libpath from the value encoded in an
9344 if test "${lt_cv_aix_libpath+set}" = set; then
9345 aix_libpath
=$lt_cv_aix_libpath
9347 if ${lt_cv_aix_libpath_+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9361 if ac_fn_c_try_link
"$LINENO"; then :
9363 lt_aix_libpath_sed
='
9364 /Import File Strings/,/^$/ {
9366 s/^0 *\([^ ]*\) *$/\1/
9370 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9371 # Check for a 64-bit object if we didn't find anything.
9372 if test -z "$lt_cv_aix_libpath_"; then
9373 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9376 rm -f core conftest.err conftest.
$ac_objext \
9377 conftest
$ac_exeext conftest.
$ac_ext
9378 if test -z "$lt_cv_aix_libpath_"; then
9379 lt_cv_aix_libpath_
="/usr/lib:/lib"
9384 aix_libpath
=$lt_cv_aix_libpath_
9387 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9388 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"
9390 if test "$host_cpu" = ia64
; then
9391 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9392 allow_undefined_flag
="-z nodefs"
9393 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"
9395 # Determine the default libpath from the value encoded in an
9397 if test "${lt_cv_aix_libpath+set}" = set; then
9398 aix_libpath
=$lt_cv_aix_libpath
9400 if ${lt_cv_aix_libpath_+:} false
; then :
9401 $as_echo_n "(cached) " >&6
9403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9404 /* end confdefs.h. */
9414 if ac_fn_c_try_link
"$LINENO"; then :
9416 lt_aix_libpath_sed
='
9417 /Import File Strings/,/^$/ {
9419 s/^0 *\([^ ]*\) *$/\1/
9423 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9424 # Check for a 64-bit object if we didn't find anything.
9425 if test -z "$lt_cv_aix_libpath_"; then
9426 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9429 rm -f core conftest.err conftest.
$ac_objext \
9430 conftest
$ac_exeext conftest.
$ac_ext
9431 if test -z "$lt_cv_aix_libpath_"; then
9432 lt_cv_aix_libpath_
="/usr/lib:/lib"
9437 aix_libpath
=$lt_cv_aix_libpath_
9440 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9441 # Warning - without using the other run time loading flags,
9442 # -berok will link without error, but may produce a broken library.
9443 no_undefined_flag
=' ${wl}-bernotok'
9444 allow_undefined_flag
=' ${wl}-berok'
9445 if test "$with_gnu_ld" = yes; then
9446 # We only use this code for GNU lds that support --whole-archive.
9447 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9449 # Exported symbols can be pulled into shared objects from archives
9450 whole_archive_flag_spec
='$convenience'
9452 archive_cmds_need_lc
=yes
9453 # This is similar to how AIX traditionally builds its shared libraries.
9454 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'
9462 # see comment about AmigaOS4 .so support
9463 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9464 archive_expsym_cmds
=''
9467 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)'
9468 hardcode_libdir_flag_spec
='-L$libdir'
9469 hardcode_minus_L
=yes
9475 export_dynamic_flag_spec
=-rdynamic
9478 cygwin
* | mingw
* | pw32
* | cegcc
*)
9479 # When not using gcc, we currently assume that we are using
9480 # Microsoft Visual C++.
9481 # hardcode_libdir_flag_spec is actually meaningless, as there is
9482 # no search path for DLLs.
9483 case $cc_basename in
9486 hardcode_libdir_flag_spec
=' '
9487 allow_undefined_flag
=unsupported
9488 always_export_symbols
=yes
9490 # Tell ltmain to make .lib files, not .a files.
9492 # Tell ltmain to make .dll files, not .so files.
9494 # FIXME: Setting linknames here is a bad hack.
9495 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9496 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9497 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9499 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9501 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9503 # The linker will not automatically build a static lib if we build a DLL.
9504 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9505 enable_shared_with_static_runtimes
=yes
9506 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9507 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9509 old_postinstall_cmds
='chmod 644 $oldlib'
9510 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9511 lt_tool_outputfile="@TOOL_OUTPUT@"~
9512 case $lt_outputfile in
9515 lt_outputfile="$lt_outputfile.exe"
9516 lt_tool_outputfile="$lt_tool_outputfile.exe"
9519 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9520 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9521 $RM "$lt_outputfile.manifest";
9525 # Assume MSVC wrapper
9526 hardcode_libdir_flag_spec
=' '
9527 allow_undefined_flag
=unsupported
9528 # Tell ltmain to make .lib files, not .a files.
9530 # Tell ltmain to make .dll files, not .so files.
9532 # FIXME: Setting linknames here is a bad hack.
9533 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9534 # The linker will automatically build a .lib file if we build a DLL.
9535 old_archive_from_new_cmds
='true'
9536 # FIXME: Should let the user specify the lib program.
9537 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9538 enable_shared_with_static_runtimes
=yes
9543 darwin
* | rhapsody
*)
9546 archive_cmds_need_lc
=no
9548 hardcode_automatic
=yes
9549 hardcode_shlibpath_var
=unsupported
9550 if test "$lt_cv_ld_force_load" = "yes"; then
9551 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\"`'
9554 whole_archive_flag_spec
=''
9556 link_all_deplibs
=yes
9557 allow_undefined_flag
="$_lt_dar_allow_undefined"
9558 case $cc_basename in
9559 ifort
*) _lt_dar_can_shared
=yes ;;
9560 *) _lt_dar_can_shared
=$GCC ;;
9562 if test "$_lt_dar_can_shared" = "yes"; then
9563 output_verbose_link_cmd
=func_echo_all
9564 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9565 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9566 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}"
9567 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}"
9576 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9577 hardcode_libdir_flag_spec
='-L$libdir'
9578 hardcode_shlibpath_var
=no
9581 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9582 # support. Future versions do this automatically, but an explicit c++rt0.o
9583 # does not break anything, and helps significantly (at the cost of a little
9586 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9587 hardcode_libdir_flag_spec
='-R$libdir'
9589 hardcode_shlibpath_var
=no
9592 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9594 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9596 hardcode_minus_L
=yes
9597 hardcode_shlibpath_var
=no
9600 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9601 freebsd
* | dragonfly
*)
9602 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9603 hardcode_libdir_flag_spec
='-R$libdir'
9605 hardcode_shlibpath_var
=no
9609 if test "$GCC" = yes; then
9610 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'
9612 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'
9614 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9615 hardcode_libdir_separator
=:
9618 # hardcode_minus_L: Not really in the search PATH,
9619 # but as the default location of the library.
9620 hardcode_minus_L
=yes
9621 export_dynamic_flag_spec
='${wl}-E'
9625 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9626 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9628 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9630 if test "$with_gnu_ld" = no
; then
9631 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9632 hardcode_libdir_separator
=:
9634 hardcode_direct_absolute
=yes
9635 export_dynamic_flag_spec
='${wl}-E'
9636 # hardcode_minus_L: Not really in the search PATH,
9637 # but as the default location of the library.
9638 hardcode_minus_L
=yes
9643 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9646 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9649 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9652 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9658 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9661 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9665 # Older versions of the 11.00 compiler do not understand -b yet
9666 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9668 $as_echo_n "checking if $CC understands -b... " >&6; }
9669 if ${lt_cv_prog_compiler__b+:} false
; then :
9670 $as_echo_n "(cached) " >&6
9672 lt_cv_prog_compiler__b
=no
9673 save_LDFLAGS
="$LDFLAGS"
9674 LDFLAGS
="$LDFLAGS -b"
9675 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9676 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9677 # The linker can only warn and ignore the option if not recognized
9678 # So say no if there are warnings
9679 if test -s conftest.err
; then
9680 # Append any errors to the config.log.
9681 cat conftest.err
1>&5
9682 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9683 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9684 if diff conftest.exp conftest.er2
>/dev
/null
; then
9685 lt_cv_prog_compiler__b
=yes
9688 lt_cv_prog_compiler__b
=yes
9692 LDFLAGS
="$save_LDFLAGS"
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9696 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9698 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9699 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9701 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9707 if test "$with_gnu_ld" = no
; then
9708 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9709 hardcode_libdir_separator
=:
9714 hardcode_shlibpath_var
=no
9718 hardcode_direct_absolute
=yes
9719 export_dynamic_flag_spec
='${wl}-E'
9721 # hardcode_minus_L: Not really in the search PATH,
9722 # but as the default location of the library.
9723 hardcode_minus_L
=yes
9729 irix5
* | irix6
* | nonstopux
*)
9730 if test "$GCC" = yes; then
9731 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'
9732 # Try to use the -exported_symbol ld option, if it does not
9733 # work, assume that -exports_file does not work either and
9734 # implicitly export all symbols.
9735 # This should be the same for all languages, so no per-tag cache variable.
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9737 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9738 if ${lt_cv_irix_exported_symbol+:} false
; then :
9739 $as_echo_n "(cached) " >&6
9741 save_LDFLAGS
="$LDFLAGS"
9742 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9744 /* end confdefs.h. */
9745 int foo (void) { return 0; }
9747 if ac_fn_c_try_link
"$LINENO"; then :
9748 lt_cv_irix_exported_symbol
=yes
9750 lt_cv_irix_exported_symbol
=no
9752 rm -f core conftest.err conftest.
$ac_objext \
9753 conftest
$ac_exeext conftest.
$ac_ext
9754 LDFLAGS
="$save_LDFLAGS"
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9757 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9758 if test "$lt_cv_irix_exported_symbol" = yes; then
9759 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'
9762 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'
9763 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'
9765 archive_cmds_need_lc
='no'
9766 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9767 hardcode_libdir_separator
=:
9769 link_all_deplibs
=yes
9773 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9774 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9776 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9778 hardcode_libdir_flag_spec
='-R$libdir'
9780 hardcode_shlibpath_var
=no
9784 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9786 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9787 hardcode_libdir_separator
=:
9788 hardcode_shlibpath_var
=no
9795 if test -f /usr
/libexec
/ld.so
; then
9797 hardcode_shlibpath_var
=no
9798 hardcode_direct_absolute
=yes
9799 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9800 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9801 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9802 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9803 export_dynamic_flag_spec
='${wl}-E'
9806 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9807 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9808 hardcode_libdir_flag_spec
='-R$libdir'
9811 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9812 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9822 hardcode_libdir_flag_spec
='-L$libdir'
9823 hardcode_minus_L
=yes
9824 allow_undefined_flag
=unsupported
9825 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'
9826 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9830 if test "$GCC" = yes; then
9831 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9832 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'
9834 allow_undefined_flag
=' -expect_unresolved \*'
9835 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'
9837 archive_cmds_need_lc
='no'
9838 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9839 hardcode_libdir_separator
=:
9842 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9843 if test "$GCC" = yes; then
9844 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9845 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'
9846 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9848 allow_undefined_flag
=' -expect_unresolved \*'
9849 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'
9850 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~
9851 $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'
9853 # Both c and cxx compiler support -rpath directly
9854 hardcode_libdir_flag_spec
='-rpath $libdir'
9856 archive_cmds_need_lc
='no'
9857 hardcode_libdir_separator
=:
9861 no_undefined_flag
=' -z defs'
9862 if test "$GCC" = yes; then
9864 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9865 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9866 $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'
9868 case `$CC -V 2>&1` in
9871 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9872 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9873 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9877 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9879 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9883 hardcode_libdir_flag_spec
='-R$libdir'
9884 hardcode_shlibpath_var
=no
9886 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9888 # The compiler driver will combine and reorder linker options,
9889 # but understands `-z linker_flag'. GCC discards it without `$wl',
9890 # but is careful enough not to reorder.
9891 # Supported since Solaris 2.6 (maybe 2.5.1?)
9892 if test "$GCC" = yes; then
9893 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9895 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9899 link_all_deplibs
=yes
9903 if test "x$host_vendor" = xsequent
; then
9904 # Use $CC to link under sequent, because it throws in some extra .o
9905 # files that make .init and .fini sections work.
9906 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9910 hardcode_libdir_flag_spec
='-L$libdir'
9912 hardcode_minus_L
=yes
9913 hardcode_shlibpath_var
=no
9917 case $host_vendor in
9919 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_direct
=yes # is this really true???
9923 ## LD is ld it makes a PLAMLIB
9924 ## CC just makes a GrossModule.
9925 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9926 reload_cmds
='$CC -r -o $output$reload_objs'
9930 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9934 runpath_var
='LD_RUN_PATH'
9935 hardcode_shlibpath_var
=no
9939 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9940 hardcode_shlibpath_var
=no
9941 export_dynamic_flag_spec
='-Bexport'
9945 if test -d /usr
/nec
; then
9946 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9947 hardcode_shlibpath_var
=no
9948 runpath_var
=LD_RUN_PATH
9949 hardcode_runpath_var
=yes
9954 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9955 no_undefined_flag
='${wl}-z,text'
9956 archive_cmds_need_lc
=no
9957 hardcode_shlibpath_var
=no
9958 runpath_var
='LD_RUN_PATH'
9960 if test "$GCC" = yes; then
9961 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9964 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9969 sysv5
* | sco3.2v5
* | sco5v6
*)
9970 # Note: We can NOT use -z defs as we might desire, because we do not
9971 # link with -lc, and that would cause any symbols used from libc to
9972 # always be unresolved, which means just about no library would
9973 # ever link correctly. If we're not using GNU ld we use -z text
9974 # though, which does catch some bad symbols but isn't as heavy-handed
9976 no_undefined_flag
='${wl}-z,text'
9977 allow_undefined_flag
='${wl}-z,nodefs'
9978 archive_cmds_need_lc
=no
9979 hardcode_shlibpath_var
=no
9980 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9981 hardcode_libdir_separator
=':'
9982 link_all_deplibs
=yes
9983 export_dynamic_flag_spec
='${wl}-Bexport'
9984 runpath_var
='LD_RUN_PATH'
9986 if test "$GCC" = yes; then
9987 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9988 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9990 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9991 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997 hardcode_libdir_flag_spec
='-L$libdir'
9998 hardcode_shlibpath_var
=no
10006 if test x
$host_vendor = xsni
; then
10008 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10009 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10016 $as_echo "$ld_shlibs" >&6; }
10017 test "$ld_shlibs" = no
&& can_build_shared
=no
10019 with_gnu_ld
=$with_gnu_ld
10036 # Do we need to explicitly link libc?
10038 case "x$archive_cmds_need_lc" in
10040 # Assume -lc should be added
10041 archive_cmds_need_lc
=yes
10043 if test "$enable_shared" = yes && test "$GCC" = yes; then
10044 case $archive_cmds in
10046 # FIXME: we may have to deal with multi-command sequences.
10049 # Test whether the compiler implicitly links with -lc since on some
10050 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10051 # to ld, don't add -lc before -lgcc.
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10053 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10054 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10058 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10061 (eval $ac_compile) 2>&5
10063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10064 test $ac_status = 0; } 2>conftest.err
; then
10067 libobjs
=conftest.
$ac_objext
10069 wl
=$lt_prog_compiler_wl
10070 pic_flag
=$lt_prog_compiler_pic
10076 lt_save_allow_undefined_flag
=$allow_undefined_flag
10077 allow_undefined_flag
=
10078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10079 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10082 test $ac_status = 0; }
10084 lt_cv_archive_cmds_need_lc
=no
10086 lt_cv_archive_cmds_need_lc
=yes
10088 allow_undefined_flag
=$lt_save_allow_undefined_flag
10090 cat conftest.err
1>&5
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10096 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10097 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10256 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10258 if test "$GCC" = yes; then
10260 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10261 *) lt_awk_arg
="/^libraries:/" ;;
10264 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10265 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10267 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10268 case $lt_search_path_spec in
10270 # if the path contains ";" then we assume it to be the separator
10271 # otherwise default to the standard path separator (i.e. ":") - it is
10272 # assumed that no part of a normal pathname contains ";" but that should
10273 # okay in the real world where ";" in dirpaths is itself problematic.
10274 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10277 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10280 # Ok, now we have the path, separated by spaces, we can step through it
10281 # and add multilib dir if necessary.
10282 lt_tmp_lt_search_path_spec
=
10283 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10284 for lt_sys_path
in $lt_search_path_spec; do
10285 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10286 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10288 test -d "$lt_sys_path" && \
10289 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10292 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10293 BEGIN {RS=" "; FS="/|\n";} {
10296 for (lt_i = NF; lt_i > 0; lt_i--) {
10297 if ($lt_i != "" && $lt_i != ".") {
10298 if ($lt_i == "..") {
10301 if (lt_count == 0) {
10302 lt_foo="/" $lt_i lt_foo;
10309 if (lt_foo != "") { lt_freq[lt_foo]++; }
10310 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10312 # AWK program above erroneously prepends '/' to C:/dos/paths
10315 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10316 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10318 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10320 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10322 library_names_spec
=
10323 libname_spec
='lib$name'
10327 postuninstall_cmds
=
10331 shlibpath_overrides_runpath
=unknown
10333 dynamic_linker
="$host_os ld.so"
10334 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10335 need_lib_prefix
=unknown
10336 hardcode_into_libs
=no
10338 # when you set need_version to no, make sure it does not cause -set_version
10339 # flags to be left without arguments
10340 need_version
=unknown
10344 version_type
=linux
# correct to gnu/linux during the next big refactor
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10346 shlibpath_var
=LIBPATH
10348 # AIX 3 has no versioning support, so we append a major version to the name.
10349 soname_spec
='${libname}${release}${shared_ext}$major'
10353 version_type
=linux
# correct to gnu/linux during the next big refactor
10356 hardcode_into_libs
=yes
10357 if test "$host_cpu" = ia64
; then
10358 # AIX 5 supports IA64
10359 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10360 shlibpath_var
=LD_LIBRARY_PATH
10362 # With GCC up to 2.95.x, collect2 would create an import file
10363 # for dependence libraries. The import file would start with
10364 # the line `#! .'. This would cause the generated library to
10365 # depend on `.', always an invalid library. This was fixed in
10366 # development snapshots of GCC prior to 3.0.
10368 aix4 | aix4.
[01] | aix4.
[01].
*)
10369 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10371 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10374 can_build_shared
=no
10378 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10379 # soname into executable. Probably we can add versioning support to
10380 # collect2, so additional links can be useful in future.
10381 if test "$aix_use_runtimelinking" = yes; then
10382 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10383 # instead of lib<name>.a to let people know that these are not
10384 # typical AIX shared libraries.
10385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10387 # We preserve .a as extension for shared libraries through AIX4.2
10388 # and later when we are not doing run time linking.
10389 library_names_spec
='${libname}${release}.a $libname.a'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10392 shlibpath_var
=LIBPATH
10399 # Since July 2007 AmigaOS4 officially supports .so libraries.
10400 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10404 library_names_spec
='$libname.ixlibrary $libname.a'
10405 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10406 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'
10412 library_names_spec
='${libname}${shared_ext}'
10413 dynamic_linker
="$host_os ld.so"
10414 shlibpath_var
=LIBRARY_PATH
10418 version_type
=linux
# correct to gnu/linux during the next big refactor
10420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421 soname_spec
='${libname}${release}${shared_ext}$major'
10422 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10423 shlibpath_var
=LD_LIBRARY_PATH
10424 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10425 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10426 # the default ld.so.conf also contains /usr/contrib/lib and
10427 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10428 # libtool to hard-code these into programs
10431 cygwin
* | mingw
* | pw32
* | cegcc
*)
10432 version_type
=windows
10437 case $GCC,$cc_basename in
10440 library_names_spec
='$libname.dll.a'
10441 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10442 postinstall_cmds
='base_file=`basename \${file}`~
10443 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10444 dldir=$destdir/`dirname \$dlpath`~
10445 test -d \$dldir || mkdir -p \$dldir~
10446 $install_prog $dir/$dlname \$dldir/$dlname~
10447 chmod a+x \$dldir/$dlname~
10448 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10449 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10451 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10452 dlpath=$dir/\$dldll~
10454 shlibpath_overrides_runpath
=yes
10458 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10459 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10461 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10464 # MinGW DLLs use traditional 'lib' prefix
10465 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10468 # pw32 DLLs use 'pw' prefix rather than 'lib'
10469 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10472 dynamic_linker
='Win32 ld.exe'
10477 libname_spec
='$name'
10478 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10479 library_names_spec
='${libname}.dll.lib'
10483 sys_lib_search_path_spec
=
10486 for lt_path
in $LIB
10489 # Let DOS variable expansion print the short 8.3 style file name.
10490 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10491 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10494 # Convert to MSYS style.
10495 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10498 # Convert to unix form, then to dos form, then back to unix form
10499 # but this time dos style (no spaces!) so that the unix form looks
10500 # like /cygdrive/c/PROGRA~1:/cygdr...
10501 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10502 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10503 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10506 sys_lib_search_path_spec
="$LIB"
10507 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10508 # It is most probably a Windows format PATH.
10509 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10511 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10513 # FIXME: find the short name or the path components, as spaces are
10514 # common. (e.g. "Program Files" -> "PROGRA~1")
10518 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10519 postinstall_cmds
='base_file=`basename \${file}`~
10520 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10521 dldir=$destdir/`dirname \$dlpath`~
10522 test -d \$dldir || mkdir -p \$dldir~
10523 $install_prog $dir/$dlname \$dldir/$dlname'
10524 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10525 dlpath=$dir/\$dldll~
10527 shlibpath_overrides_runpath
=yes
10528 dynamic_linker
='Win32 link.exe'
10532 # Assume MSVC wrapper
10533 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10534 dynamic_linker
='Win32 ld.exe'
10537 # FIXME: first we should search . and the directory the executable is in
10541 darwin
* | rhapsody
*)
10542 dynamic_linker
="$host_os dyld"
10543 version_type
=darwin
10546 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10547 soname_spec
='${libname}${release}${major}$shared_ext'
10548 shlibpath_overrides_runpath
=yes
10549 shlibpath_var
=DYLD_LIBRARY_PATH
10550 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10552 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10553 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10557 version_type
=linux
# correct to gnu/linux during the next big refactor
10560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10561 soname_spec
='${libname}${release}${shared_ext}$major'
10562 shlibpath_var
=LD_LIBRARY_PATH
10565 freebsd
* | dragonfly
*)
10566 # DragonFly does not have aout. When/if they implement a new
10567 # versioning mechanism, adjust this.
10568 if test -x /usr
/bin
/objformat
; then
10569 objformat
=`/usr/bin/objformat`
10572 freebsd
[23].
*) objformat
=aout
;;
10573 *) objformat
=elf
;;
10576 version_type
=freebsd-
$objformat
10577 case $version_type in
10579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10588 shlibpath_var
=LD_LIBRARY_PATH
10591 shlibpath_overrides_runpath
=yes
10593 freebsd3.
[01]* | freebsdelf3.
[01]*)
10594 shlibpath_overrides_runpath
=yes
10595 hardcode_into_libs
=yes
10597 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10598 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10599 shlibpath_overrides_runpath
=no
10600 hardcode_into_libs
=yes
10602 *) # from 4.6 on, and DragonFly
10603 shlibpath_overrides_runpath
=yes
10604 hardcode_into_libs
=yes
10610 version_type
=linux
# correct to gnu/linux during the next big refactor
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10614 soname_spec
='${libname}${release}${shared_ext}$major'
10615 shlibpath_var
=LD_LIBRARY_PATH
10616 shlibpath_overrides_runpath
=no
10617 hardcode_into_libs
=yes
10621 version_type
=linux
# correct to gnu/linux during the next big refactor
10624 dynamic_linker
="$host_os runtime_loader"
10625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10626 soname_spec
='${libname}${release}${shared_ext}$major'
10627 shlibpath_var
=LIBRARY_PATH
10628 shlibpath_overrides_runpath
=yes
10629 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10630 hardcode_into_libs
=yes
10633 hpux9
* | hpux10
* | hpux11
*)
10634 # Give a soname corresponding to the major version so that dld.sl refuses to
10635 # link against other versions.
10642 hardcode_into_libs
=yes
10643 dynamic_linker
="$host_os dld.so"
10644 shlibpath_var
=LD_LIBRARY_PATH
10645 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 soname_spec
='${libname}${release}${shared_ext}$major'
10648 if test "X$HPUX_IA64_MODE" = X32
; then
10649 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10651 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10653 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10657 hardcode_into_libs
=yes
10658 dynamic_linker
="$host_os dld.sl"
10659 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10660 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662 soname_spec
='${libname}${release}${shared_ext}$major'
10663 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10664 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10668 dynamic_linker
="$host_os dld.sl"
10669 shlibpath_var
=SHLIB_PATH
10670 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10672 soname_spec
='${libname}${release}${shared_ext}$major'
10675 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10676 postinstall_cmds
='chmod 555 $lib'
10677 # or fails outright, so override atomically:
10678 install_override_mode
=555
10682 version_type
=linux
# correct to gnu/linux during the next big refactor
10685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10686 soname_spec
='${libname}${release}${shared_ext}$major'
10687 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10688 shlibpath_var
=LD_LIBRARY_PATH
10689 shlibpath_overrides_runpath
=no
10690 hardcode_into_libs
=yes
10693 irix5
* | irix6
* | nonstopux
*)
10695 nonstopux
*) version_type
=nonstopux
;;
10697 if test "$lt_cv_prog_gnu_ld" = yes; then
10698 version_type
=linux
# correct to gnu/linux during the next big refactor
10705 soname_spec
='${libname}${release}${shared_ext}$major'
10706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10708 irix5
* | nonstopux
*)
10709 libsuff
= shlibsuff
=
10712 case $LD in # libtool.m4 will add one of these switches to LD
10713 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10714 libsuff
= shlibsuff
= libmagic
=32-bit;;
10715 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10716 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10717 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10718 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10719 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10723 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10724 shlibpath_overrides_runpath
=no
10725 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10726 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10727 hardcode_into_libs
=yes
10730 # No shared lib support for Linux oldld, aout, or coff.
10731 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10735 # This must be glibc/ELF.
10736 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10737 version_type
=linux
# correct to gnu/linux during the next big refactor
10740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10741 soname_spec
='${libname}${release}${shared_ext}$major'
10742 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10743 shlibpath_var
=LD_LIBRARY_PATH
10744 shlibpath_overrides_runpath
=no
10746 # Some binutils ld are patched to set DT_RUNPATH
10747 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10748 $as_echo_n "(cached) " >&6
10750 lt_cv_shlibpath_overrides_runpath
=no
10751 save_LDFLAGS
=$LDFLAGS
10752 save_libdir
=$libdir
10753 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10754 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10766 if ac_fn_c_try_link
"$LINENO"; then :
10767 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10768 lt_cv_shlibpath_overrides_runpath
=yes
10771 rm -f core conftest.err conftest.
$ac_objext \
10772 conftest
$ac_exeext conftest.
$ac_ext
10773 LDFLAGS
=$save_LDFLAGS
10774 libdir
=$save_libdir
10778 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10780 # This implies no fast_install, which is unacceptable.
10781 # Some rework will be needed to allow for fast_install
10782 # before this can be enabled.
10783 hardcode_into_libs
=yes
10785 # Add ABI-specific directories to the system library path.
10786 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10788 # Append ld.so.conf contents to the search path
10789 if test -f /etc
/ld.so.conf
; then
10790 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' ' '`
10791 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10795 # We used to test for /lib/ld.so.1 and disable shared libraries on
10796 # powerpc, because MkLinux only supported shared libraries with the
10797 # GNU dynamic linker. Since this was broken with cross compilers,
10798 # most powerpc-linux boxes support dynamic linking these days and
10799 # people can always --disable-shared, the test was removed, and we
10800 # assume the GNU/Linux dynamic linker is in use.
10801 dynamic_linker
='GNU/Linux ld.so'
10808 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10810 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10811 dynamic_linker
='NetBSD (a.out) ld.so'
10813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10814 soname_spec
='${libname}${release}${shared_ext}$major'
10815 dynamic_linker
='NetBSD ld.elf_so'
10817 shlibpath_var
=LD_LIBRARY_PATH
10818 shlibpath_overrides_runpath
=yes
10819 hardcode_into_libs
=yes
10823 version_type
=linux
# correct to gnu/linux during the next big refactor
10824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825 shlibpath_var
=LD_LIBRARY_PATH
10826 shlibpath_overrides_runpath
=yes
10833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834 soname_spec
='${libname}${release}${shared_ext}$major'
10835 shlibpath_var
=LD_LIBRARY_PATH
10836 shlibpath_overrides_runpath
=no
10837 hardcode_into_libs
=yes
10838 dynamic_linker
='ldqnx.so'
10843 sys_lib_dlsearch_path_spec
="/usr/lib"
10845 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10847 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10848 *) need_version
=no
;;
10850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10851 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10852 shlibpath_var
=LD_LIBRARY_PATH
10853 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10855 openbsd2.
[89] | openbsd2.
[89].
*)
10856 shlibpath_overrides_runpath
=no
10859 shlibpath_overrides_runpath
=yes
10863 shlibpath_overrides_runpath
=yes
10868 libname_spec
='$name'
10871 library_names_spec
='$libname${shared_ext} $libname.a'
10872 dynamic_linker
='OS/2 ld.exe'
10873 shlibpath_var
=LIBPATH
10876 osf3
* | osf4
* | osf5
*)
10880 soname_spec
='${libname}${release}${shared_ext}$major'
10881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882 shlibpath_var
=LD_LIBRARY_PATH
10883 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10884 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10892 version_type
=linux
# correct to gnu/linux during the next big refactor
10895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896 soname_spec
='${libname}${release}${shared_ext}$major'
10897 shlibpath_var
=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath
=yes
10899 hardcode_into_libs
=yes
10900 # ldd complains unless libraries are executable
10901 postinstall_cmds
='chmod +x $lib'
10906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10907 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10908 shlibpath_var
=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath
=yes
10910 if test "$with_gnu_ld" = yes; then
10917 version_type
=linux
# correct to gnu/linux during the next big refactor
10918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec
='${libname}${release}${shared_ext}$major'
10920 shlibpath_var
=LD_LIBRARY_PATH
10921 case $host_vendor in
10923 shlibpath_overrides_runpath
=no
10925 runpath_var
=LD_RUN_PATH
10933 shlibpath_overrides_runpath
=no
10934 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10940 if test -d /usr
/nec
;then
10941 version_type
=linux
# correct to gnu/linux during the next big refactor
10942 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10943 soname_spec
='$libname${shared_ext}.$major'
10944 shlibpath_var
=LD_LIBRARY_PATH
10948 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10949 version_type
=freebsd-elf
10952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10953 soname_spec
='${libname}${release}${shared_ext}$major'
10954 shlibpath_var
=LD_LIBRARY_PATH
10955 shlibpath_overrides_runpath
=yes
10956 hardcode_into_libs
=yes
10957 if test "$with_gnu_ld" = yes; then
10958 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10960 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10963 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10967 sys_lib_dlsearch_path_spec
='/usr/lib'
10971 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10972 version_type
=linux
# correct to gnu/linux during the next big refactor
10975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10976 shlibpath_var
=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath
=no
10978 hardcode_into_libs
=yes
10982 version_type
=linux
# correct to gnu/linux during the next big refactor
10983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984 soname_spec
='${libname}${release}${shared_ext}$major'
10985 shlibpath_var
=LD_LIBRARY_PATH
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10993 $as_echo "$dynamic_linker" >&6; }
10994 test "$dynamic_linker" = no
&& can_build_shared
=no
10996 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10997 if test "$GCC" = yes; then
10998 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11001 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11002 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11004 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11005 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11100 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11102 if test -n "$hardcode_libdir_flag_spec" ||
11103 test -n "$runpath_var" ||
11104 test "X$hardcode_automatic" = "Xyes" ; then
11106 # We can hardcode non-existent directories.
11107 if test "$hardcode_direct" != no
&&
11108 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11109 # have to relink, otherwise we might link with an installed library
11110 # when we should be linking with a yet-to-be-installed one
11111 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11112 test "$hardcode_minus_L" != no
; then
11113 # Linking always hardcodes the temporary library directory.
11114 hardcode_action
=relink
11116 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11117 hardcode_action
=immediate
11120 # We cannot hardcode anything, or else we can only hardcode existing
11122 hardcode_action
=unsupported
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11125 $as_echo "$hardcode_action" >&6; }
11127 if test "$hardcode_action" = relink ||
11128 test "$inherit_rpath" = yes; then
11129 # Fast installation is not supported
11130 enable_fast_install
=no
11131 elif test "$shlibpath_overrides_runpath" = yes ||
11132 test "$enable_shared" = no
; then
11133 # Fast installation is not necessary
11134 enable_fast_install
=needless
11142 if test "x$enable_dlopen" != xyes
; then
11143 enable_dlopen
=unknown
11144 enable_dlopen_self
=unknown
11145 enable_dlopen_self_static
=unknown
11152 lt_cv_dlopen
="load_add_on"
11154 lt_cv_dlopen_self
=yes
11157 mingw
* | pw32
* | cegcc
*)
11158 lt_cv_dlopen
="LoadLibrary"
11163 lt_cv_dlopen
="dlopen"
11168 # if libdl is installed we need to link against it
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11170 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11171 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11172 $as_echo_n "(cached) " >&6
11174 ac_check_lib_save_LIBS
=$LIBS
11176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11194 if ac_fn_c_try_link
"$LINENO"; then :
11195 ac_cv_lib_dl_dlopen
=yes
11197 ac_cv_lib_dl_dlopen
=no
11199 rm -f core conftest.err conftest.
$ac_objext \
11200 conftest
$ac_exeext conftest.
$ac_ext
11201 LIBS
=$ac_check_lib_save_LIBS
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11204 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11205 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11206 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11209 lt_cv_dlopen
="dyld"
11211 lt_cv_dlopen_self
=yes
11218 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11219 if test "x$ac_cv_func_shl_load" = xyes
; then :
11220 lt_cv_dlopen
="shl_load"
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11223 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11224 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11225 $as_echo_n "(cached) " >&6
11227 ac_check_lib_save_LIBS
=$LIBS
11229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11242 return shl_load ();
11247 if ac_fn_c_try_link
"$LINENO"; then :
11248 ac_cv_lib_dld_shl_load
=yes
11250 ac_cv_lib_dld_shl_load
=no
11252 rm -f core conftest.err conftest.
$ac_objext \
11253 conftest
$ac_exeext conftest.
$ac_ext
11254 LIBS
=$ac_check_lib_save_LIBS
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11257 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11258 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11259 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11261 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11262 if test "x$ac_cv_func_dlopen" = xyes
; then :
11263 lt_cv_dlopen
="dlopen"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11266 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11267 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11268 $as_echo_n "(cached) " >&6
11270 ac_check_lib_save_LIBS
=$LIBS
11272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11290 if ac_fn_c_try_link
"$LINENO"; then :
11291 ac_cv_lib_dl_dlopen
=yes
11293 ac_cv_lib_dl_dlopen
=no
11295 rm -f core conftest.err conftest.
$ac_objext \
11296 conftest
$ac_exeext conftest.
$ac_ext
11297 LIBS
=$ac_check_lib_save_LIBS
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11300 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11301 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11302 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11305 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11306 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11307 $as_echo_n "(cached) " >&6
11309 ac_check_lib_save_LIBS
=$LIBS
11310 LIBS
="-lsvld $LIBS"
11311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11312 /* end confdefs.h. */
11314 /* Override any GCC internal prototype to avoid an error.
11315 Use char because int might match the return type of a GCC
11316 builtin and then its argument prototype would still apply. */
11329 if ac_fn_c_try_link
"$LINENO"; then :
11330 ac_cv_lib_svld_dlopen
=yes
11332 ac_cv_lib_svld_dlopen
=no
11334 rm -f core conftest.err conftest.
$ac_objext \
11335 conftest
$ac_exeext conftest.
$ac_ext
11336 LIBS
=$ac_check_lib_save_LIBS
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11339 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11340 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11341 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11344 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11345 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11346 $as_echo_n "(cached) " >&6
11348 ac_check_lib_save_LIBS
=$LIBS
11350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11363 return dld_link ();
11368 if ac_fn_c_try_link
"$LINENO"; then :
11369 ac_cv_lib_dld_dld_link
=yes
11371 ac_cv_lib_dld_dld_link
=no
11373 rm -f core conftest.err conftest.
$ac_objext \
11374 conftest
$ac_exeext conftest.
$ac_ext
11375 LIBS
=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11378 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11379 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11380 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11401 if test "x$lt_cv_dlopen" != xno
; then
11407 case $lt_cv_dlopen in
11409 save_CPPFLAGS
="$CPPFLAGS"
11410 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11412 save_LDFLAGS
="$LDFLAGS"
11413 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11416 LIBS
="$lt_cv_dlopen_libs $LIBS"
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11419 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11420 if ${lt_cv_dlopen_self+:} false
; then :
11421 $as_echo_n "(cached) " >&6
11423 if test "$cross_compiling" = yes; then :
11424 lt_cv_dlopen_self
=cross
11426 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11427 lt_status
=$lt_dlunknown
11428 cat > conftest.
$ac_ext <<_LT_EOF
11429 #line $LINENO "configure"
11430 #include "confdefs.h"
11439 # define LT_DLGLOBAL RTLD_GLOBAL
11442 # define LT_DLGLOBAL DL_GLOBAL
11444 # define LT_DLGLOBAL 0
11448 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11449 find out it does not work in some platform. */
11450 #ifndef LT_DLLAZY_OR_NOW
11452 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11455 # define LT_DLLAZY_OR_NOW DL_LAZY
11458 # define LT_DLLAZY_OR_NOW RTLD_NOW
11461 # define LT_DLLAZY_OR_NOW DL_NOW
11463 # define LT_DLLAZY_OR_NOW 0
11470 /* When -fvisbility=hidden is used, assume the code has been annotated
11471 correspondingly for the symbols needed. */
11472 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11473 int fnord () __attribute__((visibility("default")));
11476 int fnord () { return 42; }
11479 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11480 int status = $lt_dlunknown;
11484 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11487 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11488 else puts (dlerror ());
11490 /* dlclose (self); */
11498 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11499 (eval $ac_link) 2>&5
11501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11502 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11503 (.
/conftest
; exit; ) >&5 2>/dev
/null
11505 case x
$lt_status in
11506 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11507 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11508 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11511 # compilation failed
11512 lt_cv_dlopen_self
=no
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11520 $as_echo "$lt_cv_dlopen_self" >&6; }
11522 if test "x$lt_cv_dlopen_self" = xyes
; then
11523 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11525 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11526 if ${lt_cv_dlopen_self_static+:} false
; then :
11527 $as_echo_n "(cached) " >&6
11529 if test "$cross_compiling" = yes; then :
11530 lt_cv_dlopen_self_static
=cross
11532 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11533 lt_status
=$lt_dlunknown
11534 cat > conftest.
$ac_ext <<_LT_EOF
11535 #line $LINENO "configure"
11536 #include "confdefs.h"
11545 # define LT_DLGLOBAL RTLD_GLOBAL
11548 # define LT_DLGLOBAL DL_GLOBAL
11550 # define LT_DLGLOBAL 0
11554 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11555 find out it does not work in some platform. */
11556 #ifndef LT_DLLAZY_OR_NOW
11558 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11561 # define LT_DLLAZY_OR_NOW DL_LAZY
11564 # define LT_DLLAZY_OR_NOW RTLD_NOW
11567 # define LT_DLLAZY_OR_NOW DL_NOW
11569 # define LT_DLLAZY_OR_NOW 0
11576 /* When -fvisbility=hidden is used, assume the code has been annotated
11577 correspondingly for the symbols needed. */
11578 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11579 int fnord () __attribute__((visibility("default")));
11582 int fnord () { return 42; }
11585 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11586 int status = $lt_dlunknown;
11590 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11593 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11594 else puts (dlerror ());
11596 /* dlclose (self); */
11604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11605 (eval $ac_link) 2>&5
11607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11608 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11609 (.
/conftest
; exit; ) >&5 2>/dev
/null
11611 case x
$lt_status in
11612 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11613 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11614 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11617 # compilation failed
11618 lt_cv_dlopen_self_static
=no
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11626 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11629 CPPFLAGS
="$save_CPPFLAGS"
11630 LDFLAGS
="$save_LDFLAGS"
11635 case $lt_cv_dlopen_self in
11636 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11637 *) enable_dlopen_self
=unknown
;;
11640 case $lt_cv_dlopen_self_static in
11641 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11642 *) enable_dlopen_self_static
=unknown
;;
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11665 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11666 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11667 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11668 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11670 $as_echo "yes" >&6; }
11672 # FIXME - insert some real tests, host_os isn't really good enough
11675 if test -n "$STRIP" ; then
11676 striplib
="$STRIP -x"
11677 old_striplib
="$STRIP -S"
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11679 $as_echo "yes" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11682 $as_echo "no" >&6; }
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11687 $as_echo "no" >&6; }
11703 # Report which library types will actually be built
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11705 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11707 $as_echo "$can_build_shared" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11710 $as_echo_n "checking whether to build shared libraries... " >&6; }
11711 test "$can_build_shared" = "no" && enable_shared
=no
11713 # On AIX, shared libraries and static libraries use the same namespace, and
11714 # are all built from PIC.
11717 test "$enable_shared" = yes && enable_static
=no
11718 if test -n "$RANLIB"; then
11719 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11720 postinstall_cmds
='$RANLIB $lib'
11725 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11726 test "$enable_shared" = yes && enable_static
=no
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11731 $as_echo "$enable_shared" >&6; }
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11734 $as_echo_n "checking whether to build static libraries... " >&6; }
11735 # Make sure either enable_shared or enable_static is yes.
11736 test "$enable_shared" = yes || enable_static
=yes
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11738 $as_echo "$enable_static" >&6; }
11745 ac_cpp
='$CPP $CPPFLAGS'
11746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11766 ac_config_commands
="$ac_config_commands libtool"
11771 # Only expand once:
11775 # Detect the canonical host and target build environment.
11776 # Note: This precedes automake initialization to avoid warnings.
11780 # Initialize version information parameters.
11781 JAS_MAJOR_VERSION
=1
11782 JAS_MINOR_VERSION
=900
11783 JAS_MICRO_VERSION
=29
11784 JAS_VERSION
=1.900.29
11789 cat >>confdefs.h
<<_ACEOF
11790 #define JAS_VERSION "$JAS_VERSION"
11796 # Initialize version information for libtool.
11806 # Indicate a configure-based build is being used.
11807 $as_echo "#define JAS_CONFIGURE 1" >>confdefs.h
11810 ############################################################
11811 # Configuration header file.
11812 ############################################################
11823 ############################################################
11824 # Checks for programs.
11825 ############################################################
11828 ac_cpp
='$CPP $CPPFLAGS'
11829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11832 if test -n "$ac_tool_prefix"; then
11833 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11834 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11836 $as_echo_n "checking for $ac_word... " >&6; }
11837 if ${ac_cv_prog_CC+:} false
; then :
11838 $as_echo_n "(cached) " >&6
11840 if test -n "$CC"; then
11841 ac_cv_prog_CC
="$CC" # Let the user override the test.
11843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11844 for as_dir
in $PATH
11847 test -z "$as_dir" && as_dir
=.
11848 for ac_exec_ext
in '' $ac_executable_extensions; do
11849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11850 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11861 if test -n "$CC"; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11863 $as_echo "$CC" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11871 if test -z "$ac_cv_prog_CC"; then
11873 # Extract the first word of "gcc", so it can be a program name with args.
11874 set dummy gcc
; ac_word
=$2
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11876 $as_echo_n "checking for $ac_word... " >&6; }
11877 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 if test -n "$ac_ct_CC"; then
11881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11884 for as_dir
in $PATH
11887 test -z "$as_dir" && as_dir
=.
11888 for ac_exec_ext
in '' $ac_executable_extensions; do
11889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11890 ac_cv_prog_ac_ct_CC
="gcc"
11891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11900 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11901 if test -n "$ac_ct_CC"; then
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11903 $as_echo "$ac_ct_CC" >&6; }
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11906 $as_echo "no" >&6; }
11909 if test "x$ac_ct_CC" = x
; then
11912 case $cross_compiling:$ac_tool_warned in
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11916 ac_tool_warned
=yes ;;
11921 CC
="$ac_cv_prog_CC"
11924 if test -z "$CC"; then
11925 if test -n "$ac_tool_prefix"; then
11926 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11927 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11929 $as_echo_n "checking for $ac_word... " >&6; }
11930 if ${ac_cv_prog_CC+:} false
; then :
11931 $as_echo_n "(cached) " >&6
11933 if test -n "$CC"; then
11934 ac_cv_prog_CC
="$CC" # Let the user override the test.
11936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11937 for as_dir
in $PATH
11940 test -z "$as_dir" && as_dir
=.
11941 for ac_exec_ext
in '' $ac_executable_extensions; do
11942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11943 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11954 if test -n "$CC"; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11956 $as_echo "$CC" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11959 $as_echo "no" >&6; }
11965 if test -z "$CC"; then
11966 # Extract the first word of "cc", so it can be a program name with args.
11967 set dummy cc
; ac_word
=$2
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11969 $as_echo_n "checking for $ac_word... " >&6; }
11970 if ${ac_cv_prog_CC+:} false
; then :
11971 $as_echo_n "(cached) " >&6
11973 if test -n "$CC"; then
11974 ac_cv_prog_CC
="$CC" # Let the user override the test.
11976 ac_prog_rejected
=no
11977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11978 for as_dir
in $PATH
11981 test -z "$as_dir" && as_dir
=.
11982 for ac_exec_ext
in '' $ac_executable_extensions; do
11983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11984 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11985 ac_prog_rejected
=yes
11989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11996 if test $ac_prog_rejected = yes; then
11997 # We found a bogon in the path, so make sure we never use it.
11998 set dummy
$ac_cv_prog_CC
12000 if test $# != 0; then
12001 # We chose a different compiler from the bogus one.
12002 # However, it has the same basename, so the bogon will be chosen
12003 # first if we set CC to just the basename; use the full file name.
12005 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12011 if test -n "$CC"; then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12013 $as_echo "$CC" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12016 $as_echo "no" >&6; }
12021 if test -z "$CC"; then
12022 if test -n "$ac_tool_prefix"; then
12023 for ac_prog
in cl.exe
12025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12026 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12028 $as_echo_n "checking for $ac_word... " >&6; }
12029 if ${ac_cv_prog_CC+:} false
; then :
12030 $as_echo_n "(cached) " >&6
12032 if test -n "$CC"; then
12033 ac_cv_prog_CC
="$CC" # Let the user override the test.
12035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12036 for as_dir
in $PATH
12039 test -z "$as_dir" && as_dir
=.
12040 for ac_exec_ext
in '' $ac_executable_extensions; do
12041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12042 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12053 if test -n "$CC"; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12055 $as_echo "$CC" >&6; }
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12062 test -n "$CC" && break
12065 if test -z "$CC"; then
12067 for ac_prog
in cl.exe
12069 # Extract the first word of "$ac_prog", so it can be a program name with args.
12070 set dummy
$ac_prog; ac_word
=$2
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12072 $as_echo_n "checking for $ac_word... " >&6; }
12073 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
12074 $as_echo_n "(cached) " >&6
12076 if test -n "$ac_ct_CC"; then
12077 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12080 for as_dir
in $PATH
12083 test -z "$as_dir" && as_dir
=.
12084 for ac_exec_ext
in '' $ac_executable_extensions; do
12085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12086 ac_cv_prog_ac_ct_CC
="$ac_prog"
12087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12096 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12097 if test -n "$ac_ct_CC"; then
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12099 $as_echo "$ac_ct_CC" >&6; }
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12102 $as_echo "no" >&6; }
12106 test -n "$ac_ct_CC" && break
12109 if test "x$ac_ct_CC" = x
; then
12112 case $cross_compiling:$ac_tool_warned in
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12116 ac_tool_warned
=yes ;;
12125 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12127 as_fn_error $?
"no acceptable C compiler found in \$PATH
12128 See \`config.log' for more details" "$LINENO" 5; }
12130 # Provide some information about the compiler.
12131 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12134 for ac_option
in --version -v -V -qversion; do
12135 { { ac_try
="$ac_compiler $ac_option >&5"
12136 case "(($ac_try" in
12137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12138 *) ac_try_echo=$ac_try;;
12140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12141 $as_echo "$ac_try_echo"; } >&5
12142 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12144 if test -s conftest.err; then
12146 ... rest of stderr output deleted ...
12147 10q' conftest.err >conftest.er1
12148 cat conftest.er1 >&5
12150 rm -f conftest.er1 conftest.err
12151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12152 test $ac_status = 0; }
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12156 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12157 if ${ac_cv_c_compiler_gnu+:} false; then :
12158 $as_echo_n "(cached) " >&6
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12174 if ac_fn_c_try_compile "$LINENO"; then :
12175 ac_compiler_gnu=yes
12179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12185 if test $ac_compiler_gnu = yes; then
12190 ac_test_CFLAGS=${CFLAGS+set}
12191 ac_save_CFLAGS=$CFLAGS
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12194 if ${ac_cv_prog_cc_g+:} false; then :
12195 $as_echo_n "(cached) " >&6
12197 ac_save_c_werror_flag=$ac_c_werror_flag
12198 ac_c_werror_flag=yes
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12212 if ac_fn_c_try_compile "$LINENO"; then :
12213 ac_cv_prog_cc_g=yes
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12227 if ac_fn_c_try_compile "$LINENO"; then :
12230 ac_c_werror_flag=$ac_save_c_werror_flag
12232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12243 if ac_fn_c_try_compile "$LINENO"; then :
12244 ac_cv_prog_cc_g=yes
12246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12251 ac_c_werror_flag=$ac_save_c_werror_flag
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12254 $as_echo "$ac_cv_prog_cc_g" >&6; }
12255 if test "$ac_test_CFLAGS" = set; then
12256 CFLAGS=$ac_save_CFLAGS
12257 elif test $ac_cv_prog_cc_g = yes; then
12258 if test "$GCC" = yes; then
12264 if test "$GCC" = yes; then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12272 if ${ac_cv_prog_cc_c89+:} false; then :
12273 $as_echo_n "(cached) " >&6
12275 ac_cv_prog_cc_c89=no
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12279 #include <stdarg.h>
12282 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12283 struct buf { int x; };
12284 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12285 static char *e (p, i)
12291 static char *f (char * (*g) (char **, int), char **p, ...)
12296 s = g (p, va_arg (v,int));
12301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12302 function prototypes and stuff, but not '\xHH' hex character constants.
12303 These don't provoke an error unfortunately, instead are silently treated
12304 as 'x'. The following induces an error, until -std is added to get
12305 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12306 array size at least. It's necessary to write '\x00'==0 to get something
12307 that's true only with -std. */
12308 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12311 inside strings and character constants. */
12313 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12315 int test (int i, double x);
12316 struct s1 {int (*f) (int a);};
12317 struct s2 {int (*f) (double a);};
12318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12324 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12329 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12330 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12332 CC="$ac_save_CC $ac_arg"
12333 if ac_fn_c_try_compile "$LINENO"; then :
12334 ac_cv_prog_cc_c89=$ac_arg
12336 rm -f core conftest.err conftest.$ac_objext
12337 test "x$ac_cv_prog_cc_c89" != "xno" && break
12339 rm -f conftest.$ac_ext
12344 case "x$ac_cv_prog_cc_c89" in
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12347 $as_echo "none needed" >&6; } ;;
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12350 $as_echo "unsupported" >&6; } ;;
12352 CC="$CC $ac_cv_prog_cc_c89"
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12354 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12356 if test "x$ac_cv_prog_cc_c89" != xno; then :
12361 ac_cpp='$CPP $CPPFLAGS'
12362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12367 ac_cpp='$CPP $CPPFLAGS'
12368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12372 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12373 if ${am_cv_prog_cc_c_o+:} false; then :
12374 $as_echo_n "(cached) " >&6
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12387 # Make sure it works both with $CC and with simple cc.
12388 # Following AC_PROG_CC_C_O, we do the test twice because some
12389 # compilers refuse to overwrite an existing .o file with -o,
12390 # though they will create one.
12391 am_cv_prog_cc_c_o=yes
12392 for am_i in 1 2; do
12393 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12394 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); } \
12398 && test -f conftest2.$ac_objext; then
12401 am_cv_prog_cc_c_o=no
12405 rm -f core conftest*
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12409 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12410 if test "$am_cv_prog_cc_c_o" != yes; then
12411 # Losing compiler, so override with the script.
12412 # FIXME: It is wrong to rewrite CC.
12413 # But if we don't then we get into trouble of one sort or another.
12414 # A longer-term fix would be to have automake use am__CC in this case,
12415 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12416 CC="$am_aux_dir/compile $CC"
12419 ac_cpp='$CPP $CPPFLAGS'
12420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12425 depcc="$CC" am_compiler_list=
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12428 $as_echo_n "checking dependency style of $depcc... " >&6; }
12429 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12430 $as_echo_n "(cached) " >&6
12432 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12433 # We make a subdir and do the tests there. Otherwise we can end up
12434 # making bogus files that we don't know about and never remove. For
12435 # instance it was reported that on HP-UX the gcc test will end up
12436 # making a dummy file named 'D' -- because '-MD' means "put the output
12438 rm -rf conftest.dir
12440 # Copy depcomp to subdir because otherwise we won't find it if we're
12441 # using a relative directory.
12442 cp "$am_depcomp" conftest.dir
12444 # We will build objects and dependencies in a subdirectory because
12445 # it helps to detect inapplicable dependency modes. For instance
12446 # both Tru64's cc and ICC support -MD to output dependencies as a
12447 # side effect of compilation, but ICC will put the dependencies in
12448 # the current directory while Tru64 will put them in the object
12452 am_cv_CC_dependencies_compiler_type=none
12453 if test "$am_compiler_list" = ""; then
12454 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12456 am__universal=false
12457 case " $depcc " in #(
12458 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12461 for depmode in $am_compiler_list; do
12462 # Setup a source with many dependencies, because some compilers
12463 # like to wrap large dependency lists on column 80 (with \), and
12464 # we should not choose a depcomp mode which is confused by this.
12466 # We need to recreate these files for each test, as the compiler may
12467 # overwrite some of them when testing with obscure command lines.
12468 # This happens at least with the AIX C compiler.
12470 for i in 1 2 3 4 5 6; do
12471 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12472 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12473 # Solaris 10 /bin/sh.
12474 echo '/* dummy */' > sub/conftst$i.h
12476 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12478 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12479 # mode. It turns out that the SunPro C++ compiler does not properly
12480 # handle '-M -o', and we need to detect this. Also, some Intel
12481 # versions had trouble with output in subdirs.
12482 am__obj=sub/conftest.${OBJEXT-o}
12483 am__minus_obj="-o $am__obj"
12486 # This depmode causes a compiler race in universal mode.
12487 test "$am__universal" = false || continue
12490 # After this tag, mechanisms are not by side-effect, so they'll
12491 # only be used when explicitly requested.
12492 if test "x$enable_dependency_tracking" = xyes; then
12498 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12499 # This compiler won't grok '-c -o', but also, the minuso test has
12500 # not run yet. These depmodes are late enough in the game, and
12501 # so weak that their functioning should not be impacted.
12502 am__obj=conftest.${OBJEXT-o}
12507 if depmode=$depmode \
12508 source=sub/conftest.c object=$am__obj \
12509 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12510 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12511 >/dev/null 2>conftest.err &&
12512 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12513 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12514 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12515 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12516 # icc doesn't choke on unknown options, it will just issue warnings
12517 # or remarks (even with -Werror). So we grep stderr for any message
12518 # that says an option was ignored or not supported.
12519 # When given -MP, icc 7.0 and 7.1 complain thusly:
12520 # icc: Command line warning: ignoring option '-M'; no argument required
12521 # The diagnosis changed in icc 8.0:
12522 # icc: Command line remark: option '-MP' not supported
12523 if (grep 'ignoring option' conftest.err ||
12524 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12525 am_cv_CC_dependencies_compiler_type=$depmode
12532 rm -rf conftest.dir
12534 am_cv_CC_dependencies_compiler_type=none
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12539 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12540 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12543 test "x$enable_dependency_tracking" != xno \
12544 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12545 am__fastdepCC_TRUE=
12546 am__fastdepCC_FALSE='#'
12548 am__fastdepCC_TRUE='#'
12549 am__fastdepCC_FALSE=
12554 # In the ideal world, AC_PROG_CC_C11 would exist and work.
12557 # Attempt to enable C11 support if available.
12558 # If C11 support is not available, attempt to fall back on C99 support
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -std=c11" >&5
12561 $as_echo_n "checking whether C compiler accepts -std=c11... " >&6; }
12562 if ${ax_cv_check_cflags___std_c11+:} false; then :
12563 $as_echo_n "(cached) " >&6
12566 ax_check_save_flags=$CFLAGS
12567 CFLAGS="$CFLAGS -std=c11"
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12579 if ac_fn_c_try_compile "$LINENO"; then :
12580 ax_cv_check_cflags___std_c11=yes
12582 ax_cv_check_cflags___std_c11=no
12584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12585 CFLAGS=$ax_check_save_flags
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___std_c11" >&5
12588 $as_echo "$ax_cv_check_cflags___std_c11" >&6; }
12589 if test "x$ax_cv_check_cflags___std_c11" = xyes; then :
12591 if ${CFLAGS+:} false; then :
12593 case " $CFLAGS " in #(
12595 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -std=c11"; } >&5
12596 (: CFLAGS already contains -std=c11) 2>&5
12598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12599 test $ac_status = 0; } ;; #(
12602 as_fn_append CFLAGS " -std=c11"
12603 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12604 (: CFLAGS="$CFLAGS") 2>&5
12606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12607 test $ac_status = 0; }
12614 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12615 (: CFLAGS="$CFLAGS") 2>&5
12617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12618 test $ac_status = 0; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -std=c99" >&5
12625 $as_echo_n "checking whether C compiler accepts -std=c99... " >&6; }
12626 if ${ax_cv_check_cflags___std_c99+:} false; then :
12627 $as_echo_n "(cached) " >&6
12630 ax_check_save_flags=$CFLAGS
12631 CFLAGS="$CFLAGS -std=c99"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12643 if ac_fn_c_try_compile "$LINENO"; then :
12644 ax_cv_check_cflags___std_c99=yes
12646 ax_cv_check_cflags___std_c99=no
12648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12649 CFLAGS=$ax_check_save_flags
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___std_c99" >&5
12652 $as_echo "$ax_cv_check_cflags___std_c99" >&6; }
12653 if test "x$ax_cv_check_cflags___std_c99" = xyes; then :
12655 if ${CFLAGS+:} false; then :
12657 case " $CFLAGS " in #(
12659 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -std=c99"; } >&5
12660 (: CFLAGS already contains -std=c99) 2>&5
12662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12663 test $ac_status = 0; } ;; #(
12666 as_fn_append CFLAGS " -std=c99"
12667 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12668 (: CFLAGS="$CFLAGS") 2>&5
12670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12671 test $ac_status = 0; }
12678 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
12679 (: CFLAGS="$CFLAGS") 2>&5
12681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12682 test $ac_status = 0; }
12699 # Check whether --enable-shared was given.
12700 if test "${enable_shared+set}" = set; then :
12701 enableval=$enable_shared; p=${PACKAGE-default}
12703 yes) enable_shared=yes ;;
12704 no) enable_shared=no ;;
12707 # Look at the argument we got. We use all the common list separators.
12708 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12709 for pkg in $enableval; do
12711 if test "X$pkg" = "X$p"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12730 $as_echo_n "checking for X... " >&6; }
12733 # Check whether --with-x was given.
12734 if test "${with_x+set}" = set; then :
12738 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12739 if test "x$with_x" = xno; then
12740 # The user explicitly disabled X.
12743 case $x_includes,$x_libraries in #(
12744 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12745 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
12746 $as_echo_n "(cached) " >&6
12748 # One or both of the vars are not set, and there is no cached value.
12749 ac_x_includes=no ac_x_libraries=no
12750 rm -f -r conftest.dir
12751 if mkdir conftest.dir; then
12753 cat >Imakefile <<'_ACEOF'
12755 @echo incroot='${INCROOT}'
12757 @echo usrlibdir='${USRLIBDIR}'
12759 @echo libdir='${LIBDIR}'
12761 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12762 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12763 for ac_var in incroot usrlibdir libdir; do
12764 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
12766 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12767 for ac_extension in a so sl dylib la dll; do
12768 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12769 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12770 ac_im_usrlibdir=$ac_im_libdir; break
12773 # Screen out bogus values from the imake configuration. They are
12774 # bogus both because they are the default anyway, and because
12775 # using them would break gcc on systems where it needs fixed includes.
12776 case $ac_im_incroot in
12777 /usr/include) ac_x_includes= ;;
12778 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12780 case $ac_im_usrlibdir in
12781 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
12782 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12786 rm -f -r conftest.dir
12789 # Standard set of common directories for X headers.
12790 # Check X11 before X11Rn because it is often a symlink to the current release.
12804 /usr/local/X11/include
12805 /usr/local/X11R7/include
12806 /usr/local/X11R6/include
12807 /usr/local/X11R5/include
12808 /usr/local/X11R4/include
12810 /usr/local/include/X11
12811 /usr/local/include/X11R7
12812 /usr/local/include/X11R6
12813 /usr/local/include/X11R5
12814 /usr/local/include/X11R4
12818 /usr/XFree86/include/X11
12822 /usr/unsupported/include
12823 /usr/athena/include
12824 /usr/local/x11r5/include
12825 /usr/lpp/Xamples/include
12827 /usr/openwin/include
12828 /usr/openwin/share/include'
12830 if test "$ac_x_includes" = no; then
12831 # Guess where to find include files, by looking for Xlib.h.
12832 # First, try using that file with no special directory specified.
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12835 #include <X11/Xlib.h>
12837 if ac_fn_c_try_cpp "$LINENO"; then :
12838 # We can compile using X headers with no special include directory.
12841 for ac_dir in $ac_x_header_dirs; do
12842 if test -r "$ac_dir/X11/Xlib.h"; then
12843 ac_x_includes=$ac_dir
12848 rm -f conftest.err conftest.i conftest.$ac_ext
12849 fi # $ac_x_includes = no
12851 if test "$ac_x_libraries" = no; then
12852 # Check for the libraries.
12853 # See if we find them without any special options.
12854 # Don't add to $LIBS permanently.
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12859 #include <X11/Xlib.h>
12868 if ac_fn_c_try_link "$LINENO"; then :
12870 # We can link X programs with no special library path.
12874 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
12876 # Don't even attempt the hair of trying to link an X program!
12877 for ac_extension in a so sl dylib la dll; do
12878 if test -r "$ac_dir/libX11.$ac_extension"; then
12879 ac_x_libraries=$ac_dir
12885 rm -f core conftest.err conftest.$ac_objext \
12886 conftest$ac_exeext conftest.$ac_ext
12887 fi # $ac_x_libraries = no
12889 case $ac_x_includes,$ac_x_libraries in #(
12890 no,* | *,no | *\'*)
12891 # Didn't find X, or a directory has "'" in its name.
12892 ac_cv_have_x="have_x=no";; #(
12894 # Record where we found X for the cache.
12895 ac_cv_have_x="have_x=yes\
12896 ac_x_includes='$ac_x_includes'\
12897 ac_x_libraries='$ac_x_libraries'"
12903 eval "$ac_cv_have_x"
12906 if test "$have_x" != yes; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12908 $as_echo "$have_x" >&6; }
12911 # If each of the values was on the command line, it overrides each guess.
12912 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12913 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12914 # Update the cache value to reflect the command line values.
12915 ac_cv_have_x="have_x=yes\
12916 ac_x_includes='$x_includes'\
12917 ac_x_libraries='$x_libraries'"
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12919 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12922 if test "$no_x" = yes; then
12923 # Not all programs may use this symbol, but it does not hurt to define it.
12925 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
12927 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12929 if test -n "$x_includes"; then
12930 X_CFLAGS="$X_CFLAGS -I$x_includes"
12933 # It would also be nice to do this for all -L options, not just this one.
12934 if test -n "$x_libraries"; then
12935 X_LIBS="$X_LIBS -L$x_libraries"
12936 # For Solaris; some versions of Sun CC require a space after -R and
12937 # others require no space. Words are not sufficient . . . .
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12939 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
12940 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12941 ac_xsave_c_werror_flag=$ac_c_werror_flag
12942 ac_c_werror_flag=yes
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12957 X_LIBS="$X_LIBS -R$x_libraries"
12959 LIBS="$ac_xsave_LIBS -R $x_libraries"
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961 /* end confdefs.h. */
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12973 $as_echo "yes" >&6; }
12974 X_LIBS="$X_LIBS -R $x_libraries"
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
12977 $as_echo "neither works" >&6; }
12979 rm -f core conftest.err conftest.$ac_objext \
12980 conftest$ac_exeext conftest.$ac_ext
12982 rm -f core conftest.err conftest.$ac_objext \
12983 conftest$ac_exeext conftest.$ac_ext
12984 ac_c_werror_flag=$ac_xsave_c_werror_flag
12985 LIBS=$ac_xsave_LIBS
12988 # Check for system-dependent libraries X programs must link with.
12989 # Do this before checking for the system-independent R6 libraries
12990 # (-lICE), since we may need -lsocket or whatever for X linking.
12992 if test "$ISC" = yes; then
12993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12995 # Martyn Johnson says this is needed for Ultrix, if the X
12996 # libraries were built with DECnet support. And Karl Berry says
12997 # the Alpha needs dnet_stub (dnet does not exist).
12998 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13002 /* Override any GCC internal prototype to avoid an error.
13003 Use char because int might match the return type of a GCC
13004 builtin and then its argument prototype would still apply. */
13008 char XOpenDisplay ();
13012 return XOpenDisplay ();
13017 if ac_fn_c_try_link "$LINENO"; then :
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13021 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13022 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
13023 $as_echo_n "(cached) " >&6
13025 ac_check_lib_save_LIBS=$LIBS
13026 LIBS="-ldnet $LIBS"
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13030 /* Override any GCC internal prototype to avoid an error.
13031 Use char because int might match the return type of a GCC
13032 builtin and then its argument prototype would still apply. */
13040 return dnet_ntoa ();
13045 if ac_fn_c_try_link "$LINENO"; then :
13046 ac_cv_lib_dnet_dnet_ntoa=yes
13048 ac_cv_lib_dnet_dnet_ntoa=no
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 LIBS=$ac_check_lib_save_LIBS
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13055 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13056 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
13057 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13060 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13062 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13063 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
13064 $as_echo_n "(cached) " >&6
13066 ac_check_lib_save_LIBS=$LIBS
13067 LIBS="-ldnet_stub $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13081 return dnet_ntoa ();
13086 if ac_fn_c_try_link "$LINENO"; then :
13087 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13089 ac_cv_lib_dnet_stub_dnet_ntoa=no
13091 rm -f core conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 LIBS=$ac_check_lib_save_LIBS
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13096 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13097 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
13098 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13103 rm -f core conftest.err conftest.$ac_objext \
13104 conftest$ac_exeext conftest.$ac_ext
13105 LIBS="$ac_xsave_LIBS"
13107 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13108 # to get the SysV transport functions.
13109 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13111 # The nsl library prevents programs from opening the X display
13112 # on Irix 5.2, according to T.E. Dickey.
13113 # The functions gethostbyname, getservbyname, and inet_addr are
13114 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13115 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13116 if test "x$ac_cv_func_gethostbyname" = xyes; then :
13120 if test $ac_cv_func_gethostbyname = no; then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13122 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13123 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
13124 $as_echo_n "(cached) " >&6
13126 ac_check_lib_save_LIBS=$LIBS
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13137 char gethostbyname ();
13141 return gethostbyname ();
13146 if ac_fn_c_try_link "$LINENO"; then :
13147 ac_cv_lib_nsl_gethostbyname=yes
13149 ac_cv_lib_nsl_gethostbyname=no
13151 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_lib_save_LIBS
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13156 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13157 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
13158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13161 if test $ac_cv_lib_nsl_gethostbyname = no; then
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13163 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13164 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
13165 $as_echo_n "(cached) " >&6
13167 ac_check_lib_save_LIBS=$LIBS
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13172 /* Override any GCC internal prototype to avoid an error.
13173 Use char because int might match the return type of a GCC
13174 builtin and then its argument prototype would still apply. */
13178 char gethostbyname ();
13182 return gethostbyname ();
13187 if ac_fn_c_try_link "$LINENO"; then :
13188 ac_cv_lib_bsd_gethostbyname=yes
13190 ac_cv_lib_bsd_gethostbyname=no
13192 rm -f core conftest.err conftest.$ac_objext \
13193 conftest$ac_exeext conftest.$ac_ext
13194 LIBS=$ac_check_lib_save_LIBS
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13197 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13198 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
13199 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13205 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13206 # socket/setsockopt and other routines are undefined under SCO ODT
13207 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13208 # on later versions), says Simon Leinen: it contains gethostby*
13209 # variants that don't use the name server (or something). -lsocket
13210 # must be given before -lnsl if both are needed. We assume that
13211 # if connect needs -lnsl, so does gethostbyname.
13212 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13213 if test "x$ac_cv_func_connect" = xyes; then :
13217 if test $ac_cv_func_connect = no; then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13219 $as_echo_n "checking for connect in -lsocket... " >&6; }
13220 if ${ac_cv_lib_socket_connect+:} false; then :
13221 $as_echo_n "(cached) " >&6
13223 ac_check_lib_save_LIBS=$LIBS
13224 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13228 /* Override any GCC internal prototype to avoid an error.
13229 Use char because int might match the return type of a GCC
13230 builtin and then its argument prototype would still apply. */
13243 if ac_fn_c_try_link "$LINENO"; then :
13244 ac_cv_lib_socket_connect=yes
13246 ac_cv_lib_socket_connect=no
13248 rm -f core conftest.err conftest.$ac_objext \
13249 conftest$ac_exeext conftest.$ac_ext
13250 LIBS=$ac_check_lib_save_LIBS
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13253 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13254 if test "x$ac_cv_lib_socket_connect" = xyes; then :
13255 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13260 # Guillermo Gomez says -lposix is necessary on A/UX.
13261 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13262 if test "x$ac_cv_func_remove" = xyes; then :
13266 if test $ac_cv_func_remove = no; then
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13268 $as_echo_n "checking for remove in -lposix... " >&6; }
13269 if ${ac_cv_lib_posix_remove+:} false; then :
13270 $as_echo_n "(cached) " >&6
13272 ac_check_lib_save_LIBS=$LIBS
13273 LIBS="-lposix $LIBS"
13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13277 /* Override any GCC internal prototype to avoid an error.
13278 Use char because int might match the return type of a GCC
13279 builtin and then its argument prototype would still apply. */
13292 if ac_fn_c_try_link "$LINENO"; then :
13293 ac_cv_lib_posix_remove=yes
13295 ac_cv_lib_posix_remove=no
13297 rm -f core conftest.err conftest.$ac_objext \
13298 conftest$ac_exeext conftest.$ac_ext
13299 LIBS=$ac_check_lib_save_LIBS
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13302 $as_echo "$ac_cv_lib_posix_remove" >&6; }
13303 if test "x$ac_cv_lib_posix_remove" = xyes; then :
13304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13309 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13310 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13311 if test "x$ac_cv_func_shmat" = xyes; then :
13315 if test $ac_cv_func_shmat = no; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13317 $as_echo_n "checking for shmat in -lipc... " >&6; }
13318 if ${ac_cv_lib_ipc_shmat+:} false; then :
13319 $as_echo_n "(cached) " >&6
13321 ac_check_lib_save_LIBS=$LIBS
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13326 /* Override any GCC internal prototype to avoid an error.
13327 Use char because int might match the return type of a GCC
13328 builtin and then its argument prototype would still apply. */
13341 if ac_fn_c_try_link "$LINENO"; then :
13342 ac_cv_lib_ipc_shmat=yes
13344 ac_cv_lib_ipc_shmat=no
13346 rm -f core conftest.err conftest.$ac_objext \
13347 conftest$ac_exeext conftest.$ac_ext
13348 LIBS=$ac_check_lib_save_LIBS
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13351 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13352 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
13353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13359 # Check for libraries that X11R6 Xt/Xaw programs need.
13360 ac_save_LDFLAGS=$LDFLAGS
13361 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13362 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13363 # check for ICE first), but we must link in the order -lSM -lICE or
13364 # we get undefined symbols. So assume we have SM if we have ICE.
13365 # These have to be linked with before -lX11, unlike the other
13366 # libraries we check for below, so use a different variable.
13367 # John Interrante, Karl Berry
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13369 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13370 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
13371 $as_echo_n "(cached) " >&6
13373 ac_check_lib_save_LIBS=$LIBS
13374 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13384 char IceConnectionNumber ();
13388 return IceConnectionNumber ();
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 ac_cv_lib_ICE_IceConnectionNumber=yes
13396 ac_cv_lib_ICE_IceConnectionNumber=no
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_lib_save_LIBS
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13403 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13404 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
13405 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13408 LDFLAGS=$ac_save_LDFLAGS
13413 ############################################################
13414 # Add a few other compiler flags.
13415 ############################################################
13417 if test "$GCC" = yes; then
13418 CFLAGS="$CFLAGS -pedantic"
13419 CFLAGS="$CFLAGS -Wall -Wno-unused"
13420 #CFLAGS="$CFLAGS -W -Wformat -Wmissing-prototypes -Wstrict-prototypes"
13423 # Check whether --enable-strict was given.
13424 if test "${enable_strict+set}" = set; then :
13425 enableval=$enable_strict;
13426 case "${enableval}" in
13428 ENABLE_STRICT=yes;;
13432 as_fn_error $? "bad value ${enableval} for --disable-strict" "$LINENO" 5
13442 if test $ENABLE_STRICT = yes; then
13443 if test "$GCC" = yes; then
13445 if ${CFLAGS+:} false; then :
13447 case " $CFLAGS " in #(
13448 *" -pedantic-errors "*) :
13449 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains -pedantic-errors"; } >&5
13450 (: CFLAGS already contains -pedantic-errors) 2>&5
13452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13453 test $ac_status = 0; } ;; #(
13456 as_fn_append CFLAGS " -pedantic-errors"
13457 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13458 (: CFLAGS="$CFLAGS") 2>&5
13460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13461 test $ac_status = 0; }
13467 CFLAGS=-pedantic-errors
13468 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13469 (: CFLAGS="$CFLAGS") 2>&5
13471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13472 test $ac_status = 0; }
13479 ############################################################
13480 # Check for the IJG JPEG library.
13481 ############################################################
13483 # Allow the user to explicitly specify whether the JPEG library is present.
13484 # Check whether --enable-libjpeg was given.
13485 if test "${enable_libjpeg+set}" = set; then :
13486 enableval=$enable_libjpeg;
13487 case "${enableval}" in
13489 ENABLE_LIBJPEG=yes;;
13491 ENABLE_LIBJPEG=no;;
13493 as_fn_error $? "bad value ${enableval} for --disable-libjpeg" "$LINENO" 5
13503 if test $ENABLE_LIBJPEG = yes; then
13504 # Check for the JPEG library.
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy in -ljpeg" >&5
13506 $as_echo_n "checking for jpeg_destroy in -ljpeg... " >&6; }
13507 if ${ac_cv_lib_jpeg_jpeg_destroy+:} false; then :
13508 $as_echo_n "(cached) " >&6
13510 ac_check_lib_save_LIBS=$LIBS
13511 LIBS="-ljpeg $LIBS"
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13515 /* Override any GCC internal prototype to avoid an error.
13516 Use char because int might match the return type of a GCC
13517 builtin and then its argument prototype would still apply. */
13521 char jpeg_destroy ();
13525 return jpeg_destroy ();
13530 if ac_fn_c_try_link "$LINENO"; then :
13531 ac_cv_lib_jpeg_jpeg_destroy=yes
13533 ac_cv_lib_jpeg_jpeg_destroy=no
13535 rm -f core conftest.err conftest.$ac_objext \
13536 conftest$ac_exeext conftest.$ac_ext
13537 LIBS=$ac_check_lib_save_LIBS
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy" >&5
13540 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy" >&6; }
13541 if test "x$ac_cv_lib_jpeg_jpeg_destroy" = xyes; then :
13547 if test $HAVE_LIBJPEG = yes; then
13548 LIBS="$LIBS -ljpeg"
13551 if test $HAVE_LIBJPEG = yes; then
13553 HAVE_LIBJPEG_FALSE='#'
13555 HAVE_LIBJPEG_TRUE='#'
13556 HAVE_LIBJPEG_FALSE=
13560 ############################################################
13561 # Check for OpenGL libraries.
13562 ############################################################
13565 # Check whether --with-glut-include-dir was given.
13566 if test "${with_glut_include_dir+set}" = set; then :
13567 withval=$with_glut_include_dir;
13570 CFLAGS="$CFLAGS -I$withval"
13571 CPPFLAGS="$CPPFLAGS -I$withval";;
13573 as_fn_error $? "--with-glut-include-dir requires absolute path" "$LINENO" 5
13580 # Check whether --with-glut-lib-dir was given.
13581 if test "${with_glut_lib_dir+set}" = set; then :
13582 withval=$with_glut_lib_dir;
13585 LIBS="$LIBS -L$withval";;
13587 as_fn_error $? "--with-glut-lib-dir requires absolute path" "$LINENO" 5
13594 # Check whether --enable-opengl was given.
13595 if test "${enable_opengl+set}" = set; then :
13596 enableval=$enable_opengl;
13597 case "$enableval" in
13599 ENABLE_OPENGL=yes;;
13603 as_fn_error $? "bad value ${enableval} for --disable-libjpeg" "$LINENO" 5
13614 if test $ENABLE_OPENGL = yes; then
13615 if test $HAVE_OPENGL = no; then
13616 TMPLIBS="-lglut -lGL -lGLU"
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glutInit in -lglut" >&5
13618 $as_echo_n "checking for glutInit in -lglut... " >&6; }
13619 if ${ac_cv_lib_glut_glutInit+:} false; then :
13620 $as_echo_n "(cached) " >&6
13622 ac_check_lib_save_LIBS=$LIBS
13623 LIBS="-lglut $TMPLIBS $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 /* Override any GCC internal prototype to avoid an error.
13628 Use char because int might match the return type of a GCC
13629 builtin and then its argument prototype would still apply. */
13637 return glutInit ();
13642 if ac_fn_c_try_link "$LINENO"; then :
13643 ac_cv_lib_glut_glutInit=yes
13645 ac_cv_lib_glut_glutInit=no
13647 rm -f core conftest.err conftest.$ac_objext \
13648 conftest$ac_exeext conftest.$ac_ext
13649 LIBS=$ac_check_lib_save_LIBS
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glut_glutInit" >&5
13652 $as_echo "$ac_cv_lib_glut_glutInit" >&6; }
13653 if test "x$ac_cv_lib_glut_glutInit" = xyes; then :
13655 OPENGL_LIBS=$TMPLIBS
13661 ac_fn_c_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
13662 if test "x$ac_cv_header_GL_glut_h" = xyes; then :
13665 HAVE_OPENGL=no; OPENGL_LIBS="";
13671 if test $HAVE_OPENGL = yes; then
13673 HAVE_OPENGL_FALSE='#'
13675 HAVE_OPENGL_TRUE='#'
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL libraries and headers were detected" >&5
13681 $as_echo_n "checking whether OpenGL libraries and headers were detected... " >&6; }
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENGL" >&5
13683 $as_echo "$HAVE_OPENGL" >&6; }
13685 ############################################################
13686 # Check for other libraries.
13687 ############################################################
13689 # Check for the math library.
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
13691 $as_echo_n "checking for main in -lm... " >&6; }
13692 if ${ac_cv_lib_m_main+:} false; then :
13693 $as_echo_n "(cached) " >&6
13695 ac_check_lib_save_LIBS=$LIBS
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 ac_cv_lib_m_main=yes
13712 ac_cv_lib_m_main=no
13714 rm -f core conftest.err conftest.$ac_objext \
13715 conftest$ac_exeext conftest.$ac_ext
13716 LIBS=$ac_check_lib_save_LIBS
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
13719 $as_echo "$ac_cv_lib_m_main" >&6; }
13720 if test "x$ac_cv_lib_m_main" = xyes; then :
13721 cat >>confdefs.h <<_ACEOF
13722 #define HAVE_LIBM 1
13730 ############################################################
13731 # Check for header files.
13732 ############################################################
13734 for ac_header in fcntl.h io.h unistd.h windows.h sys/time.h sys/types.h
13736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13737 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13739 cat >>confdefs.h <<_ACEOF
13740 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13748 # Surely, there must be a better way to do this, but
13749 # let's just get something working for now.
13751 if test $ac_cv_header_fcntl_h = yes; then
13752 JAS_HAVE_FCNTL_H="#define JAS_HAVE_FCNTL_H 1"
13755 JAS_HAVE_FCNTL_H="#undef JAS_HAVE_FCNTL_H"
13759 if test $ac_cv_header_io_h = yes; then
13760 JAS_HAVE_IO_H="#define JAS_HAVE_IO_H 1"
13763 JAS_HAVE_IO_H="#undef JAS_HAVE_IO_H"
13767 if test $ac_cv_header_unistd_h = yes; then
13768 JAS_HAVE_UNISTD_H="#define JAS_HAVE_UNISTD_H 1"
13771 JAS_HAVE_UNISTD_H="#undef JAS_HAVE_UNISTD_H"
13775 if test $ac_cv_header_windows_h = yes; then
13776 JAS_HAVE_WINDOWS_H="#define JAS_HAVE_WINDOWS_H 1"
13779 JAS_HAVE_WINDOWS_H="#undef JAS_HAVE_WINDOWS_H"
13783 if test $ac_cv_header_sys_time_h = yes; then
13784 JAS_HAVE_SYS_TIME_H="#define JAS_HAVE_SYS_TIME_H 1"
13787 JAS_HAVE_SYS_TIME_H="#undef JAS_HAVE_SYS_TIME_H"
13791 if test $ac_cv_header_sys_types_h = yes; then
13792 JAS_HAVE_SYS_TYPES_H="#define JAS_HAVE_SYS_TYPES_H 1"
13795 JAS_HAVE_SYS_TYPES_H="#undef JAS_HAVE_SYS_TYPES_H"
13799 ############################################################
13800 # Check for typedefs, structures, and compiler characteristics.
13801 ############################################################
13803 for ac_func in gettimeofday
13805 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
13806 if test "x$ac_cv_func_gettimeofday" = xyes; then :
13807 cat >>confdefs.h <<_ACEOF
13808 #define HAVE_GETTIMEOFDAY 1
13814 for ac_func in getrusage
13816 ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage"
13817 if test "x$ac_cv_func_getrusage" = xyes; then :
13818 cat >>confdefs.h <<_ACEOF
13819 #define HAVE_GETRUSAGE 1
13826 if test $ac_cv_func_gettimeofday = yes; then
13827 JAS_HAVE_GETTIMEOFDAY="#define JAS_HAVE_GETTIMEOFDAY 1"
13830 JAS_HAVE_GETTIMEOFDAY="#undef JAS_HAVE_GETTIMEOFDAY"
13834 if test $ac_cv_func_getrusage = yes; then
13835 JAS_HAVE_GETRUSAGE="#define JAS_HAVE_GETRUSAGE 1"
13838 JAS_HAVE_GETRUSAGE="#undef JAS_HAVE_GETRUSAGE"
13842 ############################################################
13843 # Checks for library functions.
13844 ############################################################
13847 ############################################################
13848 # Enable memory limit feature.
13849 ############################################################
13851 # Check whether --enable-memory-limit was given.
13852 if test "${enable_memory_limit+set}" = set; then :
13853 enableval=$enable_memory_limit;
13854 if test "${enableval}" != no; then
13855 if test "${enableval}" = yes; then
13856 enableval="SIZE_MAX"
13859 cat >>confdefs.h <<_ACEOF
13860 #define JAS_DEFAULT_MAX_MEM_USAGE ${enableval}
13868 ############################################################
13869 # Enable/disable sanitizers.
13870 ############################################################
13872 # Check whether --enable-asan was given.
13873 if test "${enable_asan+set}" = set; then :
13874 enableval=$enable_asan;
13875 case "${enableval}" in
13877 CFLAGS="$CFLAGS -fsanitize=address"
13878 LDFLAGS="$LDFLAGS -fsanitize=address"
13885 # Check whether --enable-usan was given.
13886 if test "${enable_usan+set}" = set; then :
13887 enableval=$enable_usan;
13888 case "${enableval}" in
13890 CFLAGS="$CFLAGS -fsanitize=undefined"
13891 LDFLAGS="$LDFLAGS -fsanitize=undefined"
13897 # Check whether --enable-leak was given.
13898 if test "${enable_leak+set}" = set; then :
13899 enableval=$enable_leak;
13900 case "${enableval}" in
13902 CFLAGS="$CFLAGS -fsanitize=leak"
13903 LDFLAGS="$LDFLAGS -fsanitize=leak"
13909 # Check whether --enable-msan was given.
13910 if test "${enable_msan+set}" = set; then :
13911 enableval=$enable_msan;
13912 case "${enableval}" in
13914 CFLAGS="$CFLAGS -fsanitize=memory"
13915 LDFLAGS="$LDFLAGS -fsanitize=memory"
13921 ############################################################
13922 # Enable/disable extra code for debugging.
13923 ############################################################
13925 # Check whether --enable-debug was given.
13926 if test "${enable_debug+set}" = set; then :
13927 enableval=$enable_debug;
13928 case "${enableval}" in
13931 $as_echo "#define DEBUG 1" >>confdefs.h
13933 $as_echo "#define DEBUG_OVERFLOW 1" >>confdefs.h
13935 if test "$GCC" = yes; then
13937 CFLAGS="$CFLAGS -g -O0"
13944 as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5
13953 ############################################################
13955 ############################################################
13957 if test -n "$EXTRA_CFLAGS"; then
13958 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
13961 ############################################################
13962 # Generate the configuration header file.
13963 ############################################################
13965 # The private header file generated by AC_CONFIG_HEADERS is not
13966 # currently used. This just causes less verbose command lines
13967 # when make is run.
13968 ac_config_headers="$ac_config_headers src/libjasper/include/jasper/jas_pconf.h"
13971 ############################################################
13972 # Generate the makefiles.
13973 ############################################################
13975 ac_config_files="$ac_config_files src/libjasper/include/jasper/jas_config.h Makefile src/Makefile src/appl/Makefile src/libjasper/Makefile src/libjasper/base/Makefile src/libjasper/bmp/Makefile src/libjasper/include/Makefile src/libjasper/include/jasper/Makefile src/libjasper/jp2/Makefile src/libjasper/jpc/Makefile src/libjasper/jpg/Makefile src/libjasper/mif/Makefile src/libjasper/pgx/Makefile src/libjasper/pnm/Makefile src/libjasper/ras/Makefile src/msvc/Makefile test/Makefile test/bin/Makefile pkgconfig/Makefile pkgconfig/jasper.pc jasper.spec"
13977 cat >confcache <<\_ACEOF
13978 # This file is a shell script that caches the results of configure
13979 # tests run on this system so they can be shared between configure
13980 # scripts and configure runs, see configure's option --config-cache.
13981 # It is not useful on other systems. If it contains results you don't
13982 # want to keep, you may remove or edit it.
13984 # config.status only pays attention to the cache file if you give it
13985 # the --recheck option to rerun configure.
13987 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
13988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13989 # following values.
13993 # The following way of writing the cache mishandles newlines in values,
13994 # but we know of no workaround that is simple, portable, and efficient.
13995 # So, we kill variables containing newlines.
13996 # Ultrix sh set writes to stderr and can't be redirected directly,
13997 # and sets the high bit in the cache file unless we assign to the vars.
13999 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14000 eval ac_val
=\$
$ac_var
14004 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14005 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14008 _ | IFS | as_nl
) ;; #(
14009 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14010 *) { eval $ac_var=; unset $ac_var;} ;;
14016 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14017 *${as_nl}ac_space
=\
*)
14018 # `set' does not quote correctly, so add quotes: double-quote
14019 # substitution turns \\\\ into \\, and sed turns \\ into \.
14022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14025 # `set' quotes correctly as required by POSIX, so do not add quotes.
14026 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14035 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14037 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14039 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14040 if test -w "$cache_file"; then
14041 if test "x$cache_file" != "x/dev/null"; then
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14043 $as_echo "$as_me: updating cache $cache_file" >&6;}
14044 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14045 cat confcache
>"$cache_file"
14047 case $cache_file in #(
14049 mv -f confcache
"$cache_file"$$
&&
14050 mv -f "$cache_file"$$
"$cache_file" ;; #(
14052 mv -f confcache
"$cache_file" ;;
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14058 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14063 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14064 # Let make expand exec_prefix.
14065 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14067 DEFS
=-DHAVE_CONFIG_H
14072 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14073 # 1. Remove the extension, and $U if already installed.
14074 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14075 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14076 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14077 # will be set to the directory where LIBOBJS objects are built.
14078 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14079 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14081 LIBOBJS
=$ac_libobjs
14083 LTLIBOBJS
=$ac_ltlibobjs
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14087 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14088 if test -n "$am_sleep_pid"; then
14089 # Hide warnings about reused PIDs.
14090 wait $am_sleep_pid 2>/dev
/null
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14093 $as_echo "done" >&6; }
14094 if test -n "$EXEEXT"; then
14096 am__EXEEXT_FALSE
='#'
14098 am__EXEEXT_TRUE
='#'
14102 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14103 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14106 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14107 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14110 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14111 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14114 if test -z "${HAVE_LIBJPEG_TRUE}" && test -z "${HAVE_LIBJPEG_FALSE}"; then
14115 as_fn_error $?
"conditional \"HAVE_LIBJPEG\" was never defined.
14116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14118 if test -z "${HAVE_OPENGL_TRUE}" && test -z "${HAVE_OPENGL_FALSE}"; then
14119 as_fn_error $?
"conditional \"HAVE_OPENGL\" was never defined.
14120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14123 : "${CONFIG_STATUS=./config.status}"
14125 ac_clean_files_save
=$ac_clean_files
14126 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14128 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14130 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14132 # Generated by $as_me.
14133 # Run this file to recreate the current configuration.
14134 # Compiler output produced by configure, useful for debugging
14135 # configure, is in config.log if it exists.
14138 ac_cs_recheck=false
14141 SHELL=\${CONFIG_SHELL-$SHELL}
14144 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14145 ## -------------------- ##
14146 ## M4sh Initialization. ##
14147 ## -------------------- ##
14149 # Be more Bourne compatible
14150 DUALCASE
=1; export DUALCASE
# for MKS sh
14151 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14154 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14155 # is contrary to our usage. Disable this feature.
14156 alias -g '${1+"$@"}'='"$@"'
14157 setopt NO_GLOB_SUBST
14159 case `(set -o) 2>/dev/null` in #(
14171 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14172 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14173 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14174 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14175 # Prefer a ksh shell builtin over an external printf program on Solaris,
14176 # but without wasting forks for bash or zsh.
14177 if test -z "$BASH_VERSION$ZSH_VERSION" \
14178 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14179 as_echo='print
-r --'
14180 as_echo_n='print
-rn --'
14181 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14182 as_echo='printf %s
\n'
14183 as_echo_n='printf %s
'
14185 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14186 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14187 as_echo_n='/usr
/ucb
/echo -n'
14189 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14190 as_echo_n_body='eval
14194 expr "X$arg" : "X\\(.*\\)$as_nl";
14195 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14197 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14199 export as_echo_n_body
14200 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14202 export as_echo_body
14203 as_echo='sh
-c $as_echo_body as_echo
'
14206 # The user is always right.
14207 if test "${PATH_SEPARATOR+set}" != set; then
14209 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14210 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14217 # We need space, tab and new line, in precisely that order. Quoting is
14218 # there to prevent editors from complaining about space-tab.
14219 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14220 # splitting by setting IFS to empty value.)
14223 # Find who we are. Look in the path if we contain no directory separator.
14226 *[\\/]* ) as_myself=$0 ;;
14227 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14228 for as_dir in $PATH
14231 test -z "$as_dir" && as_dir=.
14232 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14238 # We did not find ourselves, most probably we were run as `sh COMMAND'
14239 # in which case we are not to be found in the path.
14240 if test "x$as_myself" = x
; then
14243 if test ! -f "$as_myself"; then
14244 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14248 # Unset variables that we do not need and which cause bugs (e.g. in
14249 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14250 # suppresses any "Segmentation fault" message there. '((' could
14251 # trigger a bug in pdksh 5.2.14.
14252 for as_var
in BASH_ENV ENV MAIL MAILPATH
14253 do eval test x\
${$as_var+set} = xset \
14254 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14267 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14270 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14271 # ----------------------------------------
14272 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14273 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14274 # script with STATUS, using 1 if that was 0.
14277 as_status
=$1; test $as_status -eq 0 && as_status
=1
14279 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14280 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14282 $as_echo "$as_me: error: $2" >&2
14283 as_fn_exit
$as_status
14287 # as_fn_set_status STATUS
14288 # -----------------------
14289 # Set $? to STATUS, without forking.
14290 as_fn_set_status
()
14293 } # as_fn_set_status
14295 # as_fn_exit STATUS
14296 # -----------------
14297 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14301 as_fn_set_status
$1
14307 # Portably unset VAR.
14310 { eval $1=; unset $1;}
14312 as_unset
=as_fn_unset
14313 # as_fn_append VAR VALUE
14314 # ----------------------
14315 # Append the text in VALUE to the end of the definition contained in VAR. Take
14316 # advantage of any shell optimizations that allow amortized linear growth over
14317 # repeated appends, instead of the typical quadratic growth present in naive
14319 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14320 eval 'as_fn_append ()
14331 # as_fn_arith ARG...
14332 # ------------------
14333 # Perform arithmetic evaluation on the ARGs, and store the result in the
14334 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14335 # must be portable across $(()) and expr.
14336 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14337 eval 'as_fn_arith ()
14344 as_val
=`expr "$@" || test $? -eq 1`
14349 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14350 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14356 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14357 as_basename
=basename
14362 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14368 as_me
=`$as_basename -- "$0" ||
14369 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14370 X"$0" : 'X\(//\)$' \| \
14371 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14373 sed '/^.*\/\([^/][^/]*\)\/*$/{
14387 # Avoid depending upon Character Ranges.
14388 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14389 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14390 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14391 as_cr_digits
='0123456789'
14392 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14394 ECHO_C
= ECHO_N
= ECHO_T
=
14395 case `echo -n x` in #(((((
14397 case `echo 'xy\c'` in
14398 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14400 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14407 rm -f conf$$ conf$$.exe conf$$.
file
14408 if test -d conf$$.dir
; then
14409 rm -f conf$$.dir
/conf$$.
file
14412 mkdir conf$$.dir
2>/dev
/null
14414 if (echo >conf$$.
file) 2>/dev
/null
; then
14415 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14417 # ... but there are two gotchas:
14418 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14419 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14420 # In both cases, we have to default to `cp -pR'.
14421 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14423 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14431 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14432 rmdir conf$$.dir
2>/dev
/null
14437 # Create "$as_dir" as a directory, including parents if necessary.
14442 -*) as_dir
=.
/$as_dir;;
14444 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14448 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14449 *) as_qdir
=$as_dir;;
14451 as_dirs
="'$as_qdir' $as_dirs"
14452 as_dir
=`$as_dirname -- "$as_dir" ||
14453 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14454 X"$as_dir" : 'X\(//\)[^/]' \| \
14455 X"$as_dir" : 'X\(//\)$' \| \
14456 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14457 $as_echo X"$as_dir" |
14458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14462 /^X\(\/\/\)[^/].*/{
14475 test -d "$as_dir" && break
14477 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14478 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14482 if mkdir
-p .
2>/dev
/null
; then
14483 as_mkdir_p
='mkdir -p "$as_dir"'
14485 test -d .
/-p && rmdir .
/-p
14490 # as_fn_executable_p FILE
14491 # -----------------------
14492 # Test if FILE is an executable regular file.
14493 as_fn_executable_p
()
14495 test -f "$1" && test -x "$1"
14496 } # as_fn_executable_p
14497 as_test_x
='test -x'
14498 as_executable_p
=as_fn_executable_p
14500 # Sed expression to map a string onto a valid CPP name.
14501 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14503 # Sed expression to map a string onto a valid variable name.
14504 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14508 ## ----------------------------------- ##
14509 ## Main body of $CONFIG_STATUS script. ##
14510 ## ----------------------------------- ##
14512 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14515 # Save the log message, to keep $0 and so on meaningful, and to
14516 # report actual input values of CONFIG_FILES etc. instead of their
14517 # values after options handling.
14519 This file was extended by jasper $as_me 1.900.29, which was
14520 generated by GNU Autoconf 2.69. Invocation command line was
14522 CONFIG_FILES = $CONFIG_FILES
14523 CONFIG_HEADERS = $CONFIG_HEADERS
14524 CONFIG_LINKS = $CONFIG_LINKS
14525 CONFIG_COMMANDS = $CONFIG_COMMANDS
14528 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14533 case $ac_config_files in *"
14534 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14537 case $ac_config_headers in *"
14538 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14543 # Files that config.status was made for.
14544 config_files="$ac_config_files"
14545 config_headers="$ac_config_headers"
14546 config_commands="$ac_config_commands"
14550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14552 \`$as_me' instantiates files and other configuration actions
14553 from templates according to the current configuration. Unless the files
14554 and actions are specified as TAGs, all are instantiated by default.
14556 Usage: $0 [OPTION]... [TAG]...
14558 -h, --help print this help, then exit
14559 -V, --version print version number and configuration settings, then exit
14560 --config print configuration, then exit
14561 -q, --quiet, --silent
14562 do not print progress messages
14563 -d, --debug don't remove temporary files
14564 --recheck update $as_me by reconfiguring in the same conditions
14565 --file=FILE[:TEMPLATE]
14566 instantiate the configuration file FILE
14567 --header=FILE[:TEMPLATE]
14568 instantiate the configuration header FILE
14570 Configuration files:
14573 Configuration headers:
14576 Configuration commands:
14579 Report bugs to the package provider."
14582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14583 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14585 jasper config.status 1.900.29
14586 configured by $0, generated by GNU Autoconf 2.69,
14587 with options \\"\$ac_cs_config\\"
14589 Copyright (C) 2012 Free Software Foundation, Inc.
14590 This config.status script is free software; the Free Software Foundation
14591 gives unlimited permission to copy, distribute and modify it."
14598 test -n "\$AWK" || AWK=awk
14601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14602 # The default lists apply if the user does not specify any file.
14608 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14609 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14613 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14625 # Handling of the options.
14626 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14628 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14629 $as_echo "$ac_cs_version"; exit ;;
14630 --config |
--confi |
--conf |
--con |
--co |
--c )
14631 $as_echo "$ac_cs_config"; exit ;;
14632 --debug |
--debu |
--deb |
--de |
--d |
-d )
14634 --file |
--fil |
--fi |
--f )
14637 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14638 '') as_fn_error $?
"missing file argument" ;;
14640 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14641 ac_need_defaults
=false
;;
14642 --header |
--heade |
--head |
--hea )
14645 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14647 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14648 ac_need_defaults
=false
;;
14650 # Conflict between --help and --header
14651 as_fn_error $?
"ambiguous option: \`$1'
14652 Try \`$0 --help' for more information.";;
14653 --help |
--hel |
-h )
14654 $as_echo "$ac_cs_usage"; exit ;;
14655 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14656 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14659 # This is an error.
14660 -*) as_fn_error $?
"unrecognized option: \`$1'
14661 Try \`$0 --help' for more information." ;;
14663 *) as_fn_append ac_config_targets
" $1"
14664 ac_need_defaults
=false
;;
14670 ac_configure_extra_args
=
14672 if $ac_cs_silent; then
14674 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14679 if \$ac_cs_recheck; then
14680 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14682 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14683 CONFIG_SHELL='$SHELL'
14684 export CONFIG_SHELL
14689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14694 ## Running $as_me. ##
14700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14704 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14707 # The HP-UX ksh and POSIX shell print the target directory to stdout
14708 # if CDPATH is set.
14709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14711 sed_quote_subst='$sed_quote_subst'
14712 double_quote_subst='$double_quote_subst'
14713 delay_variable_subst='$delay_variable_subst'
14714 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14715 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14716 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14717 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14718 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14719 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14720 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14721 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14722 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14723 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14724 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14725 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14726 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14727 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14728 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14729 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14730 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14731 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14732 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14733 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14734 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14735 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14736 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14737 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14738 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14739 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14740 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14741 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14742 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14743 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14744 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14745 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14746 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14747 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14748 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14749 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14750 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14751 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14752 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14753 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14754 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14755 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14756 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14757 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14758 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14759 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14760 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14761 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14762 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14763 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14764 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14765 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14766 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14767 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14768 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14770 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"`'
14771 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14772 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14773 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14774 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14775 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14776 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14777 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14778 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14779 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14780 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14781 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14782 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14783 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14784 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14785 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14786 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14787 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14788 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14789 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14790 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14791 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14792 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14793 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14794 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14795 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14796 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14797 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14798 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14799 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14800 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14801 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14802 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14803 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14804 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14805 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14806 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14807 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14808 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14809 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14810 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14811 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14812 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14813 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14814 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14815 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14816 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14817 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14818 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14819 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14820 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14821 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14822 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14823 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14824 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14825 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14826 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14827 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14828 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14829 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14830 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14831 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14832 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14833 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14834 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14835 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14836 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14837 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14838 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14839 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14840 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14841 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14842 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14843 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14846 LTCFLAGS='$LTCFLAGS'
14847 compiler='$compiler_DEFAULT'
14849 # A function that is used when there is no print builtin or printf.
14850 func_fallback_echo ()
14852 eval 'cat <<_LTECHO_EOF
14857 # Quote evaled strings.
14872 deplibs_check_method \
14877 sharedlib_from_linklib_cmd \
14880 archiver_list_spec \
14886 lt_cv_sys_global_symbol_pipe \
14887 lt_cv_sys_global_symbol_to_cdecl \
14888 lt_cv_sys_global_symbol_to_c_name_address \
14889 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14890 nm_file_list_spec \
14891 lt_prog_compiler_no_builtin_flag \
14892 lt_prog_compiler_pic \
14893 lt_prog_compiler_wl \
14894 lt_prog_compiler_static \
14895 lt_cv_prog_compiler_c_o \
14904 export_dynamic_flag_spec \
14905 whole_archive_flag_spec \
14906 compiler_needs_object \
14908 allow_undefined_flag \
14909 no_undefined_flag \
14910 hardcode_libdir_flag_spec \
14911 hardcode_libdir_separator \
14915 variables_saved_for_relink \
14917 library_names_spec \
14919 install_override_mode \
14923 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14924 *[\\\\\\\`\\"\\\$]*)
14925 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14928 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14933 # Double-quote double-evaled strings.
14934 for var in reload_cmds \
14935 old_postinstall_cmds \
14936 old_postuninstall_cmds \
14938 extract_expsyms_cmds \
14939 old_archive_from_new_cmds \
14940 old_archive_from_expsyms_cmds \
14942 archive_expsym_cmds \
14944 module_expsym_cmds \
14945 export_symbols_cmds \
14949 postuninstall_cmds \
14951 sys_lib_search_path_spec \
14952 sys_lib_dlsearch_path_spec; do
14953 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14954 *[\\\\\\\`\\"\\\$]*)
14955 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14958 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14963 ac_aux_dir='$ac_aux_dir'
14964 xsi_shell='$xsi_shell'
14965 lt_shell_append='$lt_shell_append'
14967 # See if we are running on zsh, and set the options which allow our
14968 # commands through without removal of \ escapes INIT.
14969 if test -n "\${ZSH_VERSION+set}" ; then
14970 setopt NO_GLOB_SUBST
14976 TIMESTAMP='$TIMESTAMP'
14985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14987 # Handling of arguments.
14988 for ac_config_target
in $ac_config_targets
14990 case $ac_config_target in
14991 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14992 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14993 "src/libjasper/include/jasper/jas_pconf.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/libjasper/include/jasper/jas_pconf.h" ;;
14994 "src/libjasper/include/jasper/jas_config.h") CONFIG_FILES
="$CONFIG_FILES src/libjasper/include/jasper/jas_config.h" ;;
14995 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14996 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
14997 "src/appl/Makefile") CONFIG_FILES
="$CONFIG_FILES src/appl/Makefile" ;;
14998 "src/libjasper/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/Makefile" ;;
14999 "src/libjasper/base/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/base/Makefile" ;;
15000 "src/libjasper/bmp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/bmp/Makefile" ;;
15001 "src/libjasper/include/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/include/Makefile" ;;
15002 "src/libjasper/include/jasper/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/include/jasper/Makefile" ;;
15003 "src/libjasper/jp2/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/jp2/Makefile" ;;
15004 "src/libjasper/jpc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/jpc/Makefile" ;;
15005 "src/libjasper/jpg/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/jpg/Makefile" ;;
15006 "src/libjasper/mif/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/mif/Makefile" ;;
15007 "src/libjasper/pgx/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/pgx/Makefile" ;;
15008 "src/libjasper/pnm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/pnm/Makefile" ;;
15009 "src/libjasper/ras/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libjasper/ras/Makefile" ;;
15010 "src/msvc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/msvc/Makefile" ;;
15011 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
15012 "test/bin/Makefile") CONFIG_FILES
="$CONFIG_FILES test/bin/Makefile" ;;
15013 "pkgconfig/Makefile") CONFIG_FILES
="$CONFIG_FILES pkgconfig/Makefile" ;;
15014 "pkgconfig/jasper.pc") CONFIG_FILES
="$CONFIG_FILES pkgconfig/jasper.pc" ;;
15015 "jasper.spec") CONFIG_FILES
="$CONFIG_FILES jasper.spec" ;;
15017 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15022 # If the user did not use the arguments to specify the items to instantiate,
15023 # then the envvar interface is used. Set only those that are not.
15024 # We use the long form for the default assignment because of an extremely
15025 # bizarre bug on SunOS 4.1.3.
15026 if $ac_need_defaults; then
15027 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15028 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15029 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15032 # Have a temporary directory for convenience. Make it in the build tree
15033 # simply because there is no reason against having it here, and in addition,
15034 # creating and moving files from /tmp can sometimes cause problems.
15035 # Hook for its removal unless debugging.
15036 # Note that there is a small window in which the directory will not be cleaned:
15037 # after its creation but before its name has been assigned to `$tmp'.
15041 trap 'exit_status=$?
15042 : "${ac_tmp:=$tmp}"
15043 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15045 trap 'as_fn_exit 1' 1 2 13 15
15047 # Create a (secure) tmp directory for tmp files.
15050 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15054 tmp
=.
/conf$$
-$RANDOM
15055 (umask 077 && mkdir
"$tmp")
15056 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15059 # Set up the scripts for CONFIG_FILES section.
15060 # No need to generate them if there are no CONFIG_FILES.
15061 # This happens for instance with `./config.status config.h'.
15062 if test -n "$CONFIG_FILES"; then
15065 ac_cr
=`echo X | tr X '\015'`
15066 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15067 # But we know of no other shell where ac_cr would be empty at this
15068 # point, so we can use a bashism as a fallback.
15069 if test "x$ac_cr" = x
; then
15070 eval ac_cr
=\$
\'\\r
\'
15072 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15073 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15076 ac_cs_awk_cr
=$ac_cr
15079 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15084 echo "cat >conf$$subs.awk <<_ACEOF" &&
15085 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15087 } >conf$$subs.sh ||
15088 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15089 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15091 for ac_last_try in false false false false false :; do
15092 . ./conf$$subs.sh ||
15093 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15095 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15096 if test $ac_delim_n = $ac_delim_num; then
15098 elif $ac_last_try; then
15099 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15101 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15104 rm -f conf$$subs.sh
15106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15107 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15111 s/^/S["/; s
/!.
*/"]=/
15121 s/\(.\{148\}\)..*/\1/
15123 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15128 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15135 s/\(.\{148\}\)..*/\1/
15137 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15141 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15146 ' <conf$$subs.awk | sed '
15151 ' >>$CONFIG_STATUS || ac_write_fail=1
15152 rm -f conf$$subs.awk
15153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15155 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15156 for (key in S) S_is_set[key] = 1
15162 nfields = split(line, field, "@
")
15164 len = length(field[1])
15165 for (i = 2; i < nfields; i++) {
15167 keylen = length(key)
15168 if (S_is_set[key]) {
15170 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15171 len += length(value) + length(field[++i])
15182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15183 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15184 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15187 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15188 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15191 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15192 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15193 # trailing colons and then remove the whole line if VPATH becomes empty
15194 # (actually we leave an empty line to preserve line numbers).
15195 if test "x
$srcdir" = x.; then
15196 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15215 fi # test -n "$CONFIG_FILES"
15217 # Set up the scripts for CONFIG_HEADERS section.
15218 # No need to generate them if there are no CONFIG_HEADERS.
15219 # This happens for instance with `./config.status Makefile'.
15220 if test -n "$CONFIG_HEADERS"; then
15221 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15225 # Transform confdefs.h into an awk script `defines.awk', embedded as
15226 # here-document in config.status, that substitutes the proper values into
15227 # config.h.in to produce config.h.
15229 # Create a delimiter string that does not exist in confdefs.h, to ease
15230 # handling of long lines.
15232 for ac_last_try in false false :; do
15233 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15234 if test -z "$ac_tt"; then
15236 elif $ac_last_try; then
15237 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15239 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15243 # For the awk script, D is an array of macro values keyed by name,
15244 # likewise P contains macro parameters if any. Preserve backslash
15245 # newline sequences.
15247 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15249 s/.\{148\}/&'"$ac_delim"'/g
15252 s/^[ ]*#[ ]*define[ ][ ]*/ /
15259 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15261 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15265 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15266 D["\
1"]=" \
3\\\\\\n
"\\/p
15268 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15273 s/.\{148\}/&'"$ac_delim"'/g
15278 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15281 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15283 ' <confdefs.h | sed '
15284 s/'"$ac_delim"'/"\\\
15285 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15288 for (key in D) D_is_set[key] = 1
15291 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15293 split(line, arg, " ")
15294 if (arg[1] == "#") {
15298 defundef
= substr
(arg
[1], 2)
15301 split(mac1
, mac2
, "(") #)
15303 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15304 if (D_is_set
[macro
]) {
15305 # Preserve the white space surrounding the "#".
15306 print prefix
"define", macro P
[macro
] D
[macro
]
15309 # Replace #undef with comments. This is necessary, for example,
15310 # in the case of _POSIX_SOURCE, which is predefined and required
15311 # on some systems where configure will not decide to define it.
15312 if (defundef
== "undef") {
15313 print
"/*", prefix defundef
, macro
, "*/"
15321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15322 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15323 fi # test -n "$CONFIG_HEADERS"
15326 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15331 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15333 case $ac_mode$ac_tag in
15335 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15336 :[FH
]-) ac_tag
=-:-;;
15337 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15354 -) ac_f
="$ac_tmp/stdin";;
15355 *) # Look for the file first in the build tree, then in the source tree
15356 # (if the path is not absolute). The absolute path cannot be DOS-style,
15357 # because $ac_f cannot contain `:'.
15361 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15363 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15365 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15366 as_fn_append ac_file_inputs
" '$ac_f'"
15369 # Let's still pretend it is `configure' which instantiates (i.e., don't
15370 # use $as_me), people would be surprised to read:
15371 # /* config.h. Generated by config.status. */
15372 configure_input
='Generated from '`
15373 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15375 if test x
"$ac_file" != x-
; then
15376 configure_input
="$ac_file. $configure_input"
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15378 $as_echo "$as_me: creating $ac_file" >&6;}
15380 # Neutralize special characters interpreted by sed in replacement strings.
15381 case $configure_input in #(
15382 *\
&* |
*\|
* |
*\\* )
15383 ac_sed_conf_input
=`$as_echo "$configure_input" |
15384 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15385 *) ac_sed_conf_input
=$configure_input;;
15389 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
15390 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15395 ac_dir
=`$as_dirname -- "$ac_file" ||
15396 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15397 X"$ac_file" : 'X\(//\)[^/]' \| \
15398 X"$ac_file" : 'X\(//\)$' \| \
15399 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15400 $as_echo X"$ac_file" |
15401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15405 /^X\(\/\/\)[^/].*/{
15418 as_dir
="$ac_dir"; as_fn_mkdir_p
15422 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15424 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15425 # A ".." for each directory in $ac_dir_suffix.
15426 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15427 case $ac_top_builddir_sub in
15428 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15429 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15432 ac_abs_top_builddir
=$ac_pwd
15433 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15434 # for backward compatibility:
15435 ac_top_builddir
=$ac_top_build_prefix
15438 .
) # We are building in place.
15440 ac_top_srcdir
=$ac_top_builddir_sub
15441 ac_abs_top_srcdir
=$ac_pwd ;;
15442 [\\/]* | ?
:[\\/]* ) # Absolute name.
15443 ac_srcdir
=$srcdir$ac_dir_suffix;
15444 ac_top_srcdir
=$srcdir
15445 ac_abs_top_srcdir
=$srcdir ;;
15446 *) # Relative name.
15447 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15448 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15449 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15451 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15461 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15462 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15464 ac_MKDIR_P
=$MKDIR_P
15466 [\\/$
]* | ?
:[\\/]* ) ;;
15467 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15472 # If the template does not know about datarootdir, expand it.
15473 # FIXME: This hack should be removed a few years after 2.60.
15474 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15485 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15486 *datarootdir
*) ac_datarootdir_seen
=yes;;
15487 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15489 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15492 ac_datarootdir_hack='
15493 s&@datadir@&$datadir&g
15494 s&@docdir@&$docdir&g
15495 s&@infodir@&$infodir&g
15496 s&@localedir@&$localedir&g
15497 s&@mandir@&$mandir&g
15498 s&\\\${datarootdir}&$datarootdir&g' ;;
15502 # Neutralize VPATH when `$srcdir' = `.'.
15503 # Shell code in configure.ac might set extrasub.
15504 # FIXME: do we really want to maintain this feature?
15505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15506 ac_sed_extra="$ac_vpsub
15509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15511 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15512 s|@configure_input@|
$ac_sed_conf_input|
;t t
15513 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15514 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15515 s
&@srcdir@
&$ac_srcdir&;t t
15516 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15517 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15518 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15519 s
&@builddir@
&$ac_builddir&;t t
15520 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15521 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15522 s
&@INSTALL@
&$ac_INSTALL&;t t
15523 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15524 $ac_datarootdir_hack
15526 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15527 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15529 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15530 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15531 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15532 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15534 which seems to be undefined. Please make sure it is defined" >&5
15535 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15536 which seems to be undefined. Please make sure it is defined" >&2;}
15538 rm -f "$ac_tmp/stdin"
15540 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15541 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15543 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15549 if test x"$ac_file" != x-; then
15551 $as_echo "/* $configure_input */" \
15552 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15553 } >"$ac_tmp/config.h" \
15554 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15555 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15557 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15560 mv "$ac_tmp/config.h" "$ac_file" \
15561 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15564 $as_echo "/* $configure_input */" \
15565 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15566 || as_fn_error $? "could not create -" "$LINENO" 5
15568 # Compute "$ac_file"'s index
in $config_headers.
15571 for _am_header
in $config_headers :; do
15572 case $_am_header in
15573 $_am_arg |
$_am_arg:* )
15576 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15579 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15580 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15581 X"$_am_arg" : 'X\(//\)[^/]' \| \
15582 X"$_am_arg" : 'X\(//\)$' \| \
15583 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15584 $as_echo X"$_am_arg" |
15585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15589 /^X\(\/\/\)[^/].*/{
15601 s/.*/./; q'`/stamp-h
$_am_stamp_count
15604 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15605 $as_echo "$as_me: executing $ac_file commands" >&6;}
15610 case $ac_file$ac_mode in
15611 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15612 # Older Autoconf quotes --file arguments for eval, but not when files
15613 # are listed without --file. Let's play safe and only enable the eval
15614 # if we detect the quoting.
15615 case $CONFIG_FILES in
15616 *\'*) eval set x
"$CONFIG_FILES" ;;
15617 *) set x
$CONFIG_FILES ;;
15622 # Strip MF so we end up with the name of the file.
15623 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15624 # Check whether this is an Automake generated Makefile or not.
15625 # We used to match only the files named 'Makefile.in', but
15626 # some people rename them; so instead we look at the file content.
15627 # Grep'ing the first line is not enough: some people post-process
15628 # each Makefile.in and add a new line on top of each file to say so.
15629 # Grep'ing the whole file is not good either: AIX grep has a line
15630 # limit of 2048, but all sed's we know have understand at least 4000.
15631 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15632 dirpart
=`$as_dirname -- "$mf" ||
15633 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15634 X"$mf" : 'X\(//\)[^/]' \| \
15635 X"$mf" : 'X\(//\)$' \| \
15636 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15642 /^X\(\/\/\)[^/].*/{
15658 # Extract the definition of DEPDIR, am__include, and am__quote
15659 # from the Makefile without running 'make'.
15660 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15661 test -z "$DEPDIR" && continue
15662 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15663 test -z "$am__include" && continue
15664 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15665 # Find all dependency output files, they are included files with
15666 # $(DEPDIR) in their names. We invoke sed twice because it is the
15667 # simplest approach to changing $(DEPDIR) to its actual value in the
15669 for file in `sed -n "
15670 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15671 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15672 # Make sure the directory exists.
15673 test -f "$dirpart/$file" && continue
15674 fdir
=`$as_dirname -- "$file" ||
15675 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15676 X"$file" : 'X\(//\)[^/]' \| \
15677 X"$file" : 'X\(//\)$' \| \
15678 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15679 $as_echo X"$file" |
15680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15684 /^X\(\/\/\)[^/].*/{
15697 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15698 # echo "creating $dirpart/$file"
15699 echo '# dummy' > "$dirpart/$file"
15706 # See if we are running on zsh, and set the options which allow our
15707 # commands through without removal of \ escapes.
15708 if test -n "${ZSH_VERSION+set}" ; then
15709 setopt NO_GLOB_SUBST
15712 cfgfile
="${ofile}T"
15713 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15716 cat <<_LT_EOF >> "$cfgfile"
15719 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15720 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15721 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15722 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15724 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15725 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15727 # Written by Gordon Matzigkeit, 1996
15729 # This file is part of GNU Libtool.
15731 # GNU Libtool is free software; you can redistribute it and/or
15732 # modify it under the terms of the GNU General Public License as
15733 # published by the Free Software Foundation; either version 2 of
15734 # the License, or (at your option) any later version.
15736 # As a special exception to the GNU General Public License,
15737 # if you distribute this file as part of a program or library that
15738 # is built using GNU Libtool, you may include this file under the
15739 # same distribution terms that you use for the rest of that program.
15741 # GNU Libtool is distributed in the hope that it will be useful,
15742 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15743 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15744 # GNU General Public License for more details.
15746 # You should have received a copy of the GNU General Public License
15747 # along with GNU Libtool; see the file COPYING. If not, a copy
15748 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15749 # obtained by writing to the Free Software Foundation, Inc.,
15750 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15753 # The names of the tagged configurations supported by this script.
15756 # ### BEGIN LIBTOOL CONFIG
15758 # Which release of libtool.m4 was used?
15759 macro_version=$macro_version
15760 macro_revision=$macro_revision
15762 # Whether or not to build shared libraries.
15763 build_libtool_libs=$enable_shared
15765 # Whether or not to build static libraries.
15766 build_old_libs=$enable_static
15768 # What type of objects to build.
15771 # Whether or not to optimize for fast installation.
15772 fast_install=$enable_fast_install
15774 # Shell to use when invoking shell scripts.
15777 # An echo program that protects backslashes.
15780 # The PATH separator for the build system.
15781 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15784 host_alias=$host_alias
15788 # The build system.
15789 build_alias=$build_alias
15793 # A sed program that does not truncate output.
15796 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15797 Xsed="\$SED -e 1s/^X//"
15799 # A grep program that handles long lines.
15805 # A literal string matcher.
15808 # A BSD- or MS-compatible name lister.
15811 # Whether we need soft or hard links.
15814 # What is the maximum length of a command?
15815 max_cmd_len=$max_cmd_len
15817 # Object file suffix (normally "o").
15820 # Executable file suffix (normally "").
15823 # whether the shell understands "unset".
15826 # turn spaces into newlines.
15829 # turn newlines into spaces.
15832 # convert \$build file names to \$host format.
15833 to_host_file_cmd=$lt_cv_to_host_file_cmd
15835 # convert \$build files to toolchain format.
15836 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15838 # An object symbol dumper.
15839 OBJDUMP=$lt_OBJDUMP
15841 # Method to check whether dependent libraries are shared objects.
15842 deplibs_check_method=$lt_deplibs_check_method
15844 # Command to use when deplibs_check_method = "file_magic".
15845 file_magic_cmd=$lt_file_magic_cmd
15847 # How to find potential files when deplibs_check_method = "file_magic".
15848 file_magic_glob=$lt_file_magic_glob
15850 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15851 want_nocaseglob=$lt_want_nocaseglob
15853 # DLL creation program.
15854 DLLTOOL=$lt_DLLTOOL
15856 # Command to associate shared and link libraries.
15857 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15862 # Flags to create an archive.
15863 AR_FLAGS=$lt_AR_FLAGS
15865 # How to feed a file listing to the archiver.
15866 archiver_list_spec=$lt_archiver_list_spec
15868 # A symbol stripping program.
15871 # Commands used to install an old-style archive.
15873 old_postinstall_cmds=$lt_old_postinstall_cmds
15874 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15876 # Whether to use a lock for old archive extraction.
15877 lock_old_archive_extraction=$lock_old_archive_extraction
15882 # LTCC compiler flags.
15883 LTCFLAGS=$lt_CFLAGS
15885 # Take the output of nm and produce a listing of raw symbols and C names.
15886 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15888 # Transform the output of nm in a proper C declaration.
15889 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15891 # Transform the output of nm in a C name address pair.
15892 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15894 # Transform the output of nm in a C name address pair when lib prefix is needed.
15895 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15897 # Specify filename containing input files for \$NM.
15898 nm_file_list_spec=$lt_nm_file_list_spec
15900 # The root where to search for dependent libraries,and in which our libraries should be installed.
15901 lt_sysroot=$lt_sysroot
15903 # The name of the directory that contains temporary libtool files.
15906 # Used to examine libraries when file_magic_cmd begins with "file".
15907 MAGIC_CMD=$MAGIC_CMD
15909 # Must we lock files when doing compilation?
15910 need_locks=$lt_need_locks
15913 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15915 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15916 DSYMUTIL=$lt_DSYMUTIL
15918 # Tool to change global to local symbols on Mac OS X.
15921 # Tool to manipulate fat objects and archives on Mac OS X.
15924 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15927 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15928 OTOOL64=$lt_OTOOL64
15930 # Old archive suffix (normally "a").
15933 # Shared library suffix (normally ".so").
15934 shrext_cmds=$lt_shrext_cmds
15936 # The commands to extract the exported symbol list from a shared archive.
15937 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15939 # Variables whose values should be saved in libtool wrapper scripts and
15940 # restored at link time.
15941 variables_saved_for_relink=$lt_variables_saved_for_relink
15943 # Do we need the "lib" prefix for modules?
15944 need_lib_prefix=$need_lib_prefix
15946 # Do we need a version for libraries?
15947 need_version=$need_version
15949 # Library versioning type.
15950 version_type=$version_type
15952 # Shared library runtime path variable.
15953 runpath_var=$runpath_var
15955 # Shared library path variable.
15956 shlibpath_var=$shlibpath_var
15958 # Is shlibpath searched before the hard-coded library search path?
15959 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15961 # Format of library name prefix.
15962 libname_spec=$lt_libname_spec
15964 # List of archive names. First name is the real one, the rest are links.
15965 # The last name is the one that the linker finds with -lNAME
15966 library_names_spec=$lt_library_names_spec
15968 # The coded name of the library, if different from the real name.
15969 soname_spec=$lt_soname_spec
15971 # Permission mode override for installation of shared libraries.
15972 install_override_mode=$lt_install_override_mode
15974 # Command to use after installation of a shared archive.
15975 postinstall_cmds=$lt_postinstall_cmds
15977 # Command to use after uninstallation of a shared archive.
15978 postuninstall_cmds=$lt_postuninstall_cmds
15980 # Commands used to finish a libtool library installation in a directory.
15981 finish_cmds=$lt_finish_cmds
15983 # As "finish_cmds", except a single script fragment to be evaled but
15985 finish_eval=$lt_finish_eval
15987 # Whether we should hardcode library paths into libraries.
15988 hardcode_into_libs=$hardcode_into_libs
15990 # Compile-time system search path for libraries.
15991 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15993 # Run-time system search path for libraries.
15994 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15996 # Whether dlopen is supported.
15997 dlopen_support=$enable_dlopen
15999 # Whether dlopen of programs is supported.
16000 dlopen_self=$enable_dlopen_self
16002 # Whether dlopen of statically linked programs is supported.
16003 dlopen_self_static=$enable_dlopen_self_static
16005 # Commands to strip libraries.
16006 old_striplib=$lt_old_striplib
16007 striplib=$lt_striplib
16010 # The linker used to build libraries.
16013 # How to create reloadable object files.
16014 reload_flag=$lt_reload_flag
16015 reload_cmds=$lt_reload_cmds
16017 # Commands used to build an old-style archive.
16018 old_archive_cmds=$lt_old_archive_cmds
16020 # A language specific compiler.
16023 # Is the compiler the GNU compiler?
16026 # Compiler flag to turn off builtin functions.
16027 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16029 # Additional compiler flags for building library objects.
16030 pic_flag=$lt_lt_prog_compiler_pic
16032 # How to pass a linker flag through the compiler.
16033 wl=$lt_lt_prog_compiler_wl
16035 # Compiler flag to prevent dynamic linking.
16036 link_static_flag=$lt_lt_prog_compiler_static
16038 # Does compiler simultaneously support -c and -o options?
16039 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16041 # Whether or not to add -lc for building shared libraries.
16042 build_libtool_need_lc=$archive_cmds_need_lc
16044 # Whether or not to disallow shared libs when runtime libs are static.
16045 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16047 # Compiler flag to allow reflexive dlopens.
16048 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16050 # Compiler flag to generate shared objects directly from archives.
16051 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16053 # Whether the compiler copes with passing no objects directly.
16054 compiler_needs_object=$lt_compiler_needs_object
16056 # Create an old-style archive from a shared archive.
16057 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16059 # Create a temporary old-style archive to link instead of a shared archive.
16060 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16062 # Commands used to build a shared archive.
16063 archive_cmds=$lt_archive_cmds
16064 archive_expsym_cmds=$lt_archive_expsym_cmds
16066 # Commands used to build a loadable module if different from building
16067 # a shared archive.
16068 module_cmds=$lt_module_cmds
16069 module_expsym_cmds=$lt_module_expsym_cmds
16071 # Whether we are building with GNU ld or not.
16072 with_gnu_ld=$lt_with_gnu_ld
16074 # Flag that allows shared libraries with undefined symbols to be built.
16075 allow_undefined_flag=$lt_allow_undefined_flag
16077 # Flag that enforces no undefined symbols.
16078 no_undefined_flag=$lt_no_undefined_flag
16080 # Flag to hardcode \$libdir into a binary during linking.
16081 # This must work even if \$libdir does not exist
16082 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16084 # Whether we need a single "-rpath" flag with a separated argument.
16085 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16087 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16088 # DIR into the resulting binary.
16089 hardcode_direct=$hardcode_direct
16091 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16092 # DIR into the resulting binary and the resulting library dependency is
16093 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16094 # library is relocated.
16095 hardcode_direct_absolute=$hardcode_direct_absolute
16097 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16098 # into the resulting binary.
16099 hardcode_minus_L=$hardcode_minus_L
16101 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16102 # into the resulting binary.
16103 hardcode_shlibpath_var=$hardcode_shlibpath_var
16105 # Set to "yes" if building a shared library automatically hardcodes DIR
16106 # into the library and all subsequent libraries and executables linked
16108 hardcode_automatic=$hardcode_automatic
16110 # Set to yes if linker adds runtime paths of dependent libraries
16111 # to runtime path list.
16112 inherit_rpath=$inherit_rpath
16114 # Whether libtool must link a program against all its dependency libraries.
16115 link_all_deplibs=$link_all_deplibs
16117 # Set to "yes" if exported symbols are required.
16118 always_export_symbols=$always_export_symbols
16120 # The commands to list exported symbols.
16121 export_symbols_cmds=$lt_export_symbols_cmds
16123 # Symbols that should not be listed in the preloaded symbols.
16124 exclude_expsyms=$lt_exclude_expsyms
16126 # Symbols that must always be exported.
16127 include_expsyms=$lt_include_expsyms
16129 # Commands necessary for linking programs (against libraries) with templates.
16130 prelink_cmds=$lt_prelink_cmds
16132 # Commands necessary for finishing linking programs.
16133 postlink_cmds=$lt_postlink_cmds
16135 # Specify filename containing input files.
16136 file_list_spec=$lt_file_list_spec
16138 # How to hardcode a shared library path into an executable.
16139 hardcode_action=$hardcode_action
16141 # ### END LIBTOOL CONFIG
16147 cat <<\_LT_EOF
>> "$cfgfile"
16148 # AIX sometimes has problems with the GCC collect2 program. For some
16149 # reason, if we set the COLLECT_NAMES environment variable, the problems
16150 # vanish in a puff of smoke.
16151 if test "X${COLLECT_NAMES+set}" != Xset
; then
16153 export COLLECT_NAMES
16160 ltmain
="$ac_aux_dir/ltmain.sh"
16163 # We use sed instead of cat because bash on DJGPP gets confused if
16164 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16165 # text mode, it properly converts lines to CR/LF. This bash problem
16166 # is reportedly fixed, but why not run on old versions too?
16167 sed '$q' "$ltmain" >> "$cfgfile" \
16168 ||
(rm -f "$cfgfile"; exit 1)
16170 if test x
"$xsi_shell" = xyes
; then
16171 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16175 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16176 \ * ) func_dirname_result="${3}" ;;\
16178 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16179 && mv -f "$cfgfile.tmp" "$cfgfile" \
16180 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16181 test 0 -eq $? || _lt_function_replace_fail
=:
16184 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16187 \ func_basename_result="${1##*/}"\
16188 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16189 && mv -f "$cfgfile.tmp" "$cfgfile" \
16190 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16191 test 0 -eq $? || _lt_function_replace_fail
=:
16194 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16195 func_dirname_and_basename ()\
16198 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16199 \ * ) func_dirname_result="${3}" ;;\
16201 \ func_basename_result="${1##*/}"\
16202 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16203 && mv -f "$cfgfile.tmp" "$cfgfile" \
16204 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16205 test 0 -eq $? || _lt_function_replace_fail
=:
16208 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16211 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16212 \ # positional parameters, so assign one to ordinary parameter first.\
16213 \ func_stripname_result=${3}\
16214 \ func_stripname_result=${func_stripname_result#"${1}"}\
16215 \ func_stripname_result=${func_stripname_result%"${2}"}\
16216 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16217 && mv -f "$cfgfile.tmp" "$cfgfile" \
16218 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16219 test 0 -eq $? || _lt_function_replace_fail
=:
16222 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16223 func_split_long_opt ()\
16225 \ func_split_long_opt_name=${1%%=*}\
16226 \ func_split_long_opt_arg=${1#*=}\
16227 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16228 && mv -f "$cfgfile.tmp" "$cfgfile" \
16229 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16230 test 0 -eq $? || _lt_function_replace_fail
=:
16233 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16234 func_split_short_opt ()\
16236 \ func_split_short_opt_arg=${1#??}\
16237 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16238 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16239 && mv -f "$cfgfile.tmp" "$cfgfile" \
16240 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16241 test 0 -eq $? || _lt_function_replace_fail
=:
16244 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16248 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16249 \ *) func_lo2o_result=${1} ;;\
16251 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16252 && mv -f "$cfgfile.tmp" "$cfgfile" \
16253 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16254 test 0 -eq $? || _lt_function_replace_fail
=:
16257 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16260 func_xform_result=${1%.*}.lo\
16261 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16262 && mv -f "$cfgfile.tmp" "$cfgfile" \
16263 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16264 test 0 -eq $? || _lt_function_replace_fail
=:
16267 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16270 func_arith_result=$(( $* ))\
16271 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16272 && mv -f "$cfgfile.tmp" "$cfgfile" \
16273 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16274 test 0 -eq $? || _lt_function_replace_fail
=:
16277 sed -e '/^func_len ()$/,/^} # func_len /c\
16280 func_len_result=${#1}\
16281 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16282 && mv -f "$cfgfile.tmp" "$cfgfile" \
16283 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16284 test 0 -eq $? || _lt_function_replace_fail
=:
16288 if test x
"$lt_shell_append" = xyes
; then
16289 sed -e '/^func_append ()$/,/^} # func_append /c\
16292 eval "${1}+=\\${2}"\
16293 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16294 && mv -f "$cfgfile.tmp" "$cfgfile" \
16295 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16296 test 0 -eq $? || _lt_function_replace_fail
=:
16299 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16300 func_append_quoted ()\
16302 \ func_quote_for_eval "${2}"\
16303 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16304 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16305 && mv -f "$cfgfile.tmp" "$cfgfile" \
16306 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16307 test 0 -eq $? || _lt_function_replace_fail
=:
16310 # Save a `func_append' function call where possible by direct use of '+='
16311 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16312 && mv -f "$cfgfile.tmp" "$cfgfile" \
16313 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16314 test 0 -eq $? || _lt_function_replace_fail
=:
16316 # Save a `func_append' function call even when '+=' is not available
16317 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16318 && mv -f "$cfgfile.tmp" "$cfgfile" \
16319 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16320 test 0 -eq $? || _lt_function_replace_fail
=:
16323 if test x
"$_lt_function_replace_fail" = x
":"; then
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16325 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16329 mv -f "$cfgfile" "$ofile" ||
16330 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16341 ac_clean_files
=$ac_clean_files_save
16343 test $ac_write_fail = 0 ||
16344 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16347 # configure is writing to config.log, and then calls config.status.
16348 # config.status does its own redirection, appending to config.log.
16349 # Unfortunately, on DOS this fails, as config.log is still kept open
16350 # by configure, so config.status won't be able to write to it; its
16351 # output is simply discarded. So we exec the FD to /dev/null,
16352 # effectively closing config.log, so it can be properly (re)opened and
16353 # appended to by config.status. When coming back to configure, we
16354 # need to make the FD available again.
16355 if test "$no_create" != yes; then
16357 ac_config_status_args
=
16358 test "$silent" = yes &&
16359 ac_config_status_args
="$ac_config_status_args --quiet"
16361 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16363 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16364 # would make configure fail if this is the last instruction.
16365 $ac_cs_success || as_fn_exit
1
16367 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16369 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}