PR c++/54575
[official-gcc.git] / libjava / classpath / configure
blob48a422ab10226ba43ff05ad3fd093f35f557f2ec
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Classpath 0.99.
5 # Report bugs to <classpath@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
150 esac
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166 else
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
183 if (eval "$as_required") 2>/dev/null; then :
184 as_have_required=yes
185 else
186 as_have_required=no
188 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190 else
191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
192 as_found=false
193 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 IFS=$as_save_IFS
196 test -z "$as_dir" && as_dir=.
197 as_found=:
198 case $as_dir in #(
200 for as_base in sh bash ksh sh5; do
201 # Try only shells that exist, to save several forks.
202 as_shell=$as_dir/$as_base
203 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 CONFIG_SHELL=$as_shell as_have_required=yes
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 break 2
210 done;;
211 esac
212 as_found=false
213 done
214 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
216 CONFIG_SHELL=$SHELL as_have_required=yes
217 fi; }
218 IFS=$as_save_IFS
221 if test "x$CONFIG_SHELL" != x; then :
222 # We cannot yet assume a decent shell, so we have to provide a
223 # neutralization value for shells without unset; and this also
224 # works around shells that cannot unset nonexistent variables.
225 BASH_ENV=/dev/null
226 ENV=/dev/null
227 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
228 export CONFIG_SHELL
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 else
239 $as_echo "$0: Please tell bug-autoconf@gnu.org and classpath@gnu.org
240 $0: about your system, including any error possibly output
241 $0: before this message. Then install a modern shell, or
242 $0: manually run the script under such a shell if you do
243 $0: have one."
245 exit 1
249 SHELL=${CONFIG_SHELL-/bin/sh}
250 export SHELL
251 # Unset more variables known to interfere with behavior of common tools.
252 CLICOLOR_FORCE= GREP_OPTIONS=
253 unset CLICOLOR_FORCE GREP_OPTIONS
255 ## --------------------- ##
256 ## M4sh Shell Functions. ##
257 ## --------------------- ##
258 # as_fn_unset VAR
259 # ---------------
260 # Portably unset VAR.
261 as_fn_unset ()
263 { eval $1=; unset $1;}
265 as_unset=as_fn_unset
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
270 as_fn_set_status ()
272 return $1
273 } # as_fn_set_status
275 # as_fn_exit STATUS
276 # -----------------
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 as_fn_exit ()
280 set +e
281 as_fn_set_status $1
282 exit $1
283 } # as_fn_exit
285 # as_fn_mkdir_p
286 # -------------
287 # Create "$as_dir" as a directory, including parents if necessary.
288 as_fn_mkdir_p ()
291 case $as_dir in #(
292 -*) as_dir=./$as_dir;;
293 esac
294 test -d "$as_dir" || eval $as_mkdir_p || {
295 as_dirs=
296 while :; do
297 case $as_dir in #(
298 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
299 *) as_qdir=$as_dir;;
300 esac
301 as_dirs="'$as_qdir' $as_dirs"
302 as_dir=`$as_dirname -- "$as_dir" ||
303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
304 X"$as_dir" : 'X\(//\)[^/]' \| \
305 X"$as_dir" : 'X\(//\)$' \| \
306 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
307 $as_echo X"$as_dir" |
308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
309 s//\1/
312 /^X\(\/\/\)[^/].*/{
313 s//\1/
316 /^X\(\/\/\)$/{
317 s//\1/
320 /^X\(\/\).*/{
321 s//\1/
324 s/.*/./; q'`
325 test -d "$as_dir" && break
326 done
327 test -z "$as_dirs" || eval "mkdir $as_dirs"
328 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
331 } # as_fn_mkdir_p
332 # as_fn_append VAR VALUE
333 # ----------------------
334 # Append the text in VALUE to the end of the definition contained in VAR. Take
335 # advantage of any shell optimizations that allow amortized linear growth over
336 # repeated appends, instead of the typical quadratic growth present in naive
337 # implementations.
338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
339 eval 'as_fn_append ()
341 eval $1+=\$2
343 else
344 as_fn_append ()
346 eval $1=\$$1\$2
348 fi # as_fn_append
350 # as_fn_arith ARG...
351 # ------------------
352 # Perform arithmetic evaluation on the ARGs, and store the result in the
353 # global $as_val. Take advantage of shells that can avoid forks. The arguments
354 # must be portable across $(()) and expr.
355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356 eval 'as_fn_arith ()
358 as_val=$(( $* ))
360 else
361 as_fn_arith ()
363 as_val=`expr "$@" || test $? -eq 1`
365 fi # as_fn_arith
368 # as_fn_error ERROR [LINENO LOG_FD]
369 # ---------------------------------
370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
372 # script with status $?, using 1 if that was 0.
373 as_fn_error ()
375 as_status=$?; test $as_status -eq 0 && as_status=1
376 if test "$3"; then
377 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
380 $as_echo "$as_me: error: $1" >&2
381 as_fn_exit $as_status
382 } # as_fn_error
384 if expr a : '\(a\)' >/dev/null 2>&1 &&
385 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 as_expr=expr
387 else
388 as_expr=false
391 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 as_basename=basename
393 else
394 as_basename=false
397 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_dirname=dirname
399 else
400 as_dirname=false
403 as_me=`$as_basename -- "$0" ||
404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
405 X"$0" : 'X\(//\)$' \| \
406 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 $as_echo X/"$0" |
408 sed '/^.*\/\([^/][^/]*\)\/*$/{
409 s//\1/
412 /^X\/\(\/\/\)$/{
413 s//\1/
416 /^X\/\(\/\).*/{
417 s//\1/
420 s/.*/./; q'`
422 # Avoid depending upon Character Ranges.
423 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
424 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
425 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
426 as_cr_digits='0123456789'
427 as_cr_alnum=$as_cr_Letters$as_cr_digits
430 as_lineno_1=$LINENO as_lineno_1a=$LINENO
431 as_lineno_2=$LINENO as_lineno_2a=$LINENO
432 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
433 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
434 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 sed -n '
437 /[$]LINENO/=
438 ' <$as_myself |
439 sed '
440 s/[$]LINENO.*/&-/
441 t lineno
443 :lineno
445 :loop
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 t loop
448 s/-\n.*//
449 ' >$as_me.lineno &&
450 chmod +x "$as_me.lineno" ||
451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
461 ECHO_C= ECHO_N= ECHO_T=
462 case `echo -n x` in #(((((
463 -n*)
464 case `echo 'xy\c'` in
465 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
466 xy) ECHO_C='\c';;
467 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 ECHO_T=' ';;
469 esac;;
471 ECHO_N='-n';;
472 esac
474 rm -f conf$$ conf$$.exe conf$$.file
475 if test -d conf$$.dir; then
476 rm -f conf$$.dir/conf$$.file
477 else
478 rm -f conf$$.dir
479 mkdir conf$$.dir 2>/dev/null
481 if (echo >conf$$.file) 2>/dev/null; then
482 if ln -s conf$$.file conf$$ 2>/dev/null; then
483 as_ln_s='ln -s'
484 # ... but there are two gotchas:
485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
487 # In both cases, we have to default to `cp -p'.
488 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489 as_ln_s='cp -p'
490 elif ln conf$$.file conf$$ 2>/dev/null; then
491 as_ln_s=ln
492 else
493 as_ln_s='cp -p'
495 else
496 as_ln_s='cp -p'
498 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
499 rmdir conf$$.dir 2>/dev/null
501 if mkdir -p . 2>/dev/null; then
502 as_mkdir_p='mkdir -p "$as_dir"'
503 else
504 test -d ./-p && rmdir ./-p
505 as_mkdir_p=false
508 if test -x / >/dev/null 2>&1; then
509 as_test_x='test -x'
510 else
511 if ls -dL / >/dev/null 2>&1; then
512 as_ls_L_option=L
513 else
514 as_ls_L_option=
516 as_test_x='
517 eval sh -c '\''
518 if test -d "$1"; then
519 test -d "$1/.";
520 else
521 case $1 in #(
522 -*)set "./$1";;
523 esac;
524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
525 ???[sx]*):;;*)false;;esac;fi
526 '\'' sh
529 as_executable_p=$as_test_x
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 SHELL=${CONFIG_SHELL-/bin/sh}
540 exec 7<&0 </dev/null 6>&1
542 # Name of the host.
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 # Initializations.
550 ac_default_prefix=/usr/local
551 ac_clean_files=
552 ac_config_libobj_dir=.
553 LIBOBJS=
554 cross_compiling=no
555 subdirs=
556 MFLAGS=
557 MAKEFLAGS=
559 # Identity of this package.
560 PACKAGE_NAME='GNU Classpath'
561 PACKAGE_TARNAME='classpath'
562 PACKAGE_VERSION='0.99'
563 PACKAGE_STRING='GNU Classpath 0.99'
564 PACKAGE_BUGREPORT='classpath@gnu.org'
565 PACKAGE_URL='http://www.gnu.org/software/classpath/'
567 ac_unique_file="java/lang/System.java"
568 ac_default_prefix=/usr/local/classpath
569 # Factoring default headers for most tests.
570 ac_includes_default="\
571 #include <stdio.h>
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
574 #endif
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
577 #endif
578 #ifdef STDC_HEADERS
579 # include <stdlib.h>
580 # include <stddef.h>
581 #else
582 # ifdef HAVE_STDLIB_H
583 # include <stdlib.h>
584 # endif
585 #endif
586 #ifdef HAVE_STRING_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 # include <memory.h>
589 # endif
590 # include <string.h>
591 #endif
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
594 #endif
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
597 #endif
598 #ifdef HAVE_STDINT_H
599 # include <stdint.h>
600 #endif
601 #ifdef HAVE_UNISTD_H
602 # include <unistd.h>
603 #endif"
605 ac_subst_vars='am__EXEEXT_FALSE
606 am__EXEEXT_TRUE
607 LTLIBOBJS
608 LIBOBJS
609 CREATE_GMPBI_LIBRARY_FALSE
610 CREATE_GMPBI_LIBRARY_TRUE
611 WANT_NATIVE_BIG_INTEGER
612 DEFAULT_PREFS_PEER
613 ENABLE_LOCAL_SOCKETS_FALSE
614 ENABLE_LOCAL_SOCKETS_TRUE
615 PATH_TO_ESCHER
616 USE_ESCHER_FALSE
617 USE_ESCHER_TRUE
618 JAVAC_MEM_OPT
619 ac_ct_ANTLR
620 ANTLR
621 ANTLR_JAR
622 GCJ_JAVAC_FALSE
623 GCJ_JAVAC_TRUE
624 JAVAC_IS_GCJ
625 JAVAC
626 uudecode
627 JAVA
628 PATH_TO_GLIBJ_ZIP
629 USE_PREBUILT_GLIBJ_ZIP_FALSE
630 USE_PREBUILT_GLIBJ_ZIP_TRUE
631 REGEN_PARSERS_FALSE
632 REGEN_PARSERS_TRUE
633 JAY_SKELETON
635 CREATE_API_DOCS_FALSE
636 CREATE_API_DOCS_TRUE
637 GJDOC
638 TOOLSDIR
639 EXAMPLESDIR
640 BUILD_CLASS_FILES_FALSE
641 BUILD_CLASS_FILES_TRUE
642 INSTALL_CLASS_FILES_FALSE
643 INSTALL_CLASS_FILES_TRUE
644 INSTALL_GLIBJ_ZIP_FALSE
645 INSTALL_GLIBJ_ZIP_TRUE
646 WITH_JAR_FALSE
647 WITH_JAR_TRUE
650 FIND
651 DATE
653 MKDIR
654 REMOVE
655 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION
656 ECJ_JAR
657 INIT_LOAD_LIBRARY
658 LIBDEBUG
659 MAINT
660 MAINTAINER_MODE_FALSE
661 MAINTAINER_MODE_TRUE
662 vm_classes
663 CLASSPATH_INCLUDES
664 USER_JAVAH
665 GMP_LIBS
666 GMP_CFLAGS
667 PLUGIN_DIR
668 GLIB_LIBS
669 GLIB_CFLAGS
670 MOZILLA_LIBS
671 MOZILLA_CFLAGS
673 QT_LIBS
674 QT_CFLAGS
675 GSTREAMER_MIXER_PROVIDER
676 GSTREAMER_FILE_READER
677 GST_PLUGIN_LDFLAGS
678 GSTREAMER_PLUGINS_BASE_LIBS
679 GSTREAMER_PLUGINS_BASE_CFLAGS
680 GSTREAMER_BASE_LIBS
681 GSTREAMER_BASE_CFLAGS
682 GSTREAMER_LIBS
683 GSTREAMER_CFLAGS
684 GDK_LIBS
685 GDK_CFLAGS
686 GCONF_LIBS
687 GCONF_CFLAGS
688 XTEST_LIBS
689 CAIRO_LIBS
690 CAIRO_CFLAGS
691 PANGOFT2_LIBS
692 PANGOFT2_CFLAGS
693 FREETYPE2_LIBS
694 FREETYPE2_CFLAGS
695 GTK_LIBS
696 GTK_CFLAGS
697 X_EXTRA_LIBS
698 X_LIBS
699 X_PRE_LIBS
700 X_CFLAGS
701 XMKMF
702 XSLT_LIBS
703 XSLT_CFLAGS
704 XML_LIBS
705 XML_CFLAGS
706 PKG_CONFIG
707 ERROR_CFLAGS
708 STRICT_WARNING_CFLAGS
709 EXTRA_CFLAGS
710 WARNING_CFLAGS
711 LTLIBICONV
712 LIBICONV
713 LIBMAGIC
714 COLLECTIONS_PREFIX
715 PERL
716 CXXCPP
717 am__fastdepCXX_FALSE
718 am__fastdepCXX_TRUE
719 CXXDEPMODE
720 ac_ct_CXX
721 CXXFLAGS
723 OTOOL64
724 OTOOL
725 LIPO
726 NMEDIT
727 DSYMUTIL
728 RANLIB
730 OBJDUMP
732 ac_ct_DUMPBIN
733 DUMPBIN
735 FGREP
737 LIBTOOL
738 LN_S
739 CREATE_WRAPPERS_FALSE
740 CREATE_WRAPPERS_TRUE
741 CREATE_GJDOC_PARSER_FALSE
742 CREATE_GJDOC_PARSER_TRUE
743 CREATE_JNI_HEADERS_FALSE
744 CREATE_JNI_HEADERS_TRUE
745 glibjdir
746 nativeexeclibdir
747 toolexeclibdir
748 CREATE_GJDOC_FALSE
749 CREATE_GJDOC_TRUE
750 CREATE_PLUGIN_FALSE
751 CREATE_PLUGIN_TRUE
752 CREATE_QT_PEER_LIBRARIES_FALSE
753 CREATE_QT_PEER_LIBRARIES_TRUE
754 CREATE_GTK_PEER_LIBRARIES_FALSE
755 CREATE_GTK_PEER_LIBRARIES_TRUE
756 CREATE_DSSI_LIBRARIES_FALSE
757 CREATE_DSSI_LIBRARIES_TRUE
758 CREATE_ALSA_LIBRARIES_FALSE
759 CREATE_ALSA_LIBRARIES_TRUE
760 EGREP
761 GREP
763 am__fastdepCC_FALSE
764 am__fastdepCC_TRUE
765 CCDEPMODE
766 AMDEPBACKSLASH
767 AMDEP_FALSE
768 AMDEP_TRUE
769 am__quote
770 am__include
771 DEPDIR
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
779 CREATE_XMLJ_LIBRARY_FALSE
780 CREATE_XMLJ_LIBRARY_TRUE
781 default_toolkit
782 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
783 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
784 CREATE_GCONF_PEER_LIBRARIES_FALSE
785 CREATE_GCONF_PEER_LIBRARIES_TRUE
786 CREATE_CORE_JNI_LIBRARIES_FALSE
787 CREATE_CORE_JNI_LIBRARIES_TRUE
788 CREATE_JNI_LIBRARIES_FALSE
789 CREATE_JNI_LIBRARIES_TRUE
790 CREATE_COLLECTIONS_FALSE
791 CREATE_COLLECTIONS_TRUE
792 am__untar
793 am__tar
794 AMTAR
795 am__leading_dot
796 SET_MAKE
798 mkdir_p
799 MKDIR_P
800 INSTALL_STRIP_PROGRAM
801 STRIP
802 install_sh
803 MAKEINFO
804 AUTOHEADER
805 AUTOMAKE
806 AUTOCONF
807 ACLOCAL
808 VERSION
809 PACKAGE
810 CYGPATH_W
811 am__isrc
812 INSTALL_DATA
813 INSTALL_SCRIPT
814 INSTALL_PROGRAM
815 CLASSPATH_CONVENIENCE
816 CLASSPATH_MODULE
817 LIBVERSION
818 INSTALL_BINARIES_FALSE
819 INSTALL_BINARIES_TRUE
820 multi_basedir
821 GENINSRC_FALSE
822 GENINSRC_TRUE
823 JAVA_MAINTAINER_MODE_FALSE
824 JAVA_MAINTAINER_MODE_TRUE
825 target_os
826 target_vendor
827 target_cpu
828 target
829 host_os
830 host_vendor
831 host_cpu
832 host
833 build_os
834 build_vendor
835 build_cpu
836 build
837 target_alias
838 host_alias
839 build_alias
840 LIBS
841 ECHO_T
842 ECHO_N
843 ECHO_C
844 DEFS
845 mandir
846 localedir
847 libdir
848 psdir
849 pdfdir
850 dvidir
851 htmldir
852 infodir
853 docdir
854 oldincludedir
855 includedir
856 localstatedir
857 sharedstatedir
858 sysconfdir
859 datadir
860 datarootdir
861 libexecdir
862 sbindir
863 bindir
864 program_transform_name
865 prefix
866 exec_prefix
867 PACKAGE_URL
868 PACKAGE_BUGREPORT
869 PACKAGE_STRING
870 PACKAGE_VERSION
871 PACKAGE_TARNAME
872 PACKAGE_NAME
873 PATH_SEPARATOR
874 SHELL'
875 ac_subst_files=''
876 ac_user_opts='
877 enable_option_checking
878 enable_java_maintainer_mode
879 enable_generated_files_in_srcdir
880 enable_multilib
881 enable_collections
882 enable_jni
883 enable_core_jni
884 enable_default_preferences_peer
885 enable_gconf_peer
886 enable_gconf_peers
887 enable_gstreamer_peer
888 enable_gstreamer_peers
889 enable_Werror
890 enable_default_toolkit
891 enable_xmlj
892 enable_alsa
893 enable_dependency_tracking
894 enable_dssi
895 enable_gtk_peer
896 enable_gtk_peers
897 enable_qt_peer
898 enable_plugin
899 enable_gmp
900 enable_gjdoc
901 with_native_libdir
902 with_glibj_dir
903 with_antlr_jar
904 enable_regen_headers
905 enable_regen_gjdoc_parser
906 enable_tool_wrappers
907 enable_static
908 enable_shared
909 with_pic
910 enable_fast_install
911 with_gnu_ld
912 enable_libtool_lock
913 enable_rpath
914 with_libiconv_prefix
915 with_x
916 with_qt4dir
917 with_gmp
918 with_gmp_include
919 with_gmp_lib
920 with_javah
921 with_vm_classes
922 enable_maintainer_mode
923 enable_debug
924 enable_load_library
925 with_ecj_jar
926 enable_java_lang_system_explicit_initialization
927 with_jar
928 with_glibj
929 enable_examples
930 enable_tools
931 with_gjdoc
932 with_jay
933 enable_portable_native_sync
934 with_glibj_zip
935 with_escher
936 enable_local_sockets
938 ac_precious_vars='build_alias
939 host_alias
940 target_alias
942 CFLAGS
943 LDFLAGS
944 LIBS
945 CPPFLAGS
948 CXXFLAGS
950 CXXCPP
951 XMKMF'
954 # Initialize some variables set by options.
955 ac_init_help=
956 ac_init_version=false
957 ac_unrecognized_opts=
958 ac_unrecognized_sep=
959 # The variables have the same names as the options, with
960 # dashes changed to underlines.
961 cache_file=/dev/null
962 exec_prefix=NONE
963 no_create=
964 no_recursion=
965 prefix=NONE
966 program_prefix=NONE
967 program_suffix=NONE
968 program_transform_name=s,x,x,
969 silent=
970 site=
971 srcdir=
972 verbose=
973 x_includes=NONE
974 x_libraries=NONE
976 # Installation directory options.
977 # These are left unexpanded so users can "make install exec_prefix=/foo"
978 # and all the variables that are supposed to be based on exec_prefix
979 # by default will actually change.
980 # Use braces instead of parens because sh, perl, etc. also accept them.
981 # (The list follows the same order as the GNU Coding Standards.)
982 bindir='${exec_prefix}/bin'
983 sbindir='${exec_prefix}/sbin'
984 libexecdir='${exec_prefix}/libexec'
985 datarootdir='${prefix}/share'
986 datadir='${datarootdir}'
987 sysconfdir='${prefix}/etc'
988 sharedstatedir='${prefix}/com'
989 localstatedir='${prefix}/var'
990 includedir='${prefix}/include'
991 oldincludedir='/usr/include'
992 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
993 infodir='${datarootdir}/info'
994 htmldir='${docdir}'
995 dvidir='${docdir}'
996 pdfdir='${docdir}'
997 psdir='${docdir}'
998 libdir='${exec_prefix}/lib'
999 localedir='${datarootdir}/locale'
1000 mandir='${datarootdir}/man'
1002 ac_prev=
1003 ac_dashdash=
1004 for ac_option
1006 # If the previous option needs an argument, assign it.
1007 if test -n "$ac_prev"; then
1008 eval $ac_prev=\$ac_option
1009 ac_prev=
1010 continue
1013 case $ac_option in
1014 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1015 *) ac_optarg=yes ;;
1016 esac
1018 # Accept the important Cygnus configure options, so we can diagnose typos.
1020 case $ac_dashdash$ac_option in
1022 ac_dashdash=yes ;;
1024 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1025 ac_prev=bindir ;;
1026 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1027 bindir=$ac_optarg ;;
1029 -build | --build | --buil | --bui | --bu)
1030 ac_prev=build_alias ;;
1031 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1032 build_alias=$ac_optarg ;;
1034 -cache-file | --cache-file | --cache-fil | --cache-fi \
1035 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1036 ac_prev=cache_file ;;
1037 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1038 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1039 cache_file=$ac_optarg ;;
1041 --config-cache | -C)
1042 cache_file=config.cache ;;
1044 -datadir | --datadir | --datadi | --datad)
1045 ac_prev=datadir ;;
1046 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1047 datadir=$ac_optarg ;;
1049 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1050 | --dataroo | --dataro | --datar)
1051 ac_prev=datarootdir ;;
1052 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1053 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1054 datarootdir=$ac_optarg ;;
1056 -disable-* | --disable-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error "invalid feature name: $ac_useropt"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "enable_$ac_useropt"
1066 "*) ;;
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1069 esac
1070 eval enable_$ac_useropt=no ;;
1072 -docdir | --docdir | --docdi | --doc | --do)
1073 ac_prev=docdir ;;
1074 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1075 docdir=$ac_optarg ;;
1077 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1078 ac_prev=dvidir ;;
1079 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1080 dvidir=$ac_optarg ;;
1082 -enable-* | --enable-*)
1083 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086 as_fn_error "invalid feature name: $ac_useropt"
1087 ac_useropt_orig=$ac_useropt
1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1091 "enable_$ac_useropt"
1092 "*) ;;
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1095 esac
1096 eval enable_$ac_useropt=\$ac_optarg ;;
1098 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1099 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1100 | --exec | --exe | --ex)
1101 ac_prev=exec_prefix ;;
1102 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1103 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1104 | --exec=* | --exe=* | --ex=*)
1105 exec_prefix=$ac_optarg ;;
1107 -gas | --gas | --ga | --g)
1108 # Obsolete; use --with-gas.
1109 with_gas=yes ;;
1111 -help | --help | --hel | --he | -h)
1112 ac_init_help=long ;;
1113 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1114 ac_init_help=recursive ;;
1115 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1116 ac_init_help=short ;;
1118 -host | --host | --hos | --ho)
1119 ac_prev=host_alias ;;
1120 -host=* | --host=* | --hos=* | --ho=*)
1121 host_alias=$ac_optarg ;;
1123 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1124 ac_prev=htmldir ;;
1125 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1126 | --ht=*)
1127 htmldir=$ac_optarg ;;
1129 -includedir | --includedir | --includedi | --included | --include \
1130 | --includ | --inclu | --incl | --inc)
1131 ac_prev=includedir ;;
1132 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1133 | --includ=* | --inclu=* | --incl=* | --inc=*)
1134 includedir=$ac_optarg ;;
1136 -infodir | --infodir | --infodi | --infod | --info | --inf)
1137 ac_prev=infodir ;;
1138 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1139 infodir=$ac_optarg ;;
1141 -libdir | --libdir | --libdi | --libd)
1142 ac_prev=libdir ;;
1143 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1144 libdir=$ac_optarg ;;
1146 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1147 | --libexe | --libex | --libe)
1148 ac_prev=libexecdir ;;
1149 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1150 | --libexe=* | --libex=* | --libe=*)
1151 libexecdir=$ac_optarg ;;
1153 -localedir | --localedir | --localedi | --localed | --locale)
1154 ac_prev=localedir ;;
1155 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1156 localedir=$ac_optarg ;;
1158 -localstatedir | --localstatedir | --localstatedi | --localstated \
1159 | --localstate | --localstat | --localsta | --localst | --locals)
1160 ac_prev=localstatedir ;;
1161 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1162 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1163 localstatedir=$ac_optarg ;;
1165 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1166 ac_prev=mandir ;;
1167 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1168 mandir=$ac_optarg ;;
1170 -nfp | --nfp | --nf)
1171 # Obsolete; use --without-fp.
1172 with_fp=no ;;
1174 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1175 | --no-cr | --no-c | -n)
1176 no_create=yes ;;
1178 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1179 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1180 no_recursion=yes ;;
1182 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1183 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1184 | --oldin | --oldi | --old | --ol | --o)
1185 ac_prev=oldincludedir ;;
1186 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1187 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1188 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1189 oldincludedir=$ac_optarg ;;
1191 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1192 ac_prev=prefix ;;
1193 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1194 prefix=$ac_optarg ;;
1196 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1197 | --program-pre | --program-pr | --program-p)
1198 ac_prev=program_prefix ;;
1199 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1200 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1201 program_prefix=$ac_optarg ;;
1203 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1204 | --program-suf | --program-su | --program-s)
1205 ac_prev=program_suffix ;;
1206 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1207 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1208 program_suffix=$ac_optarg ;;
1210 -program-transform-name | --program-transform-name \
1211 | --program-transform-nam | --program-transform-na \
1212 | --program-transform-n | --program-transform- \
1213 | --program-transform | --program-transfor \
1214 | --program-transfo | --program-transf \
1215 | --program-trans | --program-tran \
1216 | --progr-tra | --program-tr | --program-t)
1217 ac_prev=program_transform_name ;;
1218 -program-transform-name=* | --program-transform-name=* \
1219 | --program-transform-nam=* | --program-transform-na=* \
1220 | --program-transform-n=* | --program-transform-=* \
1221 | --program-transform=* | --program-transfor=* \
1222 | --program-transfo=* | --program-transf=* \
1223 | --program-trans=* | --program-tran=* \
1224 | --progr-tra=* | --program-tr=* | --program-t=*)
1225 program_transform_name=$ac_optarg ;;
1227 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1228 ac_prev=pdfdir ;;
1229 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1230 pdfdir=$ac_optarg ;;
1232 -psdir | --psdir | --psdi | --psd | --ps)
1233 ac_prev=psdir ;;
1234 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1235 psdir=$ac_optarg ;;
1237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1238 | -silent | --silent | --silen | --sile | --sil)
1239 silent=yes ;;
1241 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1242 ac_prev=sbindir ;;
1243 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1244 | --sbi=* | --sb=*)
1245 sbindir=$ac_optarg ;;
1247 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1248 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1249 | --sharedst | --shareds | --shared | --share | --shar \
1250 | --sha | --sh)
1251 ac_prev=sharedstatedir ;;
1252 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1253 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1254 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1255 | --sha=* | --sh=*)
1256 sharedstatedir=$ac_optarg ;;
1258 -site | --site | --sit)
1259 ac_prev=site ;;
1260 -site=* | --site=* | --sit=*)
1261 site=$ac_optarg ;;
1263 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1264 ac_prev=srcdir ;;
1265 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1266 srcdir=$ac_optarg ;;
1268 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1269 | --syscon | --sysco | --sysc | --sys | --sy)
1270 ac_prev=sysconfdir ;;
1271 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1272 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1273 sysconfdir=$ac_optarg ;;
1275 -target | --target | --targe | --targ | --tar | --ta | --t)
1276 ac_prev=target_alias ;;
1277 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1278 target_alias=$ac_optarg ;;
1280 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1281 verbose=yes ;;
1283 -version | --version | --versio | --versi | --vers | -V)
1284 ac_init_version=: ;;
1286 -with-* | --with-*)
1287 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1290 as_fn_error "invalid package name: $ac_useropt"
1291 ac_useropt_orig=$ac_useropt
1292 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293 case $ac_user_opts in
1295 "with_$ac_useropt"
1296 "*) ;;
1297 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1298 ac_unrecognized_sep=', ';;
1299 esac
1300 eval with_$ac_useropt=\$ac_optarg ;;
1302 -without-* | --without-*)
1303 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1304 # Reject names that are not valid shell variable names.
1305 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1306 as_fn_error "invalid package name: $ac_useropt"
1307 ac_useropt_orig=$ac_useropt
1308 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1309 case $ac_user_opts in
1311 "with_$ac_useropt"
1312 "*) ;;
1313 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1314 ac_unrecognized_sep=', ';;
1315 esac
1316 eval with_$ac_useropt=no ;;
1318 --x)
1319 # Obsolete; use --with-x.
1320 with_x=yes ;;
1322 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1323 | --x-incl | --x-inc | --x-in | --x-i)
1324 ac_prev=x_includes ;;
1325 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1326 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1327 x_includes=$ac_optarg ;;
1329 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1330 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1331 ac_prev=x_libraries ;;
1332 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1333 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1334 x_libraries=$ac_optarg ;;
1336 -*) as_fn_error "unrecognized option: \`$ac_option'
1337 Try \`$0 --help' for more information."
1340 *=*)
1341 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1342 # Reject names that are not valid shell variable names.
1343 case $ac_envvar in #(
1344 '' | [0-9]* | *[!_$as_cr_alnum]* )
1345 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1346 esac
1347 eval $ac_envvar=\$ac_optarg
1348 export $ac_envvar ;;
1351 # FIXME: should be removed in autoconf 3.0.
1352 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1353 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1354 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1355 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1358 esac
1359 done
1361 if test -n "$ac_prev"; then
1362 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1363 as_fn_error "missing argument to $ac_option"
1366 if test -n "$ac_unrecognized_opts"; then
1367 case $enable_option_checking in
1368 no) ;;
1369 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1370 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1371 esac
1374 # Check all directory arguments for consistency.
1375 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1376 datadir sysconfdir sharedstatedir localstatedir includedir \
1377 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1378 libdir localedir mandir
1380 eval ac_val=\$$ac_var
1381 # Remove trailing slashes.
1382 case $ac_val in
1383 */ )
1384 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1385 eval $ac_var=\$ac_val;;
1386 esac
1387 # Be sure to have absolute directory names.
1388 case $ac_val in
1389 [\\/$]* | ?:[\\/]* ) continue;;
1390 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1391 esac
1392 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1393 done
1395 # There might be people who depend on the old broken behavior: `$host'
1396 # used to hold the argument of --host etc.
1397 # FIXME: To remove some day.
1398 build=$build_alias
1399 host=$host_alias
1400 target=$target_alias
1402 # FIXME: To remove some day.
1403 if test "x$host_alias" != x; then
1404 if test "x$build_alias" = x; then
1405 cross_compiling=maybe
1406 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1407 If a cross compiler is detected then cross compile mode will be used." >&2
1408 elif test "x$build_alias" != "x$host_alias"; then
1409 cross_compiling=yes
1413 ac_tool_prefix=
1414 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1416 test "$silent" = yes && exec 6>/dev/null
1419 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1420 ac_ls_di=`ls -di .` &&
1421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1422 as_fn_error "working directory cannot be determined"
1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1424 as_fn_error "pwd does not report name of working directory"
1427 # Find the source files, if location was not specified.
1428 if test -z "$srcdir"; then
1429 ac_srcdir_defaulted=yes
1430 # Try the directory containing this script, then the parent directory.
1431 ac_confdir=`$as_dirname -- "$as_myself" ||
1432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1433 X"$as_myself" : 'X\(//\)[^/]' \| \
1434 X"$as_myself" : 'X\(//\)$' \| \
1435 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1436 $as_echo X"$as_myself" |
1437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1438 s//\1/
1441 /^X\(\/\/\)[^/].*/{
1442 s//\1/
1445 /^X\(\/\/\)$/{
1446 s//\1/
1449 /^X\(\/\).*/{
1450 s//\1/
1453 s/.*/./; q'`
1454 srcdir=$ac_confdir
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1456 srcdir=..
1458 else
1459 ac_srcdir_defaulted=no
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1462 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1463 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1465 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1466 ac_abs_confdir=`(
1467 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1468 pwd)`
1469 # When building in place, set srcdir=.
1470 if test "$ac_abs_confdir" = "$ac_pwd"; then
1471 srcdir=.
1473 # Remove unnecessary trailing slashes from srcdir.
1474 # Double slashes in file names in object file debugging info
1475 # mess up M-x gdb in Emacs.
1476 case $srcdir in
1477 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1478 esac
1479 for ac_var in $ac_precious_vars; do
1480 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1481 eval ac_env_${ac_var}_value=\$${ac_var}
1482 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1483 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1484 done
1487 # Report the --help message.
1489 if test "$ac_init_help" = "long"; then
1490 # Omit some internal or obsolete options to make the list less imposing.
1491 # This message is too long to be a string in the A/UX 3.1 sh.
1492 cat <<_ACEOF
1493 \`configure' configures GNU Classpath 0.99 to adapt to many kinds of systems.
1495 Usage: $0 [OPTION]... [VAR=VALUE]...
1497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1498 VAR=VALUE. See below for descriptions of some of the useful variables.
1500 Defaults for the options are specified in brackets.
1502 Configuration:
1503 -h, --help display this help and exit
1504 --help=short display options specific to this package
1505 --help=recursive display the short help of all the included packages
1506 -V, --version display version information and exit
1507 -q, --quiet, --silent do not print \`checking...' messages
1508 --cache-file=FILE cache test results in FILE [disabled]
1509 -C, --config-cache alias for \`--cache-file=config.cache'
1510 -n, --no-create do not create output files
1511 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1513 Installation directories:
1514 --prefix=PREFIX install architecture-independent files in PREFIX
1515 [$ac_default_prefix]
1516 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1517 [PREFIX]
1519 By default, \`make install' will install all the files in
1520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1521 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1522 for instance \`--prefix=\$HOME'.
1524 For better control, use the options below.
1526 Fine tuning of the installation directories:
1527 --bindir=DIR user executables [EPREFIX/bin]
1528 --sbindir=DIR system admin executables [EPREFIX/sbin]
1529 --libexecdir=DIR program executables [EPREFIX/libexec]
1530 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1531 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1532 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1533 --libdir=DIR object code libraries [EPREFIX/lib]
1534 --includedir=DIR C header files [PREFIX/include]
1535 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1536 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1537 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1538 --infodir=DIR info documentation [DATAROOTDIR/info]
1539 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1540 --mandir=DIR man documentation [DATAROOTDIR/man]
1541 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1542 --htmldir=DIR html documentation [DOCDIR]
1543 --dvidir=DIR dvi documentation [DOCDIR]
1544 --pdfdir=DIR pdf documentation [DOCDIR]
1545 --psdir=DIR ps documentation [DOCDIR]
1546 _ACEOF
1548 cat <<\_ACEOF
1550 Program names:
1551 --program-prefix=PREFIX prepend PREFIX to installed program names
1552 --program-suffix=SUFFIX append SUFFIX to installed program names
1553 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1555 X features:
1556 --x-includes=DIR X include files are in DIR
1557 --x-libraries=DIR X library files are in DIR
1559 System types:
1560 --build=BUILD configure for building on BUILD [guessed]
1561 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1562 --target=TARGET configure for building compilers for TARGET [HOST]
1563 _ACEOF
1566 if test -n "$ac_init_help"; then
1567 case $ac_init_help in
1568 short | recursive ) echo "Configuration of GNU Classpath 0.99:";;
1569 esac
1570 cat <<\_ACEOF
1572 Optional Features:
1573 --disable-option-checking ignore unrecognized --enable/--with options
1574 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1575 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1576 --enable-java-maintainer-mode
1577 allow rebuilding of .class and .h files
1578 --enable-generated-files-in-srcdir
1579 put copies of generated files in source dir
1580 intended for creating source tarballs for users
1581 without texinfo, perl, bison or flex.
1582 --enable-multilib build many library versions (default)
1583 --enable-collections create collections.jar default=no
1584 --enable-jni compile JNI source default=yes
1585 --enable-core-jni compile JNI sources for core default=yes
1586 --enable-default-preferences-peer[=peer type or class name]
1587 specify one of: "gconf" [default] for a GConf based
1588 backend, "file" for a file based one, "memory" for a
1589 transient one, or a fully qualified class name
1590 implementing java.util.prefs.PreferencesFactory
1591 --disable-gconf-peer compile GConf native peers (disabled by
1592 --disable-jni) default=yes
1594 --enable-gstreamer-peer compile GStreamer native peers (disabled by
1595 --disable-jni) default=no
1596 --enable-Werror whether to compile C code with -Werror which turns
1597 any compiler warning into a compilation failure
1598 default=no
1599 --enable-default-toolkit
1600 fully qualified class name of default AWT toolkit
1601 --enable-xmlj compile native libxml/xslt library default=no
1602 --disable-alsa compile ALSA providers (enable by --enable-alsa)
1603 default=yes
1604 --disable-dependency-tracking speeds up one-time build
1605 --enable-dependency-tracking do not reject slow dependency extractors
1606 --disable-dssi compile DSSI providers (enable by --enable-dssi)
1607 default=yes
1608 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
1609 default=yes
1610 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
1611 default=no
1612 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
1613 default=yes
1614 --enable-gmp compile native java.math.BigInteger library
1615 (disabled by --disable-gmp) default=yes
1616 --disable-gjdoc compile GJDoc (disabled by --disable-gjdoc)
1617 default=yes
1618 --enable-regen-headers automatically regenerate JNI headers default=yes if
1619 headers don't exist
1620 --enable-regen-gjdoc-parser
1621 automatically regenerate the GJDoc parser
1622 default=yes if generated source doesn't exist
1623 --enable-tool-wrappers create tool wrapper binaries default=no
1624 --enable-static[=PKGS] build static libraries [default=no]
1625 --enable-shared[=PKGS] build shared libraries [default=yes]
1626 --enable-fast-install[=PKGS]
1627 optimize for fast installation [default=yes]
1628 --disable-libtool-lock avoid locking (might break parallel builds)
1629 --disable-rpath do not hardcode runtime library paths
1630 --enable-maintainer-mode enable make rules and dependencies not useful
1631 (and sometimes confusing) to the casual installer
1632 --enable-debug enable runtime debugging code
1633 --enable-load-library enable to use JNI native methods default=yes
1634 --enable-java-lang-system-explicit-initialization
1635 will the VM explicitly invoke java.lang.System's
1636 static initialization methods default=no
1637 --enable-examples enable build of the examples default=yes
1638 --enable-tools enable build of the tools default=yes
1639 --enable-portable-native-sync
1640 synchronize VM threads portably
1641 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1643 Optional Packages:
1644 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1645 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1646 --with-native-libdir sets the installation directory for native libraries
1647 default='${libdir}/${PACKAGE}'
1648 --with-glibj-dir sets the installation directory for glibj.zip
1649 default='${libdir}/${PACKAGE}'
1650 --with-antlr-jar=file Use ANTLR from the specified jar file
1651 --with-pic try to use only PIC/non-PIC objects [default=use
1652 both]
1653 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1654 --with-gnu-ld assume the C compiler uses GNU ld default=no
1655 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1656 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1657 --with-x use the X Window System
1658 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
1659 systems use pkg-config.
1660 --with-gmp=PATH specify prefix directory for the installed GMP package.
1661 Equivalent to --with-gmp-include=PATH/include
1662 plus --with-gmp-lib=PATH/lib
1663 --with-gmp-include=PATH specify directory for installed GMP include files
1664 --with-gmp-lib=PATH specify directory for the installed GMP library
1665 --with-javah specify path or name of a javah-like program
1666 --with-vm-classes specify path to VM override source files
1667 --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
1668 Compiler
1669 --with-jar=PATH define to use a jar style tool
1670 --with-glibj define what to install (zip|flat|both|none|build)
1671 [default=zip]
1672 --with-gjdoc generate documentation using gjdoc (default is NO)
1673 --with-jay=DIR|PATH Regenerate the parsers with jay
1674 --with-glibj-zip=ABS.PATH
1675 use prebuilt glibj.zip class library
1676 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1678 Some influential environment variables:
1679 CC C compiler command
1680 CFLAGS C compiler flags
1681 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1682 nonstandard directory <lib dir>
1683 LIBS libraries to pass to the linker, e.g. -l<library>
1684 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1685 you have headers in a nonstandard directory <include dir>
1686 CPP C preprocessor
1687 CXX C++ compiler command
1688 CXXFLAGS C++ compiler flags
1689 CXXCPP C++ preprocessor
1690 XMKMF Path to xmkmf, Makefile generator for X Window System
1692 Use these variables to override the choices made by `configure' or to help
1693 it to find libraries and programs with nonstandard names/locations.
1695 Report bugs to <classpath@gnu.org>.
1696 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
1697 General help using GNU software: <http://www.gnu.org/gethelp/>.
1698 _ACEOF
1699 ac_status=$?
1702 if test "$ac_init_help" = "recursive"; then
1703 # If there are subdirs, report their specific --help.
1704 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1705 test -d "$ac_dir" ||
1706 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1707 continue
1708 ac_builddir=.
1710 case "$ac_dir" in
1711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1713 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1714 # A ".." for each directory in $ac_dir_suffix.
1715 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1716 case $ac_top_builddir_sub in
1717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1719 esac ;;
1720 esac
1721 ac_abs_top_builddir=$ac_pwd
1722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1723 # for backward compatibility:
1724 ac_top_builddir=$ac_top_build_prefix
1726 case $srcdir in
1727 .) # We are building in place.
1728 ac_srcdir=.
1729 ac_top_srcdir=$ac_top_builddir_sub
1730 ac_abs_top_srcdir=$ac_pwd ;;
1731 [\\/]* | ?:[\\/]* ) # Absolute name.
1732 ac_srcdir=$srcdir$ac_dir_suffix;
1733 ac_top_srcdir=$srcdir
1734 ac_abs_top_srcdir=$srcdir ;;
1735 *) # Relative name.
1736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1737 ac_top_srcdir=$ac_top_build_prefix$srcdir
1738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1739 esac
1740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1742 cd "$ac_dir" || { ac_status=$?; continue; }
1743 # Check for guested configure.
1744 if test -f "$ac_srcdir/configure.gnu"; then
1745 echo &&
1746 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1747 elif test -f "$ac_srcdir/configure"; then
1748 echo &&
1749 $SHELL "$ac_srcdir/configure" --help=recursive
1750 else
1751 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1752 fi || ac_status=$?
1753 cd "$ac_pwd" || { ac_status=$?; break; }
1754 done
1757 test -n "$ac_init_help" && exit $ac_status
1758 if $ac_init_version; then
1759 cat <<\_ACEOF
1760 GNU Classpath configure 0.99
1761 generated by GNU Autoconf 2.64
1763 Copyright (C) 2009 Free Software Foundation, Inc.
1764 This configure script is free software; the Free Software Foundation
1765 gives unlimited permission to copy, distribute and modify it.
1766 _ACEOF
1767 exit
1770 ## ------------------------ ##
1771 ## Autoconf initialization. ##
1772 ## ------------------------ ##
1774 # ac_fn_c_try_compile LINENO
1775 # --------------------------
1776 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_compile ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 rm -f conftest.$ac_objext
1781 if { { ac_try="$ac_compile"
1782 case "(($ac_try" in
1783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1785 esac
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_compile") 2>conftest.err
1789 ac_status=$?
1790 if test -s conftest.err; then
1791 grep -v '^ *+' conftest.err >conftest.er1
1792 cat conftest.er1 >&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && {
1797 test -z "$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1799 } && test -s conftest.$ac_objext; then :
1800 ac_retval=0
1801 else
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1805 ac_retval=1
1807 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1808 return $ac_retval
1810 } # ac_fn_c_try_compile
1812 # ac_fn_c_try_cpp LINENO
1813 # ----------------------
1814 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1815 ac_fn_c_try_cpp ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 if { { ac_try="$ac_cpp conftest.$ac_ext"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } >/dev/null && {
1834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 }; then :
1837 ac_retval=0
1838 else
1839 $as_echo "$as_me: failed program was:" >&5
1840 sed 's/^/| /' conftest.$ac_ext >&5
1842 ac_retval=1
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845 return $ac_retval
1847 } # ac_fn_c_try_cpp
1849 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1850 # -------------------------------------------------------
1851 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1852 # the include files in INCLUDES and setting the cache variable VAR
1853 # accordingly.
1854 ac_fn_c_check_header_mongrel ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1861 $as_echo_n "(cached) " >&6
1863 eval ac_res=\$$3
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865 $as_echo "$ac_res" >&6; }
1866 else
1867 # Is the header compilable?
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1869 $as_echo_n "checking $2 usability... " >&6; }
1870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1873 #include <$2>
1874 _ACEOF
1875 if ac_fn_c_try_compile "$LINENO"; then :
1876 ac_header_compiler=yes
1877 else
1878 ac_header_compiler=no
1880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1882 $as_echo "$ac_header_compiler" >&6; }
1884 # Is the header present?
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1886 $as_echo_n "checking $2 presence... " >&6; }
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1889 #include <$2>
1890 _ACEOF
1891 if ac_fn_c_try_cpp "$LINENO"; then :
1892 ac_header_preproc=yes
1893 else
1894 ac_header_preproc=no
1896 rm -f conftest.err conftest.$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1898 $as_echo "$ac_header_preproc" >&6; }
1900 # So? What about this header?
1901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1902 yes:no: )
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1904 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1906 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1908 no:yes:* )
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1910 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1912 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1914 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1916 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1918 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1919 ( cat <<\_ASBOX
1920 ## -------------------------------- ##
1921 ## Report this to classpath@gnu.org ##
1922 ## -------------------------------- ##
1923 _ASBOX
1924 ) | sed "s/^/$as_me: WARNING: /" >&2
1926 esac
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1930 $as_echo_n "(cached) " >&6
1931 else
1932 eval "$3=\$ac_header_compiler"
1934 eval ac_res=\$$3
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 } # ac_fn_c_check_header_mongrel
1942 # ac_fn_c_try_run LINENO
1943 # ----------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1945 # that executables *can* be run.
1946 ac_fn_c_try_run ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 if { { ac_try="$ac_link"
1950 case "(($ac_try" in
1951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1953 esac
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>&5
1957 ac_status=$?
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1960 { { case "(($ac_try" in
1961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1963 esac
1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_try") 2>&5
1967 ac_status=$?
1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969 test $ac_status = 0; }; }; then :
1970 ac_retval=0
1971 else
1972 $as_echo "$as_me: program exited with status $ac_status" >&5
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1976 ac_retval=$ac_status
1978 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1980 return $ac_retval
1982 } # ac_fn_c_try_run
1984 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1985 # -------------------------------------------------------
1986 # Tests whether HEADER exists and can be compiled using the include files in
1987 # INCLUDES, setting the cache variable VAR accordingly.
1988 ac_fn_c_check_header_compile ()
1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1992 $as_echo_n "checking for $2... " >&6; }
1993 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1994 $as_echo_n "(cached) " >&6
1995 else
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
1999 #include <$2>
2000 _ACEOF
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002 eval "$3=yes"
2003 else
2004 eval "$3=no"
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 eval ac_res=\$$3
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013 } # ac_fn_c_check_header_compile
2015 # ac_fn_c_try_link LINENO
2016 # -----------------------
2017 # Try to link conftest.$ac_ext, and return whether this succeeded.
2018 ac_fn_c_try_link ()
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 rm -f conftest.$ac_objext conftest$ac_exeext
2022 if { { ac_try="$ac_link"
2023 case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_link") 2>conftest.err
2030 ac_status=$?
2031 if test -s conftest.err; then
2032 grep -v '^ *+' conftest.err >conftest.er1
2033 cat conftest.er1 >&5
2034 mv -f conftest.er1 conftest.err
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } && {
2038 test -z "$ac_c_werror_flag" ||
2039 test ! -s conftest.err
2040 } && test -s conftest$ac_exeext && {
2041 test "$cross_compiling" = yes ||
2042 $as_test_x conftest$ac_exeext
2043 }; then :
2044 ac_retval=0
2045 else
2046 $as_echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.$ac_ext >&5
2049 ac_retval=1
2051 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2052 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2053 # interfere with the next link command; also delete a directory that is
2054 # left behind by Apple's compiler. We do this before executing the actions.
2055 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2056 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2057 return $ac_retval
2059 } # ac_fn_c_try_link
2061 # ac_fn_c_check_func LINENO FUNC VAR
2062 # ----------------------------------
2063 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2064 ac_fn_c_check_func ()
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2070 $as_echo_n "(cached) " >&6
2071 else
2072 if test x$gcc_no_link = xyes; then
2073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2077 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2079 #define $2 innocuous_$2
2081 /* System header to define __stub macros and hopefully few prototypes,
2082 which can conflict with char $2 (); below.
2083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2084 <limits.h> exists even on freestanding compilers. */
2086 #ifdef __STDC__
2087 # include <limits.h>
2088 #else
2089 # include <assert.h>
2090 #endif
2092 #undef $2
2094 /* Override any GCC internal prototype to avoid an error.
2095 Use char because int might match the return type of a GCC
2096 builtin and then its argument prototype would still apply. */
2097 #ifdef __cplusplus
2098 extern "C"
2099 #endif
2100 char $2 ();
2101 /* The GNU C library defines this for functions which it implements
2102 to always fail with ENOSYS. Some functions are actually named
2103 something starting with __ and the normal name is an alias. */
2104 #if defined __stub_$2 || defined __stub___$2
2105 choke me
2106 #endif
2109 main ()
2111 return $2 ();
2113 return 0;
2115 _ACEOF
2116 if ac_fn_c_try_link "$LINENO"; then :
2117 eval "$3=yes"
2118 else
2119 eval "$3=no"
2121 rm -f core conftest.err conftest.$ac_objext \
2122 conftest$ac_exeext conftest.$ac_ext
2124 eval ac_res=\$$3
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2129 } # ac_fn_c_check_func
2131 # ac_fn_cxx_try_compile LINENO
2132 # ----------------------------
2133 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2134 ac_fn_cxx_try_compile ()
2136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2137 rm -f conftest.$ac_objext
2138 if { { ac_try="$ac_compile"
2139 case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_compile") 2>conftest.err
2146 ac_status=$?
2147 if test -s conftest.err; then
2148 grep -v '^ *+' conftest.err >conftest.er1
2149 cat conftest.er1 >&5
2150 mv -f conftest.er1 conftest.err
2152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2153 test $ac_status = 0; } && {
2154 test -z "$ac_cxx_werror_flag" ||
2155 test ! -s conftest.err
2156 } && test -s conftest.$ac_objext; then :
2157 ac_retval=0
2158 else
2159 $as_echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.$ac_ext >&5
2162 ac_retval=1
2164 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2165 return $ac_retval
2167 } # ac_fn_cxx_try_compile
2169 # ac_fn_cxx_try_cpp LINENO
2170 # ------------------------
2171 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2172 ac_fn_cxx_try_cpp ()
2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175 if { { ac_try="$ac_cpp conftest.$ac_ext"
2176 case "(($ac_try" in
2177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2178 *) ac_try_echo=$ac_try;;
2179 esac
2180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2181 $as_echo "$ac_try_echo"; } >&5
2182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2183 ac_status=$?
2184 if test -s conftest.err; then
2185 grep -v '^ *+' conftest.err >conftest.er1
2186 cat conftest.er1 >&5
2187 mv -f conftest.er1 conftest.err
2189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2190 test $ac_status = 0; } >/dev/null && {
2191 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2192 test ! -s conftest.err
2193 }; then :
2194 ac_retval=0
2195 else
2196 $as_echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.$ac_ext >&5
2199 ac_retval=1
2201 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2202 return $ac_retval
2204 } # ac_fn_cxx_try_cpp
2206 # ac_fn_cxx_try_link LINENO
2207 # -------------------------
2208 # Try to link conftest.$ac_ext, and return whether this succeeded.
2209 ac_fn_cxx_try_link ()
2211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212 rm -f conftest.$ac_objext conftest$ac_exeext
2213 if { { ac_try="$ac_link"
2214 case "(($ac_try" in
2215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2216 *) ac_try_echo=$ac_try;;
2217 esac
2218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2219 $as_echo "$ac_try_echo"; } >&5
2220 (eval "$ac_link") 2>conftest.err
2221 ac_status=$?
2222 if test -s conftest.err; then
2223 grep -v '^ *+' conftest.err >conftest.er1
2224 cat conftest.er1 >&5
2225 mv -f conftest.er1 conftest.err
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; } && {
2229 test -z "$ac_cxx_werror_flag" ||
2230 test ! -s conftest.err
2231 } && test -s conftest$ac_exeext && {
2232 test "$cross_compiling" = yes ||
2233 $as_test_x conftest$ac_exeext
2234 }; then :
2235 ac_retval=0
2236 else
2237 $as_echo "$as_me: failed program was:" >&5
2238 sed 's/^/| /' conftest.$ac_ext >&5
2240 ac_retval=1
2242 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2243 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2244 # interfere with the next link command; also delete a directory that is
2245 # left behind by Apple's compiler. We do this before executing the actions.
2246 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2247 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 return $ac_retval
2250 } # ac_fn_cxx_try_link
2252 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2253 # ----------------------------------------------------
2254 # Tries to find if the field MEMBER exists in type AGGR, after including
2255 # INCLUDES, setting cache variable VAR accordingly.
2256 ac_fn_c_check_member ()
2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2260 $as_echo_n "checking for $2.$3... " >&6; }
2261 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2262 $as_echo_n "(cached) " >&6
2263 else
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2268 main ()
2270 static $2 ac_aggr;
2271 if (ac_aggr.$3)
2272 return 0;
2274 return 0;
2276 _ACEOF
2277 if ac_fn_c_try_compile "$LINENO"; then :
2278 eval "$4=yes"
2279 else
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2284 main ()
2286 static $2 ac_aggr;
2287 if (sizeof ac_aggr.$3)
2288 return 0;
2290 return 0;
2292 _ACEOF
2293 if ac_fn_c_try_compile "$LINENO"; then :
2294 eval "$4=yes"
2295 else
2296 eval "$4=no"
2298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 eval ac_res=\$$4
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2304 $as_echo "$ac_res" >&6; }
2305 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2307 } # ac_fn_c_check_member
2309 # ac_fn_c_check_decl LINENO SYMBOL VAR
2310 # ------------------------------------
2311 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2312 ac_fn_c_check_decl ()
2314 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2315 as_decl_name=`echo $2|sed 's/ *(.*//'`
2316 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2318 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2319 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2320 $as_echo_n "(cached) " >&6
2321 else
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2326 main ()
2328 #ifndef $as_decl_name
2329 #ifdef __cplusplus
2330 (void) $as_decl_use;
2331 #else
2332 (void) $as_decl_name;
2333 #endif
2334 #endif
2337 return 0;
2339 _ACEOF
2340 if ac_fn_c_try_compile "$LINENO"; then :
2341 eval "$3=yes"
2342 else
2343 eval "$3=no"
2345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 eval ac_res=\$$3
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2349 $as_echo "$ac_res" >&6; }
2350 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2352 } # ac_fn_c_check_decl
2354 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2355 # -------------------------------------------
2356 # Tests whether TYPE exists after having included INCLUDES, setting cache
2357 # variable VAR accordingly.
2358 ac_fn_c_check_type ()
2360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2362 $as_echo_n "checking for $2... " >&6; }
2363 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2364 $as_echo_n "(cached) " >&6
2365 else
2366 eval "$3=no"
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2371 main ()
2373 if (sizeof ($2))
2374 return 0;
2376 return 0;
2378 _ACEOF
2379 if ac_fn_c_try_compile "$LINENO"; then :
2380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2381 /* end confdefs.h. */
2384 main ()
2386 if (sizeof (($2)))
2387 return 0;
2389 return 0;
2391 _ACEOF
2392 if ac_fn_c_try_compile "$LINENO"; then :
2394 else
2395 eval "$3=yes"
2397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2401 eval ac_res=\$$3
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2403 $as_echo "$ac_res" >&6; }
2404 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2406 } # ac_fn_c_check_type
2408 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2409 # --------------------------------------------
2410 # Tries to find the compile-time value of EXPR in a program that includes
2411 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2412 # computed
2413 ac_fn_c_compute_int ()
2415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416 if test "$cross_compiling" = yes; then
2417 # Depending upon the size, compute the lo and hi bounds.
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 /* end confdefs.h. */
2422 main ()
2424 static int test_array [1 - 2 * !(($2) >= 0)];
2425 test_array [0] = 0
2428 return 0;
2430 _ACEOF
2431 if ac_fn_c_try_compile "$LINENO"; then :
2432 ac_lo=0 ac_mid=0
2433 while :; do
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2438 main ()
2440 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2441 test_array [0] = 0
2444 return 0;
2446 _ACEOF
2447 if ac_fn_c_try_compile "$LINENO"; then :
2448 ac_hi=$ac_mid; break
2449 else
2450 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2451 if test $ac_lo -le $ac_mid; then
2452 ac_lo= ac_hi=
2453 break
2455 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 done
2459 else
2460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2464 main ()
2466 static int test_array [1 - 2 * !(($2) < 0)];
2467 test_array [0] = 0
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474 ac_hi=-1 ac_mid=-1
2475 while :; do
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2480 main ()
2482 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2483 test_array [0] = 0
2486 return 0;
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2490 ac_lo=$ac_mid; break
2491 else
2492 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2493 if test $ac_mid -le $ac_hi; then
2494 ac_lo= ac_hi=
2495 break
2497 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 done
2501 else
2502 ac_lo= ac_hi=
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 # Binary search between lo and hi bounds.
2508 while test "x$ac_lo" != "x$ac_hi"; do
2509 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2511 /* end confdefs.h. */
2514 main ()
2516 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2517 test_array [0] = 0
2520 return 0;
2522 _ACEOF
2523 if ac_fn_c_try_compile "$LINENO"; then :
2524 ac_hi=$ac_mid
2525 else
2526 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2529 done
2530 case $ac_lo in #((
2531 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2532 '') ac_retval=1 ;;
2533 esac
2534 else
2535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2536 /* end confdefs.h. */
2538 static long int longval () { return $2; }
2539 static unsigned long int ulongval () { return $2; }
2540 #include <stdio.h>
2541 #include <stdlib.h>
2543 main ()
2546 FILE *f = fopen ("conftest.val", "w");
2547 if (! f)
2548 return 1;
2549 if (($2) < 0)
2551 long int i = longval ();
2552 if (i != ($2))
2553 return 1;
2554 fprintf (f, "%ld", i);
2556 else
2558 unsigned long int i = ulongval ();
2559 if (i != ($2))
2560 return 1;
2561 fprintf (f, "%lu", i);
2563 /* Do not output a trailing newline, as this causes \r\n confusion
2564 on some platforms. */
2565 return ferror (f) || fclose (f) != 0;
2568 return 0;
2570 _ACEOF
2571 if ac_fn_c_try_run "$LINENO"; then :
2572 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2573 else
2574 ac_retval=1
2576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2577 conftest.$ac_objext conftest.beam conftest.$ac_ext
2578 rm -f conftest.val
2581 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2582 return $ac_retval
2584 } # ac_fn_c_compute_int
2585 cat >config.log <<_ACEOF
2586 This file contains any messages produced by compilers while
2587 running configure, to aid debugging if configure makes a mistake.
2589 It was created by GNU Classpath $as_me 0.99, which was
2590 generated by GNU Autoconf 2.64. Invocation command line was
2592 $ $0 $@
2594 _ACEOF
2595 exec 5>>config.log
2597 cat <<_ASUNAME
2598 ## --------- ##
2599 ## Platform. ##
2600 ## --------- ##
2602 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2603 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2604 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2605 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2606 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2608 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2609 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2611 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2612 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2613 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2614 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2615 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2616 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2617 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2619 _ASUNAME
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH
2624 IFS=$as_save_IFS
2625 test -z "$as_dir" && as_dir=.
2626 $as_echo "PATH: $as_dir"
2627 done
2628 IFS=$as_save_IFS
2630 } >&5
2632 cat >&5 <<_ACEOF
2635 ## ----------- ##
2636 ## Core tests. ##
2637 ## ----------- ##
2639 _ACEOF
2642 # Keep a trace of the command line.
2643 # Strip out --no-create and --no-recursion so they do not pile up.
2644 # Strip out --silent because we don't want to record it for future runs.
2645 # Also quote any args containing shell meta-characters.
2646 # Make two passes to allow for proper duplicate-argument suppression.
2647 ac_configure_args=
2648 ac_configure_args0=
2649 ac_configure_args1=
2650 ac_must_keep_next=false
2651 for ac_pass in 1 2
2653 for ac_arg
2655 case $ac_arg in
2656 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2658 | -silent | --silent | --silen | --sile | --sil)
2659 continue ;;
2660 *\'*)
2661 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2662 esac
2663 case $ac_pass in
2664 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2666 as_fn_append ac_configure_args1 " '$ac_arg'"
2667 if test $ac_must_keep_next = true; then
2668 ac_must_keep_next=false # Got value, back to normal.
2669 else
2670 case $ac_arg in
2671 *=* | --config-cache | -C | -disable-* | --disable-* \
2672 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2673 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2674 | -with-* | --with-* | -without-* | --without-* | --x)
2675 case "$ac_configure_args0 " in
2676 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2677 esac
2679 -* ) ac_must_keep_next=true ;;
2680 esac
2682 as_fn_append ac_configure_args " '$ac_arg'"
2684 esac
2685 done
2686 done
2687 { ac_configure_args0=; unset ac_configure_args0;}
2688 { ac_configure_args1=; unset ac_configure_args1;}
2690 # When interrupted or exit'd, cleanup temporary files, and complete
2691 # config.log. We remove comments because anyway the quotes in there
2692 # would cause problems or look ugly.
2693 # WARNING: Use '\'' to represent an apostrophe within the trap.
2694 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2695 trap 'exit_status=$?
2696 # Save into config.log some information that might help in debugging.
2698 echo
2700 cat <<\_ASBOX
2701 ## ---------------- ##
2702 ## Cache variables. ##
2703 ## ---------------- ##
2704 _ASBOX
2705 echo
2706 # The following way of writing the cache mishandles newlines in values,
2708 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2709 eval ac_val=\$$ac_var
2710 case $ac_val in #(
2711 *${as_nl}*)
2712 case $ac_var in #(
2713 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2714 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2715 esac
2716 case $ac_var in #(
2717 _ | IFS | as_nl) ;; #(
2718 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2719 *) { eval $ac_var=; unset $ac_var;} ;;
2720 esac ;;
2721 esac
2722 done
2723 (set) 2>&1 |
2724 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2725 *${as_nl}ac_space=\ *)
2726 sed -n \
2727 "s/'\''/'\''\\\\'\'''\''/g;
2728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2729 ;; #(
2731 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2733 esac |
2734 sort
2736 echo
2738 cat <<\_ASBOX
2739 ## ----------------- ##
2740 ## Output variables. ##
2741 ## ----------------- ##
2742 _ASBOX
2743 echo
2744 for ac_var in $ac_subst_vars
2746 eval ac_val=\$$ac_var
2747 case $ac_val in
2748 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2749 esac
2750 $as_echo "$ac_var='\''$ac_val'\''"
2751 done | sort
2752 echo
2754 if test -n "$ac_subst_files"; then
2755 cat <<\_ASBOX
2756 ## ------------------- ##
2757 ## File substitutions. ##
2758 ## ------------------- ##
2759 _ASBOX
2760 echo
2761 for ac_var in $ac_subst_files
2763 eval ac_val=\$$ac_var
2764 case $ac_val in
2765 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2766 esac
2767 $as_echo "$ac_var='\''$ac_val'\''"
2768 done | sort
2769 echo
2772 if test -s confdefs.h; then
2773 cat <<\_ASBOX
2774 ## ----------- ##
2775 ## confdefs.h. ##
2776 ## ----------- ##
2777 _ASBOX
2778 echo
2779 cat confdefs.h
2780 echo
2782 test "$ac_signal" != 0 &&
2783 $as_echo "$as_me: caught signal $ac_signal"
2784 $as_echo "$as_me: exit $exit_status"
2785 } >&5
2786 rm -f core *.core core.conftest.* &&
2787 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2788 exit $exit_status
2790 for ac_signal in 1 2 13 15; do
2791 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2792 done
2793 ac_signal=0
2795 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2796 rm -f -r conftest* confdefs.h
2798 $as_echo "/* confdefs.h */" > confdefs.h
2800 # Predefined preprocessor variables.
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_NAME "$PACKAGE_NAME"
2804 _ACEOF
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2808 _ACEOF
2810 cat >>confdefs.h <<_ACEOF
2811 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2812 _ACEOF
2814 cat >>confdefs.h <<_ACEOF
2815 #define PACKAGE_STRING "$PACKAGE_STRING"
2816 _ACEOF
2818 cat >>confdefs.h <<_ACEOF
2819 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2820 _ACEOF
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE_URL "$PACKAGE_URL"
2824 _ACEOF
2827 # Let the site file select an alternate cache file if it wants to.
2828 # Prefer an explicitly selected file to automatically selected ones.
2829 ac_site_file1=NONE
2830 ac_site_file2=NONE
2831 if test -n "$CONFIG_SITE"; then
2832 ac_site_file1=$CONFIG_SITE
2833 elif test "x$prefix" != xNONE; then
2834 ac_site_file1=$prefix/share/config.site
2835 ac_site_file2=$prefix/etc/config.site
2836 else
2837 ac_site_file1=$ac_default_prefix/share/config.site
2838 ac_site_file2=$ac_default_prefix/etc/config.site
2840 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2842 test "x$ac_site_file" = xNONE && continue
2843 if test -r "$ac_site_file"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2845 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2846 sed 's/^/| /' "$ac_site_file" >&5
2847 . "$ac_site_file"
2849 done
2851 if test -r "$cache_file"; then
2852 # Some versions of bash will fail to source /dev/null (special
2853 # files actually), so we avoid doing that.
2854 if test -f "$cache_file"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2856 $as_echo "$as_me: loading cache $cache_file" >&6;}
2857 case $cache_file in
2858 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2859 *) . "./$cache_file";;
2860 esac
2862 else
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2864 $as_echo "$as_me: creating cache $cache_file" >&6;}
2865 >$cache_file
2868 # Check that the precious variables saved in the cache have kept the same
2869 # value.
2870 ac_cache_corrupted=false
2871 for ac_var in $ac_precious_vars; do
2872 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2873 eval ac_new_set=\$ac_env_${ac_var}_set
2874 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2875 eval ac_new_val=\$ac_env_${ac_var}_value
2876 case $ac_old_set,$ac_new_set in
2877 set,)
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2879 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2880 ac_cache_corrupted=: ;;
2881 ,set)
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2883 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2884 ac_cache_corrupted=: ;;
2885 ,);;
2887 if test "x$ac_old_val" != "x$ac_new_val"; then
2888 # differences in whitespace do not lead to failure.
2889 ac_old_val_w=`echo x $ac_old_val`
2890 ac_new_val_w=`echo x $ac_new_val`
2891 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2893 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2894 ac_cache_corrupted=:
2895 else
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2897 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2898 eval $ac_var=\$ac_old_val
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2901 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2903 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2904 fi;;
2905 esac
2906 # Pass precious variables to config.status.
2907 if test "$ac_new_set" = set; then
2908 case $ac_new_val in
2909 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2910 *) ac_arg=$ac_var=$ac_new_val ;;
2911 esac
2912 case " $ac_configure_args " in
2913 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2914 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2915 esac
2917 done
2918 if $ac_cache_corrupted; then
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2922 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2923 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2925 ## -------------------- ##
2926 ## Main body of script. ##
2927 ## -------------------- ##
2929 ac_ext=c
2930 ac_cpp='$CPP $CPPFLAGS'
2931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2942 ac_aux_dir=
2943 for ac_dir in ../.. "$srcdir"/../..; do
2944 for ac_t in install-sh install.sh shtool; do
2945 if test -f "$ac_dir/$ac_t"; then
2946 ac_aux_dir=$ac_dir
2947 ac_install_sh="$ac_aux_dir/$ac_t -c"
2948 break 2
2950 done
2951 done
2952 if test -z "$ac_aux_dir"; then
2953 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2956 # These three variables are undocumented and unsupported,
2957 # and are intended to be withdrawn in a future Autoconf release.
2958 # They can cause serious problems if a builder's source tree is in a directory
2959 # whose full name contains unusual characters.
2960 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2961 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2962 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2966 # Make sure we can run config.sub.
2967 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2968 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2971 $as_echo_n "checking build system type... " >&6; }
2972 if test "${ac_cv_build+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2974 else
2975 ac_build_alias=$build_alias
2976 test "x$ac_build_alias" = x &&
2977 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2978 test "x$ac_build_alias" = x &&
2979 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2980 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2981 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2985 $as_echo "$ac_cv_build" >&6; }
2986 case $ac_cv_build in
2987 *-*-*) ;;
2988 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2989 esac
2990 build=$ac_cv_build
2991 ac_save_IFS=$IFS; IFS='-'
2992 set x $ac_cv_build
2993 shift
2994 build_cpu=$1
2995 build_vendor=$2
2996 shift; shift
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
2999 build_os=$*
3000 IFS=$ac_save_IFS
3001 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3005 $as_echo_n "checking host system type... " >&6; }
3006 if test "${ac_cv_host+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3008 else
3009 if test "x$host_alias" = x; then
3010 ac_cv_host=$ac_cv_build
3011 else
3012 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3018 $as_echo "$ac_cv_host" >&6; }
3019 case $ac_cv_host in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3022 esac
3023 host=$ac_cv_host
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_host
3026 shift
3027 host_cpu=$1
3028 host_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 host_os=$*
3033 IFS=$ac_save_IFS
3034 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3038 $as_echo_n "checking target system type... " >&6; }
3039 if test "${ac_cv_target+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3041 else
3042 if test "x$target_alias" = x; then
3043 ac_cv_target=$ac_cv_host
3044 else
3045 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3046 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3051 $as_echo "$ac_cv_target" >&6; }
3052 case $ac_cv_target in
3053 *-*-*) ;;
3054 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3055 esac
3056 target=$ac_cv_target
3057 ac_save_IFS=$IFS; IFS='-'
3058 set x $ac_cv_target
3059 shift
3060 target_cpu=$1
3061 target_vendor=$2
3062 shift; shift
3063 # Remember, the first character of IFS is used to create $*,
3064 # except with old shells:
3065 target_os=$*
3066 IFS=$ac_save_IFS
3067 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3070 # The aliases save the names the user supplied, while $host etc.
3071 # will get canonicalized.
3072 test -n "$target_alias" &&
3073 test "$program_prefix$program_suffix$program_transform_name" = \
3074 NONENONEs,x,x, &&
3075 program_prefix=${target_alias}-
3077 # Check whether --enable-java-maintainer-mode was given.
3078 if test "${enable_java_maintainer_mode+set}" = set; then :
3079 enableval=$enable_java_maintainer_mode;
3082 if test "$enable_java_maintainer_mode" = yes; then
3083 JAVA_MAINTAINER_MODE_TRUE=
3084 JAVA_MAINTAINER_MODE_FALSE='#'
3085 else
3086 JAVA_MAINTAINER_MODE_TRUE='#'
3087 JAVA_MAINTAINER_MODE_FALSE=
3091 # We would like to our source tree to be readonly. However when releases or
3092 # pre-releases are generated, the man pages need to be included as they are
3093 # converted from the texi files via perl which we don't require end users to
3094 # have installed.
3095 # Therefore we have --enable-generated-files-in-srcdir to do just that.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3098 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3099 # Check whether --enable-generated-files-in-srcdir was given.
3100 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3101 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3102 else
3103 generated_files_in_srcdir=no
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3108 $as_echo "$generated_files_in_srcdir" >&6; }
3109 if test x$generated_files_in_srcdir = xyes; then
3110 GENINSRC_TRUE=
3111 GENINSRC_FALSE='#'
3112 else
3113 GENINSRC_TRUE='#'
3114 GENINSRC_FALSE=
3118 # Find the rest of the source tree framework.
3119 # Default to --enable-multilib
3120 # Check whether --enable-multilib was given.
3121 if test "${enable_multilib+set}" = set; then :
3122 enableval=$enable_multilib; case "$enableval" in
3123 yes) multilib=yes ;;
3124 no) multilib=no ;;
3125 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3126 esac
3127 else
3128 multilib=yes
3132 # We may get other options which we leave undocumented:
3133 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3134 # See config-ml.in if you want the gory details.
3136 if test "$srcdir" = "."; then
3137 if test "$with_target_subdir" != "."; then
3138 multi_basedir="$srcdir/$with_multisrctop../../.."
3139 else
3140 multi_basedir="$srcdir/$with_multisrctop../.."
3142 else
3143 multi_basedir="$srcdir/../.."
3147 # Even if the default multilib is not a cross compilation,
3148 # it may be that some of the other multilibs are.
3149 if test $cross_compiling = no && test $multilib = yes \
3150 && test "x${with_multisubdir}" != x ; then
3151 cross_compiling=maybe
3154 ac_config_commands="$ac_config_commands default-1"
3157 if test -z "${with_multisubdir}"; then
3158 INSTALL_BINARIES_TRUE=
3159 INSTALL_BINARIES_FALSE='#'
3160 else
3161 INSTALL_BINARIES_TRUE='#'
3162 INSTALL_BINARIES_FALSE=
3166 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
3168 LIBVERSION="0:0:0"
3170 case "$host_os" in
3171 darwin*)
3172 cp_module=""
3175 cp_module="-module"
3177 esac
3179 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
3182 CLASSPATH_CONVENIENCE="-no-undefined"
3186 am__api_version='1.11'
3188 # Find a good install program. We prefer a C program (faster),
3189 # so one script is as good as another. But avoid the broken or
3190 # incompatible versions:
3191 # SysV /etc/install, /usr/sbin/install
3192 # SunOS /usr/etc/install
3193 # IRIX /sbin/install
3194 # AIX /bin/install
3195 # AmigaOS /C/install, which installs bootblocks on floppy discs
3196 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3197 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3198 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3199 # OS/2's system install, which has a completely different semantic
3200 # ./install, which can be erroneously created by make from ./install.sh.
3201 # Reject install programs that cannot install multiple files.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3203 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3204 if test -z "$INSTALL"; then
3205 if test "${ac_cv_path_install+set}" = set; then :
3206 $as_echo_n "(cached) " >&6
3207 else
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 for as_dir in $PATH
3211 IFS=$as_save_IFS
3212 test -z "$as_dir" && as_dir=.
3213 # Account for people who put trailing slashes in PATH elements.
3214 case $as_dir/ in #((
3215 ./ | .// | /[cC]/* | \
3216 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3217 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3218 /usr/ucb/* ) ;;
3220 # OSF1 and SCO ODT 3.0 have their own names for install.
3221 # Don't use installbsd from OSF since it installs stuff as root
3222 # by default.
3223 for ac_prog in ginstall scoinst install; do
3224 for ac_exec_ext in '' $ac_executable_extensions; do
3225 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3226 if test $ac_prog = install &&
3227 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3228 # AIX install. It has an incompatible calling convention.
3230 elif test $ac_prog = install &&
3231 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3232 # program-specific install script used by HP pwplus--don't use.
3234 else
3235 rm -rf conftest.one conftest.two conftest.dir
3236 echo one > conftest.one
3237 echo two > conftest.two
3238 mkdir conftest.dir
3239 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3240 test -s conftest.one && test -s conftest.two &&
3241 test -s conftest.dir/conftest.one &&
3242 test -s conftest.dir/conftest.two
3243 then
3244 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3245 break 3
3249 done
3250 done
3252 esac
3254 done
3255 IFS=$as_save_IFS
3257 rm -rf conftest.one conftest.two conftest.dir
3260 if test "${ac_cv_path_install+set}" = set; then
3261 INSTALL=$ac_cv_path_install
3262 else
3263 # As a last resort, use the slow shell script. Don't cache a
3264 # value for INSTALL within a source directory, because that will
3265 # break other packages using the cache if that directory is
3266 # removed, or if the value is a relative name.
3267 INSTALL=$ac_install_sh
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3271 $as_echo "$INSTALL" >&6; }
3273 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3274 # It thinks the first close brace ends the variable substitution.
3275 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3277 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3279 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3282 $as_echo_n "checking whether build environment is sane... " >&6; }
3283 # Just in case
3284 sleep 1
3285 echo timestamp > conftest.file
3286 # Reject unsafe characters in $srcdir or the absolute working directory
3287 # name. Accept space and tab only in the latter.
3288 am_lf='
3290 case `pwd` in
3291 *[\\\"\#\$\&\'\`$am_lf]*)
3292 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3293 esac
3294 case $srcdir in
3295 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3296 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3297 esac
3299 # Do `set' in a subshell so we don't clobber the current shell's
3300 # arguments. Must try -L first in case configure is actually a
3301 # symlink; some systems play weird games with the mod time of symlinks
3302 # (eg FreeBSD returns the mod time of the symlink's containing
3303 # directory).
3304 if (
3305 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3306 if test "$*" = "X"; then
3307 # -L didn't work.
3308 set X `ls -t "$srcdir/configure" conftest.file`
3310 rm -f conftest.file
3311 if test "$*" != "X $srcdir/configure conftest.file" \
3312 && test "$*" != "X conftest.file $srcdir/configure"; then
3314 # If neither matched, then we have a broken ls. This can happen
3315 # if, for instance, CONFIG_SHELL is bash and it inherits a
3316 # broken ls alias from the environment. This has actually
3317 # happened. Such a system could not be considered "sane".
3318 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3319 alias in your environment" "$LINENO" 5
3322 test "$2" = conftest.file
3324 then
3325 # Ok.
3327 else
3328 as_fn_error "newly created file is older than distributed files!
3329 Check your system clock" "$LINENO" 5
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3333 test "$program_prefix" != NONE &&
3334 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3335 # Use a double $ so make ignores it.
3336 test "$program_suffix" != NONE &&
3337 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3338 # Double any \ or $.
3339 # By default was `s,x,x', remove it if useless.
3340 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3341 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3343 # expand $ac_aux_dir to an absolute path
3344 am_aux_dir=`cd $ac_aux_dir && pwd`
3346 if test x"${MISSING+set}" != xset; then
3347 case $am_aux_dir in
3348 *\ * | *\ *)
3349 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3351 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3352 esac
3354 # Use eval to expand $SHELL
3355 if eval "$MISSING --run true"; then
3356 am_missing_run="$MISSING --run "
3357 else
3358 am_missing_run=
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3360 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3363 if test x"${install_sh}" != xset; then
3364 case $am_aux_dir in
3365 *\ * | *\ *)
3366 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3368 install_sh="\${SHELL} $am_aux_dir/install-sh"
3369 esac
3372 # Installed binaries are usually stripped using `strip' when the user
3373 # run `make install-strip'. However `strip' might not be the right
3374 # tool to use in cross-compilation environments, therefore Automake
3375 # will honor the `STRIP' environment variable to overrule this program.
3376 if test "$cross_compiling" != no; then
3377 if test -n "$ac_tool_prefix"; then
3378 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3379 set dummy ${ac_tool_prefix}strip; ac_word=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if test "${ac_cv_prog_STRIP+set}" = set; then :
3383 $as_echo_n "(cached) " >&6
3384 else
3385 if test -n "$STRIP"; then
3386 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3387 else
3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 for as_dir in $PATH
3391 IFS=$as_save_IFS
3392 test -z "$as_dir" && as_dir=.
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 break 2
3399 done
3400 done
3401 IFS=$as_save_IFS
3405 STRIP=$ac_cv_prog_STRIP
3406 if test -n "$STRIP"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3408 $as_echo "$STRIP" >&6; }
3409 else
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3416 if test -z "$ac_cv_prog_STRIP"; then
3417 ac_ct_STRIP=$STRIP
3418 # Extract the first word of "strip", so it can be a program name with args.
3419 set dummy strip; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3424 else
3425 if test -n "$ac_ct_STRIP"; then
3426 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3427 else
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429 for as_dir in $PATH
3431 IFS=$as_save_IFS
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3435 ac_cv_prog_ac_ct_STRIP="strip"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 break 2
3439 done
3440 done
3441 IFS=$as_save_IFS
3445 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3446 if test -n "$ac_ct_STRIP"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3448 $as_echo "$ac_ct_STRIP" >&6; }
3449 else
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3454 if test "x$ac_ct_STRIP" = x; then
3455 STRIP=":"
3456 else
3457 case $cross_compiling:$ac_tool_warned in
3458 yes:)
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3461 ac_tool_warned=yes ;;
3462 esac
3463 STRIP=$ac_ct_STRIP
3465 else
3466 STRIP="$ac_cv_prog_STRIP"
3470 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3473 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3474 if test -z "$MKDIR_P"; then
3475 if test "${ac_cv_path_mkdir+set}" = set; then :
3476 $as_echo_n "(cached) " >&6
3477 else
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3481 IFS=$as_save_IFS
3482 test -z "$as_dir" && as_dir=.
3483 for ac_prog in mkdir gmkdir; do
3484 for ac_exec_ext in '' $ac_executable_extensions; do
3485 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3486 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3487 'mkdir (GNU coreutils) '* | \
3488 'mkdir (coreutils) '* | \
3489 'mkdir (fileutils) '4.1*)
3490 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3491 break 3;;
3492 esac
3493 done
3494 done
3495 done
3496 IFS=$as_save_IFS
3500 if test "${ac_cv_path_mkdir+set}" = set; then
3501 MKDIR_P="$ac_cv_path_mkdir -p"
3502 else
3503 # As a last resort, use the slow shell script. Don't cache a
3504 # value for MKDIR_P within a source directory, because that will
3505 # break other packages using the cache if that directory is
3506 # removed, or if the value is a relative name.
3507 test -d ./--version && rmdir ./--version
3508 MKDIR_P="$ac_install_sh -d"
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3512 $as_echo "$MKDIR_P" >&6; }
3514 mkdir_p="$MKDIR_P"
3515 case $mkdir_p in
3516 [\\/$]* | ?:[\\/]*) ;;
3517 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3518 esac
3520 for ac_prog in gawk mawk nawk awk
3522 # Extract the first word of "$ac_prog", so it can be a program name with args.
3523 set dummy $ac_prog; ac_word=$2
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3525 $as_echo_n "checking for $ac_word... " >&6; }
3526 if test "${ac_cv_prog_AWK+set}" = set; then :
3527 $as_echo_n "(cached) " >&6
3528 else
3529 if test -n "$AWK"; then
3530 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3531 else
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH
3535 IFS=$as_save_IFS
3536 test -z "$as_dir" && as_dir=.
3537 for ac_exec_ext in '' $ac_executable_extensions; do
3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3539 ac_cv_prog_AWK="$ac_prog"
3540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 break 2
3543 done
3544 done
3545 IFS=$as_save_IFS
3549 AWK=$ac_cv_prog_AWK
3550 if test -n "$AWK"; then
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3552 $as_echo "$AWK" >&6; }
3553 else
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3559 test -n "$AWK" && break
3560 done
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3563 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3564 set x ${MAKE-make}
3565 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3566 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3567 $as_echo_n "(cached) " >&6
3568 else
3569 cat >conftest.make <<\_ACEOF
3570 SHELL = /bin/sh
3571 all:
3572 @echo '@@@%%%=$(MAKE)=@@@%%%'
3573 _ACEOF
3574 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3575 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3576 *@@@%%%=?*=@@@%%%*)
3577 eval ac_cv_prog_make_${ac_make}_set=yes;;
3579 eval ac_cv_prog_make_${ac_make}_set=no;;
3580 esac
3581 rm -f conftest.make
3583 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3585 $as_echo "yes" >&6; }
3586 SET_MAKE=
3587 else
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3590 SET_MAKE="MAKE=${MAKE-make}"
3593 rm -rf .tst 2>/dev/null
3594 mkdir .tst 2>/dev/null
3595 if test -d .tst; then
3596 am__leading_dot=.
3597 else
3598 am__leading_dot=_
3600 rmdir .tst 2>/dev/null
3602 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3603 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3604 # is not polluted with repeated "-I."
3605 am__isrc=' -I$(srcdir)'
3606 # test to see if srcdir already configured
3607 if test -f $srcdir/config.status; then
3608 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3612 # test whether we have cygpath
3613 if test -z "$CYGPATH_W"; then
3614 if (cygpath --version) >/dev/null 2>/dev/null; then
3615 CYGPATH_W='cygpath -w'
3616 else
3617 CYGPATH_W=echo
3622 # Define the identity of the package.
3623 PACKAGE='classpath'
3624 VERSION='0.99'
3627 cat >>confdefs.h <<_ACEOF
3628 #define PACKAGE "$PACKAGE"
3629 _ACEOF
3632 cat >>confdefs.h <<_ACEOF
3633 #define VERSION "$VERSION"
3634 _ACEOF
3636 # Some tools Automake needs.
3638 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3641 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3644 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3647 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3650 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3652 # We need awk for the "check" target. The system "awk" is bad on
3653 # some platforms.
3654 # Always define AMTAR for backward compatibility.
3656 AMTAR=${AMTAR-"${am_missing_run}tar"}
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3660 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3661 # Loop over all known methods to create a tar archive until one works.
3662 _am_tools='gnutar plaintar pax cpio none'
3663 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3664 # Do not fold the above two line into one, because Tru64 sh and
3665 # Solaris sh will not grok spaces in the rhs of `-'.
3666 for _am_tool in $_am_tools
3668 case $_am_tool in
3669 gnutar)
3670 for _am_tar in tar gnutar gtar;
3672 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3673 ($_am_tar --version) >&5 2>&5
3674 ac_status=$?
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } && break
3677 done
3678 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3679 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3680 am__untar="$_am_tar -xf -"
3682 plaintar)
3683 # Must skip GNU tar: if it does not support --format= it doesn't create
3684 # ustar tarball either.
3685 (tar --version) >/dev/null 2>&1 && continue
3686 am__tar='tar chf - "$$tardir"'
3687 am__tar_='tar chf - "$tardir"'
3688 am__untar='tar xf -'
3690 pax)
3691 am__tar='pax -L -x ustar -w "$$tardir"'
3692 am__tar_='pax -L -x ustar -w "$tardir"'
3693 am__untar='pax -r'
3695 cpio)
3696 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3697 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3698 am__untar='cpio -i -H ustar -d'
3700 none)
3701 am__tar=false
3702 am__tar_=false
3703 am__untar=false
3705 esac
3707 # If the value was cached, stop now. We just wanted to have am__tar
3708 # and am__untar set.
3709 test -n "${am_cv_prog_tar_ustar}" && break
3711 # tar/untar a dummy directory, and stop if the command works
3712 rm -rf conftest.dir
3713 mkdir conftest.dir
3714 echo GrepMe > conftest.dir/file
3715 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3716 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3717 ac_status=$?
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }
3720 rm -rf conftest.dir
3721 if test -s conftest.tar; then
3722 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3723 ($am__untar <conftest.tar) >&5 2>&5
3724 ac_status=$?
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }
3727 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3729 done
3730 rm -rf conftest.dir
3732 if test "${am_cv_prog_tar_ustar+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 am_cv_prog_tar_ustar=$_am_tool
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3739 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3745 ac_config_headers="$ac_config_headers include/config.h"
3751 # Check whether --enable-collections was given.
3752 if test "${enable_collections+set}" = set; then :
3753 enableval=$enable_collections; case x"${enableval}" in
3754 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
3755 xno) COMPILE_COLLECTIONS=no ;;
3756 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
3757 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
3758 esac
3759 else
3760 COMPILE_COLLECTIONS=no
3763 if test "x${COMPILE_COLLECTIONS}" = xyes; then
3764 CREATE_COLLECTIONS_TRUE=
3765 CREATE_COLLECTIONS_FALSE='#'
3766 else
3767 CREATE_COLLECTIONS_TRUE='#'
3768 CREATE_COLLECTIONS_FALSE=
3772 # Check whether --enable-jni was given.
3773 if test "${enable_jni+set}" = set; then :
3774 enableval=$enable_jni; case "${enableval}" in
3775 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
3776 no) COMPILE_JNI=no ;;
3777 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
3778 esac
3779 else
3780 COMPILE_JNI=yes
3783 if test "x${COMPILE_JNI}" = xyes; then
3784 CREATE_JNI_LIBRARIES_TRUE=
3785 CREATE_JNI_LIBRARIES_FALSE='#'
3786 else
3787 CREATE_JNI_LIBRARIES_TRUE='#'
3788 CREATE_JNI_LIBRARIES_FALSE=
3792 # Check whether --enable-core-jni was given.
3793 if test "${enable_core_jni+set}" = set; then :
3794 enableval=$enable_core_jni; case "${enableval}" in
3795 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
3796 no) COMPILE_CORE_JNI=no ;;
3797 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
3798 esac
3799 else
3800 COMPILE_CORE_JNI=yes
3803 if test "x${COMPILE_CORE_JNI}" = xyes; then
3804 CREATE_CORE_JNI_LIBRARIES_TRUE=
3805 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
3806 else
3807 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
3808 CREATE_CORE_JNI_LIBRARIES_FALSE=
3812 # Check whether --enable-default-preferences-peer was given.
3813 if test "${enable_default_preferences_peer+set}" = set; then :
3814 enableval=$enable_default_preferences_peer; case "${enableval}" in
3815 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
3816 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
3817 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
3818 no|false) as_fn_error "bad value '${enableval}' for --enable-default-preferences-peer" "$LINENO" 5 ;;
3819 *) DEFAULT_PREFS_PEER=${enableval} ;;
3820 esac
3821 else
3822 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
3826 # Check whether --enable-gconf-peer was given.
3827 if test "${enable_gconf_peer+set}" = set; then :
3828 enableval=$enable_gconf_peer; case "${enableval}" in
3829 yes) COMPILE_GCONF_PEER=yes ;;
3830 no) COMPILE_GCONF_PEER=no ;;
3831 *) COMPILE_GCONF_PEER=yes ;;
3832 esac
3833 else
3834 COMPILE_GCONF_PEER=yes
3837 if test "x${COMPILE_GCONF_PEER}" = xyes; then
3838 CREATE_GCONF_PEER_LIBRARIES_TRUE=
3839 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
3840 else
3841 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
3842 CREATE_GCONF_PEER_LIBRARIES_FALSE=
3846 # Check whether --enable-gconf-peers was given.
3847 if test "${enable_gconf_peers+set}" = set; then :
3848 enableval=$enable_gconf_peers; as_fn_error "No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" "$LINENO" 5
3852 # Check whether --enable-gstreamer-peer was given.
3853 if test "${enable_gstreamer_peer+set}" = set; then :
3854 enableval=$enable_gstreamer_peer; case "${enableval}" in
3855 yes) COMPILE_GSTREAMER_PEER=yes ;;
3856 no) COMPILE_GSTREAMER_PEER=no ;;
3857 *) COMPILE_GSTREAMER_PEER=default ;;
3858 esac
3859 else
3860 COMPILE_GSTREAMER_PEER=default
3863 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
3864 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE=
3865 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE='#'
3866 else
3867 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE='#'
3868 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE=
3872 # Check whether --enable-gstreamer-peers was given.
3873 if test "${enable_gstreamer_peers+set}" = set; then :
3874 enableval=$enable_gstreamer_peers; as_fn_error "No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" "$LINENO" 5
3878 # Check whether --enable-Werror was given.
3879 if test "${enable_Werror+set}" = set; then :
3880 enableval=$enable_Werror; case "${enableval}" in
3881 yes) ENABLE_WERROR=yes ;;
3882 no) ENABLE_WERROR=no ;;
3883 *) ENABLE_WERROR=default ;;
3884 esac
3885 else
3886 ENABLE_WERROR=default
3890 # Check whether --enable-default-toolkit was given.
3891 if test "${enable_default_toolkit+set}" = set; then :
3892 enableval=$enable_default_toolkit;
3895 default_toolkit=$enable_default_toolkit
3896 if test "$default_toolkit" = ""; then
3897 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
3901 # Check whether --enable-xmlj was given.
3902 if test "${enable_xmlj+set}" = set; then :
3903 enableval=$enable_xmlj; case "${enableval}" in
3904 yes) COMPILE_XMLJ=yes ;;
3905 no) COMPILE_XMLJ=no ;;
3906 *) COMPILE_XMLJ=no ;;
3907 esac
3908 else
3909 COMPILE_XMLJ=no
3912 if test "x${COMPILE_XMLJ}" = xyes; then
3913 CREATE_XMLJ_LIBRARY_TRUE=
3914 CREATE_XMLJ_LIBRARY_FALSE='#'
3915 else
3916 CREATE_XMLJ_LIBRARY_TRUE='#'
3917 CREATE_XMLJ_LIBRARY_FALSE=
3921 DEPDIR="${am__leading_dot}deps"
3923 ac_config_commands="$ac_config_commands depfiles"
3926 am_make=${MAKE-make}
3927 cat > confinc << 'END'
3928 am__doit:
3929 @echo this is the am__doit target
3930 .PHONY: am__doit
3932 # If we don't find an include directive, just comment out the code.
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3934 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3935 am__include="#"
3936 am__quote=
3937 _am_result=none
3938 # First try GNU make style include.
3939 echo "include confinc" > confmf
3940 # Ignore all kinds of additional output from `make'.
3941 case `$am_make -s -f confmf 2> /dev/null` in #(
3942 *the\ am__doit\ target*)
3943 am__include=include
3944 am__quote=
3945 _am_result=GNU
3947 esac
3948 # Now try BSD make style include.
3949 if test "$am__include" = "#"; then
3950 echo '.include "confinc"' > confmf
3951 case `$am_make -s -f confmf 2> /dev/null` in #(
3952 *the\ am__doit\ target*)
3953 am__include=.include
3954 am__quote="\""
3955 _am_result=BSD
3957 esac
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3962 $as_echo "$_am_result" >&6; }
3963 rm -f confinc confmf
3965 # Check whether --enable-dependency-tracking was given.
3966 if test "${enable_dependency_tracking+set}" = set; then :
3967 enableval=$enable_dependency_tracking;
3970 if test "x$enable_dependency_tracking" != xno; then
3971 am_depcomp="$ac_aux_dir/depcomp"
3972 AMDEPBACKSLASH='\'
3974 if test "x$enable_dependency_tracking" != xno; then
3975 AMDEP_TRUE=
3976 AMDEP_FALSE='#'
3977 else
3978 AMDEP_TRUE='#'
3979 AMDEP_FALSE=
3983 ac_ext=c
3984 ac_cpp='$CPP $CPPFLAGS'
3985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3990 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if test "${ac_cv_prog_CC+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3995 else
3996 if test -n "$CC"; then
3997 ac_cv_prog_CC="$CC" # Let the user override the test.
3998 else
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000 for as_dir in $PATH
4002 IFS=$as_save_IFS
4003 test -z "$as_dir" && as_dir=.
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4006 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 break 2
4010 done
4011 done
4012 IFS=$as_save_IFS
4016 CC=$ac_cv_prog_CC
4017 if test -n "$CC"; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4019 $as_echo "$CC" >&6; }
4020 else
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4027 if test -z "$ac_cv_prog_CC"; then
4028 ac_ct_CC=$CC
4029 # Extract the first word of "gcc", so it can be a program name with args.
4030 set dummy gcc; ac_word=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4034 $as_echo_n "(cached) " >&6
4035 else
4036 if test -n "$ac_ct_CC"; then
4037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4038 else
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040 for as_dir in $PATH
4042 IFS=$as_save_IFS
4043 test -z "$as_dir" && as_dir=.
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4046 ac_cv_prog_ac_ct_CC="gcc"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 break 2
4050 done
4051 done
4052 IFS=$as_save_IFS
4056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4057 if test -n "$ac_ct_CC"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4059 $as_echo "$ac_ct_CC" >&6; }
4060 else
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4065 if test "x$ac_ct_CC" = x; then
4066 CC=""
4067 else
4068 case $cross_compiling:$ac_tool_warned in
4069 yes:)
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4072 ac_tool_warned=yes ;;
4073 esac
4074 CC=$ac_ct_CC
4076 else
4077 CC="$ac_cv_prog_CC"
4080 if test -z "$CC"; then
4081 if test -n "$ac_tool_prefix"; then
4082 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4083 set dummy ${ac_tool_prefix}cc; ac_word=$2
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085 $as_echo_n "checking for $ac_word... " >&6; }
4086 if test "${ac_cv_prog_CC+set}" = set; then :
4087 $as_echo_n "(cached) " >&6
4088 else
4089 if test -n "$CC"; then
4090 ac_cv_prog_CC="$CC" # Let the user override the test.
4091 else
4092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 for as_dir in $PATH
4095 IFS=$as_save_IFS
4096 test -z "$as_dir" && as_dir=.
4097 for ac_exec_ext in '' $ac_executable_extensions; do
4098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4099 ac_cv_prog_CC="${ac_tool_prefix}cc"
4100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 break 2
4103 done
4104 done
4105 IFS=$as_save_IFS
4109 CC=$ac_cv_prog_CC
4110 if test -n "$CC"; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4112 $as_echo "$CC" >&6; }
4113 else
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115 $as_echo "no" >&6; }
4121 if test -z "$CC"; then
4122 # Extract the first word of "cc", so it can be a program name with args.
4123 set dummy cc; ac_word=$2
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if test "${ac_cv_prog_CC+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4128 else
4129 if test -n "$CC"; then
4130 ac_cv_prog_CC="$CC" # Let the user override the test.
4131 else
4132 ac_prog_rejected=no
4133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134 for as_dir in $PATH
4136 IFS=$as_save_IFS
4137 test -z "$as_dir" && as_dir=.
4138 for ac_exec_ext in '' $ac_executable_extensions; do
4139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4140 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4141 ac_prog_rejected=yes
4142 continue
4144 ac_cv_prog_CC="cc"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 break 2
4148 done
4149 done
4150 IFS=$as_save_IFS
4152 if test $ac_prog_rejected = yes; then
4153 # We found a bogon in the path, so make sure we never use it.
4154 set dummy $ac_cv_prog_CC
4155 shift
4156 if test $# != 0; then
4157 # We chose a different compiler from the bogus one.
4158 # However, it has the same basename, so the bogon will be chosen
4159 # first if we set CC to just the basename; use the full file name.
4160 shift
4161 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4166 CC=$ac_cv_prog_CC
4167 if test -n "$CC"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4169 $as_echo "$CC" >&6; }
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4177 if test -z "$CC"; then
4178 if test -n "$ac_tool_prefix"; then
4179 for ac_prog in cl.exe
4181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if test "${ac_cv_prog_CC+set}" = set; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 if test -n "$CC"; then
4189 ac_cv_prog_CC="$CC" # Let the user override the test.
4190 else
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 for as_dir in $PATH
4194 IFS=$as_save_IFS
4195 test -z "$as_dir" && as_dir=.
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 break 2
4202 done
4203 done
4204 IFS=$as_save_IFS
4208 CC=$ac_cv_prog_CC
4209 if test -n "$CC"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4211 $as_echo "$CC" >&6; }
4212 else
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4218 test -n "$CC" && break
4219 done
4221 if test -z "$CC"; then
4222 ac_ct_CC=$CC
4223 for ac_prog in cl.exe
4225 # Extract the first word of "$ac_prog", so it can be a program name with args.
4226 set dummy $ac_prog; ac_word=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4231 else
4232 if test -n "$ac_ct_CC"; then
4233 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4234 else
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 for as_dir in $PATH
4238 IFS=$as_save_IFS
4239 test -z "$as_dir" && as_dir=.
4240 for ac_exec_ext in '' $ac_executable_extensions; do
4241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4242 ac_cv_prog_ac_ct_CC="$ac_prog"
4243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 break 2
4246 done
4247 done
4248 IFS=$as_save_IFS
4252 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4253 if test -n "$ac_ct_CC"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4255 $as_echo "$ac_ct_CC" >&6; }
4256 else
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4262 test -n "$ac_ct_CC" && break
4263 done
4265 if test "x$ac_ct_CC" = x; then
4266 CC=""
4267 else
4268 case $cross_compiling:$ac_tool_warned in
4269 yes:)
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4272 ac_tool_warned=yes ;;
4273 esac
4274 CC=$ac_ct_CC
4281 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4283 as_fn_error "no acceptable C compiler found in \$PATH
4284 See \`config.log' for more details." "$LINENO" 5; }
4286 # Provide some information about the compiler.
4287 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4288 set X $ac_compile
4289 ac_compiler=$2
4290 for ac_option in --version -v -V -qversion; do
4291 { { ac_try="$ac_compiler $ac_option >&5"
4292 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4295 esac
4296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297 $as_echo "$ac_try_echo"; } >&5
4298 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4299 ac_status=$?
4300 if test -s conftest.err; then
4301 sed '10a\
4302 ... rest of stderr output deleted ...
4303 10q' conftest.err >conftest.er1
4304 cat conftest.er1 >&5
4305 rm -f conftest.er1 conftest.err
4307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4308 test $ac_status = 0; }
4309 done
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4315 main ()
4319 return 0;
4321 _ACEOF
4322 # FIXME: Cleanup?
4323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4324 (eval $ac_link) 2>&5
4325 ac_status=$?
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 gcc_no_link=no
4329 else
4330 gcc_no_link=yes
4332 if test x$gcc_no_link = xyes; then
4333 # Setting cross_compile will disable run tests; it will
4334 # also disable AC_CHECK_FILE but that's generally
4335 # correct if we can't link.
4336 cross_compiling=yes
4337 EXEEXT=
4338 else
4339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4343 main ()
4347 return 0;
4349 _ACEOF
4350 ac_clean_files_save=$ac_clean_files
4351 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4352 # Try to create an executable without -o first, disregard a.out.
4353 # It will help us diagnose broken compilers, and finding out an intuition
4354 # of exeext.
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4356 $as_echo_n "checking for C compiler default output file name... " >&6; }
4357 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4359 # The possible output files:
4360 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4362 ac_rmfiles=
4363 for ac_file in $ac_files
4365 case $ac_file in
4366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4367 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4368 esac
4369 done
4370 rm -f $ac_rmfiles
4372 if { { ac_try="$ac_link_default"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link_default") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4384 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4385 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4386 # so that the user can short-circuit this test for compilers unknown to
4387 # Autoconf.
4388 for ac_file in $ac_files ''
4390 test -f "$ac_file" || continue
4391 case $ac_file in
4392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4394 [ab].out )
4395 # We found the default executable, but exeext='' is most
4396 # certainly right.
4397 break;;
4398 *.* )
4399 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4400 then :; else
4401 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4403 # We set ac_cv_exeext here because the later test for it is not
4404 # safe: cross compilers may not add the suffix if given an `-o'
4405 # argument, so we may need to know it at that point already.
4406 # Even if this section looks crufty: it has the advantage of
4407 # actually working.
4408 break;;
4410 break;;
4411 esac
4412 done
4413 test "$ac_cv_exeext" = no && ac_cv_exeext=
4415 else
4416 ac_file=''
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4419 $as_echo "$ac_file" >&6; }
4420 if test -z "$ac_file"; then :
4421 $as_echo "$as_me: failed program was:" >&5
4422 sed 's/^/| /' conftest.$ac_ext >&5
4424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4426 { as_fn_set_status 77
4427 as_fn_error "C compiler cannot create executables
4428 See \`config.log' for more details." "$LINENO" 5; }; }
4430 ac_exeext=$ac_cv_exeext
4432 # Check that the compiler produces executables we can run. If not, either
4433 # the compiler is broken, or we cross compile.
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4435 $as_echo_n "checking whether the C compiler works... " >&6; }
4436 # If not cross compiling, check that we can run a simple program.
4437 if test "$cross_compiling" != yes; then
4438 if { ac_try='./$ac_file'
4439 { { case "(($ac_try" in
4440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4442 esac
4443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4444 $as_echo "$ac_try_echo"; } >&5
4445 (eval "$ac_try") 2>&5
4446 ac_status=$?
4447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4448 test $ac_status = 0; }; }; then
4449 cross_compiling=no
4450 else
4451 if test "$cross_compiling" = maybe; then
4452 cross_compiling=yes
4453 else
4454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4456 as_fn_error "cannot run C compiled programs.
4457 If you meant to cross compile, use \`--host'.
4458 See \`config.log' for more details." "$LINENO" 5; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4463 $as_echo "yes" >&6; }
4465 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4466 ac_clean_files=$ac_clean_files_save
4467 # Check that the compiler produces executables we can run. If not, either
4468 # the compiler is broken, or we cross compile.
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4470 $as_echo_n "checking whether we are cross compiling... " >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4472 $as_echo "$cross_compiling" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4475 $as_echo_n "checking for suffix of executables... " >&6; }
4476 if { { ac_try="$ac_link"
4477 case "(($ac_try" in
4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4480 esac
4481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4482 $as_echo "$ac_try_echo"; } >&5
4483 (eval "$ac_link") 2>&5
4484 ac_status=$?
4485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4486 test $ac_status = 0; }; then :
4487 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4488 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4489 # work properly (i.e., refer to `conftest.exe'), while it won't with
4490 # `rm'.
4491 for ac_file in conftest.exe conftest conftest.*; do
4492 test -f "$ac_file" || continue
4493 case $ac_file in
4494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4495 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4496 break;;
4497 * ) break;;
4498 esac
4499 done
4500 else
4501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4503 as_fn_error "cannot compute suffix of executables: cannot compile and link
4504 See \`config.log' for more details." "$LINENO" 5; }
4506 rm -f conftest$ac_cv_exeext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4508 $as_echo "$ac_cv_exeext" >&6; }
4510 rm -f conftest.$ac_ext
4511 EXEEXT=$ac_cv_exeext
4512 ac_exeext=$EXEEXT
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4515 $as_echo_n "checking for suffix of object files... " >&6; }
4516 if test "${ac_cv_objext+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4518 else
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4523 main ()
4527 return 0;
4529 _ACEOF
4530 rm -f conftest.o conftest.obj
4531 if { { ac_try="$ac_compile"
4532 case "(($ac_try" in
4533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4534 *) ac_try_echo=$ac_try;;
4535 esac
4536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4537 $as_echo "$ac_try_echo"; } >&5
4538 (eval "$ac_compile") 2>&5
4539 ac_status=$?
4540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4541 test $ac_status = 0; }; then :
4542 for ac_file in conftest.o conftest.obj conftest.*; do
4543 test -f "$ac_file" || continue;
4544 case $ac_file in
4545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4546 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4547 break;;
4548 esac
4549 done
4550 else
4551 $as_echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.$ac_ext >&5
4554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4556 as_fn_error "cannot compute suffix of object files: cannot compile
4557 See \`config.log' for more details." "$LINENO" 5; }
4559 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4562 $as_echo "$ac_cv_objext" >&6; }
4563 OBJEXT=$ac_cv_objext
4564 ac_objext=$OBJEXT
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4566 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4567 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4568 $as_echo_n "(cached) " >&6
4569 else
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4574 main ()
4576 #ifndef __GNUC__
4577 choke me
4578 #endif
4581 return 0;
4583 _ACEOF
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 ac_compiler_gnu=yes
4586 else
4587 ac_compiler_gnu=no
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4594 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4595 if test $ac_compiler_gnu = yes; then
4596 GCC=yes
4597 else
4598 GCC=
4600 ac_test_CFLAGS=${CFLAGS+set}
4601 ac_save_CFLAGS=$CFLAGS
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4603 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4604 if test "${ac_cv_prog_cc_g+set}" = set; then :
4605 $as_echo_n "(cached) " >&6
4606 else
4607 ac_save_c_werror_flag=$ac_c_werror_flag
4608 ac_c_werror_flag=yes
4609 ac_cv_prog_cc_g=no
4610 CFLAGS="-g"
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4615 main ()
4619 return 0;
4621 _ACEOF
4622 if ac_fn_c_try_compile "$LINENO"; then :
4623 ac_cv_prog_cc_g=yes
4624 else
4625 CFLAGS=""
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4630 main ()
4634 return 0;
4636 _ACEOF
4637 if ac_fn_c_try_compile "$LINENO"; then :
4639 else
4640 ac_c_werror_flag=$ac_save_c_werror_flag
4641 CFLAGS="-g"
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4646 main ()
4650 return 0;
4652 _ACEOF
4653 if ac_fn_c_try_compile "$LINENO"; then :
4654 ac_cv_prog_cc_g=yes
4656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 ac_c_werror_flag=$ac_save_c_werror_flag
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4664 $as_echo "$ac_cv_prog_cc_g" >&6; }
4665 if test "$ac_test_CFLAGS" = set; then
4666 CFLAGS=$ac_save_CFLAGS
4667 elif test $ac_cv_prog_cc_g = yes; then
4668 if test "$GCC" = yes; then
4669 CFLAGS="-g -O2"
4670 else
4671 CFLAGS="-g"
4673 else
4674 if test "$GCC" = yes; then
4675 CFLAGS="-O2"
4676 else
4677 CFLAGS=
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4681 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4682 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4683 $as_echo_n "(cached) " >&6
4684 else
4685 ac_cv_prog_cc_c89=no
4686 ac_save_CC=$CC
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688 /* end confdefs.h. */
4689 #include <stdarg.h>
4690 #include <stdio.h>
4691 #include <sys/types.h>
4692 #include <sys/stat.h>
4693 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4694 struct buf { int x; };
4695 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4696 static char *e (p, i)
4697 char **p;
4698 int i;
4700 return p[i];
4702 static char *f (char * (*g) (char **, int), char **p, ...)
4704 char *s;
4705 va_list v;
4706 va_start (v,p);
4707 s = g (p, va_arg (v,int));
4708 va_end (v);
4709 return s;
4712 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4713 function prototypes and stuff, but not '\xHH' hex character constants.
4714 These don't provoke an error unfortunately, instead are silently treated
4715 as 'x'. The following induces an error, until -std is added to get
4716 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4717 array size at least. It's necessary to write '\x00'==0 to get something
4718 that's true only with -std. */
4719 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4721 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4722 inside strings and character constants. */
4723 #define FOO(x) 'x'
4724 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4726 int test (int i, double x);
4727 struct s1 {int (*f) (int a);};
4728 struct s2 {int (*f) (double a);};
4729 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4730 int argc;
4731 char **argv;
4733 main ()
4735 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4737 return 0;
4739 _ACEOF
4740 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4741 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4743 CC="$ac_save_CC $ac_arg"
4744 if ac_fn_c_try_compile "$LINENO"; then :
4745 ac_cv_prog_cc_c89=$ac_arg
4747 rm -f core conftest.err conftest.$ac_objext
4748 test "x$ac_cv_prog_cc_c89" != "xno" && break
4749 done
4750 rm -f conftest.$ac_ext
4751 CC=$ac_save_CC
4754 # AC_CACHE_VAL
4755 case "x$ac_cv_prog_cc_c89" in
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4758 $as_echo "none needed" >&6; } ;;
4759 xno)
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4761 $as_echo "unsupported" >&6; } ;;
4763 CC="$CC $ac_cv_prog_cc_c89"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4765 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4766 esac
4767 if test "x$ac_cv_prog_cc_c89" != xno; then :
4771 ac_ext=c
4772 ac_cpp='$CPP $CPPFLAGS'
4773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4777 depcc="$CC" am_compiler_list=
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4780 $as_echo_n "checking dependency style of $depcc... " >&6; }
4781 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4782 $as_echo_n "(cached) " >&6
4783 else
4784 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4785 # We make a subdir and do the tests there. Otherwise we can end up
4786 # making bogus files that we don't know about and never remove. For
4787 # instance it was reported that on HP-UX the gcc test will end up
4788 # making a dummy file named `D' -- because `-MD' means `put the output
4789 # in D'.
4790 mkdir conftest.dir
4791 # Copy depcomp to subdir because otherwise we won't find it if we're
4792 # using a relative directory.
4793 cp "$am_depcomp" conftest.dir
4794 cd conftest.dir
4795 # We will build objects and dependencies in a subdirectory because
4796 # it helps to detect inapplicable dependency modes. For instance
4797 # both Tru64's cc and ICC support -MD to output dependencies as a
4798 # side effect of compilation, but ICC will put the dependencies in
4799 # the current directory while Tru64 will put them in the object
4800 # directory.
4801 mkdir sub
4803 am_cv_CC_dependencies_compiler_type=none
4804 if test "$am_compiler_list" = ""; then
4805 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4807 am__universal=false
4808 case " $depcc " in #(
4809 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4810 esac
4812 for depmode in $am_compiler_list; do
4813 # Setup a source with many dependencies, because some compilers
4814 # like to wrap large dependency lists on column 80 (with \), and
4815 # we should not choose a depcomp mode which is confused by this.
4817 # We need to recreate these files for each test, as the compiler may
4818 # overwrite some of them when testing with obscure command lines.
4819 # This happens at least with the AIX C compiler.
4820 : > sub/conftest.c
4821 for i in 1 2 3 4 5 6; do
4822 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4823 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4824 # Solaris 8's {/usr,}/bin/sh.
4825 touch sub/conftst$i.h
4826 done
4827 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4829 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4830 # mode. It turns out that the SunPro C++ compiler does not properly
4831 # handle `-M -o', and we need to detect this. Also, some Intel
4832 # versions had trouble with output in subdirs
4833 am__obj=sub/conftest.${OBJEXT-o}
4834 am__minus_obj="-o $am__obj"
4835 case $depmode in
4836 gcc)
4837 # This depmode causes a compiler race in universal mode.
4838 test "$am__universal" = false || continue
4840 nosideeffect)
4841 # after this tag, mechanisms are not by side-effect, so they'll
4842 # only be used when explicitly requested
4843 if test "x$enable_dependency_tracking" = xyes; then
4844 continue
4845 else
4846 break
4849 msvisualcpp | msvcmsys)
4850 # This compiler won't grok `-c -o', but also, the minuso test has
4851 # not run yet. These depmodes are late enough in the game, and
4852 # so weak that their functioning should not be impacted.
4853 am__obj=conftest.${OBJEXT-o}
4854 am__minus_obj=
4856 none) break ;;
4857 esac
4858 if depmode=$depmode \
4859 source=sub/conftest.c object=$am__obj \
4860 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4861 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4862 >/dev/null 2>conftest.err &&
4863 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4864 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4865 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4866 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4867 # icc doesn't choke on unknown options, it will just issue warnings
4868 # or remarks (even with -Werror). So we grep stderr for any message
4869 # that says an option was ignored or not supported.
4870 # When given -MP, icc 7.0 and 7.1 complain thusly:
4871 # icc: Command line warning: ignoring option '-M'; no argument required
4872 # The diagnosis changed in icc 8.0:
4873 # icc: Command line remark: option '-MP' not supported
4874 if (grep 'ignoring option' conftest.err ||
4875 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4876 am_cv_CC_dependencies_compiler_type=$depmode
4877 break
4880 done
4882 cd ..
4883 rm -rf conftest.dir
4884 else
4885 am_cv_CC_dependencies_compiler_type=none
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4890 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4891 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4894 test "x$enable_dependency_tracking" != xno \
4895 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4896 am__fastdepCC_TRUE=
4897 am__fastdepCC_FALSE='#'
4898 else
4899 am__fastdepCC_TRUE='#'
4900 am__fastdepCC_FALSE=
4905 ac_ext=c
4906 ac_cpp='$CPP $CPPFLAGS'
4907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4911 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4912 # On Suns, sometimes $CPP names a directory.
4913 if test -n "$CPP" && test -d "$CPP"; then
4914 CPP=
4916 if test -z "$CPP"; then
4917 if test "${ac_cv_prog_CPP+set}" = set; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 # Double quotes because CPP needs to be expanded
4921 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4923 ac_preproc_ok=false
4924 for ac_c_preproc_warn_flag in '' yes
4926 # Use a header file that comes with gcc, so configuring glibc
4927 # with a fresh cross-compiler works.
4928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4929 # <limits.h> exists even on freestanding compilers.
4930 # On the NeXT, cc -E runs the code through the compiler's parser,
4931 # not just through cpp. "Syntax error" is here to catch this case.
4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4934 #ifdef __STDC__
4935 # include <limits.h>
4936 #else
4937 # include <assert.h>
4938 #endif
4939 Syntax error
4940 _ACEOF
4941 if ac_fn_c_try_cpp "$LINENO"; then :
4943 else
4944 # Broken: fails on valid input.
4945 continue
4947 rm -f conftest.err conftest.$ac_ext
4949 # OK, works on sane cases. Now check whether nonexistent headers
4950 # can be detected and how.
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4953 #include <ac_nonexistent.h>
4954 _ACEOF
4955 if ac_fn_c_try_cpp "$LINENO"; then :
4956 # Broken: success on invalid input.
4957 continue
4958 else
4959 # Passes both tests.
4960 ac_preproc_ok=:
4961 break
4963 rm -f conftest.err conftest.$ac_ext
4965 done
4966 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4967 rm -f conftest.err conftest.$ac_ext
4968 if $ac_preproc_ok; then :
4969 break
4972 done
4973 ac_cv_prog_CPP=$CPP
4976 CPP=$ac_cv_prog_CPP
4977 else
4978 ac_cv_prog_CPP=$CPP
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4981 $as_echo "$CPP" >&6; }
4982 ac_preproc_ok=false
4983 for ac_c_preproc_warn_flag in '' yes
4985 # Use a header file that comes with gcc, so configuring glibc
4986 # with a fresh cross-compiler works.
4987 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4988 # <limits.h> exists even on freestanding compilers.
4989 # On the NeXT, cc -E runs the code through the compiler's parser,
4990 # not just through cpp. "Syntax error" is here to catch this case.
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 #ifdef __STDC__
4994 # include <limits.h>
4995 #else
4996 # include <assert.h>
4997 #endif
4998 Syntax error
4999 _ACEOF
5000 if ac_fn_c_try_cpp "$LINENO"; then :
5002 else
5003 # Broken: fails on valid input.
5004 continue
5006 rm -f conftest.err conftest.$ac_ext
5008 # OK, works on sane cases. Now check whether nonexistent headers
5009 # can be detected and how.
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5012 #include <ac_nonexistent.h>
5013 _ACEOF
5014 if ac_fn_c_try_cpp "$LINENO"; then :
5015 # Broken: success on invalid input.
5016 continue
5017 else
5018 # Passes both tests.
5019 ac_preproc_ok=:
5020 break
5022 rm -f conftest.err conftest.$ac_ext
5024 done
5025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5026 rm -f conftest.err conftest.$ac_ext
5027 if $ac_preproc_ok; then :
5029 else
5030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5032 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5033 See \`config.log' for more details." "$LINENO" 5; }
5036 ac_ext=c
5037 ac_cpp='$CPP $CPPFLAGS'
5038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5044 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5045 if test "${ac_cv_path_GREP+set}" = set; then :
5046 $as_echo_n "(cached) " >&6
5047 else
5048 if test -z "$GREP"; then
5049 ac_path_GREP_found=false
5050 # Loop through the user's path and test for each of PROGNAME-LIST
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5054 IFS=$as_save_IFS
5055 test -z "$as_dir" && as_dir=.
5056 for ac_prog in grep ggrep; do
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5059 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5060 # Check for GNU ac_path_GREP and select it if it is found.
5061 # Check for GNU $ac_path_GREP
5062 case `"$ac_path_GREP" --version 2>&1` in
5063 *GNU*)
5064 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5066 ac_count=0
5067 $as_echo_n 0123456789 >"conftest.in"
5068 while :
5070 cat "conftest.in" "conftest.in" >"conftest.tmp"
5071 mv "conftest.tmp" "conftest.in"
5072 cp "conftest.in" "conftest.nl"
5073 $as_echo 'GREP' >> "conftest.nl"
5074 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5075 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5076 as_fn_arith $ac_count + 1 && ac_count=$as_val
5077 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5078 # Best one so far, save it but keep looking for a better one
5079 ac_cv_path_GREP="$ac_path_GREP"
5080 ac_path_GREP_max=$ac_count
5082 # 10*(2^10) chars as input seems more than enough
5083 test $ac_count -gt 10 && break
5084 done
5085 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5086 esac
5088 $ac_path_GREP_found && break 3
5089 done
5090 done
5091 done
5092 IFS=$as_save_IFS
5093 if test -z "$ac_cv_path_GREP"; then
5094 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5096 else
5097 ac_cv_path_GREP=$GREP
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5102 $as_echo "$ac_cv_path_GREP" >&6; }
5103 GREP="$ac_cv_path_GREP"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5107 $as_echo_n "checking for egrep... " >&6; }
5108 if test "${ac_cv_path_EGREP+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5112 then ac_cv_path_EGREP="$GREP -E"
5113 else
5114 if test -z "$EGREP"; then
5115 ac_path_EGREP_found=false
5116 # Loop through the user's path and test for each of PROGNAME-LIST
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5120 IFS=$as_save_IFS
5121 test -z "$as_dir" && as_dir=.
5122 for ac_prog in egrep; do
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5125 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5126 # Check for GNU ac_path_EGREP and select it if it is found.
5127 # Check for GNU $ac_path_EGREP
5128 case `"$ac_path_EGREP" --version 2>&1` in
5129 *GNU*)
5130 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5132 ac_count=0
5133 $as_echo_n 0123456789 >"conftest.in"
5134 while :
5136 cat "conftest.in" "conftest.in" >"conftest.tmp"
5137 mv "conftest.tmp" "conftest.in"
5138 cp "conftest.in" "conftest.nl"
5139 $as_echo 'EGREP' >> "conftest.nl"
5140 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5141 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5142 as_fn_arith $ac_count + 1 && ac_count=$as_val
5143 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5144 # Best one so far, save it but keep looking for a better one
5145 ac_cv_path_EGREP="$ac_path_EGREP"
5146 ac_path_EGREP_max=$ac_count
5148 # 10*(2^10) chars as input seems more than enough
5149 test $ac_count -gt 10 && break
5150 done
5151 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5152 esac
5154 $ac_path_EGREP_found && break 3
5155 done
5156 done
5157 done
5158 IFS=$as_save_IFS
5159 if test -z "$ac_cv_path_EGREP"; then
5160 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5162 else
5163 ac_cv_path_EGREP=$EGREP
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5169 $as_echo "$ac_cv_path_EGREP" >&6; }
5170 EGREP="$ac_cv_path_EGREP"
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5174 $as_echo_n "checking for ANSI C header files... " >&6; }
5175 if test "${ac_cv_header_stdc+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5179 /* end confdefs.h. */
5180 #include <stdlib.h>
5181 #include <stdarg.h>
5182 #include <string.h>
5183 #include <float.h>
5186 main ()
5190 return 0;
5192 _ACEOF
5193 if ac_fn_c_try_compile "$LINENO"; then :
5194 ac_cv_header_stdc=yes
5195 else
5196 ac_cv_header_stdc=no
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5200 if test $ac_cv_header_stdc = yes; then
5201 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5204 #include <string.h>
5206 _ACEOF
5207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5208 $EGREP "memchr" >/dev/null 2>&1; then :
5210 else
5211 ac_cv_header_stdc=no
5213 rm -f conftest*
5217 if test $ac_cv_header_stdc = yes; then
5218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5221 #include <stdlib.h>
5223 _ACEOF
5224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5225 $EGREP "free" >/dev/null 2>&1; then :
5227 else
5228 ac_cv_header_stdc=no
5230 rm -f conftest*
5234 if test $ac_cv_header_stdc = yes; then
5235 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5236 if test "$cross_compiling" = yes; then :
5238 else
5239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5241 #include <ctype.h>
5242 #include <stdlib.h>
5243 #if ((' ' & 0x0FF) == 0x020)
5244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5246 #else
5247 # define ISLOWER(c) \
5248 (('a' <= (c) && (c) <= 'i') \
5249 || ('j' <= (c) && (c) <= 'r') \
5250 || ('s' <= (c) && (c) <= 'z'))
5251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5252 #endif
5254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5256 main ()
5258 int i;
5259 for (i = 0; i < 256; i++)
5260 if (XOR (islower (i), ISLOWER (i))
5261 || toupper (i) != TOUPPER (i))
5262 return 2;
5263 return 0;
5265 _ACEOF
5266 if ac_fn_c_try_run "$LINENO"; then :
5268 else
5269 ac_cv_header_stdc=no
5271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5272 conftest.$ac_objext conftest.beam conftest.$ac_ext
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5278 $as_echo "$ac_cv_header_stdc" >&6; }
5279 if test $ac_cv_header_stdc = yes; then
5281 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5285 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5286 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5287 inttypes.h stdint.h unistd.h
5288 do :
5289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5290 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5292 eval as_val=\$$as_ac_Header
5293 if test "x$as_val" = x""yes; then :
5294 cat >>confdefs.h <<_ACEOF
5295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5296 _ACEOF
5300 done
5303 # Check whether --enable-alsa was given.
5304 if test "${enable_alsa+set}" = set; then :
5305 enableval=$enable_alsa; case "${enableval}" in
5306 yes) COMPILE_ALSA=yes ;;
5307 no) COMPILE_ALSA=no ;;
5308 *) COMPILE_ALSA=yes ;;
5309 esac
5310 else
5311 for ac_header in alsa/asoundlib.h
5312 do :
5313 ac_fn_c_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
5314 if test "x$ac_cv_header_alsa_asoundlib_h" = x""yes; then :
5315 cat >>confdefs.h <<_ACEOF
5316 #define HAVE_ALSA_ASOUNDLIB_H 1
5317 _ACEOF
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_seq_open in -lasound" >&5
5319 $as_echo_n "checking for snd_seq_open in -lasound... " >&6; }
5320 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then :
5321 $as_echo_n "(cached) " >&6
5322 else
5323 ac_check_lib_save_LIBS=$LIBS
5324 LIBS="-lasound $LIBS"
5325 if test x$gcc_no_link = xyes; then
5326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5331 /* Override any GCC internal prototype to avoid an error.
5332 Use char because int might match the return type of a GCC
5333 builtin and then its argument prototype would still apply. */
5334 #ifdef __cplusplus
5335 extern "C"
5336 #endif
5337 char snd_seq_open ();
5339 main ()
5341 return snd_seq_open ();
5343 return 0;
5345 _ACEOF
5346 if ac_fn_c_try_link "$LINENO"; then :
5347 ac_cv_lib_asound_snd_seq_open=yes
5348 else
5349 ac_cv_lib_asound_snd_seq_open=no
5351 rm -f core conftest.err conftest.$ac_objext \
5352 conftest$ac_exeext conftest.$ac_ext
5353 LIBS=$ac_check_lib_save_LIBS
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_seq_open" >&5
5356 $as_echo "$ac_cv_lib_asound_snd_seq_open" >&6; }
5357 if test "x$ac_cv_lib_asound_snd_seq_open" = x""yes; then :
5358 COMPILE_ALSA=yes
5359 else
5360 COMPILE_ALSA=no
5363 else
5364 COMPILE_ALSA=no
5367 done
5371 if test "x${COMPILE_ALSA}" = xyes; then
5372 CREATE_ALSA_LIBRARIES_TRUE=
5373 CREATE_ALSA_LIBRARIES_FALSE='#'
5374 else
5375 CREATE_ALSA_LIBRARIES_TRUE='#'
5376 CREATE_ALSA_LIBRARIES_FALSE=
5380 # Check whether --enable-dssi was given.
5381 if test "${enable_dssi+set}" = set; then :
5382 enableval=$enable_dssi; case "${enableval}" in
5383 yes) COMPILE_DSSI=yes ;;
5384 no) COMPILE_DSSI=no ;;
5385 *) COMPILE_DSSI=yes ;;
5386 esac
5387 else
5388 COMPILE_DSSI=no
5389 for ac_header in dssi.h
5390 do :
5391 ac_fn_c_check_header_mongrel "$LINENO" "dssi.h" "ac_cv_header_dssi_h" "$ac_includes_default"
5392 if test "x$ac_cv_header_dssi_h" = x""yes; then :
5393 cat >>confdefs.h <<_ACEOF
5394 #define HAVE_DSSI_H 1
5395 _ACEOF
5397 for ac_header in jack/jack.h
5398 do :
5399 ac_fn_c_check_header_mongrel "$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
5400 if test "x$ac_cv_header_jack_jack_h" = x""yes; then :
5401 cat >>confdefs.h <<_ACEOF
5402 #define HAVE_JACK_JACK_H 1
5403 _ACEOF
5404 COMPILE_DSSI=yes
5407 done
5411 done
5415 if test "x${COMPILE_DSSI}" = xyes; then
5416 CREATE_DSSI_LIBRARIES_TRUE=
5417 CREATE_DSSI_LIBRARIES_FALSE='#'
5418 else
5419 CREATE_DSSI_LIBRARIES_TRUE='#'
5420 CREATE_DSSI_LIBRARIES_FALSE=
5424 # Check whether --enable-gtk-peer was given.
5425 if test "${enable_gtk_peer+set}" = set; then :
5426 enableval=$enable_gtk_peer; case "${enableval}" in
5427 yes) COMPILE_GTK_PEER=yes ;;
5428 no) COMPILE_GTK_PEER=no ;;
5429 *) COMPILE_GTK_PEER=yes ;;
5430 esac
5431 else
5432 COMPILE_GTK_PEER=yes
5435 if test "x${COMPILE_GTK_PEER}" = xyes; then
5436 CREATE_GTK_PEER_LIBRARIES_TRUE=
5437 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
5438 else
5439 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
5440 CREATE_GTK_PEER_LIBRARIES_FALSE=
5444 # Check whether --enable-gtk-peers was given.
5445 if test "${enable_gtk_peers+set}" = set; then :
5446 enableval=$enable_gtk_peers; as_fn_error "No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" "$LINENO" 5
5450 # Check whether --enable-qt-peer was given.
5451 if test "${enable_qt_peer+set}" = set; then :
5452 enableval=$enable_qt_peer; case "${enableval}" in
5453 yes) COMPILE_QT_PEER=yes ;;
5454 no) COMPILE_QT_PEER=no ;;
5455 *) COMPILE_QT_PEER=yes ;;
5456 esac
5457 else
5458 COMPILE_QT_PEER=no
5461 if test "x${COMPILE_QT_PEER}" = xyes; then
5462 CREATE_QT_PEER_LIBRARIES_TRUE=
5463 CREATE_QT_PEER_LIBRARIES_FALSE='#'
5464 else
5465 CREATE_QT_PEER_LIBRARIES_TRUE='#'
5466 CREATE_QT_PEER_LIBRARIES_FALSE=
5470 # Check whether --enable-plugin was given.
5471 if test "${enable_plugin+set}" = set; then :
5472 enableval=$enable_plugin; case "${enableval}" in
5473 yes) COMPILE_PLUGIN=yes ;;
5474 no) COMPILE_PLUGIN=no ;;
5475 *) COMPILE_PLUGIN=yes ;;
5476 esac
5477 else
5478 COMPILE_PLUGIN=no
5481 if test "x${COMPILE_PLUGIN}" = xyes; then
5482 CREATE_PLUGIN_TRUE=
5483 CREATE_PLUGIN_FALSE='#'
5484 else
5485 CREATE_PLUGIN_TRUE='#'
5486 CREATE_PLUGIN_FALSE=
5490 # Check whether --enable-gmp was given.
5491 if test "${enable_gmp+set}" = set; then :
5492 enableval=$enable_gmp; case "${enableval}" in
5493 yes|true) COMPILE_GMP=yes ;;
5494 no|false) COMPILE_GMP=no ;;
5495 *) COMPILE_GMP=yes ;;
5496 esac
5497 else
5498 COMPILE_GMP=yes
5502 # Check whether --enable-gjdoc was given.
5503 if test "${enable_gjdoc+set}" = set; then :
5504 enableval=$enable_gjdoc; case "${enableval}" in
5505 yes) COMPILE_GJDOC=yes ;;
5506 no) COMPILE_GJDOC=no ;;
5507 *) COMPILE_GJDOC=yes ;;
5508 esac
5509 else
5510 COMPILE_GJDOC=yes
5513 if test "x${COMPILE_GJDOC}" = xyes; then
5514 CREATE_GJDOC_TRUE=
5515 CREATE_GJDOC_FALSE='#'
5516 else
5517 CREATE_GJDOC_TRUE='#'
5518 CREATE_GJDOC_FALSE=
5523 multi_os_directory=`$CC -print-multi-os-directory`
5524 case $multi_os_directory in
5525 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
5526 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
5527 esac
5532 # Check whether --with-native-libdir was given.
5533 if test "${with_native_libdir+set}" = set; then :
5534 withval=$with_native_libdir;
5535 nativeexeclibdir=${withval}
5537 else
5539 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/../libtool-version`
5547 # Check whether --with-glibj-dir was given.
5548 if test "${with_glibj_dir+set}" = set; then :
5549 withval=$with_glibj_dir;
5550 glibjdir=${withval}
5552 else
5554 glibjdir='${datadir}/${PACKAGE}'
5562 # Check whether --with-antlr-jar was given.
5563 if test "${with_antlr_jar+set}" = set; then :
5564 withval=$with_antlr_jar;
5565 ANTLR_JAR=$withval
5567 else
5569 ANTLR_JAR="$ANTLR_JAR"
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the headers" >&5
5575 $as_echo_n "checking whether to regenerate the headers... " >&6; }
5576 # Check whether --enable-regen-headers was given.
5577 if test "${enable_regen_headers+set}" = set; then :
5578 enableval=$enable_regen_headers; case "${enableval}" in
5579 yes) REGENERATE_JNI_HEADERS=yes ;;
5580 no) REGENERATE_JNI_HEADERS=no ;;
5581 *) REGENERATE_JNI_HEADERS=yes ;;
5582 esac
5583 else
5584 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
5585 REGENERATE_JNI_HEADERS=no ;
5586 else
5587 REGENERATE_JNI_HEADERS=yes ;
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_JNI_HEADERS}" >&5
5592 $as_echo "${REGENERATE_JNI_HEADERS}" >&6; }
5593 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
5594 CREATE_JNI_HEADERS_TRUE=
5595 CREATE_JNI_HEADERS_FALSE='#'
5596 else
5597 CREATE_JNI_HEADERS_TRUE='#'
5598 CREATE_JNI_HEADERS_FALSE=
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the GJDoc parser" >&5
5603 $as_echo_n "checking whether to regenerate the GJDoc parser... " >&6; }
5604 # Check whether --enable-regen-gjdoc-parser was given.
5605 if test "${enable_regen_gjdoc_parser+set}" = set; then :
5606 enableval=$enable_regen_gjdoc_parser; case "${enableval}" in
5607 yes) REGENERATE_GJDOC_PARSER=yes ;;
5608 no) REGENERATE_GJDOC_PARSER=no ;;
5609 *) REGENERATE_GJDOC_PARSER=yes ;;
5610 esac
5611 else
5612 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
5613 REGENERATE_GJDOC_PARSER=no ;
5614 else
5615 REGENERATE_GJDOC_PARSER=yes ;
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_GJDOC_PARSER}" >&5
5620 $as_echo "${REGENERATE_GJDOC_PARSER}" >&6; }
5621 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
5622 CREATE_GJDOC_PARSER_TRUE=
5623 CREATE_GJDOC_PARSER_FALSE='#'
5624 else
5625 CREATE_GJDOC_PARSER_TRUE='#'
5626 CREATE_GJDOC_PARSER_FALSE=
5630 # Check whether --enable-tool-wrappers was given.
5631 if test "${enable_tool_wrappers+set}" = set; then :
5632 enableval=$enable_tool_wrappers; case x"${enableval}" in
5633 xyes)
5634 COMPILE_WRAPPERS=yes;
5635 for ac_header in ltdl.h
5636 do :
5637 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
5638 if test "x$ac_cv_header_ltdl_h" = x""yes; then :
5639 cat >>confdefs.h <<_ACEOF
5640 #define HAVE_LTDL_H 1
5641 _ACEOF
5643 else
5644 as_fn_error "cannot find ltdl.h" "$LINENO" 5
5647 done
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopen in -lltdl" >&5
5650 $as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
5651 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then :
5652 $as_echo_n "(cached) " >&6
5653 else
5654 ac_check_lib_save_LIBS=$LIBS
5655 LIBS="-lltdl $LIBS"
5656 if test x$gcc_no_link = xyes; then
5657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5662 /* Override any GCC internal prototype to avoid an error.
5663 Use char because int might match the return type of a GCC
5664 builtin and then its argument prototype would still apply. */
5665 #ifdef __cplusplus
5666 extern "C"
5667 #endif
5668 char lt_dlopen ();
5670 main ()
5672 return lt_dlopen ();
5674 return 0;
5676 _ACEOF
5677 if ac_fn_c_try_link "$LINENO"; then :
5678 ac_cv_lib_ltdl_lt_dlopen=yes
5679 else
5680 ac_cv_lib_ltdl_lt_dlopen=no
5682 rm -f core conftest.err conftest.$ac_objext \
5683 conftest$ac_exeext conftest.$ac_ext
5684 LIBS=$ac_check_lib_save_LIBS
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5687 $as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
5688 if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then :
5689 cat >>confdefs.h <<_ACEOF
5690 #define HAVE_LIBLTDL 1
5691 _ACEOF
5693 LIBS="-lltdl $LIBS"
5695 else
5696 as_fn_error "cannot find libltdl" "$LINENO" 5
5700 xno) COMPILE_WRAPPERS=no ;;
5701 x) COMPILE_WRAPPERS=yes ;;
5702 *) COMPILE_WRAPPERS=yes ;;
5703 esac
5704 else
5705 COMPILE_WRAPPERS=no
5708 if test "x${COMPILE_WRAPPERS}" = xyes; then
5709 CREATE_WRAPPERS_TRUE=
5710 CREATE_WRAPPERS_FALSE='#'
5711 else
5712 CREATE_WRAPPERS_TRUE='#'
5713 CREATE_WRAPPERS_FALSE=
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5718 $as_echo_n "checking whether ln -s works... " >&6; }
5719 LN_S=$as_ln_s
5720 if test "$LN_S" = "ln -s"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5722 $as_echo "yes" >&6; }
5723 else
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5725 $as_echo "no, using $LN_S" >&6; }
5731 # Check whether --enable-static was given.
5732 if test "${enable_static+set}" = set; then :
5733 enableval=$enable_static; p=${PACKAGE-default}
5734 case $enableval in
5735 yes) enable_static=yes ;;
5736 no) enable_static=no ;;
5738 enable_static=no
5739 # Look at the argument we got. We use all the common list separators.
5740 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5741 for pkg in $enableval; do
5742 IFS="$lt_save_ifs"
5743 if test "X$pkg" = "X$p"; then
5744 enable_static=yes
5746 done
5747 IFS="$lt_save_ifs"
5749 esac
5750 else
5751 enable_static=no
5762 case `pwd` in
5763 *\ * | *\ *)
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5765 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5766 esac
5770 macro_version='2.2.7a'
5771 macro_revision='1.3134'
5785 ltmain="$ac_aux_dir/ltmain.sh"
5787 # Backslashify metacharacters that are still active within
5788 # double-quoted strings.
5789 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5791 # Same as above, but do not quote variable references.
5792 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5794 # Sed substitution to delay expansion of an escaped shell variable in a
5795 # double_quote_subst'ed string.
5796 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5798 # Sed substitution to delay expansion of an escaped single quote.
5799 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5801 # Sed substitution to avoid accidental globbing in evaled expressions
5802 no_glob_subst='s/\*/\\\*/g'
5804 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5805 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5806 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5809 $as_echo_n "checking how to print strings... " >&6; }
5810 # Test print first, because it will be a builtin if present.
5811 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5812 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5813 ECHO='print -r --'
5814 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5815 ECHO='printf %s\n'
5816 else
5817 # Use this function as a fallback that always works.
5818 func_fallback_echo ()
5820 eval 'cat <<_LTECHO_EOF
5822 _LTECHO_EOF'
5824 ECHO='func_fallback_echo'
5827 # func_echo_all arg...
5828 # Invoke $ECHO with all args, space-separated.
5829 func_echo_all ()
5831 $ECHO ""
5834 case "$ECHO" in
5835 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5836 $as_echo "printf" >&6; } ;;
5837 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5838 $as_echo "print -r" >&6; } ;;
5839 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5840 $as_echo "cat" >&6; } ;;
5841 esac
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5857 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5858 if test "${ac_cv_path_SED+set}" = set; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5862 for ac_i in 1 2 3 4 5 6 7; do
5863 ac_script="$ac_script$as_nl$ac_script"
5864 done
5865 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5866 { ac_script=; unset ac_script;}
5867 if test -z "$SED"; then
5868 ac_path_SED_found=false
5869 # Loop through the user's path and test for each of PROGNAME-LIST
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5873 IFS=$as_save_IFS
5874 test -z "$as_dir" && as_dir=.
5875 for ac_prog in sed gsed; do
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5878 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5879 # Check for GNU ac_path_SED and select it if it is found.
5880 # Check for GNU $ac_path_SED
5881 case `"$ac_path_SED" --version 2>&1` in
5882 *GNU*)
5883 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5885 ac_count=0
5886 $as_echo_n 0123456789 >"conftest.in"
5887 while :
5889 cat "conftest.in" "conftest.in" >"conftest.tmp"
5890 mv "conftest.tmp" "conftest.in"
5891 cp "conftest.in" "conftest.nl"
5892 $as_echo '' >> "conftest.nl"
5893 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5894 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5895 as_fn_arith $ac_count + 1 && ac_count=$as_val
5896 if test $ac_count -gt ${ac_path_SED_max-0}; then
5897 # Best one so far, save it but keep looking for a better one
5898 ac_cv_path_SED="$ac_path_SED"
5899 ac_path_SED_max=$ac_count
5901 # 10*(2^10) chars as input seems more than enough
5902 test $ac_count -gt 10 && break
5903 done
5904 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5905 esac
5907 $ac_path_SED_found && break 3
5908 done
5909 done
5910 done
5911 IFS=$as_save_IFS
5912 if test -z "$ac_cv_path_SED"; then
5913 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5915 else
5916 ac_cv_path_SED=$SED
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5921 $as_echo "$ac_cv_path_SED" >&6; }
5922 SED="$ac_cv_path_SED"
5923 rm -f conftest.sed
5925 test -z "$SED" && SED=sed
5926 Xsed="$SED -e 1s/^X//"
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5939 $as_echo_n "checking for fgrep... " >&6; }
5940 if test "${ac_cv_path_FGREP+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5944 then ac_cv_path_FGREP="$GREP -F"
5945 else
5946 if test -z "$FGREP"; then
5947 ac_path_FGREP_found=false
5948 # Loop through the user's path and test for each of PROGNAME-LIST
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5952 IFS=$as_save_IFS
5953 test -z "$as_dir" && as_dir=.
5954 for ac_prog in fgrep; do
5955 for ac_exec_ext in '' $ac_executable_extensions; do
5956 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5957 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5958 # Check for GNU ac_path_FGREP and select it if it is found.
5959 # Check for GNU $ac_path_FGREP
5960 case `"$ac_path_FGREP" --version 2>&1` in
5961 *GNU*)
5962 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5964 ac_count=0
5965 $as_echo_n 0123456789 >"conftest.in"
5966 while :
5968 cat "conftest.in" "conftest.in" >"conftest.tmp"
5969 mv "conftest.tmp" "conftest.in"
5970 cp "conftest.in" "conftest.nl"
5971 $as_echo 'FGREP' >> "conftest.nl"
5972 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5973 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5974 as_fn_arith $ac_count + 1 && ac_count=$as_val
5975 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5976 # Best one so far, save it but keep looking for a better one
5977 ac_cv_path_FGREP="$ac_path_FGREP"
5978 ac_path_FGREP_max=$ac_count
5980 # 10*(2^10) chars as input seems more than enough
5981 test $ac_count -gt 10 && break
5982 done
5983 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5984 esac
5986 $ac_path_FGREP_found && break 3
5987 done
5988 done
5989 done
5990 IFS=$as_save_IFS
5991 if test -z "$ac_cv_path_FGREP"; then
5992 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5994 else
5995 ac_cv_path_FGREP=$FGREP
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6001 $as_echo "$ac_cv_path_FGREP" >&6; }
6002 FGREP="$ac_cv_path_FGREP"
6005 test -z "$GREP" && GREP=grep
6025 # Check whether --with-gnu-ld was given.
6026 if test "${with_gnu_ld+set}" = set; then :
6027 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6028 else
6029 with_gnu_ld=no
6032 ac_prog=ld
6033 if test "$GCC" = yes; then
6034 # Check if gcc -print-prog-name=ld gives a path.
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6036 $as_echo_n "checking for ld used by $CC... " >&6; }
6037 case $host in
6038 *-*-mingw*)
6039 # gcc leaves a trailing carriage return which upsets mingw
6040 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6042 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6043 esac
6044 case $ac_prog in
6045 # Accept absolute paths.
6046 [\\/]* | ?:[\\/]*)
6047 re_direlt='/[^/][^/]*/\.\./'
6048 # Canonicalize the pathname of ld
6049 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6050 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6051 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6052 done
6053 test -z "$LD" && LD="$ac_prog"
6056 # If it fails, then pretend we aren't using GCC.
6057 ac_prog=ld
6060 # If it is relative, then search for the first ld in PATH.
6061 with_gnu_ld=unknown
6063 esac
6064 elif test "$with_gnu_ld" = yes; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6066 $as_echo_n "checking for GNU ld... " >&6; }
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6069 $as_echo_n "checking for non-GNU ld... " >&6; }
6071 if test "${lt_cv_path_LD+set}" = set; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 if test -z "$LD"; then
6075 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6076 for ac_dir in $PATH; do
6077 IFS="$lt_save_ifs"
6078 test -z "$ac_dir" && ac_dir=.
6079 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6080 lt_cv_path_LD="$ac_dir/$ac_prog"
6081 # Check to see if the program is GNU ld. I'd rather use --version,
6082 # but apparently some variants of GNU ld only accept -v.
6083 # Break only if it was the GNU/non-GNU ld that we prefer.
6084 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6085 *GNU* | *'with BFD'*)
6086 test "$with_gnu_ld" != no && break
6089 test "$with_gnu_ld" != yes && break
6091 esac
6093 done
6094 IFS="$lt_save_ifs"
6095 else
6096 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6100 LD="$lt_cv_path_LD"
6101 if test -n "$LD"; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6103 $as_echo "$LD" >&6; }
6104 else
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6108 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6110 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6111 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6115 case `$LD -v 2>&1 </dev/null` in
6116 *GNU* | *'with BFD'*)
6117 lt_cv_prog_gnu_ld=yes
6120 lt_cv_prog_gnu_ld=no
6122 esac
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6125 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6126 with_gnu_ld=$lt_cv_prog_gnu_ld
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6137 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6138 if test "${lt_cv_path_NM+set}" = set; then :
6139 $as_echo_n "(cached) " >&6
6140 else
6141 if test -n "$NM"; then
6142 # Let the user override the test.
6143 lt_cv_path_NM="$NM"
6144 else
6145 lt_nm_to_check="${ac_tool_prefix}nm"
6146 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6147 lt_nm_to_check="$lt_nm_to_check nm"
6149 for lt_tmp_nm in $lt_nm_to_check; do
6150 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6151 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6152 IFS="$lt_save_ifs"
6153 test -z "$ac_dir" && ac_dir=.
6154 tmp_nm="$ac_dir/$lt_tmp_nm"
6155 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6156 # Check to see if the nm accepts a BSD-compat flag.
6157 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6158 # nm: unknown option "B" ignored
6159 # Tru64's nm complains that /dev/null is an invalid object file
6160 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6161 */dev/null* | *'Invalid file or object type'*)
6162 lt_cv_path_NM="$tmp_nm -B"
6163 break
6166 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6167 */dev/null*)
6168 lt_cv_path_NM="$tmp_nm -p"
6169 break
6172 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6173 continue # so that we can try to find one that supports BSD flags
6175 esac
6177 esac
6179 done
6180 IFS="$lt_save_ifs"
6181 done
6182 : ${lt_cv_path_NM=no}
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6186 $as_echo "$lt_cv_path_NM" >&6; }
6187 if test "$lt_cv_path_NM" != "no"; then
6188 NM="$lt_cv_path_NM"
6189 else
6190 # Didn't find any BSD compatible name lister, look for dumpbin.
6191 if test -n "$DUMPBIN"; then :
6192 # Let the user override the test.
6193 else
6194 if test -n "$ac_tool_prefix"; then
6195 for ac_prog in dumpbin "link -dump"
6197 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6200 $as_echo_n "checking for $ac_word... " >&6; }
6201 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6202 $as_echo_n "(cached) " >&6
6203 else
6204 if test -n "$DUMPBIN"; then
6205 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6206 else
6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208 for as_dir in $PATH
6210 IFS=$as_save_IFS
6211 test -z "$as_dir" && as_dir=.
6212 for ac_exec_ext in '' $ac_executable_extensions; do
6213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6214 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6216 break 2
6218 done
6219 done
6220 IFS=$as_save_IFS
6224 DUMPBIN=$ac_cv_prog_DUMPBIN
6225 if test -n "$DUMPBIN"; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6227 $as_echo "$DUMPBIN" >&6; }
6228 else
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; }
6234 test -n "$DUMPBIN" && break
6235 done
6237 if test -z "$DUMPBIN"; then
6238 ac_ct_DUMPBIN=$DUMPBIN
6239 for ac_prog in dumpbin "link -dump"
6241 # Extract the first word of "$ac_prog", so it can be a program name with args.
6242 set dummy $ac_prog; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 if test -n "$ac_ct_DUMPBIN"; then
6249 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6250 else
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 for as_dir in $PATH
6254 IFS=$as_save_IFS
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 break 2
6262 done
6263 done
6264 IFS=$as_save_IFS
6268 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6269 if test -n "$ac_ct_DUMPBIN"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6271 $as_echo "$ac_ct_DUMPBIN" >&6; }
6272 else
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 $as_echo "no" >&6; }
6278 test -n "$ac_ct_DUMPBIN" && break
6279 done
6281 if test "x$ac_ct_DUMPBIN" = x; then
6282 DUMPBIN=":"
6283 else
6284 case $cross_compiling:$ac_tool_warned in
6285 yes:)
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6288 ac_tool_warned=yes ;;
6289 esac
6290 DUMPBIN=$ac_ct_DUMPBIN
6294 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6295 *COFF*)
6296 DUMPBIN="$DUMPBIN -symbols"
6299 DUMPBIN=:
6301 esac
6304 if test "$DUMPBIN" != ":"; then
6305 NM="$DUMPBIN"
6308 test -z "$NM" && NM=nm
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6316 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6317 if test "${lt_cv_nm_interface+set}" = set; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 lt_cv_nm_interface="BSD nm"
6321 echo "int some_variable = 0;" > conftest.$ac_ext
6322 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6323 (eval "$ac_compile" 2>conftest.err)
6324 cat conftest.err >&5
6325 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6326 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6327 cat conftest.err >&5
6328 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6329 cat conftest.out >&5
6330 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6331 lt_cv_nm_interface="MS dumpbin"
6333 rm -f conftest*
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6336 $as_echo "$lt_cv_nm_interface" >&6; }
6338 # find the maximum length of command line arguments
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6340 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6341 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6342 $as_echo_n "(cached) " >&6
6343 else
6345 teststring="ABCD"
6347 case $build_os in
6348 msdosdjgpp*)
6349 # On DJGPP, this test can blow up pretty badly due to problems in libc
6350 # (any single argument exceeding 2000 bytes causes a buffer overrun
6351 # during glob expansion). Even if it were fixed, the result of this
6352 # check would be larger than it should be.
6353 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6356 gnu*)
6357 # Under GNU Hurd, this test is not required because there is
6358 # no limit to the length of command line arguments.
6359 # Libtool will interpret -1 as no limit whatsoever
6360 lt_cv_sys_max_cmd_len=-1;
6363 cygwin* | mingw* | cegcc*)
6364 # On Win9x/ME, this test blows up -- it succeeds, but takes
6365 # about 5 minutes as the teststring grows exponentially.
6366 # Worse, since 9x/ME are not pre-emptively multitasking,
6367 # you end up with a "frozen" computer, even though with patience
6368 # the test eventually succeeds (with a max line length of 256k).
6369 # Instead, let's just punt: use the minimum linelength reported by
6370 # all of the supported platforms: 8192 (on NT/2K/XP).
6371 lt_cv_sys_max_cmd_len=8192;
6374 mint*)
6375 # On MiNT this can take a long time and run out of memory.
6376 lt_cv_sys_max_cmd_len=8192;
6379 amigaos*)
6380 # On AmigaOS with pdksh, this test takes hours, literally.
6381 # So we just punt and use a minimum line length of 8192.
6382 lt_cv_sys_max_cmd_len=8192;
6385 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6386 # This has been around since 386BSD, at least. Likely further.
6387 if test -x /sbin/sysctl; then
6388 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6389 elif test -x /usr/sbin/sysctl; then
6390 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6391 else
6392 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6394 # And add a safety zone
6395 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6399 interix*)
6400 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6401 lt_cv_sys_max_cmd_len=196608
6404 osf*)
6405 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6406 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6407 # nice to cause kernel panics so lets avoid the loop below.
6408 # First set a reasonable default.
6409 lt_cv_sys_max_cmd_len=16384
6411 if test -x /sbin/sysconfig; then
6412 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6413 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6414 esac
6417 sco3.2v5*)
6418 lt_cv_sys_max_cmd_len=102400
6420 sysv5* | sco5v6* | sysv4.2uw2*)
6421 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6422 if test -n "$kargmax"; then
6423 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6424 else
6425 lt_cv_sys_max_cmd_len=32768
6429 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6430 if test -n "$lt_cv_sys_max_cmd_len"; then
6431 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6432 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6433 else
6434 # Make teststring a little bigger before we do anything with it.
6435 # a 1K string should be a reasonable start.
6436 for i in 1 2 3 4 5 6 7 8 ; do
6437 teststring=$teststring$teststring
6438 done
6439 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6440 # If test is not a shell built-in, we'll probably end up computing a
6441 # maximum length that is only half of the actual maximum length, but
6442 # we can't tell.
6443 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6444 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6445 test $i != 17 # 1/2 MB should be enough
6447 i=`expr $i + 1`
6448 teststring=$teststring$teststring
6449 done
6450 # Only check the string length outside the loop.
6451 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6452 teststring=
6453 # Add a significant safety factor because C++ compilers can tack on
6454 # massive amounts of additional arguments before passing them to the
6455 # linker. It appears as though 1/2 is a usable value.
6456 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6459 esac
6463 if test -n $lt_cv_sys_max_cmd_len ; then
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6465 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6466 else
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6468 $as_echo "none" >&6; }
6470 max_cmd_len=$lt_cv_sys_max_cmd_len
6477 : ${CP="cp -f"}
6478 : ${MV="mv -f"}
6479 : ${RM="rm -f"}
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6482 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6483 # Try some XSI features
6484 xsi_shell=no
6485 ( _lt_dummy="a/b/c"
6486 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6487 = c,a/b,, \
6488 && eval 'test $(( 1 + 1 )) -eq 2 \
6489 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6490 && xsi_shell=yes
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6492 $as_echo "$xsi_shell" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6496 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6497 lt_shell_append=no
6498 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6499 >/dev/null 2>&1 \
6500 && lt_shell_append=yes
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6502 $as_echo "$lt_shell_append" >&6; }
6505 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6506 lt_unset=unset
6507 else
6508 lt_unset=false
6515 # test EBCDIC or ASCII
6516 case `echo X|tr X '\101'` in
6517 A) # ASCII based system
6518 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6519 lt_SP2NL='tr \040 \012'
6520 lt_NL2SP='tr \015\012 \040\040'
6522 *) # EBCDIC based system
6523 lt_SP2NL='tr \100 \n'
6524 lt_NL2SP='tr \r\n \100\100'
6526 esac
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6537 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6538 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6539 $as_echo_n "(cached) " >&6
6540 else
6541 lt_cv_ld_reload_flag='-r'
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6544 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6545 reload_flag=$lt_cv_ld_reload_flag
6546 case $reload_flag in
6547 "" | " "*) ;;
6548 *) reload_flag=" $reload_flag" ;;
6549 esac
6550 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6551 case $host_os in
6552 darwin*)
6553 if test "$GCC" = yes; then
6554 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6555 else
6556 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6559 esac
6569 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6571 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$OBJDUMP"; then
6578 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 OBJDUMP=$ac_cv_prog_OBJDUMP
6598 if test -n "$OBJDUMP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6600 $as_echo "$OBJDUMP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6608 if test -z "$ac_cv_prog_OBJDUMP"; then
6609 ac_ct_OBJDUMP=$OBJDUMP
6610 # Extract the first word of "objdump", so it can be a program name with args.
6611 set dummy objdump; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 if test -n "$ac_ct_OBJDUMP"; then
6618 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6619 else
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 for as_dir in $PATH
6623 IFS=$as_save_IFS
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 break 2
6631 done
6632 done
6633 IFS=$as_save_IFS
6637 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6638 if test -n "$ac_ct_OBJDUMP"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6640 $as_echo "$ac_ct_OBJDUMP" >&6; }
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6646 if test "x$ac_ct_OBJDUMP" = x; then
6647 OBJDUMP="false"
6648 else
6649 case $cross_compiling:$ac_tool_warned in
6650 yes:)
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6653 ac_tool_warned=yes ;;
6654 esac
6655 OBJDUMP=$ac_ct_OBJDUMP
6657 else
6658 OBJDUMP="$ac_cv_prog_OBJDUMP"
6661 test -z "$OBJDUMP" && OBJDUMP=objdump
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6672 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6673 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 lt_cv_file_magic_cmd='$MAGIC_CMD'
6677 lt_cv_file_magic_test_file=
6678 lt_cv_deplibs_check_method='unknown'
6679 # Need to set the preceding variable on all platforms that support
6680 # interlibrary dependencies.
6681 # 'none' -- dependencies not supported.
6682 # `unknown' -- same as none, but documents that we really don't know.
6683 # 'pass_all' -- all dependencies passed with no checks.
6684 # 'test_compile' -- check by making test program.
6685 # 'file_magic [[regex]]' -- check by looking for files in library path
6686 # which responds to the $file_magic_cmd with a given extended regex.
6687 # If you have `file' or equivalent on your system and you're not sure
6688 # whether `pass_all' will *always* work, you probably want this one.
6690 case $host_os in
6691 aix[4-9]*)
6692 lt_cv_deplibs_check_method=pass_all
6695 beos*)
6696 lt_cv_deplibs_check_method=pass_all
6699 bsdi[45]*)
6700 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6701 lt_cv_file_magic_cmd='/usr/bin/file -L'
6702 lt_cv_file_magic_test_file=/shlib/libc.so
6705 cygwin*)
6706 # func_win32_libid is a shell function defined in ltmain.sh
6707 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6708 lt_cv_file_magic_cmd='func_win32_libid'
6711 mingw* | pw32*)
6712 # Base MSYS/MinGW do not provide the 'file' command needed by
6713 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6714 # unless we find 'file', for example because we are cross-compiling.
6715 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6716 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6717 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6718 lt_cv_file_magic_cmd='func_win32_libid'
6719 else
6720 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6721 lt_cv_file_magic_cmd='$OBJDUMP -f'
6725 cegcc*)
6726 # use the weaker test based on 'objdump'. See mingw*.
6727 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6728 lt_cv_file_magic_cmd='$OBJDUMP -f'
6731 darwin* | rhapsody*)
6732 lt_cv_deplibs_check_method=pass_all
6735 freebsd* | dragonfly*)
6736 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6737 case $host_cpu in
6738 i*86 )
6739 # Not sure whether the presence of OpenBSD here was a mistake.
6740 # Let's accept both of them until this is cleared up.
6741 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6742 lt_cv_file_magic_cmd=/usr/bin/file
6743 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6745 esac
6746 else
6747 lt_cv_deplibs_check_method=pass_all
6751 gnu*)
6752 lt_cv_deplibs_check_method=pass_all
6755 haiku*)
6756 lt_cv_deplibs_check_method=pass_all
6759 hpux10.20* | hpux11*)
6760 lt_cv_file_magic_cmd=/usr/bin/file
6761 case $host_cpu in
6762 ia64*)
6763 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6764 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6766 hppa*64*)
6767 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]'
6768 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6771 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6772 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6774 esac
6777 interix[3-9]*)
6778 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6779 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6782 irix5* | irix6* | nonstopux*)
6783 case $LD in
6784 *-32|*"-32 ") libmagic=32-bit;;
6785 *-n32|*"-n32 ") libmagic=N32;;
6786 *-64|*"-64 ") libmagic=64-bit;;
6787 *) libmagic=never-match;;
6788 esac
6789 lt_cv_deplibs_check_method=pass_all
6792 # This must be Linux ELF.
6793 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6794 lt_cv_deplibs_check_method=pass_all
6797 netbsd*)
6798 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6799 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6800 else
6801 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6805 newos6*)
6806 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6807 lt_cv_file_magic_cmd=/usr/bin/file
6808 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6811 *nto* | *qnx*)
6812 lt_cv_deplibs_check_method=pass_all
6815 openbsd*)
6816 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6817 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6818 else
6819 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6823 osf3* | osf4* | osf5*)
6824 lt_cv_deplibs_check_method=pass_all
6827 rdos*)
6828 lt_cv_deplibs_check_method=pass_all
6831 solaris*)
6832 lt_cv_deplibs_check_method=pass_all
6835 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6836 lt_cv_deplibs_check_method=pass_all
6839 sysv4 | sysv4.3*)
6840 case $host_vendor in
6841 motorola)
6842 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]'
6843 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6845 ncr)
6846 lt_cv_deplibs_check_method=pass_all
6848 sequent)
6849 lt_cv_file_magic_cmd='/bin/file'
6850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6852 sni)
6853 lt_cv_file_magic_cmd='/bin/file'
6854 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6855 lt_cv_file_magic_test_file=/lib/libc.so
6857 siemens)
6858 lt_cv_deplibs_check_method=pass_all
6861 lt_cv_deplibs_check_method=pass_all
6863 esac
6866 tpf*)
6867 lt_cv_deplibs_check_method=pass_all
6869 esac
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6873 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6874 file_magic_cmd=$lt_cv_file_magic_cmd
6875 deplibs_check_method=$lt_cv_deplibs_check_method
6876 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6889 if test -n "$ac_tool_prefix"; then
6890 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6891 set dummy ${ac_tool_prefix}ar; ac_word=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6893 $as_echo_n "checking for $ac_word... " >&6; }
6894 if test "${ac_cv_prog_AR+set}" = set; then :
6895 $as_echo_n "(cached) " >&6
6896 else
6897 if test -n "$AR"; then
6898 ac_cv_prog_AR="$AR" # Let the user override the test.
6899 else
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 for as_dir in $PATH
6903 IFS=$as_save_IFS
6904 test -z "$as_dir" && as_dir=.
6905 for ac_exec_ext in '' $ac_executable_extensions; do
6906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6907 ac_cv_prog_AR="${ac_tool_prefix}ar"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6909 break 2
6911 done
6912 done
6913 IFS=$as_save_IFS
6917 AR=$ac_cv_prog_AR
6918 if test -n "$AR"; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6920 $as_echo "$AR" >&6; }
6921 else
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6923 $as_echo "no" >&6; }
6928 if test -z "$ac_cv_prog_AR"; then
6929 ac_ct_AR=$AR
6930 # Extract the first word of "ar", so it can be a program name with args.
6931 set dummy ar; ac_word=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933 $as_echo_n "checking for $ac_word... " >&6; }
6934 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6935 $as_echo_n "(cached) " >&6
6936 else
6937 if test -n "$ac_ct_AR"; then
6938 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6939 else
6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 for as_dir in $PATH
6943 IFS=$as_save_IFS
6944 test -z "$as_dir" && as_dir=.
6945 for ac_exec_ext in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_prog_ac_ct_AR="ar"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949 break 2
6951 done
6952 done
6953 IFS=$as_save_IFS
6957 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6958 if test -n "$ac_ct_AR"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6960 $as_echo "$ac_ct_AR" >&6; }
6961 else
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963 $as_echo "no" >&6; }
6966 if test "x$ac_ct_AR" = x; then
6967 AR="false"
6968 else
6969 case $cross_compiling:$ac_tool_warned in
6970 yes:)
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6973 ac_tool_warned=yes ;;
6974 esac
6975 AR=$ac_ct_AR
6977 else
6978 AR="$ac_cv_prog_AR"
6981 test -z "$AR" && AR=ar
6982 test -z "$AR_FLAGS" && AR_FLAGS=cru
6994 if test -n "$ac_tool_prefix"; then
6995 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6996 set dummy ${ac_tool_prefix}strip; ac_word=$2
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6998 $as_echo_n "checking for $ac_word... " >&6; }
6999 if test "${ac_cv_prog_STRIP+set}" = set; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 if test -n "$STRIP"; then
7003 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7004 else
7005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 for as_dir in $PATH
7008 IFS=$as_save_IFS
7009 test -z "$as_dir" && as_dir=.
7010 for ac_exec_ext in '' $ac_executable_extensions; do
7011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7012 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7014 break 2
7016 done
7017 done
7018 IFS=$as_save_IFS
7022 STRIP=$ac_cv_prog_STRIP
7023 if test -n "$STRIP"; then
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7025 $as_echo "$STRIP" >&6; }
7026 else
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7028 $as_echo "no" >&6; }
7033 if test -z "$ac_cv_prog_STRIP"; then
7034 ac_ct_STRIP=$STRIP
7035 # Extract the first word of "strip", so it can be a program name with args.
7036 set dummy strip; ac_word=$2
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038 $as_echo_n "checking for $ac_word... " >&6; }
7039 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7040 $as_echo_n "(cached) " >&6
7041 else
7042 if test -n "$ac_ct_STRIP"; then
7043 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7044 else
7045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7046 for as_dir in $PATH
7048 IFS=$as_save_IFS
7049 test -z "$as_dir" && as_dir=.
7050 for ac_exec_ext in '' $ac_executable_extensions; do
7051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7052 ac_cv_prog_ac_ct_STRIP="strip"
7053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054 break 2
7056 done
7057 done
7058 IFS=$as_save_IFS
7062 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7063 if test -n "$ac_ct_STRIP"; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7065 $as_echo "$ac_ct_STRIP" >&6; }
7066 else
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068 $as_echo "no" >&6; }
7071 if test "x$ac_ct_STRIP" = x; then
7072 STRIP=":"
7073 else
7074 case $cross_compiling:$ac_tool_warned in
7075 yes:)
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7078 ac_tool_warned=yes ;;
7079 esac
7080 STRIP=$ac_ct_STRIP
7082 else
7083 STRIP="$ac_cv_prog_STRIP"
7086 test -z "$STRIP" && STRIP=:
7093 if test -n "$ac_tool_prefix"; then
7094 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7095 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7099 $as_echo_n "(cached) " >&6
7100 else
7101 if test -n "$RANLIB"; then
7102 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7103 else
7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 for as_dir in $PATH
7107 IFS=$as_save_IFS
7108 test -z "$as_dir" && as_dir=.
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113 break 2
7115 done
7116 done
7117 IFS=$as_save_IFS
7121 RANLIB=$ac_cv_prog_RANLIB
7122 if test -n "$RANLIB"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7124 $as_echo "$RANLIB" >&6; }
7125 else
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7132 if test -z "$ac_cv_prog_RANLIB"; then
7133 ac_ct_RANLIB=$RANLIB
7134 # Extract the first word of "ranlib", so it can be a program name with args.
7135 set dummy ranlib; ac_word=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7139 $as_echo_n "(cached) " >&6
7140 else
7141 if test -n "$ac_ct_RANLIB"; then
7142 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7143 else
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 for as_dir in $PATH
7147 IFS=$as_save_IFS
7148 test -z "$as_dir" && as_dir=.
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151 ac_cv_prog_ac_ct_RANLIB="ranlib"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 break 2
7155 done
7156 done
7157 IFS=$as_save_IFS
7161 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7162 if test -n "$ac_ct_RANLIB"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7164 $as_echo "$ac_ct_RANLIB" >&6; }
7165 else
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 $as_echo "no" >&6; }
7170 if test "x$ac_ct_RANLIB" = x; then
7171 RANLIB=":"
7172 else
7173 case $cross_compiling:$ac_tool_warned in
7174 yes:)
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177 ac_tool_warned=yes ;;
7178 esac
7179 RANLIB=$ac_ct_RANLIB
7181 else
7182 RANLIB="$ac_cv_prog_RANLIB"
7185 test -z "$RANLIB" && RANLIB=:
7192 # Determine commands to create old-style static archives.
7193 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7194 old_postinstall_cmds='chmod 644 $oldlib'
7195 old_postuninstall_cmds=
7197 if test -n "$RANLIB"; then
7198 case $host_os in
7199 openbsd*)
7200 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7203 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7205 esac
7206 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7209 case $host_os in
7210 darwin*)
7211 lock_old_archive_extraction=yes ;;
7213 lock_old_archive_extraction=no ;;
7214 esac
7254 # If no C compiler was specified, use CC.
7255 LTCC=${LTCC-"$CC"}
7257 # If no C compiler flags were specified, use CFLAGS.
7258 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7260 # Allow CC to be a program name with arguments.
7261 compiler=$CC
7264 # Check for command to grab the raw symbol name followed by C symbol from nm.
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7266 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7267 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7268 $as_echo_n "(cached) " >&6
7269 else
7271 # These are sane defaults that work on at least a few old systems.
7272 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7274 # Character class describing NM global symbol codes.
7275 symcode='[BCDEGRST]'
7277 # Regexp to match symbols that can be accessed directly from C.
7278 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7280 # Define system-specific variables.
7281 case $host_os in
7282 aix*)
7283 symcode='[BCDT]'
7285 cygwin* | mingw* | pw32* | cegcc*)
7286 symcode='[ABCDGISTW]'
7288 hpux*)
7289 if test "$host_cpu" = ia64; then
7290 symcode='[ABCDEGRST]'
7293 irix* | nonstopux*)
7294 symcode='[BCDEGRST]'
7296 osf*)
7297 symcode='[BCDEGQRST]'
7299 solaris*)
7300 symcode='[BDRT]'
7302 sco3.2v5*)
7303 symcode='[DT]'
7305 sysv4.2uw2*)
7306 symcode='[DT]'
7308 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7309 symcode='[ABDT]'
7311 sysv4)
7312 symcode='[DFNSTU]'
7314 esac
7316 # If we're using GNU nm, then use its standard symbol codes.
7317 case `$NM -V 2>&1` in
7318 *GNU* | *'with BFD'*)
7319 symcode='[ABCDGIRSTW]' ;;
7320 esac
7322 # Transform an extracted symbol line into a proper C declaration.
7323 # Some systems (esp. on ia64) link data and code symbols differently,
7324 # so use this general approach.
7325 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7327 # Transform an extracted symbol line into symbol name and symbol address
7328 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7329 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'"
7331 # Handle CRLF in mingw tool chain
7332 opt_cr=
7333 case $build_os in
7334 mingw*)
7335 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7337 esac
7339 # Try without a prefix underscore, then with it.
7340 for ac_symprfx in "" "_"; do
7342 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7343 symxfrm="\\1 $ac_symprfx\\2 \\2"
7345 # Write the raw and C identifiers.
7346 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7347 # Fake it for dumpbin and say T for any non-static function
7348 # and D for any global variable.
7349 # Also find C++ and __fastcall symbols from MSVC++,
7350 # which start with @ or ?.
7351 lt_cv_sys_global_symbol_pipe="$AWK '"\
7352 " {last_section=section; section=\$ 3};"\
7353 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7354 " \$ 0!~/External *\|/{next};"\
7355 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7356 " {if(hide[section]) next};"\
7357 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7358 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7359 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7360 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7361 " ' prfx=^$ac_symprfx"
7362 else
7363 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7366 # Check to see that the pipe works correctly.
7367 pipe_works=no
7369 rm -f conftest*
7370 cat > conftest.$ac_ext <<_LT_EOF
7371 #ifdef __cplusplus
7372 extern "C" {
7373 #endif
7374 char nm_test_var;
7375 void nm_test_func(void);
7376 void nm_test_func(void){}
7377 #ifdef __cplusplus
7379 #endif
7380 int main(){nm_test_var='a';nm_test_func();return(0);}
7381 _LT_EOF
7383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7384 (eval $ac_compile) 2>&5
7385 ac_status=$?
7386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387 test $ac_status = 0; }; then
7388 # Now try to grab the symbols.
7389 nlist=conftest.nm
7390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7391 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7392 ac_status=$?
7393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7394 test $ac_status = 0; } && test -s "$nlist"; then
7395 # Try sorting and uniquifying the output.
7396 if sort "$nlist" | uniq > "$nlist"T; then
7397 mv -f "$nlist"T "$nlist"
7398 else
7399 rm -f "$nlist"T
7402 # Make sure that we snagged all the symbols we need.
7403 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7404 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7405 cat <<_LT_EOF > conftest.$ac_ext
7406 #ifdef __cplusplus
7407 extern "C" {
7408 #endif
7410 _LT_EOF
7411 # Now generate the symbol file.
7412 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7414 cat <<_LT_EOF >> conftest.$ac_ext
7416 /* The mapping between symbol names and symbols. */
7417 const struct {
7418 const char *name;
7419 void *address;
7421 lt__PROGRAM__LTX_preloaded_symbols[] =
7423 { "@PROGRAM@", (void *) 0 },
7424 _LT_EOF
7425 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7426 cat <<\_LT_EOF >> conftest.$ac_ext
7427 {0, (void *) 0}
7430 /* This works around a problem in FreeBSD linker */
7431 #ifdef FREEBSD_WORKAROUND
7432 static const void *lt_preloaded_setup() {
7433 return lt__PROGRAM__LTX_preloaded_symbols;
7435 #endif
7437 #ifdef __cplusplus
7439 #endif
7440 _LT_EOF
7441 # Now try linking the two files.
7442 mv conftest.$ac_objext conftstm.$ac_objext
7443 lt_save_LIBS="$LIBS"
7444 lt_save_CFLAGS="$CFLAGS"
7445 LIBS="conftstm.$ac_objext"
7446 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7448 (eval $ac_link) 2>&5
7449 ac_status=$?
7450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7451 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7452 pipe_works=yes
7454 LIBS="$lt_save_LIBS"
7455 CFLAGS="$lt_save_CFLAGS"
7456 else
7457 echo "cannot find nm_test_func in $nlist" >&5
7459 else
7460 echo "cannot find nm_test_var in $nlist" >&5
7462 else
7463 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7465 else
7466 echo "$progname: failed program was:" >&5
7467 cat conftest.$ac_ext >&5
7469 rm -rf conftest* conftst*
7471 # Do not use the global_symbol_pipe unless it works.
7472 if test "$pipe_works" = yes; then
7473 break
7474 else
7475 lt_cv_sys_global_symbol_pipe=
7477 done
7481 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7482 lt_cv_sys_global_symbol_to_cdecl=
7484 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7486 $as_echo "failed" >&6; }
7487 else
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7489 $as_echo "ok" >&6; }
7513 # Check whether --enable-libtool-lock was given.
7514 if test "${enable_libtool_lock+set}" = set; then :
7515 enableval=$enable_libtool_lock;
7518 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7520 # Some flags need to be propagated to the compiler or linker for good
7521 # libtool support.
7522 case $host in
7523 ia64-*-hpux*)
7524 # Find out which ABI we are using.
7525 echo 'int i;' > conftest.$ac_ext
7526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7527 (eval $ac_compile) 2>&5
7528 ac_status=$?
7529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7530 test $ac_status = 0; }; then
7531 case `/usr/bin/file conftest.$ac_objext` in
7532 *ELF-32*)
7533 HPUX_IA64_MODE="32"
7535 *ELF-64*)
7536 HPUX_IA64_MODE="64"
7538 esac
7540 rm -rf conftest*
7542 *-*-irix6*)
7543 # Find out which ABI we are using.
7544 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7546 (eval $ac_compile) 2>&5
7547 ac_status=$?
7548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7549 test $ac_status = 0; }; then
7550 if test "$lt_cv_prog_gnu_ld" = yes; then
7551 case `/usr/bin/file conftest.$ac_objext` in
7552 *32-bit*)
7553 LD="${LD-ld} -melf32bsmip"
7555 *N32*)
7556 LD="${LD-ld} -melf32bmipn32"
7558 *64-bit*)
7559 LD="${LD-ld} -melf64bmip"
7561 esac
7562 else
7563 case `/usr/bin/file conftest.$ac_objext` in
7564 *32-bit*)
7565 LD="${LD-ld} -32"
7567 *N32*)
7568 LD="${LD-ld} -n32"
7570 *64-bit*)
7571 LD="${LD-ld} -64"
7573 esac
7576 rm -rf conftest*
7579 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7580 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7581 # Find out which ABI we are using.
7582 echo 'int i;' > conftest.$ac_ext
7583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7584 (eval $ac_compile) 2>&5
7585 ac_status=$?
7586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7587 test $ac_status = 0; }; then
7588 case `/usr/bin/file conftest.o` in
7589 *32-bit*)
7590 case $host in
7591 x86_64-*kfreebsd*-gnu)
7592 LD="${LD-ld} -m elf_i386_fbsd"
7594 x86_64-*linux*)
7595 case `/usr/bin/file conftest.o` in
7596 *x86-64*)
7597 LD="${LD-ld} -m elf32_x86_64"
7600 LD="${LD-ld} -m elf_i386"
7602 esac
7604 ppc64-*linux*|powerpc64-*linux*)
7605 LD="${LD-ld} -m elf32ppclinux"
7607 s390x-*linux*)
7608 LD="${LD-ld} -m elf_s390"
7610 sparc64-*linux*)
7611 LD="${LD-ld} -m elf32_sparc"
7613 esac
7615 *64-bit*)
7616 case $host in
7617 x86_64-*kfreebsd*-gnu)
7618 LD="${LD-ld} -m elf_x86_64_fbsd"
7620 x86_64-*linux*)
7621 LD="${LD-ld} -m elf_x86_64"
7623 ppc*-*linux*|powerpc*-*linux*)
7624 LD="${LD-ld} -m elf64ppc"
7626 s390*-*linux*|s390*-*tpf*)
7627 LD="${LD-ld} -m elf64_s390"
7629 sparc*-*linux*)
7630 LD="${LD-ld} -m elf64_sparc"
7632 esac
7634 esac
7636 rm -rf conftest*
7639 *-*-sco3.2v5*)
7640 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7641 SAVE_CFLAGS="$CFLAGS"
7642 CFLAGS="$CFLAGS -belf"
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7644 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7645 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7646 $as_echo_n "(cached) " >&6
7647 else
7648 ac_ext=c
7649 ac_cpp='$CPP $CPPFLAGS'
7650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7654 if test x$gcc_no_link = xyes; then
7655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h. */
7661 main ()
7665 return 0;
7667 _ACEOF
7668 if ac_fn_c_try_link "$LINENO"; then :
7669 lt_cv_cc_needs_belf=yes
7670 else
7671 lt_cv_cc_needs_belf=no
7673 rm -f core conftest.err conftest.$ac_objext \
7674 conftest$ac_exeext conftest.$ac_ext
7675 ac_ext=c
7676 ac_cpp='$CPP $CPPFLAGS'
7677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7683 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7684 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7685 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7686 CFLAGS="$SAVE_CFLAGS"
7689 sparc*-*solaris*)
7690 # Find out which ABI we are using.
7691 echo 'int i;' > conftest.$ac_ext
7692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7693 (eval $ac_compile) 2>&5
7694 ac_status=$?
7695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7696 test $ac_status = 0; }; then
7697 case `/usr/bin/file conftest.o` in
7698 *64-bit*)
7699 case $lt_cv_prog_gnu_ld in
7700 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7702 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7703 LD="${LD-ld} -64"
7706 esac
7708 esac
7710 rm -rf conftest*
7712 esac
7714 need_locks="$enable_libtool_lock"
7717 case $host_os in
7718 rhapsody* | darwin*)
7719 if test -n "$ac_tool_prefix"; then
7720 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7721 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7723 $as_echo_n "checking for $ac_word... " >&6; }
7724 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7725 $as_echo_n "(cached) " >&6
7726 else
7727 if test -n "$DSYMUTIL"; then
7728 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7729 else
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 for as_dir in $PATH
7733 IFS=$as_save_IFS
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7737 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 break 2
7741 done
7742 done
7743 IFS=$as_save_IFS
7747 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7748 if test -n "$DSYMUTIL"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7750 $as_echo "$DSYMUTIL" >&6; }
7751 else
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 $as_echo "no" >&6; }
7758 if test -z "$ac_cv_prog_DSYMUTIL"; then
7759 ac_ct_DSYMUTIL=$DSYMUTIL
7760 # Extract the first word of "dsymutil", so it can be a program name with args.
7761 set dummy dsymutil; ac_word=$2
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7763 $as_echo_n "checking for $ac_word... " >&6; }
7764 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7765 $as_echo_n "(cached) " >&6
7766 else
7767 if test -n "$ac_ct_DSYMUTIL"; then
7768 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7769 else
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 for as_dir in $PATH
7773 IFS=$as_save_IFS
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7777 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 break 2
7781 done
7782 done
7783 IFS=$as_save_IFS
7787 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7788 if test -n "$ac_ct_DSYMUTIL"; then
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7790 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7791 else
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7793 $as_echo "no" >&6; }
7796 if test "x$ac_ct_DSYMUTIL" = x; then
7797 DSYMUTIL=":"
7798 else
7799 case $cross_compiling:$ac_tool_warned in
7800 yes:)
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7803 ac_tool_warned=yes ;;
7804 esac
7805 DSYMUTIL=$ac_ct_DSYMUTIL
7807 else
7808 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7813 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7817 $as_echo_n "(cached) " >&6
7818 else
7819 if test -n "$NMEDIT"; then
7820 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7821 else
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 for as_dir in $PATH
7825 IFS=$as_save_IFS
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 break 2
7833 done
7834 done
7835 IFS=$as_save_IFS
7839 NMEDIT=$ac_cv_prog_NMEDIT
7840 if test -n "$NMEDIT"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7842 $as_echo "$NMEDIT" >&6; }
7843 else
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7850 if test -z "$ac_cv_prog_NMEDIT"; then
7851 ac_ct_NMEDIT=$NMEDIT
7852 # Extract the first word of "nmedit", so it can be a program name with args.
7853 set dummy nmedit; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 if test -n "$ac_ct_NMEDIT"; then
7860 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7861 else
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 for as_dir in $PATH
7865 IFS=$as_save_IFS
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 break 2
7873 done
7874 done
7875 IFS=$as_save_IFS
7879 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7880 if test -n "$ac_ct_NMEDIT"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7882 $as_echo "$ac_ct_NMEDIT" >&6; }
7883 else
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7888 if test "x$ac_ct_NMEDIT" = x; then
7889 NMEDIT=":"
7890 else
7891 case $cross_compiling:$ac_tool_warned in
7892 yes:)
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7895 ac_tool_warned=yes ;;
7896 esac
7897 NMEDIT=$ac_ct_NMEDIT
7899 else
7900 NMEDIT="$ac_cv_prog_NMEDIT"
7903 if test -n "$ac_tool_prefix"; then
7904 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7905 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7907 $as_echo_n "checking for $ac_word... " >&6; }
7908 if test "${ac_cv_prog_LIPO+set}" = set; then :
7909 $as_echo_n "(cached) " >&6
7910 else
7911 if test -n "$LIPO"; then
7912 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7913 else
7914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 for as_dir in $PATH
7917 IFS=$as_save_IFS
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7921 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 break 2
7925 done
7926 done
7927 IFS=$as_save_IFS
7931 LIPO=$ac_cv_prog_LIPO
7932 if test -n "$LIPO"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7934 $as_echo "$LIPO" >&6; }
7935 else
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937 $as_echo "no" >&6; }
7942 if test -z "$ac_cv_prog_LIPO"; then
7943 ac_ct_LIPO=$LIPO
7944 # Extract the first word of "lipo", so it can be a program name with args.
7945 set dummy lipo; ac_word=$2
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7947 $as_echo_n "checking for $ac_word... " >&6; }
7948 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7949 $as_echo_n "(cached) " >&6
7950 else
7951 if test -n "$ac_ct_LIPO"; then
7952 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7953 else
7954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 for as_dir in $PATH
7957 IFS=$as_save_IFS
7958 test -z "$as_dir" && as_dir=.
7959 for ac_exec_ext in '' $ac_executable_extensions; do
7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7961 ac_cv_prog_ac_ct_LIPO="lipo"
7962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7963 break 2
7965 done
7966 done
7967 IFS=$as_save_IFS
7971 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7972 if test -n "$ac_ct_LIPO"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7974 $as_echo "$ac_ct_LIPO" >&6; }
7975 else
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977 $as_echo "no" >&6; }
7980 if test "x$ac_ct_LIPO" = x; then
7981 LIPO=":"
7982 else
7983 case $cross_compiling:$ac_tool_warned in
7984 yes:)
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7987 ac_tool_warned=yes ;;
7988 esac
7989 LIPO=$ac_ct_LIPO
7991 else
7992 LIPO="$ac_cv_prog_LIPO"
7995 if test -n "$ac_tool_prefix"; then
7996 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7997 set dummy ${ac_tool_prefix}otool; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$OTOOL"; then
8004 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8013 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8017 done
8018 done
8019 IFS=$as_save_IFS
8023 OTOOL=$ac_cv_prog_OTOOL
8024 if test -n "$OTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8026 $as_echo "$OTOOL" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8034 if test -z "$ac_cv_prog_OTOOL"; then
8035 ac_ct_OTOOL=$OTOOL
8036 # Extract the first word of "otool", so it can be a program name with args.
8037 set dummy otool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 if test -n "$ac_ct_OTOOL"; then
8044 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8045 else
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 for as_dir in $PATH
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8053 ac_cv_prog_ac_ct_OTOOL="otool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8057 done
8058 done
8059 IFS=$as_save_IFS
8063 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8064 if test -n "$ac_ct_OTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8066 $as_echo "$ac_ct_OTOOL" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8072 if test "x$ac_ct_OTOOL" = x; then
8073 OTOOL=":"
8074 else
8075 case $cross_compiling:$ac_tool_warned in
8076 yes:)
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8079 ac_tool_warned=yes ;;
8080 esac
8081 OTOOL=$ac_ct_OTOOL
8083 else
8084 OTOOL="$ac_cv_prog_OTOOL"
8087 if test -n "$ac_tool_prefix"; then
8088 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8089 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8091 $as_echo_n "checking for $ac_word... " >&6; }
8092 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8093 $as_echo_n "(cached) " >&6
8094 else
8095 if test -n "$OTOOL64"; then
8096 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8097 else
8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 for as_dir in $PATH
8101 IFS=$as_save_IFS
8102 test -z "$as_dir" && as_dir=.
8103 for ac_exec_ext in '' $ac_executable_extensions; do
8104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8105 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8107 break 2
8109 done
8110 done
8111 IFS=$as_save_IFS
8115 OTOOL64=$ac_cv_prog_OTOOL64
8116 if test -n "$OTOOL64"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8118 $as_echo "$OTOOL64" >&6; }
8119 else
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8126 if test -z "$ac_cv_prog_OTOOL64"; then
8127 ac_ct_OTOOL64=$OTOOL64
8128 # Extract the first word of "otool64", so it can be a program name with args.
8129 set dummy otool64; ac_word=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 $as_echo_n "checking for $ac_word... " >&6; }
8132 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 if test -n "$ac_ct_OTOOL64"; then
8136 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8137 else
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 for as_dir in $PATH
8141 IFS=$as_save_IFS
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8145 ac_cv_prog_ac_ct_OTOOL64="otool64"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 break 2
8149 done
8150 done
8151 IFS=$as_save_IFS
8155 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8156 if test -n "$ac_ct_OTOOL64"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8158 $as_echo "$ac_ct_OTOOL64" >&6; }
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8164 if test "x$ac_ct_OTOOL64" = x; then
8165 OTOOL64=":"
8166 else
8167 case $cross_compiling:$ac_tool_warned in
8168 yes:)
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171 ac_tool_warned=yes ;;
8172 esac
8173 OTOOL64=$ac_ct_OTOOL64
8175 else
8176 OTOOL64="$ac_cv_prog_OTOOL64"
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8206 $as_echo_n "checking for -single_module linker flag... " >&6; }
8207 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 lt_cv_apple_cc_single_mod=no
8211 if test -z "${LT_MULTI_MODULE}"; then
8212 # By default we will add the -single_module flag. You can override
8213 # by either setting the environment variable LT_MULTI_MODULE
8214 # non-empty at configure time, or by adding -multi_module to the
8215 # link flags.
8216 rm -rf libconftest.dylib*
8217 echo "int foo(void){return 1;}" > conftest.c
8218 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8219 -dynamiclib -Wl,-single_module conftest.c" >&5
8220 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8221 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8222 _lt_result=$?
8223 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8224 lt_cv_apple_cc_single_mod=yes
8225 else
8226 cat conftest.err >&5
8228 rm -rf libconftest.dylib*
8229 rm -f conftest.*
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8233 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8235 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8236 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8237 $as_echo_n "(cached) " >&6
8238 else
8239 lt_cv_ld_exported_symbols_list=no
8240 save_LDFLAGS=$LDFLAGS
8241 echo "_main" > conftest.sym
8242 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8243 if test x$gcc_no_link = xyes; then
8244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8250 main ()
8254 return 0;
8256 _ACEOF
8257 if ac_fn_c_try_link "$LINENO"; then :
8258 lt_cv_ld_exported_symbols_list=yes
8259 else
8260 lt_cv_ld_exported_symbols_list=no
8262 rm -f core conftest.err conftest.$ac_objext \
8263 conftest$ac_exeext conftest.$ac_ext
8264 LDFLAGS="$save_LDFLAGS"
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8268 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8270 $as_echo_n "checking for -force_load linker flag... " >&6; }
8271 if test "${lt_cv_ld_force_load+set}" = set; then :
8272 $as_echo_n "(cached) " >&6
8273 else
8274 lt_cv_ld_force_load=no
8275 cat > conftest.c << _LT_EOF
8276 int forced_loaded() { return 2;}
8277 _LT_EOF
8278 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8279 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8280 echo "$AR cru libconftest.a conftest.o" >&5
8281 $AR cru libconftest.a conftest.o 2>&5
8282 cat > conftest.c << _LT_EOF
8283 int main() { return 0;}
8284 _LT_EOF
8285 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8286 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8287 _lt_result=$?
8288 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8289 lt_cv_ld_force_load=yes
8290 else
8291 cat conftest.err >&5
8293 rm -f conftest.err libconftest.a conftest conftest.c
8294 rm -rf conftest.dSYM
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8298 $as_echo "$lt_cv_ld_force_load" >&6; }
8299 case $host_os in
8300 rhapsody* | darwin1.[012])
8301 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8302 darwin1.*)
8303 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8304 darwin*) # darwin 5.x on
8305 # if running on 10.5 or later, the deployment target defaults
8306 # to the OS version, if on x86, and 10.4, the deployment
8307 # target defaults to 10.4. Don't you love it?
8308 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8309 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8310 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8311 10.[012]*)
8312 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8313 10.*)
8314 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8315 esac
8317 esac
8318 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8319 _lt_dar_single_mod='$single_module'
8321 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8322 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8323 else
8324 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8326 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8327 _lt_dsymutil='~$DSYMUTIL $lib || :'
8328 else
8329 _lt_dsymutil=
8332 esac
8334 for ac_header in dlfcn.h
8335 do :
8336 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8338 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8339 cat >>confdefs.h <<_ACEOF
8340 #define HAVE_DLFCN_H 1
8341 _ACEOF
8345 done
8351 # Set options
8355 enable_dlopen=no
8358 enable_win32_dll=no
8361 # Check whether --enable-shared was given.
8362 if test "${enable_shared+set}" = set; then :
8363 enableval=$enable_shared; p=${PACKAGE-default}
8364 case $enableval in
8365 yes) enable_shared=yes ;;
8366 no) enable_shared=no ;;
8368 enable_shared=no
8369 # Look at the argument we got. We use all the common list separators.
8370 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8371 for pkg in $enableval; do
8372 IFS="$lt_save_ifs"
8373 if test "X$pkg" = "X$p"; then
8374 enable_shared=yes
8376 done
8377 IFS="$lt_save_ifs"
8379 esac
8380 else
8381 enable_shared=yes
8394 # Check whether --with-pic was given.
8395 if test "${with_pic+set}" = set; then :
8396 withval=$with_pic; pic_mode="$withval"
8397 else
8398 pic_mode=default
8402 test -z "$pic_mode" && pic_mode=default
8410 # Check whether --enable-fast-install was given.
8411 if test "${enable_fast_install+set}" = set; then :
8412 enableval=$enable_fast_install; p=${PACKAGE-default}
8413 case $enableval in
8414 yes) enable_fast_install=yes ;;
8415 no) enable_fast_install=no ;;
8417 enable_fast_install=no
8418 # Look at the argument we got. We use all the common list separators.
8419 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8420 for pkg in $enableval; do
8421 IFS="$lt_save_ifs"
8422 if test "X$pkg" = "X$p"; then
8423 enable_fast_install=yes
8425 done
8426 IFS="$lt_save_ifs"
8428 esac
8429 else
8430 enable_fast_install=yes
8443 # This can be used to rebuild libtool when needed
8444 LIBTOOL_DEPS="$ltmain"
8446 # Always use our own libtool.
8447 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8474 test -z "$LN_S" && LN_S="ln -s"
8489 if test -n "${ZSH_VERSION+set}" ; then
8490 setopt NO_GLOB_SUBST
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8494 $as_echo_n "checking for objdir... " >&6; }
8495 if test "${lt_cv_objdir+set}" = set; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 rm -f .libs 2>/dev/null
8499 mkdir .libs 2>/dev/null
8500 if test -d .libs; then
8501 lt_cv_objdir=.libs
8502 else
8503 # MS-DOS does not allow filenames that begin with a dot.
8504 lt_cv_objdir=_libs
8506 rmdir .libs 2>/dev/null
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8509 $as_echo "$lt_cv_objdir" >&6; }
8510 objdir=$lt_cv_objdir
8516 cat >>confdefs.h <<_ACEOF
8517 #define LT_OBJDIR "$lt_cv_objdir/"
8518 _ACEOF
8523 case $host_os in
8524 aix3*)
8525 # AIX sometimes has problems with the GCC collect2 program. For some
8526 # reason, if we set the COLLECT_NAMES environment variable, the problems
8527 # vanish in a puff of smoke.
8528 if test "X${COLLECT_NAMES+set}" != Xset; then
8529 COLLECT_NAMES=
8530 export COLLECT_NAMES
8533 esac
8535 # Global variables:
8536 ofile=libtool
8537 can_build_shared=yes
8539 # All known linkers require a `.a' archive for static linking (except MSVC,
8540 # which needs '.lib').
8541 libext=a
8543 with_gnu_ld="$lt_cv_prog_gnu_ld"
8545 old_CC="$CC"
8546 old_CFLAGS="$CFLAGS"
8548 # Set sane defaults for various variables
8549 test -z "$CC" && CC=cc
8550 test -z "$LTCC" && LTCC=$CC
8551 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8552 test -z "$LD" && LD=ld
8553 test -z "$ac_objext" && ac_objext=o
8555 for cc_temp in $compiler""; do
8556 case $cc_temp in
8557 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8558 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8559 \-*) ;;
8560 *) break;;
8561 esac
8562 done
8563 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8566 # Only perform the check for file, if the check method requires it
8567 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8568 case $deplibs_check_method in
8569 file_magic*)
8570 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8572 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8573 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8574 $as_echo_n "(cached) " >&6
8575 else
8576 case $MAGIC_CMD in
8577 [\\/*] | ?:[\\/]*)
8578 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8581 lt_save_MAGIC_CMD="$MAGIC_CMD"
8582 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8583 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8584 for ac_dir in $ac_dummy; do
8585 IFS="$lt_save_ifs"
8586 test -z "$ac_dir" && ac_dir=.
8587 if test -f $ac_dir/${ac_tool_prefix}file; then
8588 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8589 if test -n "$file_magic_test_file"; then
8590 case $deplibs_check_method in
8591 "file_magic "*)
8592 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8593 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8594 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8595 $EGREP "$file_magic_regex" > /dev/null; then
8597 else
8598 cat <<_LT_EOF 1>&2
8600 *** Warning: the command libtool uses to detect shared libraries,
8601 *** $file_magic_cmd, produces output that libtool cannot recognize.
8602 *** The result is that libtool may fail to recognize shared libraries
8603 *** as such. This will affect the creation of libtool libraries that
8604 *** depend on shared libraries, but programs linked with such libtool
8605 *** libraries will work regardless of this problem. Nevertheless, you
8606 *** may want to report the problem to your system manager and/or to
8607 *** bug-libtool@gnu.org
8609 _LT_EOF
8610 fi ;;
8611 esac
8613 break
8615 done
8616 IFS="$lt_save_ifs"
8617 MAGIC_CMD="$lt_save_MAGIC_CMD"
8619 esac
8622 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8623 if test -n "$MAGIC_CMD"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8625 $as_echo "$MAGIC_CMD" >&6; }
8626 else
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8628 $as_echo "no" >&6; }
8635 if test -z "$lt_cv_path_MAGIC_CMD"; then
8636 if test -n "$ac_tool_prefix"; then
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8638 $as_echo_n "checking for file... " >&6; }
8639 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8640 $as_echo_n "(cached) " >&6
8641 else
8642 case $MAGIC_CMD in
8643 [\\/*] | ?:[\\/]*)
8644 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8647 lt_save_MAGIC_CMD="$MAGIC_CMD"
8648 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8649 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8650 for ac_dir in $ac_dummy; do
8651 IFS="$lt_save_ifs"
8652 test -z "$ac_dir" && ac_dir=.
8653 if test -f $ac_dir/file; then
8654 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8655 if test -n "$file_magic_test_file"; then
8656 case $deplibs_check_method in
8657 "file_magic "*)
8658 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8659 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8660 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8661 $EGREP "$file_magic_regex" > /dev/null; then
8663 else
8664 cat <<_LT_EOF 1>&2
8666 *** Warning: the command libtool uses to detect shared libraries,
8667 *** $file_magic_cmd, produces output that libtool cannot recognize.
8668 *** The result is that libtool may fail to recognize shared libraries
8669 *** as such. This will affect the creation of libtool libraries that
8670 *** depend on shared libraries, but programs linked with such libtool
8671 *** libraries will work regardless of this problem. Nevertheless, you
8672 *** may want to report the problem to your system manager and/or to
8673 *** bug-libtool@gnu.org
8675 _LT_EOF
8676 fi ;;
8677 esac
8679 break
8681 done
8682 IFS="$lt_save_ifs"
8683 MAGIC_CMD="$lt_save_MAGIC_CMD"
8685 esac
8688 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8689 if test -n "$MAGIC_CMD"; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8691 $as_echo "$MAGIC_CMD" >&6; }
8692 else
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8694 $as_echo "no" >&6; }
8698 else
8699 MAGIC_CMD=:
8705 esac
8707 # Use C for the default configuration in the libtool script
8709 lt_save_CC="$CC"
8710 ac_ext=c
8711 ac_cpp='$CPP $CPPFLAGS'
8712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8717 # Source file extension for C test sources.
8718 ac_ext=c
8720 # Object file extension for compiled C test sources.
8721 objext=o
8722 objext=$objext
8724 # Code to be used in simple compile tests
8725 lt_simple_compile_test_code="int some_variable = 0;"
8727 # Code to be used in simple link tests
8728 lt_simple_link_test_code='int main(){return(0);}'
8736 # If no C compiler was specified, use CC.
8737 LTCC=${LTCC-"$CC"}
8739 # If no C compiler flags were specified, use CFLAGS.
8740 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8742 # Allow CC to be a program name with arguments.
8743 compiler=$CC
8745 # Save the default compiler, since it gets overwritten when the other
8746 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8747 compiler_DEFAULT=$CC
8749 # save warnings/boilerplate of simple test code
8750 ac_outfile=conftest.$ac_objext
8751 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8752 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8753 _lt_compiler_boilerplate=`cat conftest.err`
8754 $RM conftest*
8756 ac_outfile=conftest.$ac_objext
8757 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8758 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8759 _lt_linker_boilerplate=`cat conftest.err`
8760 $RM -r conftest*
8763 ## CAVEAT EMPTOR:
8764 ## There is no encapsulation within the following macros, do not change
8765 ## the running order or otherwise move them around unless you know exactly
8766 ## what you are doing...
8767 if test -n "$compiler"; then
8769 lt_prog_compiler_no_builtin_flag=
8771 if test "$GCC" = yes; then
8772 case $cc_basename in
8773 nvcc*)
8774 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8776 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8777 esac
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8780 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8781 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 lt_cv_prog_compiler_rtti_exceptions=no
8785 ac_outfile=conftest.$ac_objext
8786 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8787 lt_compiler_flag="-fno-rtti -fno-exceptions"
8788 # Insert the option either (1) after the last *FLAGS variable, or
8789 # (2) before a word containing "conftest.", or (3) at the end.
8790 # Note that $ac_compile itself does not contain backslashes and begins
8791 # with a dollar sign (not a hyphen), so the echo should work correctly.
8792 # The option is referenced via a variable to avoid confusing sed.
8793 lt_compile=`echo "$ac_compile" | $SED \
8794 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8795 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8796 -e 's:$: $lt_compiler_flag:'`
8797 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8798 (eval "$lt_compile" 2>conftest.err)
8799 ac_status=$?
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 if (exit $ac_status) && test -s "$ac_outfile"; then
8803 # The compiler can only warn and ignore the option if not recognized
8804 # So say no if there are warnings other than the usual output.
8805 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8806 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8807 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8808 lt_cv_prog_compiler_rtti_exceptions=yes
8811 $RM conftest*
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8815 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8817 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8818 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8819 else
8830 lt_prog_compiler_wl=
8831 lt_prog_compiler_pic=
8832 lt_prog_compiler_static=
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8835 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8837 if test "$GCC" = yes; then
8838 lt_prog_compiler_wl='-Wl,'
8839 lt_prog_compiler_static='-static'
8841 case $host_os in
8842 aix*)
8843 # All AIX code is PIC.
8844 if test "$host_cpu" = ia64; then
8845 # AIX 5 now supports IA64 processor
8846 lt_prog_compiler_static='-Bstatic'
8848 lt_prog_compiler_pic='-fPIC'
8851 amigaos*)
8852 case $host_cpu in
8853 powerpc)
8854 # see comment about AmigaOS4 .so support
8855 lt_prog_compiler_pic='-fPIC'
8857 m68k)
8858 # FIXME: we need at least 68020 code to build shared libraries, but
8859 # adding the `-m68020' flag to GCC prevents building anything better,
8860 # like `-m68040'.
8861 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8863 esac
8866 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8867 # PIC is the default for these OSes.
8870 mingw* | cygwin* | pw32* | os2* | cegcc*)
8871 # This hack is so that the source file can tell whether it is being
8872 # built for inclusion in a dll (and should export symbols for example).
8873 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8874 # (--disable-auto-import) libraries
8875 lt_prog_compiler_pic='-DDLL_EXPORT'
8878 darwin* | rhapsody*)
8879 # PIC is the default on this platform
8880 # Common symbols not allowed in MH_DYLIB files
8881 lt_prog_compiler_pic='-fno-common'
8884 haiku*)
8885 # PIC is the default for Haiku.
8886 # The "-static" flag exists, but is broken.
8887 lt_prog_compiler_static=
8890 hpux*)
8891 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8892 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8893 # sets the default TLS model and affects inlining.
8894 case $host_cpu in
8895 hppa*64*)
8896 # +Z the default
8899 lt_prog_compiler_pic='-fPIC'
8901 esac
8904 interix[3-9]*)
8905 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8906 # Instead, we relocate shared libraries at runtime.
8909 msdosdjgpp*)
8910 # Just because we use GCC doesn't mean we suddenly get shared libraries
8911 # on systems that don't support them.
8912 lt_prog_compiler_can_build_shared=no
8913 enable_shared=no
8916 *nto* | *qnx*)
8917 # QNX uses GNU C++, but need to define -shared option too, otherwise
8918 # it will coredump.
8919 lt_prog_compiler_pic='-fPIC -shared'
8922 sysv4*MP*)
8923 if test -d /usr/nec; then
8924 lt_prog_compiler_pic=-Kconform_pic
8929 lt_prog_compiler_pic='-fPIC'
8931 esac
8933 case $cc_basename in
8934 nvcc*) # Cuda Compiler Driver 2.2
8935 lt_prog_compiler_wl='-Xlinker '
8936 lt_prog_compiler_pic='-Xcompiler -fPIC'
8938 esac
8939 else
8940 # PORTME Check for flag to pass linker flags through the system compiler.
8941 case $host_os in
8942 aix*)
8943 lt_prog_compiler_wl='-Wl,'
8944 if test "$host_cpu" = ia64; then
8945 # AIX 5 now supports IA64 processor
8946 lt_prog_compiler_static='-Bstatic'
8947 else
8948 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8952 mingw* | cygwin* | pw32* | os2* | cegcc*)
8953 # This hack is so that the source file can tell whether it is being
8954 # built for inclusion in a dll (and should export symbols for example).
8955 lt_prog_compiler_pic='-DDLL_EXPORT'
8958 hpux9* | hpux10* | hpux11*)
8959 lt_prog_compiler_wl='-Wl,'
8960 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8961 # not for PA HP-UX.
8962 case $host_cpu in
8963 hppa*64*|ia64*)
8964 # +Z the default
8967 lt_prog_compiler_pic='+Z'
8969 esac
8970 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8971 lt_prog_compiler_static='${wl}-a ${wl}archive'
8974 irix5* | irix6* | nonstopux*)
8975 lt_prog_compiler_wl='-Wl,'
8976 # PIC (with -KPIC) is the default.
8977 lt_prog_compiler_static='-non_shared'
8980 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8981 case $cc_basename in
8982 # old Intel for x86_64 which still supported -KPIC.
8983 ecc*)
8984 lt_prog_compiler_wl='-Wl,'
8985 lt_prog_compiler_pic='-KPIC'
8986 lt_prog_compiler_static='-static'
8988 # icc used to be incompatible with GCC.
8989 # ICC 10 doesn't accept -KPIC any more.
8990 icc* | ifort*)
8991 lt_prog_compiler_wl='-Wl,'
8992 lt_prog_compiler_pic='-fPIC'
8993 lt_prog_compiler_static='-static'
8995 # Lahey Fortran 8.1.
8996 lf95*)
8997 lt_prog_compiler_wl='-Wl,'
8998 lt_prog_compiler_pic='--shared'
8999 lt_prog_compiler_static='--static'
9001 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9002 # Portland Group compilers (*not* the Pentium gcc compiler,
9003 # which looks to be a dead project)
9004 lt_prog_compiler_wl='-Wl,'
9005 lt_prog_compiler_pic='-fpic'
9006 lt_prog_compiler_static='-Bstatic'
9008 ccc*)
9009 lt_prog_compiler_wl='-Wl,'
9010 # All Alpha code is PIC.
9011 lt_prog_compiler_static='-non_shared'
9013 xl* | bgxl* | bgf* | mpixl*)
9014 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9015 lt_prog_compiler_wl='-Wl,'
9016 lt_prog_compiler_pic='-qpic'
9017 lt_prog_compiler_static='-qstaticlink'
9020 case `$CC -V 2>&1 | sed 5q` in
9021 *Sun\ F* | *Sun*Fortran*)
9022 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9023 lt_prog_compiler_pic='-KPIC'
9024 lt_prog_compiler_static='-Bstatic'
9025 lt_prog_compiler_wl=''
9027 *Sun\ C*)
9028 # Sun C 5.9
9029 lt_prog_compiler_pic='-KPIC'
9030 lt_prog_compiler_static='-Bstatic'
9031 lt_prog_compiler_wl='-Wl,'
9033 esac
9035 esac
9038 newsos6)
9039 lt_prog_compiler_pic='-KPIC'
9040 lt_prog_compiler_static='-Bstatic'
9043 *nto* | *qnx*)
9044 # QNX uses GNU C++, but need to define -shared option too, otherwise
9045 # it will coredump.
9046 lt_prog_compiler_pic='-fPIC -shared'
9049 osf3* | osf4* | osf5*)
9050 lt_prog_compiler_wl='-Wl,'
9051 # All OSF/1 code is PIC.
9052 lt_prog_compiler_static='-non_shared'
9055 rdos*)
9056 lt_prog_compiler_static='-non_shared'
9059 solaris*)
9060 lt_prog_compiler_pic='-KPIC'
9061 lt_prog_compiler_static='-Bstatic'
9062 case $cc_basename in
9063 f77* | f90* | f95*)
9064 lt_prog_compiler_wl='-Qoption ld ';;
9066 lt_prog_compiler_wl='-Wl,';;
9067 esac
9070 sunos4*)
9071 lt_prog_compiler_wl='-Qoption ld '
9072 lt_prog_compiler_pic='-PIC'
9073 lt_prog_compiler_static='-Bstatic'
9076 sysv4 | sysv4.2uw2* | sysv4.3*)
9077 lt_prog_compiler_wl='-Wl,'
9078 lt_prog_compiler_pic='-KPIC'
9079 lt_prog_compiler_static='-Bstatic'
9082 sysv4*MP*)
9083 if test -d /usr/nec ;then
9084 lt_prog_compiler_pic='-Kconform_pic'
9085 lt_prog_compiler_static='-Bstatic'
9089 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9090 lt_prog_compiler_wl='-Wl,'
9091 lt_prog_compiler_pic='-KPIC'
9092 lt_prog_compiler_static='-Bstatic'
9095 unicos*)
9096 lt_prog_compiler_wl='-Wl,'
9097 lt_prog_compiler_can_build_shared=no
9100 uts4*)
9101 lt_prog_compiler_pic='-pic'
9102 lt_prog_compiler_static='-Bstatic'
9106 lt_prog_compiler_can_build_shared=no
9108 esac
9111 case $host_os in
9112 # For platforms which do not support PIC, -DPIC is meaningless:
9113 *djgpp*)
9114 lt_prog_compiler_pic=
9117 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9119 esac
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9121 $as_echo "$lt_prog_compiler_pic" >&6; }
9129 # Check to make sure the PIC flag actually works.
9131 if test -n "$lt_prog_compiler_pic"; then
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9133 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9134 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9135 $as_echo_n "(cached) " >&6
9136 else
9137 lt_cv_prog_compiler_pic_works=no
9138 ac_outfile=conftest.$ac_objext
9139 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9140 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9141 # Insert the option either (1) after the last *FLAGS variable, or
9142 # (2) before a word containing "conftest.", or (3) at the end.
9143 # Note that $ac_compile itself does not contain backslashes and begins
9144 # with a dollar sign (not a hyphen), so the echo should work correctly.
9145 # The option is referenced via a variable to avoid confusing sed.
9146 lt_compile=`echo "$ac_compile" | $SED \
9147 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9148 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9149 -e 's:$: $lt_compiler_flag:'`
9150 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9151 (eval "$lt_compile" 2>conftest.err)
9152 ac_status=$?
9153 cat conftest.err >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 if (exit $ac_status) && test -s "$ac_outfile"; then
9156 # The compiler can only warn and ignore the option if not recognized
9157 # So say no if there are warnings other than the usual output.
9158 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9159 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9160 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9161 lt_cv_prog_compiler_pic_works=yes
9164 $RM conftest*
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9168 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9170 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9171 case $lt_prog_compiler_pic in
9172 "" | " "*) ;;
9173 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9174 esac
9175 else
9176 lt_prog_compiler_pic=
9177 lt_prog_compiler_can_build_shared=no
9188 # Check to make sure the static flag actually works.
9190 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9192 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9193 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9194 $as_echo_n "(cached) " >&6
9195 else
9196 lt_cv_prog_compiler_static_works=no
9197 save_LDFLAGS="$LDFLAGS"
9198 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9199 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9200 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9201 # The linker can only warn and ignore the option if not recognized
9202 # So say no if there are warnings
9203 if test -s conftest.err; then
9204 # Append any errors to the config.log.
9205 cat conftest.err 1>&5
9206 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9207 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9208 if diff conftest.exp conftest.er2 >/dev/null; then
9209 lt_cv_prog_compiler_static_works=yes
9211 else
9212 lt_cv_prog_compiler_static_works=yes
9215 $RM -r conftest*
9216 LDFLAGS="$save_LDFLAGS"
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9220 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9222 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9224 else
9225 lt_prog_compiler_static=
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9235 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9236 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 lt_cv_prog_compiler_c_o=no
9240 $RM -r conftest 2>/dev/null
9241 mkdir conftest
9242 cd conftest
9243 mkdir out
9244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9246 lt_compiler_flag="-o out/conftest2.$ac_objext"
9247 # Insert the option either (1) after the last *FLAGS variable, or
9248 # (2) before a word containing "conftest.", or (3) at the end.
9249 # Note that $ac_compile itself does not contain backslashes and begins
9250 # with a dollar sign (not a hyphen), so the echo should work correctly.
9251 lt_compile=`echo "$ac_compile" | $SED \
9252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9254 -e 's:$: $lt_compiler_flag:'`
9255 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9256 (eval "$lt_compile" 2>out/conftest.err)
9257 ac_status=$?
9258 cat out/conftest.err >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9261 then
9262 # The compiler can only warn and ignore the option if not recognized
9263 # So say no if there are warnings
9264 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9265 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9266 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9267 lt_cv_prog_compiler_c_o=yes
9270 chmod u+w . 2>&5
9271 $RM conftest*
9272 # SGI C++ compiler will create directory out/ii_files/ for
9273 # template instantiation
9274 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9275 $RM out/* && rmdir out
9276 cd ..
9277 $RM -r conftest
9278 $RM conftest*
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9282 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9290 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9291 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9292 $as_echo_n "(cached) " >&6
9293 else
9294 lt_cv_prog_compiler_c_o=no
9295 $RM -r conftest 2>/dev/null
9296 mkdir conftest
9297 cd conftest
9298 mkdir out
9299 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9301 lt_compiler_flag="-o out/conftest2.$ac_objext"
9302 # Insert the option either (1) after the last *FLAGS variable, or
9303 # (2) before a word containing "conftest.", or (3) at the end.
9304 # Note that $ac_compile itself does not contain backslashes and begins
9305 # with a dollar sign (not a hyphen), so the echo should work correctly.
9306 lt_compile=`echo "$ac_compile" | $SED \
9307 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9308 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9309 -e 's:$: $lt_compiler_flag:'`
9310 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9311 (eval "$lt_compile" 2>out/conftest.err)
9312 ac_status=$?
9313 cat out/conftest.err >&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9316 then
9317 # The compiler can only warn and ignore the option if not recognized
9318 # So say no if there are warnings
9319 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9320 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9321 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9322 lt_cv_prog_compiler_c_o=yes
9325 chmod u+w . 2>&5
9326 $RM conftest*
9327 # SGI C++ compiler will create directory out/ii_files/ for
9328 # template instantiation
9329 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9330 $RM out/* && rmdir out
9331 cd ..
9332 $RM -r conftest
9333 $RM conftest*
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9337 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9342 hard_links="nottested"
9343 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9344 # do not overwrite the value of need_locks provided by the user
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9346 $as_echo_n "checking if we can lock with hard links... " >&6; }
9347 hard_links=yes
9348 $RM conftest*
9349 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9350 touch conftest.a
9351 ln conftest.a conftest.b 2>&5 || hard_links=no
9352 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9354 $as_echo "$hard_links" >&6; }
9355 if test "$hard_links" = no; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9357 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9358 need_locks=warn
9360 else
9361 need_locks=no
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9370 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9372 runpath_var=
9373 allow_undefined_flag=
9374 always_export_symbols=no
9375 archive_cmds=
9376 archive_expsym_cmds=
9377 compiler_needs_object=no
9378 enable_shared_with_static_runtimes=no
9379 export_dynamic_flag_spec=
9380 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9381 hardcode_automatic=no
9382 hardcode_direct=no
9383 hardcode_direct_absolute=no
9384 hardcode_libdir_flag_spec=
9385 hardcode_libdir_flag_spec_ld=
9386 hardcode_libdir_separator=
9387 hardcode_minus_L=no
9388 hardcode_shlibpath_var=unsupported
9389 inherit_rpath=no
9390 link_all_deplibs=unknown
9391 module_cmds=
9392 module_expsym_cmds=
9393 old_archive_from_new_cmds=
9394 old_archive_from_expsyms_cmds=
9395 thread_safe_flag_spec=
9396 whole_archive_flag_spec=
9397 # include_expsyms should be a list of space-separated symbols to be *always*
9398 # included in the symbol list
9399 include_expsyms=
9400 # exclude_expsyms can be an extended regexp of symbols to exclude
9401 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9402 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9403 # as well as any symbol that contains `d'.
9404 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9405 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9406 # platforms (ab)use it in PIC code, but their linkers get confused if
9407 # the symbol is explicitly referenced. Since portable code cannot
9408 # rely on this symbol name, it's probably fine to never include it in
9409 # preloaded symbol tables.
9410 # Exclude shared library initialization/finalization symbols.
9411 extract_expsyms_cmds=
9413 case $host_os in
9414 cygwin* | mingw* | pw32* | cegcc*)
9415 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9416 # When not using gcc, we currently assume that we are using
9417 # Microsoft Visual C++.
9418 if test "$GCC" != yes; then
9419 with_gnu_ld=no
9422 interix*)
9423 # we just hope/assume this is gcc and not c89 (= MSVC++)
9424 with_gnu_ld=yes
9426 openbsd*)
9427 with_gnu_ld=no
9429 esac
9431 ld_shlibs=yes
9433 # On some targets, GNU ld is compatible enough with the native linker
9434 # that we're better off using the native interface for both.
9435 lt_use_gnu_ld_interface=no
9436 if test "$with_gnu_ld" = yes; then
9437 case $host_os in
9438 aix*)
9439 # The AIX port of GNU ld has always aspired to compatibility
9440 # with the native linker. However, as the warning in the GNU ld
9441 # block says, versions before 2.19.5* couldn't really create working
9442 # shared libraries, regardless of the interface used.
9443 case `$LD -v 2>&1` in
9444 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9445 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9446 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9448 lt_use_gnu_ld_interface=yes
9450 esac
9453 lt_use_gnu_ld_interface=yes
9455 esac
9458 if test "$lt_use_gnu_ld_interface" = yes; then
9459 # If archive_cmds runs LD, not CC, wlarc should be empty
9460 wlarc='${wl}'
9462 # Set some defaults for GNU ld with shared library support. These
9463 # are reset later if shared libraries are not supported. Putting them
9464 # here allows them to be overridden if necessary.
9465 runpath_var=LD_RUN_PATH
9466 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9467 export_dynamic_flag_spec='${wl}--export-dynamic'
9468 # ancient GNU ld didn't support --whole-archive et. al.
9469 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9470 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9471 else
9472 whole_archive_flag_spec=
9474 supports_anon_versioning=no
9475 case `$LD -v 2>&1` in
9476 *GNU\ gold*) supports_anon_versioning=yes ;;
9477 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9478 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9479 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9480 *\ 2.11.*) ;; # other 2.11 versions
9481 *) supports_anon_versioning=yes ;;
9482 esac
9484 # See if GNU ld supports shared libraries.
9485 case $host_os in
9486 aix[3-9]*)
9487 # On AIX/PPC, the GNU linker is very broken
9488 if test "$host_cpu" != ia64; then
9489 ld_shlibs=no
9490 cat <<_LT_EOF 1>&2
9492 *** Warning: the GNU linker, at least up to release 2.19, is reported
9493 *** to be unable to reliably create shared libraries on AIX.
9494 *** Therefore, libtool is disabling shared libraries support. If you
9495 *** really care for shared libraries, you may want to install binutils
9496 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9497 *** You will then need to restart the configuration process.
9499 _LT_EOF
9503 amigaos*)
9504 case $host_cpu in
9505 powerpc)
9506 # see comment about AmigaOS4 .so support
9507 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9508 archive_expsym_cmds=''
9510 m68k)
9511 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)'
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_minus_L=yes
9515 esac
9518 beos*)
9519 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9520 allow_undefined_flag=unsupported
9521 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9522 # support --undefined. This deserves some investigation. FIXME
9523 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9524 else
9525 ld_shlibs=no
9529 cygwin* | mingw* | pw32* | cegcc*)
9530 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9531 # as there is no search path for DLLs.
9532 hardcode_libdir_flag_spec='-L$libdir'
9533 export_dynamic_flag_spec='${wl}--export-all-symbols'
9534 allow_undefined_flag=unsupported
9535 always_export_symbols=no
9536 enable_shared_with_static_runtimes=yes
9537 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9539 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9540 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9541 # If the export-symbols file already is a .def file (1st line
9542 # is EXPORTS), use it as is; otherwise, prepend...
9543 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9544 cp $export_symbols $output_objdir/$soname.def;
9545 else
9546 echo EXPORTS > $output_objdir/$soname.def;
9547 cat $export_symbols >> $output_objdir/$soname.def;
9549 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9550 else
9551 ld_shlibs=no
9555 haiku*)
9556 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9557 link_all_deplibs=yes
9560 interix[3-9]*)
9561 hardcode_direct=no
9562 hardcode_shlibpath_var=no
9563 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9564 export_dynamic_flag_spec='${wl}-E'
9565 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9566 # Instead, shared libraries are loaded at an image base (0x10000000 by
9567 # default) and relocated if they conflict, which is a slow very memory
9568 # consuming and fragmenting process. To avoid this, we pick a random,
9569 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9570 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9571 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9572 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'
9575 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9576 tmp_diet=no
9577 if test "$host_os" = linux-dietlibc; then
9578 case $cc_basename in
9579 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9580 esac
9582 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9583 && test "$tmp_diet" = no
9584 then
9585 tmp_addflag=
9586 tmp_sharedflag='-shared'
9587 case $cc_basename,$host_cpu in
9588 pgcc*) # Portland Group C compiler
9589 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'
9590 tmp_addflag=' $pic_flag'
9592 pgf77* | pgf90* | pgf95* | pgfortran*)
9593 # Portland Group f77 and f90 compilers
9594 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'
9595 tmp_addflag=' $pic_flag -Mnomain' ;;
9596 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9597 tmp_addflag=' -i_dynamic' ;;
9598 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9599 tmp_addflag=' -i_dynamic -nofor_main' ;;
9600 ifc* | ifort*) # Intel Fortran compiler
9601 tmp_addflag=' -nofor_main' ;;
9602 lf95*) # Lahey Fortran 8.1
9603 whole_archive_flag_spec=
9604 tmp_sharedflag='--shared' ;;
9605 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9606 tmp_sharedflag='-qmkshrobj'
9607 tmp_addflag= ;;
9608 nvcc*) # Cuda Compiler Driver 2.2
9609 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'
9610 compiler_needs_object=yes
9612 esac
9613 case `$CC -V 2>&1 | sed 5q` in
9614 *Sun\ C*) # Sun C 5.9
9615 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'
9616 compiler_needs_object=yes
9617 tmp_sharedflag='-G' ;;
9618 *Sun\ F*) # Sun Fortran 8.3
9619 tmp_sharedflag='-G' ;;
9620 esac
9621 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9623 if test "x$supports_anon_versioning" = xyes; then
9624 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9625 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9626 echo "local: *; };" >> $output_objdir/$libname.ver~
9627 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9630 case $cc_basename in
9631 xlf* | bgf* | bgxlf* | mpixlf*)
9632 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9633 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9634 hardcode_libdir_flag_spec=
9635 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9636 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9637 if test "x$supports_anon_versioning" = xyes; then
9638 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9639 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9640 echo "local: *; };" >> $output_objdir/$libname.ver~
9641 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9644 esac
9645 else
9646 ld_shlibs=no
9650 netbsd*)
9651 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9652 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9653 wlarc=
9654 else
9655 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9656 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9660 solaris*)
9661 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9662 ld_shlibs=no
9663 cat <<_LT_EOF 1>&2
9665 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9666 *** create shared libraries on Solaris systems. Therefore, libtool
9667 *** is disabling shared libraries support. We urge you to upgrade GNU
9668 *** binutils to release 2.9.1 or newer. Another option is to modify
9669 *** your PATH or compiler configuration so that the native linker is
9670 *** used, and then restart.
9672 _LT_EOF
9673 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9674 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9675 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9676 else
9677 ld_shlibs=no
9681 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9682 case `$LD -v 2>&1` in
9683 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9684 ld_shlibs=no
9685 cat <<_LT_EOF 1>&2
9687 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9688 *** reliably create shared libraries on SCO systems. Therefore, libtool
9689 *** is disabling shared libraries support. We urge you to upgrade GNU
9690 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9691 *** your PATH or compiler configuration so that the native linker is
9692 *** used, and then restart.
9694 _LT_EOF
9697 # For security reasons, it is highly recommended that you always
9698 # use absolute paths for naming shared libraries, and exclude the
9699 # DT_RUNPATH tag from executables and libraries. But doing so
9700 # requires that you compile everything twice, which is a pain.
9701 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9702 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9703 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9704 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9705 else
9706 ld_shlibs=no
9709 esac
9712 sunos4*)
9713 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9714 wlarc=
9715 hardcode_direct=yes
9716 hardcode_shlibpath_var=no
9720 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9721 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9722 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9723 else
9724 ld_shlibs=no
9727 esac
9729 if test "$ld_shlibs" = no; then
9730 runpath_var=
9731 hardcode_libdir_flag_spec=
9732 export_dynamic_flag_spec=
9733 whole_archive_flag_spec=
9735 else
9736 # PORTME fill in a description of your system's linker (not GNU ld)
9737 case $host_os in
9738 aix3*)
9739 allow_undefined_flag=unsupported
9740 always_export_symbols=yes
9741 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'
9742 # Note: this linker hardcodes the directories in LIBPATH if there
9743 # are no directories specified by -L.
9744 hardcode_minus_L=yes
9745 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9746 # Neither direct hardcoding nor static linking is supported with a
9747 # broken collect2.
9748 hardcode_direct=unsupported
9752 aix[4-9]*)
9753 if test "$host_cpu" = ia64; then
9754 # On IA64, the linker does run time linking by default, so we don't
9755 # have to do anything special.
9756 aix_use_runtimelinking=no
9757 exp_sym_flag='-Bexport'
9758 no_entry_flag=""
9759 else
9760 # If we're using GNU nm, then we don't want the "-C" option.
9761 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9762 # Also, AIX nm treats weak defined symbols like other global
9763 # defined symbols, whereas GNU nm marks them as "W".
9764 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9765 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'
9766 else
9767 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'
9769 aix_use_runtimelinking=no
9771 # Test if we are trying to use run time linking or normal
9772 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9773 # need to do runtime linking.
9774 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9775 for ld_flag in $LDFLAGS; do
9776 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9777 aix_use_runtimelinking=yes
9778 break
9780 done
9782 esac
9784 exp_sym_flag='-bexport'
9785 no_entry_flag='-bnoentry'
9788 # When large executables or shared objects are built, AIX ld can
9789 # have problems creating the table of contents. If linking a library
9790 # or program results in "error TOC overflow" add -mminimal-toc to
9791 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9792 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9794 archive_cmds=''
9795 hardcode_direct=yes
9796 hardcode_direct_absolute=yes
9797 hardcode_libdir_separator=':'
9798 link_all_deplibs=yes
9799 file_list_spec='${wl}-f,'
9801 if test "$GCC" = yes; then
9802 case $host_os in aix4.[012]|aix4.[012].*)
9803 # We only want to do this on AIX 4.2 and lower, the check
9804 # below for broken collect2 doesn't work under 4.3+
9805 collect2name=`${CC} -print-prog-name=collect2`
9806 if test -f "$collect2name" &&
9807 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9808 then
9809 # We have reworked collect2
9811 else
9812 # We have old collect2
9813 hardcode_direct=unsupported
9814 # It fails to find uninstalled libraries when the uninstalled
9815 # path is not listed in the libpath. Setting hardcode_minus_L
9816 # to unsupported forces relinking
9817 hardcode_minus_L=yes
9818 hardcode_libdir_flag_spec='-L$libdir'
9819 hardcode_libdir_separator=
9822 esac
9823 shared_flag='-shared'
9824 if test "$aix_use_runtimelinking" = yes; then
9825 shared_flag="$shared_flag "'${wl}-G'
9827 else
9828 # not using gcc
9829 if test "$host_cpu" = ia64; then
9830 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9831 # chokes on -Wl,-G. The following line is correct:
9832 shared_flag='-G'
9833 else
9834 if test "$aix_use_runtimelinking" = yes; then
9835 shared_flag='${wl}-G'
9836 else
9837 shared_flag='${wl}-bM:SRE'
9842 export_dynamic_flag_spec='${wl}-bexpall'
9843 # It seems that -bexpall does not export symbols beginning with
9844 # underscore (_), so it is better to generate a list of symbols to export.
9845 always_export_symbols=yes
9846 if test "$aix_use_runtimelinking" = yes; then
9847 # Warning - without using the other runtime loading flags (-brtl),
9848 # -berok will link without error, but may produce a broken library.
9849 allow_undefined_flag='-berok'
9850 # Determine the default libpath from the value encoded in an
9851 # empty executable.
9852 if test x$gcc_no_link = xyes; then
9853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9859 main ()
9863 return 0;
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9868 lt_aix_libpath_sed='
9869 /Import File Strings/,/^$/ {
9870 /^0/ {
9871 s/^0 *\(.*\)$/\1/
9875 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9876 # Check for a 64-bit object if we didn't find anything.
9877 if test -z "$aix_libpath"; then
9878 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9883 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9885 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9886 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"
9887 else
9888 if test "$host_cpu" = ia64; then
9889 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9890 allow_undefined_flag="-z nodefs"
9891 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"
9892 else
9893 # Determine the default libpath from the value encoded in an
9894 # empty executable.
9895 if test x$gcc_no_link = xyes; then
9896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9902 main ()
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9911 lt_aix_libpath_sed='
9912 /Import File Strings/,/^$/ {
9913 /^0/ {
9914 s/^0 *\(.*\)$/\1/
9918 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9919 # Check for a 64-bit object if we didn't find anything.
9920 if test -z "$aix_libpath"; then
9921 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9928 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9929 # Warning - without using the other run time loading flags,
9930 # -berok will link without error, but may produce a broken library.
9931 no_undefined_flag=' ${wl}-bernotok'
9932 allow_undefined_flag=' ${wl}-berok'
9933 if test "$with_gnu_ld" = yes; then
9934 # We only use this code for GNU lds that support --whole-archive.
9935 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9936 else
9937 # Exported symbols can be pulled into shared objects from archives
9938 whole_archive_flag_spec='$convenience'
9940 archive_cmds_need_lc=yes
9941 # This is similar to how AIX traditionally builds its shared libraries.
9942 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'
9947 amigaos*)
9948 case $host_cpu in
9949 powerpc)
9950 # see comment about AmigaOS4 .so support
9951 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9952 archive_expsym_cmds=''
9954 m68k)
9955 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)'
9956 hardcode_libdir_flag_spec='-L$libdir'
9957 hardcode_minus_L=yes
9959 esac
9962 bsdi[45]*)
9963 export_dynamic_flag_spec=-rdynamic
9966 cygwin* | mingw* | pw32* | cegcc*)
9967 # When not using gcc, we currently assume that we are using
9968 # Microsoft Visual C++.
9969 # hardcode_libdir_flag_spec is actually meaningless, as there is
9970 # no search path for DLLs.
9971 hardcode_libdir_flag_spec=' '
9972 allow_undefined_flag=unsupported
9973 # Tell ltmain to make .lib files, not .a files.
9974 libext=lib
9975 # Tell ltmain to make .dll files, not .so files.
9976 shrext_cmds=".dll"
9977 # FIXME: Setting linknames here is a bad hack.
9978 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9979 # The linker will automatically build a .lib file if we build a DLL.
9980 old_archive_from_new_cmds='true'
9981 # FIXME: Should let the user specify the lib program.
9982 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9983 fix_srcfile_path='`cygpath -w "$srcfile"`'
9984 enable_shared_with_static_runtimes=yes
9987 darwin* | rhapsody*)
9990 archive_cmds_need_lc=no
9991 hardcode_direct=no
9992 hardcode_automatic=yes
9993 hardcode_shlibpath_var=unsupported
9994 if test "$lt_cv_ld_force_load" = "yes"; then
9995 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\"`'
9996 else
9997 whole_archive_flag_spec=''
9999 link_all_deplibs=yes
10000 allow_undefined_flag="$_lt_dar_allow_undefined"
10001 case $cc_basename in
10002 ifort*) _lt_dar_can_shared=yes ;;
10003 *) _lt_dar_can_shared=$GCC ;;
10004 esac
10005 if test "$_lt_dar_can_shared" = "yes"; then
10006 output_verbose_link_cmd=func_echo_all
10007 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10008 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10009 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}"
10010 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}"
10012 else
10013 ld_shlibs=no
10018 dgux*)
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_libdir_flag_spec='-L$libdir'
10021 hardcode_shlibpath_var=no
10024 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10025 # support. Future versions do this automatically, but an explicit c++rt0.o
10026 # does not break anything, and helps significantly (at the cost of a little
10027 # extra space).
10028 freebsd2.2*)
10029 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10030 hardcode_libdir_flag_spec='-R$libdir'
10031 hardcode_direct=yes
10032 hardcode_shlibpath_var=no
10035 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10036 freebsd2.*)
10037 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_direct=yes
10039 hardcode_minus_L=yes
10040 hardcode_shlibpath_var=no
10043 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10044 freebsd* | dragonfly*)
10045 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10046 hardcode_libdir_flag_spec='-R$libdir'
10047 hardcode_direct=yes
10048 hardcode_shlibpath_var=no
10051 hpux9*)
10052 if test "$GCC" = yes; then
10053 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10054 else
10055 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'
10057 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10058 hardcode_libdir_separator=:
10059 hardcode_direct=yes
10061 # hardcode_minus_L: Not really in the search PATH,
10062 # but as the default location of the library.
10063 hardcode_minus_L=yes
10064 export_dynamic_flag_spec='${wl}-E'
10067 hpux10*)
10068 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10069 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10070 else
10071 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10073 if test "$with_gnu_ld" = no; then
10074 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10075 hardcode_libdir_flag_spec_ld='+b $libdir'
10076 hardcode_libdir_separator=:
10077 hardcode_direct=yes
10078 hardcode_direct_absolute=yes
10079 export_dynamic_flag_spec='${wl}-E'
10080 # hardcode_minus_L: Not really in the search PATH,
10081 # but as the default location of the library.
10082 hardcode_minus_L=yes
10086 hpux11*)
10087 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10088 case $host_cpu in
10089 hppa*64*)
10090 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 ia64*)
10093 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10098 esac
10099 else
10100 case $host_cpu in
10101 hppa*64*)
10102 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 ia64*)
10105 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10109 # Older versions of the 11.00 compiler do not understand -b yet
10110 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10112 $as_echo_n "checking if $CC understands -b... " >&6; }
10113 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 lt_cv_prog_compiler__b=no
10117 save_LDFLAGS="$LDFLAGS"
10118 LDFLAGS="$LDFLAGS -b"
10119 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10120 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10121 # The linker can only warn and ignore the option if not recognized
10122 # So say no if there are warnings
10123 if test -s conftest.err; then
10124 # Append any errors to the config.log.
10125 cat conftest.err 1>&5
10126 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10127 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10128 if diff conftest.exp conftest.er2 >/dev/null; then
10129 lt_cv_prog_compiler__b=yes
10131 else
10132 lt_cv_prog_compiler__b=yes
10135 $RM -r conftest*
10136 LDFLAGS="$save_LDFLAGS"
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10140 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10142 if test x"$lt_cv_prog_compiler__b" = xyes; then
10143 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10144 else
10145 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10149 esac
10151 if test "$with_gnu_ld" = no; then
10152 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10153 hardcode_libdir_separator=:
10155 case $host_cpu in
10156 hppa*64*|ia64*)
10157 hardcode_direct=no
10158 hardcode_shlibpath_var=no
10161 hardcode_direct=yes
10162 hardcode_direct_absolute=yes
10163 export_dynamic_flag_spec='${wl}-E'
10165 # hardcode_minus_L: Not really in the search PATH,
10166 # but as the default location of the library.
10167 hardcode_minus_L=yes
10169 esac
10173 irix5* | irix6* | nonstopux*)
10174 if test "$GCC" = yes; then
10175 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10176 # Try to use the -exported_symbol ld option, if it does not
10177 # work, assume that -exports_file does not work either and
10178 # implicitly export all symbols.
10179 save_LDFLAGS="$LDFLAGS"
10180 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10181 if test x$gcc_no_link = xyes; then
10182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int foo(void) {}
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 LDFLAGS="$save_LDFLAGS"
10195 else
10196 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'
10197 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'
10199 archive_cmds_need_lc='no'
10200 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10201 hardcode_libdir_separator=:
10202 inherit_rpath=yes
10203 link_all_deplibs=yes
10206 netbsd*)
10207 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10208 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10209 else
10210 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10212 hardcode_libdir_flag_spec='-R$libdir'
10213 hardcode_direct=yes
10214 hardcode_shlibpath_var=no
10217 newsos6)
10218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10219 hardcode_direct=yes
10220 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10221 hardcode_libdir_separator=:
10222 hardcode_shlibpath_var=no
10225 *nto* | *qnx*)
10228 openbsd*)
10229 if test -f /usr/libexec/ld.so; then
10230 hardcode_direct=yes
10231 hardcode_shlibpath_var=no
10232 hardcode_direct_absolute=yes
10233 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10234 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10235 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10236 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10237 export_dynamic_flag_spec='${wl}-E'
10238 else
10239 case $host_os in
10240 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10241 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10242 hardcode_libdir_flag_spec='-R$libdir'
10245 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10246 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10248 esac
10250 else
10251 ld_shlibs=no
10255 os2*)
10256 hardcode_libdir_flag_spec='-L$libdir'
10257 hardcode_minus_L=yes
10258 allow_undefined_flag=unsupported
10259 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'
10260 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10263 osf3*)
10264 if test "$GCC" = yes; then
10265 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10266 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'
10267 else
10268 allow_undefined_flag=' -expect_unresolved \*'
10269 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'
10271 archive_cmds_need_lc='no'
10272 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10273 hardcode_libdir_separator=:
10276 osf4* | osf5*) # as osf3* with the addition of -msym flag
10277 if test "$GCC" = yes; then
10278 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10279 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10280 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10281 else
10282 allow_undefined_flag=' -expect_unresolved \*'
10283 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'
10284 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~
10285 $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'
10287 # Both c and cxx compiler support -rpath directly
10288 hardcode_libdir_flag_spec='-rpath $libdir'
10290 archive_cmds_need_lc='no'
10291 hardcode_libdir_separator=:
10294 solaris*)
10295 no_undefined_flag=' -z defs'
10296 if test "$GCC" = yes; then
10297 wlarc='${wl}'
10298 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10299 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10300 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10301 else
10302 case `$CC -V 2>&1` in
10303 *"Compilers 5.0"*)
10304 wlarc=''
10305 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10306 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10307 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10310 wlarc='${wl}'
10311 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10313 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10315 esac
10317 hardcode_libdir_flag_spec='-R$libdir'
10318 hardcode_shlibpath_var=no
10319 case $host_os in
10320 solaris2.[0-5] | solaris2.[0-5].*) ;;
10322 # The compiler driver will combine and reorder linker options,
10323 # but understands `-z linker_flag'. GCC discards it without `$wl',
10324 # but is careful enough not to reorder.
10325 # Supported since Solaris 2.6 (maybe 2.5.1?)
10326 if test "$GCC" = yes; then
10327 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10328 else
10329 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10332 esac
10333 link_all_deplibs=yes
10336 sunos4*)
10337 if test "x$host_vendor" = xsequent; then
10338 # Use $CC to link under sequent, because it throws in some extra .o
10339 # files that make .init and .fini sections work.
10340 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10341 else
10342 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10344 hardcode_libdir_flag_spec='-L$libdir'
10345 hardcode_direct=yes
10346 hardcode_minus_L=yes
10347 hardcode_shlibpath_var=no
10350 sysv4)
10351 case $host_vendor in
10352 sni)
10353 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10354 hardcode_direct=yes # is this really true???
10356 siemens)
10357 ## LD is ld it makes a PLAMLIB
10358 ## CC just makes a GrossModule.
10359 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10360 reload_cmds='$CC -r -o $output$reload_objs'
10361 hardcode_direct=no
10363 motorola)
10364 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10365 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10367 esac
10368 runpath_var='LD_RUN_PATH'
10369 hardcode_shlibpath_var=no
10372 sysv4.3*)
10373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374 hardcode_shlibpath_var=no
10375 export_dynamic_flag_spec='-Bexport'
10378 sysv4*MP*)
10379 if test -d /usr/nec; then
10380 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10381 hardcode_shlibpath_var=no
10382 runpath_var=LD_RUN_PATH
10383 hardcode_runpath_var=yes
10384 ld_shlibs=yes
10388 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10389 no_undefined_flag='${wl}-z,text'
10390 archive_cmds_need_lc=no
10391 hardcode_shlibpath_var=no
10392 runpath_var='LD_RUN_PATH'
10394 if test "$GCC" = yes; then
10395 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10396 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10397 else
10398 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10399 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10403 sysv5* | sco3.2v5* | sco5v6*)
10404 # Note: We can NOT use -z defs as we might desire, because we do not
10405 # link with -lc, and that would cause any symbols used from libc to
10406 # always be unresolved, which means just about no library would
10407 # ever link correctly. If we're not using GNU ld we use -z text
10408 # though, which does catch some bad symbols but isn't as heavy-handed
10409 # as -z defs.
10410 no_undefined_flag='${wl}-z,text'
10411 allow_undefined_flag='${wl}-z,nodefs'
10412 archive_cmds_need_lc=no
10413 hardcode_shlibpath_var=no
10414 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10415 hardcode_libdir_separator=':'
10416 link_all_deplibs=yes
10417 export_dynamic_flag_spec='${wl}-Bexport'
10418 runpath_var='LD_RUN_PATH'
10420 if test "$GCC" = yes; then
10421 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10423 else
10424 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10425 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10429 uts4*)
10430 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10431 hardcode_libdir_flag_spec='-L$libdir'
10432 hardcode_shlibpath_var=no
10436 ld_shlibs=no
10438 esac
10440 if test x$host_vendor = xsni; then
10441 case $host in
10442 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10443 export_dynamic_flag_spec='${wl}-Blargedynsym'
10445 esac
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10450 $as_echo "$ld_shlibs" >&6; }
10451 test "$ld_shlibs" = no && can_build_shared=no
10453 with_gnu_ld=$with_gnu_ld
10470 # Do we need to explicitly link libc?
10472 case "x$archive_cmds_need_lc" in
10473 x|xyes)
10474 # Assume -lc should be added
10475 archive_cmds_need_lc=yes
10477 if test "$enable_shared" = yes && test "$GCC" = yes; then
10478 case $archive_cmds in
10479 *'~'*)
10480 # FIXME: we may have to deal with multi-command sequences.
10482 '$CC '*)
10483 # Test whether the compiler implicitly links with -lc since on some
10484 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10485 # to ld, don't add -lc before -lgcc.
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10487 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10488 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 $RM conftest*
10492 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10494 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10495 (eval $ac_compile) 2>&5
10496 ac_status=$?
10497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10498 test $ac_status = 0; } 2>conftest.err; then
10499 soname=conftest
10500 lib=conftest
10501 libobjs=conftest.$ac_objext
10502 deplibs=
10503 wl=$lt_prog_compiler_wl
10504 pic_flag=$lt_prog_compiler_pic
10505 compiler_flags=-v
10506 linker_flags=-v
10507 verstring=
10508 output_objdir=.
10509 libname=conftest
10510 lt_save_allow_undefined_flag=$allow_undefined_flag
10511 allow_undefined_flag=
10512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10513 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10514 ac_status=$?
10515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10516 test $ac_status = 0; }
10517 then
10518 lt_cv_archive_cmds_need_lc=no
10519 else
10520 lt_cv_archive_cmds_need_lc=yes
10522 allow_undefined_flag=$lt_save_allow_undefined_flag
10523 else
10524 cat conftest.err 1>&5
10526 $RM conftest*
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10530 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10531 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10533 esac
10536 esac
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10695 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10697 if test "$GCC" = yes; then
10698 case $host_os in
10699 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10700 *) lt_awk_arg="/^libraries:/" ;;
10701 esac
10702 case $host_os in
10703 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10704 *) lt_sed_strip_eq="s,=/,/,g" ;;
10705 esac
10706 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10707 case $lt_search_path_spec in
10708 *\;*)
10709 # if the path contains ";" then we assume it to be the separator
10710 # otherwise default to the standard path separator (i.e. ":") - it is
10711 # assumed that no part of a normal pathname contains ";" but that should
10712 # okay in the real world where ";" in dirpaths is itself problematic.
10713 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10716 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10718 esac
10719 # Ok, now we have the path, separated by spaces, we can step through it
10720 # and add multilib dir if necessary.
10721 lt_tmp_lt_search_path_spec=
10722 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10723 for lt_sys_path in $lt_search_path_spec; do
10724 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10725 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10726 else
10727 test -d "$lt_sys_path" && \
10728 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10730 done
10731 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10732 BEGIN {RS=" "; FS="/|\n";} {
10733 lt_foo="";
10734 lt_count=0;
10735 for (lt_i = NF; lt_i > 0; lt_i--) {
10736 if ($lt_i != "" && $lt_i != ".") {
10737 if ($lt_i == "..") {
10738 lt_count++;
10739 } else {
10740 if (lt_count == 0) {
10741 lt_foo="/" $lt_i lt_foo;
10742 } else {
10743 lt_count--;
10748 if (lt_foo != "") { lt_freq[lt_foo]++; }
10749 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10751 # AWK program above erroneously prepends '/' to C:/dos/paths
10752 # for these hosts.
10753 case $host_os in
10754 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10755 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10756 esac
10757 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10758 else
10759 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10761 library_names_spec=
10762 libname_spec='lib$name'
10763 soname_spec=
10764 shrext_cmds=".so"
10765 postinstall_cmds=
10766 postuninstall_cmds=
10767 finish_cmds=
10768 finish_eval=
10769 shlibpath_var=
10770 shlibpath_overrides_runpath=unknown
10771 version_type=none
10772 dynamic_linker="$host_os ld.so"
10773 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10774 need_lib_prefix=unknown
10775 hardcode_into_libs=no
10777 # when you set need_version to no, make sure it does not cause -set_version
10778 # flags to be left without arguments
10779 need_version=unknown
10781 case $host_os in
10782 aix3*)
10783 version_type=linux
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10785 shlibpath_var=LIBPATH
10787 # AIX 3 has no versioning support, so we append a major version to the name.
10788 soname_spec='${libname}${release}${shared_ext}$major'
10791 aix[4-9]*)
10792 version_type=linux
10793 need_lib_prefix=no
10794 need_version=no
10795 hardcode_into_libs=yes
10796 if test "$host_cpu" = ia64; then
10797 # AIX 5 supports IA64
10798 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10799 shlibpath_var=LD_LIBRARY_PATH
10800 else
10801 # With GCC up to 2.95.x, collect2 would create an import file
10802 # for dependence libraries. The import file would start with
10803 # the line `#! .'. This would cause the generated library to
10804 # depend on `.', always an invalid library. This was fixed in
10805 # development snapshots of GCC prior to 3.0.
10806 case $host_os in
10807 aix4 | aix4.[01] | aix4.[01].*)
10808 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10809 echo ' yes '
10810 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10812 else
10813 can_build_shared=no
10816 esac
10817 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10818 # soname into executable. Probably we can add versioning support to
10819 # collect2, so additional links can be useful in future.
10820 if test "$aix_use_runtimelinking" = yes; then
10821 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10822 # instead of lib<name>.a to let people know that these are not
10823 # typical AIX shared libraries.
10824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825 else
10826 # We preserve .a as extension for shared libraries through AIX4.2
10827 # and later when we are not doing run time linking.
10828 library_names_spec='${libname}${release}.a $libname.a'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10831 shlibpath_var=LIBPATH
10835 amigaos*)
10836 case $host_cpu in
10837 powerpc)
10838 # Since July 2007 AmigaOS4 officially supports .so libraries.
10839 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842 m68k)
10843 library_names_spec='$libname.ixlibrary $libname.a'
10844 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10845 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'
10847 esac
10850 beos*)
10851 library_names_spec='${libname}${shared_ext}'
10852 dynamic_linker="$host_os ld.so"
10853 shlibpath_var=LIBRARY_PATH
10856 bsdi[45]*)
10857 version_type=linux
10858 need_version=no
10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10860 soname_spec='${libname}${release}${shared_ext}$major'
10861 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10862 shlibpath_var=LD_LIBRARY_PATH
10863 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10864 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10865 # the default ld.so.conf also contains /usr/contrib/lib and
10866 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10867 # libtool to hard-code these into programs
10870 cygwin* | mingw* | pw32* | cegcc*)
10871 version_type=windows
10872 shrext_cmds=".dll"
10873 need_version=no
10874 need_lib_prefix=no
10876 case $GCC,$host_os in
10877 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10878 library_names_spec='$libname.dll.a'
10879 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10880 postinstall_cmds='base_file=`basename \${file}`~
10881 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10882 dldir=$destdir/`dirname \$dlpath`~
10883 test -d \$dldir || mkdir -p \$dldir~
10884 $install_prog $dir/$dlname \$dldir/$dlname~
10885 chmod a+x \$dldir/$dlname~
10886 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10887 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10889 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10890 dlpath=$dir/\$dldll~
10891 $RM \$dlpath'
10892 shlibpath_overrides_runpath=yes
10894 case $host_os in
10895 cygwin*)
10896 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10897 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10899 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10901 mingw* | cegcc*)
10902 # MinGW DLLs use traditional 'lib' prefix
10903 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10905 pw32*)
10906 # pw32 DLLs use 'pw' prefix rather than 'lib'
10907 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10909 esac
10913 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10915 esac
10916 dynamic_linker='Win32 ld.exe'
10917 # FIXME: first we should search . and the directory the executable is in
10918 shlibpath_var=PATH
10921 darwin* | rhapsody*)
10922 dynamic_linker="$host_os dyld"
10923 version_type=darwin
10924 need_lib_prefix=no
10925 need_version=no
10926 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10927 soname_spec='${libname}${release}${major}$shared_ext'
10928 shlibpath_overrides_runpath=yes
10929 shlibpath_var=DYLD_LIBRARY_PATH
10930 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10932 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10933 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10936 dgux*)
10937 version_type=linux
10938 need_lib_prefix=no
10939 need_version=no
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10941 soname_spec='${libname}${release}${shared_ext}$major'
10942 shlibpath_var=LD_LIBRARY_PATH
10945 freebsd* | dragonfly*)
10946 # DragonFly does not have aout. When/if they implement a new
10947 # versioning mechanism, adjust this.
10948 if test -x /usr/bin/objformat; then
10949 objformat=`/usr/bin/objformat`
10950 else
10951 case $host_os in
10952 freebsd[23].*) objformat=aout ;;
10953 *) objformat=elf ;;
10954 esac
10956 version_type=freebsd-$objformat
10957 case $version_type in
10958 freebsd-elf*)
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10960 need_version=no
10961 need_lib_prefix=no
10963 freebsd-*)
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10965 need_version=yes
10967 esac
10968 shlibpath_var=LD_LIBRARY_PATH
10969 case $host_os in
10970 freebsd2.*)
10971 shlibpath_overrides_runpath=yes
10973 freebsd3.[01]* | freebsdelf3.[01]*)
10974 shlibpath_overrides_runpath=yes
10975 hardcode_into_libs=yes
10977 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10978 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10979 shlibpath_overrides_runpath=no
10980 hardcode_into_libs=yes
10982 *) # from 4.6 on, and DragonFly
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10986 esac
10989 gnu*)
10990 version_type=linux
10991 need_lib_prefix=no
10992 need_version=no
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 hardcode_into_libs=yes
10999 haiku*)
11000 version_type=linux
11001 need_lib_prefix=no
11002 need_version=no
11003 dynamic_linker="$host_os runtime_loader"
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11005 soname_spec='${libname}${release}${shared_ext}$major'
11006 shlibpath_var=LIBRARY_PATH
11007 shlibpath_overrides_runpath=yes
11008 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11009 hardcode_into_libs=yes
11012 hpux9* | hpux10* | hpux11*)
11013 # Give a soname corresponding to the major version so that dld.sl refuses to
11014 # link against other versions.
11015 version_type=sunos
11016 need_lib_prefix=no
11017 need_version=no
11018 case $host_cpu in
11019 ia64*)
11020 shrext_cmds='.so'
11021 hardcode_into_libs=yes
11022 dynamic_linker="$host_os dld.so"
11023 shlibpath_var=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 soname_spec='${libname}${release}${shared_ext}$major'
11027 if test "X$HPUX_IA64_MODE" = X32; then
11028 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11029 else
11030 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11032 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11034 hppa*64*)
11035 shrext_cmds='.sl'
11036 hardcode_into_libs=yes
11037 dynamic_linker="$host_os dld.sl"
11038 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11039 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11041 soname_spec='${libname}${release}${shared_ext}$major'
11042 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11043 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11046 shrext_cmds='.sl'
11047 dynamic_linker="$host_os dld.sl"
11048 shlibpath_var=SHLIB_PATH
11049 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11053 esac
11054 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11055 postinstall_cmds='chmod 555 $lib'
11056 # or fails outright, so override atomically:
11057 install_override_mode=555
11060 interix[3-9]*)
11061 version_type=linux
11062 need_lib_prefix=no
11063 need_version=no
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11065 soname_spec='${libname}${release}${shared_ext}$major'
11066 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11067 shlibpath_var=LD_LIBRARY_PATH
11068 shlibpath_overrides_runpath=no
11069 hardcode_into_libs=yes
11072 irix5* | irix6* | nonstopux*)
11073 case $host_os in
11074 nonstopux*) version_type=nonstopux ;;
11076 if test "$lt_cv_prog_gnu_ld" = yes; then
11077 version_type=linux
11078 else
11079 version_type=irix
11080 fi ;;
11081 esac
11082 need_lib_prefix=no
11083 need_version=no
11084 soname_spec='${libname}${release}${shared_ext}$major'
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11086 case $host_os in
11087 irix5* | nonstopux*)
11088 libsuff= shlibsuff=
11091 case $LD in # libtool.m4 will add one of these switches to LD
11092 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11093 libsuff= shlibsuff= libmagic=32-bit;;
11094 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11095 libsuff=32 shlibsuff=N32 libmagic=N32;;
11096 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11097 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11098 *) libsuff= shlibsuff= libmagic=never-match;;
11099 esac
11101 esac
11102 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11103 shlibpath_overrides_runpath=no
11104 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11105 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11106 hardcode_into_libs=yes
11109 # No shared lib support for Linux oldld, aout, or coff.
11110 linux*oldld* | linux*aout* | linux*coff*)
11111 dynamic_linker=no
11114 # This must be Linux ELF.
11115 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11116 version_type=linux
11117 need_lib_prefix=no
11118 need_version=no
11119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11120 soname_spec='${libname}${release}${shared_ext}$major'
11121 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11122 shlibpath_var=LD_LIBRARY_PATH
11123 shlibpath_overrides_runpath=no
11125 # Some binutils ld are patched to set DT_RUNPATH
11126 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11127 $as_echo_n "(cached) " >&6
11128 else
11129 lt_cv_shlibpath_overrides_runpath=no
11130 save_LDFLAGS=$LDFLAGS
11131 save_libdir=$libdir
11132 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11133 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11134 if test x$gcc_no_link = xyes; then
11135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11141 main ()
11145 return 0;
11147 _ACEOF
11148 if ac_fn_c_try_link "$LINENO"; then :
11149 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11150 lt_cv_shlibpath_overrides_runpath=yes
11153 rm -f core conftest.err conftest.$ac_objext \
11154 conftest$ac_exeext conftest.$ac_ext
11155 LDFLAGS=$save_LDFLAGS
11156 libdir=$save_libdir
11160 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11162 # This implies no fast_install, which is unacceptable.
11163 # Some rework will be needed to allow for fast_install
11164 # before this can be enabled.
11165 hardcode_into_libs=yes
11167 # Append ld.so.conf contents to the search path
11168 if test -f /etc/ld.so.conf; then
11169 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' ' '`
11170 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11173 # We used to test for /lib/ld.so.1 and disable shared libraries on
11174 # powerpc, because MkLinux only supported shared libraries with the
11175 # GNU dynamic linker. Since this was broken with cross compilers,
11176 # most powerpc-linux boxes support dynamic linking these days and
11177 # people can always --disable-shared, the test was removed, and we
11178 # assume the GNU/Linux dynamic linker is in use.
11179 dynamic_linker='GNU/Linux ld.so'
11182 netbsd*)
11183 version_type=sunos
11184 need_lib_prefix=no
11185 need_version=no
11186 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11189 dynamic_linker='NetBSD (a.out) ld.so'
11190 else
11191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11192 soname_spec='${libname}${release}${shared_ext}$major'
11193 dynamic_linker='NetBSD ld.elf_so'
11195 shlibpath_var=LD_LIBRARY_PATH
11196 shlibpath_overrides_runpath=yes
11197 hardcode_into_libs=yes
11200 newsos6)
11201 version_type=linux
11202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11203 shlibpath_var=LD_LIBRARY_PATH
11204 shlibpath_overrides_runpath=yes
11207 *nto* | *qnx*)
11208 version_type=qnx
11209 need_lib_prefix=no
11210 need_version=no
11211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11212 soname_spec='${libname}${release}${shared_ext}$major'
11213 shlibpath_var=LD_LIBRARY_PATH
11214 shlibpath_overrides_runpath=no
11215 hardcode_into_libs=yes
11216 dynamic_linker='ldqnx.so'
11219 openbsd*)
11220 version_type=sunos
11221 sys_lib_dlsearch_path_spec="/usr/lib"
11222 need_lib_prefix=no
11223 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11224 case $host_os in
11225 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11226 *) need_version=no ;;
11227 esac
11228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11229 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11230 shlibpath_var=LD_LIBRARY_PATH
11231 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11232 case $host_os in
11233 openbsd2.[89] | openbsd2.[89].*)
11234 shlibpath_overrides_runpath=no
11237 shlibpath_overrides_runpath=yes
11239 esac
11240 else
11241 shlibpath_overrides_runpath=yes
11245 os2*)
11246 libname_spec='$name'
11247 shrext_cmds=".dll"
11248 need_lib_prefix=no
11249 library_names_spec='$libname${shared_ext} $libname.a'
11250 dynamic_linker='OS/2 ld.exe'
11251 shlibpath_var=LIBPATH
11254 osf3* | osf4* | osf5*)
11255 version_type=osf
11256 need_lib_prefix=no
11257 need_version=no
11258 soname_spec='${libname}${release}${shared_ext}$major'
11259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11260 shlibpath_var=LD_LIBRARY_PATH
11261 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11262 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11265 rdos*)
11266 dynamic_linker=no
11269 solaris*)
11270 version_type=linux
11271 need_lib_prefix=no
11272 need_version=no
11273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11274 soname_spec='${libname}${release}${shared_ext}$major'
11275 shlibpath_var=LD_LIBRARY_PATH
11276 shlibpath_overrides_runpath=yes
11277 hardcode_into_libs=yes
11278 # ldd complains unless libraries are executable
11279 postinstall_cmds='chmod +x $lib'
11282 sunos4*)
11283 version_type=sunos
11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11285 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11286 shlibpath_var=LD_LIBRARY_PATH
11287 shlibpath_overrides_runpath=yes
11288 if test "$with_gnu_ld" = yes; then
11289 need_lib_prefix=no
11291 need_version=yes
11294 sysv4 | sysv4.3*)
11295 version_type=linux
11296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11297 soname_spec='${libname}${release}${shared_ext}$major'
11298 shlibpath_var=LD_LIBRARY_PATH
11299 case $host_vendor in
11300 sni)
11301 shlibpath_overrides_runpath=no
11302 need_lib_prefix=no
11303 runpath_var=LD_RUN_PATH
11305 siemens)
11306 need_lib_prefix=no
11308 motorola)
11309 need_lib_prefix=no
11310 need_version=no
11311 shlibpath_overrides_runpath=no
11312 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11314 esac
11317 sysv4*MP*)
11318 if test -d /usr/nec ;then
11319 version_type=linux
11320 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11321 soname_spec='$libname${shared_ext}.$major'
11322 shlibpath_var=LD_LIBRARY_PATH
11326 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11327 version_type=freebsd-elf
11328 need_lib_prefix=no
11329 need_version=no
11330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11331 soname_spec='${libname}${release}${shared_ext}$major'
11332 shlibpath_var=LD_LIBRARY_PATH
11333 shlibpath_overrides_runpath=yes
11334 hardcode_into_libs=yes
11335 if test "$with_gnu_ld" = yes; then
11336 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11337 else
11338 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11339 case $host_os in
11340 sco3.2v5*)
11341 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11343 esac
11345 sys_lib_dlsearch_path_spec='/usr/lib'
11348 tpf*)
11349 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11350 version_type=linux
11351 need_lib_prefix=no
11352 need_version=no
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 shlibpath_var=LD_LIBRARY_PATH
11355 shlibpath_overrides_runpath=no
11356 hardcode_into_libs=yes
11359 uts4*)
11360 version_type=linux
11361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11362 soname_spec='${libname}${release}${shared_ext}$major'
11363 shlibpath_var=LD_LIBRARY_PATH
11367 dynamic_linker=no
11369 esac
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11371 $as_echo "$dynamic_linker" >&6; }
11372 test "$dynamic_linker" = no && can_build_shared=no
11374 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11375 if test "$GCC" = yes; then
11376 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11379 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11380 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11382 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11383 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11478 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11479 hardcode_action=
11480 if test -n "$hardcode_libdir_flag_spec" ||
11481 test -n "$runpath_var" ||
11482 test "X$hardcode_automatic" = "Xyes" ; then
11484 # We can hardcode non-existent directories.
11485 if test "$hardcode_direct" != no &&
11486 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11487 # have to relink, otherwise we might link with an installed library
11488 # when we should be linking with a yet-to-be-installed one
11489 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11490 test "$hardcode_minus_L" != no; then
11491 # Linking always hardcodes the temporary library directory.
11492 hardcode_action=relink
11493 else
11494 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11495 hardcode_action=immediate
11497 else
11498 # We cannot hardcode anything, or else we can only hardcode existing
11499 # directories.
11500 hardcode_action=unsupported
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11503 $as_echo "$hardcode_action" >&6; }
11505 if test "$hardcode_action" = relink ||
11506 test "$inherit_rpath" = yes; then
11507 # Fast installation is not supported
11508 enable_fast_install=no
11509 elif test "$shlibpath_overrides_runpath" = yes ||
11510 test "$enable_shared" = no; then
11511 # Fast installation is not necessary
11512 enable_fast_install=needless
11520 if test "x$enable_dlopen" != xyes; then
11521 enable_dlopen=unknown
11522 enable_dlopen_self=unknown
11523 enable_dlopen_self_static=unknown
11524 else
11525 lt_cv_dlopen=no
11526 lt_cv_dlopen_libs=
11528 case $host_os in
11529 beos*)
11530 lt_cv_dlopen="load_add_on"
11531 lt_cv_dlopen_libs=
11532 lt_cv_dlopen_self=yes
11535 mingw* | pw32* | cegcc*)
11536 lt_cv_dlopen="LoadLibrary"
11537 lt_cv_dlopen_libs=
11540 cygwin*)
11541 lt_cv_dlopen="dlopen"
11542 lt_cv_dlopen_libs=
11545 darwin*)
11546 # if libdl is installed we need to link against it
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11548 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11549 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11550 $as_echo_n "(cached) " >&6
11551 else
11552 ac_check_lib_save_LIBS=$LIBS
11553 LIBS="-ldl $LIBS"
11554 if test x$gcc_no_link = xyes; then
11555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11563 #ifdef __cplusplus
11564 extern "C"
11565 #endif
11566 char dlopen ();
11568 main ()
11570 return dlopen ();
11572 return 0;
11574 _ACEOF
11575 if ac_fn_c_try_link "$LINENO"; then :
11576 ac_cv_lib_dl_dlopen=yes
11577 else
11578 ac_cv_lib_dl_dlopen=no
11580 rm -f core conftest.err conftest.$ac_objext \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_lib_save_LIBS
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11585 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11586 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11587 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11588 else
11590 lt_cv_dlopen="dyld"
11591 lt_cv_dlopen_libs=
11592 lt_cv_dlopen_self=yes
11599 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11600 if test "x$ac_cv_func_shl_load" = x""yes; then :
11601 lt_cv_dlopen="shl_load"
11602 else
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11604 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11605 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11606 $as_echo_n "(cached) " >&6
11607 else
11608 ac_check_lib_save_LIBS=$LIBS
11609 LIBS="-ldld $LIBS"
11610 if test x$gcc_no_link = xyes; then
11611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11619 #ifdef __cplusplus
11620 extern "C"
11621 #endif
11622 char shl_load ();
11624 main ()
11626 return shl_load ();
11628 return 0;
11630 _ACEOF
11631 if ac_fn_c_try_link "$LINENO"; then :
11632 ac_cv_lib_dld_shl_load=yes
11633 else
11634 ac_cv_lib_dld_shl_load=no
11636 rm -f core conftest.err conftest.$ac_objext \
11637 conftest$ac_exeext conftest.$ac_ext
11638 LIBS=$ac_check_lib_save_LIBS
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11641 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11642 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11643 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11644 else
11645 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11646 if test "x$ac_cv_func_dlopen" = x""yes; then :
11647 lt_cv_dlopen="dlopen"
11648 else
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11650 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11651 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11652 $as_echo_n "(cached) " >&6
11653 else
11654 ac_check_lib_save_LIBS=$LIBS
11655 LIBS="-ldl $LIBS"
11656 if test x$gcc_no_link = xyes; then
11657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char dlopen ();
11670 main ()
11672 return dlopen ();
11674 return 0;
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 ac_cv_lib_dl_dlopen=yes
11679 else
11680 ac_cv_lib_dl_dlopen=no
11682 rm -f core conftest.err conftest.$ac_objext \
11683 conftest$ac_exeext conftest.$ac_ext
11684 LIBS=$ac_check_lib_save_LIBS
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11687 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11688 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11689 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11690 else
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11692 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11693 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11694 $as_echo_n "(cached) " >&6
11695 else
11696 ac_check_lib_save_LIBS=$LIBS
11697 LIBS="-lsvld $LIBS"
11698 if test x$gcc_no_link = xyes; then
11699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11704 /* Override any GCC internal prototype to avoid an error.
11705 Use char because int might match the return type of a GCC
11706 builtin and then its argument prototype would still apply. */
11707 #ifdef __cplusplus
11708 extern "C"
11709 #endif
11710 char dlopen ();
11712 main ()
11714 return dlopen ();
11716 return 0;
11718 _ACEOF
11719 if ac_fn_c_try_link "$LINENO"; then :
11720 ac_cv_lib_svld_dlopen=yes
11721 else
11722 ac_cv_lib_svld_dlopen=no
11724 rm -f core conftest.err conftest.$ac_objext \
11725 conftest$ac_exeext conftest.$ac_ext
11726 LIBS=$ac_check_lib_save_LIBS
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11729 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11730 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11731 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11732 else
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11734 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11735 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11736 $as_echo_n "(cached) " >&6
11737 else
11738 ac_check_lib_save_LIBS=$LIBS
11739 LIBS="-ldld $LIBS"
11740 if test x$gcc_no_link = xyes; then
11741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11744 /* end confdefs.h. */
11746 /* Override any GCC internal prototype to avoid an error.
11747 Use char because int might match the return type of a GCC
11748 builtin and then its argument prototype would still apply. */
11749 #ifdef __cplusplus
11750 extern "C"
11751 #endif
11752 char dld_link ();
11754 main ()
11756 return dld_link ();
11758 return 0;
11760 _ACEOF
11761 if ac_fn_c_try_link "$LINENO"; then :
11762 ac_cv_lib_dld_dld_link=yes
11763 else
11764 ac_cv_lib_dld_dld_link=no
11766 rm -f core conftest.err conftest.$ac_objext \
11767 conftest$ac_exeext conftest.$ac_ext
11768 LIBS=$ac_check_lib_save_LIBS
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11771 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11772 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11773 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11792 esac
11794 if test "x$lt_cv_dlopen" != xno; then
11795 enable_dlopen=yes
11796 else
11797 enable_dlopen=no
11800 case $lt_cv_dlopen in
11801 dlopen)
11802 save_CPPFLAGS="$CPPFLAGS"
11803 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11805 save_LDFLAGS="$LDFLAGS"
11806 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11808 save_LIBS="$LIBS"
11809 LIBS="$lt_cv_dlopen_libs $LIBS"
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11812 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11813 if test "${lt_cv_dlopen_self+set}" = set; then :
11814 $as_echo_n "(cached) " >&6
11815 else
11816 if test "$cross_compiling" = yes; then :
11817 lt_cv_dlopen_self=cross
11818 else
11819 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11820 lt_status=$lt_dlunknown
11821 cat > conftest.$ac_ext <<_LT_EOF
11822 #line 11822 "configure"
11823 #include "confdefs.h"
11825 #if HAVE_DLFCN_H
11826 #include <dlfcn.h>
11827 #endif
11829 #include <stdio.h>
11831 #ifdef RTLD_GLOBAL
11832 # define LT_DLGLOBAL RTLD_GLOBAL
11833 #else
11834 # ifdef DL_GLOBAL
11835 # define LT_DLGLOBAL DL_GLOBAL
11836 # else
11837 # define LT_DLGLOBAL 0
11838 # endif
11839 #endif
11841 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11842 find out it does not work in some platform. */
11843 #ifndef LT_DLLAZY_OR_NOW
11844 # ifdef RTLD_LAZY
11845 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11846 # else
11847 # ifdef DL_LAZY
11848 # define LT_DLLAZY_OR_NOW DL_LAZY
11849 # else
11850 # ifdef RTLD_NOW
11851 # define LT_DLLAZY_OR_NOW RTLD_NOW
11852 # else
11853 # ifdef DL_NOW
11854 # define LT_DLLAZY_OR_NOW DL_NOW
11855 # else
11856 # define LT_DLLAZY_OR_NOW 0
11857 # endif
11858 # endif
11859 # endif
11860 # endif
11861 #endif
11863 /* When -fvisbility=hidden is used, assume the code has been annotated
11864 correspondingly for the symbols needed. */
11865 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11866 void fnord () __attribute__((visibility("default")));
11867 #endif
11869 void fnord () { int i=42; }
11870 int main ()
11872 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11873 int status = $lt_dlunknown;
11875 if (self)
11877 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11878 else
11880 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11881 else puts (dlerror ());
11883 /* dlclose (self); */
11885 else
11886 puts (dlerror ());
11888 return status;
11890 _LT_EOF
11891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11892 (eval $ac_link) 2>&5
11893 ac_status=$?
11894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11895 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11896 (./conftest; exit; ) >&5 2>/dev/null
11897 lt_status=$?
11898 case x$lt_status in
11899 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11900 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11901 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11902 esac
11903 else :
11904 # compilation failed
11905 lt_cv_dlopen_self=no
11908 rm -fr conftest*
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11913 $as_echo "$lt_cv_dlopen_self" >&6; }
11915 if test "x$lt_cv_dlopen_self" = xyes; then
11916 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11918 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11919 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11920 $as_echo_n "(cached) " >&6
11921 else
11922 if test "$cross_compiling" = yes; then :
11923 lt_cv_dlopen_self_static=cross
11924 else
11925 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11926 lt_status=$lt_dlunknown
11927 cat > conftest.$ac_ext <<_LT_EOF
11928 #line 11928 "configure"
11929 #include "confdefs.h"
11931 #if HAVE_DLFCN_H
11932 #include <dlfcn.h>
11933 #endif
11935 #include <stdio.h>
11937 #ifdef RTLD_GLOBAL
11938 # define LT_DLGLOBAL RTLD_GLOBAL
11939 #else
11940 # ifdef DL_GLOBAL
11941 # define LT_DLGLOBAL DL_GLOBAL
11942 # else
11943 # define LT_DLGLOBAL 0
11944 # endif
11945 #endif
11947 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11948 find out it does not work in some platform. */
11949 #ifndef LT_DLLAZY_OR_NOW
11950 # ifdef RTLD_LAZY
11951 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11952 # else
11953 # ifdef DL_LAZY
11954 # define LT_DLLAZY_OR_NOW DL_LAZY
11955 # else
11956 # ifdef RTLD_NOW
11957 # define LT_DLLAZY_OR_NOW RTLD_NOW
11958 # else
11959 # ifdef DL_NOW
11960 # define LT_DLLAZY_OR_NOW DL_NOW
11961 # else
11962 # define LT_DLLAZY_OR_NOW 0
11963 # endif
11964 # endif
11965 # endif
11966 # endif
11967 #endif
11969 /* When -fvisbility=hidden is used, assume the code has been annotated
11970 correspondingly for the symbols needed. */
11971 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11972 void fnord () __attribute__((visibility("default")));
11973 #endif
11975 void fnord () { int i=42; }
11976 int main ()
11978 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11979 int status = $lt_dlunknown;
11981 if (self)
11983 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11984 else
11986 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11987 else puts (dlerror ());
11989 /* dlclose (self); */
11991 else
11992 puts (dlerror ());
11994 return status;
11996 _LT_EOF
11997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11998 (eval $ac_link) 2>&5
11999 ac_status=$?
12000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12001 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12002 (./conftest; exit; ) >&5 2>/dev/null
12003 lt_status=$?
12004 case x$lt_status in
12005 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12006 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12007 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12008 esac
12009 else :
12010 # compilation failed
12011 lt_cv_dlopen_self_static=no
12014 rm -fr conftest*
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12019 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12022 CPPFLAGS="$save_CPPFLAGS"
12023 LDFLAGS="$save_LDFLAGS"
12024 LIBS="$save_LIBS"
12026 esac
12028 case $lt_cv_dlopen_self in
12029 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12030 *) enable_dlopen_self=unknown ;;
12031 esac
12033 case $lt_cv_dlopen_self_static in
12034 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12035 *) enable_dlopen_self_static=unknown ;;
12036 esac
12055 striplib=
12056 old_striplib=
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12058 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12059 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12060 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12061 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12063 $as_echo "yes" >&6; }
12064 else
12065 # FIXME - insert some real tests, host_os isn't really good enough
12066 case $host_os in
12067 darwin*)
12068 if test -n "$STRIP" ; then
12069 striplib="$STRIP -x"
12070 old_striplib="$STRIP -S"
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12072 $as_echo "yes" >&6; }
12073 else
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12075 $as_echo "no" >&6; }
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12080 $as_echo "no" >&6; }
12082 esac
12096 # Report which library types will actually be built
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12098 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12100 $as_echo "$can_build_shared" >&6; }
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12103 $as_echo_n "checking whether to build shared libraries... " >&6; }
12104 test "$can_build_shared" = "no" && enable_shared=no
12106 # On AIX, shared libraries and static libraries use the same namespace, and
12107 # are all built from PIC.
12108 case $host_os in
12109 aix3*)
12110 test "$enable_shared" = yes && enable_static=no
12111 if test -n "$RANLIB"; then
12112 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12113 postinstall_cmds='$RANLIB $lib'
12117 aix[4-9]*)
12118 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12119 test "$enable_shared" = yes && enable_static=no
12122 esac
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12124 $as_echo "$enable_shared" >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12127 $as_echo_n "checking whether to build static libraries... " >&6; }
12128 # Make sure either enable_shared or enable_static is yes.
12129 test "$enable_shared" = yes || enable_static=yes
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12131 $as_echo "$enable_static" >&6; }
12137 ac_ext=c
12138 ac_cpp='$CPP $CPPFLAGS'
12139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12143 CC="$lt_save_CC"
12157 ac_config_commands="$ac_config_commands libtool"
12162 # Only expand once:
12165 for ac_prog in gawk mawk nawk awk
12167 # Extract the first word of "$ac_prog", so it can be a program name with args.
12168 set dummy $ac_prog; ac_word=$2
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12170 $as_echo_n "checking for $ac_word... " >&6; }
12171 if test "${ac_cv_prog_AWK+set}" = set; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 if test -n "$AWK"; then
12175 ac_cv_prog_AWK="$AWK" # Let the user override the test.
12176 else
12177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12178 for as_dir in $PATH
12180 IFS=$as_save_IFS
12181 test -z "$as_dir" && as_dir=.
12182 for ac_exec_ext in '' $ac_executable_extensions; do
12183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12184 ac_cv_prog_AWK="$ac_prog"
12185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12186 break 2
12188 done
12189 done
12190 IFS=$as_save_IFS
12194 AWK=$ac_cv_prog_AWK
12195 if test -n "$AWK"; then
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12197 $as_echo "$AWK" >&6; }
12198 else
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12200 $as_echo "no" >&6; }
12204 test -n "$AWK" && break
12205 done
12207 ac_ext=c
12208 ac_cpp='$CPP $CPPFLAGS'
12209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12212 if test -n "$ac_tool_prefix"; then
12213 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12214 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12216 $as_echo_n "checking for $ac_word... " >&6; }
12217 if test "${ac_cv_prog_CC+set}" = set; then :
12218 $as_echo_n "(cached) " >&6
12219 else
12220 if test -n "$CC"; then
12221 ac_cv_prog_CC="$CC" # Let the user override the test.
12222 else
12223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12224 for as_dir in $PATH
12226 IFS=$as_save_IFS
12227 test -z "$as_dir" && as_dir=.
12228 for ac_exec_ext in '' $ac_executable_extensions; do
12229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12230 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12232 break 2
12234 done
12235 done
12236 IFS=$as_save_IFS
12240 CC=$ac_cv_prog_CC
12241 if test -n "$CC"; then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12243 $as_echo "$CC" >&6; }
12244 else
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12246 $as_echo "no" >&6; }
12251 if test -z "$ac_cv_prog_CC"; then
12252 ac_ct_CC=$CC
12253 # Extract the first word of "gcc", so it can be a program name with args.
12254 set dummy gcc; ac_word=$2
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12256 $as_echo_n "checking for $ac_word... " >&6; }
12257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12258 $as_echo_n "(cached) " >&6
12259 else
12260 if test -n "$ac_ct_CC"; then
12261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12262 else
12263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12264 for as_dir in $PATH
12266 IFS=$as_save_IFS
12267 test -z "$as_dir" && as_dir=.
12268 for ac_exec_ext in '' $ac_executable_extensions; do
12269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12270 ac_cv_prog_ac_ct_CC="gcc"
12271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12272 break 2
12274 done
12275 done
12276 IFS=$as_save_IFS
12280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12281 if test -n "$ac_ct_CC"; then
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12283 $as_echo "$ac_ct_CC" >&6; }
12284 else
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12286 $as_echo "no" >&6; }
12289 if test "x$ac_ct_CC" = x; then
12290 CC=""
12291 else
12292 case $cross_compiling:$ac_tool_warned in
12293 yes:)
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12296 ac_tool_warned=yes ;;
12297 esac
12298 CC=$ac_ct_CC
12300 else
12301 CC="$ac_cv_prog_CC"
12304 if test -z "$CC"; then
12305 if test -n "$ac_tool_prefix"; then
12306 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12307 set dummy ${ac_tool_prefix}cc; ac_word=$2
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12309 $as_echo_n "checking for $ac_word... " >&6; }
12310 if test "${ac_cv_prog_CC+set}" = set; then :
12311 $as_echo_n "(cached) " >&6
12312 else
12313 if test -n "$CC"; then
12314 ac_cv_prog_CC="$CC" # Let the user override the test.
12315 else
12316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12317 for as_dir in $PATH
12319 IFS=$as_save_IFS
12320 test -z "$as_dir" && as_dir=.
12321 for ac_exec_ext in '' $ac_executable_extensions; do
12322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12323 ac_cv_prog_CC="${ac_tool_prefix}cc"
12324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12325 break 2
12327 done
12328 done
12329 IFS=$as_save_IFS
12333 CC=$ac_cv_prog_CC
12334 if test -n "$CC"; then
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12336 $as_echo "$CC" >&6; }
12337 else
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12345 if test -z "$CC"; then
12346 # Extract the first word of "cc", so it can be a program name with args.
12347 set dummy cc; ac_word=$2
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12349 $as_echo_n "checking for $ac_word... " >&6; }
12350 if test "${ac_cv_prog_CC+set}" = set; then :
12351 $as_echo_n "(cached) " >&6
12352 else
12353 if test -n "$CC"; then
12354 ac_cv_prog_CC="$CC" # Let the user override the test.
12355 else
12356 ac_prog_rejected=no
12357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12358 for as_dir in $PATH
12360 IFS=$as_save_IFS
12361 test -z "$as_dir" && as_dir=.
12362 for ac_exec_ext in '' $ac_executable_extensions; do
12363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12364 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12365 ac_prog_rejected=yes
12366 continue
12368 ac_cv_prog_CC="cc"
12369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12370 break 2
12372 done
12373 done
12374 IFS=$as_save_IFS
12376 if test $ac_prog_rejected = yes; then
12377 # We found a bogon in the path, so make sure we never use it.
12378 set dummy $ac_cv_prog_CC
12379 shift
12380 if test $# != 0; then
12381 # We chose a different compiler from the bogus one.
12382 # However, it has the same basename, so the bogon will be chosen
12383 # first if we set CC to just the basename; use the full file name.
12384 shift
12385 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12390 CC=$ac_cv_prog_CC
12391 if test -n "$CC"; then
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12393 $as_echo "$CC" >&6; }
12394 else
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12396 $as_echo "no" >&6; }
12401 if test -z "$CC"; then
12402 if test -n "$ac_tool_prefix"; then
12403 for ac_prog in cl.exe
12405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12408 $as_echo_n "checking for $ac_word... " >&6; }
12409 if test "${ac_cv_prog_CC+set}" = set; then :
12410 $as_echo_n "(cached) " >&6
12411 else
12412 if test -n "$CC"; then
12413 ac_cv_prog_CC="$CC" # Let the user override the test.
12414 else
12415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12416 for as_dir in $PATH
12418 IFS=$as_save_IFS
12419 test -z "$as_dir" && as_dir=.
12420 for ac_exec_ext in '' $ac_executable_extensions; do
12421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12422 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12424 break 2
12426 done
12427 done
12428 IFS=$as_save_IFS
12432 CC=$ac_cv_prog_CC
12433 if test -n "$CC"; then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12435 $as_echo "$CC" >&6; }
12436 else
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12438 $as_echo "no" >&6; }
12442 test -n "$CC" && break
12443 done
12445 if test -z "$CC"; then
12446 ac_ct_CC=$CC
12447 for ac_prog in cl.exe
12449 # Extract the first word of "$ac_prog", so it can be a program name with args.
12450 set dummy $ac_prog; ac_word=$2
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12452 $as_echo_n "checking for $ac_word... " >&6; }
12453 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 if test -n "$ac_ct_CC"; then
12457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12458 else
12459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12460 for as_dir in $PATH
12462 IFS=$as_save_IFS
12463 test -z "$as_dir" && as_dir=.
12464 for ac_exec_ext in '' $ac_executable_extensions; do
12465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12466 ac_cv_prog_ac_ct_CC="$ac_prog"
12467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12468 break 2
12470 done
12471 done
12472 IFS=$as_save_IFS
12476 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12477 if test -n "$ac_ct_CC"; then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12479 $as_echo "$ac_ct_CC" >&6; }
12480 else
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12482 $as_echo "no" >&6; }
12486 test -n "$ac_ct_CC" && break
12487 done
12489 if test "x$ac_ct_CC" = x; then
12490 CC=""
12491 else
12492 case $cross_compiling:$ac_tool_warned in
12493 yes:)
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12496 ac_tool_warned=yes ;;
12497 esac
12498 CC=$ac_ct_CC
12505 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12507 as_fn_error "no acceptable C compiler found in \$PATH
12508 See \`config.log' for more details." "$LINENO" 5; }
12510 # Provide some information about the compiler.
12511 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12512 set X $ac_compile
12513 ac_compiler=$2
12514 for ac_option in --version -v -V -qversion; do
12515 { { ac_try="$ac_compiler $ac_option >&5"
12516 case "(($ac_try" in
12517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12518 *) ac_try_echo=$ac_try;;
12519 esac
12520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12521 $as_echo "$ac_try_echo"; } >&5
12522 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12523 ac_status=$?
12524 if test -s conftest.err; then
12525 sed '10a\
12526 ... rest of stderr output deleted ...
12527 10q' conftest.err >conftest.er1
12528 cat conftest.er1 >&5
12529 rm -f conftest.er1 conftest.err
12531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12532 test $ac_status = 0; }
12533 done
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12536 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12537 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12538 $as_echo_n "(cached) " >&6
12539 else
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12544 main ()
12546 #ifndef __GNUC__
12547 choke me
12548 #endif
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_compile "$LINENO"; then :
12555 ac_compiler_gnu=yes
12556 else
12557 ac_compiler_gnu=no
12559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12560 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12564 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12565 if test $ac_compiler_gnu = yes; then
12566 GCC=yes
12567 else
12568 GCC=
12570 ac_test_CFLAGS=${CFLAGS+set}
12571 ac_save_CFLAGS=$CFLAGS
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12573 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12574 if test "${ac_cv_prog_cc_g+set}" = set; then :
12575 $as_echo_n "(cached) " >&6
12576 else
12577 ac_save_c_werror_flag=$ac_c_werror_flag
12578 ac_c_werror_flag=yes
12579 ac_cv_prog_cc_g=no
12580 CFLAGS="-g"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12585 main ()
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_compile "$LINENO"; then :
12593 ac_cv_prog_cc_g=yes
12594 else
12595 CFLAGS=""
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12600 main ()
12604 return 0;
12606 _ACEOF
12607 if ac_fn_c_try_compile "$LINENO"; then :
12609 else
12610 ac_c_werror_flag=$ac_save_c_werror_flag
12611 CFLAGS="-g"
12612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12613 /* end confdefs.h. */
12616 main ()
12620 return 0;
12622 _ACEOF
12623 if ac_fn_c_try_compile "$LINENO"; then :
12624 ac_cv_prog_cc_g=yes
12626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12631 ac_c_werror_flag=$ac_save_c_werror_flag
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12634 $as_echo "$ac_cv_prog_cc_g" >&6; }
12635 if test "$ac_test_CFLAGS" = set; then
12636 CFLAGS=$ac_save_CFLAGS
12637 elif test $ac_cv_prog_cc_g = yes; then
12638 if test "$GCC" = yes; then
12639 CFLAGS="-g -O2"
12640 else
12641 CFLAGS="-g"
12643 else
12644 if test "$GCC" = yes; then
12645 CFLAGS="-O2"
12646 else
12647 CFLAGS=
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12651 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12652 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12653 $as_echo_n "(cached) " >&6
12654 else
12655 ac_cv_prog_cc_c89=no
12656 ac_save_CC=$CC
12657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12659 #include <stdarg.h>
12660 #include <stdio.h>
12661 #include <sys/types.h>
12662 #include <sys/stat.h>
12663 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12664 struct buf { int x; };
12665 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12666 static char *e (p, i)
12667 char **p;
12668 int i;
12670 return p[i];
12672 static char *f (char * (*g) (char **, int), char **p, ...)
12674 char *s;
12675 va_list v;
12676 va_start (v,p);
12677 s = g (p, va_arg (v,int));
12678 va_end (v);
12679 return s;
12682 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12683 function prototypes and stuff, but not '\xHH' hex character constants.
12684 These don't provoke an error unfortunately, instead are silently treated
12685 as 'x'. The following induces an error, until -std is added to get
12686 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12687 array size at least. It's necessary to write '\x00'==0 to get something
12688 that's true only with -std. */
12689 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12691 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12692 inside strings and character constants. */
12693 #define FOO(x) 'x'
12694 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12696 int test (int i, double x);
12697 struct s1 {int (*f) (int a);};
12698 struct s2 {int (*f) (double a);};
12699 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12700 int argc;
12701 char **argv;
12703 main ()
12705 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12707 return 0;
12709 _ACEOF
12710 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12711 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12713 CC="$ac_save_CC $ac_arg"
12714 if ac_fn_c_try_compile "$LINENO"; then :
12715 ac_cv_prog_cc_c89=$ac_arg
12717 rm -f core conftest.err conftest.$ac_objext
12718 test "x$ac_cv_prog_cc_c89" != "xno" && break
12719 done
12720 rm -f conftest.$ac_ext
12721 CC=$ac_save_CC
12724 # AC_CACHE_VAL
12725 case "x$ac_cv_prog_cc_c89" in
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12728 $as_echo "none needed" >&6; } ;;
12729 xno)
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12731 $as_echo "unsupported" >&6; } ;;
12733 CC="$CC $ac_cv_prog_cc_c89"
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12735 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12736 esac
12737 if test "x$ac_cv_prog_cc_c89" != xno; then :
12741 ac_ext=c
12742 ac_cpp='$CPP $CPPFLAGS'
12743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12747 depcc="$CC" am_compiler_list=
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12750 $as_echo_n "checking dependency style of $depcc... " >&6; }
12751 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12752 $as_echo_n "(cached) " >&6
12753 else
12754 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12755 # We make a subdir and do the tests there. Otherwise we can end up
12756 # making bogus files that we don't know about and never remove. For
12757 # instance it was reported that on HP-UX the gcc test will end up
12758 # making a dummy file named `D' -- because `-MD' means `put the output
12759 # in D'.
12760 mkdir conftest.dir
12761 # Copy depcomp to subdir because otherwise we won't find it if we're
12762 # using a relative directory.
12763 cp "$am_depcomp" conftest.dir
12764 cd conftest.dir
12765 # We will build objects and dependencies in a subdirectory because
12766 # it helps to detect inapplicable dependency modes. For instance
12767 # both Tru64's cc and ICC support -MD to output dependencies as a
12768 # side effect of compilation, but ICC will put the dependencies in
12769 # the current directory while Tru64 will put them in the object
12770 # directory.
12771 mkdir sub
12773 am_cv_CC_dependencies_compiler_type=none
12774 if test "$am_compiler_list" = ""; then
12775 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12777 am__universal=false
12778 case " $depcc " in #(
12779 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12780 esac
12782 for depmode in $am_compiler_list; do
12783 # Setup a source with many dependencies, because some compilers
12784 # like to wrap large dependency lists on column 80 (with \), and
12785 # we should not choose a depcomp mode which is confused by this.
12787 # We need to recreate these files for each test, as the compiler may
12788 # overwrite some of them when testing with obscure command lines.
12789 # This happens at least with the AIX C compiler.
12790 : > sub/conftest.c
12791 for i in 1 2 3 4 5 6; do
12792 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12793 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12794 # Solaris 8's {/usr,}/bin/sh.
12795 touch sub/conftst$i.h
12796 done
12797 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12799 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12800 # mode. It turns out that the SunPro C++ compiler does not properly
12801 # handle `-M -o', and we need to detect this. Also, some Intel
12802 # versions had trouble with output in subdirs
12803 am__obj=sub/conftest.${OBJEXT-o}
12804 am__minus_obj="-o $am__obj"
12805 case $depmode in
12806 gcc)
12807 # This depmode causes a compiler race in universal mode.
12808 test "$am__universal" = false || continue
12810 nosideeffect)
12811 # after this tag, mechanisms are not by side-effect, so they'll
12812 # only be used when explicitly requested
12813 if test "x$enable_dependency_tracking" = xyes; then
12814 continue
12815 else
12816 break
12819 msvisualcpp | msvcmsys)
12820 # This compiler won't grok `-c -o', but also, the minuso test has
12821 # not run yet. These depmodes are late enough in the game, and
12822 # so weak that their functioning should not be impacted.
12823 am__obj=conftest.${OBJEXT-o}
12824 am__minus_obj=
12826 none) break ;;
12827 esac
12828 if depmode=$depmode \
12829 source=sub/conftest.c object=$am__obj \
12830 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12831 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12832 >/dev/null 2>conftest.err &&
12833 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12834 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12835 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12836 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12837 # icc doesn't choke on unknown options, it will just issue warnings
12838 # or remarks (even with -Werror). So we grep stderr for any message
12839 # that says an option was ignored or not supported.
12840 # When given -MP, icc 7.0 and 7.1 complain thusly:
12841 # icc: Command line warning: ignoring option '-M'; no argument required
12842 # The diagnosis changed in icc 8.0:
12843 # icc: Command line remark: option '-MP' not supported
12844 if (grep 'ignoring option' conftest.err ||
12845 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12846 am_cv_CC_dependencies_compiler_type=$depmode
12847 break
12850 done
12852 cd ..
12853 rm -rf conftest.dir
12854 else
12855 am_cv_CC_dependencies_compiler_type=none
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12860 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12861 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12864 test "x$enable_dependency_tracking" != xno \
12865 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12866 am__fastdepCC_TRUE=
12867 am__fastdepCC_FALSE='#'
12868 else
12869 am__fastdepCC_TRUE='#'
12870 am__fastdepCC_FALSE=
12874 if test "x$CC" != xcc; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12876 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12877 else
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12879 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12881 set dummy $CC; ac_cc=`$as_echo "$2" |
12882 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12883 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
12884 $as_echo_n "(cached) " >&6
12885 else
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12890 main ()
12894 return 0;
12896 _ACEOF
12897 # Make sure it works both with $CC and with simple cc.
12898 # We do the test twice because some compilers refuse to overwrite an
12899 # existing .o file with -o, though they will create one.
12900 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12901 rm -f conftest2.*
12902 if { { case "(($ac_try" in
12903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12904 *) ac_try_echo=$ac_try;;
12905 esac
12906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12907 $as_echo "$ac_try_echo"; } >&5
12908 (eval "$ac_try") 2>&5
12909 ac_status=$?
12910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12911 test $ac_status = 0; } &&
12912 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12914 *) ac_try_echo=$ac_try;;
12915 esac
12916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12917 $as_echo "$ac_try_echo"; } >&5
12918 (eval "$ac_try") 2>&5
12919 ac_status=$?
12920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12921 test $ac_status = 0; };
12922 then
12923 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12924 if test "x$CC" != xcc; then
12925 # Test first that cc exists at all.
12926 if { ac_try='cc -c conftest.$ac_ext >&5'
12927 { { case "(($ac_try" in
12928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12929 *) ac_try_echo=$ac_try;;
12930 esac
12931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12932 $as_echo "$ac_try_echo"; } >&5
12933 (eval "$ac_try") 2>&5
12934 ac_status=$?
12935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12936 test $ac_status = 0; }; }; then
12937 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12938 rm -f conftest2.*
12939 if { { case "(($ac_try" in
12940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12941 *) ac_try_echo=$ac_try;;
12942 esac
12943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12944 $as_echo "$ac_try_echo"; } >&5
12945 (eval "$ac_try") 2>&5
12946 ac_status=$?
12947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12948 test $ac_status = 0; } &&
12949 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12951 *) ac_try_echo=$ac_try;;
12952 esac
12953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12954 $as_echo "$ac_try_echo"; } >&5
12955 (eval "$ac_try") 2>&5
12956 ac_status=$?
12957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12958 test $ac_status = 0; };
12959 then
12960 # cc works too.
12962 else
12963 # cc exists but doesn't like -o.
12964 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12968 else
12969 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12971 rm -f core conftest*
12974 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12976 $as_echo "yes" >&6; }
12977 else
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12979 $as_echo "no" >&6; }
12981 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12985 # FIXME: we rely on the cache variable name because
12986 # there is no other way.
12987 set dummy $CC
12988 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12989 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12990 if test "$am_t" != yes; then
12991 # Losing compiler, so override with the script.
12992 # FIXME: It is wrong to rewrite CC.
12993 # But if we don't then we get into trouble of one sort or another.
12994 # A longer-term fix would be to have automake use am__CC in this case,
12995 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12996 CC="$am_aux_dir/compile $CC"
13000 ac_ext=c
13001 ac_cpp='$CPP $CPPFLAGS'
13002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13006 $as_echo_n "checking how to run the C preprocessor... " >&6; }
13007 # On Suns, sometimes $CPP names a directory.
13008 if test -n "$CPP" && test -d "$CPP"; then
13009 CPP=
13011 if test -z "$CPP"; then
13012 if test "${ac_cv_prog_CPP+set}" = set; then :
13013 $as_echo_n "(cached) " >&6
13014 else
13015 # Double quotes because CPP needs to be expanded
13016 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13018 ac_preproc_ok=false
13019 for ac_c_preproc_warn_flag in '' yes
13021 # Use a header file that comes with gcc, so configuring glibc
13022 # with a fresh cross-compiler works.
13023 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13024 # <limits.h> exists even on freestanding compilers.
13025 # On the NeXT, cc -E runs the code through the compiler's parser,
13026 # not just through cpp. "Syntax error" is here to catch this case.
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13029 #ifdef __STDC__
13030 # include <limits.h>
13031 #else
13032 # include <assert.h>
13033 #endif
13034 Syntax error
13035 _ACEOF
13036 if ac_fn_c_try_cpp "$LINENO"; then :
13038 else
13039 # Broken: fails on valid input.
13040 continue
13042 rm -f conftest.err conftest.$ac_ext
13044 # OK, works on sane cases. Now check whether nonexistent headers
13045 # can be detected and how.
13046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13047 /* end confdefs.h. */
13048 #include <ac_nonexistent.h>
13049 _ACEOF
13050 if ac_fn_c_try_cpp "$LINENO"; then :
13051 # Broken: success on invalid input.
13052 continue
13053 else
13054 # Passes both tests.
13055 ac_preproc_ok=:
13056 break
13058 rm -f conftest.err conftest.$ac_ext
13060 done
13061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13062 rm -f conftest.err conftest.$ac_ext
13063 if $ac_preproc_ok; then :
13064 break
13067 done
13068 ac_cv_prog_CPP=$CPP
13071 CPP=$ac_cv_prog_CPP
13072 else
13073 ac_cv_prog_CPP=$CPP
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13076 $as_echo "$CPP" >&6; }
13077 ac_preproc_ok=false
13078 for ac_c_preproc_warn_flag in '' yes
13080 # Use a header file that comes with gcc, so configuring glibc
13081 # with a fresh cross-compiler works.
13082 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13083 # <limits.h> exists even on freestanding compilers.
13084 # On the NeXT, cc -E runs the code through the compiler's parser,
13085 # not just through cpp. "Syntax error" is here to catch this case.
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13088 #ifdef __STDC__
13089 # include <limits.h>
13090 #else
13091 # include <assert.h>
13092 #endif
13093 Syntax error
13094 _ACEOF
13095 if ac_fn_c_try_cpp "$LINENO"; then :
13097 else
13098 # Broken: fails on valid input.
13099 continue
13101 rm -f conftest.err conftest.$ac_ext
13103 # OK, works on sane cases. Now check whether nonexistent headers
13104 # can be detected and how.
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13107 #include <ac_nonexistent.h>
13108 _ACEOF
13109 if ac_fn_c_try_cpp "$LINENO"; then :
13110 # Broken: success on invalid input.
13111 continue
13112 else
13113 # Passes both tests.
13114 ac_preproc_ok=:
13115 break
13117 rm -f conftest.err conftest.$ac_ext
13119 done
13120 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13121 rm -f conftest.err conftest.$ac_ext
13122 if $ac_preproc_ok; then :
13124 else
13125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13127 as_fn_error "C preprocessor \"$CPP\" fails sanity check
13128 See \`config.log' for more details." "$LINENO" 5; }
13131 ac_ext=c
13132 ac_cpp='$CPP $CPPFLAGS'
13133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13137 ac_ext=cpp
13138 ac_cpp='$CXXCPP $CPPFLAGS'
13139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13142 if test -z "$CXX"; then
13143 if test -n "$CCC"; then
13144 CXX=$CCC
13145 else
13146 if test -n "$ac_tool_prefix"; then
13147 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13152 $as_echo_n "checking for $ac_word... " >&6; }
13153 if test "${ac_cv_prog_CXX+set}" = set; then :
13154 $as_echo_n "(cached) " >&6
13155 else
13156 if test -n "$CXX"; then
13157 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13158 else
13159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13160 for as_dir in $PATH
13162 IFS=$as_save_IFS
13163 test -z "$as_dir" && as_dir=.
13164 for ac_exec_ext in '' $ac_executable_extensions; do
13165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13166 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13168 break 2
13170 done
13171 done
13172 IFS=$as_save_IFS
13176 CXX=$ac_cv_prog_CXX
13177 if test -n "$CXX"; then
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13179 $as_echo "$CXX" >&6; }
13180 else
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13182 $as_echo "no" >&6; }
13186 test -n "$CXX" && break
13187 done
13189 if test -z "$CXX"; then
13190 ac_ct_CXX=$CXX
13191 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13193 # Extract the first word of "$ac_prog", so it can be a program name with args.
13194 set dummy $ac_prog; ac_word=$2
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13196 $as_echo_n "checking for $ac_word... " >&6; }
13197 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13198 $as_echo_n "(cached) " >&6
13199 else
13200 if test -n "$ac_ct_CXX"; then
13201 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13202 else
13203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13204 for as_dir in $PATH
13206 IFS=$as_save_IFS
13207 test -z "$as_dir" && as_dir=.
13208 for ac_exec_ext in '' $ac_executable_extensions; do
13209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13210 ac_cv_prog_ac_ct_CXX="$ac_prog"
13211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13212 break 2
13214 done
13215 done
13216 IFS=$as_save_IFS
13220 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13221 if test -n "$ac_ct_CXX"; then
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13223 $as_echo "$ac_ct_CXX" >&6; }
13224 else
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13226 $as_echo "no" >&6; }
13230 test -n "$ac_ct_CXX" && break
13231 done
13233 if test "x$ac_ct_CXX" = x; then
13234 CXX="g++"
13235 else
13236 case $cross_compiling:$ac_tool_warned in
13237 yes:)
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13240 ac_tool_warned=yes ;;
13241 esac
13242 CXX=$ac_ct_CXX
13248 # Provide some information about the compiler.
13249 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13250 set X $ac_compile
13251 ac_compiler=$2
13252 for ac_option in --version -v -V -qversion; do
13253 { { ac_try="$ac_compiler $ac_option >&5"
13254 case "(($ac_try" in
13255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13256 *) ac_try_echo=$ac_try;;
13257 esac
13258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13259 $as_echo "$ac_try_echo"; } >&5
13260 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13261 ac_status=$?
13262 if test -s conftest.err; then
13263 sed '10a\
13264 ... rest of stderr output deleted ...
13265 10q' conftest.err >conftest.er1
13266 cat conftest.er1 >&5
13267 rm -f conftest.er1 conftest.err
13269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13270 test $ac_status = 0; }
13271 done
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13274 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13275 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13276 $as_echo_n "(cached) " >&6
13277 else
13278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13282 main ()
13284 #ifndef __GNUC__
13285 choke me
13286 #endif
13289 return 0;
13291 _ACEOF
13292 if ac_fn_cxx_try_compile "$LINENO"; then :
13293 ac_compiler_gnu=yes
13294 else
13295 ac_compiler_gnu=no
13297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13298 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13302 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13303 if test $ac_compiler_gnu = yes; then
13304 GXX=yes
13305 else
13306 GXX=
13308 ac_test_CXXFLAGS=${CXXFLAGS+set}
13309 ac_save_CXXFLAGS=$CXXFLAGS
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13311 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13312 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13313 $as_echo_n "(cached) " >&6
13314 else
13315 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13316 ac_cxx_werror_flag=yes
13317 ac_cv_prog_cxx_g=no
13318 CXXFLAGS="-g"
13319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h. */
13323 main ()
13327 return 0;
13329 _ACEOF
13330 if ac_fn_cxx_try_compile "$LINENO"; then :
13331 ac_cv_prog_cxx_g=yes
13332 else
13333 CXXFLAGS=""
13334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13338 main ()
13342 return 0;
13344 _ACEOF
13345 if ac_fn_cxx_try_compile "$LINENO"; then :
13347 else
13348 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13349 CXXFLAGS="-g"
13350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13354 main ()
13358 return 0;
13360 _ACEOF
13361 if ac_fn_cxx_try_compile "$LINENO"; then :
13362 ac_cv_prog_cxx_g=yes
13364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13369 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13372 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13373 if test "$ac_test_CXXFLAGS" = set; then
13374 CXXFLAGS=$ac_save_CXXFLAGS
13375 elif test $ac_cv_prog_cxx_g = yes; then
13376 if test "$GXX" = yes; then
13377 CXXFLAGS="-g -O2"
13378 else
13379 CXXFLAGS="-g"
13381 else
13382 if test "$GXX" = yes; then
13383 CXXFLAGS="-O2"
13384 else
13385 CXXFLAGS=
13388 ac_ext=c
13389 ac_cpp='$CPP $CPPFLAGS'
13390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13394 depcc="$CXX" am_compiler_list=
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13397 $as_echo_n "checking dependency style of $depcc... " >&6; }
13398 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13399 $as_echo_n "(cached) " >&6
13400 else
13401 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13402 # We make a subdir and do the tests there. Otherwise we can end up
13403 # making bogus files that we don't know about and never remove. For
13404 # instance it was reported that on HP-UX the gcc test will end up
13405 # making a dummy file named `D' -- because `-MD' means `put the output
13406 # in D'.
13407 mkdir conftest.dir
13408 # Copy depcomp to subdir because otherwise we won't find it if we're
13409 # using a relative directory.
13410 cp "$am_depcomp" conftest.dir
13411 cd conftest.dir
13412 # We will build objects and dependencies in a subdirectory because
13413 # it helps to detect inapplicable dependency modes. For instance
13414 # both Tru64's cc and ICC support -MD to output dependencies as a
13415 # side effect of compilation, but ICC will put the dependencies in
13416 # the current directory while Tru64 will put them in the object
13417 # directory.
13418 mkdir sub
13420 am_cv_CXX_dependencies_compiler_type=none
13421 if test "$am_compiler_list" = ""; then
13422 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13424 am__universal=false
13425 case " $depcc " in #(
13426 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13427 esac
13429 for depmode in $am_compiler_list; do
13430 # Setup a source with many dependencies, because some compilers
13431 # like to wrap large dependency lists on column 80 (with \), and
13432 # we should not choose a depcomp mode which is confused by this.
13434 # We need to recreate these files for each test, as the compiler may
13435 # overwrite some of them when testing with obscure command lines.
13436 # This happens at least with the AIX C compiler.
13437 : > sub/conftest.c
13438 for i in 1 2 3 4 5 6; do
13439 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13440 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13441 # Solaris 8's {/usr,}/bin/sh.
13442 touch sub/conftst$i.h
13443 done
13444 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13446 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13447 # mode. It turns out that the SunPro C++ compiler does not properly
13448 # handle `-M -o', and we need to detect this. Also, some Intel
13449 # versions had trouble with output in subdirs
13450 am__obj=sub/conftest.${OBJEXT-o}
13451 am__minus_obj="-o $am__obj"
13452 case $depmode in
13453 gcc)
13454 # This depmode causes a compiler race in universal mode.
13455 test "$am__universal" = false || continue
13457 nosideeffect)
13458 # after this tag, mechanisms are not by side-effect, so they'll
13459 # only be used when explicitly requested
13460 if test "x$enable_dependency_tracking" = xyes; then
13461 continue
13462 else
13463 break
13466 msvisualcpp | msvcmsys)
13467 # This compiler won't grok `-c -o', but also, the minuso test has
13468 # not run yet. These depmodes are late enough in the game, and
13469 # so weak that their functioning should not be impacted.
13470 am__obj=conftest.${OBJEXT-o}
13471 am__minus_obj=
13473 none) break ;;
13474 esac
13475 if depmode=$depmode \
13476 source=sub/conftest.c object=$am__obj \
13477 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13478 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13479 >/dev/null 2>conftest.err &&
13480 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13481 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13482 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13483 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13484 # icc doesn't choke on unknown options, it will just issue warnings
13485 # or remarks (even with -Werror). So we grep stderr for any message
13486 # that says an option was ignored or not supported.
13487 # When given -MP, icc 7.0 and 7.1 complain thusly:
13488 # icc: Command line warning: ignoring option '-M'; no argument required
13489 # The diagnosis changed in icc 8.0:
13490 # icc: Command line remark: option '-MP' not supported
13491 if (grep 'ignoring option' conftest.err ||
13492 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13493 am_cv_CXX_dependencies_compiler_type=$depmode
13494 break
13497 done
13499 cd ..
13500 rm -rf conftest.dir
13501 else
13502 am_cv_CXX_dependencies_compiler_type=none
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13507 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13508 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13511 test "x$enable_dependency_tracking" != xno \
13512 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13513 am__fastdepCXX_TRUE=
13514 am__fastdepCXX_FALSE='#'
13515 else
13516 am__fastdepCXX_TRUE='#'
13517 am__fastdepCXX_FALSE=
13521 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13522 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13523 (test "X$CXX" != "Xg++"))) ; then
13524 ac_ext=cpp
13525 ac_cpp='$CXXCPP $CPPFLAGS'
13526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13530 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13531 if test -z "$CXXCPP"; then
13532 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 # Double quotes because CXXCPP needs to be expanded
13536 for CXXCPP in "$CXX -E" "/lib/cpp"
13538 ac_preproc_ok=false
13539 for ac_cxx_preproc_warn_flag in '' yes
13541 # Use a header file that comes with gcc, so configuring glibc
13542 # with a fresh cross-compiler works.
13543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13544 # <limits.h> exists even on freestanding compilers.
13545 # On the NeXT, cc -E runs the code through the compiler's parser,
13546 # not just through cpp. "Syntax error" is here to catch this case.
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13549 #ifdef __STDC__
13550 # include <limits.h>
13551 #else
13552 # include <assert.h>
13553 #endif
13554 Syntax error
13555 _ACEOF
13556 if ac_fn_cxx_try_cpp "$LINENO"; then :
13558 else
13559 # Broken: fails on valid input.
13560 continue
13562 rm -f conftest.err conftest.$ac_ext
13564 # OK, works on sane cases. Now check whether nonexistent headers
13565 # can be detected and how.
13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13568 #include <ac_nonexistent.h>
13569 _ACEOF
13570 if ac_fn_cxx_try_cpp "$LINENO"; then :
13571 # Broken: success on invalid input.
13572 continue
13573 else
13574 # Passes both tests.
13575 ac_preproc_ok=:
13576 break
13578 rm -f conftest.err conftest.$ac_ext
13580 done
13581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13582 rm -f conftest.err conftest.$ac_ext
13583 if $ac_preproc_ok; then :
13584 break
13587 done
13588 ac_cv_prog_CXXCPP=$CXXCPP
13591 CXXCPP=$ac_cv_prog_CXXCPP
13592 else
13593 ac_cv_prog_CXXCPP=$CXXCPP
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13596 $as_echo "$CXXCPP" >&6; }
13597 ac_preproc_ok=false
13598 for ac_cxx_preproc_warn_flag in '' yes
13600 # Use a header file that comes with gcc, so configuring glibc
13601 # with a fresh cross-compiler works.
13602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13603 # <limits.h> exists even on freestanding compilers.
13604 # On the NeXT, cc -E runs the code through the compiler's parser,
13605 # not just through cpp. "Syntax error" is here to catch this case.
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13608 #ifdef __STDC__
13609 # include <limits.h>
13610 #else
13611 # include <assert.h>
13612 #endif
13613 Syntax error
13614 _ACEOF
13615 if ac_fn_cxx_try_cpp "$LINENO"; then :
13617 else
13618 # Broken: fails on valid input.
13619 continue
13621 rm -f conftest.err conftest.$ac_ext
13623 # OK, works on sane cases. Now check whether nonexistent headers
13624 # can be detected and how.
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13627 #include <ac_nonexistent.h>
13628 _ACEOF
13629 if ac_fn_cxx_try_cpp "$LINENO"; then :
13630 # Broken: success on invalid input.
13631 continue
13632 else
13633 # Passes both tests.
13634 ac_preproc_ok=:
13635 break
13637 rm -f conftest.err conftest.$ac_ext
13639 done
13640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13641 rm -f conftest.err conftest.$ac_ext
13642 if $ac_preproc_ok; then :
13644 else
13645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13647 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
13648 See \`config.log' for more details." "$LINENO" 5; }
13651 ac_ext=c
13652 ac_cpp='$CPP $CPPFLAGS'
13653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13657 else
13658 _lt_caught_CXX_error=yes
13661 ac_ext=cpp
13662 ac_cpp='$CXXCPP $CPPFLAGS'
13663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13667 archive_cmds_need_lc_CXX=no
13668 allow_undefined_flag_CXX=
13669 always_export_symbols_CXX=no
13670 archive_expsym_cmds_CXX=
13671 compiler_needs_object_CXX=no
13672 export_dynamic_flag_spec_CXX=
13673 hardcode_direct_CXX=no
13674 hardcode_direct_absolute_CXX=no
13675 hardcode_libdir_flag_spec_CXX=
13676 hardcode_libdir_flag_spec_ld_CXX=
13677 hardcode_libdir_separator_CXX=
13678 hardcode_minus_L_CXX=no
13679 hardcode_shlibpath_var_CXX=unsupported
13680 hardcode_automatic_CXX=no
13681 inherit_rpath_CXX=no
13682 module_cmds_CXX=
13683 module_expsym_cmds_CXX=
13684 link_all_deplibs_CXX=unknown
13685 old_archive_cmds_CXX=$old_archive_cmds
13686 reload_flag_CXX=$reload_flag
13687 reload_cmds_CXX=$reload_cmds
13688 no_undefined_flag_CXX=
13689 whole_archive_flag_spec_CXX=
13690 enable_shared_with_static_runtimes_CXX=no
13692 # Source file extension for C++ test sources.
13693 ac_ext=cpp
13695 # Object file extension for compiled C++ test sources.
13696 objext=o
13697 objext_CXX=$objext
13699 # No sense in running all these tests if we already determined that
13700 # the CXX compiler isn't working. Some variables (like enable_shared)
13701 # are currently assumed to apply to all compilers on this platform,
13702 # and will be corrupted by setting them based on a non-working compiler.
13703 if test "$_lt_caught_CXX_error" != yes; then
13704 # Code to be used in simple compile tests
13705 lt_simple_compile_test_code="int some_variable = 0;"
13707 # Code to be used in simple link tests
13708 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13710 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13717 # If no C compiler was specified, use CC.
13718 LTCC=${LTCC-"$CC"}
13720 # If no C compiler flags were specified, use CFLAGS.
13721 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13723 # Allow CC to be a program name with arguments.
13724 compiler=$CC
13727 # save warnings/boilerplate of simple test code
13728 ac_outfile=conftest.$ac_objext
13729 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13730 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13731 _lt_compiler_boilerplate=`cat conftest.err`
13732 $RM conftest*
13734 ac_outfile=conftest.$ac_objext
13735 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13736 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13737 _lt_linker_boilerplate=`cat conftest.err`
13738 $RM -r conftest*
13741 # Allow CC to be a program name with arguments.
13742 lt_save_CC=$CC
13743 lt_save_LD=$LD
13744 lt_save_GCC=$GCC
13745 GCC=$GXX
13746 lt_save_with_gnu_ld=$with_gnu_ld
13747 lt_save_path_LD=$lt_cv_path_LD
13748 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13749 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13750 else
13751 $as_unset lt_cv_prog_gnu_ld
13753 if test -n "${lt_cv_path_LDCXX+set}"; then
13754 lt_cv_path_LD=$lt_cv_path_LDCXX
13755 else
13756 $as_unset lt_cv_path_LD
13758 test -z "${LDCXX+set}" || LD=$LDCXX
13759 CC=${CXX-"c++"}
13760 compiler=$CC
13761 compiler_CXX=$CC
13762 for cc_temp in $compiler""; do
13763 case $cc_temp in
13764 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13765 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13766 \-*) ;;
13767 *) break;;
13768 esac
13769 done
13770 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13773 if test -n "$compiler"; then
13774 # We don't want -fno-exception when compiling C++ code, so set the
13775 # no_builtin_flag separately
13776 if test "$GXX" = yes; then
13777 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13778 else
13779 lt_prog_compiler_no_builtin_flag_CXX=
13782 if test "$GXX" = yes; then
13783 # Set up default GNU C++ configuration
13787 # Check whether --with-gnu-ld was given.
13788 if test "${with_gnu_ld+set}" = set; then :
13789 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13790 else
13791 with_gnu_ld=no
13794 ac_prog=ld
13795 if test "$GCC" = yes; then
13796 # Check if gcc -print-prog-name=ld gives a path.
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13798 $as_echo_n "checking for ld used by $CC... " >&6; }
13799 case $host in
13800 *-*-mingw*)
13801 # gcc leaves a trailing carriage return which upsets mingw
13802 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13804 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13805 esac
13806 case $ac_prog in
13807 # Accept absolute paths.
13808 [\\/]* | ?:[\\/]*)
13809 re_direlt='/[^/][^/]*/\.\./'
13810 # Canonicalize the pathname of ld
13811 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13812 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13813 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13814 done
13815 test -z "$LD" && LD="$ac_prog"
13818 # If it fails, then pretend we aren't using GCC.
13819 ac_prog=ld
13822 # If it is relative, then search for the first ld in PATH.
13823 with_gnu_ld=unknown
13825 esac
13826 elif test "$with_gnu_ld" = yes; then
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13828 $as_echo_n "checking for GNU ld... " >&6; }
13829 else
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13831 $as_echo_n "checking for non-GNU ld... " >&6; }
13833 if test "${lt_cv_path_LD+set}" = set; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 if test -z "$LD"; then
13837 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13838 for ac_dir in $PATH; do
13839 IFS="$lt_save_ifs"
13840 test -z "$ac_dir" && ac_dir=.
13841 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13842 lt_cv_path_LD="$ac_dir/$ac_prog"
13843 # Check to see if the program is GNU ld. I'd rather use --version,
13844 # but apparently some variants of GNU ld only accept -v.
13845 # Break only if it was the GNU/non-GNU ld that we prefer.
13846 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13847 *GNU* | *'with BFD'*)
13848 test "$with_gnu_ld" != no && break
13851 test "$with_gnu_ld" != yes && break
13853 esac
13855 done
13856 IFS="$lt_save_ifs"
13857 else
13858 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13862 LD="$lt_cv_path_LD"
13863 if test -n "$LD"; then
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13865 $as_echo "$LD" >&6; }
13866 else
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13868 $as_echo "no" >&6; }
13870 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13872 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13873 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13874 $as_echo_n "(cached) " >&6
13875 else
13876 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13877 case `$LD -v 2>&1 </dev/null` in
13878 *GNU* | *'with BFD'*)
13879 lt_cv_prog_gnu_ld=yes
13882 lt_cv_prog_gnu_ld=no
13884 esac
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13887 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13888 with_gnu_ld=$lt_cv_prog_gnu_ld
13896 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13897 # archiving commands below assume that GNU ld is being used.
13898 if test "$with_gnu_ld" = yes; then
13899 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13900 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13902 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13903 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13905 # If archive_cmds runs LD, not CC, wlarc should be empty
13906 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13907 # investigate it a little bit more. (MM)
13908 wlarc='${wl}'
13910 # ancient GNU ld didn't support --whole-archive et. al.
13911 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13912 $GREP 'no-whole-archive' > /dev/null; then
13913 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13914 else
13915 whole_archive_flag_spec_CXX=
13917 else
13918 with_gnu_ld=no
13919 wlarc=
13921 # A generic and very simple default shared library creation
13922 # command for GNU C++ for the case where it uses the native
13923 # linker, instead of GNU ld. If possible, this setting should
13924 # overridden to take advantage of the native linker features on
13925 # the platform it is being used on.
13926 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13929 # Commands to make compiler produce verbose output that lists
13930 # what "hidden" libraries, object files and flags are used when
13931 # linking a shared library.
13932 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13934 else
13935 GXX=no
13936 with_gnu_ld=no
13937 wlarc=
13940 # PORTME: fill in a description of your system's C++ link characteristics
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13943 ld_shlibs_CXX=yes
13944 case $host_os in
13945 aix3*)
13946 # FIXME: insert proper C++ library support
13947 ld_shlibs_CXX=no
13949 aix[4-9]*)
13950 if test "$host_cpu" = ia64; then
13951 # On IA64, the linker does run time linking by default, so we don't
13952 # have to do anything special.
13953 aix_use_runtimelinking=no
13954 exp_sym_flag='-Bexport'
13955 no_entry_flag=""
13956 else
13957 aix_use_runtimelinking=no
13959 # Test if we are trying to use run time linking or normal
13960 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13961 # need to do runtime linking.
13962 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13963 for ld_flag in $LDFLAGS; do
13964 case $ld_flag in
13965 *-brtl*)
13966 aix_use_runtimelinking=yes
13967 break
13969 esac
13970 done
13972 esac
13974 exp_sym_flag='-bexport'
13975 no_entry_flag='-bnoentry'
13978 # When large executables or shared objects are built, AIX ld can
13979 # have problems creating the table of contents. If linking a library
13980 # or program results in "error TOC overflow" add -mminimal-toc to
13981 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13982 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13984 archive_cmds_CXX=''
13985 hardcode_direct_CXX=yes
13986 hardcode_direct_absolute_CXX=yes
13987 hardcode_libdir_separator_CXX=':'
13988 link_all_deplibs_CXX=yes
13989 file_list_spec_CXX='${wl}-f,'
13991 if test "$GXX" = yes; then
13992 case $host_os in aix4.[012]|aix4.[012].*)
13993 # We only want to do this on AIX 4.2 and lower, the check
13994 # below for broken collect2 doesn't work under 4.3+
13995 collect2name=`${CC} -print-prog-name=collect2`
13996 if test -f "$collect2name" &&
13997 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13998 then
13999 # We have reworked collect2
14001 else
14002 # We have old collect2
14003 hardcode_direct_CXX=unsupported
14004 # It fails to find uninstalled libraries when the uninstalled
14005 # path is not listed in the libpath. Setting hardcode_minus_L
14006 # to unsupported forces relinking
14007 hardcode_minus_L_CXX=yes
14008 hardcode_libdir_flag_spec_CXX='-L$libdir'
14009 hardcode_libdir_separator_CXX=
14011 esac
14012 shared_flag='-shared'
14013 if test "$aix_use_runtimelinking" = yes; then
14014 shared_flag="$shared_flag "'${wl}-G'
14016 else
14017 # not using gcc
14018 if test "$host_cpu" = ia64; then
14019 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14020 # chokes on -Wl,-G. The following line is correct:
14021 shared_flag='-G'
14022 else
14023 if test "$aix_use_runtimelinking" = yes; then
14024 shared_flag='${wl}-G'
14025 else
14026 shared_flag='${wl}-bM:SRE'
14031 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14032 # It seems that -bexpall does not export symbols beginning with
14033 # underscore (_), so it is better to generate a list of symbols to
14034 # export.
14035 always_export_symbols_CXX=yes
14036 if test "$aix_use_runtimelinking" = yes; then
14037 # Warning - without using the other runtime loading flags (-brtl),
14038 # -berok will link without error, but may produce a broken library.
14039 allow_undefined_flag_CXX='-berok'
14040 # Determine the default libpath from the value encoded in an empty
14041 # executable.
14042 if test x$gcc_no_link = xyes; then
14043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14049 main ()
14053 return 0;
14055 _ACEOF
14056 if ac_fn_cxx_try_link "$LINENO"; then :
14058 lt_aix_libpath_sed='
14059 /Import File Strings/,/^$/ {
14060 /^0/ {
14061 s/^0 *\(.*\)$/\1/
14065 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14066 # Check for a 64-bit object if we didn't find anything.
14067 if test -z "$aix_libpath"; then
14068 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14071 rm -f core conftest.err conftest.$ac_objext \
14072 conftest$ac_exeext conftest.$ac_ext
14073 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14075 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14077 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14078 else
14079 if test "$host_cpu" = ia64; then
14080 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14081 allow_undefined_flag_CXX="-z nodefs"
14082 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14083 else
14084 # Determine the default libpath from the value encoded in an
14085 # empty executable.
14086 if test x$gcc_no_link = xyes; then
14087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14093 main ()
14097 return 0;
14099 _ACEOF
14100 if ac_fn_cxx_try_link "$LINENO"; then :
14102 lt_aix_libpath_sed='
14103 /Import File Strings/,/^$/ {
14104 /^0/ {
14105 s/^0 *\(.*\)$/\1/
14109 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14110 # Check for a 64-bit object if we didn't find anything.
14111 if test -z "$aix_libpath"; then
14112 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14115 rm -f core conftest.err conftest.$ac_objext \
14116 conftest$ac_exeext conftest.$ac_ext
14117 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14119 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14120 # Warning - without using the other run time loading flags,
14121 # -berok will link without error, but may produce a broken library.
14122 no_undefined_flag_CXX=' ${wl}-bernotok'
14123 allow_undefined_flag_CXX=' ${wl}-berok'
14124 if test "$with_gnu_ld" = yes; then
14125 # We only use this code for GNU lds that support --whole-archive.
14126 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14127 else
14128 # Exported symbols can be pulled into shared objects from archives
14129 whole_archive_flag_spec_CXX='$convenience'
14131 archive_cmds_need_lc_CXX=yes
14132 # This is similar to how AIX traditionally builds its shared
14133 # libraries.
14134 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14139 beos*)
14140 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14141 allow_undefined_flag_CXX=unsupported
14142 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14143 # support --undefined. This deserves some investigation. FIXME
14144 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14145 else
14146 ld_shlibs_CXX=no
14150 chorus*)
14151 case $cc_basename in
14153 # FIXME: insert proper C++ library support
14154 ld_shlibs_CXX=no
14156 esac
14159 cygwin* | mingw* | pw32* | cegcc*)
14160 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14161 # as there is no search path for DLLs.
14162 hardcode_libdir_flag_spec_CXX='-L$libdir'
14163 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14164 allow_undefined_flag_CXX=unsupported
14165 always_export_symbols_CXX=no
14166 enable_shared_with_static_runtimes_CXX=yes
14168 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14169 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14170 # If the export-symbols file already is a .def file (1st line
14171 # is EXPORTS), use it as is; otherwise, prepend...
14172 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14173 cp $export_symbols $output_objdir/$soname.def;
14174 else
14175 echo EXPORTS > $output_objdir/$soname.def;
14176 cat $export_symbols >> $output_objdir/$soname.def;
14178 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14179 else
14180 ld_shlibs_CXX=no
14183 darwin* | rhapsody*)
14186 archive_cmds_need_lc_CXX=no
14187 hardcode_direct_CXX=no
14188 hardcode_automatic_CXX=yes
14189 hardcode_shlibpath_var_CXX=unsupported
14190 if test "$lt_cv_ld_force_load" = "yes"; then
14191 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14192 else
14193 whole_archive_flag_spec_CXX=''
14195 link_all_deplibs_CXX=yes
14196 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14197 case $cc_basename in
14198 ifort*) _lt_dar_can_shared=yes ;;
14199 *) _lt_dar_can_shared=$GCC ;;
14200 esac
14201 if test "$_lt_dar_can_shared" = "yes"; then
14202 output_verbose_link_cmd=func_echo_all
14203 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14204 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14205 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14206 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14207 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14208 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14209 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14212 else
14213 ld_shlibs_CXX=no
14218 dgux*)
14219 case $cc_basename in
14220 ec++*)
14221 # FIXME: insert proper C++ library support
14222 ld_shlibs_CXX=no
14224 ghcx*)
14225 # Green Hills C++ Compiler
14226 # FIXME: insert proper C++ library support
14227 ld_shlibs_CXX=no
14230 # FIXME: insert proper C++ library support
14231 ld_shlibs_CXX=no
14233 esac
14236 freebsd2.*)
14237 # C++ shared libraries reported to be fairly broken before
14238 # switch to ELF
14239 ld_shlibs_CXX=no
14242 freebsd-elf*)
14243 archive_cmds_need_lc_CXX=no
14246 freebsd* | dragonfly*)
14247 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14248 # conventions
14249 ld_shlibs_CXX=yes
14252 gnu*)
14255 haiku*)
14256 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14257 link_all_deplibs_CXX=yes
14260 hpux9*)
14261 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14262 hardcode_libdir_separator_CXX=:
14263 export_dynamic_flag_spec_CXX='${wl}-E'
14264 hardcode_direct_CXX=yes
14265 hardcode_minus_L_CXX=yes # Not in the search PATH,
14266 # but as the default
14267 # location of the library.
14269 case $cc_basename in
14270 CC*)
14271 # FIXME: insert proper C++ library support
14272 ld_shlibs_CXX=no
14274 aCC*)
14275 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14276 # Commands to make compiler produce verbose output that lists
14277 # what "hidden" libraries, object files and flags are used when
14278 # linking a shared library.
14280 # There doesn't appear to be a way to prevent this compiler from
14281 # explicitly linking system object files so we need to strip them
14282 # from the output so that they don't get included in the library
14283 # dependencies.
14284 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14287 if test "$GXX" = yes; then
14288 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14289 else
14290 # FIXME: insert proper C++ library support
14291 ld_shlibs_CXX=no
14294 esac
14297 hpux10*|hpux11*)
14298 if test $with_gnu_ld = no; then
14299 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14300 hardcode_libdir_separator_CXX=:
14302 case $host_cpu in
14303 hppa*64*|ia64*)
14306 export_dynamic_flag_spec_CXX='${wl}-E'
14308 esac
14310 case $host_cpu in
14311 hppa*64*|ia64*)
14312 hardcode_direct_CXX=no
14313 hardcode_shlibpath_var_CXX=no
14316 hardcode_direct_CXX=yes
14317 hardcode_direct_absolute_CXX=yes
14318 hardcode_minus_L_CXX=yes # Not in the search PATH,
14319 # but as the default
14320 # location of the library.
14322 esac
14324 case $cc_basename in
14325 CC*)
14326 # FIXME: insert proper C++ library support
14327 ld_shlibs_CXX=no
14329 aCC*)
14330 case $host_cpu in
14331 hppa*64*)
14332 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14334 ia64*)
14335 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14338 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14340 esac
14341 # Commands to make compiler produce verbose output that lists
14342 # what "hidden" libraries, object files and flags are used when
14343 # linking a shared library.
14345 # There doesn't appear to be a way to prevent this compiler from
14346 # explicitly linking system object files so we need to strip them
14347 # from the output so that they don't get included in the library
14348 # dependencies.
14349 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14352 if test "$GXX" = yes; then
14353 if test $with_gnu_ld = no; then
14354 case $host_cpu in
14355 hppa*64*)
14356 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14358 ia64*)
14359 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14362 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14364 esac
14366 else
14367 # FIXME: insert proper C++ library support
14368 ld_shlibs_CXX=no
14371 esac
14374 interix[3-9]*)
14375 hardcode_direct_CXX=no
14376 hardcode_shlibpath_var_CXX=no
14377 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14378 export_dynamic_flag_spec_CXX='${wl}-E'
14379 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14380 # Instead, shared libraries are loaded at an image base (0x10000000 by
14381 # default) and relocated if they conflict, which is a slow very memory
14382 # consuming and fragmenting process. To avoid this, we pick a random,
14383 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14384 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14385 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14386 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14388 irix5* | irix6*)
14389 case $cc_basename in
14390 CC*)
14391 # SGI C++
14392 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14394 # Archives containing C++ object files must be created using
14395 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14396 # necessary to make sure instantiated templates are included
14397 # in the archive.
14398 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14401 if test "$GXX" = yes; then
14402 if test "$with_gnu_ld" = no; then
14403 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14404 else
14405 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14408 link_all_deplibs_CXX=yes
14410 esac
14411 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14412 hardcode_libdir_separator_CXX=:
14413 inherit_rpath_CXX=yes
14416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14417 case $cc_basename in
14418 KCC*)
14419 # Kuck and Associates, Inc. (KAI) C++ Compiler
14421 # KCC will only create a shared library if the output file
14422 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14423 # to its proper name (with version) after linking.
14424 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14425 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14426 # Commands to make compiler produce verbose output that lists
14427 # what "hidden" libraries, object files and flags are used when
14428 # linking a shared library.
14430 # There doesn't appear to be a way to prevent this compiler from
14431 # explicitly linking system object files so we need to strip them
14432 # from the output so that they don't get included in the library
14433 # dependencies.
14434 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14436 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14437 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14439 # Archives containing C++ object files must be created using
14440 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14441 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14443 icpc* | ecpc* )
14444 # Intel C++
14445 with_gnu_ld=yes
14446 # version 8.0 and above of icpc choke on multiply defined symbols
14447 # if we add $predep_objects and $postdep_objects, however 7.1 and
14448 # earlier do not add the objects themselves.
14449 case `$CC -V 2>&1` in
14450 *"Version 7."*)
14451 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14452 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14454 *) # Version 8.0 or newer
14455 tmp_idyn=
14456 case $host_cpu in
14457 ia64*) tmp_idyn=' -i_dynamic';;
14458 esac
14459 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14460 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14462 esac
14463 archive_cmds_need_lc_CXX=no
14464 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14465 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14466 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14468 pgCC* | pgcpp*)
14469 # Portland Group C++ compiler
14470 case `$CC -V` in
14471 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14472 prelink_cmds_CXX='tpldir=Template.dir~
14473 rm -rf $tpldir~
14474 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14475 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14476 old_archive_cmds_CXX='tpldir=Template.dir~
14477 rm -rf $tpldir~
14478 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14479 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14480 $RANLIB $oldlib'
14481 archive_cmds_CXX='tpldir=Template.dir~
14482 rm -rf $tpldir~
14483 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14484 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14485 archive_expsym_cmds_CXX='tpldir=Template.dir~
14486 rm -rf $tpldir~
14487 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14488 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14490 *) # Version 6 and above use weak symbols
14491 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14492 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14494 esac
14496 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14497 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14498 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14500 cxx*)
14501 # Compaq C++
14502 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14503 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14505 runpath_var=LD_RUN_PATH
14506 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14507 hardcode_libdir_separator_CXX=:
14509 # Commands to make compiler produce verbose output that lists
14510 # what "hidden" libraries, object files and flags are used when
14511 # linking a shared library.
14513 # There doesn't appear to be a way to prevent this compiler from
14514 # explicitly linking system object files so we need to strip them
14515 # from the output so that they don't get included in the library
14516 # dependencies.
14517 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14519 xl* | mpixl* | bgxl*)
14520 # IBM XL 8.0 on PPC, with GNU ld
14521 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14522 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14523 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14524 if test "x$supports_anon_versioning" = xyes; then
14525 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14526 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14527 echo "local: *; };" >> $output_objdir/$libname.ver~
14528 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14532 case `$CC -V 2>&1 | sed 5q` in
14533 *Sun\ C*)
14534 # Sun C++ 5.9
14535 no_undefined_flag_CXX=' -zdefs'
14536 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14537 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
14538 hardcode_libdir_flag_spec_CXX='-R$libdir'
14539 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14540 compiler_needs_object_CXX=yes
14542 # Not sure whether something based on
14543 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14544 # would be better.
14545 output_verbose_link_cmd='func_echo_all'
14547 # Archives containing C++ object files must be created using
14548 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14549 # necessary to make sure instantiated templates are included
14550 # in the archive.
14551 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14553 esac
14555 esac
14558 lynxos*)
14559 # FIXME: insert proper C++ library support
14560 ld_shlibs_CXX=no
14563 m88k*)
14564 # FIXME: insert proper C++ library support
14565 ld_shlibs_CXX=no
14568 mvs*)
14569 case $cc_basename in
14570 cxx*)
14571 # FIXME: insert proper C++ library support
14572 ld_shlibs_CXX=no
14575 # FIXME: insert proper C++ library support
14576 ld_shlibs_CXX=no
14578 esac
14581 netbsd*)
14582 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14583 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14584 wlarc=
14585 hardcode_libdir_flag_spec_CXX='-R$libdir'
14586 hardcode_direct_CXX=yes
14587 hardcode_shlibpath_var_CXX=no
14589 # Workaround some broken pre-1.5 toolchains
14590 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14593 *nto* | *qnx*)
14594 ld_shlibs_CXX=yes
14597 openbsd2*)
14598 # C++ shared libraries are fairly broken
14599 ld_shlibs_CXX=no
14602 openbsd*)
14603 if test -f /usr/libexec/ld.so; then
14604 hardcode_direct_CXX=yes
14605 hardcode_shlibpath_var_CXX=no
14606 hardcode_direct_absolute_CXX=yes
14607 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14608 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14609 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14611 export_dynamic_flag_spec_CXX='${wl}-E'
14612 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14614 output_verbose_link_cmd=func_echo_all
14615 else
14616 ld_shlibs_CXX=no
14620 osf3* | osf4* | osf5*)
14621 case $cc_basename in
14622 KCC*)
14623 # Kuck and Associates, Inc. (KAI) C++ Compiler
14625 # KCC will only create a shared library if the output file
14626 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14627 # to its proper name (with version) after linking.
14628 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14630 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14631 hardcode_libdir_separator_CXX=:
14633 # Archives containing C++ object files must be created using
14634 # the KAI C++ compiler.
14635 case $host in
14636 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14637 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14638 esac
14640 RCC*)
14641 # Rational C++ 2.4.1
14642 # FIXME: insert proper C++ library support
14643 ld_shlibs_CXX=no
14645 cxx*)
14646 case $host in
14647 osf3*)
14648 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14649 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14650 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14653 allow_undefined_flag_CXX=' -expect_unresolved \*'
14654 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14655 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14656 echo "-hidden">> $lib.exp~
14657 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14658 $RM $lib.exp'
14659 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14661 esac
14663 hardcode_libdir_separator_CXX=:
14665 # Commands to make compiler produce verbose output that lists
14666 # what "hidden" libraries, object files and flags are used when
14667 # linking a shared library.
14669 # There doesn't appear to be a way to prevent this compiler from
14670 # explicitly linking system object files so we need to strip them
14671 # from the output so that they don't get included in the library
14672 # dependencies.
14673 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14676 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14677 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14678 case $host in
14679 osf3*)
14680 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14683 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14685 esac
14687 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14688 hardcode_libdir_separator_CXX=:
14690 # Commands to make compiler produce verbose output that lists
14691 # what "hidden" libraries, object files and flags are used when
14692 # linking a shared library.
14693 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14695 else
14696 # FIXME: insert proper C++ library support
14697 ld_shlibs_CXX=no
14700 esac
14703 psos*)
14704 # FIXME: insert proper C++ library support
14705 ld_shlibs_CXX=no
14708 sunos4*)
14709 case $cc_basename in
14710 CC*)
14711 # Sun C++ 4.x
14712 # FIXME: insert proper C++ library support
14713 ld_shlibs_CXX=no
14715 lcc*)
14716 # Lucid
14717 # FIXME: insert proper C++ library support
14718 ld_shlibs_CXX=no
14721 # FIXME: insert proper C++ library support
14722 ld_shlibs_CXX=no
14724 esac
14727 solaris*)
14728 case $cc_basename in
14729 CC*)
14730 # Sun C++ 4.2, 5.x and Centerline C++
14731 archive_cmds_need_lc_CXX=yes
14732 no_undefined_flag_CXX=' -zdefs'
14733 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14734 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14735 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14737 hardcode_libdir_flag_spec_CXX='-R$libdir'
14738 hardcode_shlibpath_var_CXX=no
14739 case $host_os in
14740 solaris2.[0-5] | solaris2.[0-5].*) ;;
14742 # The compiler driver will combine and reorder linker options,
14743 # but understands `-z linker_flag'.
14744 # Supported since Solaris 2.6 (maybe 2.5.1?)
14745 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14747 esac
14748 link_all_deplibs_CXX=yes
14750 output_verbose_link_cmd='func_echo_all'
14752 # Archives containing C++ object files must be created using
14753 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14754 # necessary to make sure instantiated templates are included
14755 # in the archive.
14756 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14758 gcx*)
14759 # Green Hills C++ Compiler
14760 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14762 # The C++ compiler must be used to create the archive.
14763 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14766 # GNU C++ compiler with Solaris linker
14767 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14768 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14769 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14770 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14771 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14772 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14774 # Commands to make compiler produce verbose output that lists
14775 # what "hidden" libraries, object files and flags are used when
14776 # linking a shared library.
14777 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14778 else
14779 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14780 # platform.
14781 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14782 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14783 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14785 # Commands to make compiler produce verbose output that lists
14786 # what "hidden" libraries, object files and flags are used when
14787 # linking a shared library.
14788 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14791 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14792 case $host_os in
14793 solaris2.[0-5] | solaris2.[0-5].*) ;;
14795 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14797 esac
14800 esac
14803 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14804 no_undefined_flag_CXX='${wl}-z,text'
14805 archive_cmds_need_lc_CXX=no
14806 hardcode_shlibpath_var_CXX=no
14807 runpath_var='LD_RUN_PATH'
14809 case $cc_basename in
14810 CC*)
14811 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14812 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14815 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14816 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14818 esac
14821 sysv5* | sco3.2v5* | sco5v6*)
14822 # Note: We can NOT use -z defs as we might desire, because we do not
14823 # link with -lc, and that would cause any symbols used from libc to
14824 # always be unresolved, which means just about no library would
14825 # ever link correctly. If we're not using GNU ld we use -z text
14826 # though, which does catch some bad symbols but isn't as heavy-handed
14827 # as -z defs.
14828 no_undefined_flag_CXX='${wl}-z,text'
14829 allow_undefined_flag_CXX='${wl}-z,nodefs'
14830 archive_cmds_need_lc_CXX=no
14831 hardcode_shlibpath_var_CXX=no
14832 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14833 hardcode_libdir_separator_CXX=':'
14834 link_all_deplibs_CXX=yes
14835 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14836 runpath_var='LD_RUN_PATH'
14838 case $cc_basename in
14839 CC*)
14840 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14841 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14842 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14843 '"$old_archive_cmds_CXX"
14844 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14845 '"$reload_cmds_CXX"
14848 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14849 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14851 esac
14854 tandem*)
14855 case $cc_basename in
14856 NCC*)
14857 # NonStop-UX NCC 3.20
14858 # FIXME: insert proper C++ library support
14859 ld_shlibs_CXX=no
14862 # FIXME: insert proper C++ library support
14863 ld_shlibs_CXX=no
14865 esac
14868 vxworks*)
14869 # FIXME: insert proper C++ library support
14870 ld_shlibs_CXX=no
14874 # FIXME: insert proper C++ library support
14875 ld_shlibs_CXX=no
14877 esac
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14880 $as_echo "$ld_shlibs_CXX" >&6; }
14881 test "$ld_shlibs_CXX" = no && can_build_shared=no
14883 GCC_CXX="$GXX"
14884 LD_CXX="$LD"
14886 ## CAVEAT EMPTOR:
14887 ## There is no encapsulation within the following macros, do not change
14888 ## the running order or otherwise move them around unless you know exactly
14889 ## what you are doing...
14890 # Dependencies to place before and after the object being linked:
14891 predep_objects_CXX=
14892 postdep_objects_CXX=
14893 predeps_CXX=
14894 postdeps_CXX=
14895 compiler_lib_search_path_CXX=
14897 cat > conftest.$ac_ext <<_LT_EOF
14898 class Foo
14900 public:
14901 Foo (void) { a = 0; }
14902 private:
14903 int a;
14905 _LT_EOF
14907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14908 (eval $ac_compile) 2>&5
14909 ac_status=$?
14910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14911 test $ac_status = 0; }; then
14912 # Parse the compiler output and extract the necessary
14913 # objects, libraries and library flags.
14915 # Sentinel used to keep track of whether or not we are before
14916 # the conftest object file.
14917 pre_test_object_deps_done=no
14919 for p in `eval "$output_verbose_link_cmd"`; do
14920 case $p in
14922 -L* | -R* | -l*)
14923 # Some compilers place space between "-{L,R}" and the path.
14924 # Remove the space.
14925 if test $p = "-L" ||
14926 test $p = "-R"; then
14927 prev=$p
14928 continue
14929 else
14930 prev=
14933 if test "$pre_test_object_deps_done" = no; then
14934 case $p in
14935 -L* | -R*)
14936 # Internal compiler library paths should come after those
14937 # provided the user. The postdeps already come after the
14938 # user supplied libs so there is no need to process them.
14939 if test -z "$compiler_lib_search_path_CXX"; then
14940 compiler_lib_search_path_CXX="${prev}${p}"
14941 else
14942 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14945 # The "-l" case would never come before the object being
14946 # linked, so don't bother handling this case.
14947 esac
14948 else
14949 if test -z "$postdeps_CXX"; then
14950 postdeps_CXX="${prev}${p}"
14951 else
14952 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14957 *.$objext)
14958 # This assumes that the test object file only shows up
14959 # once in the compiler output.
14960 if test "$p" = "conftest.$objext"; then
14961 pre_test_object_deps_done=yes
14962 continue
14965 if test "$pre_test_object_deps_done" = no; then
14966 if test -z "$predep_objects_CXX"; then
14967 predep_objects_CXX="$p"
14968 else
14969 predep_objects_CXX="$predep_objects_CXX $p"
14971 else
14972 if test -z "$postdep_objects_CXX"; then
14973 postdep_objects_CXX="$p"
14974 else
14975 postdep_objects_CXX="$postdep_objects_CXX $p"
14980 *) ;; # Ignore the rest.
14982 esac
14983 done
14985 # Clean up.
14986 rm -f a.out a.exe
14987 else
14988 echo "libtool.m4: error: problem compiling CXX test program"
14991 $RM -f confest.$objext
14993 # PORTME: override above test on systems where it is broken
14994 case $host_os in
14995 interix[3-9]*)
14996 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14997 # hack all around it, let's just trust "g++" to DTRT.
14998 predep_objects_CXX=
14999 postdep_objects_CXX=
15000 postdeps_CXX=
15003 linux*)
15004 case `$CC -V 2>&1 | sed 5q` in
15005 *Sun\ C*)
15006 # Sun C++ 5.9
15008 # The more standards-conforming stlport4 library is
15009 # incompatible with the Cstd library. Avoid specifying
15010 # it if it's in CXXFLAGS. Ignore libCrun as
15011 # -library=stlport4 depends on it.
15012 case " $CXX $CXXFLAGS " in
15013 *" -library=stlport4 "*)
15014 solaris_use_stlport4=yes
15016 esac
15018 if test "$solaris_use_stlport4" != yes; then
15019 postdeps_CXX='-library=Cstd -library=Crun'
15022 esac
15025 solaris*)
15026 case $cc_basename in
15027 CC*)
15028 # The more standards-conforming stlport4 library is
15029 # incompatible with the Cstd library. Avoid specifying
15030 # it if it's in CXXFLAGS. Ignore libCrun as
15031 # -library=stlport4 depends on it.
15032 case " $CXX $CXXFLAGS " in
15033 *" -library=stlport4 "*)
15034 solaris_use_stlport4=yes
15036 esac
15038 # Adding this requires a known-good setup of shared libraries for
15039 # Sun compiler versions before 5.6, else PIC objects from an old
15040 # archive will be linked into the output, leading to subtle bugs.
15041 if test "$solaris_use_stlport4" != yes; then
15042 postdeps_CXX='-library=Cstd -library=Crun'
15045 esac
15047 esac
15050 case " $postdeps_CXX " in
15051 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15052 esac
15053 compiler_lib_search_dirs_CXX=
15054 if test -n "${compiler_lib_search_path_CXX}"; then
15055 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15088 lt_prog_compiler_wl_CXX=
15089 lt_prog_compiler_pic_CXX=
15090 lt_prog_compiler_static_CXX=
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15093 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15095 # C++ specific cases for pic, static, wl, etc.
15096 if test "$GXX" = yes; then
15097 lt_prog_compiler_wl_CXX='-Wl,'
15098 lt_prog_compiler_static_CXX='-static'
15100 case $host_os in
15101 aix*)
15102 # All AIX code is PIC.
15103 if test "$host_cpu" = ia64; then
15104 # AIX 5 now supports IA64 processor
15105 lt_prog_compiler_static_CXX='-Bstatic'
15107 lt_prog_compiler_pic_CXX='-fPIC'
15110 amigaos*)
15111 case $host_cpu in
15112 powerpc)
15113 # see comment about AmigaOS4 .so support
15114 lt_prog_compiler_pic_CXX='-fPIC'
15116 m68k)
15117 # FIXME: we need at least 68020 code to build shared libraries, but
15118 # adding the `-m68020' flag to GCC prevents building anything better,
15119 # like `-m68040'.
15120 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15122 esac
15125 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15126 # PIC is the default for these OSes.
15128 mingw* | cygwin* | os2* | pw32* | cegcc*)
15129 # This hack is so that the source file can tell whether it is being
15130 # built for inclusion in a dll (and should export symbols for example).
15131 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15132 # (--disable-auto-import) libraries
15133 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15135 darwin* | rhapsody*)
15136 # PIC is the default on this platform
15137 # Common symbols not allowed in MH_DYLIB files
15138 lt_prog_compiler_pic_CXX='-fno-common'
15140 *djgpp*)
15141 # DJGPP does not support shared libraries at all
15142 lt_prog_compiler_pic_CXX=
15144 haiku*)
15145 # PIC is the default for Haiku.
15146 # The "-static" flag exists, but is broken.
15147 lt_prog_compiler_static_CXX=
15149 interix[3-9]*)
15150 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15151 # Instead, we relocate shared libraries at runtime.
15153 sysv4*MP*)
15154 if test -d /usr/nec; then
15155 lt_prog_compiler_pic_CXX=-Kconform_pic
15158 hpux*)
15159 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15160 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15161 # sets the default TLS model and affects inlining.
15162 case $host_cpu in
15163 hppa*64*)
15166 lt_prog_compiler_pic_CXX='-fPIC'
15168 esac
15170 *qnx* | *nto*)
15171 # QNX uses GNU C++, but need to define -shared option too, otherwise
15172 # it will coredump.
15173 lt_prog_compiler_pic_CXX='-fPIC -shared'
15176 lt_prog_compiler_pic_CXX='-fPIC'
15178 esac
15179 else
15180 case $host_os in
15181 aix[4-9]*)
15182 # All AIX code is PIC.
15183 if test "$host_cpu" = ia64; then
15184 # AIX 5 now supports IA64 processor
15185 lt_prog_compiler_static_CXX='-Bstatic'
15186 else
15187 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15190 chorus*)
15191 case $cc_basename in
15192 cxch68*)
15193 # Green Hills C++ Compiler
15194 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15196 esac
15198 dgux*)
15199 case $cc_basename in
15200 ec++*)
15201 lt_prog_compiler_pic_CXX='-KPIC'
15203 ghcx*)
15204 # Green Hills C++ Compiler
15205 lt_prog_compiler_pic_CXX='-pic'
15209 esac
15211 freebsd* | dragonfly*)
15212 # FreeBSD uses GNU C++
15214 hpux9* | hpux10* | hpux11*)
15215 case $cc_basename in
15216 CC*)
15217 lt_prog_compiler_wl_CXX='-Wl,'
15218 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15219 if test "$host_cpu" != ia64; then
15220 lt_prog_compiler_pic_CXX='+Z'
15223 aCC*)
15224 lt_prog_compiler_wl_CXX='-Wl,'
15225 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15226 case $host_cpu in
15227 hppa*64*|ia64*)
15228 # +Z the default
15231 lt_prog_compiler_pic_CXX='+Z'
15233 esac
15237 esac
15239 interix*)
15240 # This is c89, which is MS Visual C++ (no shared libs)
15241 # Anyone wants to do a port?
15243 irix5* | irix6* | nonstopux*)
15244 case $cc_basename in
15245 CC*)
15246 lt_prog_compiler_wl_CXX='-Wl,'
15247 lt_prog_compiler_static_CXX='-non_shared'
15248 # CC pic flag -KPIC is the default.
15252 esac
15254 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15255 case $cc_basename in
15256 KCC*)
15257 # KAI C++ Compiler
15258 lt_prog_compiler_wl_CXX='--backend -Wl,'
15259 lt_prog_compiler_pic_CXX='-fPIC'
15261 ecpc* )
15262 # old Intel C++ for x86_64 which still supported -KPIC.
15263 lt_prog_compiler_wl_CXX='-Wl,'
15264 lt_prog_compiler_pic_CXX='-KPIC'
15265 lt_prog_compiler_static_CXX='-static'
15267 icpc* )
15268 # Intel C++, used to be incompatible with GCC.
15269 # ICC 10 doesn't accept -KPIC any more.
15270 lt_prog_compiler_wl_CXX='-Wl,'
15271 lt_prog_compiler_pic_CXX='-fPIC'
15272 lt_prog_compiler_static_CXX='-static'
15274 pgCC* | pgcpp*)
15275 # Portland Group C++ compiler
15276 lt_prog_compiler_wl_CXX='-Wl,'
15277 lt_prog_compiler_pic_CXX='-fpic'
15278 lt_prog_compiler_static_CXX='-Bstatic'
15280 cxx*)
15281 # Compaq C++
15282 # Make sure the PIC flag is empty. It appears that all Alpha
15283 # Linux and Compaq Tru64 Unix objects are PIC.
15284 lt_prog_compiler_pic_CXX=
15285 lt_prog_compiler_static_CXX='-non_shared'
15287 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15288 # IBM XL 8.0, 9.0 on PPC and BlueGene
15289 lt_prog_compiler_wl_CXX='-Wl,'
15290 lt_prog_compiler_pic_CXX='-qpic'
15291 lt_prog_compiler_static_CXX='-qstaticlink'
15294 case `$CC -V 2>&1 | sed 5q` in
15295 *Sun\ C*)
15296 # Sun C++ 5.9
15297 lt_prog_compiler_pic_CXX='-KPIC'
15298 lt_prog_compiler_static_CXX='-Bstatic'
15299 lt_prog_compiler_wl_CXX='-Qoption ld '
15301 esac
15303 esac
15305 lynxos*)
15307 m88k*)
15309 mvs*)
15310 case $cc_basename in
15311 cxx*)
15312 lt_prog_compiler_pic_CXX='-W c,exportall'
15316 esac
15318 netbsd*)
15320 *qnx* | *nto*)
15321 # QNX uses GNU C++, but need to define -shared option too, otherwise
15322 # it will coredump.
15323 lt_prog_compiler_pic_CXX='-fPIC -shared'
15325 osf3* | osf4* | osf5*)
15326 case $cc_basename in
15327 KCC*)
15328 lt_prog_compiler_wl_CXX='--backend -Wl,'
15330 RCC*)
15331 # Rational C++ 2.4.1
15332 lt_prog_compiler_pic_CXX='-pic'
15334 cxx*)
15335 # Digital/Compaq C++
15336 lt_prog_compiler_wl_CXX='-Wl,'
15337 # Make sure the PIC flag is empty. It appears that all Alpha
15338 # Linux and Compaq Tru64 Unix objects are PIC.
15339 lt_prog_compiler_pic_CXX=
15340 lt_prog_compiler_static_CXX='-non_shared'
15344 esac
15346 psos*)
15348 solaris*)
15349 case $cc_basename in
15350 CC*)
15351 # Sun C++ 4.2, 5.x and Centerline C++
15352 lt_prog_compiler_pic_CXX='-KPIC'
15353 lt_prog_compiler_static_CXX='-Bstatic'
15354 lt_prog_compiler_wl_CXX='-Qoption ld '
15356 gcx*)
15357 # Green Hills C++ Compiler
15358 lt_prog_compiler_pic_CXX='-PIC'
15362 esac
15364 sunos4*)
15365 case $cc_basename in
15366 CC*)
15367 # Sun C++ 4.x
15368 lt_prog_compiler_pic_CXX='-pic'
15369 lt_prog_compiler_static_CXX='-Bstatic'
15371 lcc*)
15372 # Lucid
15373 lt_prog_compiler_pic_CXX='-pic'
15377 esac
15379 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15380 case $cc_basename in
15381 CC*)
15382 lt_prog_compiler_wl_CXX='-Wl,'
15383 lt_prog_compiler_pic_CXX='-KPIC'
15384 lt_prog_compiler_static_CXX='-Bstatic'
15386 esac
15388 tandem*)
15389 case $cc_basename in
15390 NCC*)
15391 # NonStop-UX NCC 3.20
15392 lt_prog_compiler_pic_CXX='-KPIC'
15396 esac
15398 vxworks*)
15401 lt_prog_compiler_can_build_shared_CXX=no
15403 esac
15406 case $host_os in
15407 # For platforms which do not support PIC, -DPIC is meaningless:
15408 *djgpp*)
15409 lt_prog_compiler_pic_CXX=
15412 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15414 esac
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15416 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15421 # Check to make sure the PIC flag actually works.
15423 if test -n "$lt_prog_compiler_pic_CXX"; then
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15425 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15426 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15427 $as_echo_n "(cached) " >&6
15428 else
15429 lt_cv_prog_compiler_pic_works_CXX=no
15430 ac_outfile=conftest.$ac_objext
15431 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15432 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15433 # Insert the option either (1) after the last *FLAGS variable, or
15434 # (2) before a word containing "conftest.", or (3) at the end.
15435 # Note that $ac_compile itself does not contain backslashes and begins
15436 # with a dollar sign (not a hyphen), so the echo should work correctly.
15437 # The option is referenced via a variable to avoid confusing sed.
15438 lt_compile=`echo "$ac_compile" | $SED \
15439 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15440 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15441 -e 's:$: $lt_compiler_flag:'`
15442 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15443 (eval "$lt_compile" 2>conftest.err)
15444 ac_status=$?
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 if (exit $ac_status) && test -s "$ac_outfile"; then
15448 # The compiler can only warn and ignore the option if not recognized
15449 # So say no if there are warnings other than the usual output.
15450 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15451 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15452 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15453 lt_cv_prog_compiler_pic_works_CXX=yes
15456 $RM conftest*
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15460 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15462 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15463 case $lt_prog_compiler_pic_CXX in
15464 "" | " "*) ;;
15465 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15466 esac
15467 else
15468 lt_prog_compiler_pic_CXX=
15469 lt_prog_compiler_can_build_shared_CXX=no
15477 # Check to make sure the static flag actually works.
15479 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15481 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15482 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15483 $as_echo_n "(cached) " >&6
15484 else
15485 lt_cv_prog_compiler_static_works_CXX=no
15486 save_LDFLAGS="$LDFLAGS"
15487 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15488 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15489 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15490 # The linker can only warn and ignore the option if not recognized
15491 # So say no if there are warnings
15492 if test -s conftest.err; then
15493 # Append any errors to the config.log.
15494 cat conftest.err 1>&5
15495 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15496 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15497 if diff conftest.exp conftest.er2 >/dev/null; then
15498 lt_cv_prog_compiler_static_works_CXX=yes
15500 else
15501 lt_cv_prog_compiler_static_works_CXX=yes
15504 $RM -r conftest*
15505 LDFLAGS="$save_LDFLAGS"
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15509 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15511 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15513 else
15514 lt_prog_compiler_static_CXX=
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15521 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15522 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15523 $as_echo_n "(cached) " >&6
15524 else
15525 lt_cv_prog_compiler_c_o_CXX=no
15526 $RM -r conftest 2>/dev/null
15527 mkdir conftest
15528 cd conftest
15529 mkdir out
15530 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15532 lt_compiler_flag="-o out/conftest2.$ac_objext"
15533 # Insert the option either (1) after the last *FLAGS variable, or
15534 # (2) before a word containing "conftest.", or (3) at the end.
15535 # Note that $ac_compile itself does not contain backslashes and begins
15536 # with a dollar sign (not a hyphen), so the echo should work correctly.
15537 lt_compile=`echo "$ac_compile" | $SED \
15538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15540 -e 's:$: $lt_compiler_flag:'`
15541 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15542 (eval "$lt_compile" 2>out/conftest.err)
15543 ac_status=$?
15544 cat out/conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15547 then
15548 # The compiler can only warn and ignore the option if not recognized
15549 # So say no if there are warnings
15550 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15551 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15552 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15553 lt_cv_prog_compiler_c_o_CXX=yes
15556 chmod u+w . 2>&5
15557 $RM conftest*
15558 # SGI C++ compiler will create directory out/ii_files/ for
15559 # template instantiation
15560 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15561 $RM out/* && rmdir out
15562 cd ..
15563 $RM -r conftest
15564 $RM conftest*
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15568 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15573 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15574 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15575 $as_echo_n "(cached) " >&6
15576 else
15577 lt_cv_prog_compiler_c_o_CXX=no
15578 $RM -r conftest 2>/dev/null
15579 mkdir conftest
15580 cd conftest
15581 mkdir out
15582 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15584 lt_compiler_flag="-o out/conftest2.$ac_objext"
15585 # Insert the option either (1) after the last *FLAGS variable, or
15586 # (2) before a word containing "conftest.", or (3) at the end.
15587 # Note that $ac_compile itself does not contain backslashes and begins
15588 # with a dollar sign (not a hyphen), so the echo should work correctly.
15589 lt_compile=`echo "$ac_compile" | $SED \
15590 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15591 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15592 -e 's:$: $lt_compiler_flag:'`
15593 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15594 (eval "$lt_compile" 2>out/conftest.err)
15595 ac_status=$?
15596 cat out/conftest.err >&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15599 then
15600 # The compiler can only warn and ignore the option if not recognized
15601 # So say no if there are warnings
15602 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15603 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15604 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15605 lt_cv_prog_compiler_c_o_CXX=yes
15608 chmod u+w . 2>&5
15609 $RM conftest*
15610 # SGI C++ compiler will create directory out/ii_files/ for
15611 # template instantiation
15612 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15613 $RM out/* && rmdir out
15614 cd ..
15615 $RM -r conftest
15616 $RM conftest*
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15620 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15625 hard_links="nottested"
15626 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15627 # do not overwrite the value of need_locks provided by the user
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15629 $as_echo_n "checking if we can lock with hard links... " >&6; }
15630 hard_links=yes
15631 $RM conftest*
15632 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15633 touch conftest.a
15634 ln conftest.a conftest.b 2>&5 || hard_links=no
15635 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15637 $as_echo "$hard_links" >&6; }
15638 if test "$hard_links" = no; then
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15640 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15641 need_locks=warn
15643 else
15644 need_locks=no
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15650 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15652 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15653 case $host_os in
15654 aix[4-9]*)
15655 # If we're using GNU nm, then we don't want the "-C" option.
15656 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15657 # Also, AIX nm treats weak defined symbols like other global defined
15658 # symbols, whereas GNU nm marks them as "W".
15659 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15660 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15661 else
15662 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15665 pw32*)
15666 export_symbols_cmds_CXX="$ltdll_cmds"
15668 cygwin* | mingw* | cegcc*)
15669 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15672 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15674 esac
15675 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15678 $as_echo "$ld_shlibs_CXX" >&6; }
15679 test "$ld_shlibs_CXX" = no && can_build_shared=no
15681 with_gnu_ld_CXX=$with_gnu_ld
15689 # Do we need to explicitly link libc?
15691 case "x$archive_cmds_need_lc_CXX" in
15692 x|xyes)
15693 # Assume -lc should be added
15694 archive_cmds_need_lc_CXX=yes
15696 if test "$enable_shared" = yes && test "$GCC" = yes; then
15697 case $archive_cmds_CXX in
15698 *'~'*)
15699 # FIXME: we may have to deal with multi-command sequences.
15701 '$CC '*)
15702 # Test whether the compiler implicitly links with -lc since on some
15703 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15704 # to ld, don't add -lc before -lgcc.
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15706 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15707 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15708 $as_echo_n "(cached) " >&6
15709 else
15710 $RM conftest*
15711 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15714 (eval $ac_compile) 2>&5
15715 ac_status=$?
15716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15717 test $ac_status = 0; } 2>conftest.err; then
15718 soname=conftest
15719 lib=conftest
15720 libobjs=conftest.$ac_objext
15721 deplibs=
15722 wl=$lt_prog_compiler_wl_CXX
15723 pic_flag=$lt_prog_compiler_pic_CXX
15724 compiler_flags=-v
15725 linker_flags=-v
15726 verstring=
15727 output_objdir=.
15728 libname=conftest
15729 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15730 allow_undefined_flag_CXX=
15731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15732 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15733 ac_status=$?
15734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15735 test $ac_status = 0; }
15736 then
15737 lt_cv_archive_cmds_need_lc_CXX=no
15738 else
15739 lt_cv_archive_cmds_need_lc_CXX=yes
15741 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15742 else
15743 cat conftest.err 1>&5
15745 $RM conftest*
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15749 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15750 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15752 esac
15755 esac
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15821 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15823 library_names_spec=
15824 libname_spec='lib$name'
15825 soname_spec=
15826 shrext_cmds=".so"
15827 postinstall_cmds=
15828 postuninstall_cmds=
15829 finish_cmds=
15830 finish_eval=
15831 shlibpath_var=
15832 shlibpath_overrides_runpath=unknown
15833 version_type=none
15834 dynamic_linker="$host_os ld.so"
15835 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15836 need_lib_prefix=unknown
15837 hardcode_into_libs=no
15839 # when you set need_version to no, make sure it does not cause -set_version
15840 # flags to be left without arguments
15841 need_version=unknown
15843 case $host_os in
15844 aix3*)
15845 version_type=linux
15846 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15847 shlibpath_var=LIBPATH
15849 # AIX 3 has no versioning support, so we append a major version to the name.
15850 soname_spec='${libname}${release}${shared_ext}$major'
15853 aix[4-9]*)
15854 version_type=linux
15855 need_lib_prefix=no
15856 need_version=no
15857 hardcode_into_libs=yes
15858 if test "$host_cpu" = ia64; then
15859 # AIX 5 supports IA64
15860 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15861 shlibpath_var=LD_LIBRARY_PATH
15862 else
15863 # With GCC up to 2.95.x, collect2 would create an import file
15864 # for dependence libraries. The import file would start with
15865 # the line `#! .'. This would cause the generated library to
15866 # depend on `.', always an invalid library. This was fixed in
15867 # development snapshots of GCC prior to 3.0.
15868 case $host_os in
15869 aix4 | aix4.[01] | aix4.[01].*)
15870 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15871 echo ' yes '
15872 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15874 else
15875 can_build_shared=no
15878 esac
15879 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15880 # soname into executable. Probably we can add versioning support to
15881 # collect2, so additional links can be useful in future.
15882 if test "$aix_use_runtimelinking" = yes; then
15883 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15884 # instead of lib<name>.a to let people know that these are not
15885 # typical AIX shared libraries.
15886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15887 else
15888 # We preserve .a as extension for shared libraries through AIX4.2
15889 # and later when we are not doing run time linking.
15890 library_names_spec='${libname}${release}.a $libname.a'
15891 soname_spec='${libname}${release}${shared_ext}$major'
15893 shlibpath_var=LIBPATH
15897 amigaos*)
15898 case $host_cpu in
15899 powerpc)
15900 # Since July 2007 AmigaOS4 officially supports .so libraries.
15901 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15904 m68k)
15905 library_names_spec='$libname.ixlibrary $libname.a'
15906 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15907 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'
15909 esac
15912 beos*)
15913 library_names_spec='${libname}${shared_ext}'
15914 dynamic_linker="$host_os ld.so"
15915 shlibpath_var=LIBRARY_PATH
15918 bsdi[45]*)
15919 version_type=linux
15920 need_version=no
15921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15922 soname_spec='${libname}${release}${shared_ext}$major'
15923 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15924 shlibpath_var=LD_LIBRARY_PATH
15925 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15926 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15927 # the default ld.so.conf also contains /usr/contrib/lib and
15928 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15929 # libtool to hard-code these into programs
15932 cygwin* | mingw* | pw32* | cegcc*)
15933 version_type=windows
15934 shrext_cmds=".dll"
15935 need_version=no
15936 need_lib_prefix=no
15938 case $GCC,$host_os in
15939 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15940 library_names_spec='$libname.dll.a'
15941 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15942 postinstall_cmds='base_file=`basename \${file}`~
15943 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15944 dldir=$destdir/`dirname \$dlpath`~
15945 test -d \$dldir || mkdir -p \$dldir~
15946 $install_prog $dir/$dlname \$dldir/$dlname~
15947 chmod a+x \$dldir/$dlname~
15948 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15949 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15951 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15952 dlpath=$dir/\$dldll~
15953 $RM \$dlpath'
15954 shlibpath_overrides_runpath=yes
15956 case $host_os in
15957 cygwin*)
15958 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15959 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15962 mingw* | cegcc*)
15963 # MinGW DLLs use traditional 'lib' prefix
15964 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15966 pw32*)
15967 # pw32 DLLs use 'pw' prefix rather than 'lib'
15968 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15970 esac
15974 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15976 esac
15977 dynamic_linker='Win32 ld.exe'
15978 # FIXME: first we should search . and the directory the executable is in
15979 shlibpath_var=PATH
15982 darwin* | rhapsody*)
15983 dynamic_linker="$host_os dyld"
15984 version_type=darwin
15985 need_lib_prefix=no
15986 need_version=no
15987 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15988 soname_spec='${libname}${release}${major}$shared_ext'
15989 shlibpath_overrides_runpath=yes
15990 shlibpath_var=DYLD_LIBRARY_PATH
15991 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15993 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15996 dgux*)
15997 version_type=linux
15998 need_lib_prefix=no
15999 need_version=no
16000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16001 soname_spec='${libname}${release}${shared_ext}$major'
16002 shlibpath_var=LD_LIBRARY_PATH
16005 freebsd* | dragonfly*)
16006 # DragonFly does not have aout. When/if they implement a new
16007 # versioning mechanism, adjust this.
16008 if test -x /usr/bin/objformat; then
16009 objformat=`/usr/bin/objformat`
16010 else
16011 case $host_os in
16012 freebsd[23].*) objformat=aout ;;
16013 *) objformat=elf ;;
16014 esac
16016 version_type=freebsd-$objformat
16017 case $version_type in
16018 freebsd-elf*)
16019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16020 need_version=no
16021 need_lib_prefix=no
16023 freebsd-*)
16024 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16025 need_version=yes
16027 esac
16028 shlibpath_var=LD_LIBRARY_PATH
16029 case $host_os in
16030 freebsd2.*)
16031 shlibpath_overrides_runpath=yes
16033 freebsd3.[01]* | freebsdelf3.[01]*)
16034 shlibpath_overrides_runpath=yes
16035 hardcode_into_libs=yes
16037 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16038 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16039 shlibpath_overrides_runpath=no
16040 hardcode_into_libs=yes
16042 *) # from 4.6 on, and DragonFly
16043 shlibpath_overrides_runpath=yes
16044 hardcode_into_libs=yes
16046 esac
16049 gnu*)
16050 version_type=linux
16051 need_lib_prefix=no
16052 need_version=no
16053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16054 soname_spec='${libname}${release}${shared_ext}$major'
16055 shlibpath_var=LD_LIBRARY_PATH
16056 hardcode_into_libs=yes
16059 haiku*)
16060 version_type=linux
16061 need_lib_prefix=no
16062 need_version=no
16063 dynamic_linker="$host_os runtime_loader"
16064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16065 soname_spec='${libname}${release}${shared_ext}$major'
16066 shlibpath_var=LIBRARY_PATH
16067 shlibpath_overrides_runpath=yes
16068 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16069 hardcode_into_libs=yes
16072 hpux9* | hpux10* | hpux11*)
16073 # Give a soname corresponding to the major version so that dld.sl refuses to
16074 # link against other versions.
16075 version_type=sunos
16076 need_lib_prefix=no
16077 need_version=no
16078 case $host_cpu in
16079 ia64*)
16080 shrext_cmds='.so'
16081 hardcode_into_libs=yes
16082 dynamic_linker="$host_os dld.so"
16083 shlibpath_var=LD_LIBRARY_PATH
16084 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16086 soname_spec='${libname}${release}${shared_ext}$major'
16087 if test "X$HPUX_IA64_MODE" = X32; then
16088 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16089 else
16090 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16092 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16094 hppa*64*)
16095 shrext_cmds='.sl'
16096 hardcode_into_libs=yes
16097 dynamic_linker="$host_os dld.sl"
16098 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16099 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16101 soname_spec='${libname}${release}${shared_ext}$major'
16102 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16103 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16106 shrext_cmds='.sl'
16107 dynamic_linker="$host_os dld.sl"
16108 shlibpath_var=SHLIB_PATH
16109 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16111 soname_spec='${libname}${release}${shared_ext}$major'
16113 esac
16114 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16115 postinstall_cmds='chmod 555 $lib'
16116 # or fails outright, so override atomically:
16117 install_override_mode=555
16120 interix[3-9]*)
16121 version_type=linux
16122 need_lib_prefix=no
16123 need_version=no
16124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16125 soname_spec='${libname}${release}${shared_ext}$major'
16126 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16127 shlibpath_var=LD_LIBRARY_PATH
16128 shlibpath_overrides_runpath=no
16129 hardcode_into_libs=yes
16132 irix5* | irix6* | nonstopux*)
16133 case $host_os in
16134 nonstopux*) version_type=nonstopux ;;
16136 if test "$lt_cv_prog_gnu_ld" = yes; then
16137 version_type=linux
16138 else
16139 version_type=irix
16140 fi ;;
16141 esac
16142 need_lib_prefix=no
16143 need_version=no
16144 soname_spec='${libname}${release}${shared_ext}$major'
16145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16146 case $host_os in
16147 irix5* | nonstopux*)
16148 libsuff= shlibsuff=
16151 case $LD in # libtool.m4 will add one of these switches to LD
16152 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16153 libsuff= shlibsuff= libmagic=32-bit;;
16154 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16155 libsuff=32 shlibsuff=N32 libmagic=N32;;
16156 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16157 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16158 *) libsuff= shlibsuff= libmagic=never-match;;
16159 esac
16161 esac
16162 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16163 shlibpath_overrides_runpath=no
16164 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16165 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16166 hardcode_into_libs=yes
16169 # No shared lib support for Linux oldld, aout, or coff.
16170 linux*oldld* | linux*aout* | linux*coff*)
16171 dynamic_linker=no
16174 # This must be Linux ELF.
16175 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16176 version_type=linux
16177 need_lib_prefix=no
16178 need_version=no
16179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16180 soname_spec='${libname}${release}${shared_ext}$major'
16181 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16182 shlibpath_var=LD_LIBRARY_PATH
16183 shlibpath_overrides_runpath=no
16185 # Some binutils ld are patched to set DT_RUNPATH
16186 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 lt_cv_shlibpath_overrides_runpath=no
16190 save_LDFLAGS=$LDFLAGS
16191 save_libdir=$libdir
16192 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16193 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16194 if test x$gcc_no_link = xyes; then
16195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16201 main ()
16205 return 0;
16207 _ACEOF
16208 if ac_fn_cxx_try_link "$LINENO"; then :
16209 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16210 lt_cv_shlibpath_overrides_runpath=yes
16213 rm -f core conftest.err conftest.$ac_objext \
16214 conftest$ac_exeext conftest.$ac_ext
16215 LDFLAGS=$save_LDFLAGS
16216 libdir=$save_libdir
16220 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16222 # This implies no fast_install, which is unacceptable.
16223 # Some rework will be needed to allow for fast_install
16224 # before this can be enabled.
16225 hardcode_into_libs=yes
16227 # Append ld.so.conf contents to the search path
16228 if test -f /etc/ld.so.conf; then
16229 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' ' '`
16230 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16233 # We used to test for /lib/ld.so.1 and disable shared libraries on
16234 # powerpc, because MkLinux only supported shared libraries with the
16235 # GNU dynamic linker. Since this was broken with cross compilers,
16236 # most powerpc-linux boxes support dynamic linking these days and
16237 # people can always --disable-shared, the test was removed, and we
16238 # assume the GNU/Linux dynamic linker is in use.
16239 dynamic_linker='GNU/Linux ld.so'
16242 netbsd*)
16243 version_type=sunos
16244 need_lib_prefix=no
16245 need_version=no
16246 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16248 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16249 dynamic_linker='NetBSD (a.out) ld.so'
16250 else
16251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16252 soname_spec='${libname}${release}${shared_ext}$major'
16253 dynamic_linker='NetBSD ld.elf_so'
16255 shlibpath_var=LD_LIBRARY_PATH
16256 shlibpath_overrides_runpath=yes
16257 hardcode_into_libs=yes
16260 newsos6)
16261 version_type=linux
16262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16263 shlibpath_var=LD_LIBRARY_PATH
16264 shlibpath_overrides_runpath=yes
16267 *nto* | *qnx*)
16268 version_type=qnx
16269 need_lib_prefix=no
16270 need_version=no
16271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16272 soname_spec='${libname}${release}${shared_ext}$major'
16273 shlibpath_var=LD_LIBRARY_PATH
16274 shlibpath_overrides_runpath=no
16275 hardcode_into_libs=yes
16276 dynamic_linker='ldqnx.so'
16279 openbsd*)
16280 version_type=sunos
16281 sys_lib_dlsearch_path_spec="/usr/lib"
16282 need_lib_prefix=no
16283 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16284 case $host_os in
16285 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16286 *) need_version=no ;;
16287 esac
16288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16289 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16290 shlibpath_var=LD_LIBRARY_PATH
16291 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16292 case $host_os in
16293 openbsd2.[89] | openbsd2.[89].*)
16294 shlibpath_overrides_runpath=no
16297 shlibpath_overrides_runpath=yes
16299 esac
16300 else
16301 shlibpath_overrides_runpath=yes
16305 os2*)
16306 libname_spec='$name'
16307 shrext_cmds=".dll"
16308 need_lib_prefix=no
16309 library_names_spec='$libname${shared_ext} $libname.a'
16310 dynamic_linker='OS/2 ld.exe'
16311 shlibpath_var=LIBPATH
16314 osf3* | osf4* | osf5*)
16315 version_type=osf
16316 need_lib_prefix=no
16317 need_version=no
16318 soname_spec='${libname}${release}${shared_ext}$major'
16319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16320 shlibpath_var=LD_LIBRARY_PATH
16321 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16322 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16325 rdos*)
16326 dynamic_linker=no
16329 solaris*)
16330 version_type=linux
16331 need_lib_prefix=no
16332 need_version=no
16333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16334 soname_spec='${libname}${release}${shared_ext}$major'
16335 shlibpath_var=LD_LIBRARY_PATH
16336 shlibpath_overrides_runpath=yes
16337 hardcode_into_libs=yes
16338 # ldd complains unless libraries are executable
16339 postinstall_cmds='chmod +x $lib'
16342 sunos4*)
16343 version_type=sunos
16344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16345 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16346 shlibpath_var=LD_LIBRARY_PATH
16347 shlibpath_overrides_runpath=yes
16348 if test "$with_gnu_ld" = yes; then
16349 need_lib_prefix=no
16351 need_version=yes
16354 sysv4 | sysv4.3*)
16355 version_type=linux
16356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16357 soname_spec='${libname}${release}${shared_ext}$major'
16358 shlibpath_var=LD_LIBRARY_PATH
16359 case $host_vendor in
16360 sni)
16361 shlibpath_overrides_runpath=no
16362 need_lib_prefix=no
16363 runpath_var=LD_RUN_PATH
16365 siemens)
16366 need_lib_prefix=no
16368 motorola)
16369 need_lib_prefix=no
16370 need_version=no
16371 shlibpath_overrides_runpath=no
16372 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16374 esac
16377 sysv4*MP*)
16378 if test -d /usr/nec ;then
16379 version_type=linux
16380 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16381 soname_spec='$libname${shared_ext}.$major'
16382 shlibpath_var=LD_LIBRARY_PATH
16386 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16387 version_type=freebsd-elf
16388 need_lib_prefix=no
16389 need_version=no
16390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16391 soname_spec='${libname}${release}${shared_ext}$major'
16392 shlibpath_var=LD_LIBRARY_PATH
16393 shlibpath_overrides_runpath=yes
16394 hardcode_into_libs=yes
16395 if test "$with_gnu_ld" = yes; then
16396 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16397 else
16398 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16399 case $host_os in
16400 sco3.2v5*)
16401 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16403 esac
16405 sys_lib_dlsearch_path_spec='/usr/lib'
16408 tpf*)
16409 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16410 version_type=linux
16411 need_lib_prefix=no
16412 need_version=no
16413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16414 shlibpath_var=LD_LIBRARY_PATH
16415 shlibpath_overrides_runpath=no
16416 hardcode_into_libs=yes
16419 uts4*)
16420 version_type=linux
16421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16422 soname_spec='${libname}${release}${shared_ext}$major'
16423 shlibpath_var=LD_LIBRARY_PATH
16427 dynamic_linker=no
16429 esac
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16431 $as_echo "$dynamic_linker" >&6; }
16432 test "$dynamic_linker" = no && can_build_shared=no
16434 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16435 if test "$GCC" = yes; then
16436 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16439 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16440 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16442 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16443 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16484 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16485 hardcode_action_CXX=
16486 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16487 test -n "$runpath_var_CXX" ||
16488 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16490 # We can hardcode non-existent directories.
16491 if test "$hardcode_direct_CXX" != no &&
16492 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16493 # have to relink, otherwise we might link with an installed library
16494 # when we should be linking with a yet-to-be-installed one
16495 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16496 test "$hardcode_minus_L_CXX" != no; then
16497 # Linking always hardcodes the temporary library directory.
16498 hardcode_action_CXX=relink
16499 else
16500 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16501 hardcode_action_CXX=immediate
16503 else
16504 # We cannot hardcode anything, or else we can only hardcode existing
16505 # directories.
16506 hardcode_action_CXX=unsupported
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16509 $as_echo "$hardcode_action_CXX" >&6; }
16511 if test "$hardcode_action_CXX" = relink ||
16512 test "$inherit_rpath_CXX" = yes; then
16513 # Fast installation is not supported
16514 enable_fast_install=no
16515 elif test "$shlibpath_overrides_runpath" = yes ||
16516 test "$enable_shared" = no; then
16517 # Fast installation is not necessary
16518 enable_fast_install=needless
16527 fi # test -n "$compiler"
16529 CC=$lt_save_CC
16530 LDCXX=$LD
16531 LD=$lt_save_LD
16532 GCC=$lt_save_GCC
16533 with_gnu_ld=$lt_save_with_gnu_ld
16534 lt_cv_path_LDCXX=$lt_cv_path_LD
16535 lt_cv_path_LD=$lt_save_path_LD
16536 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16537 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16538 fi # test "$_lt_caught_CXX_error" != yes
16540 ac_ext=c
16541 ac_cpp='$CPP $CPPFLAGS'
16542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16548 # Handle -Werror default case.
16549 if test "$ENABLE_WERROR" = default; then
16550 case "$host_os" in
16551 *linux*)
16552 if test "$GCC" = yes; then
16553 ENABLE_WERROR=yes
16556 esac
16559 if test "x${COMPILE_COLLECTIONS}" = xyes; then
16560 # Extract the first word of "perl", so it can be a program name with args.
16561 set dummy perl; ac_word=$2
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16563 $as_echo_n "checking for $ac_word... " >&6; }
16564 if test "${ac_cv_path_PERL+set}" = set; then :
16565 $as_echo_n "(cached) " >&6
16566 else
16567 case $PERL in
16568 [\\/]* | ?:[\\/]*)
16569 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16573 for as_dir in $PATH
16575 IFS=$as_save_IFS
16576 test -z "$as_dir" && as_dir=.
16577 for ac_exec_ext in '' $ac_executable_extensions; do
16578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16579 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16581 break 2
16583 done
16584 done
16585 IFS=$as_save_IFS
16588 esac
16590 PERL=$ac_cv_path_PERL
16591 if test -n "$PERL"; then
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16593 $as_echo "$PERL" >&6; }
16594 else
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16596 $as_echo "no" >&6; }
16602 ac_config_files="$ac_config_files lib/mkcollections.pl"
16604 ac_config_commands="$ac_config_commands mkcollections.pl"
16608 if test "x${COMPILE_JNI}" = xyes; then
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
16613 $as_echo_n "checking __attribute__((,,))... " >&6; }
16614 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then :
16615 $as_echo_n "(cached) " >&6
16616 else
16618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16619 /* end confdefs.h. */
16622 main ()
16624 extern int testfunction(int x) __attribute__((,,))
16626 return 0;
16628 _ACEOF
16629 if ac_fn_c_try_compile "$LINENO"; then :
16630 gcc_cv_c_gcc_attribute_supported=yes
16631 else
16632 gcc_cv_c_gcc_attribute_supported=no
16634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16638 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes; then
16639 true
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16641 $as_echo "yes" >&6; }
16643 $as_echo "#define HAVE_GNUC25_ATTRIB /**/" >>confdefs.h
16646 else
16647 true
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16649 $as_echo "no" >&6; }
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
16662 $as_echo_n "checking __attribute__((unused))... " >&6; }
16663 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then :
16664 $as_echo_n "(cached) " >&6
16665 else
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16671 main ()
16673 extern int testfunction(int x) __attribute__((unused))
16675 return 0;
16677 _ACEOF
16678 if ac_fn_c_try_compile "$LINENO"; then :
16679 gcc_cv_c_gcc_attribute_unused=yes
16680 else
16681 gcc_cv_c_gcc_attribute_unused=no
16683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16687 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes; then
16688 true
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16690 $as_echo "yes" >&6; }
16692 $as_echo "#define HAVE_GNUC25_UNUSED /**/" >>confdefs.h
16695 else
16696 true
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16698 $as_echo "no" >&6; }
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16707 $as_echo_n "checking for ANSI C header files... " >&6; }
16708 if test "${ac_cv_header_stdc+set}" = set; then :
16709 $as_echo_n "(cached) " >&6
16710 else
16711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16713 #include <stdlib.h>
16714 #include <stdarg.h>
16715 #include <string.h>
16716 #include <float.h>
16719 main ()
16723 return 0;
16725 _ACEOF
16726 if ac_fn_c_try_compile "$LINENO"; then :
16727 ac_cv_header_stdc=yes
16728 else
16729 ac_cv_header_stdc=no
16731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16733 if test $ac_cv_header_stdc = yes; then
16734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16737 #include <string.h>
16739 _ACEOF
16740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16741 $EGREP "memchr" >/dev/null 2>&1; then :
16743 else
16744 ac_cv_header_stdc=no
16746 rm -f conftest*
16750 if test $ac_cv_header_stdc = yes; then
16751 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16754 #include <stdlib.h>
16756 _ACEOF
16757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16758 $EGREP "free" >/dev/null 2>&1; then :
16760 else
16761 ac_cv_header_stdc=no
16763 rm -f conftest*
16767 if test $ac_cv_header_stdc = yes; then
16768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16769 if test "$cross_compiling" = yes; then :
16771 else
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16774 #include <ctype.h>
16775 #include <stdlib.h>
16776 #if ((' ' & 0x0FF) == 0x020)
16777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16779 #else
16780 # define ISLOWER(c) \
16781 (('a' <= (c) && (c) <= 'i') \
16782 || ('j' <= (c) && (c) <= 'r') \
16783 || ('s' <= (c) && (c) <= 'z'))
16784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16785 #endif
16787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16789 main ()
16791 int i;
16792 for (i = 0; i < 256; i++)
16793 if (XOR (islower (i), ISLOWER (i))
16794 || toupper (i) != TOUPPER (i))
16795 return 2;
16796 return 0;
16798 _ACEOF
16799 if ac_fn_c_try_run "$LINENO"; then :
16801 else
16802 ac_cv_header_stdc=no
16804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16805 conftest.$ac_objext conftest.beam conftest.$ac_ext
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16811 $as_echo "$ac_cv_header_stdc" >&6; }
16812 if test $ac_cv_header_stdc = yes; then
16814 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16820 $as_echo_n "checking size of void *... " >&6; }
16821 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16822 $as_echo_n "(cached) " >&6
16823 else
16824 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16827 #include "confdefs.h"
16828 #include <sys/types.h>
16832 main ()
16834 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16836 return 0;
16838 _ACEOF
16839 if ac_fn_c_try_compile "$LINENO"; then :
16840 ac_cv_sizeof_void_p=$ac_size
16842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16843 if test x$ac_cv_sizeof_void_p != x ; then break; fi
16844 done
16848 if test x$ac_cv_sizeof_void_p = x ; then
16849 as_fn_error "cannot determine a size for void *" "$LINENO" 5
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16852 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16854 cat >>confdefs.h <<_ACEOF
16855 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16856 _ACEOF
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16861 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16862 if test "${ac_cv_c_bigendian+set}" = set; then :
16863 $as_echo_n "(cached) " >&6
16864 else
16865 ac_cv_c_bigendian=unknown
16866 # See if sys/param.h defines the BYTE_ORDER macro.
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16869 #include <sys/types.h>
16870 #include <sys/param.h>
16872 main ()
16875 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16876 bogus endian macros
16877 #endif
16879 return 0;
16881 _ACEOF
16882 if ac_fn_c_try_compile "$LINENO"; then :
16883 # It does; now see whether it defined to BIG_ENDIAN or not.
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 #include <sys/types.h>
16887 #include <sys/param.h>
16889 main ()
16892 #if BYTE_ORDER != BIG_ENDIAN
16893 not big endian
16894 #endif
16896 return 0;
16898 _ACEOF
16899 if ac_fn_c_try_compile "$LINENO"; then :
16900 ac_cv_c_bigendian=yes
16901 else
16902 ac_cv_c_bigendian=no
16904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16907 if test $ac_cv_c_bigendian = unknown; then
16908 if test "$cross_compiling" = yes; then :
16909 echo $ac_n "cross-compiling... " 2>&6
16910 else
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16913 main () {
16914 /* Are we little or big endian? From Harbison&Steele. */
16915 union
16917 long l;
16918 char c[sizeof (long)];
16919 } u;
16920 u.l = 1;
16921 exit (u.c[sizeof (long) - 1] == 1);
16923 _ACEOF
16924 if ac_fn_c_try_run "$LINENO"; then :
16925 ac_cv_c_bigendian=no
16926 else
16927 ac_cv_c_bigendian=yes
16929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16930 conftest.$ac_objext conftest.beam conftest.$ac_ext
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16936 $as_echo "$ac_cv_c_bigendian" >&6; }
16937 if test $ac_cv_c_bigendian = unknown; then
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
16939 $as_echo_n "checking to probe for byte ordering... " >&6; }
16941 cat >conftest.c <<EOF
16942 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16943 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16944 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16945 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16946 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16947 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16948 int main() { _ascii (); _ebcdic (); return 0; }
16950 if test -f conftest.c ; then
16951 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
16952 if test `grep -l BIGenDianSyS conftest.o` ; then
16953 echo $ac_n ' big endian probe OK, ' 1>&6
16954 ac_cv_c_bigendian=yes
16956 if test `grep -l LiTTleEnDian conftest.o` ; then
16957 echo $ac_n ' little endian probe OK, ' 1>&6
16958 if test $ac_cv_c_bigendian = yes ; then
16959 ac_cv_c_bigendian=unknown;
16960 else
16961 ac_cv_c_bigendian=no
16964 echo $ac_n 'guessing bigendian ... ' >&6
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16968 $as_echo "$ac_cv_c_bigendian" >&6; }
16970 if test $ac_cv_c_bigendian = yes; then
16972 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16975 $as_echo "#define HOST_WORDS_BIG_ENDIAN 1" >>confdefs.h
16977 BYTEORDER=4321
16978 else
16979 BYTEORDER=1234
16982 cat >>confdefs.h <<_ACEOF
16983 #define BYTEORDER $BYTEORDER
16984 _ACEOF
16986 if test $ac_cv_c_bigendian = unknown; then
16987 as_fn_error "unknown endianess - sorry, please pre-set ac_cv_c_bigendian" "$LINENO" 5
16991 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
16992 asm/ioctls.h \
16993 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
16994 sys/time.h \
16995 sys/select.h \
16996 crt_externs.h \
16997 fcntl.h \
16998 sys/mman.h \
16999 magic.h \
17000 sys/event.h sys/epoll.h \
17001 ifaddrs.h \
17002 netinet/in_systm.h netinet/ip.h net/if.h \
17003 sys/loadavg.h sys/sockio.h
17004 do :
17005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17006 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17007 eval as_val=\$$as_ac_Header
17008 if test "x$as_val" = x""yes; then :
17009 cat >>confdefs.h <<_ACEOF
17010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17011 _ACEOF
17015 done
17018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h. */
17020 #include <stdint.h>
17022 _ACEOF
17023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17024 $EGREP "uint32_t" >/dev/null 2>&1; then :
17026 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17029 rm -f conftest*
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #include <inttypes.h>
17035 _ACEOF
17036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17037 $EGREP "uint32_t" >/dev/null 2>&1; then :
17039 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17042 rm -f conftest*
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17046 #include <sys/types.h>
17048 _ACEOF
17049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17050 $EGREP "u_int32_t" >/dev/null 2>&1; then :
17052 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17055 rm -f conftest*
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 #include <sys/config.h>
17061 _ACEOF
17062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17063 $EGREP "u_int32_t" >/dev/null 2>&1; then :
17065 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17068 rm -f conftest*
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17072 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17073 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_func_search_save_LIBS=$LIBS
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17080 /* Override any GCC internal prototype to avoid an error.
17081 Use char because int might match the return type of a GCC
17082 builtin and then its argument prototype would still apply. */
17083 #ifdef __cplusplus
17084 extern "C"
17085 #endif
17086 char clock_gettime ();
17088 main ()
17090 return clock_gettime ();
17092 return 0;
17094 _ACEOF
17095 for ac_lib in '' rt; do
17096 if test -z "$ac_lib"; then
17097 ac_res="none required"
17098 else
17099 ac_res=-l$ac_lib
17100 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17102 if test x$gcc_no_link = xyes; then
17103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17105 if ac_fn_c_try_link "$LINENO"; then :
17106 ac_cv_search_clock_gettime=$ac_res
17108 rm -f core conftest.err conftest.$ac_objext \
17109 conftest$ac_exeext
17110 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17111 break
17113 done
17114 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17116 else
17117 ac_cv_search_clock_gettime=no
17119 rm conftest.$ac_ext
17120 LIBS=$ac_func_search_save_LIBS
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17123 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17124 ac_res=$ac_cv_search_clock_gettime
17125 if test "$ac_res" != no; then :
17126 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17131 $as_echo_n "checking for library containing inet_pton... " >&6; }
17132 if test "${ac_cv_search_inet_pton+set}" = set; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 ac_func_search_save_LIBS=$LIBS
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17139 /* Override any GCC internal prototype to avoid an error.
17140 Use char because int might match the return type of a GCC
17141 builtin and then its argument prototype would still apply. */
17142 #ifdef __cplusplus
17143 extern "C"
17144 #endif
17145 char inet_pton ();
17147 main ()
17149 return inet_pton ();
17151 return 0;
17153 _ACEOF
17154 for ac_lib in '' nsl; do
17155 if test -z "$ac_lib"; then
17156 ac_res="none required"
17157 else
17158 ac_res=-l$ac_lib
17159 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17161 if test x$gcc_no_link = xyes; then
17162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17164 if ac_fn_c_try_link "$LINENO"; then :
17165 ac_cv_search_inet_pton=$ac_res
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext
17169 if test "${ac_cv_search_inet_pton+set}" = set; then :
17170 break
17172 done
17173 if test "${ac_cv_search_inet_pton+set}" = set; then :
17175 else
17176 ac_cv_search_inet_pton=no
17178 rm conftest.$ac_ext
17179 LIBS=$ac_func_search_save_LIBS
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17182 $as_echo "$ac_cv_search_inet_pton" >&6; }
17183 ac_res=$ac_cv_search_inet_pton
17184 if test "$ac_res" != no; then :
17185 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
17190 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
17191 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
17192 $as_echo_n "(cached) " >&6
17193 else
17194 ac_check_lib_save_LIBS=$LIBS
17195 LIBS="-lsocket $LIBS"
17196 if test x$gcc_no_link = xyes; then
17197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17202 /* Override any GCC internal prototype to avoid an error.
17203 Use char because int might match the return type of a GCC
17204 builtin and then its argument prototype would still apply. */
17205 #ifdef __cplusplus
17206 extern "C"
17207 #endif
17208 char gethostname ();
17210 main ()
17212 return gethostname ();
17214 return 0;
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 ac_cv_lib_socket_gethostname=yes
17219 else
17220 ac_cv_lib_socket_gethostname=no
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17224 LIBS=$ac_check_lib_save_LIBS
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
17227 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
17228 if test "x$ac_cv_lib_socket_gethostname" = x""yes; then :
17229 cat >>confdefs.h <<_ACEOF
17230 #define HAVE_LIBSOCKET 1
17231 _ACEOF
17233 LIBS="-lsocket $LIBS"
17238 for ac_func in ftruncate fsync select \
17239 gethostname socket strerror fork pipe execve open close \
17240 lseek fstat read readv write writev htonl memset htons connect \
17241 getsockname getpeername bind listen accept \
17242 recvfrom send sendto setsockopt getsockopt time mktime clock_gettime \
17243 gethostbyname_r localtime_r \
17244 strerror_r \
17245 fcntl \
17246 statvfs \
17247 mmap munmap mincore msync madvise getpagesize sysconf \
17248 lstat readlink \
17249 inet_aton inet_addr inet_pton \
17250 getifaddrs kqueue kevent epoll_create \
17251 getloadavg
17252 do :
17253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17255 eval as_val=\$$as_ac_var
17256 if test "x$as_val" = x""yes; then :
17257 cat >>confdefs.h <<_ACEOF
17258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17259 _ACEOF
17262 done
17265 LIBMAGIC=
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
17267 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
17268 if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
17269 $as_echo_n "(cached) " >&6
17270 else
17271 ac_check_lib_save_LIBS=$LIBS
17272 LIBS="-lmagic $LIBS"
17273 if test x$gcc_no_link = xyes; then
17274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17279 /* Override any GCC internal prototype to avoid an error.
17280 Use char because int might match the return type of a GCC
17281 builtin and then its argument prototype would still apply. */
17282 #ifdef __cplusplus
17283 extern "C"
17284 #endif
17285 char magic_open ();
17287 main ()
17289 return magic_open ();
17291 return 0;
17293 _ACEOF
17294 if ac_fn_c_try_link "$LINENO"; then :
17295 ac_cv_lib_magic_magic_open=yes
17296 else
17297 ac_cv_lib_magic_magic_open=no
17299 rm -f core conftest.err conftest.$ac_objext \
17300 conftest$ac_exeext conftest.$ac_ext
17301 LIBS=$ac_check_lib_save_LIBS
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
17304 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
17305 if test "x$ac_cv_lib_magic_magic_open" = x""yes; then :
17306 LIBMAGIC=-lmagic
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17312 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 #include <netinet/in.h>
17317 main ()
17319 struct sockaddr_in6 addr6;
17321 return 0;
17323 _ACEOF
17324 if ac_fn_c_try_compile "$LINENO"; then :
17326 $as_echo "#define HAVE_INET6 1" >>confdefs.h
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17329 $as_echo "yes" >&6; }
17330 else
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17332 $as_echo "no" >&6; }
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17337 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17338 if test "${ac_cv_header_time+set}" = set; then :
17339 $as_echo_n "(cached) " >&6
17340 else
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 #include <sys/types.h>
17344 #include <sys/time.h>
17345 #include <time.h>
17348 main ()
17350 if ((struct tm *) 0)
17351 return 0;
17353 return 0;
17355 _ACEOF
17356 if ac_fn_c_try_compile "$LINENO"; then :
17357 ac_cv_header_time=yes
17358 else
17359 ac_cv_header_time=no
17361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17364 $as_echo "$ac_cv_header_time" >&6; }
17365 if test $ac_cv_header_time = yes; then
17367 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17372 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17373 if test "${ac_cv_struct_tm+set}" = set; then :
17374 $as_echo_n "(cached) " >&6
17375 else
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 #include <sys/types.h>
17379 #include <time.h>
17382 main ()
17384 struct tm tm;
17385 int *p = &tm.tm_sec;
17386 return !p;
17388 return 0;
17390 _ACEOF
17391 if ac_fn_c_try_compile "$LINENO"; then :
17392 ac_cv_struct_tm=time.h
17393 else
17394 ac_cv_struct_tm=sys/time.h
17396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17399 $as_echo "$ac_cv_struct_tm" >&6; }
17400 if test $ac_cv_struct_tm = sys/time.h; then
17402 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17406 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
17407 #include <$ac_cv_struct_tm>
17410 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_STRUCT_TM_TM_ZONE 1
17414 _ACEOF
17419 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17421 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
17423 else
17424 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
17426 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
17427 ac_have_decl=1
17428 else
17429 ac_have_decl=0
17432 cat >>confdefs.h <<_ACEOF
17433 #define HAVE_DECL_TZNAME $ac_have_decl
17434 _ACEOF
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
17437 $as_echo_n "checking for tzname... " >&6; }
17438 if test "${ac_cv_var_tzname+set}" = set; then :
17439 $as_echo_n "(cached) " >&6
17440 else
17441 if test x$gcc_no_link = xyes; then
17442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17445 /* end confdefs.h. */
17446 #include <time.h>
17447 #if !HAVE_DECL_TZNAME
17448 extern char *tzname[];
17449 #endif
17452 main ()
17454 return tzname[0][0];
17456 return 0;
17458 _ACEOF
17459 if ac_fn_c_try_link "$LINENO"; then :
17460 ac_cv_var_tzname=yes
17461 else
17462 ac_cv_var_tzname=no
17464 rm -f core conftest.err conftest.$ac_objext \
17465 conftest$ac_exeext conftest.$ac_ext
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
17468 $as_echo "$ac_cv_var_tzname" >&6; }
17469 if test $ac_cv_var_tzname = yes; then
17471 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17478 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 #include <time.h>
17483 main ()
17485 struct tm tim; tim.tm_gmtoff = 0;
17487 return 0;
17489 _ACEOF
17490 if ac_fn_c_try_compile "$LINENO"; then :
17492 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17495 $as_echo "yes" >&6; }
17496 else
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17498 $as_echo "no" >&6; }
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
17500 $as_echo_n "checking for global timezone variable... " >&6; }
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17503 #include <time.h>
17505 main ()
17507 void i(){long z2 = 2*timezone;}
17509 return 0;
17511 _ACEOF
17512 if ac_fn_c_try_compile "$LINENO"; then :
17514 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17517 $as_echo "yes" >&6; }
17518 else
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17520 $as_echo "no" >&6; }
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
17522 $as_echo_n "checking for global _timezone variable... " >&6; }
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17525 #include <time.h>
17527 main ()
17529 long z2 = _timezone;
17531 return 0;
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17536 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17539 $as_echo "yes" >&6; }
17540 else
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17542 $as_echo "no" >&6; }
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17551 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17552 if test "${ac_cv_c_const+set}" = set; then :
17553 $as_echo_n "(cached) " >&6
17554 else
17555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17559 main ()
17561 /* FIXME: Include the comments suggested by Paul. */
17562 #ifndef __cplusplus
17563 /* Ultrix mips cc rejects this. */
17564 typedef int charset[2];
17565 const charset cs;
17566 /* SunOS 4.1.1 cc rejects this. */
17567 char const *const *pcpcc;
17568 char **ppc;
17569 /* NEC SVR4.0.2 mips cc rejects this. */
17570 struct point {int x, y;};
17571 static struct point const zero = {0,0};
17572 /* AIX XL C 1.02.0.0 rejects this.
17573 It does not let you subtract one const X* pointer from another in
17574 an arm of an if-expression whose if-part is not a constant
17575 expression */
17576 const char *g = "string";
17577 pcpcc = &g + (g ? g-g : 0);
17578 /* HPUX 7.0 cc rejects these. */
17579 ++pcpcc;
17580 ppc = (char**) pcpcc;
17581 pcpcc = (char const *const *) ppc;
17582 { /* SCO 3.2v4 cc rejects this. */
17583 char *t;
17584 char const *s = 0 ? (char *) 0 : (char const *) 0;
17586 *t++ = 0;
17587 if (s) return 0;
17589 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17590 int x[] = {25, 17};
17591 const int *foo = &x[0];
17592 ++foo;
17594 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17595 typedef const int *iptr;
17596 iptr p = 0;
17597 ++p;
17599 { /* AIX XL C 1.02.0.0 rejects this saying
17600 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17601 struct s { int j; const int *ap[3]; };
17602 struct s *b; b->j = 5;
17604 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17605 const int foo = 10;
17606 if (!foo) return 0;
17608 return !cs[0] && !zero.x;
17609 #endif
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_compile "$LINENO"; then :
17616 ac_cv_c_const=yes
17617 else
17618 ac_cv_c_const=no
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17623 $as_echo "$ac_cv_c_const" >&6; }
17624 if test $ac_cv_c_const = no; then
17626 $as_echo "#define const /**/" >>confdefs.h
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17631 $as_echo_n "checking for inline... " >&6; }
17632 if test "${ac_cv_c_inline+set}" = set; then :
17633 $as_echo_n "(cached) " >&6
17634 else
17635 ac_cv_c_inline=no
17636 for ac_kw in inline __inline__ __inline; do
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17639 #ifndef __cplusplus
17640 typedef int foo_t;
17641 static $ac_kw foo_t static_foo () {return 0; }
17642 $ac_kw foo_t foo () {return 0; }
17643 #endif
17645 _ACEOF
17646 if ac_fn_c_try_compile "$LINENO"; then :
17647 ac_cv_c_inline=$ac_kw
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 test "$ac_cv_c_inline" != no && break
17651 done
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17655 $as_echo "$ac_cv_c_inline" >&6; }
17657 case $ac_cv_c_inline in
17658 inline | yes) ;;
17660 case $ac_cv_c_inline in
17661 no) ac_val=;;
17662 *) ac_val=$ac_cv_c_inline;;
17663 esac
17664 cat >>confdefs.h <<_ACEOF
17665 #ifndef __cplusplus
17666 #define inline $ac_val
17667 #endif
17668 _ACEOF
17670 esac
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17673 $as_echo_n "checking for __attribute__... " >&6; }
17674 if test "${ac_cv_c_attribute+set}" = set; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17680 void foo(void) __attribute__ ((__noreturn__));
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 ac_cv_c_attribute=yes
17685 else
17686 ac_cv_c_attribute=no
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute" >&5
17693 $as_echo "$ac_cv_c_attribute" >&6; }
17695 case $ac_cv_c_attribute in
17696 yes) ;;
17698 cat >>confdefs.h <<_ACEOF
17699 #define __attribute__(x) /* nothing */
17700 _ACEOF
17702 esac
17706 ac_ext=c
17707 ac_cpp='$CPP $CPPFLAGS'
17708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
17713 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
17715 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17720 ################################################################
17722 ac_cv_func_which_gethostbyname_r=unknown
17725 # ONE ARGUMENT (sanity check)
17728 # This should fail, as there is no variant of gethostbyname_r() that takes
17729 # a single argument. If it actually compiles, then we can assume that
17730 # netdb.h is not declaring the function, and the compiler is thereby
17731 # assuming an implicit prototype. In which case, we're out of luck.
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17736 #include <netdb.h>
17738 main ()
17741 char *name = "www.gnu.org";
17742 (void)gethostbyname_r(name) /* ; */
17745 return 0;
17747 _ACEOF
17748 if ac_fn_c_try_compile "$LINENO"; then :
17749 ac_cv_func_which_gethostbyname_r=no
17751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17754 # SIX ARGUMENTS
17755 # (e.g. Linux)
17758 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 #include <netdb.h>
17765 main ()
17768 char *name = "www.gnu.org";
17769 struct hostent ret, *retp;
17770 char buf[1024];
17771 int buflen = 1024;
17772 int my_h_errno;
17773 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
17776 return 0;
17778 _ACEOF
17779 if ac_fn_c_try_compile "$LINENO"; then :
17780 ac_cv_func_which_gethostbyname_r=six
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787 # FIVE ARGUMENTS
17788 # (e.g. Solaris)
17791 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17796 #include <netdb.h>
17798 main ()
17801 char *name = "www.gnu.org";
17802 struct hostent ret;
17803 char buf[1024];
17804 int buflen = 1024;
17805 int my_h_errno;
17806 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
17809 return 0;
17811 _ACEOF
17812 if ac_fn_c_try_compile "$LINENO"; then :
17813 ac_cv_func_which_gethostbyname_r=five
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820 # THREE ARGUMENTS
17821 # (e.g. AIX, HP-UX, Tru64)
17824 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17829 #include <netdb.h>
17831 main ()
17834 char *name = "www.gnu.org";
17835 struct hostent ret;
17836 struct hostent_data data;
17837 (void)gethostbyname_r(name, &ret, &data) /* ; */
17840 return 0;
17842 _ACEOF
17843 if ac_fn_c_try_compile "$LINENO"; then :
17844 ac_cv_func_which_gethostbyname_r=three
17846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17850 ################################################################
17855 case "$ac_cv_func_which_gethostbyname_r" in
17856 three)
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
17858 $as_echo "three" >&6; }
17860 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
17864 five)
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
17866 $as_echo "five" >&6; }
17868 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
17872 six)
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
17874 $as_echo "six" >&6; }
17876 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
17882 $as_echo "cannot find function declaration in netdb.h" >&6; }
17885 unknown)
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
17887 $as_echo "can't tell" >&6; }
17891 as_fn_error "internal error" "$LINENO" 5
17893 esac
17895 ac_ext=c
17896 ac_cpp='$CPP $CPPFLAGS'
17897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17905 if test "X$prefix" = "XNONE"; then
17906 acl_final_prefix="$ac_default_prefix"
17907 else
17908 acl_final_prefix="$prefix"
17910 if test "X$exec_prefix" = "XNONE"; then
17911 acl_final_exec_prefix='${prefix}'
17912 else
17913 acl_final_exec_prefix="$exec_prefix"
17915 acl_save_prefix="$prefix"
17916 prefix="$acl_final_prefix"
17917 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17918 prefix="$acl_save_prefix"
17921 # Check whether --with-gnu-ld was given.
17922 if test "${with_gnu_ld+set}" = set; then :
17923 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17924 else
17925 with_gnu_ld=no
17928 # Prepare PATH_SEPARATOR.
17929 # The user is always right.
17930 if test "${PATH_SEPARATOR+set}" != set; then
17931 echo "#! /bin/sh" >conf$$.sh
17932 echo "exit 0" >>conf$$.sh
17933 chmod +x conf$$.sh
17934 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17935 PATH_SEPARATOR=';'
17936 else
17937 PATH_SEPARATOR=:
17939 rm -f conf$$.sh
17941 ac_prog=ld
17942 if test "$GCC" = yes; then
17943 # Check if gcc -print-prog-name=ld gives a path.
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17945 $as_echo_n "checking for ld used by GCC... " >&6; }
17946 case $host in
17947 *-*-mingw*)
17948 # gcc leaves a trailing carriage return which upsets mingw
17949 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17951 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17952 esac
17953 case $ac_prog in
17954 # Accept absolute paths.
17955 [\\/]* | [A-Za-z]:[\\/]*)
17956 re_direlt='/[^/][^/]*/\.\./'
17957 # Canonicalize the path of ld
17958 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17959 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17960 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17961 done
17962 test -z "$LD" && LD="$ac_prog"
17965 # If it fails, then pretend we aren't using GCC.
17966 ac_prog=ld
17969 # If it is relative, then search for the first ld in PATH.
17970 with_gnu_ld=unknown
17972 esac
17973 elif test "$with_gnu_ld" = yes; then
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17975 $as_echo_n "checking for GNU ld... " >&6; }
17976 else
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17978 $as_echo_n "checking for non-GNU ld... " >&6; }
17980 if test "${acl_cv_path_LD+set}" = set; then :
17981 $as_echo_n "(cached) " >&6
17982 else
17983 if test -z "$LD"; then
17984 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17985 for ac_dir in $PATH; do
17986 test -z "$ac_dir" && ac_dir=.
17987 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17988 acl_cv_path_LD="$ac_dir/$ac_prog"
17989 # Check to see if the program is GNU ld. I'd rather use --version,
17990 # but apparently some GNU ld's only accept -v.
17991 # Break only if it was the GNU/non-GNU ld that we prefer.
17992 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
17993 test "$with_gnu_ld" != no && break
17994 else
17995 test "$with_gnu_ld" != yes && break
17998 done
17999 IFS="$ac_save_ifs"
18000 else
18001 acl_cv_path_LD="$LD" # Let the user override the test with a path.
18005 LD="$acl_cv_path_LD"
18006 if test -n "$LD"; then
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18008 $as_echo "$LD" >&6; }
18009 else
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18011 $as_echo "no" >&6; }
18013 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18015 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18016 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
18017 $as_echo_n "(cached) " >&6
18018 else
18019 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18020 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
18021 acl_cv_prog_gnu_ld=yes
18022 else
18023 acl_cv_prog_gnu_ld=no
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18027 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
18028 with_gnu_ld=$acl_cv_prog_gnu_ld
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18033 $as_echo_n "checking for shared library run path origin... " >&6; }
18034 if test "${acl_cv_rpath+set}" = set; then :
18035 $as_echo_n "(cached) " >&6
18036 else
18038 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
18039 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18040 . ./conftest.sh
18041 rm -f ./conftest.sh
18042 acl_cv_rpath=done
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18046 $as_echo "$acl_cv_rpath" >&6; }
18047 wl="$acl_cv_wl"
18048 libext="$acl_cv_libext"
18049 shlibext="$acl_cv_shlibext"
18050 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
18051 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
18052 hardcode_direct="$acl_cv_hardcode_direct"
18053 hardcode_minus_L="$acl_cv_hardcode_minus_L"
18054 # Check whether --enable-rpath was given.
18055 if test "${enable_rpath+set}" = set; then :
18056 enableval=$enable_rpath; :
18057 else
18058 enable_rpath=yes
18068 use_additional=yes
18070 acl_save_prefix="$prefix"
18071 prefix="$acl_final_prefix"
18072 acl_save_exec_prefix="$exec_prefix"
18073 exec_prefix="$acl_final_exec_prefix"
18075 eval additional_includedir=\"$includedir\"
18076 eval additional_libdir=\"$libdir\"
18078 exec_prefix="$acl_save_exec_prefix"
18079 prefix="$acl_save_prefix"
18082 # Check whether --with-libiconv-prefix was given.
18083 if test "${with_libiconv_prefix+set}" = set; then :
18084 withval=$with_libiconv_prefix;
18085 if test "X$withval" = "Xno"; then
18086 use_additional=no
18087 else
18088 if test "X$withval" = "X"; then
18090 acl_save_prefix="$prefix"
18091 prefix="$acl_final_prefix"
18092 acl_save_exec_prefix="$exec_prefix"
18093 exec_prefix="$acl_final_exec_prefix"
18095 eval additional_includedir=\"$includedir\"
18096 eval additional_libdir=\"$libdir\"
18098 exec_prefix="$acl_save_exec_prefix"
18099 prefix="$acl_save_prefix"
18101 else
18102 additional_includedir="$withval/include"
18103 additional_libdir="$withval/lib"
18109 LIBICONV=
18110 LTLIBICONV=
18111 INCICONV=
18112 rpathdirs=
18113 ltrpathdirs=
18114 names_already_handled=
18115 names_next_round='iconv '
18116 while test -n "$names_next_round"; do
18117 names_this_round="$names_next_round"
18118 names_next_round=
18119 for name in $names_this_round; do
18120 already_handled=
18121 for n in $names_already_handled; do
18122 if test "$n" = "$name"; then
18123 already_handled=yes
18124 break
18126 done
18127 if test -z "$already_handled"; then
18128 names_already_handled="$names_already_handled $name"
18129 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18130 eval value=\"\$HAVE_LIB$uppername\"
18131 if test -n "$value"; then
18132 if test "$value" = yes; then
18133 eval value=\"\$LIB$uppername\"
18134 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18135 eval value=\"\$LTLIB$uppername\"
18136 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18137 else
18140 else
18141 found_dir=
18142 found_la=
18143 found_so=
18144 found_a=
18145 if test $use_additional = yes; then
18146 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
18147 found_dir="$additional_libdir"
18148 found_so="$additional_libdir/lib$name.$shlibext"
18149 if test -f "$additional_libdir/lib$name.la"; then
18150 found_la="$additional_libdir/lib$name.la"
18152 else
18153 if test -f "$additional_libdir/lib$name.$libext"; then
18154 found_dir="$additional_libdir"
18155 found_a="$additional_libdir/lib$name.$libext"
18156 if test -f "$additional_libdir/lib$name.la"; then
18157 found_la="$additional_libdir/lib$name.la"
18162 if test "X$found_dir" = "X"; then
18163 for x in $LDFLAGS $LTLIBICONV; do
18165 acl_save_prefix="$prefix"
18166 prefix="$acl_final_prefix"
18167 acl_save_exec_prefix="$exec_prefix"
18168 exec_prefix="$acl_final_exec_prefix"
18169 eval x=\"$x\"
18170 exec_prefix="$acl_save_exec_prefix"
18171 prefix="$acl_save_prefix"
18173 case "$x" in
18174 -L*)
18175 dir=`echo "X$x" | sed -e 's/^X-L//'`
18176 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
18177 found_dir="$dir"
18178 found_so="$dir/lib$name.$shlibext"
18179 if test -f "$dir/lib$name.la"; then
18180 found_la="$dir/lib$name.la"
18182 else
18183 if test -f "$dir/lib$name.$libext"; then
18184 found_dir="$dir"
18185 found_a="$dir/lib$name.$libext"
18186 if test -f "$dir/lib$name.la"; then
18187 found_la="$dir/lib$name.la"
18192 esac
18193 if test "X$found_dir" != "X"; then
18194 break
18196 done
18198 if test "X$found_dir" != "X"; then
18199 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18200 if test "X$found_so" != "X"; then
18201 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
18202 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18203 else
18204 haveit=
18205 for x in $ltrpathdirs; do
18206 if test "X$x" = "X$found_dir"; then
18207 haveit=yes
18208 break
18210 done
18211 if test -z "$haveit"; then
18212 ltrpathdirs="$ltrpathdirs $found_dir"
18214 if test "$hardcode_direct" = yes; then
18215 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18216 else
18217 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
18218 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18219 haveit=
18220 for x in $rpathdirs; do
18221 if test "X$x" = "X$found_dir"; then
18222 haveit=yes
18223 break
18225 done
18226 if test -z "$haveit"; then
18227 rpathdirs="$rpathdirs $found_dir"
18229 else
18230 haveit=
18231 for x in $LDFLAGS $LIBICONV; do
18233 acl_save_prefix="$prefix"
18234 prefix="$acl_final_prefix"
18235 acl_save_exec_prefix="$exec_prefix"
18236 exec_prefix="$acl_final_exec_prefix"
18237 eval x=\"$x\"
18238 exec_prefix="$acl_save_exec_prefix"
18239 prefix="$acl_save_prefix"
18241 if test "X$x" = "X-L$found_dir"; then
18242 haveit=yes
18243 break
18245 done
18246 if test -z "$haveit"; then
18247 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18249 if test "$hardcode_minus_L" != no; then
18250 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18251 else
18252 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18257 else
18258 if test "X$found_a" != "X"; then
18259 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18260 else
18261 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18264 additional_includedir=
18265 case "$found_dir" in
18266 */lib | */lib/)
18267 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
18268 additional_includedir="$basedir/include"
18270 esac
18271 if test "X$additional_includedir" != "X"; then
18272 if test "X$additional_includedir" != "X/usr/include"; then
18273 haveit=
18274 if test "X$additional_includedir" = "X/usr/local/include"; then
18275 if test -n "$GCC"; then
18276 case $host_os in
18277 linux*) haveit=yes;;
18278 esac
18281 if test -z "$haveit"; then
18282 for x in $CPPFLAGS $INCICONV; do
18284 acl_save_prefix="$prefix"
18285 prefix="$acl_final_prefix"
18286 acl_save_exec_prefix="$exec_prefix"
18287 exec_prefix="$acl_final_exec_prefix"
18288 eval x=\"$x\"
18289 exec_prefix="$acl_save_exec_prefix"
18290 prefix="$acl_save_prefix"
18292 if test "X$x" = "X-I$additional_includedir"; then
18293 haveit=yes
18294 break
18296 done
18297 if test -z "$haveit"; then
18298 if test -d "$additional_includedir"; then
18299 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18305 if test -n "$found_la"; then
18306 save_libdir="$libdir"
18307 case "$found_la" in
18308 */* | *\\*) . "$found_la" ;;
18309 *) . "./$found_la" ;;
18310 esac
18311 libdir="$save_libdir"
18312 for dep in $dependency_libs; do
18313 case "$dep" in
18314 -L*)
18315 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18316 if test "X$additional_libdir" != "X/usr/lib"; then
18317 haveit=
18318 if test "X$additional_libdir" = "X/usr/local/lib"; then
18319 if test -n "$GCC"; then
18320 case $host_os in
18321 linux*) haveit=yes;;
18322 esac
18325 if test -z "$haveit"; then
18326 haveit=
18327 for x in $LDFLAGS $LIBICONV; do
18329 acl_save_prefix="$prefix"
18330 prefix="$acl_final_prefix"
18331 acl_save_exec_prefix="$exec_prefix"
18332 exec_prefix="$acl_final_exec_prefix"
18333 eval x=\"$x\"
18334 exec_prefix="$acl_save_exec_prefix"
18335 prefix="$acl_save_prefix"
18337 if test "X$x" = "X-L$additional_libdir"; then
18338 haveit=yes
18339 break
18341 done
18342 if test -z "$haveit"; then
18343 if test -d "$additional_libdir"; then
18344 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18347 haveit=
18348 for x in $LDFLAGS $LTLIBICONV; do
18350 acl_save_prefix="$prefix"
18351 prefix="$acl_final_prefix"
18352 acl_save_exec_prefix="$exec_prefix"
18353 exec_prefix="$acl_final_exec_prefix"
18354 eval x=\"$x\"
18355 exec_prefix="$acl_save_exec_prefix"
18356 prefix="$acl_save_prefix"
18358 if test "X$x" = "X-L$additional_libdir"; then
18359 haveit=yes
18360 break
18362 done
18363 if test -z "$haveit"; then
18364 if test -d "$additional_libdir"; then
18365 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18371 -R*)
18372 dir=`echo "X$dep" | sed -e 's/^X-R//'`
18373 if test "$enable_rpath" != no; then
18374 haveit=
18375 for x in $rpathdirs; do
18376 if test "X$x" = "X$dir"; then
18377 haveit=yes
18378 break
18380 done
18381 if test -z "$haveit"; then
18382 rpathdirs="$rpathdirs $dir"
18384 haveit=
18385 for x in $ltrpathdirs; do
18386 if test "X$x" = "X$dir"; then
18387 haveit=yes
18388 break
18390 done
18391 if test -z "$haveit"; then
18392 ltrpathdirs="$ltrpathdirs $dir"
18396 -l*)
18397 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18399 *.la)
18400 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18403 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18404 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18406 esac
18407 done
18409 else
18410 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18411 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18415 done
18416 done
18417 if test "X$rpathdirs" != "X"; then
18418 if test -n "$hardcode_libdir_separator"; then
18419 alldirs=
18420 for found_dir in $rpathdirs; do
18421 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
18422 done
18423 acl_save_libdir="$libdir"
18424 libdir="$alldirs"
18425 eval flag=\"$hardcode_libdir_flag_spec\"
18426 libdir="$acl_save_libdir"
18427 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18428 else
18429 for found_dir in $rpathdirs; do
18430 acl_save_libdir="$libdir"
18431 libdir="$found_dir"
18432 eval flag=\"$hardcode_libdir_flag_spec\"
18433 libdir="$acl_save_libdir"
18434 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18435 done
18438 if test "X$ltrpathdirs" != "X"; then
18439 for found_dir in $ltrpathdirs; do
18440 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18441 done
18450 am_save_CPPFLAGS="$CPPFLAGS"
18452 for element in $INCICONV; do
18453 haveit=
18454 for x in $CPPFLAGS; do
18456 acl_save_prefix="$prefix"
18457 prefix="$acl_final_prefix"
18458 acl_save_exec_prefix="$exec_prefix"
18459 exec_prefix="$acl_final_exec_prefix"
18460 eval x=\"$x\"
18461 exec_prefix="$acl_save_exec_prefix"
18462 prefix="$acl_save_prefix"
18464 if test "X$x" = "X$element"; then
18465 haveit=yes
18466 break
18468 done
18469 if test -z "$haveit"; then
18470 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18472 done
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18476 $as_echo_n "checking for iconv... " >&6; }
18477 if test "${am_cv_func_iconv+set}" = set; then :
18478 $as_echo_n "(cached) " >&6
18479 else
18481 am_cv_func_iconv="no, consider installing GNU libiconv"
18482 am_cv_lib_iconv=no
18483 if test x$gcc_no_link = xyes; then
18484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488 #include <stdlib.h>
18489 #include <iconv.h>
18491 main ()
18493 iconv_t cd = iconv_open("","");
18494 iconv(cd,NULL,NULL,NULL,NULL);
18495 iconv_close(cd);
18497 return 0;
18499 _ACEOF
18500 if ac_fn_c_try_link "$LINENO"; then :
18501 am_cv_func_iconv=yes
18503 rm -f core conftest.err conftest.$ac_objext \
18504 conftest$ac_exeext conftest.$ac_ext
18505 if test "$am_cv_func_iconv" != yes; then
18506 am_save_LIBS="$LIBS"
18507 LIBS="$LIBS $LIBICONV"
18508 if test x$gcc_no_link = xyes; then
18509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #include <stdlib.h>
18514 #include <iconv.h>
18516 main ()
18518 iconv_t cd = iconv_open("","");
18519 iconv(cd,NULL,NULL,NULL,NULL);
18520 iconv_close(cd);
18522 return 0;
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"; then :
18526 am_cv_lib_iconv=yes
18527 am_cv_func_iconv=yes
18529 rm -f core conftest.err conftest.$ac_objext \
18530 conftest$ac_exeext conftest.$ac_ext
18531 LIBS="$am_save_LIBS"
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18536 $as_echo "$am_cv_func_iconv" >&6; }
18537 if test "$am_cv_func_iconv" = yes; then
18539 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18542 if test "$am_cv_lib_iconv" = yes; then
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18544 $as_echo_n "checking how to link with libiconv... " >&6; }
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18546 $as_echo "$LIBICONV" >&6; }
18547 else
18548 CPPFLAGS="$am_save_CPPFLAGS"
18549 LIBICONV=
18550 LTLIBICONV=
18555 if test "$am_cv_func_iconv" = yes; then
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18557 $as_echo_n "checking for iconv declaration... " >&6; }
18558 if test "${am_cv_proto_iconv+set}" = set; then :
18559 $as_echo_n "(cached) " >&6
18560 else
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18565 #include <stdlib.h>
18566 #include <iconv.h>
18567 extern
18568 #ifdef __cplusplus
18570 #endif
18571 #if defined(__STDC__) || defined(__cplusplus)
18572 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18573 #else
18574 size_t iconv();
18575 #endif
18578 main ()
18582 return 0;
18584 _ACEOF
18585 if ac_fn_c_try_compile "$LINENO"; then :
18586 am_cv_proto_iconv_arg1=""
18587 else
18588 am_cv_proto_iconv_arg1="const"
18590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18591 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
18594 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18596 }$am_cv_proto_iconv" >&5
18597 $as_echo "${ac_t:-
18598 }$am_cv_proto_iconv" >&6; }
18600 cat >>confdefs.h <<_ACEOF
18601 #define ICONV_CONST $am_cv_proto_iconv_arg1
18602 _ACEOF
18607 if test "x${GCC}" = xyes; then
18609 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18612 EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables'
18615 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
18618 ERROR_CFLAGS=
18619 if test "x${ENABLE_WERROR}" = xyes; then
18620 ERROR_CFLAGS='-Werror'
18625 if test "x${COMPILE_XMLJ}" = xyes; then
18627 succeeded=no
18629 if test -z "$PKG_CONFIG"; then
18630 # Extract the first word of "pkg-config", so it can be a program name with args.
18631 set dummy pkg-config; ac_word=$2
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18633 $as_echo_n "checking for $ac_word... " >&6; }
18634 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18637 case $PKG_CONFIG in
18638 [\\/]* | ?:[\\/]*)
18639 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18643 for as_dir in $PATH
18645 IFS=$as_save_IFS
18646 test -z "$as_dir" && as_dir=.
18647 for ac_exec_ext in '' $ac_executable_extensions; do
18648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18649 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18651 break 2
18653 done
18654 done
18655 IFS=$as_save_IFS
18657 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
18659 esac
18661 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18662 if test -n "$PKG_CONFIG"; then
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18664 $as_echo "$PKG_CONFIG" >&6; }
18665 else
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18667 $as_echo "no" >&6; }
18673 if test "$PKG_CONFIG" = "no" ; then
18674 echo "*** The pkg-config script could not be found. Make sure it is"
18675 echo "*** in your path, or set the PKG_CONFIG environment variable"
18676 echo "*** to the full path to pkg-config."
18677 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18678 else
18679 PKG_CONFIG_MIN_VERSION=0.9.0
18680 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.8" >&5
18682 $as_echo_n "checking for libxml-2.0 >= 2.6.8... " >&6; }
18684 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18686 $as_echo "yes" >&6; }
18687 succeeded=yes
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_CFLAGS" >&5
18690 $as_echo_n "checking XML_CFLAGS... " >&6; }
18691 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CFLAGS" >&5
18693 $as_echo "$XML_CFLAGS" >&6; }
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_LIBS" >&5
18696 $as_echo_n "checking XML_LIBS... " >&6; }
18697 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_LIBS" >&5
18699 $as_echo "$XML_LIBS" >&6; }
18700 else
18701 XML_CFLAGS=""
18702 XML_LIBS=""
18703 ## If we have a custom action on failure, don't print errors, but
18704 ## do set a variable so people can do so.
18705 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18706 echo $XML_PKG_ERRORS
18711 else
18712 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18713 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18717 if test $succeeded = yes; then
18719 else
18720 as_fn_error "Library requirements (libxml-2.0 >= 2.6.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
18724 succeeded=no
18726 if test -z "$PKG_CONFIG"; then
18727 # Extract the first word of "pkg-config", so it can be a program name with args.
18728 set dummy pkg-config; ac_word=$2
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18730 $as_echo_n "checking for $ac_word... " >&6; }
18731 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18732 $as_echo_n "(cached) " >&6
18733 else
18734 case $PKG_CONFIG in
18735 [\\/]* | ?:[\\/]*)
18736 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18740 for as_dir in $PATH
18742 IFS=$as_save_IFS
18743 test -z "$as_dir" && as_dir=.
18744 for ac_exec_ext in '' $ac_executable_extensions; do
18745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18746 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18748 break 2
18750 done
18751 done
18752 IFS=$as_save_IFS
18754 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
18756 esac
18758 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18759 if test -n "$PKG_CONFIG"; then
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18761 $as_echo "$PKG_CONFIG" >&6; }
18762 else
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18764 $as_echo "no" >&6; }
18770 if test "$PKG_CONFIG" = "no" ; then
18771 echo "*** The pkg-config script could not be found. Make sure it is"
18772 echo "*** in your path, or set the PKG_CONFIG environment variable"
18773 echo "*** to the full path to pkg-config."
18774 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18775 else
18776 PKG_CONFIG_MIN_VERSION=0.9.0
18777 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.11" >&5
18779 $as_echo_n "checking for libxslt >= 1.1.11... " >&6; }
18781 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18783 $as_echo "yes" >&6; }
18784 succeeded=yes
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_CFLAGS" >&5
18787 $as_echo_n "checking XSLT_CFLAGS... " >&6; }
18788 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CFLAGS" >&5
18790 $as_echo "$XSLT_CFLAGS" >&6; }
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_LIBS" >&5
18793 $as_echo_n "checking XSLT_LIBS... " >&6; }
18794 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_LIBS" >&5
18796 $as_echo "$XSLT_LIBS" >&6; }
18797 else
18798 XSLT_CFLAGS=""
18799 XSLT_LIBS=""
18800 ## If we have a custom action on failure, don't print errors, but
18801 ## do set a variable so people can do so.
18802 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
18803 echo $XSLT_PKG_ERRORS
18808 else
18809 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18810 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18814 if test $succeeded = yes; then
18816 else
18817 as_fn_error "Library requirements (libxslt >= 1.1.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
18826 if test "x${COMPILE_GTK_PEER}" = xyes; then
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
18828 $as_echo_n "checking for X... " >&6; }
18831 # Check whether --with-x was given.
18832 if test "${with_x+set}" = set; then :
18833 withval=$with_x;
18836 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18837 if test "x$with_x" = xno; then
18838 # The user explicitly disabled X.
18839 have_x=disabled
18840 else
18841 case $x_includes,$x_libraries in #(
18842 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
18843 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
18844 $as_echo_n "(cached) " >&6
18845 else
18846 # One or both of the vars are not set, and there is no cached value.
18847 ac_x_includes=no ac_x_libraries=no
18848 rm -f -r conftest.dir
18849 if mkdir conftest.dir; then
18850 cd conftest.dir
18851 cat >Imakefile <<'_ACEOF'
18852 incroot:
18853 @echo incroot='${INCROOT}'
18854 usrlibdir:
18855 @echo usrlibdir='${USRLIBDIR}'
18856 libdir:
18857 @echo libdir='${LIBDIR}'
18858 _ACEOF
18859 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
18860 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18861 for ac_var in incroot usrlibdir libdir; do
18862 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
18863 done
18864 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18865 for ac_extension in a so sl dylib la dll; do
18866 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
18867 test -f "$ac_im_libdir/libX11.$ac_extension"; then
18868 ac_im_usrlibdir=$ac_im_libdir; break
18870 done
18871 # Screen out bogus values from the imake configuration. They are
18872 # bogus both because they are the default anyway, and because
18873 # using them would break gcc on systems where it needs fixed includes.
18874 case $ac_im_incroot in
18875 /usr/include) ac_x_includes= ;;
18876 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
18877 esac
18878 case $ac_im_usrlibdir in
18879 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
18880 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
18881 esac
18883 cd ..
18884 rm -f -r conftest.dir
18887 # Standard set of common directories for X headers.
18888 # Check X11 before X11Rn because it is often a symlink to the current release.
18889 ac_x_header_dirs='
18890 /usr/X11/include
18891 /usr/X11R7/include
18892 /usr/X11R6/include
18893 /usr/X11R5/include
18894 /usr/X11R4/include
18896 /usr/include/X11
18897 /usr/include/X11R7
18898 /usr/include/X11R6
18899 /usr/include/X11R5
18900 /usr/include/X11R4
18902 /usr/local/X11/include
18903 /usr/local/X11R7/include
18904 /usr/local/X11R6/include
18905 /usr/local/X11R5/include
18906 /usr/local/X11R4/include
18908 /usr/local/include/X11
18909 /usr/local/include/X11R7
18910 /usr/local/include/X11R6
18911 /usr/local/include/X11R5
18912 /usr/local/include/X11R4
18914 /usr/X386/include
18915 /usr/x386/include
18916 /usr/XFree86/include/X11
18918 /usr/include
18919 /usr/local/include
18920 /usr/unsupported/include
18921 /usr/athena/include
18922 /usr/local/x11r5/include
18923 /usr/lpp/Xamples/include
18925 /usr/openwin/include
18926 /usr/openwin/share/include'
18928 if test "$ac_x_includes" = no; then
18929 # Guess where to find include files, by looking for Xlib.h.
18930 # First, try using that file with no special directory specified.
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h. */
18933 #include <X11/Xlib.h>
18934 _ACEOF
18935 if ac_fn_c_try_cpp "$LINENO"; then :
18936 # We can compile using X headers with no special include directory.
18937 ac_x_includes=
18938 else
18939 for ac_dir in $ac_x_header_dirs; do
18940 if test -r "$ac_dir/X11/Xlib.h"; then
18941 ac_x_includes=$ac_dir
18942 break
18944 done
18946 rm -f conftest.err conftest.$ac_ext
18947 fi # $ac_x_includes = no
18949 if test "$ac_x_libraries" = no; then
18950 # Check for the libraries.
18951 # See if we find them without any special options.
18952 # Don't add to $LIBS permanently.
18953 ac_save_LIBS=$LIBS
18954 LIBS="-lX11 $LIBS"
18955 if test x$gcc_no_link = xyes; then
18956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18960 #include <X11/Xlib.h>
18962 main ()
18964 XrmInitialize ()
18966 return 0;
18968 _ACEOF
18969 if ac_fn_c_try_link "$LINENO"; then :
18970 LIBS=$ac_save_LIBS
18971 # We can link X programs with no special library path.
18972 ac_x_libraries=
18973 else
18974 LIBS=$ac_save_LIBS
18975 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
18977 # Don't even attempt the hair of trying to link an X program!
18978 for ac_extension in a so sl dylib la dll; do
18979 if test -r "$ac_dir/libX11.$ac_extension"; then
18980 ac_x_libraries=$ac_dir
18981 break 2
18983 done
18984 done
18986 rm -f core conftest.err conftest.$ac_objext \
18987 conftest$ac_exeext conftest.$ac_ext
18988 fi # $ac_x_libraries = no
18990 case $ac_x_includes,$ac_x_libraries in #(
18991 no,* | *,no | *\'*)
18992 # Didn't find X, or a directory has "'" in its name.
18993 ac_cv_have_x="have_x=no";; #(
18995 # Record where we found X for the cache.
18996 ac_cv_have_x="have_x=yes\
18997 ac_x_includes='$ac_x_includes'\
18998 ac_x_libraries='$ac_x_libraries'"
18999 esac
19001 ;; #(
19002 *) have_x=yes;;
19003 esac
19004 eval "$ac_cv_have_x"
19005 fi # $with_x != no
19007 if test "$have_x" != yes; then
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19009 $as_echo "$have_x" >&6; }
19010 no_x=yes
19011 else
19012 # If each of the values was on the command line, it overrides each guess.
19013 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19014 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19015 # Update the cache value to reflect the command line values.
19016 ac_cv_have_x="have_x=yes\
19017 ac_x_includes='$x_includes'\
19018 ac_x_libraries='$x_libraries'"
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19020 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19023 if test "$no_x" = yes; then
19024 # Not all programs may use this symbol, but it does not hurt to define it.
19026 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19028 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19029 else
19030 if test -n "$x_includes"; then
19031 X_CFLAGS="$X_CFLAGS -I$x_includes"
19034 # It would also be nice to do this for all -L options, not just this one.
19035 if test -n "$x_libraries"; then
19036 X_LIBS="$X_LIBS -L$x_libraries"
19037 # For Solaris; some versions of Sun CC require a space after -R and
19038 # others require no space. Words are not sufficient . . . .
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19040 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19041 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19042 ac_xsave_c_werror_flag=$ac_c_werror_flag
19043 ac_c_werror_flag=yes
19044 if test x$gcc_no_link = xyes; then
19045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19051 main ()
19055 return 0;
19057 _ACEOF
19058 if ac_fn_c_try_link "$LINENO"; then :
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19060 $as_echo "no" >&6; }
19061 X_LIBS="$X_LIBS -R$x_libraries"
19062 else
19063 LIBS="$ac_xsave_LIBS -R $x_libraries"
19064 if test x$gcc_no_link = xyes; then
19065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h. */
19071 main ()
19075 return 0;
19077 _ACEOF
19078 if ac_fn_c_try_link "$LINENO"; then :
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19080 $as_echo "yes" >&6; }
19081 X_LIBS="$X_LIBS -R $x_libraries"
19082 else
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19084 $as_echo "neither works" >&6; }
19086 rm -f core conftest.err conftest.$ac_objext \
19087 conftest$ac_exeext conftest.$ac_ext
19089 rm -f core conftest.err conftest.$ac_objext \
19090 conftest$ac_exeext conftest.$ac_ext
19091 ac_c_werror_flag=$ac_xsave_c_werror_flag
19092 LIBS=$ac_xsave_LIBS
19095 # Check for system-dependent libraries X programs must link with.
19096 # Do this before checking for the system-independent R6 libraries
19097 # (-lICE), since we may need -lsocket or whatever for X linking.
19099 if test "$ISC" = yes; then
19100 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
19101 else
19102 # Martyn Johnson says this is needed for Ultrix, if the X
19103 # libraries were built with DECnet support. And Karl Berry says
19104 # the Alpha needs dnet_stub (dnet does not exist).
19105 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
19106 if test x$gcc_no_link = xyes; then
19107 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19112 /* Override any GCC internal prototype to avoid an error.
19113 Use char because int might match the return type of a GCC
19114 builtin and then its argument prototype would still apply. */
19115 #ifdef __cplusplus
19116 extern "C"
19117 #endif
19118 char XOpenDisplay ();
19120 main ()
19122 return XOpenDisplay ();
19124 return 0;
19126 _ACEOF
19127 if ac_fn_c_try_link "$LINENO"; then :
19129 else
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19131 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19132 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19133 $as_echo_n "(cached) " >&6
19134 else
19135 ac_check_lib_save_LIBS=$LIBS
19136 LIBS="-ldnet $LIBS"
19137 if test x$gcc_no_link = xyes; then
19138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19143 /* Override any GCC internal prototype to avoid an error.
19144 Use char because int might match the return type of a GCC
19145 builtin and then its argument prototype would still apply. */
19146 #ifdef __cplusplus
19147 extern "C"
19148 #endif
19149 char dnet_ntoa ();
19151 main ()
19153 return dnet_ntoa ();
19155 return 0;
19157 _ACEOF
19158 if ac_fn_c_try_link "$LINENO"; then :
19159 ac_cv_lib_dnet_dnet_ntoa=yes
19160 else
19161 ac_cv_lib_dnet_dnet_ntoa=no
19163 rm -f core conftest.err conftest.$ac_objext \
19164 conftest$ac_exeext conftest.$ac_ext
19165 LIBS=$ac_check_lib_save_LIBS
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19168 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19169 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
19170 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19173 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19175 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19176 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19177 $as_echo_n "(cached) " >&6
19178 else
19179 ac_check_lib_save_LIBS=$LIBS
19180 LIBS="-ldnet_stub $LIBS"
19181 if test x$gcc_no_link = xyes; then
19182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19185 /* end confdefs.h. */
19187 /* Override any GCC internal prototype to avoid an error.
19188 Use char because int might match the return type of a GCC
19189 builtin and then its argument prototype would still apply. */
19190 #ifdef __cplusplus
19191 extern "C"
19192 #endif
19193 char dnet_ntoa ();
19195 main ()
19197 return dnet_ntoa ();
19199 return 0;
19201 _ACEOF
19202 if ac_fn_c_try_link "$LINENO"; then :
19203 ac_cv_lib_dnet_stub_dnet_ntoa=yes
19204 else
19205 ac_cv_lib_dnet_stub_dnet_ntoa=no
19207 rm -f core conftest.err conftest.$ac_objext \
19208 conftest$ac_exeext conftest.$ac_ext
19209 LIBS=$ac_check_lib_save_LIBS
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19212 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19213 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
19214 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
19219 rm -f core conftest.err conftest.$ac_objext \
19220 conftest$ac_exeext conftest.$ac_ext
19221 LIBS="$ac_xsave_LIBS"
19223 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19224 # to get the SysV transport functions.
19225 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19226 # needs -lnsl.
19227 # The nsl library prevents programs from opening the X display
19228 # on Irix 5.2, according to T.E. Dickey.
19229 # The functions gethostbyname, getservbyname, and inet_addr are
19230 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19231 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19232 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
19236 if test $ac_cv_func_gethostbyname = no; then
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19238 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19239 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19240 $as_echo_n "(cached) " >&6
19241 else
19242 ac_check_lib_save_LIBS=$LIBS
19243 LIBS="-lnsl $LIBS"
19244 if test x$gcc_no_link = xyes; then
19245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19248 /* end confdefs.h. */
19250 /* Override any GCC internal prototype to avoid an error.
19251 Use char because int might match the return type of a GCC
19252 builtin and then its argument prototype would still apply. */
19253 #ifdef __cplusplus
19254 extern "C"
19255 #endif
19256 char gethostbyname ();
19258 main ()
19260 return gethostbyname ();
19262 return 0;
19264 _ACEOF
19265 if ac_fn_c_try_link "$LINENO"; then :
19266 ac_cv_lib_nsl_gethostbyname=yes
19267 else
19268 ac_cv_lib_nsl_gethostbyname=no
19270 rm -f core conftest.err conftest.$ac_objext \
19271 conftest$ac_exeext conftest.$ac_ext
19272 LIBS=$ac_check_lib_save_LIBS
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19275 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19276 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
19277 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
19280 if test $ac_cv_lib_nsl_gethostbyname = no; then
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19282 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19283 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19286 ac_check_lib_save_LIBS=$LIBS
19287 LIBS="-lbsd $LIBS"
19288 if test x$gcc_no_link = xyes; then
19289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19294 /* Override any GCC internal prototype to avoid an error.
19295 Use char because int might match the return type of a GCC
19296 builtin and then its argument prototype would still apply. */
19297 #ifdef __cplusplus
19298 extern "C"
19299 #endif
19300 char gethostbyname ();
19302 main ()
19304 return gethostbyname ();
19306 return 0;
19308 _ACEOF
19309 if ac_fn_c_try_link "$LINENO"; then :
19310 ac_cv_lib_bsd_gethostbyname=yes
19311 else
19312 ac_cv_lib_bsd_gethostbyname=no
19314 rm -f core conftest.err conftest.$ac_objext \
19315 conftest$ac_exeext conftest.$ac_ext
19316 LIBS=$ac_check_lib_save_LIBS
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19319 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19320 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
19321 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
19327 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19328 # socket/setsockopt and other routines are undefined under SCO ODT
19329 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19330 # on later versions), says Simon Leinen: it contains gethostby*
19331 # variants that don't use the name server (or something). -lsocket
19332 # must be given before -lnsl if both are needed. We assume that
19333 # if connect needs -lnsl, so does gethostbyname.
19334 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
19335 if test "x$ac_cv_func_connect" = x""yes; then :
19339 if test $ac_cv_func_connect = no; then
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19341 $as_echo_n "checking for connect in -lsocket... " >&6; }
19342 if test "${ac_cv_lib_socket_connect+set}" = set; then :
19343 $as_echo_n "(cached) " >&6
19344 else
19345 ac_check_lib_save_LIBS=$LIBS
19346 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
19347 if test x$gcc_no_link = xyes; then
19348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19353 /* Override any GCC internal prototype to avoid an error.
19354 Use char because int might match the return type of a GCC
19355 builtin and then its argument prototype would still apply. */
19356 #ifdef __cplusplus
19357 extern "C"
19358 #endif
19359 char connect ();
19361 main ()
19363 return connect ();
19365 return 0;
19367 _ACEOF
19368 if ac_fn_c_try_link "$LINENO"; then :
19369 ac_cv_lib_socket_connect=yes
19370 else
19371 ac_cv_lib_socket_connect=no
19373 rm -f core conftest.err conftest.$ac_objext \
19374 conftest$ac_exeext conftest.$ac_ext
19375 LIBS=$ac_check_lib_save_LIBS
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19378 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19379 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
19380 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
19385 # Guillermo Gomez says -lposix is necessary on A/UX.
19386 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
19387 if test "x$ac_cv_func_remove" = x""yes; then :
19391 if test $ac_cv_func_remove = no; then
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19393 $as_echo_n "checking for remove in -lposix... " >&6; }
19394 if test "${ac_cv_lib_posix_remove+set}" = set; then :
19395 $as_echo_n "(cached) " >&6
19396 else
19397 ac_check_lib_save_LIBS=$LIBS
19398 LIBS="-lposix $LIBS"
19399 if test x$gcc_no_link = xyes; then
19400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19405 /* Override any GCC internal prototype to avoid an error.
19406 Use char because int might match the return type of a GCC
19407 builtin and then its argument prototype would still apply. */
19408 #ifdef __cplusplus
19409 extern "C"
19410 #endif
19411 char remove ();
19413 main ()
19415 return remove ();
19417 return 0;
19419 _ACEOF
19420 if ac_fn_c_try_link "$LINENO"; then :
19421 ac_cv_lib_posix_remove=yes
19422 else
19423 ac_cv_lib_posix_remove=no
19425 rm -f core conftest.err conftest.$ac_objext \
19426 conftest$ac_exeext conftest.$ac_ext
19427 LIBS=$ac_check_lib_save_LIBS
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19430 $as_echo "$ac_cv_lib_posix_remove" >&6; }
19431 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
19432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
19437 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19438 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
19439 if test "x$ac_cv_func_shmat" = x""yes; then :
19443 if test $ac_cv_func_shmat = no; then
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19445 $as_echo_n "checking for shmat in -lipc... " >&6; }
19446 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
19447 $as_echo_n "(cached) " >&6
19448 else
19449 ac_check_lib_save_LIBS=$LIBS
19450 LIBS="-lipc $LIBS"
19451 if test x$gcc_no_link = xyes; then
19452 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19457 /* Override any GCC internal prototype to avoid an error.
19458 Use char because int might match the return type of a GCC
19459 builtin and then its argument prototype would still apply. */
19460 #ifdef __cplusplus
19461 extern "C"
19462 #endif
19463 char shmat ();
19465 main ()
19467 return shmat ();
19469 return 0;
19471 _ACEOF
19472 if ac_fn_c_try_link "$LINENO"; then :
19473 ac_cv_lib_ipc_shmat=yes
19474 else
19475 ac_cv_lib_ipc_shmat=no
19477 rm -f core conftest.err conftest.$ac_objext \
19478 conftest$ac_exeext conftest.$ac_ext
19479 LIBS=$ac_check_lib_save_LIBS
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19482 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19483 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
19484 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
19490 # Check for libraries that X11R6 Xt/Xaw programs need.
19491 ac_save_LDFLAGS=$LDFLAGS
19492 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
19493 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19494 # check for ICE first), but we must link in the order -lSM -lICE or
19495 # we get undefined symbols. So assume we have SM if we have ICE.
19496 # These have to be linked with before -lX11, unlike the other
19497 # libraries we check for below, so use a different variable.
19498 # John Interrante, Karl Berry
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19500 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19501 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
19502 $as_echo_n "(cached) " >&6
19503 else
19504 ac_check_lib_save_LIBS=$LIBS
19505 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
19506 if test x$gcc_no_link = xyes; then
19507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 /* Override any GCC internal prototype to avoid an error.
19513 Use char because int might match the return type of a GCC
19514 builtin and then its argument prototype would still apply. */
19515 #ifdef __cplusplus
19516 extern "C"
19517 #endif
19518 char IceConnectionNumber ();
19520 main ()
19522 return IceConnectionNumber ();
19524 return 0;
19526 _ACEOF
19527 if ac_fn_c_try_link "$LINENO"; then :
19528 ac_cv_lib_ICE_IceConnectionNumber=yes
19529 else
19530 ac_cv_lib_ICE_IceConnectionNumber=no
19532 rm -f core conftest.err conftest.$ac_objext \
19533 conftest$ac_exeext conftest.$ac_ext
19534 LIBS=$ac_check_lib_save_LIBS
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19537 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19538 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
19539 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
19542 LDFLAGS=$ac_save_LDFLAGS
19546 if test "$no_x" = yes; then
19547 as_fn_error "GTK+ peers requested but no X library available" "$LINENO" 5
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
19550 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
19551 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19554 ac_check_lib_save_LIBS=$LIBS
19555 LIBS="-lXtst ${X_LIBS} $LIBS"
19556 if test x$gcc_no_link = xyes; then
19557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19562 /* Override any GCC internal prototype to avoid an error.
19563 Use char because int might match the return type of a GCC
19564 builtin and then its argument prototype would still apply. */
19565 #ifdef __cplusplus
19566 extern "C"
19567 #endif
19568 char XTestQueryExtension ();
19570 main ()
19572 return XTestQueryExtension ();
19574 return 0;
19576 _ACEOF
19577 if ac_fn_c_try_link "$LINENO"; then :
19578 ac_cv_lib_Xtst_XTestQueryExtension=yes
19579 else
19580 ac_cv_lib_Xtst_XTestQueryExtension=no
19582 rm -f core conftest.err conftest.$ac_objext \
19583 conftest$ac_exeext conftest.$ac_ext
19584 LIBS=$ac_check_lib_save_LIBS
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
19587 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
19588 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x""yes; then :
19590 $as_echo "#define HAVE_XTEST 1" >>confdefs.h
19591 XTEST_LIBS="$XTEST_LIBS -X11 -lXtst"
19592 else
19593 true
19599 succeeded=no
19601 if test -z "$PKG_CONFIG"; then
19602 # Extract the first word of "pkg-config", so it can be a program name with args.
19603 set dummy pkg-config; ac_word=$2
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19605 $as_echo_n "checking for $ac_word... " >&6; }
19606 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19607 $as_echo_n "(cached) " >&6
19608 else
19609 case $PKG_CONFIG in
19610 [\\/]* | ?:[\\/]*)
19611 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19615 for as_dir in $PATH
19617 IFS=$as_save_IFS
19618 test -z "$as_dir" && as_dir=.
19619 for ac_exec_ext in '' $ac_executable_extensions; do
19620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19621 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19623 break 2
19625 done
19626 done
19627 IFS=$as_save_IFS
19629 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19631 esac
19633 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19634 if test -n "$PKG_CONFIG"; then
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19636 $as_echo "$PKG_CONFIG" >&6; }
19637 else
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19639 $as_echo "no" >&6; }
19645 if test "$PKG_CONFIG" = "no" ; then
19646 echo "*** The pkg-config script could not be found. Make sure it is"
19647 echo "*** in your path, or set the PKG_CONFIG environment variable"
19648 echo "*** to the full path to pkg-config."
19649 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19650 else
19651 PKG_CONFIG_MIN_VERSION=0.9.0
19652 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
19654 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
19656 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19658 $as_echo "yes" >&6; }
19659 succeeded=yes
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
19662 $as_echo_n "checking GTK_CFLAGS... " >&6; }
19663 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
19665 $as_echo "$GTK_CFLAGS" >&6; }
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
19668 $as_echo_n "checking GTK_LIBS... " >&6; }
19669 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
19671 $as_echo "$GTK_LIBS" >&6; }
19672 else
19673 GTK_CFLAGS=""
19674 GTK_LIBS=""
19675 ## If we have a custom action on failure, don't print errors, but
19676 ## do set a variable so people can do so.
19677 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19678 echo $GTK_PKG_ERRORS
19683 else
19684 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19685 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19689 if test $succeeded = yes; then
19691 else
19692 as_fn_error "Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
19696 succeeded=no
19698 if test -z "$PKG_CONFIG"; then
19699 # Extract the first word of "pkg-config", so it can be a program name with args.
19700 set dummy pkg-config; ac_word=$2
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19702 $as_echo_n "checking for $ac_word... " >&6; }
19703 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19704 $as_echo_n "(cached) " >&6
19705 else
19706 case $PKG_CONFIG in
19707 [\\/]* | ?:[\\/]*)
19708 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19712 for as_dir in $PATH
19714 IFS=$as_save_IFS
19715 test -z "$as_dir" && as_dir=.
19716 for ac_exec_ext in '' $ac_executable_extensions; do
19717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19718 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19720 break 2
19722 done
19723 done
19724 IFS=$as_save_IFS
19726 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19728 esac
19730 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19731 if test -n "$PKG_CONFIG"; then
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19733 $as_echo "$PKG_CONFIG" >&6; }
19734 else
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19736 $as_echo "no" >&6; }
19742 if test "$PKG_CONFIG" = "no" ; then
19743 echo "*** The pkg-config script could not be found. Make sure it is"
19744 echo "*** in your path, or set the PKG_CONFIG environment variable"
19745 echo "*** to the full path to pkg-config."
19746 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19747 else
19748 PKG_CONFIG_MIN_VERSION=0.9.0
19749 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
19751 $as_echo_n "checking for freetype2... " >&6; }
19753 if $PKG_CONFIG --exists "freetype2" ; then
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19755 $as_echo "yes" >&6; }
19756 succeeded=yes
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_CFLAGS" >&5
19759 $as_echo_n "checking FREETYPE2_CFLAGS... " >&6; }
19760 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_CFLAGS" >&5
19762 $as_echo "$FREETYPE2_CFLAGS" >&6; }
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_LIBS" >&5
19765 $as_echo_n "checking FREETYPE2_LIBS... " >&6; }
19766 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_LIBS" >&5
19768 $as_echo "$FREETYPE2_LIBS" >&6; }
19769 else
19770 FREETYPE2_CFLAGS=""
19771 FREETYPE2_LIBS=""
19772 ## If we have a custom action on failure, don't print errors, but
19773 ## do set a variable so people can do so.
19774 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
19775 echo $FREETYPE2_PKG_ERRORS
19780 else
19781 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19782 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19786 if test $succeeded = yes; then
19788 else
19789 as_fn_error "Library requirements (freetype2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
19793 succeeded=no
19795 if test -z "$PKG_CONFIG"; then
19796 # Extract the first word of "pkg-config", so it can be a program name with args.
19797 set dummy pkg-config; ac_word=$2
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19799 $as_echo_n "checking for $ac_word... " >&6; }
19800 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19801 $as_echo_n "(cached) " >&6
19802 else
19803 case $PKG_CONFIG in
19804 [\\/]* | ?:[\\/]*)
19805 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19809 for as_dir in $PATH
19811 IFS=$as_save_IFS
19812 test -z "$as_dir" && as_dir=.
19813 for ac_exec_ext in '' $ac_executable_extensions; do
19814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19815 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19817 break 2
19819 done
19820 done
19821 IFS=$as_save_IFS
19823 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19825 esac
19827 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19828 if test -n "$PKG_CONFIG"; then
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19830 $as_echo "$PKG_CONFIG" >&6; }
19831 else
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19833 $as_echo "no" >&6; }
19839 if test "$PKG_CONFIG" = "no" ; then
19840 echo "*** The pkg-config script could not be found. Make sure it is"
19841 echo "*** in your path, or set the PKG_CONFIG environment variable"
19842 echo "*** to the full path to pkg-config."
19843 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19844 else
19845 PKG_CONFIG_MIN_VERSION=0.9.0
19846 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangoft2" >&5
19848 $as_echo_n "checking for pangoft2... " >&6; }
19850 if $PKG_CONFIG --exists "pangoft2" ; then
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19852 $as_echo "yes" >&6; }
19853 succeeded=yes
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_CFLAGS" >&5
19856 $as_echo_n "checking PANGOFT2_CFLAGS... " >&6; }
19857 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_CFLAGS" >&5
19859 $as_echo "$PANGOFT2_CFLAGS" >&6; }
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_LIBS" >&5
19862 $as_echo_n "checking PANGOFT2_LIBS... " >&6; }
19863 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_LIBS" >&5
19865 $as_echo "$PANGOFT2_LIBS" >&6; }
19866 else
19867 PANGOFT2_CFLAGS=""
19868 PANGOFT2_LIBS=""
19869 ## If we have a custom action on failure, don't print errors, but
19870 ## do set a variable so people can do so.
19871 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
19872 echo $PANGOFT2_PKG_ERRORS
19877 else
19878 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19879 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19883 if test $succeeded = yes; then
19885 else
19886 as_fn_error "Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
19890 succeeded=no
19892 if test -z "$PKG_CONFIG"; then
19893 # Extract the first word of "pkg-config", so it can be a program name with args.
19894 set dummy pkg-config; ac_word=$2
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19896 $as_echo_n "checking for $ac_word... " >&6; }
19897 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19898 $as_echo_n "(cached) " >&6
19899 else
19900 case $PKG_CONFIG in
19901 [\\/]* | ?:[\\/]*)
19902 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19906 for as_dir in $PATH
19908 IFS=$as_save_IFS
19909 test -z "$as_dir" && as_dir=.
19910 for ac_exec_ext in '' $ac_executable_extensions; do
19911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19912 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19914 break 2
19916 done
19917 done
19918 IFS=$as_save_IFS
19920 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19922 esac
19924 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19925 if test -n "$PKG_CONFIG"; then
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19927 $as_echo "$PKG_CONFIG" >&6; }
19928 else
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19930 $as_echo "no" >&6; }
19936 if test "$PKG_CONFIG" = "no" ; then
19937 echo "*** The pkg-config script could not be found. Make sure it is"
19938 echo "*** in your path, or set the PKG_CONFIG environment variable"
19939 echo "*** to the full path to pkg-config."
19940 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19941 else
19942 PKG_CONFIG_MIN_VERSION=0.9.0
19943 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.1.8" >&5
19945 $as_echo_n "checking for cairo >= 1.1.8... " >&6; }
19947 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19949 $as_echo "yes" >&6; }
19950 succeeded=yes
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
19953 $as_echo_n "checking CAIRO_CFLAGS... " >&6; }
19954 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
19956 $as_echo "$CAIRO_CFLAGS" >&6; }
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
19959 $as_echo_n "checking CAIRO_LIBS... " >&6; }
19960 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
19962 $as_echo "$CAIRO_LIBS" >&6; }
19963 else
19964 CAIRO_CFLAGS=""
19965 CAIRO_LIBS=""
19966 ## If we have a custom action on failure, don't print errors, but
19967 ## do set a variable so people can do so.
19968 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
19969 echo $CAIRO_PKG_ERRORS
19974 else
19975 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19976 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19980 if test $succeeded = yes; then
19982 else
19983 as_fn_error "Library requirements (cairo >= 1.1.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
19987 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
19988 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
19989 $as_echo_n "(cached) " >&6
19990 else
19991 ac_check_lib_save_LIBS=$LIBS
19992 LIBS="-lXrender ${X_LIBS} $LIBS"
19993 if test x$gcc_no_link = xyes; then
19994 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19997 /* end confdefs.h. */
19999 /* Override any GCC internal prototype to avoid an error.
20000 Use char because int might match the return type of a GCC
20001 builtin and then its argument prototype would still apply. */
20002 #ifdef __cplusplus
20003 extern "C"
20004 #endif
20005 char XRenderQueryExtension ();
20007 main ()
20009 return XRenderQueryExtension ();
20011 return 0;
20013 _ACEOF
20014 if ac_fn_c_try_link "$LINENO"; then :
20015 ac_cv_lib_Xrender_XRenderQueryExtension=yes
20016 else
20017 ac_cv_lib_Xrender_XRenderQueryExtension=no
20019 rm -f core conftest.err conftest.$ac_objext \
20020 conftest$ac_exeext conftest.$ac_ext
20021 LIBS=$ac_check_lib_save_LIBS
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
20024 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
20025 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then :
20027 $as_echo "#define HAVE_XRENDER 1" >>confdefs.h
20028 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
20029 else
20030 true
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
20035 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
20036 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
20037 $as_echo_n "(cached) " >&6
20038 else
20039 ac_check_lib_save_LIBS=$LIBS
20040 LIBS="-lXrandr ${X_LIBS} $LIBS"
20041 if test x$gcc_no_link = xyes; then
20042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20045 /* end confdefs.h. */
20047 /* Override any GCC internal prototype to avoid an error.
20048 Use char because int might match the return type of a GCC
20049 builtin and then its argument prototype would still apply. */
20050 #ifdef __cplusplus
20051 extern "C"
20052 #endif
20053 char XRRQueryExtension ();
20055 main ()
20057 return XRRQueryExtension ();
20059 return 0;
20061 _ACEOF
20062 if ac_fn_c_try_link "$LINENO"; then :
20063 ac_cv_lib_Xrandr_XRRQueryExtension=yes
20064 else
20065 ac_cv_lib_Xrandr_XRRQueryExtension=no
20067 rm -f core conftest.err conftest.$ac_objext \
20068 conftest$ac_exeext conftest.$ac_ext
20069 LIBS=$ac_check_lib_save_LIBS
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
20072 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
20073 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x""yes; then :
20075 $as_echo "#define HAVE_XRANDR 1" >>confdefs.h
20076 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
20077 else
20078 true
20091 if test "x${COMPILE_GCONF_PEER}" = xyes; then
20093 succeeded=no
20095 if test -z "$PKG_CONFIG"; then
20096 # Extract the first word of "pkg-config", so it can be a program name with args.
20097 set dummy pkg-config; ac_word=$2
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20099 $as_echo_n "checking for $ac_word... " >&6; }
20100 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20101 $as_echo_n "(cached) " >&6
20102 else
20103 case $PKG_CONFIG in
20104 [\\/]* | ?:[\\/]*)
20105 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20109 for as_dir in $PATH
20111 IFS=$as_save_IFS
20112 test -z "$as_dir" && as_dir=.
20113 for ac_exec_ext in '' $ac_executable_extensions; do
20114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20115 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20117 break 2
20119 done
20120 done
20121 IFS=$as_save_IFS
20123 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20125 esac
20127 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20128 if test -n "$PKG_CONFIG"; then
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20130 $as_echo "$PKG_CONFIG" >&6; }
20131 else
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20133 $as_echo "no" >&6; }
20139 if test "$PKG_CONFIG" = "no" ; then
20140 echo "*** The pkg-config script could not be found. Make sure it is"
20141 echo "*** in your path, or set the PKG_CONFIG environment variable"
20142 echo "*** to the full path to pkg-config."
20143 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20144 else
20145 PKG_CONFIG_MIN_VERSION=0.9.0
20146 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.6.0" >&5
20148 $as_echo_n "checking for gconf-2.0 >= 2.6.0... " >&6; }
20150 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20152 $as_echo "yes" >&6; }
20153 succeeded=yes
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
20156 $as_echo_n "checking GCONF_CFLAGS... " >&6; }
20157 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
20159 $as_echo "$GCONF_CFLAGS" >&6; }
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
20162 $as_echo_n "checking GCONF_LIBS... " >&6; }
20163 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
20165 $as_echo "$GCONF_LIBS" >&6; }
20166 else
20167 GCONF_CFLAGS=""
20168 GCONF_LIBS=""
20169 ## If we have a custom action on failure, don't print errors, but
20170 ## do set a variable so people can do so.
20171 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
20172 echo $GCONF_PKG_ERRORS
20177 else
20178 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20179 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20183 if test $succeeded = yes; then
20185 else
20186 as_fn_error "Library requirements (gconf-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
20192 succeeded=no
20194 if test -z "$PKG_CONFIG"; then
20195 # Extract the first word of "pkg-config", so it can be a program name with args.
20196 set dummy pkg-config; ac_word=$2
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20198 $as_echo_n "checking for $ac_word... " >&6; }
20199 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20200 $as_echo_n "(cached) " >&6
20201 else
20202 case $PKG_CONFIG in
20203 [\\/]* | ?:[\\/]*)
20204 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20208 for as_dir in $PATH
20210 IFS=$as_save_IFS
20211 test -z "$as_dir" && as_dir=.
20212 for ac_exec_ext in '' $ac_executable_extensions; do
20213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20214 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20216 break 2
20218 done
20219 done
20220 IFS=$as_save_IFS
20222 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20224 esac
20226 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20227 if test -n "$PKG_CONFIG"; then
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20229 $as_echo "$PKG_CONFIG" >&6; }
20230 else
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20232 $as_echo "no" >&6; }
20238 if test "$PKG_CONFIG" = "no" ; then
20239 echo "*** The pkg-config script could not be found. Make sure it is"
20240 echo "*** in your path, or set the PKG_CONFIG environment variable"
20241 echo "*** to the full path to pkg-config."
20242 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20243 else
20244 PKG_CONFIG_MIN_VERSION=0.9.0
20245 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20247 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20249 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20251 $as_echo "yes" >&6; }
20252 succeeded=yes
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20255 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20256 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20258 $as_echo "$GDK_CFLAGS" >&6; }
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20261 $as_echo_n "checking GDK_LIBS... " >&6; }
20262 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20264 $as_echo "$GDK_LIBS" >&6; }
20265 else
20266 GDK_CFLAGS=""
20267 GDK_LIBS=""
20268 ## If we have a custom action on failure, don't print errors, but
20269 ## do set a variable so people can do so.
20270 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20271 echo $GDK_PKG_ERRORS
20276 else
20277 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20278 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20282 if test $succeeded = yes; then
20284 else
20285 as_fn_error "Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
20290 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
20291 if test "$USE_GCONF_PREFS_PEER" = ""; then
20292 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
20296 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
20297 GST_MAJORMINOR=0.10
20298 GST_REQUIRED=0.10.10
20301 succeeded=no
20303 if test -z "$PKG_CONFIG"; then
20304 # Extract the first word of "pkg-config", so it can be a program name with args.
20305 set dummy pkg-config; ac_word=$2
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20307 $as_echo_n "checking for $ac_word... " >&6; }
20308 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20309 $as_echo_n "(cached) " >&6
20310 else
20311 case $PKG_CONFIG in
20312 [\\/]* | ?:[\\/]*)
20313 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20317 for as_dir in $PATH
20319 IFS=$as_save_IFS
20320 test -z "$as_dir" && as_dir=.
20321 for ac_exec_ext in '' $ac_executable_extensions; do
20322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20323 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20325 break 2
20327 done
20328 done
20329 IFS=$as_save_IFS
20331 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20333 esac
20335 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20336 if test -n "$PKG_CONFIG"; then
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20338 $as_echo "$PKG_CONFIG" >&6; }
20339 else
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20341 $as_echo "no" >&6; }
20347 if test "$PKG_CONFIG" = "no" ; then
20348 echo "*** The pkg-config script could not be found. Make sure it is"
20349 echo "*** in your path, or set the PKG_CONFIG environment variable"
20350 echo "*** to the full path to pkg-config."
20351 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20352 else
20353 PKG_CONFIG_MIN_VERSION=0.9.0
20354 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20356 $as_echo_n "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20358 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20360 $as_echo "yes" >&6; }
20361 succeeded=yes
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_CFLAGS" >&5
20364 $as_echo_n "checking GSTREAMER_CFLAGS... " >&6; }
20365 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_CFLAGS" >&5
20367 $as_echo "$GSTREAMER_CFLAGS" >&6; }
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_LIBS" >&5
20370 $as_echo_n "checking GSTREAMER_LIBS... " >&6; }
20371 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_LIBS" >&5
20373 $as_echo "$GSTREAMER_LIBS" >&6; }
20374 else
20375 GSTREAMER_CFLAGS=""
20376 GSTREAMER_LIBS=""
20377 ## If we have a custom action on failure, don't print errors, but
20378 ## do set a variable so people can do so.
20379 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
20380 echo $GSTREAMER_PKG_ERRORS
20385 else
20386 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20387 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20391 if test $succeeded = yes; then
20393 else
20394 as_fn_error "Library requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
20401 succeeded=no
20403 if test -z "$PKG_CONFIG"; then
20404 # Extract the first word of "pkg-config", so it can be a program name with args.
20405 set dummy pkg-config; ac_word=$2
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20407 $as_echo_n "checking for $ac_word... " >&6; }
20408 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20409 $as_echo_n "(cached) " >&6
20410 else
20411 case $PKG_CONFIG in
20412 [\\/]* | ?:[\\/]*)
20413 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20417 for as_dir in $PATH
20419 IFS=$as_save_IFS
20420 test -z "$as_dir" && as_dir=.
20421 for ac_exec_ext in '' $ac_executable_extensions; do
20422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20423 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20425 break 2
20427 done
20428 done
20429 IFS=$as_save_IFS
20431 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20433 esac
20435 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20436 if test -n "$PKG_CONFIG"; then
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20438 $as_echo "$PKG_CONFIG" >&6; }
20439 else
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20441 $as_echo "no" >&6; }
20447 if test "$PKG_CONFIG" = "no" ; then
20448 echo "*** The pkg-config script could not be found. Make sure it is"
20449 echo "*** in your path, or set the PKG_CONFIG environment variable"
20450 echo "*** to the full path to pkg-config."
20451 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20452 else
20453 PKG_CONFIG_MIN_VERSION=0.9.0
20454 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20456 $as_echo_n "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20458 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20460 $as_echo "yes" >&6; }
20461 succeeded=yes
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_CFLAGS" >&5
20464 $as_echo_n "checking GSTREAMER_BASE_CFLAGS... " >&6; }
20465 GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_CFLAGS" >&5
20467 $as_echo "$GSTREAMER_BASE_CFLAGS" >&6; }
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_LIBS" >&5
20470 $as_echo_n "checking GSTREAMER_BASE_LIBS... " >&6; }
20471 GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_LIBS" >&5
20473 $as_echo "$GSTREAMER_BASE_LIBS" >&6; }
20474 else
20475 GSTREAMER_BASE_CFLAGS=""
20476 GSTREAMER_BASE_LIBS=""
20477 ## If we have a custom action on failure, don't print errors, but
20478 ## do set a variable so people can do so.
20479 GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20480 echo $GSTREAMER_BASE_PKG_ERRORS
20485 else
20486 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20487 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20491 if test $succeeded = yes; then
20493 else
20494 as_fn_error "Library requirements (gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
20501 succeeded=no
20503 if test -z "$PKG_CONFIG"; then
20504 # Extract the first word of "pkg-config", so it can be a program name with args.
20505 set dummy pkg-config; ac_word=$2
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20507 $as_echo_n "checking for $ac_word... " >&6; }
20508 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20509 $as_echo_n "(cached) " >&6
20510 else
20511 case $PKG_CONFIG in
20512 [\\/]* | ?:[\\/]*)
20513 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20517 for as_dir in $PATH
20519 IFS=$as_save_IFS
20520 test -z "$as_dir" && as_dir=.
20521 for ac_exec_ext in '' $ac_executable_extensions; do
20522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20523 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20525 break 2
20527 done
20528 done
20529 IFS=$as_save_IFS
20531 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20533 esac
20535 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20536 if test -n "$PKG_CONFIG"; then
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20538 $as_echo "$PKG_CONFIG" >&6; }
20539 else
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20541 $as_echo "no" >&6; }
20547 if test "$PKG_CONFIG" = "no" ; then
20548 echo "*** The pkg-config script could not be found. Make sure it is"
20549 echo "*** in your path, or set the PKG_CONFIG environment variable"
20550 echo "*** to the full path to pkg-config."
20551 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20552 else
20553 PKG_CONFIG_MIN_VERSION=0.9.0
20554 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
20556 $as_echo_n "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
20558 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20560 $as_echo "yes" >&6; }
20561 succeeded=yes
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
20564 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_CFLAGS... " >&6; }
20565 GSTREAMER_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
20567 $as_echo "$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
20570 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_LIBS... " >&6; }
20571 GSTREAMER_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
20573 $as_echo "$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
20574 else
20575 GSTREAMER_PLUGINS_BASE_CFLAGS=""
20576 GSTREAMER_PLUGINS_BASE_LIBS=""
20577 ## If we have a custom action on failure, don't print errors, but
20578 ## do set a variable so people can do so.
20579 GSTREAMER_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
20580 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
20585 else
20586 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20587 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20591 if test $succeeded = yes; then
20593 else
20594 as_fn_error "Library requirements (gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
20600 GST_PLUGIN_LDFLAGS='-module -avoid-version -Wno-unused-parameter -no-undefined'
20604 succeeded=no
20606 if test -z "$PKG_CONFIG"; then
20607 # Extract the first word of "pkg-config", so it can be a program name with args.
20608 set dummy pkg-config; ac_word=$2
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20610 $as_echo_n "checking for $ac_word... " >&6; }
20611 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20612 $as_echo_n "(cached) " >&6
20613 else
20614 case $PKG_CONFIG in
20615 [\\/]* | ?:[\\/]*)
20616 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20620 for as_dir in $PATH
20622 IFS=$as_save_IFS
20623 test -z "$as_dir" && as_dir=.
20624 for ac_exec_ext in '' $ac_executable_extensions; do
20625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20626 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20628 break 2
20630 done
20631 done
20632 IFS=$as_save_IFS
20634 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20636 esac
20638 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20639 if test -n "$PKG_CONFIG"; then
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20641 $as_echo "$PKG_CONFIG" >&6; }
20642 else
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20644 $as_echo "no" >&6; }
20650 if test "$PKG_CONFIG" = "no" ; then
20651 echo "*** The pkg-config script could not be found. Make sure it is"
20652 echo "*** in your path, or set the PKG_CONFIG environment variable"
20653 echo "*** to the full path to pkg-config."
20654 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20655 else
20656 PKG_CONFIG_MIN_VERSION=0.9.0
20657 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20659 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20661 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20663 $as_echo "yes" >&6; }
20664 succeeded=yes
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20667 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20668 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20670 $as_echo "$GDK_CFLAGS" >&6; }
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20673 $as_echo_n "checking GDK_LIBS... " >&6; }
20674 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20676 $as_echo "$GDK_LIBS" >&6; }
20677 else
20678 GDK_CFLAGS=""
20679 GDK_LIBS=""
20680 ## If we have a custom action on failure, don't print errors, but
20681 ## do set a variable so people can do so.
20682 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20683 echo $GDK_PKG_ERRORS
20688 else
20689 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20690 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20694 if test $succeeded = yes; then
20696 else
20697 as_fn_error "Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
20703 GSTREAMER_FILE_READER=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
20704 GSTREAMER_MIXER_PROVIDER=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
20709 if test "x${COMPILE_QT_PEER}" = xyes; then
20711 succeeded=no
20713 if test -z "$PKG_CONFIG"; then
20714 # Extract the first word of "pkg-config", so it can be a program name with args.
20715 set dummy pkg-config; ac_word=$2
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20717 $as_echo_n "checking for $ac_word... " >&6; }
20718 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20719 $as_echo_n "(cached) " >&6
20720 else
20721 case $PKG_CONFIG in
20722 [\\/]* | ?:[\\/]*)
20723 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20727 for as_dir in $PATH
20729 IFS=$as_save_IFS
20730 test -z "$as_dir" && as_dir=.
20731 for ac_exec_ext in '' $ac_executable_extensions; do
20732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20733 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20735 break 2
20737 done
20738 done
20739 IFS=$as_save_IFS
20741 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20743 esac
20745 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20746 if test -n "$PKG_CONFIG"; then
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20748 $as_echo "$PKG_CONFIG" >&6; }
20749 else
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20751 $as_echo "no" >&6; }
20757 if test "$PKG_CONFIG" = "no" ; then
20758 echo "*** The pkg-config script could not be found. Make sure it is"
20759 echo "*** in your path, or set the PKG_CONFIG environment variable"
20760 echo "*** to the full path to pkg-config."
20761 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20762 else
20763 PKG_CONFIG_MIN_VERSION=0.9.0
20764 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore QtGui >= 4.1.0" >&5
20766 $as_echo_n "checking for QtCore QtGui >= 4.1.0... " >&6; }
20768 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20770 $as_echo "yes" >&6; }
20771 succeeded=yes
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_CFLAGS" >&5
20774 $as_echo_n "checking QT_CFLAGS... " >&6; }
20775 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CFLAGS" >&5
20777 $as_echo "$QT_CFLAGS" >&6; }
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_LIBS" >&5
20780 $as_echo_n "checking QT_LIBS... " >&6; }
20781 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_LIBS" >&5
20783 $as_echo "$QT_LIBS" >&6; }
20784 else
20785 QT_CFLAGS=""
20786 QT_LIBS=""
20787 ## If we have a custom action on failure, don't print errors, but
20788 ## do set a variable so people can do so.
20789 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
20795 else
20796 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20797 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20801 if test $succeeded = yes; then
20802 HAVE_QT4="yes"
20803 else
20804 HAVE_QT4="no"
20807 if test "x$HAVE_QT4" = "xyes"; then
20808 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
20809 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
20810 as_ac_File=`$as_echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $QT_INCLUDE_DIR/QWidget" >&5
20812 $as_echo_n "checking for $QT_INCLUDE_DIR/QWidget... " >&6; }
20813 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
20814 $as_echo_n "(cached) " >&6
20815 else
20816 test "$cross_compiling" = yes &&
20817 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
20818 if test -r "$QT_INCLUDE_DIR/QWidget"; then
20819 eval "$as_ac_File=yes"
20820 else
20821 eval "$as_ac_File=no"
20824 eval ac_res=\$$as_ac_File
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20826 $as_echo "$ac_res" >&6; }
20827 eval as_val=\$$as_ac_File
20828 if test "x$as_val" = x""yes; then :
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: No extra QT_INCLUDE_DIR needed" >&5
20830 $as_echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
20831 else
20832 as_ac_File=`$as_echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
20834 $as_echo_n "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... " >&6; }
20835 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
20836 $as_echo_n "(cached) " >&6
20837 else
20838 test "$cross_compiling" = yes &&
20839 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
20840 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
20841 eval "$as_ac_File=yes"
20842 else
20843 eval "$as_ac_File=no"
20846 eval ac_res=\$$as_ac_File
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20848 $as_echo "$ac_res" >&6; }
20849 eval as_val=\$$as_ac_File
20850 if test "x$as_val" = x""yes; then :
20851 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
20852 else
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QWidget not found" >&5
20854 $as_echo "$as_me: WARNING: QWidget not found" >&2;}
20859 # Extract the first word of "moc", so it can be a program name with args.
20860 set dummy moc; ac_word=$2
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20862 $as_echo_n "checking for $ac_word... " >&6; }
20863 if test "${ac_cv_prog_MOC+set}" = set; then :
20864 $as_echo_n "(cached) " >&6
20865 else
20866 if test -n "$MOC"; then
20867 ac_cv_prog_MOC="$MOC" # Let the user override the test.
20868 else
20869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20870 for as_dir in $PATH
20872 IFS=$as_save_IFS
20873 test -z "$as_dir" && as_dir=.
20874 for ac_exec_ext in '' $ac_executable_extensions; do
20875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20876 ac_cv_prog_MOC="moc"
20877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20878 break 2
20880 done
20881 done
20882 IFS=$as_save_IFS
20886 MOC=$ac_cv_prog_MOC
20887 if test -n "$MOC"; then
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20889 $as_echo "$MOC" >&6; }
20890 else
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20892 $as_echo "no" >&6; }
20896 # Extract the first word of "moc-qt4", so it can be a program name with args.
20897 set dummy moc-qt4; ac_word=$2
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20899 $as_echo_n "checking for $ac_word... " >&6; }
20900 if test "${ac_cv_prog_MOC+set}" = set; then :
20901 $as_echo_n "(cached) " >&6
20902 else
20903 if test -n "$MOC"; then
20904 ac_cv_prog_MOC="$MOC" # Let the user override the test.
20905 else
20906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20907 for as_dir in $PATH
20909 IFS=$as_save_IFS
20910 test -z "$as_dir" && as_dir=.
20911 for ac_exec_ext in '' $ac_executable_extensions; do
20912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20913 ac_cv_prog_MOC="moc-qt4"
20914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20915 break 2
20917 done
20918 done
20919 IFS=$as_save_IFS
20923 MOC=$ac_cv_prog_MOC
20924 if test -n "$MOC"; then
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20926 $as_echo "$MOC" >&6; }
20927 else
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20929 $as_echo "no" >&6; }
20934 if test "x$HAVE_QT4" = "xno"; then
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
20936 $as_echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
20937 case "$host_os" in
20938 darwin*)
20940 # Check whether --with-qt4dir was given.
20941 if test "${with_qt4dir+set}" = set; then :
20942 withval=$with_qt4dir; QT4DIR=$withval
20946 if test x"$QT4DIR" = x ; then
20947 as_fn_error "*** No path for Qt4 --with-qt4dir option given" "$LINENO" 5
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: QT4DIR... $QT4DIR" >&5
20950 $as_echo "QT4DIR... $QT4DIR" >&6; }
20951 # Extract the first word of "moc", so it can be a program name with args.
20952 set dummy moc; ac_word=$2
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20954 $as_echo_n "checking for $ac_word... " >&6; }
20955 if test "${ac_cv_prog_MOC+set}" = set; then :
20956 $as_echo_n "(cached) " >&6
20957 else
20958 if test -n "$MOC"; then
20959 ac_cv_prog_MOC="$MOC" # Let the user override the test.
20960 else
20961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20962 for as_dir in $QT4DIR/bin
20964 IFS=$as_save_IFS
20965 test -z "$as_dir" && as_dir=.
20966 for ac_exec_ext in '' $ac_executable_extensions; do
20967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20968 ac_cv_prog_MOC="$QT4DIR/bin/moc"
20969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20970 break 2
20972 done
20973 done
20974 IFS=$as_save_IFS
20978 MOC=$ac_cv_prog_MOC
20979 if test -n "$MOC"; then
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
20981 $as_echo "$MOC" >&6; }
20982 else
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20984 $as_echo "no" >&6; }
20988 if test x"$MOC" = x; then
20989 as_fn_error "*** This is not the right Qt installation" "$LINENO" 5
20991 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
20992 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
20993 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
20994 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
20997 as_fn_error "*** Please check PKG_CONFIG_PATH or the version
20998 of your installed Qt4 installation." "$LINENO" 5
21000 esac
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: Set QT_CFLAGS... $QT_CFLAGS" >&5
21003 $as_echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
21008 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
21009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21011 #include <sys/socket.h>
21013 main ()
21015 int f = MSG_NOSIGNAL;
21017 return 0;
21019 _ACEOF
21020 if ac_fn_c_try_compile "$LINENO"; then :
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21022 $as_echo "yes" >&6; }
21024 $as_echo "#define HAVE_MSG_NOSIGNAL 1" >>confdefs.h
21026 else
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21028 $as_echo "no" >&6; }
21031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_NOSIGPIPE " >&5
21033 $as_echo_n "checking for SO_NOSIGPIPE ... " >&6; }
21034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21036 #include <sys/socket.h>
21038 main ()
21040 int f = SO_NOSIGPIPE;
21042 return 0;
21044 _ACEOF
21045 if ac_fn_c_try_compile "$LINENO"; then :
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21047 $as_echo "yes" >&6; }
21049 $as_echo "#define HAVE_SO_NOSIGPIPE 1" >>confdefs.h
21051 else
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21053 $as_echo "no" >&6; }
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_WAITALL" >&5
21058 $as_echo_n "checking for MSG_WAITALL... " >&6; }
21059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21060 /* end confdefs.h. */
21061 #include <sys/socket.h>
21063 main ()
21065 int f = MSG_WAITALL;
21067 return 0;
21069 _ACEOF
21070 if ac_fn_c_try_compile "$LINENO"; then :
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21072 $as_echo "yes" >&6; }
21074 $as_echo "#define HAVE_MSG_WAITALL 1" >>confdefs.h
21076 else
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21078 $as_echo "no" >&6; }
21081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21083 if test "x${COMPILE_PLUGIN}" = xyes; then
21085 succeeded=no
21087 if test -z "$PKG_CONFIG"; then
21088 # Extract the first word of "pkg-config", so it can be a program name with args.
21089 set dummy pkg-config; ac_word=$2
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21091 $as_echo_n "checking for $ac_word... " >&6; }
21092 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21093 $as_echo_n "(cached) " >&6
21094 else
21095 case $PKG_CONFIG in
21096 [\\/]* | ?:[\\/]*)
21097 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21101 for as_dir in $PATH
21103 IFS=$as_save_IFS
21104 test -z "$as_dir" && as_dir=.
21105 for ac_exec_ext in '' $ac_executable_extensions; do
21106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21107 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21109 break 2
21111 done
21112 done
21113 IFS=$as_save_IFS
21115 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21117 esac
21119 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21120 if test -n "$PKG_CONFIG"; then
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21122 $as_echo "$PKG_CONFIG" >&6; }
21123 else
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21125 $as_echo "no" >&6; }
21131 if test "$PKG_CONFIG" = "no" ; then
21132 echo "*** The pkg-config script could not be found. Make sure it is"
21133 echo "*** in your path, or set the PKG_CONFIG environment variable"
21134 echo "*** to the full path to pkg-config."
21135 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21136 else
21137 PKG_CONFIG_MIN_VERSION=0.9.0
21138 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin libxul-unstable" >&5
21140 $as_echo_n "checking for mozilla-plugin libxul-unstable... " >&6; }
21142 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21144 $as_echo "yes" >&6; }
21145 succeeded=yes
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21148 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21149 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21151 $as_echo "$MOZILLA_CFLAGS" >&6; }
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21154 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21155 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21157 $as_echo "$MOZILLA_LIBS" >&6; }
21158 else
21159 MOZILLA_CFLAGS=""
21160 MOZILLA_LIBS=""
21161 ## If we have a custom action on failure, don't print errors, but
21162 ## do set a variable so people can do so.
21163 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
21169 else
21170 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21171 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21175 if test $succeeded = yes; then
21176 MOZILLA_FOUND=yes
21177 else
21178 MOZILLA_FOUND=no
21181 if test "x${MOZILLA_FOUND}" = xno; then
21183 succeeded=no
21185 if test -z "$PKG_CONFIG"; then
21186 # Extract the first word of "pkg-config", so it can be a program name with args.
21187 set dummy pkg-config; ac_word=$2
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21189 $as_echo_n "checking for $ac_word... " >&6; }
21190 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21191 $as_echo_n "(cached) " >&6
21192 else
21193 case $PKG_CONFIG in
21194 [\\/]* | ?:[\\/]*)
21195 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21199 for as_dir in $PATH
21201 IFS=$as_save_IFS
21202 test -z "$as_dir" && as_dir=.
21203 for ac_exec_ext in '' $ac_executable_extensions; do
21204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21205 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21207 break 2
21209 done
21210 done
21211 IFS=$as_save_IFS
21213 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21215 esac
21217 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21218 if test -n "$PKG_CONFIG"; then
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21220 $as_echo "$PKG_CONFIG" >&6; }
21221 else
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21223 $as_echo "no" >&6; }
21229 if test "$PKG_CONFIG" = "no" ; then
21230 echo "*** The pkg-config script could not be found. Make sure it is"
21231 echo "*** in your path, or set the PKG_CONFIG environment variable"
21232 echo "*** to the full path to pkg-config."
21233 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21234 else
21235 PKG_CONFIG_MIN_VERSION=0.9.0
21236 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin" >&5
21238 $as_echo_n "checking for mozilla-plugin... " >&6; }
21240 if $PKG_CONFIG --exists "mozilla-plugin" ; then
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21242 $as_echo "yes" >&6; }
21243 succeeded=yes
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21246 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21247 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21249 $as_echo "$MOZILLA_CFLAGS" >&6; }
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21252 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21253 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21255 $as_echo "$MOZILLA_LIBS" >&6; }
21256 else
21257 MOZILLA_CFLAGS=""
21258 MOZILLA_LIBS=""
21259 ## If we have a custom action on failure, don't print errors, but
21260 ## do set a variable so people can do so.
21261 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
21267 else
21268 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21269 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21273 if test $succeeded = yes; then
21274 MOZILLA_FOUND=yes
21275 else
21276 MOZILLA_FOUND=no
21280 if test "x${MOZILLA_FOUND}" = xno; then
21282 succeeded=no
21284 if test -z "$PKG_CONFIG"; then
21285 # Extract the first word of "pkg-config", so it can be a program name with args.
21286 set dummy pkg-config; ac_word=$2
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21288 $as_echo_n "checking for $ac_word... " >&6; }
21289 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21290 $as_echo_n "(cached) " >&6
21291 else
21292 case $PKG_CONFIG in
21293 [\\/]* | ?:[\\/]*)
21294 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21298 for as_dir in $PATH
21300 IFS=$as_save_IFS
21301 test -z "$as_dir" && as_dir=.
21302 for ac_exec_ext in '' $ac_executable_extensions; do
21303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21304 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21306 break 2
21308 done
21309 done
21310 IFS=$as_save_IFS
21312 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21314 esac
21316 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21317 if test -n "$PKG_CONFIG"; then
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21319 $as_echo "$PKG_CONFIG" >&6; }
21320 else
21321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21322 $as_echo "no" >&6; }
21328 if test "$PKG_CONFIG" = "no" ; then
21329 echo "*** The pkg-config script could not be found. Make sure it is"
21330 echo "*** in your path, or set the PKG_CONFIG environment variable"
21331 echo "*** to the full path to pkg-config."
21332 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21333 else
21334 PKG_CONFIG_MIN_VERSION=0.9.0
21335 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox-plugin firefox-xpcom" >&5
21337 $as_echo_n "checking for firefox-plugin firefox-xpcom... " >&6; }
21339 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21341 $as_echo "yes" >&6; }
21342 succeeded=yes
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21345 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21346 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21348 $as_echo "$MOZILLA_CFLAGS" >&6; }
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21351 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21352 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21354 $as_echo "$MOZILLA_LIBS" >&6; }
21355 else
21356 MOZILLA_CFLAGS=""
21357 MOZILLA_LIBS=""
21358 ## If we have a custom action on failure, don't print errors, but
21359 ## do set a variable so people can do so.
21360 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
21366 else
21367 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21368 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21372 if test $succeeded = yes; then
21373 MOZILLA_FOUND=yes
21374 else
21375 MOZILLA_FOUND=no
21379 if test "x${MOZILLA_FOUND}" = xno; then
21381 succeeded=no
21383 if test -z "$PKG_CONFIG"; then
21384 # Extract the first word of "pkg-config", so it can be a program name with args.
21385 set dummy pkg-config; ac_word=$2
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21387 $as_echo_n "checking for $ac_word... " >&6; }
21388 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21389 $as_echo_n "(cached) " >&6
21390 else
21391 case $PKG_CONFIG in
21392 [\\/]* | ?:[\\/]*)
21393 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21397 for as_dir in $PATH
21399 IFS=$as_save_IFS
21400 test -z "$as_dir" && as_dir=.
21401 for ac_exec_ext in '' $ac_executable_extensions; do
21402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21403 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21405 break 2
21407 done
21408 done
21409 IFS=$as_save_IFS
21411 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21413 esac
21415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21416 if test -n "$PKG_CONFIG"; then
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21418 $as_echo "$PKG_CONFIG" >&6; }
21419 else
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21421 $as_echo "no" >&6; }
21427 if test "$PKG_CONFIG" = "no" ; then
21428 echo "*** The pkg-config script could not be found. Make sure it is"
21429 echo "*** in your path, or set the PKG_CONFIG environment variable"
21430 echo "*** to the full path to pkg-config."
21431 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21432 else
21433 PKG_CONFIG_MIN_VERSION=0.9.0
21434 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner-plugin xulrunner-xpcom" >&5
21436 $as_echo_n "checking for xulrunner-plugin xulrunner-xpcom... " >&6; }
21438 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21440 $as_echo "yes" >&6; }
21441 succeeded=yes
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21444 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21445 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21447 $as_echo "$MOZILLA_CFLAGS" >&6; }
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21450 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21451 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
21452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21453 $as_echo "$MOZILLA_LIBS" >&6; }
21454 else
21455 MOZILLA_CFLAGS=""
21456 MOZILLA_LIBS=""
21457 ## If we have a custom action on failure, don't print errors, but
21458 ## do set a variable so people can do so.
21459 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
21465 else
21466 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21467 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21471 if test $succeeded = yes; then
21472 MOZILLA_FOUND=yes
21473 else
21474 MOZILLA_FOUND=no
21478 if test "x${MOZILLA_FOUND}" = xno; then
21480 succeeded=no
21482 if test -z "$PKG_CONFIG"; then
21483 # Extract the first word of "pkg-config", so it can be a program name with args.
21484 set dummy pkg-config; ac_word=$2
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21486 $as_echo_n "checking for $ac_word... " >&6; }
21487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21488 $as_echo_n "(cached) " >&6
21489 else
21490 case $PKG_CONFIG in
21491 [\\/]* | ?:[\\/]*)
21492 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21496 for as_dir in $PATH
21498 IFS=$as_save_IFS
21499 test -z "$as_dir" && as_dir=.
21500 for ac_exec_ext in '' $ac_executable_extensions; do
21501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21502 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21504 break 2
21506 done
21507 done
21508 IFS=$as_save_IFS
21510 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21512 esac
21514 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21515 if test -n "$PKG_CONFIG"; then
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21517 $as_echo "$PKG_CONFIG" >&6; }
21518 else
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21520 $as_echo "no" >&6; }
21526 if test "$PKG_CONFIG" = "no" ; then
21527 echo "*** The pkg-config script could not be found. Make sure it is"
21528 echo "*** in your path, or set the PKG_CONFIG environment variable"
21529 echo "*** to the full path to pkg-config."
21530 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21531 else
21532 PKG_CONFIG_MIN_VERSION=0.9.0
21533 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
21535 $as_echo_n "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... " >&6; }
21537 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21539 $as_echo "yes" >&6; }
21540 succeeded=yes
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21543 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21544 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21546 $as_echo "$MOZILLA_CFLAGS" >&6; }
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21549 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21550 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21552 $as_echo "$MOZILLA_LIBS" >&6; }
21553 else
21554 MOZILLA_CFLAGS=""
21555 MOZILLA_LIBS=""
21556 ## If we have a custom action on failure, don't print errors, but
21557 ## do set a variable so people can do so.
21558 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
21564 else
21565 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21566 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21570 if test $succeeded = yes; then
21571 MOZILLA_FOUND=yes
21572 else
21573 MOZILLA_FOUND=no
21577 if test "x${MOZILLA_FOUND}" = xno; then
21579 succeeded=no
21581 if test -z "$PKG_CONFIG"; then
21582 # Extract the first word of "pkg-config", so it can be a program name with args.
21583 set dummy pkg-config; ac_word=$2
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21585 $as_echo_n "checking for $ac_word... " >&6; }
21586 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21589 case $PKG_CONFIG in
21590 [\\/]* | ?:[\\/]*)
21591 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21595 for as_dir in $PATH
21597 IFS=$as_save_IFS
21598 test -z "$as_dir" && as_dir=.
21599 for ac_exec_ext in '' $ac_executable_extensions; do
21600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21601 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21603 break 2
21605 done
21606 done
21607 IFS=$as_save_IFS
21609 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21611 esac
21613 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21614 if test -n "$PKG_CONFIG"; then
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21616 $as_echo "$PKG_CONFIG" >&6; }
21617 else
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21619 $as_echo "no" >&6; }
21625 if test "$PKG_CONFIG" = "no" ; then
21626 echo "*** The pkg-config script could not be found. Make sure it is"
21627 echo "*** in your path, or set the PKG_CONFIG environment variable"
21628 echo "*** to the full path to pkg-config."
21629 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21630 else
21631 PKG_CONFIG_MIN_VERSION=0.9.0
21632 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seamonkey-plugin seamonkey-xpcom" >&5
21634 $as_echo_n "checking for seamonkey-plugin seamonkey-xpcom... " >&6; }
21636 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
21637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21638 $as_echo "yes" >&6; }
21639 succeeded=yes
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21642 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21643 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21645 $as_echo "$MOZILLA_CFLAGS" >&6; }
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21648 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21649 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21651 $as_echo "$MOZILLA_LIBS" >&6; }
21652 else
21653 MOZILLA_CFLAGS=""
21654 MOZILLA_LIBS=""
21655 ## If we have a custom action on failure, don't print errors, but
21656 ## do set a variable so people can do so.
21657 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
21663 else
21664 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21665 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21669 if test $succeeded = yes; then
21670 MOZILLA_FOUND=yes
21671 else
21672 MOZILLA_FOUND=no
21676 if test "x${MOZILLA_FOUND}" = xno; then
21678 succeeded=no
21680 if test -z "$PKG_CONFIG"; then
21681 # Extract the first word of "pkg-config", so it can be a program name with args.
21682 set dummy pkg-config; ac_word=$2
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21684 $as_echo_n "checking for $ac_word... " >&6; }
21685 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21686 $as_echo_n "(cached) " >&6
21687 else
21688 case $PKG_CONFIG in
21689 [\\/]* | ?:[\\/]*)
21690 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21694 for as_dir in $PATH
21696 IFS=$as_save_IFS
21697 test -z "$as_dir" && as_dir=.
21698 for ac_exec_ext in '' $ac_executable_extensions; do
21699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21700 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21702 break 2
21704 done
21705 done
21706 IFS=$as_save_IFS
21708 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21710 esac
21712 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21713 if test -n "$PKG_CONFIG"; then
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21715 $as_echo "$PKG_CONFIG" >&6; }
21716 else
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21718 $as_echo "no" >&6; }
21724 if test "$PKG_CONFIG" = "no" ; then
21725 echo "*** The pkg-config script could not be found. Make sure it is"
21726 echo "*** in your path, or set the PKG_CONFIG environment variable"
21727 echo "*** to the full path to pkg-config."
21728 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21729 else
21730 PKG_CONFIG_MIN_VERSION=0.9.0
21731 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iceape-plugin iceape-xpcom" >&5
21733 $as_echo_n "checking for iceape-plugin iceape-xpcom... " >&6; }
21735 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21737 $as_echo "yes" >&6; }
21738 succeeded=yes
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
21741 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
21742 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
21744 $as_echo "$MOZILLA_CFLAGS" >&6; }
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
21747 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
21748 MOZILLA_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
21750 $as_echo "$MOZILLA_LIBS" >&6; }
21751 else
21752 MOZILLA_CFLAGS=""
21753 MOZILLA_LIBS=""
21754 ## If we have a custom action on failure, don't print errors, but
21755 ## do set a variable so people can do so.
21756 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
21762 else
21763 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21764 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21768 if test $succeeded = yes; then
21769 MOZILLA_FOUND=yes
21770 else
21771 MOZILLA_FOUND=no
21775 if test "x${MOZILLA_FOUND}" = xno; then
21776 as_fn_error "Couldn't find plugin support headers and libraries, try --disable-plugin" "$LINENO" 5
21780 succeeded=no
21782 if test -z "$PKG_CONFIG"; then
21783 # Extract the first word of "pkg-config", so it can be a program name with args.
21784 set dummy pkg-config; ac_word=$2
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21786 $as_echo_n "checking for $ac_word... " >&6; }
21787 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21788 $as_echo_n "(cached) " >&6
21789 else
21790 case $PKG_CONFIG in
21791 [\\/]* | ?:[\\/]*)
21792 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21796 for as_dir in $PATH
21798 IFS=$as_save_IFS
21799 test -z "$as_dir" && as_dir=.
21800 for ac_exec_ext in '' $ac_executable_extensions; do
21801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21802 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21804 break 2
21806 done
21807 done
21808 IFS=$as_save_IFS
21810 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21812 esac
21814 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21815 if test -n "$PKG_CONFIG"; then
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21817 $as_echo "$PKG_CONFIG" >&6; }
21818 else
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21820 $as_echo "no" >&6; }
21826 if test "$PKG_CONFIG" = "no" ; then
21827 echo "*** The pkg-config script could not be found. Make sure it is"
21828 echo "*** in your path, or set the PKG_CONFIG environment variable"
21829 echo "*** to the full path to pkg-config."
21830 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21831 else
21832 PKG_CONFIG_MIN_VERSION=0.9.0
21833 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
21835 $as_echo_n "checking for glib-2.0... " >&6; }
21837 if $PKG_CONFIG --exists "glib-2.0" ; then
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21839 $as_echo "yes" >&6; }
21840 succeeded=yes
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
21843 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
21844 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
21846 $as_echo "$GLIB_CFLAGS" >&6; }
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
21849 $as_echo_n "checking GLIB_LIBS... " >&6; }
21850 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
21852 $as_echo "$GLIB_LIBS" >&6; }
21853 else
21854 GLIB_CFLAGS=""
21855 GLIB_LIBS=""
21856 ## If we have a custom action on failure, don't print errors, but
21857 ## do set a variable so people can do so.
21858 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
21859 echo $GLIB_PKG_ERRORS
21864 else
21865 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21866 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21870 if test $succeeded = yes; then
21872 else
21873 as_fn_error "Library requirements (glib-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
21877 succeeded=no
21879 if test -z "$PKG_CONFIG"; then
21880 # Extract the first word of "pkg-config", so it can be a program name with args.
21881 set dummy pkg-config; ac_word=$2
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21883 $as_echo_n "checking for $ac_word... " >&6; }
21884 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21885 $as_echo_n "(cached) " >&6
21886 else
21887 case $PKG_CONFIG in
21888 [\\/]* | ?:[\\/]*)
21889 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21893 for as_dir in $PATH
21895 IFS=$as_save_IFS
21896 test -z "$as_dir" && as_dir=.
21897 for ac_exec_ext in '' $ac_executable_extensions; do
21898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21899 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21901 break 2
21903 done
21904 done
21905 IFS=$as_save_IFS
21907 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21909 esac
21911 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21912 if test -n "$PKG_CONFIG"; then
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21914 $as_echo "$PKG_CONFIG" >&6; }
21915 else
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21917 $as_echo "no" >&6; }
21923 if test "$PKG_CONFIG" = "no" ; then
21924 echo "*** The pkg-config script could not be found. Make sure it is"
21925 echo "*** in your path, or set the PKG_CONFIG environment variable"
21926 echo "*** to the full path to pkg-config."
21927 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21928 else
21929 PKG_CONFIG_MIN_VERSION=0.9.0
21930 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
21932 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
21934 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21936 $as_echo "yes" >&6; }
21937 succeeded=yes
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
21940 $as_echo_n "checking GTK_CFLAGS... " >&6; }
21941 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
21943 $as_echo "$GTK_CFLAGS" >&6; }
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
21946 $as_echo_n "checking GTK_LIBS... " >&6; }
21947 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
21949 $as_echo "$GTK_LIBS" >&6; }
21950 else
21951 GTK_CFLAGS=""
21952 GTK_LIBS=""
21953 ## If we have a custom action on failure, don't print errors, but
21954 ## do set a variable so people can do so.
21955 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
21956 echo $GTK_PKG_ERRORS
21961 else
21962 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21963 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21967 if test $succeeded = yes; then
21969 else
21970 as_fn_error "Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
21981 PLUGIN_DIR=$HOME/.mozilla/plugins/
21986 # Check whether --with-gmp was given.
21987 if test "${with_gmp+set}" = set; then :
21988 withval=$with_gmp;
21992 # Check whether --with-gmp_include was given.
21993 if test "${with_gmp_include+set}" = set; then :
21994 withval=$with_gmp_include;
21998 # Check whether --with-gmp_lib was given.
21999 if test "${with_gmp_lib+set}" = set; then :
22000 withval=$with_gmp_lib;
22004 if test "x$with_gmp" != x; then
22005 gmplibs=-lgmp
22006 gmpinc=
22007 gmplibs="-L$with_gmp/lib $gmplibs"
22008 gmpinc="-I$with_gmp/include $gmpinc"
22009 if test "x$with_gmp_include" != x; then
22010 gmpinc="-I$with_gmp_include $gmpinc"
22012 if test "x$with_gmp_lib" != x; then
22013 gmplibs="-L$with_gmp_lib $gmplibs"
22015 else
22016 gmplibs="-lgmp"
22017 gmpinc="-I/usr/include"
22020 if test "x${COMPILE_GMP}" = xyes; then
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMP directories" >&5
22022 $as_echo_n "checking for GMP directories... " >&6; }
22023 if test "x$with_gmp" != x; then
22024 gmplibs="-L$with_gmp/lib -lgmp"
22025 gmpinc="-I$with_gmp/include"
22026 if test "x$with_gmp_include" != x; then
22027 gmpinc="-I$with_gmp_include $gmpinc"
22029 if test "x$with_gmp_lib" != x; then
22030 gmplibs="-L$with_gmp_lib $gmplibs"
22032 else
22033 with_gmp="/usr"
22034 gmplibs="-lgmp"
22035 gmpinc="-I/usr/include"
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&5
22038 $as_echo "prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&6; }
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_mul_si in -lgmp" >&5
22040 $as_echo_n "checking for __gmpz_mul_si in -lgmp... " >&6; }
22041 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then :
22042 $as_echo_n "(cached) " >&6
22043 else
22044 ac_check_lib_save_LIBS=$LIBS
22045 LIBS="-lgmp $LIBS"
22046 if test x$gcc_no_link = xyes; then
22047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22050 /* end confdefs.h. */
22052 /* Override any GCC internal prototype to avoid an error.
22053 Use char because int might match the return type of a GCC
22054 builtin and then its argument prototype would still apply. */
22055 #ifdef __cplusplus
22056 extern "C"
22057 #endif
22058 char __gmpz_mul_si ();
22060 main ()
22062 return __gmpz_mul_si ();
22064 return 0;
22066 _ACEOF
22067 if ac_fn_c_try_link "$LINENO"; then :
22068 ac_cv_lib_gmp___gmpz_mul_si=yes
22069 else
22070 ac_cv_lib_gmp___gmpz_mul_si=no
22072 rm -f core conftest.err conftest.$ac_objext \
22073 conftest$ac_exeext conftest.$ac_ext
22074 LIBS=$ac_check_lib_save_LIBS
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
22077 $as_echo "$ac_cv_lib_gmp___gmpz_mul_si" >&6; }
22078 if test "x$ac_cv_lib_gmp___gmpz_mul_si" = x""yes; then :
22079 GMP_CFLAGS="$gmpinc"
22080 GMP_LIBS="$gmplibs"
22081 else
22082 GMP_CFLAGS=
22083 GMP_LIBS=
22089 for ac_header in gmp.h
22090 do :
22091 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
22092 if test "x$ac_cv_header_gmp_h" = x""yes; then :
22093 cat >>confdefs.h <<_ACEOF
22094 #define HAVE_GMP_H 1
22095 _ACEOF
22099 done
22103 else
22104 COMPILE_GMP=no
22107 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
22110 # Check whether --with-javah was given.
22111 if test "${with_javah+set}" = set; then :
22112 withval=$with_javah;
22113 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
22115 if test "x${withval}" != x; then
22116 if test -f "${withval}"; then
22117 USER_JAVAH="${withval}"
22118 else
22119 # Extract the first word of ""${withval}"", so it can be a program name with args.
22120 set dummy "${withval}"; ac_word=$2
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22122 $as_echo_n "checking for $ac_word... " >&6; }
22123 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22124 $as_echo_n "(cached) " >&6
22125 else
22126 case $USER_JAVAH in
22127 [\\/]* | ?:[\\/]*)
22128 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
22131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22132 for as_dir in $PATH
22134 IFS=$as_save_IFS
22135 test -z "$as_dir" && as_dir=.
22136 for ac_exec_ext in '' $ac_executable_extensions; do
22137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22138 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
22139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22140 break 2
22142 done
22143 done
22144 IFS=$as_save_IFS
22147 esac
22149 USER_JAVAH=$ac_cv_path_USER_JAVAH
22150 if test -n "$USER_JAVAH"; then
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22152 $as_echo "$USER_JAVAH" >&6; }
22153 else
22154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22155 $as_echo "no" >&6; }
22160 else
22161 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22163 # Extract the first word of "$ac_prog", so it can be a program name with args.
22164 set dummy $ac_prog; ac_word=$2
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22166 $as_echo_n "checking for $ac_word... " >&6; }
22167 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22168 $as_echo_n "(cached) " >&6
22169 else
22170 case $USER_JAVAH in
22171 [\\/]* | ?:[\\/]*)
22172 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
22175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22176 for as_dir in $PATH
22178 IFS=$as_save_IFS
22179 test -z "$as_dir" && as_dir=.
22180 for ac_exec_ext in '' $ac_executable_extensions; do
22181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22182 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
22183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22184 break 2
22186 done
22187 done
22188 IFS=$as_save_IFS
22191 esac
22193 USER_JAVAH=$ac_cv_path_USER_JAVAH
22194 if test -n "$USER_JAVAH"; then
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22196 $as_echo "$USER_JAVAH" >&6; }
22197 else
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22199 $as_echo "no" >&6; }
22203 test -n "$USER_JAVAH" && break
22204 done
22208 if test "x${USER_JAVAH}" = x; then
22209 as_fn_error "can not find javah" "$LINENO" 5
22212 else
22214 if test "x" != x; then
22215 if test -f ""; then
22216 USER_JAVAH=""
22217 else
22218 # Extract the first word of """", so it can be a program name with args.
22219 set dummy ""; ac_word=$2
22220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22221 $as_echo_n "checking for $ac_word... " >&6; }
22222 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22223 $as_echo_n "(cached) " >&6
22224 else
22225 case $USER_JAVAH in
22226 [\\/]* | ?:[\\/]*)
22227 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
22230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22231 for as_dir in $PATH
22233 IFS=$as_save_IFS
22234 test -z "$as_dir" && as_dir=.
22235 for ac_exec_ext in '' $ac_executable_extensions; do
22236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22237 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
22238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22239 break 2
22241 done
22242 done
22243 IFS=$as_save_IFS
22246 esac
22248 USER_JAVAH=$ac_cv_path_USER_JAVAH
22249 if test -n "$USER_JAVAH"; then
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22251 $as_echo "$USER_JAVAH" >&6; }
22252 else
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22254 $as_echo "no" >&6; }
22259 else
22260 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22262 # Extract the first word of "$ac_prog", so it can be a program name with args.
22263 set dummy $ac_prog; ac_word=$2
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22265 $as_echo_n "checking for $ac_word... " >&6; }
22266 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22269 case $USER_JAVAH in
22270 [\\/]* | ?:[\\/]*)
22271 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
22274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22275 for as_dir in $PATH
22277 IFS=$as_save_IFS
22278 test -z "$as_dir" && as_dir=.
22279 for ac_exec_ext in '' $ac_executable_extensions; do
22280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22281 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
22282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22283 break 2
22285 done
22286 done
22287 IFS=$as_save_IFS
22290 esac
22292 USER_JAVAH=$ac_cv_path_USER_JAVAH
22293 if test -n "$USER_JAVAH"; then
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22295 $as_echo "$USER_JAVAH" >&6; }
22296 else
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22298 $as_echo "no" >&6; }
22302 test -n "$USER_JAVAH" && break
22303 done
22307 if test "x${USER_JAVAH}" = x; then
22308 as_fn_error "can not find javah" "$LINENO" 5
22313 else
22316 if test "x" != x; then
22317 if test -f ""; then
22318 USER_JAVAH=""
22319 else
22320 # Extract the first word of """", so it can be a program name with args.
22321 set dummy ""; ac_word=$2
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22323 $as_echo_n "checking for $ac_word... " >&6; }
22324 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22325 $as_echo_n "(cached) " >&6
22326 else
22327 case $USER_JAVAH in
22328 [\\/]* | ?:[\\/]*)
22329 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
22332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22333 for as_dir in $PATH
22335 IFS=$as_save_IFS
22336 test -z "$as_dir" && as_dir=.
22337 for ac_exec_ext in '' $ac_executable_extensions; do
22338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22339 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
22340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22341 break 2
22343 done
22344 done
22345 IFS=$as_save_IFS
22348 esac
22350 USER_JAVAH=$ac_cv_path_USER_JAVAH
22351 if test -n "$USER_JAVAH"; then
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22353 $as_echo "$USER_JAVAH" >&6; }
22354 else
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22356 $as_echo "no" >&6; }
22361 else
22362 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
22364 # Extract the first word of "$ac_prog", so it can be a program name with args.
22365 set dummy $ac_prog; ac_word=$2
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22367 $as_echo_n "checking for $ac_word... " >&6; }
22368 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
22369 $as_echo_n "(cached) " >&6
22370 else
22371 case $USER_JAVAH in
22372 [\\/]* | ?:[\\/]*)
22373 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
22376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22377 for as_dir in $PATH
22379 IFS=$as_save_IFS
22380 test -z "$as_dir" && as_dir=.
22381 for ac_exec_ext in '' $ac_executable_extensions; do
22382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22383 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
22384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22385 break 2
22387 done
22388 done
22389 IFS=$as_save_IFS
22392 esac
22394 USER_JAVAH=$ac_cv_path_USER_JAVAH
22395 if test -n "$USER_JAVAH"; then
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
22397 $as_echo "$USER_JAVAH" >&6; }
22398 else
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22400 $as_echo "no" >&6; }
22404 test -n "$USER_JAVAH" && break
22405 done
22409 if test "x${USER_JAVAH}" = x; then
22410 as_fn_error "can not find javah" "$LINENO" 5
22420 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
22423 if test "x${COMPILE_JNI}" = xyes; then
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking jni_md.h support" >&5
22425 $as_echo_n "checking jni_md.h support... " >&6; }
22426 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
22427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22428 $as_echo "yes" >&6; }
22429 else
22430 target_cpu=x86
22431 target_os=linux-gnu
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no" >&5
22433 $as_echo "$as_me: WARNING: no" >&2;}
22435 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
22436 ac_dests="include/jni_md.h"
22437 while test -n "$ac_sources"; do
22438 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22439 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22440 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
22441 done
22442 ac_config_links="$ac_config_links $ac_config_links_1"
22448 # Check whether --with-vm-classes was given.
22449 if test "${with_vm_classes+set}" = set; then :
22450 withval=$with_vm_classes; vm_classes="$with_vm_classes"
22451 else
22452 vm_classes='${top_srcdir}/vm/reference'
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
22460 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
22461 # Check whether --enable-maintainer-mode was given.
22462 if test "${enable_maintainer_mode+set}" = set; then :
22463 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
22464 else
22465 USE_MAINTAINER_MODE=no
22468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
22469 $as_echo "$USE_MAINTAINER_MODE" >&6; }
22470 if test $USE_MAINTAINER_MODE = yes; then
22471 MAINTAINER_MODE_TRUE=
22472 MAINTAINER_MODE_FALSE='#'
22473 else
22474 MAINTAINER_MODE_TRUE='#'
22475 MAINTAINER_MODE_FALSE=
22478 MAINT=$MAINTAINER_MODE_TRUE
22482 # Check whether --enable-debug was given.
22483 if test "${enable_debug+set}" = set; then :
22484 enableval=$enable_debug; case "${enableval}" in
22485 yes)
22486 LIBDEBUG="true"
22488 $as_echo "#define DEBUG 1" >>confdefs.h
22491 no) LIBDEBUG="false" ;;
22492 *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
22493 esac
22494 else
22495 LIBDEBUG="false"
22500 # Check whether --enable-load-library was given.
22501 if test "${enable_load_library+set}" = set; then :
22502 enableval=$enable_load_library; case "${enableval}" in
22503 yes) INIT_LOAD_LIBRARY="true" ;;
22504 no) INIT_LOAD_LIBRARY="false" ;;
22505 *) as_fn_error "bad value ${enableval} for --enable-load-library" "$LINENO" 5 ;;
22506 esac
22507 else
22508 INIT_LOAD_LIBRARY="true"
22515 # Check whether --with-ecj-jar was given.
22516 if test "${with_ecj_jar+set}" = set; then :
22517 withval=$with_ecj_jar; ECJ_JAR=$withval
22518 else
22519 if test -f $multi_basedir/ecj.jar; then
22520 ECJ_JAR='$(jardir)/ecj.jar'
22526 # Check whether --enable-java-lang-system-explicit-initialization was given.
22527 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then :
22528 enableval=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
22529 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
22530 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
22531 *) as_fn_error "bad value ${enableval} for --enable-java-lang-system-explicit-initialization" "$LINENO" 5 ;;
22532 esac
22533 else
22534 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
22540 REMOVE=""
22543 # Extract the first word of "mkdir", so it can be a program name with args.
22544 set dummy mkdir; ac_word=$2
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22546 $as_echo_n "checking for $ac_word... " >&6; }
22547 if test "${ac_cv_path_MKDIR+set}" = set; then :
22548 $as_echo_n "(cached) " >&6
22549 else
22550 case $MKDIR in
22551 [\\/]* | ?:[\\/]*)
22552 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
22555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22556 for as_dir in $PATH
22558 IFS=$as_save_IFS
22559 test -z "$as_dir" && as_dir=.
22560 for ac_exec_ext in '' $ac_executable_extensions; do
22561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22562 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
22563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22564 break 2
22566 done
22567 done
22568 IFS=$as_save_IFS
22571 esac
22573 MKDIR=$ac_cv_path_MKDIR
22574 if test -n "$MKDIR"; then
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
22576 $as_echo "$MKDIR" >&6; }
22577 else
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22579 $as_echo "no" >&6; }
22583 # Extract the first word of "cp", so it can be a program name with args.
22584 set dummy cp; ac_word=$2
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22586 $as_echo_n "checking for $ac_word... " >&6; }
22587 if test "${ac_cv_path_CP+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22589 else
22590 case $CP in
22591 [\\/]* | ?:[\\/]*)
22592 ac_cv_path_CP="$CP" # Let the user override the test with a path.
22595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22596 for as_dir in $PATH
22598 IFS=$as_save_IFS
22599 test -z "$as_dir" && as_dir=.
22600 for ac_exec_ext in '' $ac_executable_extensions; do
22601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22602 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
22603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22604 break 2
22606 done
22607 done
22608 IFS=$as_save_IFS
22611 esac
22613 CP=$ac_cv_path_CP
22614 if test -n "$CP"; then
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
22616 $as_echo "$CP" >&6; }
22617 else
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22619 $as_echo "no" >&6; }
22623 # Extract the first word of "date", so it can be a program name with args.
22624 set dummy date; ac_word=$2
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22626 $as_echo_n "checking for $ac_word... " >&6; }
22627 if test "${ac_cv_path_DATE+set}" = set; then :
22628 $as_echo_n "(cached) " >&6
22629 else
22630 case $DATE in
22631 [\\/]* | ?:[\\/]*)
22632 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
22635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22636 for as_dir in $PATH
22638 IFS=$as_save_IFS
22639 test -z "$as_dir" && as_dir=.
22640 for ac_exec_ext in '' $ac_executable_extensions; do
22641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22642 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
22643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22644 break 2
22646 done
22647 done
22648 IFS=$as_save_IFS
22651 esac
22653 DATE=$ac_cv_path_DATE
22654 if test -n "$DATE"; then
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
22656 $as_echo "$DATE" >&6; }
22657 else
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22659 $as_echo "no" >&6; }
22664 # Extract the first word of "find", so it can be a program name with args.
22665 set dummy find; ac_word=$2
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22667 $as_echo_n "checking for $ac_word... " >&6; }
22668 if test "${ac_cv_path_FIND+set}" = set; then :
22669 $as_echo_n "(cached) " >&6
22670 else
22671 case $FIND in
22672 [\\/]* | ?:[\\/]*)
22673 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
22676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22677 for as_dir in $PATH
22679 IFS=$as_save_IFS
22680 test -z "$as_dir" && as_dir=.
22681 for ac_exec_ext in '' $ac_executable_extensions; do
22682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22683 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
22684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22685 break 2
22687 done
22688 done
22689 IFS=$as_save_IFS
22692 esac
22694 FIND=$ac_cv_path_FIND
22695 if test -n "$FIND"; then
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
22697 $as_echo "$FIND" >&6; }
22698 else
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22700 $as_echo "no" >&6; }
22706 # Extract the first word of "zip", so it can be a program name with args.
22707 set dummy zip; ac_word=$2
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22709 $as_echo_n "checking for $ac_word... " >&6; }
22710 if test "${ac_cv_path_ZIP+set}" = set; then :
22711 $as_echo_n "(cached) " >&6
22712 else
22713 case $ZIP in
22714 [\\/]* | ?:[\\/]*)
22715 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
22718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22719 for as_dir in $PATH
22721 IFS=$as_save_IFS
22722 test -z "$as_dir" && as_dir=.
22723 for ac_exec_ext in '' $ac_executable_extensions; do
22724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22725 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
22726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22727 break 2
22729 done
22730 done
22731 IFS=$as_save_IFS
22734 esac
22736 ZIP=$ac_cv_path_ZIP
22737 if test -n "$ZIP"; then
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
22739 $as_echo "$ZIP" >&6; }
22740 else
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22742 $as_echo "no" >&6; }
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a jar-like tool" >&5
22748 $as_echo_n "checking for a jar-like tool... " >&6; }
22750 # Check whether --with-jar was given.
22751 if test "${with_jar+set}" = set; then :
22752 withval=$with_jar;
22753 case "${withval}" in
22754 yes)
22755 JAR=yes
22758 JAR=no
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
22760 $as_echo "${JAR}" >&6; }
22763 if test -f "${withval}"; then
22764 JAR="${withval}"
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
22766 $as_echo "${JAR}" >&6; }
22767 else
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22769 $as_echo "not found" >&6; }
22770 as_fn_error "The jar tool ${withval} was not found." "$LINENO" 5
22773 esac
22775 else
22777 JAR=yes
22781 if test x"${JAR}" = "xyes"; then
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying fastjar, gjar and jar" >&5
22783 $as_echo "trying fastjar, gjar and jar" >&6; }
22784 for ac_prog in fastjar gjar jar
22786 # Extract the first word of "$ac_prog", so it can be a program name with args.
22787 set dummy $ac_prog; ac_word=$2
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22789 $as_echo_n "checking for $ac_word... " >&6; }
22790 if test "${ac_cv_path_JAR+set}" = set; then :
22791 $as_echo_n "(cached) " >&6
22792 else
22793 case $JAR in
22794 [\\/]* | ?:[\\/]*)
22795 ac_cv_path_JAR="$JAR" # Let the user override the test with a path.
22798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22799 for as_dir in $PATH
22801 IFS=$as_save_IFS
22802 test -z "$as_dir" && as_dir=.
22803 for ac_exec_ext in '' $ac_executable_extensions; do
22804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22805 ac_cv_path_JAR="$as_dir/$ac_word$ac_exec_ext"
22806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22807 break 2
22809 done
22810 done
22811 IFS=$as_save_IFS
22814 esac
22816 JAR=$ac_cv_path_JAR
22817 if test -n "$JAR"; then
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
22819 $as_echo "$JAR" >&6; }
22820 else
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22822 $as_echo "no" >&6; }
22826 test -n "$JAR" && break
22827 done
22829 if test x"${RHINO_JAR}" = "xyes"; then
22830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
22831 $as_echo "not found" >&6; }
22834 if test x"${JAR}" = "xno" && test x"${ZIP}" = ""; then
22835 as_fn_error "No zip or jar tool found." "$LINENO" 5
22837 if test x"${JAR}" != "xno" && test x"${JAR}" != "xyes"; then
22838 WITH_JAR_TRUE=
22839 WITH_JAR_FALSE='#'
22840 else
22841 WITH_JAR_TRUE='#'
22842 WITH_JAR_FALSE=
22848 # Check whether --with-glibj was given.
22849 if test "${with_glibj+set}" = set; then :
22850 withval=$with_glibj;
22851 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
22852 install_class_files=no
22853 build_class_files=yes
22854 use_zip=yes
22855 elif test "x${withval}" = xboth; then
22856 install_class_files=yes
22857 build_class_files=yes
22858 use_zip=yes
22859 elif test "x${withval}" = xflat; then
22860 install_class_files=yes
22861 build_class_files=yes
22862 use_zip=no
22863 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
22864 install_class_files=no
22865 build_class_files=no
22866 use_zip=no
22867 elif test "x${withval}" = xbuild; then
22868 install_class_files=no
22869 build_class_files=yes
22870 use_zip=no
22871 else
22872 as_fn_error "unknown value given to --with-glibj" "$LINENO" 5
22875 else
22877 install_class_files=no
22878 use_zip=yes
22882 if test "x${use_zip}" = xyes; then
22883 INSTALL_GLIBJ_ZIP_TRUE=
22884 INSTALL_GLIBJ_ZIP_FALSE='#'
22885 else
22886 INSTALL_GLIBJ_ZIP_TRUE='#'
22887 INSTALL_GLIBJ_ZIP_FALSE=
22890 if test "x${install_class_files}" = xyes; then
22891 INSTALL_CLASS_FILES_TRUE=
22892 INSTALL_CLASS_FILES_FALSE='#'
22893 else
22894 INSTALL_CLASS_FILES_TRUE='#'
22895 INSTALL_CLASS_FILES_FALSE=
22898 if test "x${build_class_files}" = xyes; then
22899 BUILD_CLASS_FILES_TRUE=
22900 BUILD_CLASS_FILES_FALSE='#'
22901 else
22902 BUILD_CLASS_FILES_TRUE='#'
22903 BUILD_CLASS_FILES_FALSE=
22907 # Check whether --enable-examples was given.
22908 if test "${enable_examples+set}" = set; then :
22909 enableval=$enable_examples; case "${enableval}" in
22910 yes) EXAMPLESDIR="examples" ;;
22911 no) EXAMPLESDIR="" ;;
22912 *) as_fn_error "bad value ${enableval} for --enable-examples" "$LINENO" 5 ;;
22913 esac
22914 else
22915 EXAMPLESDIR="examples"
22918 if test "x${build_class_files}" = xno; then
22919 EXAMPLESDIR=""
22923 # Check whether --enable-tools was given.
22924 if test "${enable_tools+set}" = set; then :
22925 enableval=$enable_tools; case "${enableval}" in
22926 yes) TOOLSDIR="tools" ;;
22927 no) TOOLSDIR="" ;;
22928 *) as_fn_error "bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
22929 esac
22930 else
22931 TOOLSDIR="tools"
22934 if test "x${build_class_files}" = xno; then
22935 TOOLSDIR=""
22942 # Check whether --with-gjdoc was given.
22943 if test "${with_gjdoc+set}" = set; then :
22944 withval=$with_gjdoc; if test "x${withval}" = xno; then
22945 WITH_GJDOC=no;
22946 elif test "x${withval}" = xyes -o "x{withval}" = x; then
22947 WITH_GJDOC=yes;
22948 # Extract the first word of "gjdoc", so it can be a program name with args.
22949 set dummy gjdoc; ac_word=$2
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22951 $as_echo_n "checking for $ac_word... " >&6; }
22952 if test "${ac_cv_path_GJDOC+set}" = set; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22955 case $GJDOC in
22956 [\\/]* | ?:[\\/]*)
22957 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
22960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22961 for as_dir in $PATH
22963 IFS=$as_save_IFS
22964 test -z "$as_dir" && as_dir=.
22965 for ac_exec_ext in '' $ac_executable_extensions; do
22966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22967 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
22968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22969 break 2
22971 done
22972 done
22973 IFS=$as_save_IFS
22975 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
22977 esac
22979 GJDOC=$ac_cv_path_GJDOC
22980 if test -n "$GJDOC"; then
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GJDOC" >&5
22982 $as_echo "$GJDOC" >&6; }
22983 else
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22985 $as_echo "no" >&6; }
22989 if test "x${GJDOC}" = xno; then
22990 as_fn_error "\"gjdoc executable not found\"" "$LINENO" 5;
22992 else
22993 WITH_GJDOC=yes
22994 GJDOC="${withval}"
22995 as_ac_File=`$as_echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
22996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${GJDOC}" >&5
22997 $as_echo_n "checking for ${GJDOC}... " >&6; }
22998 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
22999 $as_echo_n "(cached) " >&6
23000 else
23001 test "$cross_compiling" = yes &&
23002 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
23003 if test -r "${GJDOC}"; then
23004 eval "$as_ac_File=yes"
23005 else
23006 eval "$as_ac_File=no"
23009 eval ac_res=\$$as_ac_File
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23011 $as_echo "$ac_res" >&6; }
23012 eval as_val=\$$as_ac_File
23013 if test "x$as_val" = x""yes; then :
23015 else
23016 as_fn_error "\"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" "$LINENO" 5
23020 else
23021 WITH_GJDOC=no
23024 if test "x${WITH_GJDOC}" = xyes; then
23025 CREATE_API_DOCS_TRUE=
23026 CREATE_API_DOCS_FALSE='#'
23027 else
23028 CREATE_API_DOCS_TRUE='#'
23029 CREATE_API_DOCS_FALSE=
23032 if test "x${WITH_GJDOC}" = xyes; then
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of GJDoc" >&5
23034 $as_echo_n "checking version of GJDoc... " >&6; }
23035 gjdoc_version=$(${GJDOC} --version|cut -d ' ' -f2)
23036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gjdoc_version}" >&5
23037 $as_echo "${gjdoc_version}" >&6; }
23038 case ${gjdoc_version} in
23039 0.7.9) ;;
23040 0.8*) ;;
23041 *) as_fn_error "Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." "$LINENO" 5 ;;
23042 esac
23048 # Check whether --with-jay was given.
23049 if test "${with_jay+set}" = set; then :
23050 withval=$with_jay;
23051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
23052 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
23053 JAY_FOUND=no
23054 JAY_DIR_PATH=
23055 if test "x${withval}" = xno; then
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23057 $as_echo "no" >&6; }
23058 elif test "x${withval}" = xyes; then
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23060 $as_echo "yes" >&6; }
23061 JAY_DIR_PATH="/usr/share/jay"
23062 elif test -d "${withval}"; then
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23064 $as_echo "yes" >&6; }
23065 JAY_DIR_PATH="${withval}"
23066 elif test -f "${withval}"; then
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23068 $as_echo "yes" >&6; }
23069 JAY_DIR_PATH=`dirname "${withval}"`
23070 JAY="${withval}"
23071 else
23072 as_fn_error "jay not found at ${withval}" "$LINENO" 5
23075 if test "x${JAY_DIR_PATH}" != x; then
23076 # Extract the first word of "jay", so it can be a program name with args.
23077 set dummy jay; ac_word=$2
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23079 $as_echo_n "checking for $ac_word... " >&6; }
23080 if test "${ac_cv_path_JAY+set}" = set; then :
23081 $as_echo_n "(cached) " >&6
23082 else
23083 case $JAY in
23084 [\\/]* | ?:[\\/]*)
23085 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
23088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23089 as_dummy="${JAY_DIR_PATH}:${PATH}"
23090 for as_dir in $as_dummy
23092 IFS=$as_save_IFS
23093 test -z "$as_dir" && as_dir=.
23094 for ac_exec_ext in '' $ac_executable_extensions; do
23095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23096 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
23097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23098 break 2
23100 done
23101 done
23102 IFS=$as_save_IFS
23104 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
23106 esac
23108 JAY=$ac_cv_path_JAY
23109 if test -n "$JAY"; then
23110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAY" >&5
23111 $as_echo "$JAY" >&6; }
23112 else
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23114 $as_echo "no" >&6; }
23118 if test "x${JAY}" = xno; then
23119 as_fn_error "jay executable not found" "$LINENO" 5;
23121 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
23122 as_ac_File=`$as_echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${JAY_SKELETON}" >&5
23124 $as_echo_n "checking for ${JAY_SKELETON}... " >&6; }
23125 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
23126 $as_echo_n "(cached) " >&6
23127 else
23128 test "$cross_compiling" = yes &&
23129 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
23130 if test -r "${JAY_SKELETON}"; then
23131 eval "$as_ac_File=yes"
23132 else
23133 eval "$as_ac_File=no"
23136 eval ac_res=\$$as_ac_File
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23138 $as_echo "$ac_res" >&6; }
23139 eval as_val=\$$as_ac_File
23140 if test "x$as_val" = x""yes; then :
23142 else
23143 as_fn_error "Expected skeleton file in ${JAY_DIR_PATH}" "$LINENO" 5
23146 JAY_FOUND=yes
23149 else
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
23152 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
23153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23154 $as_echo "no" >&6; }
23155 JAY_FOUND=no
23159 if test "x${JAY_FOUND}" = xyes; then
23160 REGEN_PARSERS_TRUE=
23161 REGEN_PARSERS_FALSE='#'
23162 else
23163 REGEN_PARSERS_TRUE='#'
23164 REGEN_PARSERS_FALSE=
23169 # Check whether --enable-portable-native-sync was given.
23170 if test "${enable_portable_native_sync+set}" = set; then :
23171 enableval=$enable_portable_native_sync; case "${enableval}" in
23172 yes)
23174 $as_echo "#define PORTABLE_NATIVE_SYNC 1" >>confdefs.h
23177 no) ;;
23179 as_fn_error "bad value ${enableval} for --enable-portable-native-sync" "$LINENO" 5
23181 esac
23185 # ------ AX CREATE STDINT H -------------------------------------
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
23187 $as_echo_n "checking for stdint types... " >&6; }
23188 ac_stdint_h=`echo include/config-int.h`
23189 # try to shortcircuit - if the default include path of the compiler
23190 # can find a "stdint.h" header then we assume that all compilers can.
23191 if test "${ac_cv_header_stdint_t+set}" = set; then :
23192 $as_echo_n "(cached) " >&6
23193 else
23195 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
23196 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
23197 old_CFLAGS="$CFLAGS" ; CFLAGS=""
23198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23199 /* end confdefs.h. */
23200 #include <stdint.h>
23202 main ()
23204 int_least32_t v = 0;
23206 return 0;
23208 _ACEOF
23209 if ac_fn_c_try_compile "$LINENO"; then :
23210 ac_cv_stdint_result="(assuming C99 compatible system)"
23211 ac_cv_header_stdint_t="stdint.h";
23212 else
23213 ac_cv_header_stdint_t=""
23215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23216 CXXFLAGS="$old_CXXFLAGS"
23217 CPPFLAGS="$old_CPPFLAGS"
23218 CFLAGS="$old_CFLAGS"
23222 v="... $ac_cv_header_stdint_h"
23223 if test "$ac_stdint_h" = "stdint.h" ; then
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
23225 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
23226 elif test "$ac_stdint_h" = "inttypes.h" ; then
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
23228 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
23229 elif test "_$ac_cv_header_stdint_t" = "_" ; then
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
23231 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
23232 else
23233 ac_cv_header_stdint="$ac_cv_header_stdint_t"
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
23235 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
23238 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
23241 inttype_headers=`echo | sed -e 's/,/ /g'`
23243 ac_cv_stdint_result="(no helpful system typedefs seen)"
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23246 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23247 if test "${ac_cv_header_stdint_x+set}" = set; then :
23248 $as_echo_n "(cached) " >&6
23249 else
23251 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23253 $as_echo "(..)" >&6; }
23254 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
23255 unset ac_cv_type_uintptr_t
23256 unset ac_cv_type_uint64_t
23257 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
23259 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
23260 ac_cv_header_stdint_x=$i
23261 else
23262 continue
23265 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23267 if test "x$ac_cv_type_uint64_t" = x""yes; then :
23268 and64="/uint64_t"
23269 else
23270 and64=""
23273 stdint.h inttypes.h sys/inttypes.h $inttype_headers
23274 break
23275 done
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23277 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
23281 $as_echo "$ac_cv_header_stdint_x" >&6; }
23284 if test "_$ac_cv_header_stdint_x" = "_" ; then
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23287 $as_echo_n "checking for stdint uint32_t... " >&6; }
23288 if test "${ac_cv_header_stdint_o+set}" = set; then :
23289 $as_echo_n "(cached) " >&6
23290 else
23292 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23294 $as_echo "(..)" >&6; }
23295 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
23296 unset ac_cv_type_uint32_t
23297 unset ac_cv_type_uint64_t
23298 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
23300 if test "x$ac_cv_type_uint32_t" = x""yes; then :
23301 ac_cv_header_stdint_o=$i
23302 else
23303 continue
23306 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23308 if test "x$ac_cv_type_uint64_t" = x""yes; then :
23309 and64="/uint64_t"
23310 else
23311 and64=""
23314 inttypes.h sys/inttypes.h stdint.h $inttype_headers
23315 break
23316 break;
23317 done
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23319 $as_echo_n "checking for stdint uint32_t... " >&6; }
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
23323 $as_echo "$ac_cv_header_stdint_o" >&6; }
23327 if test "_$ac_cv_header_stdint_x" = "_" ; then
23328 if test "_$ac_cv_header_stdint_o" = "_" ; then
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23331 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23332 if test "${ac_cv_header_stdint_u+set}" = set; then :
23333 $as_echo_n "(cached) " >&6
23334 else
23336 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
23337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23338 $as_echo "(..)" >&6; }
23339 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
23340 unset ac_cv_type_u_int32_t
23341 unset ac_cv_type_u_int64_t
23342 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
23344 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
23345 ac_cv_header_stdint_u=$i
23346 else
23347 continue
23350 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
23352 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
23353 and64="/u_int64_t"
23354 else
23355 and64=""
23358 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
23359 break
23360 break;
23361 done
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23363 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
23367 $as_echo "$ac_cv_header_stdint_u" >&6; }
23369 fi fi
23371 if test "_$ac_cv_header_stdint_x" = "_" ; then
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
23373 $as_echo_n "checking for stdint datatype model... " >&6; }
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23375 $as_echo "(..)" >&6; }
23377 # The cast to long int works around a bug in the HP C Compiler
23378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23379 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23380 # This bug is HP SR number 8606223364.
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
23382 $as_echo_n "checking size of char... " >&6; }
23383 if test "${ac_cv_sizeof_char+set}" = set; then :
23384 $as_echo_n "(cached) " >&6
23385 else
23386 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
23388 else
23389 if test "$ac_cv_type_char" = yes; then
23390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23392 { as_fn_set_status 77
23393 as_fn_error "cannot compute sizeof (char)
23394 See \`config.log' for more details." "$LINENO" 5; }; }
23395 else
23396 ac_cv_sizeof_char=0
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
23402 $as_echo "$ac_cv_sizeof_char" >&6; }
23406 cat >>confdefs.h <<_ACEOF
23407 #define SIZEOF_CHAR $ac_cv_sizeof_char
23408 _ACEOF
23411 # The cast to long int works around a bug in the HP C Compiler
23412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23414 # This bug is HP SR number 8606223364.
23415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
23416 $as_echo_n "checking size of short... " >&6; }
23417 if test "${ac_cv_sizeof_short+set}" = set; then :
23418 $as_echo_n "(cached) " >&6
23419 else
23420 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
23422 else
23423 if test "$ac_cv_type_short" = yes; then
23424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23426 { as_fn_set_status 77
23427 as_fn_error "cannot compute sizeof (short)
23428 See \`config.log' for more details." "$LINENO" 5; }; }
23429 else
23430 ac_cv_sizeof_short=0
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
23436 $as_echo "$ac_cv_sizeof_short" >&6; }
23440 cat >>confdefs.h <<_ACEOF
23441 #define SIZEOF_SHORT $ac_cv_sizeof_short
23442 _ACEOF
23445 # The cast to long int works around a bug in the HP C Compiler
23446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23448 # This bug is HP SR number 8606223364.
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
23450 $as_echo_n "checking size of int... " >&6; }
23451 if test "${ac_cv_sizeof_int+set}" = set; then :
23452 $as_echo_n "(cached) " >&6
23453 else
23454 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
23456 else
23457 if test "$ac_cv_type_int" = yes; then
23458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23460 { as_fn_set_status 77
23461 as_fn_error "cannot compute sizeof (int)
23462 See \`config.log' for more details." "$LINENO" 5; }; }
23463 else
23464 ac_cv_sizeof_int=0
23469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
23470 $as_echo "$ac_cv_sizeof_int" >&6; }
23474 cat >>confdefs.h <<_ACEOF
23475 #define SIZEOF_INT $ac_cv_sizeof_int
23476 _ACEOF
23479 # The cast to long int works around a bug in the HP C Compiler
23480 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23481 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23482 # This bug is HP SR number 8606223364.
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
23484 $as_echo_n "checking size of long... " >&6; }
23485 if test "${ac_cv_sizeof_long+set}" = set; then :
23486 $as_echo_n "(cached) " >&6
23487 else
23488 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
23490 else
23491 if test "$ac_cv_type_long" = yes; then
23492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23494 { as_fn_set_status 77
23495 as_fn_error "cannot compute sizeof (long)
23496 See \`config.log' for more details." "$LINENO" 5; }; }
23497 else
23498 ac_cv_sizeof_long=0
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
23504 $as_echo "$ac_cv_sizeof_long" >&6; }
23508 cat >>confdefs.h <<_ACEOF
23509 #define SIZEOF_LONG $ac_cv_sizeof_long
23510 _ACEOF
23513 # The cast to long int works around a bug in the HP C Compiler
23514 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23515 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23516 # This bug is HP SR number 8606223364.
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
23518 $as_echo_n "checking size of void*... " >&6; }
23519 if test "${ac_cv_sizeof_voidp+set}" = set; then :
23520 $as_echo_n "(cached) " >&6
23521 else
23522 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
23524 else
23525 if test "$ac_cv_type_voidp" = yes; then
23526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23528 { as_fn_set_status 77
23529 as_fn_error "cannot compute sizeof (void*)
23530 See \`config.log' for more details." "$LINENO" 5; }; }
23531 else
23532 ac_cv_sizeof_voidp=0
23537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
23538 $as_echo "$ac_cv_sizeof_voidp" >&6; }
23542 cat >>confdefs.h <<_ACEOF
23543 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
23544 _ACEOF
23547 ac_cv_char_data_model=""
23548 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
23549 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
23550 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
23551 ac_cv_long_data_model=""
23552 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
23553 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
23554 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
23556 $as_echo_n "checking data model... " >&6; }
23557 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
23558 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
23559 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
23560 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
23561 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
23562 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
23563 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
23564 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
23565 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
23566 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
23567 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
23568 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
23569 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
23570 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
23571 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
23572 222/*|333/*|444/*|666/*|888/*) :
23573 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
23574 *) ac_cv_data_model="none" ; n="very unusual model" ;;
23575 esac
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
23577 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
23581 if test "_$ac_cv_header_stdint_x" != "_" ; then
23582 ac_cv_header_stdint="$ac_cv_header_stdint_x"
23583 elif test "_$ac_cv_header_stdint_o" != "_" ; then
23584 ac_cv_header_stdint="$ac_cv_header_stdint_o"
23585 elif test "_$ac_cv_header_stdint_u" != "_" ; then
23586 ac_cv_header_stdint="$ac_cv_header_stdint_u"
23587 else
23588 ac_cv_header_stdint="stddef.h"
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
23592 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
23594 $as_echo "($ac_cv_header_stdint)" >&6; }
23595 unset ac_cv_type_int_least32_t
23596 unset ac_cv_type_int_fast32_t
23597 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
23599 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
23603 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
23605 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
23609 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
23611 if test "x$ac_cv_type_intmax_t" = x""yes; then :
23616 fi # shortcircut to system "stdint.h"
23617 # ------------------ PREPARE VARIABLES ------------------------------
23618 if test "$GCC" = "yes" ; then
23619 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
23620 else
23621 ac_cv_stdint_message="using $CC"
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
23625 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
23627 # ----------------- DONE inttypes.h checks START header -------------
23628 ac_config_commands="$ac_config_commands $ac_stdint_h"
23633 # Check whether --with-glibj_zip was given.
23634 if test "${with_glibj_zip+set}" = set; then :
23635 withval=$with_glibj_zip;
23639 case "$with_glibj_zip" in
23641 use_glibj_zip=false
23643 "no" )
23644 use_glibj_zip=false
23646 "yes")
23647 as_fn_error "Please suply an absolute path to a prebuilt glibj.zip" "$LINENO" 5
23650 use_glibj_zip=true
23651 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
23653 esac;
23655 if test x$use_glibj_zip = xtrue; then
23656 USE_PREBUILT_GLIBJ_ZIP_TRUE=
23657 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
23658 else
23659 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
23660 USE_PREBUILT_GLIBJ_ZIP_FALSE=
23665 if test "x${TOOLSDIR}" != x; then
23666 if test "x${COMPILE_WRAPPERS}" = xno && test "x${enable_java_maintainer_mode}" = xyes; then
23669 if test "x$JAVAPREFIX" = x; then
23670 test "x$JAVA" = x && for ac_prog in cacao$EXEEXT jamvm$EXEEXT kaffe$EXEEXT gij$EXEEXT java$EXEEXT
23672 # Extract the first word of "$ac_prog", so it can be a program name with args.
23673 set dummy $ac_prog; ac_word=$2
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23675 $as_echo_n "checking for $ac_word... " >&6; }
23676 if test "${ac_cv_prog_JAVA+set}" = set; then :
23677 $as_echo_n "(cached) " >&6
23678 else
23679 if test -n "$JAVA"; then
23680 ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
23681 else
23682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23683 for as_dir in $PATH
23685 IFS=$as_save_IFS
23686 test -z "$as_dir" && as_dir=.
23687 for ac_exec_ext in '' $ac_executable_extensions; do
23688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23689 ac_cv_prog_JAVA="$ac_prog"
23690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23691 break 2
23693 done
23694 done
23695 IFS=$as_save_IFS
23699 JAVA=$ac_cv_prog_JAVA
23700 if test -n "$JAVA"; then
23701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
23702 $as_echo "$JAVA" >&6; }
23703 else
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23705 $as_echo "no" >&6; }
23709 test -n "$JAVA" && break
23710 done
23712 else
23713 test "x$JAVA" = x && for ac_prog in cacao$EXEEXT jamvm$EXEEXT kaffe$EXEEXT gij$EXEEXT java$EXEEXT
23715 # Extract the first word of "$ac_prog", so it can be a program name with args.
23716 set dummy $ac_prog; ac_word=$2
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23718 $as_echo_n "checking for $ac_word... " >&6; }
23719 if test "${ac_cv_prog_JAVA+set}" = set; then :
23720 $as_echo_n "(cached) " >&6
23721 else
23722 if test -n "$JAVA"; then
23723 ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
23724 else
23725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23726 for as_dir in $PATH
23728 IFS=$as_save_IFS
23729 test -z "$as_dir" && as_dir=.
23730 for ac_exec_ext in '' $ac_executable_extensions; do
23731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23732 ac_cv_prog_JAVA="$ac_prog"
23733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23734 break 2
23736 done
23737 done
23738 IFS=$as_save_IFS
23742 JAVA=$ac_cv_prog_JAVA
23743 if test -n "$JAVA"; then
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
23745 $as_echo "$JAVA" >&6; }
23746 else
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23748 $as_echo "no" >&6; }
23752 test -n "$JAVA" && break
23753 done
23754 test -n "$JAVA" || JAVA="$JAVAPREFIX"
23757 test "x$JAVA" = x && as_fn_error "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
23760 ECJ_OPTS="-warn:-deprecation,serial,unusedImport"
23761 JAVAC_OPTS="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
23762 GCJ_OPTS="-g"
23763 if test "x$JAVAPREFIX" = x; then
23764 test "x$JAVAC" = x && for ac_prog in "ecj$EXEEXT $ECJ_OPTS" "ecj-3.3$EXEEXT $ECJ_OPTS" "ecj-3.2$EXEEXT $ECJ_OPTS" "javac$EXEEXT $JAVAC_OPTS" "gcj$EXEEXT -C"
23766 # Extract the first word of "$ac_prog", so it can be a program name with args.
23767 set dummy $ac_prog; ac_word=$2
23768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23769 $as_echo_n "checking for $ac_word... " >&6; }
23770 if test "${ac_cv_prog_JAVAC+set}" = set; then :
23771 $as_echo_n "(cached) " >&6
23772 else
23773 if test -n "$JAVAC"; then
23774 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
23775 else
23776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23777 for as_dir in $PATH
23779 IFS=$as_save_IFS
23780 test -z "$as_dir" && as_dir=.
23781 for ac_exec_ext in '' $ac_executable_extensions; do
23782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23783 ac_cv_prog_JAVAC="$ac_prog"
23784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23785 break 2
23787 done
23788 done
23789 IFS=$as_save_IFS
23793 JAVAC=$ac_cv_prog_JAVAC
23794 if test -n "$JAVAC"; then
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
23796 $as_echo "$JAVAC" >&6; }
23797 else
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23799 $as_echo "no" >&6; }
23803 test -n "$JAVAC" && break
23804 done
23806 else
23807 test "x$JAVAC" = x && for ac_prog in "ecj$EXEEXT $ECJ_OPTS" "ecj-3.3$EXEEXT $ECJ_OPTS" "ecj-3.2$EXEEXT $ECJ_OPTS" "javac$EXEEXT $JAVAC_OPTS" "gcj$EXEEXT -C"
23809 # Extract the first word of "$ac_prog", so it can be a program name with args.
23810 set dummy $ac_prog; ac_word=$2
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23812 $as_echo_n "checking for $ac_word... " >&6; }
23813 if test "${ac_cv_prog_JAVAC+set}" = set; then :
23814 $as_echo_n "(cached) " >&6
23815 else
23816 if test -n "$JAVAC"; then
23817 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
23818 else
23819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23820 for as_dir in $PATH
23822 IFS=$as_save_IFS
23823 test -z "$as_dir" && as_dir=.
23824 for ac_exec_ext in '' $ac_executable_extensions; do
23825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23826 ac_cv_prog_JAVAC="$ac_prog"
23827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23828 break 2
23830 done
23831 done
23832 IFS=$as_save_IFS
23836 JAVAC=$ac_cv_prog_JAVAC
23837 if test -n "$JAVAC"; then
23838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
23839 $as_echo "$JAVAC" >&6; }
23840 else
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23842 $as_echo "no" >&6; }
23846 test -n "$JAVAC" && break
23847 done
23848 test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
23851 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
23853 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
23854 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
23855 $as_echo_n "(cached) " >&6
23856 else
23858 if $JAVAC --version 2>&1 | grep gcj >&5 ; then
23859 ac_cv_prog_javac_is_gcj=yes;
23860 JAVAC="$JAVAC $GCJ_OPTS";
23861 else
23862 ac_cv_prog_javac_is_gcj=no;
23866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
23867 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
23868 JAVAC_IS_GCJ=$ac_cv_prog_javac_is_gcj
23870 if test x"${JAVAC_IS_GCJ}" = xyes; then
23871 GCJ_JAVAC_TRUE=
23872 GCJ_JAVAC_FALSE='#'
23873 else
23874 GCJ_JAVAC_TRUE='#'
23875 GCJ_JAVAC_FALSE=
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
23882 $as_echo_n "checking if $JAVAC works... " >&6; }
23883 if test "${ac_cv_prog_javac_works+set}" = set; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23887 JAVA_TEST=Object.java
23888 CLASS_TEST=Object.class
23889 cat << \EOF > $JAVA_TEST
23890 /* #line 23890 "configure" */
23891 package java.lang;
23893 public class Object
23895 static <T> void doStuff()
23900 if test x$JAVAC_IS_GCJ = xyes; then
23901 CMD="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
23902 else
23903 CMD="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
23905 if { ac_try='$CMD'
23906 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
23907 (eval $ac_try) 2>&5
23908 ac_status=$?
23909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23910 test $ac_status = 0; }; } >/dev/null 2>&1; then
23911 ac_cv_prog_javac_works=yes
23912 else
23913 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
23914 echo "configure: failed program was:" >&5
23915 cat $JAVA_TEST >&5
23917 rm -f $JAVA_TEST $CLASS_TEST
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
23921 $as_echo "$ac_cv_prog_javac_works" >&6; }
23925 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
23926 set dummy uudecode$EXEEXT; ac_word=$2
23927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23928 $as_echo_n "checking for $ac_word... " >&6; }
23929 if test "${ac_cv_prog_uudecode+set}" = set; then :
23930 $as_echo_n "(cached) " >&6
23931 else
23932 if test -n "$uudecode"; then
23933 ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
23934 else
23935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23936 for as_dir in $PATH
23938 IFS=$as_save_IFS
23939 test -z "$as_dir" && as_dir=.
23940 for ac_exec_ext in '' $ac_executable_extensions; do
23941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23942 ac_cv_prog_uudecode="yes"
23943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23944 break 2
23946 done
23947 done
23948 IFS=$as_save_IFS
23952 uudecode=$ac_cv_prog_uudecode
23953 if test -n "$uudecode"; then
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
23955 $as_echo "$uudecode" >&6; }
23956 else
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23958 $as_echo "no" >&6; }
23962 if test x$uudecode = xyes; then
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
23964 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
23965 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
23966 $as_echo_n "(cached) " >&6
23967 else
23969 cat << \EOF > Test.uue
23970 begin-base64 644 Test.class
23971 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
23972 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
23973 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
23974 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
23975 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
23976 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
23977 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
23978 ====
23980 if uudecode$EXEEXT Test.uue; then
23981 ac_cv_prog_uudecode_base64=yes
23982 else
23983 echo "configure: 23983: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
23984 echo "configure: failed file was:" >&5
23985 cat Test.uue >&5
23986 ac_cv_prog_uudecode_base64=no
23988 rm -f Test.uue
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
23991 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
23993 if test x$ac_cv_prog_uudecode_base64 != xyes; then
23994 rm -f Test.class
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
23996 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
23997 if test x$ac_cv_prog_javac_works = xno; then
23998 as_fn_error "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
24001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
24002 $as_echo_n "checking if $JAVA works... " >&6; }
24003 if test "${ac_cv_prog_java_works+set}" = set; then :
24004 $as_echo_n "(cached) " >&6
24005 else
24007 JAVA_TEST=Test.java
24008 CLASS_TEST=Test.class
24009 TEST=Test
24010 cat << \EOF > $JAVA_TEST
24011 /* [#]line 24011 "configure" */
24012 public class Test {
24013 public static void main (String args[]) {
24014 System.exit (0);
24017 if test x$ac_cv_prog_uudecode_base64 != xyes; then
24019 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
24020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
24021 (eval $ac_try) 2>&5
24022 ac_status=$?
24023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24024 test $ac_status = 0; }; } && test -s $CLASS_TEST; then
24026 else
24027 echo "configure: failed program was:" >&5
24028 cat $JAVA_TEST >&5
24029 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
24032 if { ac_try='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
24033 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
24034 (eval $ac_try) 2>&5
24035 ac_status=$?
24036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24037 test $ac_status = 0; }; } >/dev/null 2>&1; then
24038 ac_cv_prog_java_works=yes
24039 else
24040 echo "configure: failed program was:" >&5
24041 cat $JAVA_TEST >&5
24042 as_fn_error "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
24044 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
24048 $as_echo "$ac_cv_prog_java_works" >&6; }
24052 if test "x${COMPILE_GJDOC}" = xyes; then
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ANTLR parser generator JAR file" >&5
24055 $as_echo_n "checking for the ANTLR parser generator JAR file... " >&6; }
24056 if test -z "$ANTLR_JAR"; then
24057 for antlr_lib_home in `ls -d /usr/local/share/antlr* 2> /dev/null` \
24058 /usr/share/antlr/lib /usr/share/java /usr/lib;
24060 if test -f "$antlr_lib_home/antlr.jar"; then
24061 ANTLR_JAR="$antlr_lib_home/antlr.jar"
24062 break
24064 done
24066 test -f $ANTLR_JAR || as_fn_error "specified ANTLR jar file $ANTLR_JAR not found." "$LINENO" 5 \
24067 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
24068 $as_echo "$ANTLR_JAR" >&6; }
24071 if test "x${REGENERATE_GJDOC_PARSER}" = xyes && test "x${enable_java_maintainer_mode}" = xyes; then
24073 if test -n "$ac_tool_prefix"; then
24074 for ac_prog in cantlr runantlr antlr
24076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24079 $as_echo_n "checking for $ac_word... " >&6; }
24080 if test "${ac_cv_prog_ANTLR+set}" = set; then :
24081 $as_echo_n "(cached) " >&6
24082 else
24083 if test -n "$ANTLR"; then
24084 ac_cv_prog_ANTLR="$ANTLR" # Let the user override the test.
24085 else
24086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24087 for as_dir in $PATH
24089 IFS=$as_save_IFS
24090 test -z "$as_dir" && as_dir=.
24091 for ac_exec_ext in '' $ac_executable_extensions; do
24092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24093 ac_cv_prog_ANTLR="$ac_tool_prefix$ac_prog"
24094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24095 break 2
24097 done
24098 done
24099 IFS=$as_save_IFS
24103 ANTLR=$ac_cv_prog_ANTLR
24104 if test -n "$ANTLR"; then
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
24106 $as_echo "$ANTLR" >&6; }
24107 else
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24109 $as_echo "no" >&6; }
24113 test -n "$ANTLR" && break
24114 done
24116 if test -z "$ANTLR"; then
24117 ac_ct_ANTLR=$ANTLR
24118 for ac_prog in cantlr runantlr antlr
24120 # Extract the first word of "$ac_prog", so it can be a program name with args.
24121 set dummy $ac_prog; ac_word=$2
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24123 $as_echo_n "checking for $ac_word... " >&6; }
24124 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then :
24125 $as_echo_n "(cached) " >&6
24126 else
24127 if test -n "$ac_ct_ANTLR"; then
24128 ac_cv_prog_ac_ct_ANTLR="$ac_ct_ANTLR" # Let the user override the test.
24129 else
24130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24131 for as_dir in $PATH
24133 IFS=$as_save_IFS
24134 test -z "$as_dir" && as_dir=.
24135 for ac_exec_ext in '' $ac_executable_extensions; do
24136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24137 ac_cv_prog_ac_ct_ANTLR="$ac_prog"
24138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24139 break 2
24141 done
24142 done
24143 IFS=$as_save_IFS
24147 ac_ct_ANTLR=$ac_cv_prog_ac_ct_ANTLR
24148 if test -n "$ac_ct_ANTLR"; then
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ANTLR" >&5
24150 $as_echo "$ac_ct_ANTLR" >&6; }
24151 else
24152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24153 $as_echo "no" >&6; }
24157 test -n "$ac_ct_ANTLR" && break
24158 done
24160 if test "x$ac_ct_ANTLR" = x; then
24161 ANTLR=""
24162 else
24163 case $cross_compiling:$ac_tool_warned in
24164 yes:)
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24167 ac_tool_warned=yes ;;
24168 esac
24169 ANTLR=$ac_ct_ANTLR
24173 if test "x$ANTLR" = x; then
24174 if test -z "$JAVA"; then
24175 as_fn_error "Failed to find either an antlr binary or a suitable Java runtime for ANTLR." "$LINENO" 5
24176 else
24177 if test -z "$ANTLR_JAR"; then
24178 as_fn_error "Failed to find either an antlr binary or a suitable antlr jar file." "$LINENO" 5
24179 else
24180 ANTLR="$JAVA -classpath $ANTLR_JAR antlr.Tool"
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr 2.7.1 or better" >&5
24186 $as_echo_n "checking for antlr 2.7.1 or better... " >&6; }
24187 antlr_version_str=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
24188 if test "$antlr_version_str"; then
24189 antlr_version_regex='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
24190 antlr_version_major=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
24191 antlr_version_minor=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
24192 antlr_version_micro=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
24193 (test $antlr_version_major -gt 2 || \
24194 (test $antlr_version_major -eq 2 && \
24195 test $antlr_version_minor -gt 7) || \
24196 (test $antlr_version_major -eq 2 && \
24197 test $antlr_version_minor -eq 7 && \
24198 test $antlr_version_micro -ge 1))
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
24201 $as_echo "$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6; }
24208 # Check for javac if we need to build either the class library,
24209 # the examples or the tools
24210 if test "x${use_glibj_zip}" = xfalse || \
24211 test "x${EXAMPLESDIR}" != x || \
24212 test "x${TOOLSDIR}" != x && \
24213 test "x${build_class_files}" != xno && \
24214 test "${enable_java_maintainer_mode}" = yes; then
24216 JAVA_TEST=Test.java
24217 CLASS_TEST=Test.class
24218 cat << \EOF > $JAVA_TEST
24219 /* #line 24219 "configure" */
24220 public class Test
24222 public static void main(String args)
24224 System.out.println("Hello World");
24228 if test x$JAVAC_IS_GCJ != xyes; then
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javac supports -J" >&5
24230 $as_echo_n "checking whether javac supports -J... " >&6; }
24231 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
24232 javac_result=$?
24233 if test "x$javac_result" = "x0"; then
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24235 $as_echo "yes" >&6; }
24236 JAVAC_MEM_OPT="-J-Xmx768M"
24237 else
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24239 $as_echo "no" >&6; }
24242 rm -f $JAVA_TEST $CLASS_TEST
24245 else
24246 if false; then
24247 GCJ_JAVAC_TRUE=
24248 GCJ_JAVAC_FALSE='#'
24249 else
24250 GCJ_JAVAC_TRUE='#'
24251 GCJ_JAVAC_FALSE=
24257 # Check whether --with-escher was given.
24258 if test "${with_escher+set}" = set; then :
24259 withval=$with_escher;
24262 case "$with_escher" in
24264 use_escher=false
24266 "no")
24267 use_escher=false
24269 "yes")
24270 as_fn_error "Please supply an absolute path to Escher library" "$LINENO" 5
24273 use_escher=true
24274 PATH_TO_ESCHER=$with_escher
24276 esac
24278 if test x$use_escher = xtrue; then
24279 USE_ESCHER_TRUE=
24280 USE_ESCHER_FALSE='#'
24281 else
24282 USE_ESCHER_TRUE='#'
24283 USE_ESCHER_FALSE=
24288 # Check whether --enable-local-sockets was given.
24289 if test "${enable_local_sockets+set}" = set; then :
24290 enableval=$enable_local_sockets; case "${enableval}" in
24291 yes)
24292 ENABLE_LOCAL_SOCKETS=yes
24295 ENABLE_LOCAL_SOCKETS=no
24297 esac
24300 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
24301 then
24302 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
24303 if test "x$ac_cv_header_sys_un_h" = x""yes; then :
24308 for ac_func in read write bind listen accept shutdown
24309 do :
24310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24312 eval as_val=\$$as_ac_var
24313 if test "x$as_val" = x""yes; then :
24314 cat >>confdefs.h <<_ACEOF
24315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24316 _ACEOF
24318 else
24319 as_fn_error "networking support not available" "$LINENO" 5
24321 done
24324 $as_echo "#define ENABLE_LOCAL_SOCKETS 1" >>confdefs.h
24327 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
24328 ENABLE_LOCAL_SOCKETS_TRUE=
24329 ENABLE_LOCAL_SOCKETS_FALSE='#'
24330 else
24331 ENABLE_LOCAL_SOCKETS_TRUE='#'
24332 ENABLE_LOCAL_SOCKETS_FALSE=
24338 WANT_NATIVE_BIG_INTEGER=false
24339 if test "x${COMPILE_GMP}" = xyes; then
24340 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes; then
24341 if test "x${ac_cv_header_gmp_h}" = xyes; then
24342 WANT_NATIVE_BIG_INTEGER=true
24344 $as_echo "#define WITH_GNU_MP 1" >>confdefs.h
24346 else
24347 COMPILE_GMP=no
24349 else
24350 COMPILE_GMP=no
24354 if test "x${COMPILE_GMP}" = xyes; then
24355 CREATE_GMPBI_LIBRARY_TRUE=
24356 CREATE_GMPBI_LIBRARY_FALSE='#'
24357 else
24358 CREATE_GMPBI_LIBRARY_TRUE='#'
24359 CREATE_GMPBI_LIBRARY_FALSE=
24363 ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-math/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/gstreamer-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader resource/META-INF/services/javax.sound.sampled.spi.MixerProvider scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh scripts/check_jni_methods.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d"
24366 if test "x${COMPILE_WRAPPERS}" = xyes; then
24368 else
24369 ac_config_files="$ac_config_files tools/gappletviewer tools/gjarsigner tools/gkeytool tools/gjar tools/gnative2ascii tools/gserialver tools/grmiregistry tools/gtnameserv tools/gorbd tools/grmid tools/grmic tools/gjavah"
24372 ac_config_commands="$ac_config_commands gappletviewer"
24374 ac_config_commands="$ac_config_commands gjarsigner"
24376 ac_config_commands="$ac_config_commands gkeytool"
24378 ac_config_commands="$ac_config_commands gjar"
24380 ac_config_commands="$ac_config_commands gnative2ascii"
24382 ac_config_commands="$ac_config_commands gserialver"
24384 ac_config_commands="$ac_config_commands grmiregistry"
24386 ac_config_commands="$ac_config_commands gtnameserv"
24388 ac_config_commands="$ac_config_commands gorbd"
24390 ac_config_commands="$ac_config_commands grmid"
24392 ac_config_commands="$ac_config_commands grmic"
24394 ac_config_commands="$ac_config_commands gjavah"
24399 if test "x${COMPILE_GJDOC}" = xyes
24400 then
24401 ac_config_files="$ac_config_files tools/gjdoc"
24403 ac_config_commands="$ac_config_commands gjdoc"
24407 ac_config_commands="$ac_config_commands gen-classlist"
24409 ac_config_commands="$ac_config_commands copy-vmresources"
24411 cat >confcache <<\_ACEOF
24412 # This file is a shell script that caches the results of configure
24413 # tests run on this system so they can be shared between configure
24414 # scripts and configure runs, see configure's option --config-cache.
24415 # It is not useful on other systems. If it contains results you don't
24416 # want to keep, you may remove or edit it.
24418 # config.status only pays attention to the cache file if you give it
24419 # the --recheck option to rerun configure.
24421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24423 # following values.
24425 _ACEOF
24427 # The following way of writing the cache mishandles newlines in values,
24428 # but we know of no workaround that is simple, portable, and efficient.
24429 # So, we kill variables containing newlines.
24430 # Ultrix sh set writes to stderr and can't be redirected directly,
24431 # and sets the high bit in the cache file unless we assign to the vars.
24433 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24434 eval ac_val=\$$ac_var
24435 case $ac_val in #(
24436 *${as_nl}*)
24437 case $ac_var in #(
24438 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24439 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24440 esac
24441 case $ac_var in #(
24442 _ | IFS | as_nl) ;; #(
24443 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24444 *) { eval $ac_var=; unset $ac_var;} ;;
24445 esac ;;
24446 esac
24447 done
24449 (set) 2>&1 |
24450 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24451 *${as_nl}ac_space=\ *)
24452 # `set' does not quote correctly, so add quotes: double-quote
24453 # substitution turns \\\\ into \\, and sed turns \\ into \.
24454 sed -n \
24455 "s/'/'\\\\''/g;
24456 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24457 ;; #(
24459 # `set' quotes correctly as required by POSIX, so do not add quotes.
24460 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24462 esac |
24463 sort
24465 sed '
24466 /^ac_cv_env_/b end
24467 t clear
24468 :clear
24469 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24470 t end
24471 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24472 :end' >>confcache
24473 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24474 if test -w "$cache_file"; then
24475 test "x$cache_file" != "x/dev/null" &&
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24477 $as_echo "$as_me: updating cache $cache_file" >&6;}
24478 cat confcache >$cache_file
24479 else
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24481 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24484 rm -f confcache
24486 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24487 # Let make expand exec_prefix.
24488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24490 DEFS=-DHAVE_CONFIG_H
24492 ac_libobjs=
24493 ac_ltlibobjs=
24494 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24495 # 1. Remove the extension, and $U if already installed.
24496 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24497 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
24498 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24499 # will be set to the directory where LIBOBJS objects are built.
24500 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24501 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
24502 done
24503 LIBOBJS=$ac_libobjs
24505 LTLIBOBJS=$ac_ltlibobjs
24508 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24509 as_fn_error "conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24512 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
24513 as_fn_error "conditional \"GENINSRC\" was never defined.
24514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24516 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
24517 as_fn_error "conditional \"INSTALL_BINARIES\" was never defined.
24518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24520 if test -n "$EXEEXT"; then
24521 am__EXEEXT_TRUE=
24522 am__EXEEXT_FALSE='#'
24523 else
24524 am__EXEEXT_TRUE='#'
24525 am__EXEEXT_FALSE=
24528 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
24529 as_fn_error "conditional \"CREATE_COLLECTIONS\" was never defined.
24530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24532 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
24533 as_fn_error "conditional \"CREATE_JNI_LIBRARIES\" was never defined.
24534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24536 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
24537 as_fn_error "conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
24538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24540 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
24541 as_fn_error "conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
24542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24544 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
24545 as_fn_error "conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
24546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24548 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
24549 as_fn_error "conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
24550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24552 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24553 as_fn_error "conditional \"AMDEP\" was never defined.
24554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24556 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24557 as_fn_error "conditional \"am__fastdepCC\" was never defined.
24558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24560 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
24561 as_fn_error "conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
24562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24564 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
24565 as_fn_error "conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
24566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24568 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
24569 as_fn_error "conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
24570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24572 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
24573 as_fn_error "conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
24574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24576 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
24577 as_fn_error "conditional \"CREATE_PLUGIN\" was never defined.
24578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24580 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24581 as_fn_error "conditional \"CREATE_GJDOC\" was never defined.
24582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24584 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
24585 as_fn_error "conditional \"CREATE_JNI_HEADERS\" was never defined.
24586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24588 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
24589 as_fn_error "conditional \"CREATE_GJDOC_PARSER\" was never defined.
24590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24592 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
24593 as_fn_error "conditional \"CREATE_WRAPPERS\" was never defined.
24594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24596 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24597 as_fn_error "conditional \"am__fastdepCC\" was never defined.
24598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24600 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24601 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
24602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24604 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24605 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
24606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24608 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
24609 as_fn_error "conditional \"WITH_JAR\" was never defined.
24610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24612 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
24613 as_fn_error "conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
24614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24616 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
24617 as_fn_error "conditional \"INSTALL_CLASS_FILES\" was never defined.
24618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24620 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
24621 as_fn_error "conditional \"BUILD_CLASS_FILES\" was never defined.
24622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24624 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
24625 as_fn_error "conditional \"CREATE_API_DOCS\" was never defined.
24626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24628 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
24629 as_fn_error "conditional \"REGEN_PARSERS\" was never defined.
24630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24632 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
24633 as_fn_error "conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
24634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24636 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
24637 as_fn_error "conditional \"GCJ_JAVAC\" was never defined.
24638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24640 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
24641 as_fn_error "conditional \"GCJ_JAVAC\" was never defined.
24642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24644 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
24645 as_fn_error "conditional \"USE_ESCHER\" was never defined.
24646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24648 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
24649 as_fn_error "conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
24650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24652 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
24653 as_fn_error "conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
24654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24657 : ${CONFIG_STATUS=./config.status}
24658 ac_write_fail=0
24659 ac_clean_files_save=$ac_clean_files
24660 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
24662 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24663 as_write_fail=0
24664 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
24665 #! $SHELL
24666 # Generated by $as_me.
24667 # Run this file to recreate the current configuration.
24668 # Compiler output produced by configure, useful for debugging
24669 # configure, is in config.log if it exists.
24671 debug=false
24672 ac_cs_recheck=false
24673 ac_cs_silent=false
24675 SHELL=\${CONFIG_SHELL-$SHELL}
24676 export SHELL
24677 _ASEOF
24678 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
24679 ## -------------------- ##
24680 ## M4sh Initialization. ##
24681 ## -------------------- ##
24683 # Be more Bourne compatible
24684 DUALCASE=1; export DUALCASE # for MKS sh
24685 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24686 emulate sh
24687 NULLCMD=:
24688 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24689 # is contrary to our usage. Disable this feature.
24690 alias -g '${1+"$@"}'='"$@"'
24691 setopt NO_GLOB_SUBST
24692 else
24693 case `(set -o) 2>/dev/null` in #(
24694 *posix*) :
24695 set -o posix ;; #(
24696 *) :
24698 esac
24702 as_nl='
24704 export as_nl
24705 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24706 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24707 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24709 # Prefer a ksh shell builtin over an external printf program on Solaris,
24710 # but without wasting forks for bash or zsh.
24711 if test -z "$BASH_VERSION$ZSH_VERSION" \
24712 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
24713 as_echo='print -r --'
24714 as_echo_n='print -rn --'
24715 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24716 as_echo='printf %s\n'
24717 as_echo_n='printf %s'
24718 else
24719 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24720 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
24721 as_echo_n='/usr/ucb/echo -n'
24722 else
24723 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24724 as_echo_n_body='eval
24725 arg=$1;
24726 case $arg in #(
24727 *"$as_nl"*)
24728 expr "X$arg" : "X\\(.*\\)$as_nl";
24729 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24730 esac;
24731 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
24733 export as_echo_n_body
24734 as_echo_n='sh -c $as_echo_n_body as_echo'
24736 export as_echo_body
24737 as_echo='sh -c $as_echo_body as_echo'
24740 # The user is always right.
24741 if test "${PATH_SEPARATOR+set}" != set; then
24742 PATH_SEPARATOR=:
24743 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24744 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24745 PATH_SEPARATOR=';'
24750 # IFS
24751 # We need space, tab and new line, in precisely that order. Quoting is
24752 # there to prevent editors from complaining about space-tab.
24753 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24754 # splitting by setting IFS to empty value.)
24755 IFS=" "" $as_nl"
24757 # Find who we are. Look in the path if we contain no directory separator.
24758 case $0 in #((
24759 *[\\/]* ) as_myself=$0 ;;
24760 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24761 for as_dir in $PATH
24763 IFS=$as_save_IFS
24764 test -z "$as_dir" && as_dir=.
24765 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24766 done
24767 IFS=$as_save_IFS
24770 esac
24771 # We did not find ourselves, most probably we were run as `sh COMMAND'
24772 # in which case we are not to be found in the path.
24773 if test "x$as_myself" = x; then
24774 as_myself=$0
24776 if test ! -f "$as_myself"; then
24777 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24778 exit 1
24781 # Unset variables that we do not need and which cause bugs (e.g. in
24782 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
24783 # suppresses any "Segmentation fault" message there. '((' could
24784 # trigger a bug in pdksh 5.2.14.
24785 for as_var in BASH_ENV ENV MAIL MAILPATH
24786 do eval test x\${$as_var+set} = xset \
24787 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
24788 done
24789 PS1='$ '
24790 PS2='> '
24791 PS4='+ '
24793 # NLS nuisances.
24794 LC_ALL=C
24795 export LC_ALL
24796 LANGUAGE=C
24797 export LANGUAGE
24799 # CDPATH.
24800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
24803 # as_fn_error ERROR [LINENO LOG_FD]
24804 # ---------------------------------
24805 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
24806 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
24807 # script with status $?, using 1 if that was 0.
24808 as_fn_error ()
24810 as_status=$?; test $as_status -eq 0 && as_status=1
24811 if test "$3"; then
24812 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
24813 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
24815 $as_echo "$as_me: error: $1" >&2
24816 as_fn_exit $as_status
24817 } # as_fn_error
24820 # as_fn_set_status STATUS
24821 # -----------------------
24822 # Set $? to STATUS, without forking.
24823 as_fn_set_status ()
24825 return $1
24826 } # as_fn_set_status
24828 # as_fn_exit STATUS
24829 # -----------------
24830 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
24831 as_fn_exit ()
24833 set +e
24834 as_fn_set_status $1
24835 exit $1
24836 } # as_fn_exit
24838 # as_fn_unset VAR
24839 # ---------------
24840 # Portably unset VAR.
24841 as_fn_unset ()
24843 { eval $1=; unset $1;}
24845 as_unset=as_fn_unset
24846 # as_fn_append VAR VALUE
24847 # ----------------------
24848 # Append the text in VALUE to the end of the definition contained in VAR. Take
24849 # advantage of any shell optimizations that allow amortized linear growth over
24850 # repeated appends, instead of the typical quadratic growth present in naive
24851 # implementations.
24852 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
24853 eval 'as_fn_append ()
24855 eval $1+=\$2
24857 else
24858 as_fn_append ()
24860 eval $1=\$$1\$2
24862 fi # as_fn_append
24864 # as_fn_arith ARG...
24865 # ------------------
24866 # Perform arithmetic evaluation on the ARGs, and store the result in the
24867 # global $as_val. Take advantage of shells that can avoid forks. The arguments
24868 # must be portable across $(()) and expr.
24869 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
24870 eval 'as_fn_arith ()
24872 as_val=$(( $* ))
24874 else
24875 as_fn_arith ()
24877 as_val=`expr "$@" || test $? -eq 1`
24879 fi # as_fn_arith
24882 if expr a : '\(a\)' >/dev/null 2>&1 &&
24883 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24884 as_expr=expr
24885 else
24886 as_expr=false
24889 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24890 as_basename=basename
24891 else
24892 as_basename=false
24895 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24896 as_dirname=dirname
24897 else
24898 as_dirname=false
24901 as_me=`$as_basename -- "$0" ||
24902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24903 X"$0" : 'X\(//\)$' \| \
24904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24905 $as_echo X/"$0" |
24906 sed '/^.*\/\([^/][^/]*\)\/*$/{
24907 s//\1/
24910 /^X\/\(\/\/\)$/{
24911 s//\1/
24914 /^X\/\(\/\).*/{
24915 s//\1/
24918 s/.*/./; q'`
24920 # Avoid depending upon Character Ranges.
24921 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24922 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24923 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24924 as_cr_digits='0123456789'
24925 as_cr_alnum=$as_cr_Letters$as_cr_digits
24927 ECHO_C= ECHO_N= ECHO_T=
24928 case `echo -n x` in #(((((
24929 -n*)
24930 case `echo 'xy\c'` in
24931 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24932 xy) ECHO_C='\c';;
24933 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
24934 ECHO_T=' ';;
24935 esac;;
24937 ECHO_N='-n';;
24938 esac
24940 rm -f conf$$ conf$$.exe conf$$.file
24941 if test -d conf$$.dir; then
24942 rm -f conf$$.dir/conf$$.file
24943 else
24944 rm -f conf$$.dir
24945 mkdir conf$$.dir 2>/dev/null
24947 if (echo >conf$$.file) 2>/dev/null; then
24948 if ln -s conf$$.file conf$$ 2>/dev/null; then
24949 as_ln_s='ln -s'
24950 # ... but there are two gotchas:
24951 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24952 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24953 # In both cases, we have to default to `cp -p'.
24954 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24955 as_ln_s='cp -p'
24956 elif ln conf$$.file conf$$ 2>/dev/null; then
24957 as_ln_s=ln
24958 else
24959 as_ln_s='cp -p'
24961 else
24962 as_ln_s='cp -p'
24964 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24965 rmdir conf$$.dir 2>/dev/null
24968 # as_fn_mkdir_p
24969 # -------------
24970 # Create "$as_dir" as a directory, including parents if necessary.
24971 as_fn_mkdir_p ()
24974 case $as_dir in #(
24975 -*) as_dir=./$as_dir;;
24976 esac
24977 test -d "$as_dir" || eval $as_mkdir_p || {
24978 as_dirs=
24979 while :; do
24980 case $as_dir in #(
24981 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24982 *) as_qdir=$as_dir;;
24983 esac
24984 as_dirs="'$as_qdir' $as_dirs"
24985 as_dir=`$as_dirname -- "$as_dir" ||
24986 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24987 X"$as_dir" : 'X\(//\)[^/]' \| \
24988 X"$as_dir" : 'X\(//\)$' \| \
24989 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24990 $as_echo X"$as_dir" |
24991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24992 s//\1/
24995 /^X\(\/\/\)[^/].*/{
24996 s//\1/
24999 /^X\(\/\/\)$/{
25000 s//\1/
25003 /^X\(\/\).*/{
25004 s//\1/
25007 s/.*/./; q'`
25008 test -d "$as_dir" && break
25009 done
25010 test -z "$as_dirs" || eval "mkdir $as_dirs"
25011 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25014 } # as_fn_mkdir_p
25015 if mkdir -p . 2>/dev/null; then
25016 as_mkdir_p='mkdir -p "$as_dir"'
25017 else
25018 test -d ./-p && rmdir ./-p
25019 as_mkdir_p=false
25022 if test -x / >/dev/null 2>&1; then
25023 as_test_x='test -x'
25024 else
25025 if ls -dL / >/dev/null 2>&1; then
25026 as_ls_L_option=L
25027 else
25028 as_ls_L_option=
25030 as_test_x='
25031 eval sh -c '\''
25032 if test -d "$1"; then
25033 test -d "$1/.";
25034 else
25035 case $1 in #(
25036 -*)set "./$1";;
25037 esac;
25038 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25039 ???[sx]*):;;*)false;;esac;fi
25040 '\'' sh
25043 as_executable_p=$as_test_x
25045 # Sed expression to map a string onto a valid CPP name.
25046 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25048 # Sed expression to map a string onto a valid variable name.
25049 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25052 exec 6>&1
25053 ## ----------------------------------- ##
25054 ## Main body of $CONFIG_STATUS script. ##
25055 ## ----------------------------------- ##
25056 _ASEOF
25057 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25060 # Save the log message, to keep $0 and so on meaningful, and to
25061 # report actual input values of CONFIG_FILES etc. instead of their
25062 # values after options handling.
25063 ac_log="
25064 This file was extended by GNU Classpath $as_me 0.99, which was
25065 generated by GNU Autoconf 2.64. Invocation command line was
25067 CONFIG_FILES = $CONFIG_FILES
25068 CONFIG_HEADERS = $CONFIG_HEADERS
25069 CONFIG_LINKS = $CONFIG_LINKS
25070 CONFIG_COMMANDS = $CONFIG_COMMANDS
25071 $ $0 $@
25073 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25076 _ACEOF
25078 case $ac_config_files in *"
25079 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25080 esac
25082 case $ac_config_headers in *"
25083 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25084 esac
25087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25088 # Files that config.status was made for.
25089 config_files="$ac_config_files"
25090 config_headers="$ac_config_headers"
25091 config_links="$ac_config_links"
25092 config_commands="$ac_config_commands"
25094 _ACEOF
25096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25097 ac_cs_usage="\
25098 \`$as_me' instantiates files and other configuration actions
25099 from templates according to the current configuration. Unless the files
25100 and actions are specified as TAGs, all are instantiated by default.
25102 Usage: $0 [OPTION]... [TAG]...
25104 -h, --help print this help, then exit
25105 -V, --version print version number and configuration settings, then exit
25106 -q, --quiet, --silent
25107 do not print progress messages
25108 -d, --debug don't remove temporary files
25109 --recheck update $as_me by reconfiguring in the same conditions
25110 --file=FILE[:TEMPLATE]
25111 instantiate the configuration file FILE
25112 --header=FILE[:TEMPLATE]
25113 instantiate the configuration header FILE
25115 Configuration files:
25116 $config_files
25118 Configuration headers:
25119 $config_headers
25121 Configuration links:
25122 $config_links
25124 Configuration commands:
25125 $config_commands
25127 Report bugs to <classpath@gnu.org>.
25128 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
25129 General help using GNU software: <http://www.gnu.org/gethelp/>."
25131 _ACEOF
25132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25133 ac_cs_version="\\
25134 GNU Classpath config.status 0.99
25135 configured by $0, generated by GNU Autoconf 2.64,
25136 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25138 Copyright (C) 2009 Free Software Foundation, Inc.
25139 This config.status script is free software; the Free Software Foundation
25140 gives unlimited permission to copy, distribute and modify it."
25142 ac_pwd='$ac_pwd'
25143 srcdir='$srcdir'
25144 INSTALL='$INSTALL'
25145 MKDIR_P='$MKDIR_P'
25146 AWK='$AWK'
25147 test -n "\$AWK" || AWK=awk
25148 _ACEOF
25150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25151 # The default lists apply if the user does not specify any file.
25152 ac_need_defaults=:
25153 while test $# != 0
25155 case $1 in
25156 --*=*)
25157 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25158 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25159 ac_shift=:
25162 ac_option=$1
25163 ac_optarg=$2
25164 ac_shift=shift
25166 esac
25168 case $ac_option in
25169 # Handling of the options.
25170 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25171 ac_cs_recheck=: ;;
25172 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25173 $as_echo "$ac_cs_version"; exit ;;
25174 --debug | --debu | --deb | --de | --d | -d )
25175 debug=: ;;
25176 --file | --fil | --fi | --f )
25177 $ac_shift
25178 case $ac_optarg in
25179 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25180 esac
25181 as_fn_append CONFIG_FILES " '$ac_optarg'"
25182 ac_need_defaults=false;;
25183 --header | --heade | --head | --hea )
25184 $ac_shift
25185 case $ac_optarg in
25186 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25187 esac
25188 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25189 ac_need_defaults=false;;
25190 --he | --h)
25191 # Conflict between --help and --header
25192 as_fn_error "ambiguous option: \`$1'
25193 Try \`$0 --help' for more information.";;
25194 --help | --hel | -h )
25195 $as_echo "$ac_cs_usage"; exit ;;
25196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25197 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25198 ac_cs_silent=: ;;
25200 # This is an error.
25201 -*) as_fn_error "unrecognized option: \`$1'
25202 Try \`$0 --help' for more information." ;;
25204 *) as_fn_append ac_config_targets " $1"
25205 ac_need_defaults=false ;;
25207 esac
25208 shift
25209 done
25211 ac_configure_extra_args=
25213 if $ac_cs_silent; then
25214 exec 6>/dev/null
25215 ac_configure_extra_args="$ac_configure_extra_args --silent"
25218 _ACEOF
25219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25220 if \$ac_cs_recheck; then
25221 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25222 shift
25223 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25224 CONFIG_SHELL='$SHELL'
25225 export CONFIG_SHELL
25226 exec "\$@"
25229 _ACEOF
25230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25231 exec 5>>config.log
25233 echo
25234 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25235 ## Running $as_me. ##
25236 _ASBOX
25237 $as_echo "$ac_log"
25238 } >&5
25240 _ACEOF
25241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25243 # INIT-COMMANDS
25246 srcdir="$srcdir"
25247 host="$host"
25248 target="$target"
25249 with_multisubdir="$with_multisubdir"
25250 with_multisrctop="$with_multisrctop"
25251 with_target_subdir="$with_target_subdir"
25252 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25253 multi_basedir="$multi_basedir"
25254 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25255 CC="$CC"
25256 CXX="$CXX"
25257 GFORTRAN="$GFORTRAN"
25258 GCJ="$GCJ"
25259 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25262 # The HP-UX ksh and POSIX shell print the target directory to stdout
25263 # if CDPATH is set.
25264 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25266 sed_quote_subst='$sed_quote_subst'
25267 double_quote_subst='$double_quote_subst'
25268 delay_variable_subst='$delay_variable_subst'
25269 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25270 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25271 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25272 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25273 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25274 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25275 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25276 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25277 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25278 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25279 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25280 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25281 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25282 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25283 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25284 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25285 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25286 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25287 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25288 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25289 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25290 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25291 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25292 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25293 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25294 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25295 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25296 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25297 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25298 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25299 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25300 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25301 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25302 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25303 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25304 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25305 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25306 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25307 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25308 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25309 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25310 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25311 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25312 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25313 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25314 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25315 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25316 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25317 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"`'
25318 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25319 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25320 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25321 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25322 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25323 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25324 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25325 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25326 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25327 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25328 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25329 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25330 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25331 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25332 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25333 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25334 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25335 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25336 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25337 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25338 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25339 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25340 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25341 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25342 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25343 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25344 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25345 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25346 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25347 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25348 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25349 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25350 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25351 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25352 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25353 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25354 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25355 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25356 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25357 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25358 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25359 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25360 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25361 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25362 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25363 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25364 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25365 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25366 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25367 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25368 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25369 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25370 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25371 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25372 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25373 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25374 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25375 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25376 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25377 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25378 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25379 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25380 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25381 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25382 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25383 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25384 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25385 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25386 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25387 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25388 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25389 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25390 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25391 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25392 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25393 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25394 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25395 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25396 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25397 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25398 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25399 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25400 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25401 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25402 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25403 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25404 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25405 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25406 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25407 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25408 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25409 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25410 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25411 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25412 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25413 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25414 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25415 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25416 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25417 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25418 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25419 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25420 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25421 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25422 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25423 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25424 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25425 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25426 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25427 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25428 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25429 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25430 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
25431 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25432 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25433 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25434 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25435 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25436 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25437 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25438 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25439 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25440 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25441 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25442 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25443 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25445 LTCC='$LTCC'
25446 LTCFLAGS='$LTCFLAGS'
25447 compiler='$compiler_DEFAULT'
25449 # A function that is used when there is no print builtin or printf.
25450 func_fallback_echo ()
25452 eval 'cat <<_LTECHO_EOF
25454 _LTECHO_EOF'
25457 # Quote evaled strings.
25458 for var in SHELL \
25459 ECHO \
25460 SED \
25461 GREP \
25462 EGREP \
25463 FGREP \
25464 LD \
25465 NM \
25466 LN_S \
25467 lt_SP2NL \
25468 lt_NL2SP \
25469 reload_flag \
25470 OBJDUMP \
25471 deplibs_check_method \
25472 file_magic_cmd \
25473 AR \
25474 AR_FLAGS \
25475 STRIP \
25476 RANLIB \
25477 CC \
25478 CFLAGS \
25479 compiler \
25480 lt_cv_sys_global_symbol_pipe \
25481 lt_cv_sys_global_symbol_to_cdecl \
25482 lt_cv_sys_global_symbol_to_c_name_address \
25483 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25484 lt_prog_compiler_no_builtin_flag \
25485 lt_prog_compiler_wl \
25486 lt_prog_compiler_pic \
25487 lt_prog_compiler_static \
25488 lt_cv_prog_compiler_c_o \
25489 need_locks \
25490 DSYMUTIL \
25491 NMEDIT \
25492 LIPO \
25493 OTOOL \
25494 OTOOL64 \
25495 shrext_cmds \
25496 export_dynamic_flag_spec \
25497 whole_archive_flag_spec \
25498 compiler_needs_object \
25499 with_gnu_ld \
25500 allow_undefined_flag \
25501 no_undefined_flag \
25502 hardcode_libdir_flag_spec \
25503 hardcode_libdir_flag_spec_ld \
25504 hardcode_libdir_separator \
25505 fix_srcfile_path \
25506 exclude_expsyms \
25507 include_expsyms \
25508 file_list_spec \
25509 variables_saved_for_relink \
25510 libname_spec \
25511 library_names_spec \
25512 soname_spec \
25513 install_override_mode \
25514 finish_eval \
25515 old_striplib \
25516 striplib \
25517 compiler_lib_search_dirs \
25518 predep_objects \
25519 postdep_objects \
25520 predeps \
25521 postdeps \
25522 compiler_lib_search_path \
25523 LD_CXX \
25524 reload_flag_CXX \
25525 compiler_CXX \
25526 lt_prog_compiler_no_builtin_flag_CXX \
25527 lt_prog_compiler_wl_CXX \
25528 lt_prog_compiler_pic_CXX \
25529 lt_prog_compiler_static_CXX \
25530 lt_cv_prog_compiler_c_o_CXX \
25531 export_dynamic_flag_spec_CXX \
25532 whole_archive_flag_spec_CXX \
25533 compiler_needs_object_CXX \
25534 with_gnu_ld_CXX \
25535 allow_undefined_flag_CXX \
25536 no_undefined_flag_CXX \
25537 hardcode_libdir_flag_spec_CXX \
25538 hardcode_libdir_flag_spec_ld_CXX \
25539 hardcode_libdir_separator_CXX \
25540 fix_srcfile_path_CXX \
25541 exclude_expsyms_CXX \
25542 include_expsyms_CXX \
25543 file_list_spec_CXX \
25544 compiler_lib_search_dirs_CXX \
25545 predep_objects_CXX \
25546 postdep_objects_CXX \
25547 predeps_CXX \
25548 postdeps_CXX \
25549 compiler_lib_search_path_CXX; do
25550 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25551 *[\\\\\\\`\\"\\\$]*)
25552 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25555 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25557 esac
25558 done
25560 # Double-quote double-evaled strings.
25561 for var in reload_cmds \
25562 old_postinstall_cmds \
25563 old_postuninstall_cmds \
25564 old_archive_cmds \
25565 extract_expsyms_cmds \
25566 old_archive_from_new_cmds \
25567 old_archive_from_expsyms_cmds \
25568 archive_cmds \
25569 archive_expsym_cmds \
25570 module_cmds \
25571 module_expsym_cmds \
25572 export_symbols_cmds \
25573 prelink_cmds \
25574 postinstall_cmds \
25575 postuninstall_cmds \
25576 finish_cmds \
25577 sys_lib_search_path_spec \
25578 sys_lib_dlsearch_path_spec \
25579 reload_cmds_CXX \
25580 old_archive_cmds_CXX \
25581 old_archive_from_new_cmds_CXX \
25582 old_archive_from_expsyms_cmds_CXX \
25583 archive_cmds_CXX \
25584 archive_expsym_cmds_CXX \
25585 module_cmds_CXX \
25586 module_expsym_cmds_CXX \
25587 export_symbols_cmds_CXX \
25588 prelink_cmds_CXX; do
25589 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25590 *[\\\\\\\`\\"\\\$]*)
25591 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
25594 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25596 esac
25597 done
25599 ac_aux_dir='$ac_aux_dir'
25600 xsi_shell='$xsi_shell'
25601 lt_shell_append='$lt_shell_append'
25603 # See if we are running on zsh, and set the options which allow our
25604 # commands through without removal of \ escapes INIT.
25605 if test -n "\${ZSH_VERSION+set}" ; then
25606 setopt NO_GLOB_SUBST
25610 PACKAGE='$PACKAGE'
25611 VERSION='$VERSION'
25612 TIMESTAMP='$TIMESTAMP'
25613 RM='$RM'
25614 ofile='$ofile'
25620 # variables for create stdint.h replacement
25621 PACKAGE="$PACKAGE"
25622 VERSION="$VERSION"
25623 ac_stdint_h="$ac_stdint_h"
25624 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
25625 ac_cv_stdint_message="$ac_cv_stdint_message"
25626 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
25627 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
25628 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
25629 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
25630 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25631 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25632 ac_cv_char_data_model="$ac_cv_char_data_model"
25633 ac_cv_long_data_model="$ac_cv_long_data_model"
25634 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25635 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25636 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
25639 _ACEOF
25641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25643 # Handling of arguments.
25644 for ac_config_target in $ac_config_targets
25646 case $ac_config_target in
25647 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25648 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
25649 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25650 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
25651 "lib/mkcollections.pl") CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
25652 "mkcollections.pl") CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
25653 "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
25654 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
25655 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25656 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
25657 "doc/api/Makefile") CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
25658 "external/Makefile") CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
25659 "external/sax/Makefile") CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
25660 "external/w3c_dom/Makefile") CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
25661 "external/relaxngDatatype/Makefile") CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
25662 "external/jsr166/Makefile") CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
25663 "gnu/classpath/Configuration.java") CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
25664 "gnu/java/security/Configuration.java") CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
25665 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
25666 "native/Makefile") CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
25667 "native/fdlibm/Makefile") CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
25668 "native/jawt/Makefile") CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
25669 "native/jni/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
25670 "native/jni/classpath/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
25671 "native/jni/java-io/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
25672 "native/jni/java-lang/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
25673 "native/jni/java-math/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-math/Makefile" ;;
25674 "native/jni/java-net/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
25675 "native/jni/java-nio/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
25676 "native/jni/java-util/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
25677 "native/jni/gtk-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
25678 "native/jni/gconf-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
25679 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
25680 "native/jni/qt-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
25681 "native/jni/xmlj/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
25682 "native/jni/midi-alsa/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
25683 "native/jni/midi-dssi/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
25684 "native/jni/native-lib/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
25685 "native/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
25686 "resource/Makefile") CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
25687 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
25688 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
25689 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
25690 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
25691 "scripts/classpath.spec") CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
25692 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
25693 "lib/gen-classlist.sh") CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
25694 "lib/copy-vmresources.sh") CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
25695 "scripts/check_jni_methods.sh") CONFIG_FILES="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
25696 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
25697 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
25698 "examples/Makefile.jawt") CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
25699 "examples/Makefile.java2d") CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
25700 "tools/gappletviewer") CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
25701 "tools/gjarsigner") CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
25702 "tools/gkeytool") CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
25703 "tools/gjar") CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
25704 "tools/gnative2ascii") CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
25705 "tools/gserialver") CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
25706 "tools/grmiregistry") CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
25707 "tools/gtnameserv") CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
25708 "tools/gorbd") CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
25709 "tools/grmid") CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
25710 "tools/grmic") CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
25711 "tools/gjavah") CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
25712 "gappletviewer") CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
25713 "gjarsigner") CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
25714 "gkeytool") CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
25715 "gjar") CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
25716 "gnative2ascii") CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
25717 "gserialver") CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
25718 "grmiregistry") CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
25719 "gtnameserv") CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
25720 "gorbd") CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
25721 "grmid") CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
25722 "grmic") CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
25723 "gjavah") CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
25724 "tools/gjdoc") CONFIG_FILES="$CONFIG_FILES tools/gjdoc" ;;
25725 "gjdoc") CONFIG_COMMANDS="$CONFIG_COMMANDS gjdoc" ;;
25726 "gen-classlist") CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
25727 "copy-vmresources") CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
25729 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
25730 esac
25731 done
25734 # If the user did not use the arguments to specify the items to instantiate,
25735 # then the envvar interface is used. Set only those that are not.
25736 # We use the long form for the default assignment because of an extremely
25737 # bizarre bug on SunOS 4.1.3.
25738 if $ac_need_defaults; then
25739 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25740 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25741 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
25742 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25745 # Have a temporary directory for convenience. Make it in the build tree
25746 # simply because there is no reason against having it here, and in addition,
25747 # creating and moving files from /tmp can sometimes cause problems.
25748 # Hook for its removal unless debugging.
25749 # Note that there is a small window in which the directory will not be cleaned:
25750 # after its creation but before its name has been assigned to `$tmp'.
25751 $debug ||
25753 tmp=
25754 trap 'exit_status=$?
25755 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25757 trap 'as_fn_exit 1' 1 2 13 15
25759 # Create a (secure) tmp directory for tmp files.
25762 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25763 test -n "$tmp" && test -d "$tmp"
25764 } ||
25766 tmp=./conf$$-$RANDOM
25767 (umask 077 && mkdir "$tmp")
25768 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
25770 # Set up the scripts for CONFIG_FILES section.
25771 # No need to generate them if there are no CONFIG_FILES.
25772 # This happens for instance with `./config.status config.h'.
25773 if test -n "$CONFIG_FILES"; then
25776 ac_cr=`echo X | tr X '\015'`
25777 # On cygwin, bash can eat \r inside `` if the user requested igncr.
25778 # But we know of no other shell where ac_cr would be empty at this
25779 # point, so we can use a bashism as a fallback.
25780 if test "x$ac_cr" = x; then
25781 eval ac_cr=\$\'\\r\'
25783 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25784 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25785 ac_cs_awk_cr='\r'
25786 else
25787 ac_cs_awk_cr=$ac_cr
25790 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25791 _ACEOF
25795 echo "cat >conf$$subs.awk <<_ACEOF" &&
25796 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25797 echo "_ACEOF"
25798 } >conf$$subs.sh ||
25799 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
25800 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25801 ac_delim='%!_!# '
25802 for ac_last_try in false false false false false :; do
25803 . ./conf$$subs.sh ||
25804 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
25806 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
25807 if test $ac_delim_n = $ac_delim_num; then
25808 break
25809 elif $ac_last_try; then
25810 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
25811 else
25812 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25814 done
25815 rm -f conf$$subs.sh
25817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25818 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
25819 _ACEOF
25820 sed -n '
25822 s/^/S["/; s/!.*/"]=/
25825 s/^[^!]*!//
25826 :repl
25827 t repl
25828 s/'"$ac_delim"'$//
25829 t delim
25832 s/\(.\{148\}\).*/\1/
25833 t more1
25834 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
25837 b repl
25838 :more1
25839 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25842 s/.\{148\}//
25843 t nl
25844 :delim
25846 s/\(.\{148\}\).*/\1/
25847 t more2
25848 s/["\\]/\\&/g; s/^/"/; s/$/"/
25851 :more2
25852 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
25855 s/.\{148\}//
25856 t delim
25857 ' <conf$$subs.awk | sed '
25858 /^[^""]/{
25860 s/\n//
25862 ' >>$CONFIG_STATUS || ac_write_fail=1
25863 rm -f conf$$subs.awk
25864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25865 _ACAWK
25866 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
25867 for (key in S) S_is_set[key] = 1
25868 FS = "\a"
25872 line = $ 0
25873 nfields = split(line, field, "@")
25874 substed = 0
25875 len = length(field[1])
25876 for (i = 2; i < nfields; i++) {
25877 key = field[i]
25878 keylen = length(key)
25879 if (S_is_set[key]) {
25880 value = S[key]
25881 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25882 len += length(value) + length(field[++i])
25883 substed = 1
25884 } else
25885 len += 1 + keylen
25888 print line
25891 _ACAWK
25892 _ACEOF
25893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25894 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25895 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
25896 else
25898 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
25899 || as_fn_error "could not setup config files machinery" "$LINENO" 5
25900 _ACEOF
25902 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25903 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25904 # trailing colons and then remove the whole line if VPATH becomes empty
25905 # (actually we leave an empty line to preserve line numbers).
25906 if test "x$srcdir" = x.; then
25907 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25908 s/:*\$(srcdir):*/:/
25909 s/:*\${srcdir}:*/:/
25910 s/:*@srcdir@:*/:/
25911 s/^\([^=]*=[ ]*\):*/\1/
25912 s/:*$//
25913 s/^[^=]*=[ ]*$//
25917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25918 fi # test -n "$CONFIG_FILES"
25920 # Set up the scripts for CONFIG_HEADERS section.
25921 # No need to generate them if there are no CONFIG_HEADERS.
25922 # This happens for instance with `./config.status Makefile'.
25923 if test -n "$CONFIG_HEADERS"; then
25924 cat >"$tmp/defines.awk" <<\_ACAWK ||
25925 BEGIN {
25926 _ACEOF
25928 # Transform confdefs.h into an awk script `defines.awk', embedded as
25929 # here-document in config.status, that substitutes the proper values into
25930 # config.h.in to produce config.h.
25932 # Create a delimiter string that does not exist in confdefs.h, to ease
25933 # handling of long lines.
25934 ac_delim='%!_!# '
25935 for ac_last_try in false false :; do
25936 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
25937 if test -z "$ac_t"; then
25938 break
25939 elif $ac_last_try; then
25940 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
25941 else
25942 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25944 done
25946 # For the awk script, D is an array of macro values keyed by name,
25947 # likewise P contains macro parameters if any. Preserve backslash
25948 # newline sequences.
25950 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25951 sed -n '
25952 s/.\{148\}/&'"$ac_delim"'/g
25953 t rset
25954 :rset
25955 s/^[ ]*#[ ]*define[ ][ ]*/ /
25956 t def
25958 :def
25959 s/\\$//
25960 t bsnl
25961 s/["\\]/\\&/g
25962 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
25963 D["\1"]=" \3"/p
25964 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
25966 :bsnl
25967 s/["\\]/\\&/g
25968 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
25969 D["\1"]=" \3\\\\\\n"\\/p
25970 t cont
25971 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
25972 t cont
25974 :cont
25976 s/.\{148\}/&'"$ac_delim"'/g
25977 t clear
25978 :clear
25979 s/\\$//
25980 t bsnlc
25981 s/["\\]/\\&/g; s/^/"/; s/$/"/p
25983 :bsnlc
25984 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
25985 b cont
25986 ' <confdefs.h | sed '
25987 s/'"$ac_delim"'/"\\\
25988 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25991 for (key in D) D_is_set[key] = 1
25992 FS = "\a"
25994 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25995 line = \$ 0
25996 split(line, arg, " ")
25997 if (arg[1] == "#") {
25998 defundef = arg[2]
25999 mac1 = arg[3]
26000 } else {
26001 defundef = substr(arg[1], 2)
26002 mac1 = arg[2]
26004 split(mac1, mac2, "(") #)
26005 macro = mac2[1]
26006 prefix = substr(line, 1, index(line, defundef) - 1)
26007 if (D_is_set[macro]) {
26008 # Preserve the white space surrounding the "#".
26009 print prefix "define", macro P[macro] D[macro]
26010 next
26011 } else {
26012 # Replace #undef with comments. This is necessary, for example,
26013 # in the case of _POSIX_SOURCE, which is predefined and required
26014 # on some systems where configure will not decide to define it.
26015 if (defundef == "undef") {
26016 print "/*", prefix defundef, macro, "*/"
26017 next
26021 { print }
26022 _ACAWK
26023 _ACEOF
26024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26025 as_fn_error "could not setup config headers machinery" "$LINENO" 5
26026 fi # test -n "$CONFIG_HEADERS"
26029 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26030 shift
26031 for ac_tag
26033 case $ac_tag in
26034 :[FHLC]) ac_mode=$ac_tag; continue;;
26035 esac
26036 case $ac_mode$ac_tag in
26037 :[FHL]*:*);;
26038 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26039 :[FH]-) ac_tag=-:-;;
26040 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26041 esac
26042 ac_save_IFS=$IFS
26043 IFS=:
26044 set x $ac_tag
26045 IFS=$ac_save_IFS
26046 shift
26047 ac_file=$1
26048 shift
26050 case $ac_mode in
26051 :L) ac_source=$1;;
26052 :[FH])
26053 ac_file_inputs=
26054 for ac_f
26056 case $ac_f in
26057 -) ac_f="$tmp/stdin";;
26058 *) # Look for the file first in the build tree, then in the source tree
26059 # (if the path is not absolute). The absolute path cannot be DOS-style,
26060 # because $ac_f cannot contain `:'.
26061 test -f "$ac_f" ||
26062 case $ac_f in
26063 [\\/$]*) false;;
26064 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26065 esac ||
26066 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26067 esac
26068 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26069 as_fn_append ac_file_inputs " '$ac_f'"
26070 done
26072 # Let's still pretend it is `configure' which instantiates (i.e., don't
26073 # use $as_me), people would be surprised to read:
26074 # /* config.h. Generated by config.status. */
26075 configure_input='Generated from '`
26076 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26077 `' by configure.'
26078 if test x"$ac_file" != x-; then
26079 configure_input="$ac_file. $configure_input"
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26081 $as_echo "$as_me: creating $ac_file" >&6;}
26083 # Neutralize special characters interpreted by sed in replacement strings.
26084 case $configure_input in #(
26085 *\&* | *\|* | *\\* )
26086 ac_sed_conf_input=`$as_echo "$configure_input" |
26087 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26088 *) ac_sed_conf_input=$configure_input;;
26089 esac
26091 case $ac_tag in
26092 *:-:* | *:-) cat >"$tmp/stdin" \
26093 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26094 esac
26096 esac
26098 ac_dir=`$as_dirname -- "$ac_file" ||
26099 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26100 X"$ac_file" : 'X\(//\)[^/]' \| \
26101 X"$ac_file" : 'X\(//\)$' \| \
26102 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26103 $as_echo X"$ac_file" |
26104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26105 s//\1/
26108 /^X\(\/\/\)[^/].*/{
26109 s//\1/
26112 /^X\(\/\/\)$/{
26113 s//\1/
26116 /^X\(\/\).*/{
26117 s//\1/
26120 s/.*/./; q'`
26121 as_dir="$ac_dir"; as_fn_mkdir_p
26122 ac_builddir=.
26124 case "$ac_dir" in
26125 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26127 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26128 # A ".." for each directory in $ac_dir_suffix.
26129 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26130 case $ac_top_builddir_sub in
26131 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26132 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26133 esac ;;
26134 esac
26135 ac_abs_top_builddir=$ac_pwd
26136 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26137 # for backward compatibility:
26138 ac_top_builddir=$ac_top_build_prefix
26140 case $srcdir in
26141 .) # We are building in place.
26142 ac_srcdir=.
26143 ac_top_srcdir=$ac_top_builddir_sub
26144 ac_abs_top_srcdir=$ac_pwd ;;
26145 [\\/]* | ?:[\\/]* ) # Absolute name.
26146 ac_srcdir=$srcdir$ac_dir_suffix;
26147 ac_top_srcdir=$srcdir
26148 ac_abs_top_srcdir=$srcdir ;;
26149 *) # Relative name.
26150 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26151 ac_top_srcdir=$ac_top_build_prefix$srcdir
26152 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26153 esac
26154 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26157 case $ac_mode in
26160 # CONFIG_FILE
26163 case $INSTALL in
26164 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26165 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26166 esac
26167 ac_MKDIR_P=$MKDIR_P
26168 case $MKDIR_P in
26169 [\\/$]* | ?:[\\/]* ) ;;
26170 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26171 esac
26172 _ACEOF
26174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26175 # If the template does not know about datarootdir, expand it.
26176 # FIXME: This hack should be removed a few years after 2.60.
26177 ac_datarootdir_hack=; ac_datarootdir_seen=
26178 ac_sed_dataroot='
26179 /datarootdir/ {
26183 /@datadir@/p
26184 /@docdir@/p
26185 /@infodir@/p
26186 /@localedir@/p
26187 /@mandir@/p'
26188 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26189 *datarootdir*) ac_datarootdir_seen=yes;;
26190 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26192 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26193 _ACEOF
26194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26195 ac_datarootdir_hack='
26196 s&@datadir@&$datadir&g
26197 s&@docdir@&$docdir&g
26198 s&@infodir@&$infodir&g
26199 s&@localedir@&$localedir&g
26200 s&@mandir@&$mandir&g
26201 s&\\\${datarootdir}&$datarootdir&g' ;;
26202 esac
26203 _ACEOF
26205 # Neutralize VPATH when `$srcdir' = `.'.
26206 # Shell code in configure.ac might set extrasub.
26207 # FIXME: do we really want to maintain this feature?
26208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26209 ac_sed_extra="$ac_vpsub
26210 $extrasub
26211 _ACEOF
26212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26214 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26215 s|@configure_input@|$ac_sed_conf_input|;t t
26216 s&@top_builddir@&$ac_top_builddir_sub&;t t
26217 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26218 s&@srcdir@&$ac_srcdir&;t t
26219 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26220 s&@top_srcdir@&$ac_top_srcdir&;t t
26221 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26222 s&@builddir@&$ac_builddir&;t t
26223 s&@abs_builddir@&$ac_abs_builddir&;t t
26224 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26225 s&@INSTALL@&$ac_INSTALL&;t t
26226 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26227 $ac_datarootdir_hack
26229 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26230 || as_fn_error "could not create $ac_file" "$LINENO" 5
26232 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26233 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26234 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26236 which seems to be undefined. Please make sure it is defined." >&5
26237 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26238 which seems to be undefined. Please make sure it is defined." >&2;}
26240 rm -f "$tmp/stdin"
26241 case $ac_file in
26242 -) cat "$tmp/out" && rm -f "$tmp/out";;
26243 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26244 esac \
26245 || as_fn_error "could not create $ac_file" "$LINENO" 5
26249 # CONFIG_HEADER
26251 if test x"$ac_file" != x-; then
26253 $as_echo "/* $configure_input */" \
26254 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26255 } >"$tmp/config.h" \
26256 || as_fn_error "could not create $ac_file" "$LINENO" 5
26257 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26258 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26259 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26260 else
26261 rm -f "$ac_file"
26262 mv "$tmp/config.h" "$ac_file" \
26263 || as_fn_error "could not create $ac_file" "$LINENO" 5
26265 else
26266 $as_echo "/* $configure_input */" \
26267 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26268 || as_fn_error "could not create -" "$LINENO" 5
26270 # Compute "$ac_file"'s index in $config_headers.
26271 _am_arg="$ac_file"
26272 _am_stamp_count=1
26273 for _am_header in $config_headers :; do
26274 case $_am_header in
26275 $_am_arg | $_am_arg:* )
26276 break ;;
26278 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26279 esac
26280 done
26281 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26282 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26283 X"$_am_arg" : 'X\(//\)[^/]' \| \
26284 X"$_am_arg" : 'X\(//\)$' \| \
26285 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26286 $as_echo X"$_am_arg" |
26287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26288 s//\1/
26291 /^X\(\/\/\)[^/].*/{
26292 s//\1/
26295 /^X\(\/\/\)$/{
26296 s//\1/
26299 /^X\(\/\).*/{
26300 s//\1/
26303 s/.*/./; q'`/stamp-h$_am_stamp_count
26307 # CONFIG_LINK
26310 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26312 else
26313 # Prefer the file from the source tree if names are identical.
26314 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
26315 ac_source=$srcdir/$ac_source
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26319 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26321 if test ! -r "$ac_source"; then
26322 as_fn_error "$ac_source: file not found" "$LINENO" 5
26324 rm -f "$ac_file"
26326 # Try a relative symlink, then a hard link, then a copy.
26327 case $srcdir in
26328 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
26329 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
26330 esac
26331 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
26332 ln "$ac_source" "$ac_file" 2>/dev/null ||
26333 cp -p "$ac_source" "$ac_file" ||
26334 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26337 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26338 $as_echo "$as_me: executing $ac_file commands" >&6;}
26340 esac
26343 case $ac_file$ac_mode in
26344 "default-1":C)
26345 # Only add multilib support code if we just rebuilt the top-level
26346 # Makefile.
26347 case " $CONFIG_FILES " in
26348 *" Makefile "*)
26349 ac_file=Makefile . ${multi_basedir}/config-ml.in
26351 esac ;;
26352 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26353 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26354 # are listed without --file. Let's play safe and only enable the eval
26355 # if we detect the quoting.
26356 case $CONFIG_FILES in
26357 *\'*) eval set x "$CONFIG_FILES" ;;
26358 *) set x $CONFIG_FILES ;;
26359 esac
26360 shift
26361 for mf
26363 # Strip MF so we end up with the name of the file.
26364 mf=`echo "$mf" | sed -e 's/:.*$//'`
26365 # Check whether this is an Automake generated Makefile or not.
26366 # We used to match only the files named `Makefile.in', but
26367 # some people rename them; so instead we look at the file content.
26368 # Grep'ing the first line is not enough: some people post-process
26369 # each Makefile.in and add a new line on top of each file to say so.
26370 # Grep'ing the whole file is not good either: AIX grep has a line
26371 # limit of 2048, but all sed's we know have understand at least 4000.
26372 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26373 dirpart=`$as_dirname -- "$mf" ||
26374 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26375 X"$mf" : 'X\(//\)[^/]' \| \
26376 X"$mf" : 'X\(//\)$' \| \
26377 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26378 $as_echo X"$mf" |
26379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26380 s//\1/
26383 /^X\(\/\/\)[^/].*/{
26384 s//\1/
26387 /^X\(\/\/\)$/{
26388 s//\1/
26391 /^X\(\/\).*/{
26392 s//\1/
26395 s/.*/./; q'`
26396 else
26397 continue
26399 # Extract the definition of DEPDIR, am__include, and am__quote
26400 # from the Makefile without running `make'.
26401 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26402 test -z "$DEPDIR" && continue
26403 am__include=`sed -n 's/^am__include = //p' < "$mf"`
26404 test -z "am__include" && continue
26405 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26406 # When using ansi2knr, U may be empty or an underscore; expand it
26407 U=`sed -n 's/^U = //p' < "$mf"`
26408 # Find all dependency output files, they are included files with
26409 # $(DEPDIR) in their names. We invoke sed twice because it is the
26410 # simplest approach to changing $(DEPDIR) to its actual value in the
26411 # expansion.
26412 for file in `sed -n "
26413 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26414 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26415 # Make sure the directory exists.
26416 test -f "$dirpart/$file" && continue
26417 fdir=`$as_dirname -- "$file" ||
26418 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26419 X"$file" : 'X\(//\)[^/]' \| \
26420 X"$file" : 'X\(//\)$' \| \
26421 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26422 $as_echo X"$file" |
26423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26424 s//\1/
26427 /^X\(\/\/\)[^/].*/{
26428 s//\1/
26431 /^X\(\/\/\)$/{
26432 s//\1/
26435 /^X\(\/\).*/{
26436 s//\1/
26439 s/.*/./; q'`
26440 as_dir=$dirpart/$fdir; as_fn_mkdir_p
26441 # echo "creating $dirpart/$file"
26442 echo '# dummy' > "$dirpart/$file"
26443 done
26444 done
26447 "libtool":C)
26449 # See if we are running on zsh, and set the options which allow our
26450 # commands through without removal of \ escapes.
26451 if test -n "${ZSH_VERSION+set}" ; then
26452 setopt NO_GLOB_SUBST
26455 cfgfile="${ofile}T"
26456 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26457 $RM "$cfgfile"
26459 cat <<_LT_EOF >> "$cfgfile"
26460 #! $SHELL
26462 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26463 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26464 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26465 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26467 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26468 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26469 # Written by Gordon Matzigkeit, 1996
26471 # This file is part of GNU Libtool.
26473 # GNU Libtool is free software; you can redistribute it and/or
26474 # modify it under the terms of the GNU General Public License as
26475 # published by the Free Software Foundation; either version 2 of
26476 # the License, or (at your option) any later version.
26478 # As a special exception to the GNU General Public License,
26479 # if you distribute this file as part of a program or library that
26480 # is built using GNU Libtool, you may include this file under the
26481 # same distribution terms that you use for the rest of that program.
26483 # GNU Libtool is distributed in the hope that it will be useful,
26484 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26485 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26486 # GNU General Public License for more details.
26488 # You should have received a copy of the GNU General Public License
26489 # along with GNU Libtool; see the file COPYING. If not, a copy
26490 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26491 # obtained by writing to the Free Software Foundation, Inc.,
26492 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26495 # The names of the tagged configurations supported by this script.
26496 available_tags="CXX "
26498 # ### BEGIN LIBTOOL CONFIG
26500 # Whether or not to build static libraries.
26501 build_old_libs=$enable_static
26503 # Which release of libtool.m4 was used?
26504 macro_version=$macro_version
26505 macro_revision=$macro_revision
26507 # Whether or not to build shared libraries.
26508 build_libtool_libs=$enable_shared
26510 # What type of objects to build.
26511 pic_mode=$pic_mode
26513 # Whether or not to optimize for fast installation.
26514 fast_install=$enable_fast_install
26516 # Shell to use when invoking shell scripts.
26517 SHELL=$lt_SHELL
26519 # An echo program that protects backslashes.
26520 ECHO=$lt_ECHO
26522 # The host system.
26523 host_alias=$host_alias
26524 host=$host
26525 host_os=$host_os
26527 # The build system.
26528 build_alias=$build_alias
26529 build=$build
26530 build_os=$build_os
26532 # A sed program that does not truncate output.
26533 SED=$lt_SED
26535 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26536 Xsed="\$SED -e 1s/^X//"
26538 # A grep program that handles long lines.
26539 GREP=$lt_GREP
26541 # An ERE matcher.
26542 EGREP=$lt_EGREP
26544 # A literal string matcher.
26545 FGREP=$lt_FGREP
26547 # A BSD- or MS-compatible name lister.
26548 NM=$lt_NM
26550 # Whether we need soft or hard links.
26551 LN_S=$lt_LN_S
26553 # What is the maximum length of a command?
26554 max_cmd_len=$max_cmd_len
26556 # Object file suffix (normally "o").
26557 objext=$ac_objext
26559 # Executable file suffix (normally "").
26560 exeext=$exeext
26562 # whether the shell understands "unset".
26563 lt_unset=$lt_unset
26565 # turn spaces into newlines.
26566 SP2NL=$lt_lt_SP2NL
26568 # turn newlines into spaces.
26569 NL2SP=$lt_lt_NL2SP
26571 # An object symbol dumper.
26572 OBJDUMP=$lt_OBJDUMP
26574 # Method to check whether dependent libraries are shared objects.
26575 deplibs_check_method=$lt_deplibs_check_method
26577 # Command to use when deplibs_check_method == "file_magic".
26578 file_magic_cmd=$lt_file_magic_cmd
26580 # The archiver.
26581 AR=$lt_AR
26582 AR_FLAGS=$lt_AR_FLAGS
26584 # A symbol stripping program.
26585 STRIP=$lt_STRIP
26587 # Commands used to install an old-style archive.
26588 RANLIB=$lt_RANLIB
26589 old_postinstall_cmds=$lt_old_postinstall_cmds
26590 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26592 # Whether to use a lock for old archive extraction.
26593 lock_old_archive_extraction=$lock_old_archive_extraction
26595 # A C compiler.
26596 LTCC=$lt_CC
26598 # LTCC compiler flags.
26599 LTCFLAGS=$lt_CFLAGS
26601 # Take the output of nm and produce a listing of raw symbols and C names.
26602 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26604 # Transform the output of nm in a proper C declaration.
26605 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26607 # Transform the output of nm in a C name address pair.
26608 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26610 # Transform the output of nm in a C name address pair when lib prefix is needed.
26611 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26613 # The name of the directory that contains temporary libtool files.
26614 objdir=$objdir
26616 # Used to examine libraries when file_magic_cmd begins with "file".
26617 MAGIC_CMD=$MAGIC_CMD
26619 # Must we lock files when doing compilation?
26620 need_locks=$lt_need_locks
26622 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26623 DSYMUTIL=$lt_DSYMUTIL
26625 # Tool to change global to local symbols on Mac OS X.
26626 NMEDIT=$lt_NMEDIT
26628 # Tool to manipulate fat objects and archives on Mac OS X.
26629 LIPO=$lt_LIPO
26631 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26632 OTOOL=$lt_OTOOL
26634 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26635 OTOOL64=$lt_OTOOL64
26637 # Old archive suffix (normally "a").
26638 libext=$libext
26640 # Shared library suffix (normally ".so").
26641 shrext_cmds=$lt_shrext_cmds
26643 # The commands to extract the exported symbol list from a shared archive.
26644 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26646 # Variables whose values should be saved in libtool wrapper scripts and
26647 # restored at link time.
26648 variables_saved_for_relink=$lt_variables_saved_for_relink
26650 # Do we need the "lib" prefix for modules?
26651 need_lib_prefix=$need_lib_prefix
26653 # Do we need a version for libraries?
26654 need_version=$need_version
26656 # Library versioning type.
26657 version_type=$version_type
26659 # Shared library runtime path variable.
26660 runpath_var=$runpath_var
26662 # Shared library path variable.
26663 shlibpath_var=$shlibpath_var
26665 # Is shlibpath searched before the hard-coded library search path?
26666 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26668 # Format of library name prefix.
26669 libname_spec=$lt_libname_spec
26671 # List of archive names. First name is the real one, the rest are links.
26672 # The last name is the one that the linker finds with -lNAME
26673 library_names_spec=$lt_library_names_spec
26675 # The coded name of the library, if different from the real name.
26676 soname_spec=$lt_soname_spec
26678 # Permission mode override for installation of shared libraries.
26679 install_override_mode=$lt_install_override_mode
26681 # Command to use after installation of a shared archive.
26682 postinstall_cmds=$lt_postinstall_cmds
26684 # Command to use after uninstallation of a shared archive.
26685 postuninstall_cmds=$lt_postuninstall_cmds
26687 # Commands used to finish a libtool library installation in a directory.
26688 finish_cmds=$lt_finish_cmds
26690 # As "finish_cmds", except a single script fragment to be evaled but
26691 # not shown.
26692 finish_eval=$lt_finish_eval
26694 # Whether we should hardcode library paths into libraries.
26695 hardcode_into_libs=$hardcode_into_libs
26697 # Compile-time system search path for libraries.
26698 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
26700 # Run-time system search path for libraries.
26701 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
26703 # Whether dlopen is supported.
26704 dlopen_support=$enable_dlopen
26706 # Whether dlopen of programs is supported.
26707 dlopen_self=$enable_dlopen_self
26709 # Whether dlopen of statically linked programs is supported.
26710 dlopen_self_static=$enable_dlopen_self_static
26712 # Commands to strip libraries.
26713 old_striplib=$lt_old_striplib
26714 striplib=$lt_striplib
26717 # The linker used to build libraries.
26718 LD=$lt_LD
26720 # How to create reloadable object files.
26721 reload_flag=$lt_reload_flag
26722 reload_cmds=$lt_reload_cmds
26724 # Commands used to build an old-style archive.
26725 old_archive_cmds=$lt_old_archive_cmds
26727 # A language specific compiler.
26728 CC=$lt_compiler
26730 # Is the compiler the GNU compiler?
26731 with_gcc=$GCC
26733 # Compiler flag to turn off builtin functions.
26734 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
26736 # How to pass a linker flag through the compiler.
26737 wl=$lt_lt_prog_compiler_wl
26739 # Additional compiler flags for building library objects.
26740 pic_flag=$lt_lt_prog_compiler_pic
26742 # Compiler flag to prevent dynamic linking.
26743 link_static_flag=$lt_lt_prog_compiler_static
26745 # Does compiler simultaneously support -c and -o options?
26746 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
26748 # Whether or not to add -lc for building shared libraries.
26749 build_libtool_need_lc=$archive_cmds_need_lc
26751 # Whether or not to disallow shared libs when runtime libs are static.
26752 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
26754 # Compiler flag to allow reflexive dlopens.
26755 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
26757 # Compiler flag to generate shared objects directly from archives.
26758 whole_archive_flag_spec=$lt_whole_archive_flag_spec
26760 # Whether the compiler copes with passing no objects directly.
26761 compiler_needs_object=$lt_compiler_needs_object
26763 # Create an old-style archive from a shared archive.
26764 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
26766 # Create a temporary old-style archive to link instead of a shared archive.
26767 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
26769 # Commands used to build a shared archive.
26770 archive_cmds=$lt_archive_cmds
26771 archive_expsym_cmds=$lt_archive_expsym_cmds
26773 # Commands used to build a loadable module if different from building
26774 # a shared archive.
26775 module_cmds=$lt_module_cmds
26776 module_expsym_cmds=$lt_module_expsym_cmds
26778 # Whether we are building with GNU ld or not.
26779 with_gnu_ld=$lt_with_gnu_ld
26781 # Flag that allows shared libraries with undefined symbols to be built.
26782 allow_undefined_flag=$lt_allow_undefined_flag
26784 # Flag that enforces no undefined symbols.
26785 no_undefined_flag=$lt_no_undefined_flag
26787 # Flag to hardcode \$libdir into a binary during linking.
26788 # This must work even if \$libdir does not exist
26789 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
26791 # If ld is used when linking, flag to hardcode \$libdir into a binary
26792 # during linking. This must work even if \$libdir does not exist.
26793 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
26795 # Whether we need a single "-rpath" flag with a separated argument.
26796 hardcode_libdir_separator=$lt_hardcode_libdir_separator
26798 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26799 # DIR into the resulting binary.
26800 hardcode_direct=$hardcode_direct
26802 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
26803 # DIR into the resulting binary and the resulting library dependency is
26804 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
26805 # library is relocated.
26806 hardcode_direct_absolute=$hardcode_direct_absolute
26808 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
26809 # into the resulting binary.
26810 hardcode_minus_L=$hardcode_minus_L
26812 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
26813 # into the resulting binary.
26814 hardcode_shlibpath_var=$hardcode_shlibpath_var
26816 # Set to "yes" if building a shared library automatically hardcodes DIR
26817 # into the library and all subsequent libraries and executables linked
26818 # against it.
26819 hardcode_automatic=$hardcode_automatic
26821 # Set to yes if linker adds runtime paths of dependent libraries
26822 # to runtime path list.
26823 inherit_rpath=$inherit_rpath
26825 # Whether libtool must link a program against all its dependency libraries.
26826 link_all_deplibs=$link_all_deplibs
26828 # Fix the shell variable \$srcfile for the compiler.
26829 fix_srcfile_path=$lt_fix_srcfile_path
26831 # Set to "yes" if exported symbols are required.
26832 always_export_symbols=$always_export_symbols
26834 # The commands to list exported symbols.
26835 export_symbols_cmds=$lt_export_symbols_cmds
26837 # Symbols that should not be listed in the preloaded symbols.
26838 exclude_expsyms=$lt_exclude_expsyms
26840 # Symbols that must always be exported.
26841 include_expsyms=$lt_include_expsyms
26843 # Commands necessary for linking programs (against libraries) with templates.
26844 prelink_cmds=$lt_prelink_cmds
26846 # Specify filename containing input files.
26847 file_list_spec=$lt_file_list_spec
26849 # How to hardcode a shared library path into an executable.
26850 hardcode_action=$hardcode_action
26852 # The directories searched by this compiler when creating a shared library.
26853 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
26855 # Dependencies to place before and after the objects being linked to
26856 # create a shared library.
26857 predep_objects=$lt_predep_objects
26858 postdep_objects=$lt_postdep_objects
26859 predeps=$lt_predeps
26860 postdeps=$lt_postdeps
26862 # The library search path used internally by the compiler when linking
26863 # a shared library.
26864 compiler_lib_search_path=$lt_compiler_lib_search_path
26866 # ### END LIBTOOL CONFIG
26868 _LT_EOF
26870 case $host_os in
26871 aix3*)
26872 cat <<\_LT_EOF >> "$cfgfile"
26873 # AIX sometimes has problems with the GCC collect2 program. For some
26874 # reason, if we set the COLLECT_NAMES environment variable, the problems
26875 # vanish in a puff of smoke.
26876 if test "X${COLLECT_NAMES+set}" != Xset; then
26877 COLLECT_NAMES=
26878 export COLLECT_NAMES
26880 _LT_EOF
26882 esac
26885 ltmain="$ac_aux_dir/ltmain.sh"
26888 # We use sed instead of cat because bash on DJGPP gets confused if
26889 # if finds mixed CR/LF and LF-only lines. Since sed operates in
26890 # text mode, it properly converts lines to CR/LF. This bash problem
26891 # is reportedly fixed, but why not run on old versions too?
26892 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
26893 || (rm -f "$cfgfile"; exit 1)
26895 case $xsi_shell in
26896 yes)
26897 cat << \_LT_EOF >> "$cfgfile"
26899 # func_dirname file append nondir_replacement
26900 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26901 # otherwise set result to NONDIR_REPLACEMENT.
26902 func_dirname ()
26904 case ${1} in
26905 */*) func_dirname_result="${1%/*}${2}" ;;
26906 * ) func_dirname_result="${3}" ;;
26907 esac
26910 # func_basename file
26911 func_basename ()
26913 func_basename_result="${1##*/}"
26916 # func_dirname_and_basename file append nondir_replacement
26917 # perform func_basename and func_dirname in a single function
26918 # call:
26919 # dirname: Compute the dirname of FILE. If nonempty,
26920 # add APPEND to the result, otherwise set result
26921 # to NONDIR_REPLACEMENT.
26922 # value returned in "$func_dirname_result"
26923 # basename: Compute filename of FILE.
26924 # value retuned in "$func_basename_result"
26925 # Implementation must be kept synchronized with func_dirname
26926 # and func_basename. For efficiency, we do not delegate to
26927 # those functions but instead duplicate the functionality here.
26928 func_dirname_and_basename ()
26930 case ${1} in
26931 */*) func_dirname_result="${1%/*}${2}" ;;
26932 * ) func_dirname_result="${3}" ;;
26933 esac
26934 func_basename_result="${1##*/}"
26937 # func_stripname prefix suffix name
26938 # strip PREFIX and SUFFIX off of NAME.
26939 # PREFIX and SUFFIX must not contain globbing or regex special
26940 # characters, hashes, percent signs, but SUFFIX may contain a leading
26941 # dot (in which case that matches only a dot).
26942 func_stripname ()
26944 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
26945 # positional parameters, so assign one to ordinary parameter first.
26946 func_stripname_result=${3}
26947 func_stripname_result=${func_stripname_result#"${1}"}
26948 func_stripname_result=${func_stripname_result%"${2}"}
26951 # func_opt_split
26952 func_opt_split ()
26954 func_opt_split_opt=${1%%=*}
26955 func_opt_split_arg=${1#*=}
26958 # func_lo2o object
26959 func_lo2o ()
26961 case ${1} in
26962 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
26963 *) func_lo2o_result=${1} ;;
26964 esac
26967 # func_xform libobj-or-source
26968 func_xform ()
26970 func_xform_result=${1%.*}.lo
26973 # func_arith arithmetic-term...
26974 func_arith ()
26976 func_arith_result=$(( $* ))
26979 # func_len string
26980 # STRING may not start with a hyphen.
26981 func_len ()
26983 func_len_result=${#1}
26986 _LT_EOF
26988 *) # Bourne compatible functions.
26989 cat << \_LT_EOF >> "$cfgfile"
26991 # func_dirname file append nondir_replacement
26992 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
26993 # otherwise set result to NONDIR_REPLACEMENT.
26994 func_dirname ()
26996 # Extract subdirectory from the argument.
26997 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
26998 if test "X$func_dirname_result" = "X${1}"; then
26999 func_dirname_result="${3}"
27000 else
27001 func_dirname_result="$func_dirname_result${2}"
27005 # func_basename file
27006 func_basename ()
27008 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27012 # func_stripname prefix suffix name
27013 # strip PREFIX and SUFFIX off of NAME.
27014 # PREFIX and SUFFIX must not contain globbing or regex special
27015 # characters, hashes, percent signs, but SUFFIX may contain a leading
27016 # dot (in which case that matches only a dot).
27017 # func_strip_suffix prefix name
27018 func_stripname ()
27020 case ${2} in
27021 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27022 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27023 esac
27026 # sed scripts:
27027 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27028 my_sed_long_arg='1s/^-[^=]*=//'
27030 # func_opt_split
27031 func_opt_split ()
27033 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27034 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27037 # func_lo2o object
27038 func_lo2o ()
27040 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27043 # func_xform libobj-or-source
27044 func_xform ()
27046 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27049 # func_arith arithmetic-term...
27050 func_arith ()
27052 func_arith_result=`expr "$@"`
27055 # func_len string
27056 # STRING may not start with a hyphen.
27057 func_len ()
27059 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27062 _LT_EOF
27063 esac
27065 case $lt_shell_append in
27066 yes)
27067 cat << \_LT_EOF >> "$cfgfile"
27069 # func_append var value
27070 # Append VALUE to the end of shell variable VAR.
27071 func_append ()
27073 eval "$1+=\$2"
27075 _LT_EOF
27078 cat << \_LT_EOF >> "$cfgfile"
27080 # func_append var value
27081 # Append VALUE to the end of shell variable VAR.
27082 func_append ()
27084 eval "$1=\$$1\$2"
27087 _LT_EOF
27089 esac
27092 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27093 || (rm -f "$cfgfile"; exit 1)
27095 mv -f "$cfgfile" "$ofile" ||
27096 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27097 chmod +x "$ofile"
27100 cat <<_LT_EOF >> "$ofile"
27102 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27104 # The linker used to build libraries.
27105 LD=$lt_LD_CXX
27107 # How to create reloadable object files.
27108 reload_flag=$lt_reload_flag_CXX
27109 reload_cmds=$lt_reload_cmds_CXX
27111 # Commands used to build an old-style archive.
27112 old_archive_cmds=$lt_old_archive_cmds_CXX
27114 # A language specific compiler.
27115 CC=$lt_compiler_CXX
27117 # Is the compiler the GNU compiler?
27118 with_gcc=$GCC_CXX
27120 # Compiler flag to turn off builtin functions.
27121 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27123 # How to pass a linker flag through the compiler.
27124 wl=$lt_lt_prog_compiler_wl_CXX
27126 # Additional compiler flags for building library objects.
27127 pic_flag=$lt_lt_prog_compiler_pic_CXX
27129 # Compiler flag to prevent dynamic linking.
27130 link_static_flag=$lt_lt_prog_compiler_static_CXX
27132 # Does compiler simultaneously support -c and -o options?
27133 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27135 # Whether or not to add -lc for building shared libraries.
27136 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27138 # Whether or not to disallow shared libs when runtime libs are static.
27139 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27141 # Compiler flag to allow reflexive dlopens.
27142 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27144 # Compiler flag to generate shared objects directly from archives.
27145 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27147 # Whether the compiler copes with passing no objects directly.
27148 compiler_needs_object=$lt_compiler_needs_object_CXX
27150 # Create an old-style archive from a shared archive.
27151 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27153 # Create a temporary old-style archive to link instead of a shared archive.
27154 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27156 # Commands used to build a shared archive.
27157 archive_cmds=$lt_archive_cmds_CXX
27158 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27160 # Commands used to build a loadable module if different from building
27161 # a shared archive.
27162 module_cmds=$lt_module_cmds_CXX
27163 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27165 # Whether we are building with GNU ld or not.
27166 with_gnu_ld=$lt_with_gnu_ld_CXX
27168 # Flag that allows shared libraries with undefined symbols to be built.
27169 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27171 # Flag that enforces no undefined symbols.
27172 no_undefined_flag=$lt_no_undefined_flag_CXX
27174 # Flag to hardcode \$libdir into a binary during linking.
27175 # This must work even if \$libdir does not exist
27176 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27178 # If ld is used when linking, flag to hardcode \$libdir into a binary
27179 # during linking. This must work even if \$libdir does not exist.
27180 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27182 # Whether we need a single "-rpath" flag with a separated argument.
27183 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27185 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27186 # DIR into the resulting binary.
27187 hardcode_direct=$hardcode_direct_CXX
27189 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27190 # DIR into the resulting binary and the resulting library dependency is
27191 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27192 # library is relocated.
27193 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27195 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27196 # into the resulting binary.
27197 hardcode_minus_L=$hardcode_minus_L_CXX
27199 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27200 # into the resulting binary.
27201 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27203 # Set to "yes" if building a shared library automatically hardcodes DIR
27204 # into the library and all subsequent libraries and executables linked
27205 # against it.
27206 hardcode_automatic=$hardcode_automatic_CXX
27208 # Set to yes if linker adds runtime paths of dependent libraries
27209 # to runtime path list.
27210 inherit_rpath=$inherit_rpath_CXX
27212 # Whether libtool must link a program against all its dependency libraries.
27213 link_all_deplibs=$link_all_deplibs_CXX
27215 # Fix the shell variable \$srcfile for the compiler.
27216 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27218 # Set to "yes" if exported symbols are required.
27219 always_export_symbols=$always_export_symbols_CXX
27221 # The commands to list exported symbols.
27222 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27224 # Symbols that should not be listed in the preloaded symbols.
27225 exclude_expsyms=$lt_exclude_expsyms_CXX
27227 # Symbols that must always be exported.
27228 include_expsyms=$lt_include_expsyms_CXX
27230 # Commands necessary for linking programs (against libraries) with templates.
27231 prelink_cmds=$lt_prelink_cmds_CXX
27233 # Specify filename containing input files.
27234 file_list_spec=$lt_file_list_spec_CXX
27236 # How to hardcode a shared library path into an executable.
27237 hardcode_action=$hardcode_action_CXX
27239 # The directories searched by this compiler when creating a shared library.
27240 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27242 # Dependencies to place before and after the objects being linked to
27243 # create a shared library.
27244 predep_objects=$lt_predep_objects_CXX
27245 postdep_objects=$lt_postdep_objects_CXX
27246 predeps=$lt_predeps_CXX
27247 postdeps=$lt_postdeps_CXX
27249 # The library search path used internally by the compiler when linking
27250 # a shared library.
27251 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27253 # ### END LIBTOOL TAG CONFIG: CXX
27254 _LT_EOF
27257 "mkcollections.pl":C) chmod 755 lib/mkcollections.pl ;;
27258 "$ac_stdint_h":C)
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
27260 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
27261 ac_stdint=$tmp/_stdint.h
27263 echo "#ifndef" $_ac_stdint_h >$ac_stdint
27264 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
27265 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
27266 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
27267 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
27268 if test "_$ac_cv_header_stdint_t" != "_" ; then
27269 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
27270 echo "#include <stdint.h>" >>$ac_stdint
27271 echo "#endif" >>$ac_stdint
27272 echo "#endif" >>$ac_stdint
27273 else
27275 cat >>$ac_stdint <<STDINT_EOF
27277 /* ................... shortcircuit part ........................... */
27279 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
27280 #include <stdint.h>
27281 #else
27282 #include <stddef.h>
27284 /* .................... configured part ............................ */
27286 STDINT_EOF
27288 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
27289 if test "_$ac_cv_header_stdint_x" != "_" ; then
27290 ac_header="$ac_cv_header_stdint_x"
27291 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
27292 else
27293 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
27296 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
27297 if test "_$ac_cv_header_stdint_o" != "_" ; then
27298 ac_header="$ac_cv_header_stdint_o"
27299 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
27300 else
27301 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
27304 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
27305 if test "_$ac_cv_header_stdint_u" != "_" ; then
27306 ac_header="$ac_cv_header_stdint_u"
27307 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
27308 else
27309 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
27312 echo "" >>$ac_stdint
27314 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
27315 echo "#include <$ac_header>" >>$ac_stdint
27316 echo "" >>$ac_stdint
27317 fi fi
27319 echo "/* which 64bit typedef has been found */" >>$ac_stdint
27320 if test "$ac_cv_type_uint64_t" = "yes" ; then
27321 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
27322 else
27323 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
27325 if test "$ac_cv_type_u_int64_t" = "yes" ; then
27326 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
27327 else
27328 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
27330 echo "" >>$ac_stdint
27332 echo "/* which type model has been detected */" >>$ac_stdint
27333 if test "_$ac_cv_char_data_model" != "_" ; then
27334 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
27335 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
27336 else
27337 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
27338 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
27340 echo "" >>$ac_stdint
27342 echo "/* whether int_least types were detected */" >>$ac_stdint
27343 if test "$ac_cv_type_int_least32_t" = "yes"; then
27344 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
27345 else
27346 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
27348 echo "/* whether int_fast types were detected */" >>$ac_stdint
27349 if test "$ac_cv_type_int_fast32_t" = "yes"; then
27350 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
27351 else
27352 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
27354 echo "/* whether intmax_t type was detected */" >>$ac_stdint
27355 if test "$ac_cv_type_intmax_t" = "yes"; then
27356 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
27357 else
27358 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
27360 echo "" >>$ac_stdint
27362 cat >>$ac_stdint <<STDINT_EOF
27363 /* .................... detections part ............................ */
27365 /* whether we need to define bitspecific types from compiler base types */
27366 #ifndef _STDINT_HEADER_INTPTR
27367 #ifndef _STDINT_HEADER_UINT32
27368 #ifndef _STDINT_HEADER_U_INT32
27369 #define _STDINT_NEED_INT_MODEL_T
27370 #else
27371 #define _STDINT_HAVE_U_INT_TYPES
27372 #endif
27373 #endif
27374 #endif
27376 #ifdef _STDINT_HAVE_U_INT_TYPES
27377 #undef _STDINT_NEED_INT_MODEL_T
27378 #endif
27380 #ifdef _STDINT_CHAR_MODEL
27381 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
27382 #ifndef _STDINT_BYTE_MODEL
27383 #define _STDINT_BYTE_MODEL 12
27384 #endif
27385 #endif
27386 #endif
27388 #ifndef _STDINT_HAVE_INT_LEAST32_T
27389 #define _STDINT_NEED_INT_LEAST_T
27390 #endif
27392 #ifndef _STDINT_HAVE_INT_FAST32_T
27393 #define _STDINT_NEED_INT_FAST_T
27394 #endif
27396 #ifndef _STDINT_HEADER_INTPTR
27397 #define _STDINT_NEED_INTPTR_T
27398 #ifndef _STDINT_HAVE_INTMAX_T
27399 #define _STDINT_NEED_INTMAX_T
27400 #endif
27401 #endif
27404 /* .................... definition part ............................ */
27406 /* some system headers have good uint64_t */
27407 #ifndef _HAVE_UINT64_T
27408 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
27409 #define _HAVE_UINT64_T
27410 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
27411 #define _HAVE_UINT64_T
27412 typedef u_int64_t uint64_t;
27413 #endif
27414 #endif
27416 #ifndef _HAVE_UINT64_T
27417 /* .. here are some common heuristics using compiler runtime specifics */
27418 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
27419 #define _HAVE_UINT64_T
27420 #define _HAVE_LONGLONG_UINT64_T
27421 typedef long long int64_t;
27422 typedef unsigned long long uint64_t;
27424 #elif !defined __STRICT_ANSI__
27425 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27426 #define _HAVE_UINT64_T
27427 typedef __int64 int64_t;
27428 typedef unsigned __int64 uint64_t;
27430 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
27431 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
27432 #if !defined _NO_LONGLONG
27433 #define _HAVE_UINT64_T
27434 #define _HAVE_LONGLONG_UINT64_T
27435 typedef long long int64_t;
27436 typedef unsigned long long uint64_t;
27437 #endif
27439 #elif defined __alpha || (defined __mips && defined _ABIN32)
27440 #if !defined _NO_LONGLONG
27441 typedef long int64_t;
27442 typedef unsigned long uint64_t;
27443 #endif
27444 /* compiler/cpu type to define int64_t */
27445 #endif
27446 #endif
27447 #endif
27449 #if defined _STDINT_HAVE_U_INT_TYPES
27450 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
27451 typedef u_int8_t uint8_t;
27452 typedef u_int16_t uint16_t;
27453 typedef u_int32_t uint32_t;
27455 /* glibc compatibility */
27456 #ifndef __int8_t_defined
27457 #define __int8_t_defined
27458 #endif
27459 #endif
27461 #ifdef _STDINT_NEED_INT_MODEL_T
27462 /* we must guess all the basic types. Apart from byte-adressable system, */
27463 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
27464 /* (btw, those nibble-addressable systems are way off, or so we assume) */
27467 #if defined _STDINT_BYTE_MODEL
27468 #if _STDINT_LONG_MODEL+0 == 242
27469 /* 2:4:2 = IP16 = a normal 16-bit system */
27470 typedef unsigned char uint8_t;
27471 typedef unsigned short uint16_t;
27472 typedef unsigned long uint32_t;
27473 #ifndef __int8_t_defined
27474 #define __int8_t_defined
27475 typedef char int8_t;
27476 typedef short int16_t;
27477 typedef long int32_t;
27478 #endif
27479 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
27480 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
27481 /* 4:4:4 = ILP32 = a normal 32-bit system */
27482 typedef unsigned char uint8_t;
27483 typedef unsigned short uint16_t;
27484 typedef unsigned int uint32_t;
27485 #ifndef __int8_t_defined
27486 #define __int8_t_defined
27487 typedef char int8_t;
27488 typedef short int16_t;
27489 typedef int int32_t;
27490 #endif
27491 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
27492 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
27493 /* 4:8:8 = LP64 = a normal 64-bit system */
27494 typedef unsigned char uint8_t;
27495 typedef unsigned short uint16_t;
27496 typedef unsigned int uint32_t;
27497 #ifndef __int8_t_defined
27498 #define __int8_t_defined
27499 typedef char int8_t;
27500 typedef short int16_t;
27501 typedef int int32_t;
27502 #endif
27503 /* this system has a "long" of 64bit */
27504 #ifndef _HAVE_UINT64_T
27505 #define _HAVE_UINT64_T
27506 typedef unsigned long uint64_t;
27507 typedef long int64_t;
27508 #endif
27509 #elif _STDINT_LONG_MODEL+0 == 448
27510 /* LLP64 a 64-bit system derived from a 32-bit system */
27511 typedef unsigned char uint8_t;
27512 typedef unsigned short uint16_t;
27513 typedef unsigned int uint32_t;
27514 #ifndef __int8_t_defined
27515 #define __int8_t_defined
27516 typedef char int8_t;
27517 typedef short int16_t;
27518 typedef int int32_t;
27519 #endif
27520 /* assuming the system has a "long long" */
27521 #ifndef _HAVE_UINT64_T
27522 #define _HAVE_UINT64_T
27523 #define _HAVE_LONGLONG_UINT64_T
27524 typedef unsigned long long uint64_t;
27525 typedef long long int64_t;
27526 #endif
27527 #else
27528 #define _STDINT_NO_INT32_T
27529 #endif
27530 #else
27531 #define _STDINT_NO_INT8_T
27532 #define _STDINT_NO_INT32_T
27533 #endif
27534 #endif
27537 * quote from SunOS-5.8 sys/inttypes.h:
27538 * Use at your own risk. As of February 1996, the committee is squarely
27539 * behind the fixed sized types; the "least" and "fast" types are still being
27540 * discussed. The probability that the "fast" types may be removed before
27541 * the standard is finalized is high enough that they are not currently
27542 * implemented.
27545 #if defined _STDINT_NEED_INT_LEAST_T
27546 typedef int8_t int_least8_t;
27547 typedef int16_t int_least16_t;
27548 typedef int32_t int_least32_t;
27549 #ifdef _HAVE_UINT64_T
27550 typedef int64_t int_least64_t;
27551 #endif
27553 typedef uint8_t uint_least8_t;
27554 typedef uint16_t uint_least16_t;
27555 typedef uint32_t uint_least32_t;
27556 #ifdef _HAVE_UINT64_T
27557 typedef uint64_t uint_least64_t;
27558 #endif
27559 /* least types */
27560 #endif
27562 #if defined _STDINT_NEED_INT_FAST_T
27563 typedef int8_t int_fast8_t;
27564 typedef int int_fast16_t;
27565 typedef int32_t int_fast32_t;
27566 #ifdef _HAVE_UINT64_T
27567 typedef int64_t int_fast64_t;
27568 #endif
27570 typedef uint8_t uint_fast8_t;
27571 typedef unsigned uint_fast16_t;
27572 typedef uint32_t uint_fast32_t;
27573 #ifdef _HAVE_UINT64_T
27574 typedef uint64_t uint_fast64_t;
27575 #endif
27576 /* fast types */
27577 #endif
27579 #ifdef _STDINT_NEED_INTMAX_T
27580 #ifdef _HAVE_UINT64_T
27581 typedef int64_t intmax_t;
27582 typedef uint64_t uintmax_t;
27583 #else
27584 typedef long intmax_t;
27585 typedef unsigned long uintmax_t;
27586 #endif
27587 #endif
27589 #ifdef _STDINT_NEED_INTPTR_T
27590 #ifndef __intptr_t_defined
27591 #define __intptr_t_defined
27592 /* we encourage using "long" to store pointer values, never use "int" ! */
27593 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
27594 typedef unsigned int uintptr_t;
27595 typedef int intptr_t;
27596 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
27597 typedef unsigned long uintptr_t;
27598 typedef long intptr_t;
27599 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
27600 typedef uint64_t uintptr_t;
27601 typedef int64_t intptr_t;
27602 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
27603 typedef unsigned long uintptr_t;
27604 typedef long intptr_t;
27605 #endif
27606 #endif
27607 #endif
27609 /* The ISO C99 standard specifies that in C++ implementations these
27610 should only be defined if explicitly requested. */
27611 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
27612 #ifndef UINT32_C
27614 /* Signed. */
27615 # define INT8_C(c) c
27616 # define INT16_C(c) c
27617 # define INT32_C(c) c
27618 # ifdef _HAVE_LONGLONG_UINT64_T
27619 # define INT64_C(c) c ## L
27620 # else
27621 # define INT64_C(c) c ## LL
27622 # endif
27624 /* Unsigned. */
27625 # define UINT8_C(c) c ## U
27626 # define UINT16_C(c) c ## U
27627 # define UINT32_C(c) c ## U
27628 # ifdef _HAVE_LONGLONG_UINT64_T
27629 # define UINT64_C(c) c ## UL
27630 # else
27631 # define UINT64_C(c) c ## ULL
27632 # endif
27634 /* Maximal type. */
27635 # ifdef _HAVE_LONGLONG_UINT64_T
27636 # define INTMAX_C(c) c ## L
27637 # define UINTMAX_C(c) c ## UL
27638 # else
27639 # define INTMAX_C(c) c ## LL
27640 # define UINTMAX_C(c) c ## ULL
27641 # endif
27643 /* literalnumbers */
27644 #endif
27645 #endif
27647 /* These limits are merily those of a two complement byte-oriented system */
27649 /* Minimum of signed integral types. */
27650 #ifndef INT8_MIN
27651 # define INT8_MIN (-128)
27652 #endif
27653 #ifndef INT16_MIN
27654 # define INT16_MIN (-32767-1)
27655 #endif
27656 #ifndef INT32_MIN
27657 # define INT32_MIN (-2147483647-1)
27658 #endif
27659 #ifndef INT64_MIN
27660 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
27661 #endif
27663 /* Maximum of signed integral types. */
27664 #ifndef INT8_MAX
27665 # define INT8_MAX (127)
27666 #endif
27667 #ifndef INT16_MAX
27668 # define INT16_MAX (32767)
27669 #endif
27670 #ifndef INT32_MAX
27671 # define INT32_MAX (2147483647)
27672 #endif
27673 #ifndef INT64_MAX
27674 # define INT64_MAX (__INT64_C(9223372036854775807))
27675 #endif
27677 /* Maximum of unsigned integral types. */
27678 #ifndef UINT8_MAX
27679 # define UINT8_MAX (255)
27680 #endif
27681 #ifndef UINT16_MAX
27682 # define UINT16_MAX (65535)
27683 #endif
27684 #ifndef UINT32_MAX
27685 # define UINT32_MAX (4294967295U)
27686 #endif
27687 #ifndef UINT64_MAX
27688 # define UINT64_MAX (__UINT64_C(18446744073709551615))
27689 #endif
27691 /* Minimum of signed integral types having a minimum size. */
27692 # define INT_LEAST8_MIN INT8_MIN
27693 # define INT_LEAST16_MIN INT16_MIN
27694 # define INT_LEAST32_MIN INT32_MIN
27695 # define INT_LEAST64_MIN INT64_MIN
27696 /* Maximum of signed integral types having a minimum size. */
27697 # define INT_LEAST8_MAX INT8_MAX
27698 # define INT_LEAST16_MAX INT16_MAX
27699 # define INT_LEAST32_MAX INT32_MAX
27700 # define INT_LEAST64_MAX INT64_MAX
27702 /* Maximum of unsigned integral types having a minimum size. */
27703 # define UINT_LEAST8_MAX UINT8_MAX
27704 # define UINT_LEAST16_MAX UINT16_MAX
27705 # define UINT_LEAST32_MAX UINT32_MAX
27706 # define UINT_LEAST64_MAX UINT64_MAX
27708 /* shortcircuit*/
27709 #endif
27710 /* once */
27711 #endif
27712 #endif
27713 STDINT_EOF
27715 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
27716 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
27717 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
27718 else
27719 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
27720 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27721 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
27722 X"$ac_stdint_h" : 'X\(//\)$' \| \
27723 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
27724 $as_echo X"$ac_stdint_h" |
27725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27726 s//\1/
27729 /^X\(\/\/\)[^/].*/{
27730 s//\1/
27733 /^X\(\/\/\)$/{
27734 s//\1/
27737 /^X\(\/\).*/{
27738 s//\1/
27741 s/.*/./; q'`
27742 as_dir="$ac_dir"; as_fn_mkdir_p
27743 rm -f $ac_stdint_h
27744 mv $ac_stdint $ac_stdint_h
27747 "gappletviewer":C) chmod 755 tools/gappletviewer ;;
27748 "gjarsigner":C) chmod 755 tools/gjarsigner ;;
27749 "gkeytool":C) chmod 755 tools/gkeytool ;;
27750 "gjar":C) chmod 755 tools/gjar ;;
27751 "gnative2ascii":C) chmod 755 tools/gnative2ascii ;;
27752 "gserialver":C) chmod 755 tools/gserialver ;;
27753 "grmiregistry":C) chmod 755 tools/grmiregistry ;;
27754 "gtnameserv":C) chmod 755 tools/gtnameserv ;;
27755 "gorbd":C) chmod 755 tools/gorbd ;;
27756 "grmid":C) chmod 755 tools/grmid ;;
27757 "grmic":C) chmod 755 tools/grmic ;;
27758 "gjavah":C) chmod 755 tools/gjavah ;;
27759 "gjdoc":C) chmod 755 tools/gjdoc ;;
27760 "gen-classlist":C) chmod 755 lib/gen-classlist.sh ;;
27761 "copy-vmresources":C) chmod 755 lib/copy-vmresources.sh ;;
27763 esac
27764 done # for ac_tag
27767 as_fn_exit 0
27768 _ACEOF
27769 ac_clean_files=$ac_clean_files_save
27771 test $ac_write_fail = 0 ||
27772 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
27775 # configure is writing to config.log, and then calls config.status.
27776 # config.status does its own redirection, appending to config.log.
27777 # Unfortunately, on DOS this fails, as config.log is still kept open
27778 # by configure, so config.status won't be able to write to it; its
27779 # output is simply discarded. So we exec the FD to /dev/null,
27780 # effectively closing config.log, so it can be properly (re)opened and
27781 # appended to by config.status. When coming back to configure, we
27782 # need to make the FD available again.
27783 if test "$no_create" != yes; then
27784 ac_cs_success=:
27785 ac_config_status_args=
27786 test "$silent" = yes &&
27787 ac_config_status_args="$ac_config_status_args --quiet"
27788 exec 5>/dev/null
27789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27790 exec 5>>config.log
27791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27792 # would make configure fail if this is the last instruction.
27793 $ac_cs_success || as_fn_exit $?
27795 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27797 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27801 # Create standard.omit based on decisions we just made.
27802 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
27803 if test x$use_escher != xtrue; then
27804 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit
27807 if test "x${COMPILE_PLUGIN}" = "xyes" ; then
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have enabled the browser plugin. Please note that this is no longer maintained as part of GNU Classpath; development has moved to the IcedTea project." >&5
27809 $as_echo "$as_me: WARNING: You have enabled the browser plugin. Please note that this is no longer maintained as part of GNU Classpath; development has moved to the IcedTea project." >&2;}