Daily bump.
[official-gcc.git] / libjava / classpath / configure
blobc1737fae1988bd2c96a3c332453bed11f0958270
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.1-pre.
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.1-pre'
563 PACKAGE_STRING='GNU Classpath 0.99.1-pre'
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
672 MOC4
674 QT_LIBS
675 QT_CFLAGS
676 GSTREAMER_MIXER_PROVIDER
677 GSTREAMER_FILE_READER
678 GST_PLUGIN_LDFLAGS
679 GSTREAMER_PLUGINS_BASE_LIBS
680 GSTREAMER_PLUGINS_BASE_CFLAGS
681 GSTREAMER_BASE_LIBS
682 GSTREAMER_BASE_CFLAGS
683 GSTREAMER_LIBS
684 GSTREAMER_CFLAGS
685 GDK_LIBS
686 GDK_CFLAGS
687 GCONF_LIBS
688 GCONF_CFLAGS
689 XTEST_LIBS
690 CAIRO_LIBS
691 CAIRO_CFLAGS
692 PANGOFT2_LIBS
693 PANGOFT2_CFLAGS
694 FREETYPE2_LIBS
695 FREETYPE2_CFLAGS
696 GTK_LIBS
697 GTK_CFLAGS
698 X_EXTRA_LIBS
699 X_LIBS
700 X_PRE_LIBS
701 X_CFLAGS
702 XMKMF
703 XSLT_LIBS
704 XSLT_CFLAGS
705 XML_LIBS
706 XML_CFLAGS
707 PKG_CONFIG
708 ERROR_CFLAGS
709 STRICT_WARNING_CFLAGS
710 EXTRA_CFLAGS
711 WARNING_CFLAGS
712 LTLIBICONV
713 LIBICONV
714 LIBMAGIC
715 COLLECTIONS_PREFIX
716 PERL
717 CXXCPP
718 am__fastdepCXX_FALSE
719 am__fastdepCXX_TRUE
720 CXXDEPMODE
721 ac_ct_CXX
722 CXXFLAGS
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 RANLIB
731 OBJDUMP
733 ac_ct_DUMPBIN
734 DUMPBIN
736 FGREP
738 LIBTOOL
739 LN_S
740 CREATE_WRAPPERS_FALSE
741 CREATE_WRAPPERS_TRUE
742 CREATE_GJDOC_PARSER_FALSE
743 CREATE_GJDOC_PARSER_TRUE
744 CREATE_JNI_HEADERS_FALSE
745 CREATE_JNI_HEADERS_TRUE
746 glibjdir
747 nativeexeclibdir
748 toolexeclibdir
749 CREATE_GJDOC_FALSE
750 CREATE_GJDOC_TRUE
751 CREATE_PLUGIN_FALSE
752 CREATE_PLUGIN_TRUE
753 CREATE_QT_PEER_LIBRARIES_FALSE
754 CREATE_QT_PEER_LIBRARIES_TRUE
755 CREATE_GTK_PEER_LIBRARIES_FALSE
756 CREATE_GTK_PEER_LIBRARIES_TRUE
757 CREATE_DSSI_LIBRARIES_FALSE
758 CREATE_DSSI_LIBRARIES_TRUE
759 CREATE_ALSA_LIBRARIES_FALSE
760 CREATE_ALSA_LIBRARIES_TRUE
761 EGREP
762 GREP
764 am__fastdepCC_FALSE
765 am__fastdepCC_TRUE
766 CCDEPMODE
767 AMDEPBACKSLASH
768 AMDEP_FALSE
769 AMDEP_TRUE
770 am__quote
771 am__include
772 DEPDIR
773 OBJEXT
774 EXEEXT
775 ac_ct_CC
776 CPPFLAGS
777 LDFLAGS
778 CFLAGS
780 CREATE_XMLJ_LIBRARY_FALSE
781 CREATE_XMLJ_LIBRARY_TRUE
782 default_toolkit
783 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE
784 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE
785 CREATE_GCONF_PEER_LIBRARIES_FALSE
786 CREATE_GCONF_PEER_LIBRARIES_TRUE
787 CREATE_CORE_JNI_LIBRARIES_FALSE
788 CREATE_CORE_JNI_LIBRARIES_TRUE
789 CREATE_JNI_LIBRARIES_FALSE
790 CREATE_JNI_LIBRARIES_TRUE
791 CREATE_COLLECTIONS_FALSE
792 CREATE_COLLECTIONS_TRUE
793 am__untar
794 am__tar
795 AMTAR
796 am__leading_dot
797 SET_MAKE
799 mkdir_p
800 MKDIR_P
801 INSTALL_STRIP_PROGRAM
802 STRIP
803 install_sh
804 MAKEINFO
805 AUTOHEADER
806 AUTOMAKE
807 AUTOCONF
808 ACLOCAL
809 VERSION
810 PACKAGE
811 CYGPATH_W
812 am__isrc
813 INSTALL_DATA
814 INSTALL_SCRIPT
815 INSTALL_PROGRAM
816 CLASSPATH_CONVENIENCE
817 CLASSPATH_MODULE
818 LIBVERSION
819 INSTALL_BINARIES_FALSE
820 INSTALL_BINARIES_TRUE
821 multi_basedir
822 GENINSRC_FALSE
823 GENINSRC_TRUE
824 JAVA_MAINTAINER_MODE_FALSE
825 JAVA_MAINTAINER_MODE_TRUE
826 target_os
827 target_vendor
828 target_cpu
829 target
830 host_os
831 host_vendor
832 host_cpu
833 host
834 build_os
835 build_vendor
836 build_cpu
837 build
838 target_alias
839 host_alias
840 build_alias
841 LIBS
842 ECHO_T
843 ECHO_N
844 ECHO_C
845 DEFS
846 mandir
847 localedir
848 libdir
849 psdir
850 pdfdir
851 dvidir
852 htmldir
853 infodir
854 docdir
855 oldincludedir
856 includedir
857 localstatedir
858 sharedstatedir
859 sysconfdir
860 datadir
861 datarootdir
862 libexecdir
863 sbindir
864 bindir
865 program_transform_name
866 prefix
867 exec_prefix
868 PACKAGE_URL
869 PACKAGE_BUGREPORT
870 PACKAGE_STRING
871 PACKAGE_VERSION
872 PACKAGE_TARNAME
873 PACKAGE_NAME
874 PATH_SEPARATOR
875 SHELL'
876 ac_subst_files=''
877 ac_user_opts='
878 enable_option_checking
879 enable_java_maintainer_mode
880 enable_generated_files_in_srcdir
881 enable_multilib
882 enable_collections
883 enable_jni
884 enable_core_jni
885 enable_default_preferences_peer
886 enable_gconf_peer
887 enable_gconf_peers
888 enable_gstreamer_peer
889 enable_gstreamer_peers
890 enable_Werror
891 enable_default_toolkit
892 enable_xmlj
893 enable_alsa
894 enable_dependency_tracking
895 enable_dssi
896 enable_gtk_peer
897 enable_gtk_peers
898 enable_qt_peer
899 enable_plugin
900 enable_gmp
901 enable_gjdoc
902 with_native_libdir
903 with_glibj_dir
904 with_antlr_jar
905 enable_regen_headers
906 enable_regen_gjdoc_parser
907 enable_tool_wrappers
908 enable_static
909 enable_shared
910 with_pic
911 enable_fast_install
912 with_gnu_ld
913 enable_libtool_lock
914 enable_rpath
915 with_libiconv_prefix
916 with_x
917 with_qt4dir
918 with_gmp
919 with_gmp_include
920 with_gmp_lib
921 with_javah
922 with_vm_classes
923 enable_maintainer_mode
924 enable_debug
925 enable_load_library
926 with_ecj_jar
927 enable_java_lang_system_explicit_initialization
928 with_jar
929 with_glibj
930 enable_examples
931 enable_tools
932 with_gjdoc
933 with_jay
934 enable_portable_native_sync
935 with_glibj_zip
936 with_escher
937 enable_local_sockets
939 ac_precious_vars='build_alias
940 host_alias
941 target_alias
943 CFLAGS
944 LDFLAGS
945 LIBS
946 CPPFLAGS
949 CXXFLAGS
951 CXXCPP
952 XMKMF'
955 # Initialize some variables set by options.
956 ac_init_help=
957 ac_init_version=false
958 ac_unrecognized_opts=
959 ac_unrecognized_sep=
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
962 cache_file=/dev/null
963 exec_prefix=NONE
964 no_create=
965 no_recursion=
966 prefix=NONE
967 program_prefix=NONE
968 program_suffix=NONE
969 program_transform_name=s,x,x,
970 silent=
971 site=
972 srcdir=
973 verbose=
974 x_includes=NONE
975 x_libraries=NONE
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir='${exec_prefix}/bin'
984 sbindir='${exec_prefix}/sbin'
985 libexecdir='${exec_prefix}/libexec'
986 datarootdir='${prefix}/share'
987 datadir='${datarootdir}'
988 sysconfdir='${prefix}/etc'
989 sharedstatedir='${prefix}/com'
990 localstatedir='${prefix}/var'
991 includedir='${prefix}/include'
992 oldincludedir='/usr/include'
993 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
994 infodir='${datarootdir}/info'
995 htmldir='${docdir}'
996 dvidir='${docdir}'
997 pdfdir='${docdir}'
998 psdir='${docdir}'
999 libdir='${exec_prefix}/lib'
1000 localedir='${datarootdir}/locale'
1001 mandir='${datarootdir}/man'
1003 ac_prev=
1004 ac_dashdash=
1005 for ac_option
1007 # If the previous option needs an argument, assign it.
1008 if test -n "$ac_prev"; then
1009 eval $ac_prev=\$ac_option
1010 ac_prev=
1011 continue
1014 case $ac_option in
1015 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1016 *) ac_optarg=yes ;;
1017 esac
1019 # Accept the important Cygnus configure options, so we can diagnose typos.
1021 case $ac_dashdash$ac_option in
1023 ac_dashdash=yes ;;
1025 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1026 ac_prev=bindir ;;
1027 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1028 bindir=$ac_optarg ;;
1030 -build | --build | --buil | --bui | --bu)
1031 ac_prev=build_alias ;;
1032 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1033 build_alias=$ac_optarg ;;
1035 -cache-file | --cache-file | --cache-fil | --cache-fi \
1036 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1037 ac_prev=cache_file ;;
1038 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1039 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1040 cache_file=$ac_optarg ;;
1042 --config-cache | -C)
1043 cache_file=config.cache ;;
1045 -datadir | --datadir | --datadi | --datad)
1046 ac_prev=datadir ;;
1047 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1048 datadir=$ac_optarg ;;
1050 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1051 | --dataroo | --dataro | --datar)
1052 ac_prev=datarootdir ;;
1053 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1054 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1055 datarootdir=$ac_optarg ;;
1057 -disable-* | --disable-*)
1058 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061 as_fn_error "invalid feature name: $ac_useropt"
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_$ac_useropt"
1067 "*) ;;
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1070 esac
1071 eval enable_$ac_useropt=no ;;
1073 -docdir | --docdir | --docdi | --doc | --do)
1074 ac_prev=docdir ;;
1075 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1076 docdir=$ac_optarg ;;
1078 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1079 ac_prev=dvidir ;;
1080 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1081 dvidir=$ac_optarg ;;
1083 -enable-* | --enable-*)
1084 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1087 as_fn_error "invalid feature name: $ac_useropt"
1088 ac_useropt_orig=$ac_useropt
1089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1092 "enable_$ac_useropt"
1093 "*) ;;
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1095 ac_unrecognized_sep=', ';;
1096 esac
1097 eval enable_$ac_useropt=\$ac_optarg ;;
1099 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1100 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1101 | --exec | --exe | --ex)
1102 ac_prev=exec_prefix ;;
1103 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1104 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1105 | --exec=* | --exe=* | --ex=*)
1106 exec_prefix=$ac_optarg ;;
1108 -gas | --gas | --ga | --g)
1109 # Obsolete; use --with-gas.
1110 with_gas=yes ;;
1112 -help | --help | --hel | --he | -h)
1113 ac_init_help=long ;;
1114 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1115 ac_init_help=recursive ;;
1116 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1117 ac_init_help=short ;;
1119 -host | --host | --hos | --ho)
1120 ac_prev=host_alias ;;
1121 -host=* | --host=* | --hos=* | --ho=*)
1122 host_alias=$ac_optarg ;;
1124 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1125 ac_prev=htmldir ;;
1126 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1127 | --ht=*)
1128 htmldir=$ac_optarg ;;
1130 -includedir | --includedir | --includedi | --included | --include \
1131 | --includ | --inclu | --incl | --inc)
1132 ac_prev=includedir ;;
1133 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1134 | --includ=* | --inclu=* | --incl=* | --inc=*)
1135 includedir=$ac_optarg ;;
1137 -infodir | --infodir | --infodi | --infod | --info | --inf)
1138 ac_prev=infodir ;;
1139 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1140 infodir=$ac_optarg ;;
1142 -libdir | --libdir | --libdi | --libd)
1143 ac_prev=libdir ;;
1144 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1145 libdir=$ac_optarg ;;
1147 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1148 | --libexe | --libex | --libe)
1149 ac_prev=libexecdir ;;
1150 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1151 | --libexe=* | --libex=* | --libe=*)
1152 libexecdir=$ac_optarg ;;
1154 -localedir | --localedir | --localedi | --localed | --locale)
1155 ac_prev=localedir ;;
1156 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1157 localedir=$ac_optarg ;;
1159 -localstatedir | --localstatedir | --localstatedi | --localstated \
1160 | --localstate | --localstat | --localsta | --localst | --locals)
1161 ac_prev=localstatedir ;;
1162 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1163 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1164 localstatedir=$ac_optarg ;;
1166 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1167 ac_prev=mandir ;;
1168 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1169 mandir=$ac_optarg ;;
1171 -nfp | --nfp | --nf)
1172 # Obsolete; use --without-fp.
1173 with_fp=no ;;
1175 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1176 | --no-cr | --no-c | -n)
1177 no_create=yes ;;
1179 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1180 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181 no_recursion=yes ;;
1183 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1184 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1185 | --oldin | --oldi | --old | --ol | --o)
1186 ac_prev=oldincludedir ;;
1187 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1188 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1189 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1190 oldincludedir=$ac_optarg ;;
1192 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1193 ac_prev=prefix ;;
1194 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1195 prefix=$ac_optarg ;;
1197 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1198 | --program-pre | --program-pr | --program-p)
1199 ac_prev=program_prefix ;;
1200 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1201 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1202 program_prefix=$ac_optarg ;;
1204 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1205 | --program-suf | --program-su | --program-s)
1206 ac_prev=program_suffix ;;
1207 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1208 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1209 program_suffix=$ac_optarg ;;
1211 -program-transform-name | --program-transform-name \
1212 | --program-transform-nam | --program-transform-na \
1213 | --program-transform-n | --program-transform- \
1214 | --program-transform | --program-transfor \
1215 | --program-transfo | --program-transf \
1216 | --program-trans | --program-tran \
1217 | --progr-tra | --program-tr | --program-t)
1218 ac_prev=program_transform_name ;;
1219 -program-transform-name=* | --program-transform-name=* \
1220 | --program-transform-nam=* | --program-transform-na=* \
1221 | --program-transform-n=* | --program-transform-=* \
1222 | --program-transform=* | --program-transfor=* \
1223 | --program-transfo=* | --program-transf=* \
1224 | --program-trans=* | --program-tran=* \
1225 | --progr-tra=* | --program-tr=* | --program-t=*)
1226 program_transform_name=$ac_optarg ;;
1228 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1229 ac_prev=pdfdir ;;
1230 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1231 pdfdir=$ac_optarg ;;
1233 -psdir | --psdir | --psdi | --psd | --ps)
1234 ac_prev=psdir ;;
1235 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236 psdir=$ac_optarg ;;
1238 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1239 | -silent | --silent | --silen | --sile | --sil)
1240 silent=yes ;;
1242 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1243 ac_prev=sbindir ;;
1244 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1245 | --sbi=* | --sb=*)
1246 sbindir=$ac_optarg ;;
1248 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1249 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1250 | --sharedst | --shareds | --shared | --share | --shar \
1251 | --sha | --sh)
1252 ac_prev=sharedstatedir ;;
1253 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1254 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1255 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1256 | --sha=* | --sh=*)
1257 sharedstatedir=$ac_optarg ;;
1259 -site | --site | --sit)
1260 ac_prev=site ;;
1261 -site=* | --site=* | --sit=*)
1262 site=$ac_optarg ;;
1264 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1265 ac_prev=srcdir ;;
1266 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1267 srcdir=$ac_optarg ;;
1269 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1270 | --syscon | --sysco | --sysc | --sys | --sy)
1271 ac_prev=sysconfdir ;;
1272 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1273 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1274 sysconfdir=$ac_optarg ;;
1276 -target | --target | --targe | --targ | --tar | --ta | --t)
1277 ac_prev=target_alias ;;
1278 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1279 target_alias=$ac_optarg ;;
1281 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282 verbose=yes ;;
1284 -version | --version | --versio | --versi | --vers | -V)
1285 ac_init_version=: ;;
1287 -with-* | --with-*)
1288 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1291 as_fn_error "invalid package name: $ac_useropt"
1292 ac_useropt_orig=$ac_useropt
1293 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1294 case $ac_user_opts in
1296 "with_$ac_useropt"
1297 "*) ;;
1298 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1299 ac_unrecognized_sep=', ';;
1300 esac
1301 eval with_$ac_useropt=\$ac_optarg ;;
1303 -without-* | --without-*)
1304 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1307 as_fn_error "invalid package name: $ac_useropt"
1308 ac_useropt_orig=$ac_useropt
1309 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1310 case $ac_user_opts in
1312 "with_$ac_useropt"
1313 "*) ;;
1314 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1315 ac_unrecognized_sep=', ';;
1316 esac
1317 eval with_$ac_useropt=no ;;
1319 --x)
1320 # Obsolete; use --with-x.
1321 with_x=yes ;;
1323 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1324 | --x-incl | --x-inc | --x-in | --x-i)
1325 ac_prev=x_includes ;;
1326 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1327 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1328 x_includes=$ac_optarg ;;
1330 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1331 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1332 ac_prev=x_libraries ;;
1333 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1334 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1335 x_libraries=$ac_optarg ;;
1337 -*) as_fn_error "unrecognized option: \`$ac_option'
1338 Try \`$0 --help' for more information."
1341 *=*)
1342 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1343 # Reject names that are not valid shell variable names.
1344 case $ac_envvar in #(
1345 '' | [0-9]* | *[!_$as_cr_alnum]* )
1346 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1347 esac
1348 eval $ac_envvar=\$ac_optarg
1349 export $ac_envvar ;;
1352 # FIXME: should be removed in autoconf 3.0.
1353 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1354 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1355 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1356 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1359 esac
1360 done
1362 if test -n "$ac_prev"; then
1363 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1364 as_fn_error "missing argument to $ac_option"
1367 if test -n "$ac_unrecognized_opts"; then
1368 case $enable_option_checking in
1369 no) ;;
1370 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1371 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1372 esac
1375 # Check all directory arguments for consistency.
1376 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1377 datadir sysconfdir sharedstatedir localstatedir includedir \
1378 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1379 libdir localedir mandir
1381 eval ac_val=\$$ac_var
1382 # Remove trailing slashes.
1383 case $ac_val in
1384 */ )
1385 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1386 eval $ac_var=\$ac_val;;
1387 esac
1388 # Be sure to have absolute directory names.
1389 case $ac_val in
1390 [\\/$]* | ?:[\\/]* ) continue;;
1391 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1392 esac
1393 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1394 done
1396 # There might be people who depend on the old broken behavior: `$host'
1397 # used to hold the argument of --host etc.
1398 # FIXME: To remove some day.
1399 build=$build_alias
1400 host=$host_alias
1401 target=$target_alias
1403 # FIXME: To remove some day.
1404 if test "x$host_alias" != x; then
1405 if test "x$build_alias" = x; then
1406 cross_compiling=maybe
1407 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1408 If a cross compiler is detected then cross compile mode will be used." >&2
1409 elif test "x$build_alias" != "x$host_alias"; then
1410 cross_compiling=yes
1414 ac_tool_prefix=
1415 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1417 test "$silent" = yes && exec 6>/dev/null
1420 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1421 ac_ls_di=`ls -di .` &&
1422 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1423 as_fn_error "working directory cannot be determined"
1424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1425 as_fn_error "pwd does not report name of working directory"
1428 # Find the source files, if location was not specified.
1429 if test -z "$srcdir"; then
1430 ac_srcdir_defaulted=yes
1431 # Try the directory containing this script, then the parent directory.
1432 ac_confdir=`$as_dirname -- "$as_myself" ||
1433 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1434 X"$as_myself" : 'X\(//\)[^/]' \| \
1435 X"$as_myself" : 'X\(//\)$' \| \
1436 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1437 $as_echo X"$as_myself" |
1438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1439 s//\1/
1442 /^X\(\/\/\)[^/].*/{
1443 s//\1/
1446 /^X\(\/\/\)$/{
1447 s//\1/
1450 /^X\(\/\).*/{
1451 s//\1/
1454 s/.*/./; q'`
1455 srcdir=$ac_confdir
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1457 srcdir=..
1459 else
1460 ac_srcdir_defaulted=no
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1464 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1466 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1467 ac_abs_confdir=`(
1468 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1469 pwd)`
1470 # When building in place, set srcdir=.
1471 if test "$ac_abs_confdir" = "$ac_pwd"; then
1472 srcdir=.
1474 # Remove unnecessary trailing slashes from srcdir.
1475 # Double slashes in file names in object file debugging info
1476 # mess up M-x gdb in Emacs.
1477 case $srcdir in
1478 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1479 esac
1480 for ac_var in $ac_precious_vars; do
1481 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1482 eval ac_env_${ac_var}_value=\$${ac_var}
1483 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1484 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1485 done
1488 # Report the --help message.
1490 if test "$ac_init_help" = "long"; then
1491 # Omit some internal or obsolete options to make the list less imposing.
1492 # This message is too long to be a string in the A/UX 3.1 sh.
1493 cat <<_ACEOF
1494 \`configure' configures GNU Classpath 0.99.1-pre to adapt to many kinds of systems.
1496 Usage: $0 [OPTION]... [VAR=VALUE]...
1498 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1499 VAR=VALUE. See below for descriptions of some of the useful variables.
1501 Defaults for the options are specified in brackets.
1503 Configuration:
1504 -h, --help display this help and exit
1505 --help=short display options specific to this package
1506 --help=recursive display the short help of all the included packages
1507 -V, --version display version information and exit
1508 -q, --quiet, --silent do not print \`checking...' messages
1509 --cache-file=FILE cache test results in FILE [disabled]
1510 -C, --config-cache alias for \`--cache-file=config.cache'
1511 -n, --no-create do not create output files
1512 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1514 Installation directories:
1515 --prefix=PREFIX install architecture-independent files in PREFIX
1516 [$ac_default_prefix]
1517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1518 [PREFIX]
1520 By default, \`make install' will install all the files in
1521 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1522 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1523 for instance \`--prefix=\$HOME'.
1525 For better control, use the options below.
1527 Fine tuning of the installation directories:
1528 --bindir=DIR user executables [EPREFIX/bin]
1529 --sbindir=DIR system admin executables [EPREFIX/sbin]
1530 --libexecdir=DIR program executables [EPREFIX/libexec]
1531 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1532 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1533 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1534 --libdir=DIR object code libraries [EPREFIX/lib]
1535 --includedir=DIR C header files [PREFIX/include]
1536 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1537 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1538 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1539 --infodir=DIR info documentation [DATAROOTDIR/info]
1540 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1541 --mandir=DIR man documentation [DATAROOTDIR/man]
1542 --docdir=DIR documentation root [DATAROOTDIR/doc/classpath]
1543 --htmldir=DIR html documentation [DOCDIR]
1544 --dvidir=DIR dvi documentation [DOCDIR]
1545 --pdfdir=DIR pdf documentation [DOCDIR]
1546 --psdir=DIR ps documentation [DOCDIR]
1547 _ACEOF
1549 cat <<\_ACEOF
1551 Program names:
1552 --program-prefix=PREFIX prepend PREFIX to installed program names
1553 --program-suffix=SUFFIX append SUFFIX to installed program names
1554 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1556 X features:
1557 --x-includes=DIR X include files are in DIR
1558 --x-libraries=DIR X library files are in DIR
1560 System types:
1561 --build=BUILD configure for building on BUILD [guessed]
1562 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1563 --target=TARGET configure for building compilers for TARGET [HOST]
1564 _ACEOF
1567 if test -n "$ac_init_help"; then
1568 case $ac_init_help in
1569 short | recursive ) echo "Configuration of GNU Classpath 0.99.1-pre:";;
1570 esac
1571 cat <<\_ACEOF
1573 Optional Features:
1574 --disable-option-checking ignore unrecognized --enable/--with options
1575 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1576 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1577 --enable-java-maintainer-mode
1578 allow rebuilding of .class and .h files
1579 --enable-generated-files-in-srcdir
1580 put copies of generated files in source dir
1581 intended for creating source tarballs for users
1582 without texinfo, perl, bison or flex.
1583 --enable-multilib build many library versions (default)
1584 --enable-collections create collections.jar default=no
1585 --enable-jni compile JNI source default=yes
1586 --enable-core-jni compile JNI sources for core default=yes
1587 --enable-default-preferences-peer[=peer type or class name]
1588 specify one of: "gconf" [default] for a GConf based
1589 backend, "file" for a file based one, "memory" for a
1590 transient one, or a fully qualified class name
1591 implementing java.util.prefs.PreferencesFactory
1592 --disable-gconf-peer compile GConf native peers (disabled by
1593 --disable-jni) default=yes
1595 --enable-gstreamer-peer compile GStreamer native peers (disabled by
1596 --disable-jni) default=no
1597 --enable-Werror whether to compile C code with -Werror which turns
1598 any compiler warning into a compilation failure
1599 default=no
1600 --enable-default-toolkit
1601 fully qualified class name of default AWT toolkit
1602 --enable-xmlj compile native libxml/xslt library default=no
1603 --disable-alsa compile ALSA providers (enable by --enable-alsa)
1604 default=yes
1605 --disable-dependency-tracking speeds up one-time build
1606 --enable-dependency-tracking do not reject slow dependency extractors
1607 --disable-dssi compile DSSI providers (enable by --enable-dssi)
1608 default=yes
1609 --disable-gtk-peer compile GTK native peers (disabled by --disable-jni)
1610 default=yes
1611 --enable-qt-peer compile Qt4 native peers (disabled by --disable-jni)
1612 default=no
1613 --disable-plugin compile gcjwebplugin (disabled by --disable-plugin)
1614 default=yes
1615 --enable-gmp compile native java.math.BigInteger library
1616 (disabled by --disable-gmp) default=yes
1617 --disable-gjdoc compile GJDoc (disabled by --disable-gjdoc)
1618 default=yes
1619 --enable-regen-headers automatically regenerate JNI headers default=yes if
1620 headers don't exist
1621 --enable-regen-gjdoc-parser
1622 automatically regenerate the GJDoc parser
1623 default=yes if generated source doesn't exist
1624 --enable-tool-wrappers create tool wrapper binaries default=no
1625 --enable-static[=PKGS] build static libraries [default=no]
1626 --enable-shared[=PKGS] build shared libraries [default=yes]
1627 --enable-fast-install[=PKGS]
1628 optimize for fast installation [default=yes]
1629 --disable-libtool-lock avoid locking (might break parallel builds)
1630 --disable-rpath do not hardcode runtime library paths
1631 --enable-maintainer-mode enable make rules and dependencies not useful
1632 (and sometimes confusing) to the casual installer
1633 --enable-debug enable runtime debugging code
1634 --enable-load-library enable to use JNI native methods default=yes
1635 --enable-java-lang-system-explicit-initialization
1636 will the VM explicitly invoke java.lang.System's
1637 static initialization methods default=no
1638 --enable-examples enable build of the examples default=yes
1639 --enable-tools enable build of the tools default=yes
1640 --enable-portable-native-sync
1641 synchronize VM threads portably
1642 --enable-local-sockets enables local (AF_LOCAL) socket API default: no
1644 Optional Packages:
1645 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1646 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1647 --with-native-libdir sets the installation directory for native libraries
1648 default='${libdir}/${PACKAGE}'
1649 --with-glibj-dir sets the installation directory for glibj.zip
1650 default='${libdir}/${PACKAGE}'
1651 --with-antlr-jar=file Use ANTLR from the specified jar file
1652 --with-pic try to use only PIC/non-PIC objects [default=use
1653 both]
1654 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1655 --with-gnu-ld assume the C compiler uses GNU ld default=no
1656 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1657 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1658 --with-x use the X Window System
1659 --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other
1660 systems use pkg-config.
1661 --with-gmp=PATH specify prefix directory for the installed GMP package.
1662 Equivalent to --with-gmp-include=PATH/include
1663 plus --with-gmp-lib=PATH/lib
1664 --with-gmp-include=PATH specify directory for installed GMP include files
1665 --with-gmp-lib=PATH specify directory for the installed GMP library
1666 --with-javah specify path or name of a javah-like program
1667 --with-vm-classes specify path to VM override source files
1668 --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java
1669 Compiler
1670 --with-jar=PATH define to use a jar style tool
1671 --with-glibj define what to install (zip|flat|both|none|build)
1672 [default=zip]
1673 --with-gjdoc generate documentation using gjdoc (default is NO)
1674 --with-jay=DIR|PATH Regenerate the parsers with jay
1675 --with-glibj-zip=ABS.PATH
1676 use prebuilt glibj.zip class library
1677 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1679 Some influential environment variables:
1680 CC C compiler command
1681 CFLAGS C compiler flags
1682 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1683 nonstandard directory <lib dir>
1684 LIBS libraries to pass to the linker, e.g. -l<library>
1685 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1686 you have headers in a nonstandard directory <include dir>
1687 CPP C preprocessor
1688 CXX C++ compiler command
1689 CXXFLAGS C++ compiler flags
1690 CXXCPP C++ preprocessor
1691 XMKMF Path to xmkmf, Makefile generator for X Window System
1693 Use these variables to override the choices made by `configure' or to help
1694 it to find libraries and programs with nonstandard names/locations.
1696 Report bugs to <classpath@gnu.org>.
1697 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
1698 General help using GNU software: <http://www.gnu.org/gethelp/>.
1699 _ACEOF
1700 ac_status=$?
1703 if test "$ac_init_help" = "recursive"; then
1704 # If there are subdirs, report their specific --help.
1705 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1706 test -d "$ac_dir" ||
1707 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1708 continue
1709 ac_builddir=.
1711 case "$ac_dir" in
1712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1715 # A ".." for each directory in $ac_dir_suffix.
1716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1717 case $ac_top_builddir_sub in
1718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1720 esac ;;
1721 esac
1722 ac_abs_top_builddir=$ac_pwd
1723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1724 # for backward compatibility:
1725 ac_top_builddir=$ac_top_build_prefix
1727 case $srcdir in
1728 .) # We are building in place.
1729 ac_srcdir=.
1730 ac_top_srcdir=$ac_top_builddir_sub
1731 ac_abs_top_srcdir=$ac_pwd ;;
1732 [\\/]* | ?:[\\/]* ) # Absolute name.
1733 ac_srcdir=$srcdir$ac_dir_suffix;
1734 ac_top_srcdir=$srcdir
1735 ac_abs_top_srcdir=$srcdir ;;
1736 *) # Relative name.
1737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1738 ac_top_srcdir=$ac_top_build_prefix$srcdir
1739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1740 esac
1741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1743 cd "$ac_dir" || { ac_status=$?; continue; }
1744 # Check for guested configure.
1745 if test -f "$ac_srcdir/configure.gnu"; then
1746 echo &&
1747 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1748 elif test -f "$ac_srcdir/configure"; then
1749 echo &&
1750 $SHELL "$ac_srcdir/configure" --help=recursive
1751 else
1752 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1753 fi || ac_status=$?
1754 cd "$ac_pwd" || { ac_status=$?; break; }
1755 done
1758 test -n "$ac_init_help" && exit $ac_status
1759 if $ac_init_version; then
1760 cat <<\_ACEOF
1761 GNU Classpath configure 0.99.1-pre
1762 generated by GNU Autoconf 2.64
1764 Copyright (C) 2009 Free Software Foundation, Inc.
1765 This configure script is free software; the Free Software Foundation
1766 gives unlimited permission to copy, distribute and modify it.
1767 _ACEOF
1768 exit
1771 ## ------------------------ ##
1772 ## Autoconf initialization. ##
1773 ## ------------------------ ##
1775 # ac_fn_c_try_compile LINENO
1776 # --------------------------
1777 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_c_try_compile ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 rm -f conftest.$ac_objext
1782 if { { ac_try="$ac_compile"
1783 case "(($ac_try" in
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_compile") 2>conftest.err
1790 ac_status=$?
1791 if test -s conftest.err; then
1792 grep -v '^ *+' conftest.err >conftest.er1
1793 cat conftest.er1 >&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } && {
1798 test -z "$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1800 } && test -s conftest.$ac_objext; then :
1801 ac_retval=0
1802 else
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1806 ac_retval=1
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809 return $ac_retval
1811 } # ac_fn_c_try_compile
1813 # ac_fn_c_try_cpp LINENO
1814 # ----------------------
1815 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1816 ac_fn_c_try_cpp ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 if { { ac_try="$ac_cpp conftest.$ac_ext"
1820 case "(($ac_try" in
1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1823 esac
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1827 ac_status=$?
1828 if test -s conftest.err; then
1829 grep -v '^ *+' conftest.err >conftest.er1
1830 cat conftest.er1 >&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } >/dev/null && {
1835 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1836 test ! -s conftest.err
1837 }; then :
1838 ac_retval=0
1839 else
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.$ac_ext >&5
1843 ac_retval=1
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1848 } # ac_fn_c_try_cpp
1850 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1853 # the include files in INCLUDES and setting the cache variable VAR
1854 # accordingly.
1855 ac_fn_c_check_header_mongrel ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860 $as_echo_n "checking for $2... " >&6; }
1861 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1862 $as_echo_n "(cached) " >&6
1864 eval ac_res=\$$3
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867 else
1868 # Is the header compilable?
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1870 $as_echo_n "checking $2 usability... " >&6; }
1871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h. */
1874 #include <$2>
1875 _ACEOF
1876 if ac_fn_c_try_compile "$LINENO"; then :
1877 ac_header_compiler=yes
1878 else
1879 ac_header_compiler=no
1881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1883 $as_echo "$ac_header_compiler" >&6; }
1885 # Is the header present?
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1887 $as_echo_n "checking $2 presence... " >&6; }
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1890 #include <$2>
1891 _ACEOF
1892 if ac_fn_c_try_cpp "$LINENO"; then :
1893 ac_header_preproc=yes
1894 else
1895 ac_header_preproc=no
1897 rm -f conftest.err conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1899 $as_echo "$ac_header_preproc" >&6; }
1901 # So? What about this header?
1902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1903 yes:no: )
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1905 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1907 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1909 no:yes:* )
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1911 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1913 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1915 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1917 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1919 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1920 ( cat <<\_ASBOX
1921 ## -------------------------------- ##
1922 ## Report this to classpath@gnu.org ##
1923 ## -------------------------------- ##
1924 _ASBOX
1925 ) | sed "s/^/$as_me: WARNING: /" >&2
1927 esac
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1931 $as_echo_n "(cached) " >&6
1932 else
1933 eval "$3=\$ac_header_compiler"
1935 eval ac_res=\$$3
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941 } # ac_fn_c_check_header_mongrel
1943 # ac_fn_c_try_run LINENO
1944 # ----------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1946 # that executables *can* be run.
1947 ac_fn_c_try_run ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if { { ac_try="$ac_link"
1951 case "(($ac_try" in
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1954 esac
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_link") 2>&5
1958 ac_status=$?
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1961 { { case "(($ac_try" in
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1964 esac
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_try") 2>&5
1968 ac_status=$?
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; }; }; then :
1971 ac_retval=0
1972 else
1973 $as_echo "$as_me: program exited with status $ac_status" >&5
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1977 ac_retval=$ac_status
1979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1980 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981 return $ac_retval
1983 } # ac_fn_c_try_run
1985 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1986 # -------------------------------------------------------
1987 # Tests whether HEADER exists and can be compiled using the include files in
1988 # INCLUDES, setting the cache variable VAR accordingly.
1989 ac_fn_c_check_header_compile ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1995 $as_echo_n "(cached) " >&6
1996 else
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
2000 #include <$2>
2001 _ACEOF
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003 eval "$3=yes"
2004 else
2005 eval "$3=no"
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 eval ac_res=\$$3
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_c_check_header_compile
2016 # ac_fn_c_try_link LINENO
2017 # -----------------------
2018 # Try to link conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_c_try_link ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 rm -f conftest.$ac_objext conftest$ac_exeext
2023 if { { ac_try="$ac_link"
2024 case "(($ac_try" in
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2027 esac
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_link") 2>conftest.err
2031 ac_status=$?
2032 if test -s conftest.err; then
2033 grep -v '^ *+' conftest.err >conftest.er1
2034 cat conftest.er1 >&5
2035 mv -f conftest.er1 conftest.err
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } && {
2039 test -z "$ac_c_werror_flag" ||
2040 test ! -s conftest.err
2041 } && test -s conftest$ac_exeext && {
2042 test "$cross_compiling" = yes ||
2043 $as_test_x conftest$ac_exeext
2044 }; then :
2045 ac_retval=0
2046 else
2047 $as_echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.$ac_ext >&5
2050 ac_retval=1
2052 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2053 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2054 # interfere with the next link command; also delete a directory that is
2055 # left behind by Apple's compiler. We do this before executing the actions.
2056 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2057 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2058 return $ac_retval
2060 } # ac_fn_c_try_link
2062 # ac_fn_c_check_func LINENO FUNC VAR
2063 # ----------------------------------
2064 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2065 ac_fn_c_check_func ()
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2072 else
2073 if test x$gcc_no_link = xyes; then
2074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2078 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2080 #define $2 innocuous_$2
2082 /* System header to define __stub macros and hopefully few prototypes,
2083 which can conflict with char $2 (); below.
2084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2085 <limits.h> exists even on freestanding compilers. */
2087 #ifdef __STDC__
2088 # include <limits.h>
2089 #else
2090 # include <assert.h>
2091 #endif
2093 #undef $2
2095 /* Override any GCC internal prototype to avoid an error.
2096 Use char because int might match the return type of a GCC
2097 builtin and then its argument prototype would still apply. */
2098 #ifdef __cplusplus
2099 extern "C"
2100 #endif
2101 char $2 ();
2102 /* The GNU C library defines this for functions which it implements
2103 to always fail with ENOSYS. Some functions are actually named
2104 something starting with __ and the normal name is an alias. */
2105 #if defined __stub_$2 || defined __stub___$2
2106 choke me
2107 #endif
2110 main ()
2112 return $2 ();
2114 return 0;
2116 _ACEOF
2117 if ac_fn_c_try_link "$LINENO"; then :
2118 eval "$3=yes"
2119 else
2120 eval "$3=no"
2122 rm -f core conftest.err conftest.$ac_objext \
2123 conftest$ac_exeext conftest.$ac_ext
2125 eval ac_res=\$$3
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2128 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2130 } # ac_fn_c_check_func
2132 # ac_fn_cxx_try_compile LINENO
2133 # ----------------------------
2134 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2135 ac_fn_cxx_try_compile ()
2137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2138 rm -f conftest.$ac_objext
2139 if { { ac_try="$ac_compile"
2140 case "(($ac_try" in
2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2143 esac
2144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_compile") 2>conftest.err
2147 ac_status=$?
2148 if test -s conftest.err; then
2149 grep -v '^ *+' conftest.err >conftest.er1
2150 cat conftest.er1 >&5
2151 mv -f conftest.er1 conftest.err
2153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2154 test $ac_status = 0; } && {
2155 test -z "$ac_cxx_werror_flag" ||
2156 test ! -s conftest.err
2157 } && test -s conftest.$ac_objext; then :
2158 ac_retval=0
2159 else
2160 $as_echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.$ac_ext >&5
2163 ac_retval=1
2165 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2166 return $ac_retval
2168 } # ac_fn_cxx_try_compile
2170 # ac_fn_cxx_try_cpp LINENO
2171 # ------------------------
2172 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2173 ac_fn_cxx_try_cpp ()
2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176 if { { ac_try="$ac_cpp conftest.$ac_ext"
2177 case "(($ac_try" in
2178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2179 *) ac_try_echo=$ac_try;;
2180 esac
2181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2182 $as_echo "$ac_try_echo"; } >&5
2183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2184 ac_status=$?
2185 if test -s conftest.err; then
2186 grep -v '^ *+' conftest.err >conftest.er1
2187 cat conftest.er1 >&5
2188 mv -f conftest.er1 conftest.err
2190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2191 test $ac_status = 0; } >/dev/null && {
2192 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2193 test ! -s conftest.err
2194 }; then :
2195 ac_retval=0
2196 else
2197 $as_echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.$ac_ext >&5
2200 ac_retval=1
2202 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2203 return $ac_retval
2205 } # ac_fn_cxx_try_cpp
2207 # ac_fn_cxx_try_link LINENO
2208 # -------------------------
2209 # Try to link conftest.$ac_ext, and return whether this succeeded.
2210 ac_fn_cxx_try_link ()
2212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213 rm -f conftest.$ac_objext conftest$ac_exeext
2214 if { { ac_try="$ac_link"
2215 case "(($ac_try" in
2216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2217 *) ac_try_echo=$ac_try;;
2218 esac
2219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2220 $as_echo "$ac_try_echo"; } >&5
2221 (eval "$ac_link") 2>conftest.err
2222 ac_status=$?
2223 if test -s conftest.err; then
2224 grep -v '^ *+' conftest.err >conftest.er1
2225 cat conftest.er1 >&5
2226 mv -f conftest.er1 conftest.err
2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2229 test $ac_status = 0; } && {
2230 test -z "$ac_cxx_werror_flag" ||
2231 test ! -s conftest.err
2232 } && test -s conftest$ac_exeext && {
2233 test "$cross_compiling" = yes ||
2234 $as_test_x conftest$ac_exeext
2235 }; then :
2236 ac_retval=0
2237 else
2238 $as_echo "$as_me: failed program was:" >&5
2239 sed 's/^/| /' conftest.$ac_ext >&5
2241 ac_retval=1
2243 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2244 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2245 # interfere with the next link command; also delete a directory that is
2246 # left behind by Apple's compiler. We do this before executing the actions.
2247 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2248 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2249 return $ac_retval
2251 } # ac_fn_cxx_try_link
2253 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2254 # ----------------------------------------------------
2255 # Tries to find if the field MEMBER exists in type AGGR, after including
2256 # INCLUDES, setting cache variable VAR accordingly.
2257 ac_fn_c_check_member ()
2259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2261 $as_echo_n "checking for $2.$3... " >&6; }
2262 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2263 $as_echo_n "(cached) " >&6
2264 else
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2269 main ()
2271 static $2 ac_aggr;
2272 if (ac_aggr.$3)
2273 return 0;
2275 return 0;
2277 _ACEOF
2278 if ac_fn_c_try_compile "$LINENO"; then :
2279 eval "$4=yes"
2280 else
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2285 main ()
2287 static $2 ac_aggr;
2288 if (sizeof ac_aggr.$3)
2289 return 0;
2291 return 0;
2293 _ACEOF
2294 if ac_fn_c_try_compile "$LINENO"; then :
2295 eval "$4=yes"
2296 else
2297 eval "$4=no"
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 eval ac_res=\$$4
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2305 $as_echo "$ac_res" >&6; }
2306 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2308 } # ac_fn_c_check_member
2310 # ac_fn_c_check_decl LINENO SYMBOL VAR
2311 # ------------------------------------
2312 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2313 ac_fn_c_check_decl ()
2315 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2316 as_decl_name=`echo $2|sed 's/ *(.*//'`
2317 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2319 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2320 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2321 $as_echo_n "(cached) " >&6
2322 else
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2327 main ()
2329 #ifndef $as_decl_name
2330 #ifdef __cplusplus
2331 (void) $as_decl_use;
2332 #else
2333 (void) $as_decl_name;
2334 #endif
2335 #endif
2338 return 0;
2340 _ACEOF
2341 if ac_fn_c_try_compile "$LINENO"; then :
2342 eval "$3=yes"
2343 else
2344 eval "$3=no"
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 eval ac_res=\$$3
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2350 $as_echo "$ac_res" >&6; }
2351 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2353 } # ac_fn_c_check_decl
2355 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2356 # -------------------------------------------
2357 # Tests whether TYPE exists after having included INCLUDES, setting cache
2358 # variable VAR accordingly.
2359 ac_fn_c_check_type ()
2361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2363 $as_echo_n "checking for $2... " >&6; }
2364 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2365 $as_echo_n "(cached) " >&6
2366 else
2367 eval "$3=no"
2368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369 /* end confdefs.h. */
2372 main ()
2374 if (sizeof ($2))
2375 return 0;
2377 return 0;
2379 _ACEOF
2380 if ac_fn_c_try_compile "$LINENO"; then :
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2385 main ()
2387 if (sizeof (($2)))
2388 return 0;
2390 return 0;
2392 _ACEOF
2393 if ac_fn_c_try_compile "$LINENO"; then :
2395 else
2396 eval "$3=yes"
2398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402 eval ac_res=\$$3
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2404 $as_echo "$ac_res" >&6; }
2405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 } # ac_fn_c_check_type
2409 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2410 # --------------------------------------------
2411 # Tries to find the compile-time value of EXPR in a program that includes
2412 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2413 # computed
2414 ac_fn_c_compute_int ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 if test "$cross_compiling" = yes; then
2418 # Depending upon the size, compute the lo and hi bounds.
2419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2423 main ()
2425 static int test_array [1 - 2 * !(($2) >= 0)];
2426 test_array [0] = 0
2429 return 0;
2431 _ACEOF
2432 if ac_fn_c_try_compile "$LINENO"; then :
2433 ac_lo=0 ac_mid=0
2434 while :; do
2435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h. */
2439 main ()
2441 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2442 test_array [0] = 0
2445 return 0;
2447 _ACEOF
2448 if ac_fn_c_try_compile "$LINENO"; then :
2449 ac_hi=$ac_mid; break
2450 else
2451 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2452 if test $ac_lo -le $ac_mid; then
2453 ac_lo= ac_hi=
2454 break
2456 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 done
2460 else
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 static int test_array [1 - 2 * !(($2) < 0)];
2468 test_array [0] = 0
2471 return 0;
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 ac_hi=-1 ac_mid=-1
2476 while :; do
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2481 main ()
2483 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2484 test_array [0] = 0
2487 return 0;
2489 _ACEOF
2490 if ac_fn_c_try_compile "$LINENO"; then :
2491 ac_lo=$ac_mid; break
2492 else
2493 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2494 if test $ac_mid -le $ac_hi; then
2495 ac_lo= ac_hi=
2496 break
2498 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 done
2502 else
2503 ac_lo= ac_hi=
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 # Binary search between lo and hi bounds.
2509 while test "x$ac_lo" != "x$ac_hi"; do
2510 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2512 /* end confdefs.h. */
2515 main ()
2517 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2518 test_array [0] = 0
2521 return 0;
2523 _ACEOF
2524 if ac_fn_c_try_compile "$LINENO"; then :
2525 ac_hi=$ac_mid
2526 else
2527 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2530 done
2531 case $ac_lo in #((
2532 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2533 '') ac_retval=1 ;;
2534 esac
2535 else
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2539 static long int longval () { return $2; }
2540 static unsigned long int ulongval () { return $2; }
2541 #include <stdio.h>
2542 #include <stdlib.h>
2544 main ()
2547 FILE *f = fopen ("conftest.val", "w");
2548 if (! f)
2549 return 1;
2550 if (($2) < 0)
2552 long int i = longval ();
2553 if (i != ($2))
2554 return 1;
2555 fprintf (f, "%ld", i);
2557 else
2559 unsigned long int i = ulongval ();
2560 if (i != ($2))
2561 return 1;
2562 fprintf (f, "%lu", i);
2564 /* Do not output a trailing newline, as this causes \r\n confusion
2565 on some platforms. */
2566 return ferror (f) || fclose (f) != 0;
2569 return 0;
2571 _ACEOF
2572 if ac_fn_c_try_run "$LINENO"; then :
2573 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2574 else
2575 ac_retval=1
2577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2578 conftest.$ac_objext conftest.beam conftest.$ac_ext
2579 rm -f conftest.val
2582 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2583 return $ac_retval
2585 } # ac_fn_c_compute_int
2586 cat >config.log <<_ACEOF
2587 This file contains any messages produced by compilers while
2588 running configure, to aid debugging if configure makes a mistake.
2590 It was created by GNU Classpath $as_me 0.99.1-pre, which was
2591 generated by GNU Autoconf 2.64. Invocation command line was
2593 $ $0 $@
2595 _ACEOF
2596 exec 5>>config.log
2598 cat <<_ASUNAME
2599 ## --------- ##
2600 ## Platform. ##
2601 ## --------- ##
2603 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2604 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2605 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2606 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2607 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2609 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2610 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2612 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2613 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2614 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2615 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2616 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2617 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2618 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2620 _ASUNAME
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 for as_dir in $PATH
2625 IFS=$as_save_IFS
2626 test -z "$as_dir" && as_dir=.
2627 $as_echo "PATH: $as_dir"
2628 done
2629 IFS=$as_save_IFS
2631 } >&5
2633 cat >&5 <<_ACEOF
2636 ## ----------- ##
2637 ## Core tests. ##
2638 ## ----------- ##
2640 _ACEOF
2643 # Keep a trace of the command line.
2644 # Strip out --no-create and --no-recursion so they do not pile up.
2645 # Strip out --silent because we don't want to record it for future runs.
2646 # Also quote any args containing shell meta-characters.
2647 # Make two passes to allow for proper duplicate-argument suppression.
2648 ac_configure_args=
2649 ac_configure_args0=
2650 ac_configure_args1=
2651 ac_must_keep_next=false
2652 for ac_pass in 1 2
2654 for ac_arg
2656 case $ac_arg in
2657 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2658 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2659 | -silent | --silent | --silen | --sile | --sil)
2660 continue ;;
2661 *\'*)
2662 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2663 esac
2664 case $ac_pass in
2665 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2667 as_fn_append ac_configure_args1 " '$ac_arg'"
2668 if test $ac_must_keep_next = true; then
2669 ac_must_keep_next=false # Got value, back to normal.
2670 else
2671 case $ac_arg in
2672 *=* | --config-cache | -C | -disable-* | --disable-* \
2673 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2674 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2675 | -with-* | --with-* | -without-* | --without-* | --x)
2676 case "$ac_configure_args0 " in
2677 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2678 esac
2680 -* ) ac_must_keep_next=true ;;
2681 esac
2683 as_fn_append ac_configure_args " '$ac_arg'"
2685 esac
2686 done
2687 done
2688 { ac_configure_args0=; unset ac_configure_args0;}
2689 { ac_configure_args1=; unset ac_configure_args1;}
2691 # When interrupted or exit'd, cleanup temporary files, and complete
2692 # config.log. We remove comments because anyway the quotes in there
2693 # would cause problems or look ugly.
2694 # WARNING: Use '\'' to represent an apostrophe within the trap.
2695 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2696 trap 'exit_status=$?
2697 # Save into config.log some information that might help in debugging.
2699 echo
2701 cat <<\_ASBOX
2702 ## ---------------- ##
2703 ## Cache variables. ##
2704 ## ---------------- ##
2705 _ASBOX
2706 echo
2707 # The following way of writing the cache mishandles newlines in values,
2709 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2710 eval ac_val=\$$ac_var
2711 case $ac_val in #(
2712 *${as_nl}*)
2713 case $ac_var in #(
2714 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2715 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2716 esac
2717 case $ac_var in #(
2718 _ | IFS | as_nl) ;; #(
2719 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2720 *) { eval $ac_var=; unset $ac_var;} ;;
2721 esac ;;
2722 esac
2723 done
2724 (set) 2>&1 |
2725 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2726 *${as_nl}ac_space=\ *)
2727 sed -n \
2728 "s/'\''/'\''\\\\'\'''\''/g;
2729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2730 ;; #(
2732 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2734 esac |
2735 sort
2737 echo
2739 cat <<\_ASBOX
2740 ## ----------------- ##
2741 ## Output variables. ##
2742 ## ----------------- ##
2743 _ASBOX
2744 echo
2745 for ac_var in $ac_subst_vars
2747 eval ac_val=\$$ac_var
2748 case $ac_val in
2749 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2750 esac
2751 $as_echo "$ac_var='\''$ac_val'\''"
2752 done | sort
2753 echo
2755 if test -n "$ac_subst_files"; then
2756 cat <<\_ASBOX
2757 ## ------------------- ##
2758 ## File substitutions. ##
2759 ## ------------------- ##
2760 _ASBOX
2761 echo
2762 for ac_var in $ac_subst_files
2764 eval ac_val=\$$ac_var
2765 case $ac_val in
2766 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2767 esac
2768 $as_echo "$ac_var='\''$ac_val'\''"
2769 done | sort
2770 echo
2773 if test -s confdefs.h; then
2774 cat <<\_ASBOX
2775 ## ----------- ##
2776 ## confdefs.h. ##
2777 ## ----------- ##
2778 _ASBOX
2779 echo
2780 cat confdefs.h
2781 echo
2783 test "$ac_signal" != 0 &&
2784 $as_echo "$as_me: caught signal $ac_signal"
2785 $as_echo "$as_me: exit $exit_status"
2786 } >&5
2787 rm -f core *.core core.conftest.* &&
2788 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2789 exit $exit_status
2791 for ac_signal in 1 2 13 15; do
2792 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2793 done
2794 ac_signal=0
2796 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2797 rm -f -r conftest* confdefs.h
2799 $as_echo "/* confdefs.h */" > confdefs.h
2801 # Predefined preprocessor variables.
2803 cat >>confdefs.h <<_ACEOF
2804 #define PACKAGE_NAME "$PACKAGE_NAME"
2805 _ACEOF
2807 cat >>confdefs.h <<_ACEOF
2808 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2809 _ACEOF
2811 cat >>confdefs.h <<_ACEOF
2812 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2813 _ACEOF
2815 cat >>confdefs.h <<_ACEOF
2816 #define PACKAGE_STRING "$PACKAGE_STRING"
2817 _ACEOF
2819 cat >>confdefs.h <<_ACEOF
2820 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2821 _ACEOF
2823 cat >>confdefs.h <<_ACEOF
2824 #define PACKAGE_URL "$PACKAGE_URL"
2825 _ACEOF
2828 # Let the site file select an alternate cache file if it wants to.
2829 # Prefer an explicitly selected file to automatically selected ones.
2830 ac_site_file1=NONE
2831 ac_site_file2=NONE
2832 if test -n "$CONFIG_SITE"; then
2833 ac_site_file1=$CONFIG_SITE
2834 elif test "x$prefix" != xNONE; then
2835 ac_site_file1=$prefix/share/config.site
2836 ac_site_file2=$prefix/etc/config.site
2837 else
2838 ac_site_file1=$ac_default_prefix/share/config.site
2839 ac_site_file2=$ac_default_prefix/etc/config.site
2841 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2843 test "x$ac_site_file" = xNONE && continue
2844 if test -r "$ac_site_file"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2846 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2847 sed 's/^/| /' "$ac_site_file" >&5
2848 . "$ac_site_file"
2850 done
2852 if test -r "$cache_file"; then
2853 # Some versions of bash will fail to source /dev/null (special
2854 # files actually), so we avoid doing that.
2855 if test -f "$cache_file"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2857 $as_echo "$as_me: loading cache $cache_file" >&6;}
2858 case $cache_file in
2859 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2860 *) . "./$cache_file";;
2861 esac
2863 else
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2865 $as_echo "$as_me: creating cache $cache_file" >&6;}
2866 >$cache_file
2869 # Check that the precious variables saved in the cache have kept the same
2870 # value.
2871 ac_cache_corrupted=false
2872 for ac_var in $ac_precious_vars; do
2873 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2874 eval ac_new_set=\$ac_env_${ac_var}_set
2875 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2876 eval ac_new_val=\$ac_env_${ac_var}_value
2877 case $ac_old_set,$ac_new_set in
2878 set,)
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2880 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2881 ac_cache_corrupted=: ;;
2882 ,set)
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2884 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2885 ac_cache_corrupted=: ;;
2886 ,);;
2888 if test "x$ac_old_val" != "x$ac_new_val"; then
2889 # differences in whitespace do not lead to failure.
2890 ac_old_val_w=`echo x $ac_old_val`
2891 ac_new_val_w=`echo x $ac_new_val`
2892 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2894 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2895 ac_cache_corrupted=:
2896 else
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2898 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2899 eval $ac_var=\$ac_old_val
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2902 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2904 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2905 fi;;
2906 esac
2907 # Pass precious variables to config.status.
2908 if test "$ac_new_set" = set; then
2909 case $ac_new_val in
2910 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2911 *) ac_arg=$ac_var=$ac_new_val ;;
2912 esac
2913 case " $ac_configure_args " in
2914 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2915 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2916 esac
2918 done
2919 if $ac_cache_corrupted; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2923 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2924 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2926 ## -------------------- ##
2927 ## Main body of script. ##
2928 ## -------------------- ##
2930 ac_ext=c
2931 ac_cpp='$CPP $CPPFLAGS'
2932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2943 ac_aux_dir=
2944 for ac_dir in ../.. "$srcdir"/../..; do
2945 for ac_t in install-sh install.sh shtool; do
2946 if test -f "$ac_dir/$ac_t"; then
2947 ac_aux_dir=$ac_dir
2948 ac_install_sh="$ac_aux_dir/$ac_t -c"
2949 break 2
2951 done
2952 done
2953 if test -z "$ac_aux_dir"; then
2954 as_fn_error "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2957 # These three variables are undocumented and unsupported,
2958 # and are intended to be withdrawn in a future Autoconf release.
2959 # They can cause serious problems if a builder's source tree is in a directory
2960 # whose full name contains unusual characters.
2961 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2962 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2963 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2967 # Make sure we can run config.sub.
2968 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2969 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2972 $as_echo_n "checking build system type... " >&6; }
2973 if test "${ac_cv_build+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 ac_build_alias=$build_alias
2977 test "x$ac_build_alias" = x &&
2978 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2979 test "x$ac_build_alias" = x &&
2980 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2981 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2982 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2986 $as_echo "$ac_cv_build" >&6; }
2987 case $ac_cv_build in
2988 *-*-*) ;;
2989 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2990 esac
2991 build=$ac_cv_build
2992 ac_save_IFS=$IFS; IFS='-'
2993 set x $ac_cv_build
2994 shift
2995 build_cpu=$1
2996 build_vendor=$2
2997 shift; shift
2998 # Remember, the first character of IFS is used to create $*,
2999 # except with old shells:
3000 build_os=$*
3001 IFS=$ac_save_IFS
3002 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3006 $as_echo_n "checking host system type... " >&6; }
3007 if test "${ac_cv_host+set}" = set; then :
3008 $as_echo_n "(cached) " >&6
3009 else
3010 if test "x$host_alias" = x; then
3011 ac_cv_host=$ac_cv_build
3012 else
3013 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3014 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3019 $as_echo "$ac_cv_host" >&6; }
3020 case $ac_cv_host in
3021 *-*-*) ;;
3022 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3023 esac
3024 host=$ac_cv_host
3025 ac_save_IFS=$IFS; IFS='-'
3026 set x $ac_cv_host
3027 shift
3028 host_cpu=$1
3029 host_vendor=$2
3030 shift; shift
3031 # Remember, the first character of IFS is used to create $*,
3032 # except with old shells:
3033 host_os=$*
3034 IFS=$ac_save_IFS
3035 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3039 $as_echo_n "checking target system type... " >&6; }
3040 if test "${ac_cv_target+set}" = set; then :
3041 $as_echo_n "(cached) " >&6
3042 else
3043 if test "x$target_alias" = x; then
3044 ac_cv_target=$ac_cv_host
3045 else
3046 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3047 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3052 $as_echo "$ac_cv_target" >&6; }
3053 case $ac_cv_target in
3054 *-*-*) ;;
3055 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3056 esac
3057 target=$ac_cv_target
3058 ac_save_IFS=$IFS; IFS='-'
3059 set x $ac_cv_target
3060 shift
3061 target_cpu=$1
3062 target_vendor=$2
3063 shift; shift
3064 # Remember, the first character of IFS is used to create $*,
3065 # except with old shells:
3066 target_os=$*
3067 IFS=$ac_save_IFS
3068 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3071 # The aliases save the names the user supplied, while $host etc.
3072 # will get canonicalized.
3073 test -n "$target_alias" &&
3074 test "$program_prefix$program_suffix$program_transform_name" = \
3075 NONENONEs,x,x, &&
3076 program_prefix=${target_alias}-
3078 # Check whether --enable-java-maintainer-mode was given.
3079 if test "${enable_java_maintainer_mode+set}" = set; then :
3080 enableval=$enable_java_maintainer_mode;
3083 if test "$enable_java_maintainer_mode" = yes; then
3084 JAVA_MAINTAINER_MODE_TRUE=
3085 JAVA_MAINTAINER_MODE_FALSE='#'
3086 else
3087 JAVA_MAINTAINER_MODE_TRUE='#'
3088 JAVA_MAINTAINER_MODE_FALSE=
3092 # We would like to our source tree to be readonly. However when releases or
3093 # pre-releases are generated, the man pages need to be included as they are
3094 # converted from the texi files via perl which we don't require end users to
3095 # have installed.
3096 # Therefore we have --enable-generated-files-in-srcdir to do just that.
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3099 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3100 # Check whether --enable-generated-files-in-srcdir was given.
3101 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3102 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3103 else
3104 generated_files_in_srcdir=no
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3109 $as_echo "$generated_files_in_srcdir" >&6; }
3110 if test x$generated_files_in_srcdir = xyes; then
3111 GENINSRC_TRUE=
3112 GENINSRC_FALSE='#'
3113 else
3114 GENINSRC_TRUE='#'
3115 GENINSRC_FALSE=
3119 # Find the rest of the source tree framework.
3120 # Default to --enable-multilib
3121 # Check whether --enable-multilib was given.
3122 if test "${enable_multilib+set}" = set; then :
3123 enableval=$enable_multilib; case "$enableval" in
3124 yes) multilib=yes ;;
3125 no) multilib=no ;;
3126 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3127 esac
3128 else
3129 multilib=yes
3133 # We may get other options which we leave undocumented:
3134 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3135 # See config-ml.in if you want the gory details.
3137 if test "$srcdir" = "."; then
3138 if test "$with_target_subdir" != "."; then
3139 multi_basedir="$srcdir/$with_multisrctop../../.."
3140 else
3141 multi_basedir="$srcdir/$with_multisrctop../.."
3143 else
3144 multi_basedir="$srcdir/../.."
3148 # Even if the default multilib is not a cross compilation,
3149 # it may be that some of the other multilibs are.
3150 if test $cross_compiling = no && test $multilib = yes \
3151 && test "x${with_multisubdir}" != x ; then
3152 cross_compiling=maybe
3155 ac_config_commands="$ac_config_commands default-1"
3158 if test -z "${with_multisubdir}"; then
3159 INSTALL_BINARIES_TRUE=
3160 INSTALL_BINARIES_FALSE='#'
3161 else
3162 INSTALL_BINARIES_TRUE='#'
3163 INSTALL_BINARIES_FALSE=
3167 if expr ${target_cpu} : '.*86' > /dev/null; then target_cpu=x86; fi
3169 LIBVERSION="0:0:0"
3171 case "$host_os" in
3172 darwin*)
3173 cp_module=""
3176 cp_module="-module"
3178 esac
3180 CLASSPATH_MODULE="${cp_module} -version-info ${LIBVERSION} -no-undefined"
3183 CLASSPATH_CONVENIENCE="-no-undefined"
3187 am__api_version='1.11'
3189 # Find a good install program. We prefer a C program (faster),
3190 # so one script is as good as another. But avoid the broken or
3191 # incompatible versions:
3192 # SysV /etc/install, /usr/sbin/install
3193 # SunOS /usr/etc/install
3194 # IRIX /sbin/install
3195 # AIX /bin/install
3196 # AmigaOS /C/install, which installs bootblocks on floppy discs
3197 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3198 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3199 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3200 # OS/2's system install, which has a completely different semantic
3201 # ./install, which can be erroneously created by make from ./install.sh.
3202 # Reject install programs that cannot install multiple files.
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3204 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3205 if test -z "$INSTALL"; then
3206 if test "${ac_cv_path_install+set}" = set; then :
3207 $as_echo_n "(cached) " >&6
3208 else
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210 for as_dir in $PATH
3212 IFS=$as_save_IFS
3213 test -z "$as_dir" && as_dir=.
3214 # Account for people who put trailing slashes in PATH elements.
3215 case $as_dir/ in #((
3216 ./ | .// | /[cC]/* | \
3217 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3218 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3219 /usr/ucb/* ) ;;
3221 # OSF1 and SCO ODT 3.0 have their own names for install.
3222 # Don't use installbsd from OSF since it installs stuff as root
3223 # by default.
3224 for ac_prog in ginstall scoinst install; do
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3227 if test $ac_prog = install &&
3228 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3229 # AIX install. It has an incompatible calling convention.
3231 elif test $ac_prog = install &&
3232 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3233 # program-specific install script used by HP pwplus--don't use.
3235 else
3236 rm -rf conftest.one conftest.two conftest.dir
3237 echo one > conftest.one
3238 echo two > conftest.two
3239 mkdir conftest.dir
3240 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3241 test -s conftest.one && test -s conftest.two &&
3242 test -s conftest.dir/conftest.one &&
3243 test -s conftest.dir/conftest.two
3244 then
3245 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3246 break 3
3250 done
3251 done
3253 esac
3255 done
3256 IFS=$as_save_IFS
3258 rm -rf conftest.one conftest.two conftest.dir
3261 if test "${ac_cv_path_install+set}" = set; then
3262 INSTALL=$ac_cv_path_install
3263 else
3264 # As a last resort, use the slow shell script. Don't cache a
3265 # value for INSTALL within a source directory, because that will
3266 # break other packages using the cache if that directory is
3267 # removed, or if the value is a relative name.
3268 INSTALL=$ac_install_sh
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3272 $as_echo "$INSTALL" >&6; }
3274 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3275 # It thinks the first close brace ends the variable substitution.
3276 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3278 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3280 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3283 $as_echo_n "checking whether build environment is sane... " >&6; }
3284 # Just in case
3285 sleep 1
3286 echo timestamp > conftest.file
3287 # Reject unsafe characters in $srcdir or the absolute working directory
3288 # name. Accept space and tab only in the latter.
3289 am_lf='
3291 case `pwd` in
3292 *[\\\"\#\$\&\'\`$am_lf]*)
3293 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3294 esac
3295 case $srcdir in
3296 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3297 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3298 esac
3300 # Do `set' in a subshell so we don't clobber the current shell's
3301 # arguments. Must try -L first in case configure is actually a
3302 # symlink; some systems play weird games with the mod time of symlinks
3303 # (eg FreeBSD returns the mod time of the symlink's containing
3304 # directory).
3305 if (
3306 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3307 if test "$*" = "X"; then
3308 # -L didn't work.
3309 set X `ls -t "$srcdir/configure" conftest.file`
3311 rm -f conftest.file
3312 if test "$*" != "X $srcdir/configure conftest.file" \
3313 && test "$*" != "X conftest.file $srcdir/configure"; then
3315 # If neither matched, then we have a broken ls. This can happen
3316 # if, for instance, CONFIG_SHELL is bash and it inherits a
3317 # broken ls alias from the environment. This has actually
3318 # happened. Such a system could not be considered "sane".
3319 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3320 alias in your environment" "$LINENO" 5
3323 test "$2" = conftest.file
3325 then
3326 # Ok.
3328 else
3329 as_fn_error "newly created file is older than distributed files!
3330 Check your system clock" "$LINENO" 5
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3333 $as_echo "yes" >&6; }
3334 test "$program_prefix" != NONE &&
3335 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3336 # Use a double $ so make ignores it.
3337 test "$program_suffix" != NONE &&
3338 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3339 # Double any \ or $.
3340 # By default was `s,x,x', remove it if useless.
3341 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3342 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3344 # expand $ac_aux_dir to an absolute path
3345 am_aux_dir=`cd $ac_aux_dir && pwd`
3347 if test x"${MISSING+set}" != xset; then
3348 case $am_aux_dir in
3349 *\ * | *\ *)
3350 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3352 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3353 esac
3355 # Use eval to expand $SHELL
3356 if eval "$MISSING --run true"; then
3357 am_missing_run="$MISSING --run "
3358 else
3359 am_missing_run=
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3361 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3364 if test x"${install_sh}" != xset; then
3365 case $am_aux_dir in
3366 *\ * | *\ *)
3367 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3369 install_sh="\${SHELL} $am_aux_dir/install-sh"
3370 esac
3373 # Installed binaries are usually stripped using `strip' when the user
3374 # run `make install-strip'. However `strip' might not be the right
3375 # tool to use in cross-compilation environments, therefore Automake
3376 # will honor the `STRIP' environment variable to overrule this program.
3377 if test "$cross_compiling" != no; then
3378 if test -n "$ac_tool_prefix"; then
3379 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3380 set dummy ${ac_tool_prefix}strip; ac_word=$2
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3382 $as_echo_n "checking for $ac_word... " >&6; }
3383 if test "${ac_cv_prog_STRIP+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3385 else
3386 if test -n "$STRIP"; then
3387 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3388 else
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 for as_dir in $PATH
3392 IFS=$as_save_IFS
3393 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3396 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 break 2
3400 done
3401 done
3402 IFS=$as_save_IFS
3406 STRIP=$ac_cv_prog_STRIP
3407 if test -n "$STRIP"; then
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3409 $as_echo "$STRIP" >&6; }
3410 else
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3412 $as_echo "no" >&6; }
3417 if test -z "$ac_cv_prog_STRIP"; then
3418 ac_ct_STRIP=$STRIP
3419 # Extract the first word of "strip", so it can be a program name with args.
3420 set dummy strip; ac_word=$2
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3422 $as_echo_n "checking for $ac_word... " >&6; }
3423 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3424 $as_echo_n "(cached) " >&6
3425 else
3426 if test -n "$ac_ct_STRIP"; then
3427 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3428 else
3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 for as_dir in $PATH
3432 IFS=$as_save_IFS
3433 test -z "$as_dir" && as_dir=.
3434 for ac_exec_ext in '' $ac_executable_extensions; do
3435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3436 ac_cv_prog_ac_ct_STRIP="strip"
3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 break 2
3440 done
3441 done
3442 IFS=$as_save_IFS
3446 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3447 if test -n "$ac_ct_STRIP"; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3449 $as_echo "$ac_ct_STRIP" >&6; }
3450 else
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452 $as_echo "no" >&6; }
3455 if test "x$ac_ct_STRIP" = x; then
3456 STRIP=":"
3457 else
3458 case $cross_compiling:$ac_tool_warned in
3459 yes:)
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3462 ac_tool_warned=yes ;;
3463 esac
3464 STRIP=$ac_ct_STRIP
3466 else
3467 STRIP="$ac_cv_prog_STRIP"
3471 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3474 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3475 if test -z "$MKDIR_P"; then
3476 if test "${ac_cv_path_mkdir+set}" = set; then :
3477 $as_echo_n "(cached) " >&6
3478 else
3479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3482 IFS=$as_save_IFS
3483 test -z "$as_dir" && as_dir=.
3484 for ac_prog in mkdir gmkdir; do
3485 for ac_exec_ext in '' $ac_executable_extensions; do
3486 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3487 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3488 'mkdir (GNU coreutils) '* | \
3489 'mkdir (coreutils) '* | \
3490 'mkdir (fileutils) '4.1*)
3491 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3492 break 3;;
3493 esac
3494 done
3495 done
3496 done
3497 IFS=$as_save_IFS
3501 if test "${ac_cv_path_mkdir+set}" = set; then
3502 MKDIR_P="$ac_cv_path_mkdir -p"
3503 else
3504 # As a last resort, use the slow shell script. Don't cache a
3505 # value for MKDIR_P within a source directory, because that will
3506 # break other packages using the cache if that directory is
3507 # removed, or if the value is a relative name.
3508 test -d ./--version && rmdir ./--version
3509 MKDIR_P="$ac_install_sh -d"
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3513 $as_echo "$MKDIR_P" >&6; }
3515 mkdir_p="$MKDIR_P"
3516 case $mkdir_p in
3517 [\\/$]* | ?:[\\/]*) ;;
3518 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3519 esac
3521 for ac_prog in gawk mawk nawk awk
3523 # Extract the first word of "$ac_prog", so it can be a program name with args.
3524 set dummy $ac_prog; ac_word=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if test "${ac_cv_prog_AWK+set}" = set; then :
3528 $as_echo_n "(cached) " >&6
3529 else
3530 if test -n "$AWK"; then
3531 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3532 else
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 for as_dir in $PATH
3536 IFS=$as_save_IFS
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_prog_AWK="$ac_prog"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 break 2
3544 done
3545 done
3546 IFS=$as_save_IFS
3550 AWK=$ac_cv_prog_AWK
3551 if test -n "$AWK"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3553 $as_echo "$AWK" >&6; }
3554 else
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3560 test -n "$AWK" && break
3561 done
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3564 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3565 set x ${MAKE-make}
3566 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3567 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3568 $as_echo_n "(cached) " >&6
3569 else
3570 cat >conftest.make <<\_ACEOF
3571 SHELL = /bin/sh
3572 all:
3573 @echo '@@@%%%=$(MAKE)=@@@%%%'
3574 _ACEOF
3575 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3576 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3577 *@@@%%%=?*=@@@%%%*)
3578 eval ac_cv_prog_make_${ac_make}_set=yes;;
3580 eval ac_cv_prog_make_${ac_make}_set=no;;
3581 esac
3582 rm -f conftest.make
3584 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586 $as_echo "yes" >&6; }
3587 SET_MAKE=
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 SET_MAKE="MAKE=${MAKE-make}"
3594 rm -rf .tst 2>/dev/null
3595 mkdir .tst 2>/dev/null
3596 if test -d .tst; then
3597 am__leading_dot=.
3598 else
3599 am__leading_dot=_
3601 rmdir .tst 2>/dev/null
3603 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3604 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3605 # is not polluted with repeated "-I."
3606 am__isrc=' -I$(srcdir)'
3607 # test to see if srcdir already configured
3608 if test -f $srcdir/config.status; then
3609 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3613 # test whether we have cygpath
3614 if test -z "$CYGPATH_W"; then
3615 if (cygpath --version) >/dev/null 2>/dev/null; then
3616 CYGPATH_W='cygpath -w'
3617 else
3618 CYGPATH_W=echo
3623 # Define the identity of the package.
3624 PACKAGE='classpath'
3625 VERSION='0.99.1-pre'
3628 cat >>confdefs.h <<_ACEOF
3629 #define PACKAGE "$PACKAGE"
3630 _ACEOF
3633 cat >>confdefs.h <<_ACEOF
3634 #define VERSION "$VERSION"
3635 _ACEOF
3637 # Some tools Automake needs.
3639 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3642 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3645 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3648 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3651 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3653 # We need awk for the "check" target. The system "awk" is bad on
3654 # some platforms.
3655 # Always define AMTAR for backward compatibility.
3657 AMTAR=${AMTAR-"${am_missing_run}tar"}
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3661 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3662 # Loop over all known methods to create a tar archive until one works.
3663 _am_tools='gnutar plaintar pax cpio none'
3664 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3665 # Do not fold the above two line into one, because Tru64 sh and
3666 # Solaris sh will not grok spaces in the rhs of `-'.
3667 for _am_tool in $_am_tools
3669 case $_am_tool in
3670 gnutar)
3671 for _am_tar in tar gnutar gtar;
3673 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3674 ($_am_tar --version) >&5 2>&5
3675 ac_status=$?
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } && break
3678 done
3679 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3680 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3681 am__untar="$_am_tar -xf -"
3683 plaintar)
3684 # Must skip GNU tar: if it does not support --format= it doesn't create
3685 # ustar tarball either.
3686 (tar --version) >/dev/null 2>&1 && continue
3687 am__tar='tar chf - "$$tardir"'
3688 am__tar_='tar chf - "$tardir"'
3689 am__untar='tar xf -'
3691 pax)
3692 am__tar='pax -L -x ustar -w "$$tardir"'
3693 am__tar_='pax -L -x ustar -w "$tardir"'
3694 am__untar='pax -r'
3696 cpio)
3697 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3698 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3699 am__untar='cpio -i -H ustar -d'
3701 none)
3702 am__tar=false
3703 am__tar_=false
3704 am__untar=false
3706 esac
3708 # If the value was cached, stop now. We just wanted to have am__tar
3709 # and am__untar set.
3710 test -n "${am_cv_prog_tar_ustar}" && break
3712 # tar/untar a dummy directory, and stop if the command works
3713 rm -rf conftest.dir
3714 mkdir conftest.dir
3715 echo GrepMe > conftest.dir/file
3716 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3717 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3718 ac_status=$?
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); }
3721 rm -rf conftest.dir
3722 if test -s conftest.tar; then
3723 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3724 ($am__untar <conftest.tar) >&5 2>&5
3725 ac_status=$?
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }
3728 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3730 done
3731 rm -rf conftest.dir
3733 if test "${am_cv_prog_tar_ustar+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 am_cv_prog_tar_ustar=$_am_tool
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3740 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3746 ac_config_headers="$ac_config_headers include/config.h"
3752 # Check whether --enable-collections was given.
3753 if test "${enable_collections+set}" = set; then :
3754 enableval=$enable_collections; case x"${enableval}" in
3755 xyes) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
3756 xno) COMPILE_COLLECTIONS=no ;;
3757 x) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"gnu/java/util/collections\"" ;;
3758 *) COMPILE_COLLECTIONS=yes; COLLECTIONS_PREFIX="\"${enableval}\"" ;;
3759 esac
3760 else
3761 COMPILE_COLLECTIONS=no
3764 if test "x${COMPILE_COLLECTIONS}" = xyes; then
3765 CREATE_COLLECTIONS_TRUE=
3766 CREATE_COLLECTIONS_FALSE='#'
3767 else
3768 CREATE_COLLECTIONS_TRUE='#'
3769 CREATE_COLLECTIONS_FALSE=
3773 # Check whether --enable-jni was given.
3774 if test "${enable_jni+set}" = set; then :
3775 enableval=$enable_jni; case "${enableval}" in
3776 yes) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
3777 no) COMPILE_JNI=no ;;
3778 *) COMPILE_JNI=yes; COMPILE_JAVA=yes ;;
3779 esac
3780 else
3781 COMPILE_JNI=yes
3784 if test "x${COMPILE_JNI}" = xyes; then
3785 CREATE_JNI_LIBRARIES_TRUE=
3786 CREATE_JNI_LIBRARIES_FALSE='#'
3787 else
3788 CREATE_JNI_LIBRARIES_TRUE='#'
3789 CREATE_JNI_LIBRARIES_FALSE=
3793 # Check whether --enable-core-jni was given.
3794 if test "${enable_core_jni+set}" = set; then :
3795 enableval=$enable_core_jni; case "${enableval}" in
3796 yes) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
3797 no) COMPILE_CORE_JNI=no ;;
3798 *) COMPILE_CORE_JNI=yes; COMPILE_JAVA=yes ;;
3799 esac
3800 else
3801 COMPILE_CORE_JNI=yes
3804 if test "x${COMPILE_CORE_JNI}" = xyes; then
3805 CREATE_CORE_JNI_LIBRARIES_TRUE=
3806 CREATE_CORE_JNI_LIBRARIES_FALSE='#'
3807 else
3808 CREATE_CORE_JNI_LIBRARIES_TRUE='#'
3809 CREATE_CORE_JNI_LIBRARIES_FALSE=
3813 # Check whether --enable-default-preferences-peer was given.
3814 if test "${enable_default_preferences_peer+set}" = set; then :
3815 enableval=$enable_default_preferences_peer; case "${enableval}" in
3816 file) DEFAULT_PREFS_PEER=gnu.java.util.prefs.FileBasedFactory ;;
3817 gconf|yes|true) DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory ;;
3818 memory) DEFAULT_PREFS_PEER=gnu.java.util.prefs.MemoryBasedFactory ;;
3819 no|false) as_fn_error "bad value '${enableval}' for --enable-default-preferences-peer" "$LINENO" 5 ;;
3820 *) DEFAULT_PREFS_PEER=${enableval} ;;
3821 esac
3822 else
3823 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
3827 # Check whether --enable-gconf-peer was given.
3828 if test "${enable_gconf_peer+set}" = set; then :
3829 enableval=$enable_gconf_peer; case "${enableval}" in
3830 yes) COMPILE_GCONF_PEER=yes ;;
3831 no) COMPILE_GCONF_PEER=no ;;
3832 *) COMPILE_GCONF_PEER=yes ;;
3833 esac
3834 else
3835 COMPILE_GCONF_PEER=yes
3838 if test "x${COMPILE_GCONF_PEER}" = xyes; then
3839 CREATE_GCONF_PEER_LIBRARIES_TRUE=
3840 CREATE_GCONF_PEER_LIBRARIES_FALSE='#'
3841 else
3842 CREATE_GCONF_PEER_LIBRARIES_TRUE='#'
3843 CREATE_GCONF_PEER_LIBRARIES_FALSE=
3847 # Check whether --enable-gconf-peers was given.
3848 if test "${enable_gconf_peers+set}" = set; then :
3849 enableval=$enable_gconf_peers; as_fn_error "No --enable-gconf-peers (or --disable-gconf-peers) option; you want --enable-gconf-peer" "$LINENO" 5
3853 # Check whether --enable-gstreamer-peer was given.
3854 if test "${enable_gstreamer_peer+set}" = set; then :
3855 enableval=$enable_gstreamer_peer; case "${enableval}" in
3856 yes) COMPILE_GSTREAMER_PEER=yes ;;
3857 no) COMPILE_GSTREAMER_PEER=no ;;
3858 *) COMPILE_GSTREAMER_PEER=default ;;
3859 esac
3860 else
3861 COMPILE_GSTREAMER_PEER=default
3864 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
3865 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE=
3866 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE='#'
3867 else
3868 CREATE_GSTREAMER_PEER_LIBRARIES_TRUE='#'
3869 CREATE_GSTREAMER_PEER_LIBRARIES_FALSE=
3873 # Check whether --enable-gstreamer-peers was given.
3874 if test "${enable_gstreamer_peers+set}" = set; then :
3875 enableval=$enable_gstreamer_peers; as_fn_error "No --enable-gstreamer-peers (or --disable-gstreamer-peers) option; you want --enable-gstreamer-peer" "$LINENO" 5
3879 # Check whether --enable-Werror was given.
3880 if test "${enable_Werror+set}" = set; then :
3881 enableval=$enable_Werror; case "${enableval}" in
3882 yes) ENABLE_WERROR=yes ;;
3883 no) ENABLE_WERROR=no ;;
3884 *) ENABLE_WERROR=no ;;
3885 esac
3886 else
3887 ENABLE_WERROR=no
3891 # Check whether --enable-default-toolkit was given.
3892 if test "${enable_default_toolkit+set}" = set; then :
3893 enableval=$enable_default_toolkit;
3896 default_toolkit=$enable_default_toolkit
3897 if test "$default_toolkit" = ""; then
3898 default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
3902 # Check whether --enable-xmlj was given.
3903 if test "${enable_xmlj+set}" = set; then :
3904 enableval=$enable_xmlj; case "${enableval}" in
3905 yes) COMPILE_XMLJ=yes ;;
3906 no) COMPILE_XMLJ=no ;;
3907 *) COMPILE_XMLJ=no ;;
3908 esac
3909 else
3910 COMPILE_XMLJ=no
3913 if test "x${COMPILE_XMLJ}" = xyes; then
3914 CREATE_XMLJ_LIBRARY_TRUE=
3915 CREATE_XMLJ_LIBRARY_FALSE='#'
3916 else
3917 CREATE_XMLJ_LIBRARY_TRUE='#'
3918 CREATE_XMLJ_LIBRARY_FALSE=
3922 DEPDIR="${am__leading_dot}deps"
3924 ac_config_commands="$ac_config_commands depfiles"
3927 am_make=${MAKE-make}
3928 cat > confinc << 'END'
3929 am__doit:
3930 @echo this is the am__doit target
3931 .PHONY: am__doit
3933 # If we don't find an include directive, just comment out the code.
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3935 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3936 am__include="#"
3937 am__quote=
3938 _am_result=none
3939 # First try GNU make style include.
3940 echo "include confinc" > confmf
3941 # Ignore all kinds of additional output from `make'.
3942 case `$am_make -s -f confmf 2> /dev/null` in #(
3943 *the\ am__doit\ target*)
3944 am__include=include
3945 am__quote=
3946 _am_result=GNU
3948 esac
3949 # Now try BSD make style include.
3950 if test "$am__include" = "#"; then
3951 echo '.include "confinc"' > confmf
3952 case `$am_make -s -f confmf 2> /dev/null` in #(
3953 *the\ am__doit\ target*)
3954 am__include=.include
3955 am__quote="\""
3956 _am_result=BSD
3958 esac
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3963 $as_echo "$_am_result" >&6; }
3964 rm -f confinc confmf
3966 # Check whether --enable-dependency-tracking was given.
3967 if test "${enable_dependency_tracking+set}" = set; then :
3968 enableval=$enable_dependency_tracking;
3971 if test "x$enable_dependency_tracking" != xno; then
3972 am_depcomp="$ac_aux_dir/depcomp"
3973 AMDEPBACKSLASH='\'
3975 if test "x$enable_dependency_tracking" != xno; then
3976 AMDEP_TRUE=
3977 AMDEP_FALSE='#'
3978 else
3979 AMDEP_TRUE='#'
3980 AMDEP_FALSE=
3984 ac_ext=c
3985 ac_cpp='$CPP $CPPFLAGS'
3986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3991 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if test "${ac_cv_prog_CC+set}" = set; then :
3995 $as_echo_n "(cached) " >&6
3996 else
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC="$CC" # Let the user override the test.
3999 else
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 for as_dir in $PATH
4003 IFS=$as_save_IFS
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4009 break 2
4011 done
4012 done
4013 IFS=$as_save_IFS
4017 CC=$ac_cv_prog_CC
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4021 else
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4028 if test -z "$ac_cv_prog_CC"; then
4029 ac_ct_CC=$CC
4030 # Extract the first word of "gcc", so it can be a program name with args.
4031 set dummy gcc; ac_word=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4036 else
4037 if test -n "$ac_ct_CC"; then
4038 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4039 else
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041 for as_dir in $PATH
4043 IFS=$as_save_IFS
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047 ac_cv_prog_ac_ct_CC="gcc"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 break 2
4051 done
4052 done
4053 IFS=$as_save_IFS
4057 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4058 if test -n "$ac_ct_CC"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4060 $as_echo "$ac_ct_CC" >&6; }
4061 else
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4066 if test "x$ac_ct_CC" = x; then
4067 CC=""
4068 else
4069 case $cross_compiling:$ac_tool_warned in
4070 yes:)
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073 ac_tool_warned=yes ;;
4074 esac
4075 CC=$ac_ct_CC
4077 else
4078 CC="$ac_cv_prog_CC"
4081 if test -z "$CC"; then
4082 if test -n "$ac_tool_prefix"; then
4083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4084 set dummy ${ac_tool_prefix}cc; ac_word=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if test "${ac_cv_prog_CC+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4089 else
4090 if test -n "$CC"; then
4091 ac_cv_prog_CC="$CC" # Let the user override the test.
4092 else
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 for as_dir in $PATH
4096 IFS=$as_save_IFS
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_CC="${ac_tool_prefix}cc"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 break 2
4104 done
4105 done
4106 IFS=$as_save_IFS
4110 CC=$ac_cv_prog_CC
4111 if test -n "$CC"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4114 else
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4122 if test -z "$CC"; then
4123 # Extract the first word of "cc", so it can be a program name with args.
4124 set dummy cc; ac_word=$2
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4126 $as_echo_n "checking for $ac_word... " >&6; }
4127 if test "${ac_cv_prog_CC+set}" = set; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 if test -n "$CC"; then
4131 ac_cv_prog_CC="$CC" # Let the user override the test.
4132 else
4133 ac_prog_rejected=no
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 for as_dir in $PATH
4137 IFS=$as_save_IFS
4138 test -z "$as_dir" && as_dir=.
4139 for ac_exec_ext in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4142 ac_prog_rejected=yes
4143 continue
4145 ac_cv_prog_CC="cc"
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 break 2
4149 done
4150 done
4151 IFS=$as_save_IFS
4153 if test $ac_prog_rejected = yes; then
4154 # We found a bogon in the path, so make sure we never use it.
4155 set dummy $ac_cv_prog_CC
4156 shift
4157 if test $# != 0; then
4158 # We chose a different compiler from the bogus one.
4159 # However, it has the same basename, so the bogon will be chosen
4160 # first if we set CC to just the basename; use the full file name.
4161 shift
4162 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4167 CC=$ac_cv_prog_CC
4168 if test -n "$CC"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4170 $as_echo "$CC" >&6; }
4171 else
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4178 if test -z "$CC"; then
4179 if test -n "$ac_tool_prefix"; then
4180 for ac_prog in cl.exe
4182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4185 $as_echo_n "checking for $ac_word... " >&6; }
4186 if test "${ac_cv_prog_CC+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4188 else
4189 if test -n "$CC"; then
4190 ac_cv_prog_CC="$CC" # Let the user override the test.
4191 else
4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193 for as_dir in $PATH
4195 IFS=$as_save_IFS
4196 test -z "$as_dir" && as_dir=.
4197 for ac_exec_ext in '' $ac_executable_extensions; do
4198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4199 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 break 2
4203 done
4204 done
4205 IFS=$as_save_IFS
4209 CC=$ac_cv_prog_CC
4210 if test -n "$CC"; then
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4212 $as_echo "$CC" >&6; }
4213 else
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4219 test -n "$CC" && break
4220 done
4222 if test -z "$CC"; then
4223 ac_ct_CC=$CC
4224 for ac_prog in cl.exe
4226 # Extract the first word of "$ac_prog", so it can be a program name with args.
4227 set dummy $ac_prog; ac_word=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 if test -n "$ac_ct_CC"; then
4234 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4235 else
4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237 for as_dir in $PATH
4239 IFS=$as_save_IFS
4240 test -z "$as_dir" && as_dir=.
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4243 ac_cv_prog_ac_ct_CC="$ac_prog"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 break 2
4247 done
4248 done
4249 IFS=$as_save_IFS
4253 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4254 if test -n "$ac_ct_CC"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4256 $as_echo "$ac_ct_CC" >&6; }
4257 else
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4263 test -n "$ac_ct_CC" && break
4264 done
4266 if test "x$ac_ct_CC" = x; then
4267 CC=""
4268 else
4269 case $cross_compiling:$ac_tool_warned in
4270 yes:)
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4273 ac_tool_warned=yes ;;
4274 esac
4275 CC=$ac_ct_CC
4282 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4284 as_fn_error "no acceptable C compiler found in \$PATH
4285 See \`config.log' for more details." "$LINENO" 5; }
4287 # Provide some information about the compiler.
4288 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4289 set X $ac_compile
4290 ac_compiler=$2
4291 for ac_option in --version -v -V -qversion; do
4292 { { ac_try="$ac_compiler $ac_option >&5"
4293 case "(($ac_try" in
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4296 esac
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4300 ac_status=$?
4301 if test -s conftest.err; then
4302 sed '10a\
4303 ... rest of stderr output deleted ...
4304 10q' conftest.err >conftest.er1
4305 cat conftest.er1 >&5
4306 rm -f conftest.er1 conftest.err
4308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4309 test $ac_status = 0; }
4310 done
4312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h. */
4316 main ()
4320 return 0;
4322 _ACEOF
4323 # FIXME: Cleanup?
4324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4325 (eval $ac_link) 2>&5
4326 ac_status=$?
4327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4328 test $ac_status = 0; }; then :
4329 gcc_no_link=no
4330 else
4331 gcc_no_link=yes
4333 if test x$gcc_no_link = xyes; then
4334 # Setting cross_compile will disable run tests; it will
4335 # also disable AC_CHECK_FILE but that's generally
4336 # correct if we can't link.
4337 cross_compiling=yes
4338 EXEEXT=
4339 else
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4344 main ()
4348 return 0;
4350 _ACEOF
4351 ac_clean_files_save=$ac_clean_files
4352 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4353 # Try to create an executable without -o first, disregard a.out.
4354 # It will help us diagnose broken compilers, and finding out an intuition
4355 # of exeext.
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4357 $as_echo_n "checking for C compiler default output file name... " >&6; }
4358 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4360 # The possible output files:
4361 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4363 ac_rmfiles=
4364 for ac_file in $ac_files
4366 case $ac_file in
4367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4368 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4369 esac
4370 done
4371 rm -f $ac_rmfiles
4373 if { { ac_try="$ac_link_default"
4374 case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4377 esac
4378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_link_default") 2>&5
4381 ac_status=$?
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; }; then :
4384 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4386 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4387 # so that the user can short-circuit this test for compilers unknown to
4388 # Autoconf.
4389 for ac_file in $ac_files ''
4391 test -f "$ac_file" || continue
4392 case $ac_file in
4393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4395 [ab].out )
4396 # We found the default executable, but exeext='' is most
4397 # certainly right.
4398 break;;
4399 *.* )
4400 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4401 then :; else
4402 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4404 # We set ac_cv_exeext here because the later test for it is not
4405 # safe: cross compilers may not add the suffix if given an `-o'
4406 # argument, so we may need to know it at that point already.
4407 # Even if this section looks crufty: it has the advantage of
4408 # actually working.
4409 break;;
4411 break;;
4412 esac
4413 done
4414 test "$ac_cv_exeext" = no && ac_cv_exeext=
4416 else
4417 ac_file=''
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4420 $as_echo "$ac_file" >&6; }
4421 if test -z "$ac_file"; then :
4422 $as_echo "$as_me: failed program was:" >&5
4423 sed 's/^/| /' conftest.$ac_ext >&5
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 { as_fn_set_status 77
4428 as_fn_error "C compiler cannot create executables
4429 See \`config.log' for more details." "$LINENO" 5; }; }
4431 ac_exeext=$ac_cv_exeext
4433 # Check that the compiler produces executables we can run. If not, either
4434 # the compiler is broken, or we cross compile.
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4436 $as_echo_n "checking whether the C compiler works... " >&6; }
4437 # If not cross compiling, check that we can run a simple program.
4438 if test "$cross_compiling" != yes; then
4439 if { ac_try='./$ac_file'
4440 { { case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_try") 2>&5
4447 ac_status=$?
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; }; then
4450 cross_compiling=no
4451 else
4452 if test "$cross_compiling" = maybe; then
4453 cross_compiling=yes
4454 else
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4457 as_fn_error "cannot run C compiled programs.
4458 If you meant to cross compile, use \`--host'.
4459 See \`config.log' for more details." "$LINENO" 5; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4464 $as_echo "yes" >&6; }
4466 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4467 ac_clean_files=$ac_clean_files_save
4468 # Check that the compiler produces executables we can run. If not, either
4469 # the compiler is broken, or we cross compile.
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4471 $as_echo_n "checking whether we are cross compiling... " >&6; }
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4473 $as_echo "$cross_compiling" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4476 $as_echo_n "checking for suffix of executables... " >&6; }
4477 if { { ac_try="$ac_link"
4478 case "(($ac_try" in
4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4481 esac
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484 (eval "$ac_link") 2>&5
4485 ac_status=$?
4486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4487 test $ac_status = 0; }; then :
4488 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4489 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4490 # work properly (i.e., refer to `conftest.exe'), while it won't with
4491 # `rm'.
4492 for ac_file in conftest.exe conftest conftest.*; do
4493 test -f "$ac_file" || continue
4494 case $ac_file in
4495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4496 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4497 break;;
4498 * ) break;;
4499 esac
4500 done
4501 else
4502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4504 as_fn_error "cannot compute suffix of executables: cannot compile and link
4505 See \`config.log' for more details." "$LINENO" 5; }
4507 rm -f conftest$ac_cv_exeext
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4509 $as_echo "$ac_cv_exeext" >&6; }
4511 rm -f conftest.$ac_ext
4512 EXEEXT=$ac_cv_exeext
4513 ac_exeext=$EXEEXT
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4516 $as_echo_n "checking for suffix of object files... " >&6; }
4517 if test "${ac_cv_objext+set}" = set; then :
4518 $as_echo_n "(cached) " >&6
4519 else
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4524 main ()
4528 return 0;
4530 _ACEOF
4531 rm -f conftest.o conftest.obj
4532 if { { ac_try="$ac_compile"
4533 case "(($ac_try" in
4534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;;
4536 esac
4537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4538 $as_echo "$ac_try_echo"; } >&5
4539 (eval "$ac_compile") 2>&5
4540 ac_status=$?
4541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4542 test $ac_status = 0; }; then :
4543 for ac_file in conftest.o conftest.obj conftest.*; do
4544 test -f "$ac_file" || continue;
4545 case $ac_file in
4546 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4547 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4548 break;;
4549 esac
4550 done
4551 else
4552 $as_echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.$ac_ext >&5
4555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4557 as_fn_error "cannot compute suffix of object files: cannot compile
4558 See \`config.log' for more details." "$LINENO" 5; }
4560 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4563 $as_echo "$ac_cv_objext" >&6; }
4564 OBJEXT=$ac_cv_objext
4565 ac_objext=$OBJEXT
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4567 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4568 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4570 else
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4575 main ()
4577 #ifndef __GNUC__
4578 choke me
4579 #endif
4582 return 0;
4584 _ACEOF
4585 if ac_fn_c_try_compile "$LINENO"; then :
4586 ac_compiler_gnu=yes
4587 else
4588 ac_compiler_gnu=no
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4595 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4596 if test $ac_compiler_gnu = yes; then
4597 GCC=yes
4598 else
4599 GCC=
4601 ac_test_CFLAGS=${CFLAGS+set}
4602 ac_save_CFLAGS=$CFLAGS
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4604 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4605 if test "${ac_cv_prog_cc_g+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 ac_save_c_werror_flag=$ac_c_werror_flag
4609 ac_c_werror_flag=yes
4610 ac_cv_prog_cc_g=no
4611 CFLAGS="-g"
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4616 main ()
4620 return 0;
4622 _ACEOF
4623 if ac_fn_c_try_compile "$LINENO"; then :
4624 ac_cv_prog_cc_g=yes
4625 else
4626 CFLAGS=""
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4631 main ()
4635 return 0;
4637 _ACEOF
4638 if ac_fn_c_try_compile "$LINENO"; then :
4640 else
4641 ac_c_werror_flag=$ac_save_c_werror_flag
4642 CFLAGS="-g"
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4647 main ()
4651 return 0;
4653 _ACEOF
4654 if ac_fn_c_try_compile "$LINENO"; then :
4655 ac_cv_prog_cc_g=yes
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 ac_c_werror_flag=$ac_save_c_werror_flag
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4665 $as_echo "$ac_cv_prog_cc_g" >&6; }
4666 if test "$ac_test_CFLAGS" = set; then
4667 CFLAGS=$ac_save_CFLAGS
4668 elif test $ac_cv_prog_cc_g = yes; then
4669 if test "$GCC" = yes; then
4670 CFLAGS="-g -O2"
4671 else
4672 CFLAGS="-g"
4674 else
4675 if test "$GCC" = yes; then
4676 CFLAGS="-O2"
4677 else
4678 CFLAGS=
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4682 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4683 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 ac_cv_prog_cc_c89=no
4687 ac_save_CC=$CC
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4690 #include <stdarg.h>
4691 #include <stdio.h>
4692 #include <sys/types.h>
4693 #include <sys/stat.h>
4694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4695 struct buf { int x; };
4696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4697 static char *e (p, i)
4698 char **p;
4699 int i;
4701 return p[i];
4703 static char *f (char * (*g) (char **, int), char **p, ...)
4705 char *s;
4706 va_list v;
4707 va_start (v,p);
4708 s = g (p, va_arg (v,int));
4709 va_end (v);
4710 return s;
4713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4714 function prototypes and stuff, but not '\xHH' hex character constants.
4715 These don't provoke an error unfortunately, instead are silently treated
4716 as 'x'. The following induces an error, until -std is added to get
4717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4718 array size at least. It's necessary to write '\x00'==0 to get something
4719 that's true only with -std. */
4720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4722 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4723 inside strings and character constants. */
4724 #define FOO(x) 'x'
4725 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4727 int test (int i, double x);
4728 struct s1 {int (*f) (int a);};
4729 struct s2 {int (*f) (double a);};
4730 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4731 int argc;
4732 char **argv;
4734 main ()
4736 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4738 return 0;
4740 _ACEOF
4741 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4742 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4744 CC="$ac_save_CC $ac_arg"
4745 if ac_fn_c_try_compile "$LINENO"; then :
4746 ac_cv_prog_cc_c89=$ac_arg
4748 rm -f core conftest.err conftest.$ac_objext
4749 test "x$ac_cv_prog_cc_c89" != "xno" && break
4750 done
4751 rm -f conftest.$ac_ext
4752 CC=$ac_save_CC
4755 # AC_CACHE_VAL
4756 case "x$ac_cv_prog_cc_c89" in
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4759 $as_echo "none needed" >&6; } ;;
4760 xno)
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4762 $as_echo "unsupported" >&6; } ;;
4764 CC="$CC $ac_cv_prog_cc_c89"
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4766 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4767 esac
4768 if test "x$ac_cv_prog_cc_c89" != xno; then :
4772 ac_ext=c
4773 ac_cpp='$CPP $CPPFLAGS'
4774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4778 depcc="$CC" am_compiler_list=
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4781 $as_echo_n "checking dependency style of $depcc... " >&6; }
4782 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4783 $as_echo_n "(cached) " >&6
4784 else
4785 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4786 # We make a subdir and do the tests there. Otherwise we can end up
4787 # making bogus files that we don't know about and never remove. For
4788 # instance it was reported that on HP-UX the gcc test will end up
4789 # making a dummy file named `D' -- because `-MD' means `put the output
4790 # in D'.
4791 mkdir conftest.dir
4792 # Copy depcomp to subdir because otherwise we won't find it if we're
4793 # using a relative directory.
4794 cp "$am_depcomp" conftest.dir
4795 cd conftest.dir
4796 # We will build objects and dependencies in a subdirectory because
4797 # it helps to detect inapplicable dependency modes. For instance
4798 # both Tru64's cc and ICC support -MD to output dependencies as a
4799 # side effect of compilation, but ICC will put the dependencies in
4800 # the current directory while Tru64 will put them in the object
4801 # directory.
4802 mkdir sub
4804 am_cv_CC_dependencies_compiler_type=none
4805 if test "$am_compiler_list" = ""; then
4806 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4808 am__universal=false
4809 case " $depcc " in #(
4810 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4811 esac
4813 for depmode in $am_compiler_list; do
4814 # Setup a source with many dependencies, because some compilers
4815 # like to wrap large dependency lists on column 80 (with \), and
4816 # we should not choose a depcomp mode which is confused by this.
4818 # We need to recreate these files for each test, as the compiler may
4819 # overwrite some of them when testing with obscure command lines.
4820 # This happens at least with the AIX C compiler.
4821 : > sub/conftest.c
4822 for i in 1 2 3 4 5 6; do
4823 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4824 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4825 # Solaris 8's {/usr,}/bin/sh.
4826 touch sub/conftst$i.h
4827 done
4828 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4830 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4831 # mode. It turns out that the SunPro C++ compiler does not properly
4832 # handle `-M -o', and we need to detect this. Also, some Intel
4833 # versions had trouble with output in subdirs
4834 am__obj=sub/conftest.${OBJEXT-o}
4835 am__minus_obj="-o $am__obj"
4836 case $depmode in
4837 gcc)
4838 # This depmode causes a compiler race in universal mode.
4839 test "$am__universal" = false || continue
4841 nosideeffect)
4842 # after this tag, mechanisms are not by side-effect, so they'll
4843 # only be used when explicitly requested
4844 if test "x$enable_dependency_tracking" = xyes; then
4845 continue
4846 else
4847 break
4850 msvisualcpp | msvcmsys)
4851 # This compiler won't grok `-c -o', but also, the minuso test has
4852 # not run yet. These depmodes are late enough in the game, and
4853 # so weak that their functioning should not be impacted.
4854 am__obj=conftest.${OBJEXT-o}
4855 am__minus_obj=
4857 none) break ;;
4858 esac
4859 if depmode=$depmode \
4860 source=sub/conftest.c object=$am__obj \
4861 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4862 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4863 >/dev/null 2>conftest.err &&
4864 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4865 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4866 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4867 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4868 # icc doesn't choke on unknown options, it will just issue warnings
4869 # or remarks (even with -Werror). So we grep stderr for any message
4870 # that says an option was ignored or not supported.
4871 # When given -MP, icc 7.0 and 7.1 complain thusly:
4872 # icc: Command line warning: ignoring option '-M'; no argument required
4873 # The diagnosis changed in icc 8.0:
4874 # icc: Command line remark: option '-MP' not supported
4875 if (grep 'ignoring option' conftest.err ||
4876 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4877 am_cv_CC_dependencies_compiler_type=$depmode
4878 break
4881 done
4883 cd ..
4884 rm -rf conftest.dir
4885 else
4886 am_cv_CC_dependencies_compiler_type=none
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4891 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4892 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4895 test "x$enable_dependency_tracking" != xno \
4896 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4897 am__fastdepCC_TRUE=
4898 am__fastdepCC_FALSE='#'
4899 else
4900 am__fastdepCC_TRUE='#'
4901 am__fastdepCC_FALSE=
4906 ac_ext=c
4907 ac_cpp='$CPP $CPPFLAGS'
4908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4912 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4913 # On Suns, sometimes $CPP names a directory.
4914 if test -n "$CPP" && test -d "$CPP"; then
4915 CPP=
4917 if test -z "$CPP"; then
4918 if test "${ac_cv_prog_CPP+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 # Double quotes because CPP needs to be expanded
4922 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4924 ac_preproc_ok=false
4925 for ac_c_preproc_warn_flag in '' yes
4927 # Use a header file that comes with gcc, so configuring glibc
4928 # with a fresh cross-compiler works.
4929 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4930 # <limits.h> exists even on freestanding compilers.
4931 # On the NeXT, cc -E runs the code through the compiler's parser,
4932 # not just through cpp. "Syntax error" is here to catch this case.
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4935 #ifdef __STDC__
4936 # include <limits.h>
4937 #else
4938 # include <assert.h>
4939 #endif
4940 Syntax error
4941 _ACEOF
4942 if ac_fn_c_try_cpp "$LINENO"; then :
4944 else
4945 # Broken: fails on valid input.
4946 continue
4948 rm -f conftest.err conftest.$ac_ext
4950 # OK, works on sane cases. Now check whether nonexistent headers
4951 # can be detected and how.
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4954 #include <ac_nonexistent.h>
4955 _ACEOF
4956 if ac_fn_c_try_cpp "$LINENO"; then :
4957 # Broken: success on invalid input.
4958 continue
4959 else
4960 # Passes both tests.
4961 ac_preproc_ok=:
4962 break
4964 rm -f conftest.err conftest.$ac_ext
4966 done
4967 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4968 rm -f conftest.err conftest.$ac_ext
4969 if $ac_preproc_ok; then :
4970 break
4973 done
4974 ac_cv_prog_CPP=$CPP
4977 CPP=$ac_cv_prog_CPP
4978 else
4979 ac_cv_prog_CPP=$CPP
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4982 $as_echo "$CPP" >&6; }
4983 ac_preproc_ok=false
4984 for ac_c_preproc_warn_flag in '' yes
4986 # Use a header file that comes with gcc, so configuring glibc
4987 # with a fresh cross-compiler works.
4988 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4989 # <limits.h> exists even on freestanding compilers.
4990 # On the NeXT, cc -E runs the code through the compiler's parser,
4991 # not just through cpp. "Syntax error" is here to catch this case.
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4994 #ifdef __STDC__
4995 # include <limits.h>
4996 #else
4997 # include <assert.h>
4998 #endif
4999 Syntax error
5000 _ACEOF
5001 if ac_fn_c_try_cpp "$LINENO"; then :
5003 else
5004 # Broken: fails on valid input.
5005 continue
5007 rm -f conftest.err conftest.$ac_ext
5009 # OK, works on sane cases. Now check whether nonexistent headers
5010 # can be detected and how.
5011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5013 #include <ac_nonexistent.h>
5014 _ACEOF
5015 if ac_fn_c_try_cpp "$LINENO"; then :
5016 # Broken: success on invalid input.
5017 continue
5018 else
5019 # Passes both tests.
5020 ac_preproc_ok=:
5021 break
5023 rm -f conftest.err conftest.$ac_ext
5025 done
5026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5027 rm -f conftest.err conftest.$ac_ext
5028 if $ac_preproc_ok; then :
5030 else
5031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5033 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5034 See \`config.log' for more details." "$LINENO" 5; }
5037 ac_ext=c
5038 ac_cpp='$CPP $CPPFLAGS'
5039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5045 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5046 if test "${ac_cv_path_GREP+set}" = set; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -z "$GREP"; then
5050 ac_path_GREP_found=false
5051 # Loop through the user's path and test for each of PROGNAME-LIST
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_prog in grep ggrep; do
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5060 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5061 # Check for GNU ac_path_GREP and select it if it is found.
5062 # Check for GNU $ac_path_GREP
5063 case `"$ac_path_GREP" --version 2>&1` in
5064 *GNU*)
5065 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5067 ac_count=0
5068 $as_echo_n 0123456789 >"conftest.in"
5069 while :
5071 cat "conftest.in" "conftest.in" >"conftest.tmp"
5072 mv "conftest.tmp" "conftest.in"
5073 cp "conftest.in" "conftest.nl"
5074 $as_echo 'GREP' >> "conftest.nl"
5075 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5076 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5077 as_fn_arith $ac_count + 1 && ac_count=$as_val
5078 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5079 # Best one so far, save it but keep looking for a better one
5080 ac_cv_path_GREP="$ac_path_GREP"
5081 ac_path_GREP_max=$ac_count
5083 # 10*(2^10) chars as input seems more than enough
5084 test $ac_count -gt 10 && break
5085 done
5086 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5087 esac
5089 $ac_path_GREP_found && break 3
5090 done
5091 done
5092 done
5093 IFS=$as_save_IFS
5094 if test -z "$ac_cv_path_GREP"; then
5095 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5097 else
5098 ac_cv_path_GREP=$GREP
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5103 $as_echo "$ac_cv_path_GREP" >&6; }
5104 GREP="$ac_cv_path_GREP"
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5108 $as_echo_n "checking for egrep... " >&6; }
5109 if test "${ac_cv_path_EGREP+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5113 then ac_cv_path_EGREP="$GREP -E"
5114 else
5115 if test -z "$EGREP"; then
5116 ac_path_EGREP_found=false
5117 # Loop through the user's path and test for each of PROGNAME-LIST
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_prog in egrep; do
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5126 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5127 # Check for GNU ac_path_EGREP and select it if it is found.
5128 # Check for GNU $ac_path_EGREP
5129 case `"$ac_path_EGREP" --version 2>&1` in
5130 *GNU*)
5131 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5133 ac_count=0
5134 $as_echo_n 0123456789 >"conftest.in"
5135 while :
5137 cat "conftest.in" "conftest.in" >"conftest.tmp"
5138 mv "conftest.tmp" "conftest.in"
5139 cp "conftest.in" "conftest.nl"
5140 $as_echo 'EGREP' >> "conftest.nl"
5141 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5142 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5143 as_fn_arith $ac_count + 1 && ac_count=$as_val
5144 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5145 # Best one so far, save it but keep looking for a better one
5146 ac_cv_path_EGREP="$ac_path_EGREP"
5147 ac_path_EGREP_max=$ac_count
5149 # 10*(2^10) chars as input seems more than enough
5150 test $ac_count -gt 10 && break
5151 done
5152 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5153 esac
5155 $ac_path_EGREP_found && break 3
5156 done
5157 done
5158 done
5159 IFS=$as_save_IFS
5160 if test -z "$ac_cv_path_EGREP"; then
5161 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5163 else
5164 ac_cv_path_EGREP=$EGREP
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5170 $as_echo "$ac_cv_path_EGREP" >&6; }
5171 EGREP="$ac_cv_path_EGREP"
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5175 $as_echo_n "checking for ANSI C header files... " >&6; }
5176 if test "${ac_cv_header_stdc+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5181 #include <stdlib.h>
5182 #include <stdarg.h>
5183 #include <string.h>
5184 #include <float.h>
5187 main ()
5191 return 0;
5193 _ACEOF
5194 if ac_fn_c_try_compile "$LINENO"; then :
5195 ac_cv_header_stdc=yes
5196 else
5197 ac_cv_header_stdc=no
5199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5201 if test $ac_cv_header_stdc = yes; then
5202 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5205 #include <string.h>
5207 _ACEOF
5208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5209 $EGREP "memchr" >/dev/null 2>&1; then :
5211 else
5212 ac_cv_header_stdc=no
5214 rm -f conftest*
5218 if test $ac_cv_header_stdc = yes; then
5219 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5221 /* end confdefs.h. */
5222 #include <stdlib.h>
5224 _ACEOF
5225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5226 $EGREP "free" >/dev/null 2>&1; then :
5228 else
5229 ac_cv_header_stdc=no
5231 rm -f conftest*
5235 if test $ac_cv_header_stdc = yes; then
5236 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5237 if test "$cross_compiling" = yes; then :
5239 else
5240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5241 /* end confdefs.h. */
5242 #include <ctype.h>
5243 #include <stdlib.h>
5244 #if ((' ' & 0x0FF) == 0x020)
5245 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5246 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5247 #else
5248 # define ISLOWER(c) \
5249 (('a' <= (c) && (c) <= 'i') \
5250 || ('j' <= (c) && (c) <= 'r') \
5251 || ('s' <= (c) && (c) <= 'z'))
5252 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5253 #endif
5255 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5257 main ()
5259 int i;
5260 for (i = 0; i < 256; i++)
5261 if (XOR (islower (i), ISLOWER (i))
5262 || toupper (i) != TOUPPER (i))
5263 return 2;
5264 return 0;
5266 _ACEOF
5267 if ac_fn_c_try_run "$LINENO"; then :
5269 else
5270 ac_cv_header_stdc=no
5272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5273 conftest.$ac_objext conftest.beam conftest.$ac_ext
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5279 $as_echo "$ac_cv_header_stdc" >&6; }
5280 if test $ac_cv_header_stdc = yes; then
5282 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5286 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5287 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5288 inttypes.h stdint.h unistd.h
5289 do :
5290 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5291 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5293 eval as_val=\$$as_ac_Header
5294 if test "x$as_val" = x""yes; then :
5295 cat >>confdefs.h <<_ACEOF
5296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5297 _ACEOF
5301 done
5304 # Check whether --enable-alsa was given.
5305 if test "${enable_alsa+set}" = set; then :
5306 enableval=$enable_alsa; case "${enableval}" in
5307 yes) COMPILE_ALSA=yes ;;
5308 no) COMPILE_ALSA=no ;;
5309 *) COMPILE_ALSA=yes ;;
5310 esac
5311 else
5312 for ac_header in alsa/asoundlib.h
5313 do :
5314 ac_fn_c_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
5315 if test "x$ac_cv_header_alsa_asoundlib_h" = x""yes; then :
5316 cat >>confdefs.h <<_ACEOF
5317 #define HAVE_ALSA_ASOUNDLIB_H 1
5318 _ACEOF
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_seq_open in -lasound" >&5
5320 $as_echo_n "checking for snd_seq_open in -lasound... " >&6; }
5321 if test "${ac_cv_lib_asound_snd_seq_open+set}" = set; then :
5322 $as_echo_n "(cached) " >&6
5323 else
5324 ac_check_lib_save_LIBS=$LIBS
5325 LIBS="-lasound $LIBS"
5326 if test x$gcc_no_link = xyes; then
5327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5332 /* Override any GCC internal prototype to avoid an error.
5333 Use char because int might match the return type of a GCC
5334 builtin and then its argument prototype would still apply. */
5335 #ifdef __cplusplus
5336 extern "C"
5337 #endif
5338 char snd_seq_open ();
5340 main ()
5342 return snd_seq_open ();
5344 return 0;
5346 _ACEOF
5347 if ac_fn_c_try_link "$LINENO"; then :
5348 ac_cv_lib_asound_snd_seq_open=yes
5349 else
5350 ac_cv_lib_asound_snd_seq_open=no
5352 rm -f core conftest.err conftest.$ac_objext \
5353 conftest$ac_exeext conftest.$ac_ext
5354 LIBS=$ac_check_lib_save_LIBS
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_seq_open" >&5
5357 $as_echo "$ac_cv_lib_asound_snd_seq_open" >&6; }
5358 if test "x$ac_cv_lib_asound_snd_seq_open" = x""yes; then :
5359 COMPILE_ALSA=yes
5360 else
5361 COMPILE_ALSA=no
5364 else
5365 COMPILE_ALSA=no
5368 done
5372 if test "x${COMPILE_ALSA}" = xyes; then
5373 CREATE_ALSA_LIBRARIES_TRUE=
5374 CREATE_ALSA_LIBRARIES_FALSE='#'
5375 else
5376 CREATE_ALSA_LIBRARIES_TRUE='#'
5377 CREATE_ALSA_LIBRARIES_FALSE=
5381 # Check whether --enable-dssi was given.
5382 if test "${enable_dssi+set}" = set; then :
5383 enableval=$enable_dssi; case "${enableval}" in
5384 yes) COMPILE_DSSI=yes ;;
5385 no) COMPILE_DSSI=no ;;
5386 *) COMPILE_DSSI=yes ;;
5387 esac
5388 else
5389 COMPILE_DSSI=no
5390 for ac_header in dssi.h
5391 do :
5392 ac_fn_c_check_header_mongrel "$LINENO" "dssi.h" "ac_cv_header_dssi_h" "$ac_includes_default"
5393 if test "x$ac_cv_header_dssi_h" = x""yes; then :
5394 cat >>confdefs.h <<_ACEOF
5395 #define HAVE_DSSI_H 1
5396 _ACEOF
5398 for ac_header in jack/jack.h
5399 do :
5400 ac_fn_c_check_header_mongrel "$LINENO" "jack/jack.h" "ac_cv_header_jack_jack_h" "$ac_includes_default"
5401 if test "x$ac_cv_header_jack_jack_h" = x""yes; then :
5402 cat >>confdefs.h <<_ACEOF
5403 #define HAVE_JACK_JACK_H 1
5404 _ACEOF
5405 COMPILE_DSSI=yes
5408 done
5412 done
5416 if test "x${COMPILE_DSSI}" = xyes; then
5417 CREATE_DSSI_LIBRARIES_TRUE=
5418 CREATE_DSSI_LIBRARIES_FALSE='#'
5419 else
5420 CREATE_DSSI_LIBRARIES_TRUE='#'
5421 CREATE_DSSI_LIBRARIES_FALSE=
5425 # Check whether --enable-gtk-peer was given.
5426 if test "${enable_gtk_peer+set}" = set; then :
5427 enableval=$enable_gtk_peer; case "${enableval}" in
5428 yes) COMPILE_GTK_PEER=yes ;;
5429 no) COMPILE_GTK_PEER=no ;;
5430 *) COMPILE_GTK_PEER=yes ;;
5431 esac
5432 else
5433 COMPILE_GTK_PEER=yes
5436 if test "x${COMPILE_GTK_PEER}" = xyes; then
5437 CREATE_GTK_PEER_LIBRARIES_TRUE=
5438 CREATE_GTK_PEER_LIBRARIES_FALSE='#'
5439 else
5440 CREATE_GTK_PEER_LIBRARIES_TRUE='#'
5441 CREATE_GTK_PEER_LIBRARIES_FALSE=
5445 # Check whether --enable-gtk-peers was given.
5446 if test "${enable_gtk_peers+set}" = set; then :
5447 enableval=$enable_gtk_peers; as_fn_error "No --enable-gtk-peers (or --disable-gtk-peers) option; you want --enable-gtk-peer" "$LINENO" 5
5451 # Check whether --enable-qt-peer was given.
5452 if test "${enable_qt_peer+set}" = set; then :
5453 enableval=$enable_qt_peer; case "${enableval}" in
5454 yes) COMPILE_QT_PEER=yes ;;
5455 no) COMPILE_QT_PEER=no ;;
5456 *) COMPILE_QT_PEER=yes ;;
5457 esac
5458 else
5459 COMPILE_QT_PEER=no
5462 if test "x${COMPILE_QT_PEER}" = xyes; then
5463 CREATE_QT_PEER_LIBRARIES_TRUE=
5464 CREATE_QT_PEER_LIBRARIES_FALSE='#'
5465 else
5466 CREATE_QT_PEER_LIBRARIES_TRUE='#'
5467 CREATE_QT_PEER_LIBRARIES_FALSE=
5471 # Check whether --enable-plugin was given.
5472 if test "${enable_plugin+set}" = set; then :
5473 enableval=$enable_plugin; case "${enableval}" in
5474 yes) COMPILE_PLUGIN=yes ;;
5475 no) COMPILE_PLUGIN=no ;;
5476 *) COMPILE_PLUGIN=yes ;;
5477 esac
5478 else
5479 COMPILE_PLUGIN=no
5482 if test "x${COMPILE_PLUGIN}" = xyes; then
5483 CREATE_PLUGIN_TRUE=
5484 CREATE_PLUGIN_FALSE='#'
5485 else
5486 CREATE_PLUGIN_TRUE='#'
5487 CREATE_PLUGIN_FALSE=
5491 # Check whether --enable-gmp was given.
5492 if test "${enable_gmp+set}" = set; then :
5493 enableval=$enable_gmp; case "${enableval}" in
5494 yes|true) COMPILE_GMP=yes ;;
5495 no|false) COMPILE_GMP=no ;;
5496 *) COMPILE_GMP=yes ;;
5497 esac
5498 else
5499 COMPILE_GMP=yes
5503 # Check whether --enable-gjdoc was given.
5504 if test "${enable_gjdoc+set}" = set; then :
5505 enableval=$enable_gjdoc; case "${enableval}" in
5506 yes) COMPILE_GJDOC=yes ;;
5507 no) COMPILE_GJDOC=no ;;
5508 *) COMPILE_GJDOC=yes ;;
5509 esac
5510 else
5511 COMPILE_GJDOC=yes
5514 if test "x${COMPILE_GJDOC}" = xyes; then
5515 CREATE_GJDOC_TRUE=
5516 CREATE_GJDOC_FALSE='#'
5517 else
5518 CREATE_GJDOC_TRUE='#'
5519 CREATE_GJDOC_FALSE=
5524 multi_os_directory=`$CC -print-multi-os-directory`
5525 case $multi_os_directory in
5526 .) toolexeclibdir=${libdir} ;; # Avoid trailing /.
5527 *) toolexeclibdir=${libdir}/${multi_os_directory} ;;
5528 esac
5533 # Check whether --with-native-libdir was given.
5534 if test "${with_native_libdir+set}" = set; then :
5535 withval=$with_native_libdir;
5536 nativeexeclibdir=${withval}
5538 else
5540 nativeexeclibdir='${toolexeclibdir}/gcj-'`cat ${srcdir}/../../gcc/BASE-VER`-`awk -F: '/^[^#].*:/ { print $1 }' ${srcdir}/../libtool-version`
5548 # Check whether --with-glibj-dir was given.
5549 if test "${with_glibj_dir+set}" = set; then :
5550 withval=$with_glibj_dir;
5551 glibjdir=${withval}
5553 else
5555 glibjdir='${datadir}/${PACKAGE}'
5563 # Check whether --with-antlr-jar was given.
5564 if test "${with_antlr_jar+set}" = set; then :
5565 withval=$with_antlr_jar;
5566 ANTLR_JAR=$withval
5568 else
5570 ANTLR_JAR="$ANTLR_JAR"
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the headers" >&5
5576 $as_echo_n "checking whether to regenerate the headers... " >&6; }
5577 # Check whether --enable-regen-headers was given.
5578 if test "${enable_regen_headers+set}" = set; then :
5579 enableval=$enable_regen_headers; case "${enableval}" in
5580 yes) REGENERATE_JNI_HEADERS=yes ;;
5581 no) REGENERATE_JNI_HEADERS=no ;;
5582 *) REGENERATE_JNI_HEADERS=yes ;;
5583 esac
5584 else
5585 if test -e ${srcdir}/include/java_lang_VMSystem.h; then
5586 REGENERATE_JNI_HEADERS=no ;
5587 else
5588 REGENERATE_JNI_HEADERS=yes ;
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_JNI_HEADERS}" >&5
5593 $as_echo "${REGENERATE_JNI_HEADERS}" >&6; }
5594 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
5595 CREATE_JNI_HEADERS_TRUE=
5596 CREATE_JNI_HEADERS_FALSE='#'
5597 else
5598 CREATE_JNI_HEADERS_TRUE='#'
5599 CREATE_JNI_HEADERS_FALSE=
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate the GJDoc parser" >&5
5604 $as_echo_n "checking whether to regenerate the GJDoc parser... " >&6; }
5605 # Check whether --enable-regen-gjdoc-parser was given.
5606 if test "${enable_regen_gjdoc_parser+set}" = set; then :
5607 enableval=$enable_regen_gjdoc_parser; case "${enableval}" in
5608 yes) REGENERATE_GJDOC_PARSER=yes ;;
5609 no) REGENERATE_GJDOC_PARSER=no ;;
5610 *) REGENERATE_GJDOC_PARSER=yes ;;
5611 esac
5612 else
5613 if test -e ${srcdir}/tools/generated/gnu/classpath/tools/gjdoc/expr/JavaLexer.java; then
5614 REGENERATE_GJDOC_PARSER=no ;
5615 else
5616 REGENERATE_GJDOC_PARSER=yes ;
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${REGENERATE_GJDOC_PARSER}" >&5
5621 $as_echo "${REGENERATE_GJDOC_PARSER}" >&6; }
5622 if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
5623 CREATE_GJDOC_PARSER_TRUE=
5624 CREATE_GJDOC_PARSER_FALSE='#'
5625 else
5626 CREATE_GJDOC_PARSER_TRUE='#'
5627 CREATE_GJDOC_PARSER_FALSE=
5631 # Check whether --enable-tool-wrappers was given.
5632 if test "${enable_tool_wrappers+set}" = set; then :
5633 enableval=$enable_tool_wrappers; case x"${enableval}" in
5634 xyes)
5635 COMPILE_WRAPPERS=yes;
5636 for ac_header in ltdl.h
5637 do :
5638 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
5639 if test "x$ac_cv_header_ltdl_h" = x""yes; then :
5640 cat >>confdefs.h <<_ACEOF
5641 #define HAVE_LTDL_H 1
5642 _ACEOF
5644 else
5645 as_fn_error "cannot find ltdl.h" "$LINENO" 5
5648 done
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopen in -lltdl" >&5
5651 $as_echo_n "checking for lt_dlopen in -lltdl... " >&6; }
5652 if test "${ac_cv_lib_ltdl_lt_dlopen+set}" = set; then :
5653 $as_echo_n "(cached) " >&6
5654 else
5655 ac_check_lib_save_LIBS=$LIBS
5656 LIBS="-lltdl $LIBS"
5657 if test x$gcc_no_link = xyes; then
5658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5663 /* Override any GCC internal prototype to avoid an error.
5664 Use char because int might match the return type of a GCC
5665 builtin and then its argument prototype would still apply. */
5666 #ifdef __cplusplus
5667 extern "C"
5668 #endif
5669 char lt_dlopen ();
5671 main ()
5673 return lt_dlopen ();
5675 return 0;
5677 _ACEOF
5678 if ac_fn_c_try_link "$LINENO"; then :
5679 ac_cv_lib_ltdl_lt_dlopen=yes
5680 else
5681 ac_cv_lib_ltdl_lt_dlopen=no
5683 rm -f core conftest.err conftest.$ac_objext \
5684 conftest$ac_exeext conftest.$ac_ext
5685 LIBS=$ac_check_lib_save_LIBS
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopen" >&5
5688 $as_echo "$ac_cv_lib_ltdl_lt_dlopen" >&6; }
5689 if test "x$ac_cv_lib_ltdl_lt_dlopen" = x""yes; then :
5690 cat >>confdefs.h <<_ACEOF
5691 #define HAVE_LIBLTDL 1
5692 _ACEOF
5694 LIBS="-lltdl $LIBS"
5696 else
5697 as_fn_error "cannot find libltdl" "$LINENO" 5
5701 xno) COMPILE_WRAPPERS=no ;;
5702 x) COMPILE_WRAPPERS=yes ;;
5703 *) COMPILE_WRAPPERS=yes ;;
5704 esac
5705 else
5706 COMPILE_WRAPPERS=no
5709 if test "x${COMPILE_WRAPPERS}" = xyes; then
5710 CREATE_WRAPPERS_TRUE=
5711 CREATE_WRAPPERS_FALSE='#'
5712 else
5713 CREATE_WRAPPERS_TRUE='#'
5714 CREATE_WRAPPERS_FALSE=
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5719 $as_echo_n "checking whether ln -s works... " >&6; }
5720 LN_S=$as_ln_s
5721 if test "$LN_S" = "ln -s"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5723 $as_echo "yes" >&6; }
5724 else
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5726 $as_echo "no, using $LN_S" >&6; }
5732 # Check whether --enable-static was given.
5733 if test "${enable_static+set}" = set; then :
5734 enableval=$enable_static; p=${PACKAGE-default}
5735 case $enableval in
5736 yes) enable_static=yes ;;
5737 no) enable_static=no ;;
5739 enable_static=no
5740 # Look at the argument we got. We use all the common list separators.
5741 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5742 for pkg in $enableval; do
5743 IFS="$lt_save_ifs"
5744 if test "X$pkg" = "X$p"; then
5745 enable_static=yes
5747 done
5748 IFS="$lt_save_ifs"
5750 esac
5751 else
5752 enable_static=no
5763 case `pwd` in
5764 *\ * | *\ *)
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5766 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5767 esac
5771 macro_version='2.2.7a'
5772 macro_revision='1.3134'
5786 ltmain="$ac_aux_dir/ltmain.sh"
5788 # Backslashify metacharacters that are still active within
5789 # double-quoted strings.
5790 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5792 # Same as above, but do not quote variable references.
5793 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5795 # Sed substitution to delay expansion of an escaped shell variable in a
5796 # double_quote_subst'ed string.
5797 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5799 # Sed substitution to delay expansion of an escaped single quote.
5800 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5802 # Sed substitution to avoid accidental globbing in evaled expressions
5803 no_glob_subst='s/\*/\\\*/g'
5805 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5806 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5807 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5810 $as_echo_n "checking how to print strings... " >&6; }
5811 # Test print first, because it will be a builtin if present.
5812 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5813 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5814 ECHO='print -r --'
5815 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5816 ECHO='printf %s\n'
5817 else
5818 # Use this function as a fallback that always works.
5819 func_fallback_echo ()
5821 eval 'cat <<_LTECHO_EOF
5823 _LTECHO_EOF'
5825 ECHO='func_fallback_echo'
5828 # func_echo_all arg...
5829 # Invoke $ECHO with all args, space-separated.
5830 func_echo_all ()
5832 $ECHO ""
5835 case "$ECHO" in
5836 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5837 $as_echo "printf" >&6; } ;;
5838 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5839 $as_echo "print -r" >&6; } ;;
5840 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5841 $as_echo "cat" >&6; } ;;
5842 esac
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5858 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5859 if test "${ac_cv_path_SED+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5863 for ac_i in 1 2 3 4 5 6 7; do
5864 ac_script="$ac_script$as_nl$ac_script"
5865 done
5866 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5867 { ac_script=; unset ac_script;}
5868 if test -z "$SED"; then
5869 ac_path_SED_found=false
5870 # Loop through the user's path and test for each of PROGNAME-LIST
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 for as_dir in $PATH
5874 IFS=$as_save_IFS
5875 test -z "$as_dir" && as_dir=.
5876 for ac_prog in sed gsed; do
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5879 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5880 # Check for GNU ac_path_SED and select it if it is found.
5881 # Check for GNU $ac_path_SED
5882 case `"$ac_path_SED" --version 2>&1` in
5883 *GNU*)
5884 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5886 ac_count=0
5887 $as_echo_n 0123456789 >"conftest.in"
5888 while :
5890 cat "conftest.in" "conftest.in" >"conftest.tmp"
5891 mv "conftest.tmp" "conftest.in"
5892 cp "conftest.in" "conftest.nl"
5893 $as_echo '' >> "conftest.nl"
5894 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5895 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5896 as_fn_arith $ac_count + 1 && ac_count=$as_val
5897 if test $ac_count -gt ${ac_path_SED_max-0}; then
5898 # Best one so far, save it but keep looking for a better one
5899 ac_cv_path_SED="$ac_path_SED"
5900 ac_path_SED_max=$ac_count
5902 # 10*(2^10) chars as input seems more than enough
5903 test $ac_count -gt 10 && break
5904 done
5905 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5906 esac
5908 $ac_path_SED_found && break 3
5909 done
5910 done
5911 done
5912 IFS=$as_save_IFS
5913 if test -z "$ac_cv_path_SED"; then
5914 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5916 else
5917 ac_cv_path_SED=$SED
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5922 $as_echo "$ac_cv_path_SED" >&6; }
5923 SED="$ac_cv_path_SED"
5924 rm -f conftest.sed
5926 test -z "$SED" && SED=sed
5927 Xsed="$SED -e 1s/^X//"
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5940 $as_echo_n "checking for fgrep... " >&6; }
5941 if test "${ac_cv_path_FGREP+set}" = set; then :
5942 $as_echo_n "(cached) " >&6
5943 else
5944 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5945 then ac_cv_path_FGREP="$GREP -F"
5946 else
5947 if test -z "$FGREP"; then
5948 ac_path_FGREP_found=false
5949 # Loop through the user's path and test for each of PROGNAME-LIST
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5953 IFS=$as_save_IFS
5954 test -z "$as_dir" && as_dir=.
5955 for ac_prog in fgrep; do
5956 for ac_exec_ext in '' $ac_executable_extensions; do
5957 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5958 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5959 # Check for GNU ac_path_FGREP and select it if it is found.
5960 # Check for GNU $ac_path_FGREP
5961 case `"$ac_path_FGREP" --version 2>&1` in
5962 *GNU*)
5963 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5965 ac_count=0
5966 $as_echo_n 0123456789 >"conftest.in"
5967 while :
5969 cat "conftest.in" "conftest.in" >"conftest.tmp"
5970 mv "conftest.tmp" "conftest.in"
5971 cp "conftest.in" "conftest.nl"
5972 $as_echo 'FGREP' >> "conftest.nl"
5973 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5974 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5975 as_fn_arith $ac_count + 1 && ac_count=$as_val
5976 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5977 # Best one so far, save it but keep looking for a better one
5978 ac_cv_path_FGREP="$ac_path_FGREP"
5979 ac_path_FGREP_max=$ac_count
5981 # 10*(2^10) chars as input seems more than enough
5982 test $ac_count -gt 10 && break
5983 done
5984 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5985 esac
5987 $ac_path_FGREP_found && break 3
5988 done
5989 done
5990 done
5991 IFS=$as_save_IFS
5992 if test -z "$ac_cv_path_FGREP"; then
5993 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5995 else
5996 ac_cv_path_FGREP=$FGREP
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6002 $as_echo "$ac_cv_path_FGREP" >&6; }
6003 FGREP="$ac_cv_path_FGREP"
6006 test -z "$GREP" && GREP=grep
6026 # Check whether --with-gnu-ld was given.
6027 if test "${with_gnu_ld+set}" = set; then :
6028 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6029 else
6030 with_gnu_ld=no
6033 ac_prog=ld
6034 if test "$GCC" = yes; then
6035 # Check if gcc -print-prog-name=ld gives a path.
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6037 $as_echo_n "checking for ld used by $CC... " >&6; }
6038 case $host in
6039 *-*-mingw*)
6040 # gcc leaves a trailing carriage return which upsets mingw
6041 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6043 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6044 esac
6045 case $ac_prog in
6046 # Accept absolute paths.
6047 [\\/]* | ?:[\\/]*)
6048 re_direlt='/[^/][^/]*/\.\./'
6049 # Canonicalize the pathname of ld
6050 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6051 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6052 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6053 done
6054 test -z "$LD" && LD="$ac_prog"
6057 # If it fails, then pretend we aren't using GCC.
6058 ac_prog=ld
6061 # If it is relative, then search for the first ld in PATH.
6062 with_gnu_ld=unknown
6064 esac
6065 elif test "$with_gnu_ld" = yes; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6067 $as_echo_n "checking for GNU ld... " >&6; }
6068 else
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6070 $as_echo_n "checking for non-GNU ld... " >&6; }
6072 if test "${lt_cv_path_LD+set}" = set; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 if test -z "$LD"; then
6076 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6077 for ac_dir in $PATH; do
6078 IFS="$lt_save_ifs"
6079 test -z "$ac_dir" && ac_dir=.
6080 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6081 lt_cv_path_LD="$ac_dir/$ac_prog"
6082 # Check to see if the program is GNU ld. I'd rather use --version,
6083 # but apparently some variants of GNU ld only accept -v.
6084 # Break only if it was the GNU/non-GNU ld that we prefer.
6085 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6086 *GNU* | *'with BFD'*)
6087 test "$with_gnu_ld" != no && break
6090 test "$with_gnu_ld" != yes && break
6092 esac
6094 done
6095 IFS="$lt_save_ifs"
6096 else
6097 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6101 LD="$lt_cv_path_LD"
6102 if test -n "$LD"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6104 $as_echo "$LD" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6109 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6111 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6112 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6113 $as_echo_n "(cached) " >&6
6114 else
6115 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6116 case `$LD -v 2>&1 </dev/null` in
6117 *GNU* | *'with BFD'*)
6118 lt_cv_prog_gnu_ld=yes
6121 lt_cv_prog_gnu_ld=no
6123 esac
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6126 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6127 with_gnu_ld=$lt_cv_prog_gnu_ld
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6138 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6139 if test "${lt_cv_path_NM+set}" = set; then :
6140 $as_echo_n "(cached) " >&6
6141 else
6142 if test -n "$NM"; then
6143 # Let the user override the test.
6144 lt_cv_path_NM="$NM"
6145 else
6146 lt_nm_to_check="${ac_tool_prefix}nm"
6147 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6148 lt_nm_to_check="$lt_nm_to_check nm"
6150 for lt_tmp_nm in $lt_nm_to_check; do
6151 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6152 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6153 IFS="$lt_save_ifs"
6154 test -z "$ac_dir" && ac_dir=.
6155 tmp_nm="$ac_dir/$lt_tmp_nm"
6156 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6157 # Check to see if the nm accepts a BSD-compat flag.
6158 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6159 # nm: unknown option "B" ignored
6160 # Tru64's nm complains that /dev/null is an invalid object file
6161 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6162 */dev/null* | *'Invalid file or object type'*)
6163 lt_cv_path_NM="$tmp_nm -B"
6164 break
6167 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6168 */dev/null*)
6169 lt_cv_path_NM="$tmp_nm -p"
6170 break
6173 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6174 continue # so that we can try to find one that supports BSD flags
6176 esac
6178 esac
6180 done
6181 IFS="$lt_save_ifs"
6182 done
6183 : ${lt_cv_path_NM=no}
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6187 $as_echo "$lt_cv_path_NM" >&6; }
6188 if test "$lt_cv_path_NM" != "no"; then
6189 NM="$lt_cv_path_NM"
6190 else
6191 # Didn't find any BSD compatible name lister, look for dumpbin.
6192 if test -n "$DUMPBIN"; then :
6193 # Let the user override the test.
6194 else
6195 if test -n "$ac_tool_prefix"; then
6196 for ac_prog in dumpbin "link -dump"
6198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 $as_echo_n "checking for $ac_word... " >&6; }
6202 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6203 $as_echo_n "(cached) " >&6
6204 else
6205 if test -n "$DUMPBIN"; then
6206 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6207 else
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 for as_dir in $PATH
6211 IFS=$as_save_IFS
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6215 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6217 break 2
6219 done
6220 done
6221 IFS=$as_save_IFS
6225 DUMPBIN=$ac_cv_prog_DUMPBIN
6226 if test -n "$DUMPBIN"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6228 $as_echo "$DUMPBIN" >&6; }
6229 else
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6235 test -n "$DUMPBIN" && break
6236 done
6238 if test -z "$DUMPBIN"; then
6239 ac_ct_DUMPBIN=$DUMPBIN
6240 for ac_prog in dumpbin "link -dump"
6242 # Extract the first word of "$ac_prog", so it can be a program name with args.
6243 set dummy $ac_prog; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245 $as_echo_n "checking for $ac_word... " >&6; }
6246 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6247 $as_echo_n "(cached) " >&6
6248 else
6249 if test -n "$ac_ct_DUMPBIN"; then
6250 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6255 IFS=$as_save_IFS
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 break 2
6263 done
6264 done
6265 IFS=$as_save_IFS
6269 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6270 if test -n "$ac_ct_DUMPBIN"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6272 $as_echo "$ac_ct_DUMPBIN" >&6; }
6273 else
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275 $as_echo "no" >&6; }
6279 test -n "$ac_ct_DUMPBIN" && break
6280 done
6282 if test "x$ac_ct_DUMPBIN" = x; then
6283 DUMPBIN=":"
6284 else
6285 case $cross_compiling:$ac_tool_warned in
6286 yes:)
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned=yes ;;
6290 esac
6291 DUMPBIN=$ac_ct_DUMPBIN
6295 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6296 *COFF*)
6297 DUMPBIN="$DUMPBIN -symbols"
6300 DUMPBIN=:
6302 esac
6305 if test "$DUMPBIN" != ":"; then
6306 NM="$DUMPBIN"
6309 test -z "$NM" && NM=nm
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6317 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6318 if test "${lt_cv_nm_interface+set}" = set; then :
6319 $as_echo_n "(cached) " >&6
6320 else
6321 lt_cv_nm_interface="BSD nm"
6322 echo "int some_variable = 0;" > conftest.$ac_ext
6323 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6324 (eval "$ac_compile" 2>conftest.err)
6325 cat conftest.err >&5
6326 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6327 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6328 cat conftest.err >&5
6329 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6330 cat conftest.out >&5
6331 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6332 lt_cv_nm_interface="MS dumpbin"
6334 rm -f conftest*
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6337 $as_echo "$lt_cv_nm_interface" >&6; }
6339 # find the maximum length of command line arguments
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6341 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6342 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6343 $as_echo_n "(cached) " >&6
6344 else
6346 teststring="ABCD"
6348 case $build_os in
6349 msdosdjgpp*)
6350 # On DJGPP, this test can blow up pretty badly due to problems in libc
6351 # (any single argument exceeding 2000 bytes causes a buffer overrun
6352 # during glob expansion). Even if it were fixed, the result of this
6353 # check would be larger than it should be.
6354 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6357 gnu*)
6358 # Under GNU Hurd, this test is not required because there is
6359 # no limit to the length of command line arguments.
6360 # Libtool will interpret -1 as no limit whatsoever
6361 lt_cv_sys_max_cmd_len=-1;
6364 cygwin* | mingw* | cegcc*)
6365 # On Win9x/ME, this test blows up -- it succeeds, but takes
6366 # about 5 minutes as the teststring grows exponentially.
6367 # Worse, since 9x/ME are not pre-emptively multitasking,
6368 # you end up with a "frozen" computer, even though with patience
6369 # the test eventually succeeds (with a max line length of 256k).
6370 # Instead, let's just punt: use the minimum linelength reported by
6371 # all of the supported platforms: 8192 (on NT/2K/XP).
6372 lt_cv_sys_max_cmd_len=8192;
6375 mint*)
6376 # On MiNT this can take a long time and run out of memory.
6377 lt_cv_sys_max_cmd_len=8192;
6380 amigaos*)
6381 # On AmigaOS with pdksh, this test takes hours, literally.
6382 # So we just punt and use a minimum line length of 8192.
6383 lt_cv_sys_max_cmd_len=8192;
6386 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6387 # This has been around since 386BSD, at least. Likely further.
6388 if test -x /sbin/sysctl; then
6389 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6390 elif test -x /usr/sbin/sysctl; then
6391 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6392 else
6393 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6395 # And add a safety zone
6396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6400 interix*)
6401 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6402 lt_cv_sys_max_cmd_len=196608
6405 osf*)
6406 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6407 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6408 # nice to cause kernel panics so lets avoid the loop below.
6409 # First set a reasonable default.
6410 lt_cv_sys_max_cmd_len=16384
6412 if test -x /sbin/sysconfig; then
6413 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6414 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6415 esac
6418 sco3.2v5*)
6419 lt_cv_sys_max_cmd_len=102400
6421 sysv5* | sco5v6* | sysv4.2uw2*)
6422 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6423 if test -n "$kargmax"; then
6424 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6425 else
6426 lt_cv_sys_max_cmd_len=32768
6430 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6431 if test -n "$lt_cv_sys_max_cmd_len"; then
6432 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6433 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6434 else
6435 # Make teststring a little bigger before we do anything with it.
6436 # a 1K string should be a reasonable start.
6437 for i in 1 2 3 4 5 6 7 8 ; do
6438 teststring=$teststring$teststring
6439 done
6440 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6441 # If test is not a shell built-in, we'll probably end up computing a
6442 # maximum length that is only half of the actual maximum length, but
6443 # we can't tell.
6444 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6445 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6446 test $i != 17 # 1/2 MB should be enough
6448 i=`expr $i + 1`
6449 teststring=$teststring$teststring
6450 done
6451 # Only check the string length outside the loop.
6452 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6453 teststring=
6454 # Add a significant safety factor because C++ compilers can tack on
6455 # massive amounts of additional arguments before passing them to the
6456 # linker. It appears as though 1/2 is a usable value.
6457 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6460 esac
6464 if test -n $lt_cv_sys_max_cmd_len ; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6466 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6467 else
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6469 $as_echo "none" >&6; }
6471 max_cmd_len=$lt_cv_sys_max_cmd_len
6478 : ${CP="cp -f"}
6479 : ${MV="mv -f"}
6480 : ${RM="rm -f"}
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6483 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6484 # Try some XSI features
6485 xsi_shell=no
6486 ( _lt_dummy="a/b/c"
6487 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6488 = c,a/b,, \
6489 && eval 'test $(( 1 + 1 )) -eq 2 \
6490 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6491 && xsi_shell=yes
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6493 $as_echo "$xsi_shell" >&6; }
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6497 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6498 lt_shell_append=no
6499 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6500 >/dev/null 2>&1 \
6501 && lt_shell_append=yes
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6503 $as_echo "$lt_shell_append" >&6; }
6506 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6507 lt_unset=unset
6508 else
6509 lt_unset=false
6516 # test EBCDIC or ASCII
6517 case `echo X|tr X '\101'` in
6518 A) # ASCII based system
6519 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6520 lt_SP2NL='tr \040 \012'
6521 lt_NL2SP='tr \015\012 \040\040'
6523 *) # EBCDIC based system
6524 lt_SP2NL='tr \100 \n'
6525 lt_NL2SP='tr \r\n \100\100'
6527 esac
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6538 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6539 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6540 $as_echo_n "(cached) " >&6
6541 else
6542 lt_cv_ld_reload_flag='-r'
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6545 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6546 reload_flag=$lt_cv_ld_reload_flag
6547 case $reload_flag in
6548 "" | " "*) ;;
6549 *) reload_flag=" $reload_flag" ;;
6550 esac
6551 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6552 case $host_os in
6553 darwin*)
6554 if test "$GCC" = yes; then
6555 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6556 else
6557 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6560 esac
6570 if test -n "$ac_tool_prefix"; then
6571 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6572 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6576 $as_echo_n "(cached) " >&6
6577 else
6578 if test -n "$OBJDUMP"; then
6579 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6580 else
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 for as_dir in $PATH
6584 IFS=$as_save_IFS
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6588 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 break 2
6592 done
6593 done
6594 IFS=$as_save_IFS
6598 OBJDUMP=$ac_cv_prog_OBJDUMP
6599 if test -n "$OBJDUMP"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6601 $as_echo "$OBJDUMP" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6609 if test -z "$ac_cv_prog_OBJDUMP"; then
6610 ac_ct_OBJDUMP=$OBJDUMP
6611 # Extract the first word of "objdump", so it can be a program name with args.
6612 set dummy objdump; ac_word=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6616 $as_echo_n "(cached) " >&6
6617 else
6618 if test -n "$ac_ct_OBJDUMP"; then
6619 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6620 else
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622 for as_dir in $PATH
6624 IFS=$as_save_IFS
6625 test -z "$as_dir" && as_dir=.
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 break 2
6632 done
6633 done
6634 IFS=$as_save_IFS
6638 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6639 if test -n "$ac_ct_OBJDUMP"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6641 $as_echo "$ac_ct_OBJDUMP" >&6; }
6642 else
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6647 if test "x$ac_ct_OBJDUMP" = x; then
6648 OBJDUMP="false"
6649 else
6650 case $cross_compiling:$ac_tool_warned in
6651 yes:)
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6654 ac_tool_warned=yes ;;
6655 esac
6656 OBJDUMP=$ac_ct_OBJDUMP
6658 else
6659 OBJDUMP="$ac_cv_prog_OBJDUMP"
6662 test -z "$OBJDUMP" && OBJDUMP=objdump
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6673 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6674 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6675 $as_echo_n "(cached) " >&6
6676 else
6677 lt_cv_file_magic_cmd='$MAGIC_CMD'
6678 lt_cv_file_magic_test_file=
6679 lt_cv_deplibs_check_method='unknown'
6680 # Need to set the preceding variable on all platforms that support
6681 # interlibrary dependencies.
6682 # 'none' -- dependencies not supported.
6683 # `unknown' -- same as none, but documents that we really don't know.
6684 # 'pass_all' -- all dependencies passed with no checks.
6685 # 'test_compile' -- check by making test program.
6686 # 'file_magic [[regex]]' -- check by looking for files in library path
6687 # which responds to the $file_magic_cmd with a given extended regex.
6688 # If you have `file' or equivalent on your system and you're not sure
6689 # whether `pass_all' will *always* work, you probably want this one.
6691 case $host_os in
6692 aix[4-9]*)
6693 lt_cv_deplibs_check_method=pass_all
6696 beos*)
6697 lt_cv_deplibs_check_method=pass_all
6700 bsdi[45]*)
6701 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6702 lt_cv_file_magic_cmd='/usr/bin/file -L'
6703 lt_cv_file_magic_test_file=/shlib/libc.so
6706 cygwin*)
6707 # func_win32_libid is a shell function defined in ltmain.sh
6708 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6709 lt_cv_file_magic_cmd='func_win32_libid'
6712 mingw* | pw32*)
6713 # Base MSYS/MinGW do not provide the 'file' command needed by
6714 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6715 # unless we find 'file', for example because we are cross-compiling.
6716 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6717 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6718 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6719 lt_cv_file_magic_cmd='func_win32_libid'
6720 else
6721 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6722 lt_cv_file_magic_cmd='$OBJDUMP -f'
6726 cegcc*)
6727 # use the weaker test based on 'objdump'. See mingw*.
6728 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6729 lt_cv_file_magic_cmd='$OBJDUMP -f'
6732 darwin* | rhapsody*)
6733 lt_cv_deplibs_check_method=pass_all
6736 freebsd* | dragonfly*)
6737 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6738 case $host_cpu in
6739 i*86 )
6740 # Not sure whether the presence of OpenBSD here was a mistake.
6741 # Let's accept both of them until this is cleared up.
6742 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6743 lt_cv_file_magic_cmd=/usr/bin/file
6744 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6746 esac
6747 else
6748 lt_cv_deplibs_check_method=pass_all
6752 gnu*)
6753 lt_cv_deplibs_check_method=pass_all
6756 haiku*)
6757 lt_cv_deplibs_check_method=pass_all
6760 hpux10.20* | hpux11*)
6761 lt_cv_file_magic_cmd=/usr/bin/file
6762 case $host_cpu in
6763 ia64*)
6764 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6765 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6767 hppa*64*)
6768 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]'
6769 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6772 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6773 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6775 esac
6778 interix[3-9]*)
6779 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6780 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6783 irix5* | irix6* | nonstopux*)
6784 case $LD in
6785 *-32|*"-32 ") libmagic=32-bit;;
6786 *-n32|*"-n32 ") libmagic=N32;;
6787 *-64|*"-64 ") libmagic=64-bit;;
6788 *) libmagic=never-match;;
6789 esac
6790 lt_cv_deplibs_check_method=pass_all
6793 # This must be Linux ELF.
6794 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6795 lt_cv_deplibs_check_method=pass_all
6798 netbsd*)
6799 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6800 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6801 else
6802 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6806 newos6*)
6807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6808 lt_cv_file_magic_cmd=/usr/bin/file
6809 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6812 *nto* | *qnx*)
6813 lt_cv_deplibs_check_method=pass_all
6816 openbsd*)
6817 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6818 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6819 else
6820 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6824 osf3* | osf4* | osf5*)
6825 lt_cv_deplibs_check_method=pass_all
6828 rdos*)
6829 lt_cv_deplibs_check_method=pass_all
6832 solaris*)
6833 lt_cv_deplibs_check_method=pass_all
6836 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6837 lt_cv_deplibs_check_method=pass_all
6840 sysv4 | sysv4.3*)
6841 case $host_vendor in
6842 motorola)
6843 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]'
6844 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6846 ncr)
6847 lt_cv_deplibs_check_method=pass_all
6849 sequent)
6850 lt_cv_file_magic_cmd='/bin/file'
6851 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6853 sni)
6854 lt_cv_file_magic_cmd='/bin/file'
6855 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6856 lt_cv_file_magic_test_file=/lib/libc.so
6858 siemens)
6859 lt_cv_deplibs_check_method=pass_all
6862 lt_cv_deplibs_check_method=pass_all
6864 esac
6867 tpf*)
6868 lt_cv_deplibs_check_method=pass_all
6870 esac
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6874 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6875 file_magic_cmd=$lt_cv_file_magic_cmd
6876 deplibs_check_method=$lt_cv_deplibs_check_method
6877 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}ar; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if test "${ac_cv_prog_AR+set}" = set; then :
6896 $as_echo_n "(cached) " >&6
6897 else
6898 if test -n "$AR"; then
6899 ac_cv_prog_AR="$AR" # Let the user override the test.
6900 else
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 for as_dir in $PATH
6904 IFS=$as_save_IFS
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908 ac_cv_prog_AR="${ac_tool_prefix}ar"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6910 break 2
6912 done
6913 done
6914 IFS=$as_save_IFS
6918 AR=$ac_cv_prog_AR
6919 if test -n "$AR"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6921 $as_echo "$AR" >&6; }
6922 else
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924 $as_echo "no" >&6; }
6929 if test -z "$ac_cv_prog_AR"; then
6930 ac_ct_AR=$AR
6931 # Extract the first word of "ar", so it can be a program name with args.
6932 set dummy ar; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6936 $as_echo_n "(cached) " >&6
6937 else
6938 if test -n "$ac_ct_AR"; then
6939 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6940 else
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 for as_dir in $PATH
6944 IFS=$as_save_IFS
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_prog_ac_ct_AR="ar"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 break 2
6952 done
6953 done
6954 IFS=$as_save_IFS
6958 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6959 if test -n "$ac_ct_AR"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6961 $as_echo "$ac_ct_AR" >&6; }
6962 else
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6967 if test "x$ac_ct_AR" = x; then
6968 AR="false"
6969 else
6970 case $cross_compiling:$ac_tool_warned in
6971 yes:)
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6974 ac_tool_warned=yes ;;
6975 esac
6976 AR=$ac_ct_AR
6978 else
6979 AR="$ac_cv_prog_AR"
6982 test -z "$AR" && AR=ar
6983 test -z "$AR_FLAGS" && AR_FLAGS=cru
6995 if test -n "$ac_tool_prefix"; then
6996 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}strip; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if test "${ac_cv_prog_STRIP+set}" = set; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 if test -n "$STRIP"; then
7004 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7009 IFS=$as_save_IFS
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 break 2
7017 done
7018 done
7019 IFS=$as_save_IFS
7023 STRIP=$ac_cv_prog_STRIP
7024 if test -n "$STRIP"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7026 $as_echo "$STRIP" >&6; }
7027 else
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7034 if test -z "$ac_cv_prog_STRIP"; then
7035 ac_ct_STRIP=$STRIP
7036 # Extract the first word of "strip", so it can be a program name with args.
7037 set dummy strip; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7041 $as_echo_n "(cached) " >&6
7042 else
7043 if test -n "$ac_ct_STRIP"; then
7044 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7049 IFS=$as_save_IFS
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053 ac_cv_prog_ac_ct_STRIP="strip"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 break 2
7057 done
7058 done
7059 IFS=$as_save_IFS
7063 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7064 if test -n "$ac_ct_STRIP"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7066 $as_echo "$ac_ct_STRIP" >&6; }
7067 else
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7072 if test "x$ac_ct_STRIP" = x; then
7073 STRIP=":"
7074 else
7075 case $cross_compiling:$ac_tool_warned in
7076 yes:)
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7079 ac_tool_warned=yes ;;
7080 esac
7081 STRIP=$ac_ct_STRIP
7083 else
7084 STRIP="$ac_cv_prog_STRIP"
7087 test -z "$STRIP" && STRIP=:
7094 if test -n "$ac_tool_prefix"; then
7095 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7096 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7100 $as_echo_n "(cached) " >&6
7101 else
7102 if test -n "$RANLIB"; then
7103 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7104 else
7105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106 for as_dir in $PATH
7108 IFS=$as_save_IFS
7109 test -z "$as_dir" && as_dir=.
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7112 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114 break 2
7116 done
7117 done
7118 IFS=$as_save_IFS
7122 RANLIB=$ac_cv_prog_RANLIB
7123 if test -n "$RANLIB"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7125 $as_echo "$RANLIB" >&6; }
7126 else
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7133 if test -z "$ac_cv_prog_RANLIB"; then
7134 ac_ct_RANLIB=$RANLIB
7135 # Extract the first word of "ranlib", so it can be a program name with args.
7136 set dummy ranlib; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7140 $as_echo_n "(cached) " >&6
7141 else
7142 if test -n "$ac_ct_RANLIB"; then
7143 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7148 IFS=$as_save_IFS
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 ac_cv_prog_ac_ct_RANLIB="ranlib"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154 break 2
7156 done
7157 done
7158 IFS=$as_save_IFS
7162 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7163 if test -n "$ac_ct_RANLIB"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7165 $as_echo "$ac_ct_RANLIB" >&6; }
7166 else
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7171 if test "x$ac_ct_RANLIB" = x; then
7172 RANLIB=":"
7173 else
7174 case $cross_compiling:$ac_tool_warned in
7175 yes:)
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7178 ac_tool_warned=yes ;;
7179 esac
7180 RANLIB=$ac_ct_RANLIB
7182 else
7183 RANLIB="$ac_cv_prog_RANLIB"
7186 test -z "$RANLIB" && RANLIB=:
7193 # Determine commands to create old-style static archives.
7194 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7195 old_postinstall_cmds='chmod 644 $oldlib'
7196 old_postuninstall_cmds=
7198 if test -n "$RANLIB"; then
7199 case $host_os in
7200 openbsd*)
7201 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7204 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7206 esac
7207 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7210 case $host_os in
7211 darwin*)
7212 lock_old_archive_extraction=yes ;;
7214 lock_old_archive_extraction=no ;;
7215 esac
7255 # If no C compiler was specified, use CC.
7256 LTCC=${LTCC-"$CC"}
7258 # If no C compiler flags were specified, use CFLAGS.
7259 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7261 # Allow CC to be a program name with arguments.
7262 compiler=$CC
7265 # Check for command to grab the raw symbol name followed by C symbol from nm.
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7267 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7268 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7269 $as_echo_n "(cached) " >&6
7270 else
7272 # These are sane defaults that work on at least a few old systems.
7273 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7275 # Character class describing NM global symbol codes.
7276 symcode='[BCDEGRST]'
7278 # Regexp to match symbols that can be accessed directly from C.
7279 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7281 # Define system-specific variables.
7282 case $host_os in
7283 aix*)
7284 symcode='[BCDT]'
7286 cygwin* | mingw* | pw32* | cegcc*)
7287 symcode='[ABCDGISTW]'
7289 hpux*)
7290 if test "$host_cpu" = ia64; then
7291 symcode='[ABCDEGRST]'
7294 irix* | nonstopux*)
7295 symcode='[BCDEGRST]'
7297 osf*)
7298 symcode='[BCDEGQRST]'
7300 solaris*)
7301 symcode='[BDRT]'
7303 sco3.2v5*)
7304 symcode='[DT]'
7306 sysv4.2uw2*)
7307 symcode='[DT]'
7309 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7310 symcode='[ABDT]'
7312 sysv4)
7313 symcode='[DFNSTU]'
7315 esac
7317 # If we're using GNU nm, then use its standard symbol codes.
7318 case `$NM -V 2>&1` in
7319 *GNU* | *'with BFD'*)
7320 symcode='[ABCDGIRSTW]' ;;
7321 esac
7323 # Transform an extracted symbol line into a proper C declaration.
7324 # Some systems (esp. on ia64) link data and code symbols differently,
7325 # so use this general approach.
7326 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7328 # Transform an extracted symbol line into symbol name and symbol address
7329 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7330 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'"
7332 # Handle CRLF in mingw tool chain
7333 opt_cr=
7334 case $build_os in
7335 mingw*)
7336 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7338 esac
7340 # Try without a prefix underscore, then with it.
7341 for ac_symprfx in "" "_"; do
7343 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7344 symxfrm="\\1 $ac_symprfx\\2 \\2"
7346 # Write the raw and C identifiers.
7347 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7348 # Fake it for dumpbin and say T for any non-static function
7349 # and D for any global variable.
7350 # Also find C++ and __fastcall symbols from MSVC++,
7351 # which start with @ or ?.
7352 lt_cv_sys_global_symbol_pipe="$AWK '"\
7353 " {last_section=section; section=\$ 3};"\
7354 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7355 " \$ 0!~/External *\|/{next};"\
7356 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7357 " {if(hide[section]) next};"\
7358 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7359 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7360 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7361 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7362 " ' prfx=^$ac_symprfx"
7363 else
7364 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7367 # Check to see that the pipe works correctly.
7368 pipe_works=no
7370 rm -f conftest*
7371 cat > conftest.$ac_ext <<_LT_EOF
7372 #ifdef __cplusplus
7373 extern "C" {
7374 #endif
7375 char nm_test_var;
7376 void nm_test_func(void);
7377 void nm_test_func(void){}
7378 #ifdef __cplusplus
7380 #endif
7381 int main(){nm_test_var='a';nm_test_func();return(0);}
7382 _LT_EOF
7384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7385 (eval $ac_compile) 2>&5
7386 ac_status=$?
7387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7388 test $ac_status = 0; }; then
7389 # Now try to grab the symbols.
7390 nlist=conftest.nm
7391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7392 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7393 ac_status=$?
7394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7395 test $ac_status = 0; } && test -s "$nlist"; then
7396 # Try sorting and uniquifying the output.
7397 if sort "$nlist" | uniq > "$nlist"T; then
7398 mv -f "$nlist"T "$nlist"
7399 else
7400 rm -f "$nlist"T
7403 # Make sure that we snagged all the symbols we need.
7404 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7405 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7406 cat <<_LT_EOF > conftest.$ac_ext
7407 #ifdef __cplusplus
7408 extern "C" {
7409 #endif
7411 _LT_EOF
7412 # Now generate the symbol file.
7413 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7415 cat <<_LT_EOF >> conftest.$ac_ext
7417 /* The mapping between symbol names and symbols. */
7418 const struct {
7419 const char *name;
7420 void *address;
7422 lt__PROGRAM__LTX_preloaded_symbols[] =
7424 { "@PROGRAM@", (void *) 0 },
7425 _LT_EOF
7426 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7427 cat <<\_LT_EOF >> conftest.$ac_ext
7428 {0, (void *) 0}
7431 /* This works around a problem in FreeBSD linker */
7432 #ifdef FREEBSD_WORKAROUND
7433 static const void *lt_preloaded_setup() {
7434 return lt__PROGRAM__LTX_preloaded_symbols;
7436 #endif
7438 #ifdef __cplusplus
7440 #endif
7441 _LT_EOF
7442 # Now try linking the two files.
7443 mv conftest.$ac_objext conftstm.$ac_objext
7444 lt_save_LIBS="$LIBS"
7445 lt_save_CFLAGS="$CFLAGS"
7446 LIBS="conftstm.$ac_objext"
7447 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7449 (eval $ac_link) 2>&5
7450 ac_status=$?
7451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7452 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7453 pipe_works=yes
7455 LIBS="$lt_save_LIBS"
7456 CFLAGS="$lt_save_CFLAGS"
7457 else
7458 echo "cannot find nm_test_func in $nlist" >&5
7460 else
7461 echo "cannot find nm_test_var in $nlist" >&5
7463 else
7464 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7466 else
7467 echo "$progname: failed program was:" >&5
7468 cat conftest.$ac_ext >&5
7470 rm -rf conftest* conftst*
7472 # Do not use the global_symbol_pipe unless it works.
7473 if test "$pipe_works" = yes; then
7474 break
7475 else
7476 lt_cv_sys_global_symbol_pipe=
7478 done
7482 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7483 lt_cv_sys_global_symbol_to_cdecl=
7485 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7487 $as_echo "failed" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7490 $as_echo "ok" >&6; }
7514 # Check whether --enable-libtool-lock was given.
7515 if test "${enable_libtool_lock+set}" = set; then :
7516 enableval=$enable_libtool_lock;
7519 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7521 # Some flags need to be propagated to the compiler or linker for good
7522 # libtool support.
7523 case $host in
7524 ia64-*-hpux*)
7525 # Find out which ABI we are using.
7526 echo 'int i;' > conftest.$ac_ext
7527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7528 (eval $ac_compile) 2>&5
7529 ac_status=$?
7530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7531 test $ac_status = 0; }; then
7532 case `/usr/bin/file conftest.$ac_objext` in
7533 *ELF-32*)
7534 HPUX_IA64_MODE="32"
7536 *ELF-64*)
7537 HPUX_IA64_MODE="64"
7539 esac
7541 rm -rf conftest*
7543 *-*-irix6*)
7544 # Find out which ABI we are using.
7545 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7547 (eval $ac_compile) 2>&5
7548 ac_status=$?
7549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7550 test $ac_status = 0; }; then
7551 if test "$lt_cv_prog_gnu_ld" = yes; then
7552 case `/usr/bin/file conftest.$ac_objext` in
7553 *32-bit*)
7554 LD="${LD-ld} -melf32bsmip"
7556 *N32*)
7557 LD="${LD-ld} -melf32bmipn32"
7559 *64-bit*)
7560 LD="${LD-ld} -melf64bmip"
7562 esac
7563 else
7564 case `/usr/bin/file conftest.$ac_objext` in
7565 *32-bit*)
7566 LD="${LD-ld} -32"
7568 *N32*)
7569 LD="${LD-ld} -n32"
7571 *64-bit*)
7572 LD="${LD-ld} -64"
7574 esac
7577 rm -rf conftest*
7580 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7581 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7582 # Find out which ABI we are using.
7583 echo 'int i;' > conftest.$ac_ext
7584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7585 (eval $ac_compile) 2>&5
7586 ac_status=$?
7587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7588 test $ac_status = 0; }; then
7589 case `/usr/bin/file conftest.o` in
7590 *32-bit*)
7591 case $host in
7592 x86_64-*kfreebsd*-gnu)
7593 LD="${LD-ld} -m elf_i386_fbsd"
7595 x86_64-*linux*)
7596 case `/usr/bin/file conftest.o` in
7597 *x86-64*)
7598 LD="${LD-ld} -m elf32_x86_64"
7601 LD="${LD-ld} -m elf_i386"
7603 esac
7605 powerpc64le-*linux*)
7606 LD="${LD-ld} -m elf32lppclinux"
7608 powerpc64-*linux*)
7609 LD="${LD-ld} -m elf32ppclinux"
7611 s390x-*linux*)
7612 LD="${LD-ld} -m elf_s390"
7614 sparc64-*linux*)
7615 LD="${LD-ld} -m elf32_sparc"
7617 esac
7619 *64-bit*)
7620 case $host in
7621 x86_64-*kfreebsd*-gnu)
7622 LD="${LD-ld} -m elf_x86_64_fbsd"
7624 x86_64-*linux*)
7625 LD="${LD-ld} -m elf_x86_64"
7627 powerpcle-*linux*)
7628 LD="${LD-ld} -m elf64lppc"
7630 powerpc-*linux*)
7631 LD="${LD-ld} -m elf64ppc"
7633 s390*-*linux*|s390*-*tpf*)
7634 LD="${LD-ld} -m elf64_s390"
7636 sparc*-*linux*)
7637 LD="${LD-ld} -m elf64_sparc"
7639 esac
7641 esac
7643 rm -rf conftest*
7646 *-*-sco3.2v5*)
7647 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7648 SAVE_CFLAGS="$CFLAGS"
7649 CFLAGS="$CFLAGS -belf"
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7651 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7652 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7653 $as_echo_n "(cached) " >&6
7654 else
7655 ac_ext=c
7656 ac_cpp='$CPP $CPPFLAGS'
7657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7661 if test x$gcc_no_link = xyes; then
7662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7668 main ()
7672 return 0;
7674 _ACEOF
7675 if ac_fn_c_try_link "$LINENO"; then :
7676 lt_cv_cc_needs_belf=yes
7677 else
7678 lt_cv_cc_needs_belf=no
7680 rm -f core conftest.err conftest.$ac_objext \
7681 conftest$ac_exeext conftest.$ac_ext
7682 ac_ext=c
7683 ac_cpp='$CPP $CPPFLAGS'
7684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7690 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7691 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7692 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7693 CFLAGS="$SAVE_CFLAGS"
7696 sparc*-*solaris*)
7697 # Find out which ABI we are using.
7698 echo 'int i;' > conftest.$ac_ext
7699 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7700 (eval $ac_compile) 2>&5
7701 ac_status=$?
7702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7703 test $ac_status = 0; }; then
7704 case `/usr/bin/file conftest.o` in
7705 *64-bit*)
7706 case $lt_cv_prog_gnu_ld in
7707 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7709 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7710 LD="${LD-ld} -64"
7713 esac
7715 esac
7717 rm -rf conftest*
7719 esac
7721 need_locks="$enable_libtool_lock"
7724 case $host_os in
7725 rhapsody* | darwin*)
7726 if test -n "$ac_tool_prefix"; then
7727 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7728 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7730 $as_echo_n "checking for $ac_word... " >&6; }
7731 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7732 $as_echo_n "(cached) " >&6
7733 else
7734 if test -n "$DSYMUTIL"; then
7735 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7736 else
7737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7738 for as_dir in $PATH
7740 IFS=$as_save_IFS
7741 test -z "$as_dir" && as_dir=.
7742 for ac_exec_ext in '' $ac_executable_extensions; do
7743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7744 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7746 break 2
7748 done
7749 done
7750 IFS=$as_save_IFS
7754 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7755 if test -n "$DSYMUTIL"; then
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7757 $as_echo "$DSYMUTIL" >&6; }
7758 else
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7760 $as_echo "no" >&6; }
7765 if test -z "$ac_cv_prog_DSYMUTIL"; then
7766 ac_ct_DSYMUTIL=$DSYMUTIL
7767 # Extract the first word of "dsymutil", so it can be a program name with args.
7768 set dummy dsymutil; ac_word=$2
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7770 $as_echo_n "checking for $ac_word... " >&6; }
7771 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 if test -n "$ac_ct_DSYMUTIL"; then
7775 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7776 else
7777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 for as_dir in $PATH
7780 IFS=$as_save_IFS
7781 test -z "$as_dir" && as_dir=.
7782 for ac_exec_ext in '' $ac_executable_extensions; do
7783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7784 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 break 2
7788 done
7789 done
7790 IFS=$as_save_IFS
7794 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7795 if test -n "$ac_ct_DSYMUTIL"; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7797 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7798 else
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800 $as_echo "no" >&6; }
7803 if test "x$ac_ct_DSYMUTIL" = x; then
7804 DSYMUTIL=":"
7805 else
7806 case $cross_compiling:$ac_tool_warned in
7807 yes:)
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7810 ac_tool_warned=yes ;;
7811 esac
7812 DSYMUTIL=$ac_ct_DSYMUTIL
7814 else
7815 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7818 if test -n "$ac_tool_prefix"; then
7819 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7820 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7822 $as_echo_n "checking for $ac_word... " >&6; }
7823 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 if test -n "$NMEDIT"; then
7827 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7828 else
7829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 for as_dir in $PATH
7832 IFS=$as_save_IFS
7833 test -z "$as_dir" && as_dir=.
7834 for ac_exec_ext in '' $ac_executable_extensions; do
7835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7836 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 break 2
7840 done
7841 done
7842 IFS=$as_save_IFS
7846 NMEDIT=$ac_cv_prog_NMEDIT
7847 if test -n "$NMEDIT"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7849 $as_echo "$NMEDIT" >&6; }
7850 else
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7852 $as_echo "no" >&6; }
7857 if test -z "$ac_cv_prog_NMEDIT"; then
7858 ac_ct_NMEDIT=$NMEDIT
7859 # Extract the first word of "nmedit", so it can be a program name with args.
7860 set dummy nmedit; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7862 $as_echo_n "checking for $ac_word... " >&6; }
7863 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 if test -n "$ac_ct_NMEDIT"; then
7867 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7868 else
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 for as_dir in $PATH
7872 IFS=$as_save_IFS
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 break 2
7880 done
7881 done
7882 IFS=$as_save_IFS
7886 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7887 if test -n "$ac_ct_NMEDIT"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7889 $as_echo "$ac_ct_NMEDIT" >&6; }
7890 else
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892 $as_echo "no" >&6; }
7895 if test "x$ac_ct_NMEDIT" = x; then
7896 NMEDIT=":"
7897 else
7898 case $cross_compiling:$ac_tool_warned in
7899 yes:)
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7902 ac_tool_warned=yes ;;
7903 esac
7904 NMEDIT=$ac_ct_NMEDIT
7906 else
7907 NMEDIT="$ac_cv_prog_NMEDIT"
7910 if test -n "$ac_tool_prefix"; then
7911 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7912 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914 $as_echo_n "checking for $ac_word... " >&6; }
7915 if test "${ac_cv_prog_LIPO+set}" = set; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 if test -n "$LIPO"; then
7919 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7920 else
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922 for as_dir in $PATH
7924 IFS=$as_save_IFS
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7928 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 break 2
7932 done
7933 done
7934 IFS=$as_save_IFS
7938 LIPO=$ac_cv_prog_LIPO
7939 if test -n "$LIPO"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7941 $as_echo "$LIPO" >&6; }
7942 else
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7944 $as_echo "no" >&6; }
7949 if test -z "$ac_cv_prog_LIPO"; then
7950 ac_ct_LIPO=$LIPO
7951 # Extract the first word of "lipo", so it can be a program name with args.
7952 set dummy lipo; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954 $as_echo_n "checking for $ac_word... " >&6; }
7955 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 if test -n "$ac_ct_LIPO"; then
7959 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7960 else
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 for as_dir in $PATH
7964 IFS=$as_save_IFS
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7968 ac_cv_prog_ac_ct_LIPO="lipo"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 break 2
7972 done
7973 done
7974 IFS=$as_save_IFS
7978 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7979 if test -n "$ac_ct_LIPO"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7981 $as_echo "$ac_ct_LIPO" >&6; }
7982 else
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7987 if test "x$ac_ct_LIPO" = x; then
7988 LIPO=":"
7989 else
7990 case $cross_compiling:$ac_tool_warned in
7991 yes:)
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7994 ac_tool_warned=yes ;;
7995 esac
7996 LIPO=$ac_ct_LIPO
7998 else
7999 LIPO="$ac_cv_prog_LIPO"
8002 if test -n "$ac_tool_prefix"; then
8003 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8004 set dummy ${ac_tool_prefix}otool; ac_word=$2
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006 $as_echo_n "checking for $ac_word... " >&6; }
8007 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8008 $as_echo_n "(cached) " >&6
8009 else
8010 if test -n "$OTOOL"; then
8011 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8012 else
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014 for as_dir in $PATH
8016 IFS=$as_save_IFS
8017 test -z "$as_dir" && as_dir=.
8018 for ac_exec_ext in '' $ac_executable_extensions; do
8019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 break 2
8024 done
8025 done
8026 IFS=$as_save_IFS
8030 OTOOL=$ac_cv_prog_OTOOL
8031 if test -n "$OTOOL"; then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8033 $as_echo "$OTOOL" >&6; }
8034 else
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8036 $as_echo "no" >&6; }
8041 if test -z "$ac_cv_prog_OTOOL"; then
8042 ac_ct_OTOOL=$OTOOL
8043 # Extract the first word of "otool", so it can be a program name with args.
8044 set dummy otool; ac_word=$2
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8046 $as_echo_n "checking for $ac_word... " >&6; }
8047 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8048 $as_echo_n "(cached) " >&6
8049 else
8050 if test -n "$ac_ct_OTOOL"; then
8051 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8052 else
8053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 for as_dir in $PATH
8056 IFS=$as_save_IFS
8057 test -z "$as_dir" && as_dir=.
8058 for ac_exec_ext in '' $ac_executable_extensions; do
8059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8060 ac_cv_prog_ac_ct_OTOOL="otool"
8061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8062 break 2
8064 done
8065 done
8066 IFS=$as_save_IFS
8070 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8071 if test -n "$ac_ct_OTOOL"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8073 $as_echo "$ac_ct_OTOOL" >&6; }
8074 else
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8079 if test "x$ac_ct_OTOOL" = x; then
8080 OTOOL=":"
8081 else
8082 case $cross_compiling:$ac_tool_warned in
8083 yes:)
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8086 ac_tool_warned=yes ;;
8087 esac
8088 OTOOL=$ac_ct_OTOOL
8090 else
8091 OTOOL="$ac_cv_prog_OTOOL"
8094 if test -n "$ac_tool_prefix"; then
8095 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8096 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8098 $as_echo_n "checking for $ac_word... " >&6; }
8099 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8100 $as_echo_n "(cached) " >&6
8101 else
8102 if test -n "$OTOOL64"; then
8103 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8104 else
8105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 for as_dir in $PATH
8108 IFS=$as_save_IFS
8109 test -z "$as_dir" && as_dir=.
8110 for ac_exec_ext in '' $ac_executable_extensions; do
8111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8112 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8114 break 2
8116 done
8117 done
8118 IFS=$as_save_IFS
8122 OTOOL64=$ac_cv_prog_OTOOL64
8123 if test -n "$OTOOL64"; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8125 $as_echo "$OTOOL64" >&6; }
8126 else
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8128 $as_echo "no" >&6; }
8133 if test -z "$ac_cv_prog_OTOOL64"; then
8134 ac_ct_OTOOL64=$OTOOL64
8135 # Extract the first word of "otool64", so it can be a program name with args.
8136 set dummy otool64; ac_word=$2
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8138 $as_echo_n "checking for $ac_word... " >&6; }
8139 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 if test -n "$ac_ct_OTOOL64"; then
8143 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8144 else
8145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 for as_dir in $PATH
8148 IFS=$as_save_IFS
8149 test -z "$as_dir" && as_dir=.
8150 for ac_exec_ext in '' $ac_executable_extensions; do
8151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8152 ac_cv_prog_ac_ct_OTOOL64="otool64"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8154 break 2
8156 done
8157 done
8158 IFS=$as_save_IFS
8162 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8163 if test -n "$ac_ct_OTOOL64"; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8165 $as_echo "$ac_ct_OTOOL64" >&6; }
8166 else
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8171 if test "x$ac_ct_OTOOL64" = x; then
8172 OTOOL64=":"
8173 else
8174 case $cross_compiling:$ac_tool_warned in
8175 yes:)
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8178 ac_tool_warned=yes ;;
8179 esac
8180 OTOOL64=$ac_ct_OTOOL64
8182 else
8183 OTOOL64="$ac_cv_prog_OTOOL64"
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8213 $as_echo_n "checking for -single_module linker flag... " >&6; }
8214 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 lt_cv_apple_cc_single_mod=no
8218 if test -z "${LT_MULTI_MODULE}"; then
8219 # By default we will add the -single_module flag. You can override
8220 # by either setting the environment variable LT_MULTI_MODULE
8221 # non-empty at configure time, or by adding -multi_module to the
8222 # link flags.
8223 rm -rf libconftest.dylib*
8224 echo "int foo(void){return 1;}" > conftest.c
8225 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8226 -dynamiclib -Wl,-single_module conftest.c" >&5
8227 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8228 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8229 _lt_result=$?
8230 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8231 lt_cv_apple_cc_single_mod=yes
8232 else
8233 cat conftest.err >&5
8235 rm -rf libconftest.dylib*
8236 rm -f conftest.*
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8240 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8242 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8243 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 lt_cv_ld_exported_symbols_list=no
8247 save_LDFLAGS=$LDFLAGS
8248 echo "_main" > conftest.sym
8249 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8250 if test x$gcc_no_link = xyes; then
8251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8257 main ()
8261 return 0;
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 lt_cv_ld_exported_symbols_list=yes
8266 else
8267 lt_cv_ld_exported_symbols_list=no
8269 rm -f core conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 LDFLAGS="$save_LDFLAGS"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8275 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8277 $as_echo_n "checking for -force_load linker flag... " >&6; }
8278 if test "${lt_cv_ld_force_load+set}" = set; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 lt_cv_ld_force_load=no
8282 cat > conftest.c << _LT_EOF
8283 int forced_loaded() { return 2;}
8284 _LT_EOF
8285 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8286 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8287 echo "$AR cru libconftest.a conftest.o" >&5
8288 $AR cru libconftest.a conftest.o 2>&5
8289 cat > conftest.c << _LT_EOF
8290 int main() { return 0;}
8291 _LT_EOF
8292 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8293 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8294 _lt_result=$?
8295 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8296 lt_cv_ld_force_load=yes
8297 else
8298 cat conftest.err >&5
8300 rm -f conftest.err libconftest.a conftest conftest.c
8301 rm -rf conftest.dSYM
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8305 $as_echo "$lt_cv_ld_force_load" >&6; }
8306 case $host_os in
8307 rhapsody* | darwin1.[012])
8308 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8309 darwin1.*)
8310 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8311 darwin*) # darwin 5.x on
8312 # if running on 10.5 or later, the deployment target defaults
8313 # to the OS version, if on x86, and 10.4, the deployment
8314 # target defaults to 10.4. Don't you love it?
8315 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8316 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8317 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8318 10.[012]*)
8319 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8320 10.*)
8321 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8322 esac
8324 esac
8325 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8326 _lt_dar_single_mod='$single_module'
8328 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8329 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8330 else
8331 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8333 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8334 _lt_dsymutil='~$DSYMUTIL $lib || :'
8335 else
8336 _lt_dsymutil=
8339 esac
8341 for ac_header in dlfcn.h
8342 do :
8343 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8345 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8346 cat >>confdefs.h <<_ACEOF
8347 #define HAVE_DLFCN_H 1
8348 _ACEOF
8352 done
8358 # Set options
8362 enable_dlopen=no
8365 enable_win32_dll=no
8368 # Check whether --enable-shared was given.
8369 if test "${enable_shared+set}" = set; then :
8370 enableval=$enable_shared; p=${PACKAGE-default}
8371 case $enableval in
8372 yes) enable_shared=yes ;;
8373 no) enable_shared=no ;;
8375 enable_shared=no
8376 # Look at the argument we got. We use all the common list separators.
8377 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8378 for pkg in $enableval; do
8379 IFS="$lt_save_ifs"
8380 if test "X$pkg" = "X$p"; then
8381 enable_shared=yes
8383 done
8384 IFS="$lt_save_ifs"
8386 esac
8387 else
8388 enable_shared=yes
8401 # Check whether --with-pic was given.
8402 if test "${with_pic+set}" = set; then :
8403 withval=$with_pic; pic_mode="$withval"
8404 else
8405 pic_mode=default
8409 test -z "$pic_mode" && pic_mode=default
8417 # Check whether --enable-fast-install was given.
8418 if test "${enable_fast_install+set}" = set; then :
8419 enableval=$enable_fast_install; p=${PACKAGE-default}
8420 case $enableval in
8421 yes) enable_fast_install=yes ;;
8422 no) enable_fast_install=no ;;
8424 enable_fast_install=no
8425 # Look at the argument we got. We use all the common list separators.
8426 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8427 for pkg in $enableval; do
8428 IFS="$lt_save_ifs"
8429 if test "X$pkg" = "X$p"; then
8430 enable_fast_install=yes
8432 done
8433 IFS="$lt_save_ifs"
8435 esac
8436 else
8437 enable_fast_install=yes
8450 # This can be used to rebuild libtool when needed
8451 LIBTOOL_DEPS="$ltmain"
8453 # Always use our own libtool.
8454 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8481 test -z "$LN_S" && LN_S="ln -s"
8496 if test -n "${ZSH_VERSION+set}" ; then
8497 setopt NO_GLOB_SUBST
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8501 $as_echo_n "checking for objdir... " >&6; }
8502 if test "${lt_cv_objdir+set}" = set; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 rm -f .libs 2>/dev/null
8506 mkdir .libs 2>/dev/null
8507 if test -d .libs; then
8508 lt_cv_objdir=.libs
8509 else
8510 # MS-DOS does not allow filenames that begin with a dot.
8511 lt_cv_objdir=_libs
8513 rmdir .libs 2>/dev/null
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8516 $as_echo "$lt_cv_objdir" >&6; }
8517 objdir=$lt_cv_objdir
8523 cat >>confdefs.h <<_ACEOF
8524 #define LT_OBJDIR "$lt_cv_objdir/"
8525 _ACEOF
8530 case $host_os in
8531 aix3*)
8532 # AIX sometimes has problems with the GCC collect2 program. For some
8533 # reason, if we set the COLLECT_NAMES environment variable, the problems
8534 # vanish in a puff of smoke.
8535 if test "X${COLLECT_NAMES+set}" != Xset; then
8536 COLLECT_NAMES=
8537 export COLLECT_NAMES
8540 esac
8542 # Global variables:
8543 ofile=libtool
8544 can_build_shared=yes
8546 # All known linkers require a `.a' archive for static linking (except MSVC,
8547 # which needs '.lib').
8548 libext=a
8550 with_gnu_ld="$lt_cv_prog_gnu_ld"
8552 old_CC="$CC"
8553 old_CFLAGS="$CFLAGS"
8555 # Set sane defaults for various variables
8556 test -z "$CC" && CC=cc
8557 test -z "$LTCC" && LTCC=$CC
8558 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8559 test -z "$LD" && LD=ld
8560 test -z "$ac_objext" && ac_objext=o
8562 for cc_temp in $compiler""; do
8563 case $cc_temp in
8564 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8565 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8566 \-*) ;;
8567 *) break;;
8568 esac
8569 done
8570 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8573 # Only perform the check for file, if the check method requires it
8574 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8575 case $deplibs_check_method in
8576 file_magic*)
8577 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8579 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8580 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8582 else
8583 case $MAGIC_CMD in
8584 [\\/*] | ?:[\\/]*)
8585 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8588 lt_save_MAGIC_CMD="$MAGIC_CMD"
8589 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8590 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8591 for ac_dir in $ac_dummy; do
8592 IFS="$lt_save_ifs"
8593 test -z "$ac_dir" && ac_dir=.
8594 if test -f $ac_dir/${ac_tool_prefix}file; then
8595 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8596 if test -n "$file_magic_test_file"; then
8597 case $deplibs_check_method in
8598 "file_magic "*)
8599 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8600 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8601 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8602 $EGREP "$file_magic_regex" > /dev/null; then
8604 else
8605 cat <<_LT_EOF 1>&2
8607 *** Warning: the command libtool uses to detect shared libraries,
8608 *** $file_magic_cmd, produces output that libtool cannot recognize.
8609 *** The result is that libtool may fail to recognize shared libraries
8610 *** as such. This will affect the creation of libtool libraries that
8611 *** depend on shared libraries, but programs linked with such libtool
8612 *** libraries will work regardless of this problem. Nevertheless, you
8613 *** may want to report the problem to your system manager and/or to
8614 *** bug-libtool@gnu.org
8616 _LT_EOF
8617 fi ;;
8618 esac
8620 break
8622 done
8623 IFS="$lt_save_ifs"
8624 MAGIC_CMD="$lt_save_MAGIC_CMD"
8626 esac
8629 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8630 if test -n "$MAGIC_CMD"; then
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8632 $as_echo "$MAGIC_CMD" >&6; }
8633 else
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8635 $as_echo "no" >&6; }
8642 if test -z "$lt_cv_path_MAGIC_CMD"; then
8643 if test -n "$ac_tool_prefix"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8645 $as_echo_n "checking for file... " >&6; }
8646 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8647 $as_echo_n "(cached) " >&6
8648 else
8649 case $MAGIC_CMD in
8650 [\\/*] | ?:[\\/]*)
8651 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8654 lt_save_MAGIC_CMD="$MAGIC_CMD"
8655 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8656 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8657 for ac_dir in $ac_dummy; do
8658 IFS="$lt_save_ifs"
8659 test -z "$ac_dir" && ac_dir=.
8660 if test -f $ac_dir/file; then
8661 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8662 if test -n "$file_magic_test_file"; then
8663 case $deplibs_check_method in
8664 "file_magic "*)
8665 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8666 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8667 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8668 $EGREP "$file_magic_regex" > /dev/null; then
8670 else
8671 cat <<_LT_EOF 1>&2
8673 *** Warning: the command libtool uses to detect shared libraries,
8674 *** $file_magic_cmd, produces output that libtool cannot recognize.
8675 *** The result is that libtool may fail to recognize shared libraries
8676 *** as such. This will affect the creation of libtool libraries that
8677 *** depend on shared libraries, but programs linked with such libtool
8678 *** libraries will work regardless of this problem. Nevertheless, you
8679 *** may want to report the problem to your system manager and/or to
8680 *** bug-libtool@gnu.org
8682 _LT_EOF
8683 fi ;;
8684 esac
8686 break
8688 done
8689 IFS="$lt_save_ifs"
8690 MAGIC_CMD="$lt_save_MAGIC_CMD"
8692 esac
8695 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8696 if test -n "$MAGIC_CMD"; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8698 $as_echo "$MAGIC_CMD" >&6; }
8699 else
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8701 $as_echo "no" >&6; }
8705 else
8706 MAGIC_CMD=:
8712 esac
8714 # Use C for the default configuration in the libtool script
8716 lt_save_CC="$CC"
8717 ac_ext=c
8718 ac_cpp='$CPP $CPPFLAGS'
8719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8724 # Source file extension for C test sources.
8725 ac_ext=c
8727 # Object file extension for compiled C test sources.
8728 objext=o
8729 objext=$objext
8731 # Code to be used in simple compile tests
8732 lt_simple_compile_test_code="int some_variable = 0;"
8734 # Code to be used in simple link tests
8735 lt_simple_link_test_code='int main(){return(0);}'
8743 # If no C compiler was specified, use CC.
8744 LTCC=${LTCC-"$CC"}
8746 # If no C compiler flags were specified, use CFLAGS.
8747 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8749 # Allow CC to be a program name with arguments.
8750 compiler=$CC
8752 # Save the default compiler, since it gets overwritten when the other
8753 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8754 compiler_DEFAULT=$CC
8756 # save warnings/boilerplate of simple test code
8757 ac_outfile=conftest.$ac_objext
8758 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8759 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8760 _lt_compiler_boilerplate=`cat conftest.err`
8761 $RM conftest*
8763 ac_outfile=conftest.$ac_objext
8764 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8765 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8766 _lt_linker_boilerplate=`cat conftest.err`
8767 $RM -r conftest*
8770 ## CAVEAT EMPTOR:
8771 ## There is no encapsulation within the following macros, do not change
8772 ## the running order or otherwise move them around unless you know exactly
8773 ## what you are doing...
8774 if test -n "$compiler"; then
8776 lt_prog_compiler_no_builtin_flag=
8778 if test "$GCC" = yes; then
8779 case $cc_basename in
8780 nvcc*)
8781 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8783 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8784 esac
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8787 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8788 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 lt_cv_prog_compiler_rtti_exceptions=no
8792 ac_outfile=conftest.$ac_objext
8793 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8794 lt_compiler_flag="-fno-rtti -fno-exceptions"
8795 # Insert the option either (1) after the last *FLAGS variable, or
8796 # (2) before a word containing "conftest.", or (3) at the end.
8797 # Note that $ac_compile itself does not contain backslashes and begins
8798 # with a dollar sign (not a hyphen), so the echo should work correctly.
8799 # The option is referenced via a variable to avoid confusing sed.
8800 lt_compile=`echo "$ac_compile" | $SED \
8801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8803 -e 's:$: $lt_compiler_flag:'`
8804 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8805 (eval "$lt_compile" 2>conftest.err)
8806 ac_status=$?
8807 cat conftest.err >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 if (exit $ac_status) && test -s "$ac_outfile"; then
8810 # The compiler can only warn and ignore the option if not recognized
8811 # So say no if there are warnings other than the usual output.
8812 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8813 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8814 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8815 lt_cv_prog_compiler_rtti_exceptions=yes
8818 $RM conftest*
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8822 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8824 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8825 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8826 else
8837 lt_prog_compiler_wl=
8838 lt_prog_compiler_pic=
8839 lt_prog_compiler_static=
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8842 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8844 if test "$GCC" = yes; then
8845 lt_prog_compiler_wl='-Wl,'
8846 lt_prog_compiler_static='-static'
8848 case $host_os in
8849 aix*)
8850 # All AIX code is PIC.
8851 if test "$host_cpu" = ia64; then
8852 # AIX 5 now supports IA64 processor
8853 lt_prog_compiler_static='-Bstatic'
8855 lt_prog_compiler_pic='-fPIC'
8858 amigaos*)
8859 case $host_cpu in
8860 powerpc)
8861 # see comment about AmigaOS4 .so support
8862 lt_prog_compiler_pic='-fPIC'
8864 m68k)
8865 # FIXME: we need at least 68020 code to build shared libraries, but
8866 # adding the `-m68020' flag to GCC prevents building anything better,
8867 # like `-m68040'.
8868 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8870 esac
8873 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8874 # PIC is the default for these OSes.
8877 mingw* | cygwin* | pw32* | os2* | cegcc*)
8878 # This hack is so that the source file can tell whether it is being
8879 # built for inclusion in a dll (and should export symbols for example).
8880 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8881 # (--disable-auto-import) libraries
8882 lt_prog_compiler_pic='-DDLL_EXPORT'
8885 darwin* | rhapsody*)
8886 # PIC is the default on this platform
8887 # Common symbols not allowed in MH_DYLIB files
8888 lt_prog_compiler_pic='-fno-common'
8891 haiku*)
8892 # PIC is the default for Haiku.
8893 # The "-static" flag exists, but is broken.
8894 lt_prog_compiler_static=
8897 hpux*)
8898 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8899 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8900 # sets the default TLS model and affects inlining.
8901 case $host_cpu in
8902 hppa*64*)
8903 # +Z the default
8906 lt_prog_compiler_pic='-fPIC'
8908 esac
8911 interix[3-9]*)
8912 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8913 # Instead, we relocate shared libraries at runtime.
8916 msdosdjgpp*)
8917 # Just because we use GCC doesn't mean we suddenly get shared libraries
8918 # on systems that don't support them.
8919 lt_prog_compiler_can_build_shared=no
8920 enable_shared=no
8923 *nto* | *qnx*)
8924 # QNX uses GNU C++, but need to define -shared option too, otherwise
8925 # it will coredump.
8926 lt_prog_compiler_pic='-fPIC -shared'
8929 sysv4*MP*)
8930 if test -d /usr/nec; then
8931 lt_prog_compiler_pic=-Kconform_pic
8936 lt_prog_compiler_pic='-fPIC'
8938 esac
8940 case $cc_basename in
8941 nvcc*) # Cuda Compiler Driver 2.2
8942 lt_prog_compiler_wl='-Xlinker '
8943 lt_prog_compiler_pic='-Xcompiler -fPIC'
8945 esac
8946 else
8947 # PORTME Check for flag to pass linker flags through the system compiler.
8948 case $host_os in
8949 aix*)
8950 lt_prog_compiler_wl='-Wl,'
8951 if test "$host_cpu" = ia64; then
8952 # AIX 5 now supports IA64 processor
8953 lt_prog_compiler_static='-Bstatic'
8954 else
8955 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8959 mingw* | cygwin* | pw32* | os2* | cegcc*)
8960 # This hack is so that the source file can tell whether it is being
8961 # built for inclusion in a dll (and should export symbols for example).
8962 lt_prog_compiler_pic='-DDLL_EXPORT'
8965 hpux9* | hpux10* | hpux11*)
8966 lt_prog_compiler_wl='-Wl,'
8967 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8968 # not for PA HP-UX.
8969 case $host_cpu in
8970 hppa*64*|ia64*)
8971 # +Z the default
8974 lt_prog_compiler_pic='+Z'
8976 esac
8977 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8978 lt_prog_compiler_static='${wl}-a ${wl}archive'
8981 irix5* | irix6* | nonstopux*)
8982 lt_prog_compiler_wl='-Wl,'
8983 # PIC (with -KPIC) is the default.
8984 lt_prog_compiler_static='-non_shared'
8987 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8988 case $cc_basename in
8989 # old Intel for x86_64 which still supported -KPIC.
8990 ecc*)
8991 lt_prog_compiler_wl='-Wl,'
8992 lt_prog_compiler_pic='-KPIC'
8993 lt_prog_compiler_static='-static'
8995 # icc used to be incompatible with GCC.
8996 # ICC 10 doesn't accept -KPIC any more.
8997 icc* | ifort*)
8998 lt_prog_compiler_wl='-Wl,'
8999 lt_prog_compiler_pic='-fPIC'
9000 lt_prog_compiler_static='-static'
9002 # Lahey Fortran 8.1.
9003 lf95*)
9004 lt_prog_compiler_wl='-Wl,'
9005 lt_prog_compiler_pic='--shared'
9006 lt_prog_compiler_static='--static'
9008 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9009 # Portland Group compilers (*not* the Pentium gcc compiler,
9010 # which looks to be a dead project)
9011 lt_prog_compiler_wl='-Wl,'
9012 lt_prog_compiler_pic='-fpic'
9013 lt_prog_compiler_static='-Bstatic'
9015 ccc*)
9016 lt_prog_compiler_wl='-Wl,'
9017 # All Alpha code is PIC.
9018 lt_prog_compiler_static='-non_shared'
9020 xl* | bgxl* | bgf* | mpixl*)
9021 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9022 lt_prog_compiler_wl='-Wl,'
9023 lt_prog_compiler_pic='-qpic'
9024 lt_prog_compiler_static='-qstaticlink'
9027 case `$CC -V 2>&1 | sed 5q` in
9028 *Sun\ F* | *Sun*Fortran*)
9029 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9030 lt_prog_compiler_pic='-KPIC'
9031 lt_prog_compiler_static='-Bstatic'
9032 lt_prog_compiler_wl=''
9034 *Sun\ C*)
9035 # Sun C 5.9
9036 lt_prog_compiler_pic='-KPIC'
9037 lt_prog_compiler_static='-Bstatic'
9038 lt_prog_compiler_wl='-Wl,'
9040 esac
9042 esac
9045 newsos6)
9046 lt_prog_compiler_pic='-KPIC'
9047 lt_prog_compiler_static='-Bstatic'
9050 *nto* | *qnx*)
9051 # QNX uses GNU C++, but need to define -shared option too, otherwise
9052 # it will coredump.
9053 lt_prog_compiler_pic='-fPIC -shared'
9056 osf3* | osf4* | osf5*)
9057 lt_prog_compiler_wl='-Wl,'
9058 # All OSF/1 code is PIC.
9059 lt_prog_compiler_static='-non_shared'
9062 rdos*)
9063 lt_prog_compiler_static='-non_shared'
9066 solaris*)
9067 lt_prog_compiler_pic='-KPIC'
9068 lt_prog_compiler_static='-Bstatic'
9069 case $cc_basename in
9070 f77* | f90* | f95*)
9071 lt_prog_compiler_wl='-Qoption ld ';;
9073 lt_prog_compiler_wl='-Wl,';;
9074 esac
9077 sunos4*)
9078 lt_prog_compiler_wl='-Qoption ld '
9079 lt_prog_compiler_pic='-PIC'
9080 lt_prog_compiler_static='-Bstatic'
9083 sysv4 | sysv4.2uw2* | sysv4.3*)
9084 lt_prog_compiler_wl='-Wl,'
9085 lt_prog_compiler_pic='-KPIC'
9086 lt_prog_compiler_static='-Bstatic'
9089 sysv4*MP*)
9090 if test -d /usr/nec ;then
9091 lt_prog_compiler_pic='-Kconform_pic'
9092 lt_prog_compiler_static='-Bstatic'
9096 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9097 lt_prog_compiler_wl='-Wl,'
9098 lt_prog_compiler_pic='-KPIC'
9099 lt_prog_compiler_static='-Bstatic'
9102 unicos*)
9103 lt_prog_compiler_wl='-Wl,'
9104 lt_prog_compiler_can_build_shared=no
9107 uts4*)
9108 lt_prog_compiler_pic='-pic'
9109 lt_prog_compiler_static='-Bstatic'
9113 lt_prog_compiler_can_build_shared=no
9115 esac
9118 case $host_os in
9119 # For platforms which do not support PIC, -DPIC is meaningless:
9120 *djgpp*)
9121 lt_prog_compiler_pic=
9124 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9126 esac
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9128 $as_echo "$lt_prog_compiler_pic" >&6; }
9136 # Check to make sure the PIC flag actually works.
9138 if test -n "$lt_prog_compiler_pic"; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9140 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9141 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9142 $as_echo_n "(cached) " >&6
9143 else
9144 lt_cv_prog_compiler_pic_works=no
9145 ac_outfile=conftest.$ac_objext
9146 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9147 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9148 # Insert the option either (1) after the last *FLAGS variable, or
9149 # (2) before a word containing "conftest.", or (3) at the end.
9150 # Note that $ac_compile itself does not contain backslashes and begins
9151 # with a dollar sign (not a hyphen), so the echo should work correctly.
9152 # The option is referenced via a variable to avoid confusing sed.
9153 lt_compile=`echo "$ac_compile" | $SED \
9154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9156 -e 's:$: $lt_compiler_flag:'`
9157 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9158 (eval "$lt_compile" 2>conftest.err)
9159 ac_status=$?
9160 cat conftest.err >&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 if (exit $ac_status) && test -s "$ac_outfile"; then
9163 # The compiler can only warn and ignore the option if not recognized
9164 # So say no if there are warnings other than the usual output.
9165 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9166 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9167 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9168 lt_cv_prog_compiler_pic_works=yes
9171 $RM conftest*
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9175 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9177 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9178 case $lt_prog_compiler_pic in
9179 "" | " "*) ;;
9180 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9181 esac
9182 else
9183 lt_prog_compiler_pic=
9184 lt_prog_compiler_can_build_shared=no
9195 # Check to make sure the static flag actually works.
9197 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9199 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9200 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9201 $as_echo_n "(cached) " >&6
9202 else
9203 lt_cv_prog_compiler_static_works=no
9204 save_LDFLAGS="$LDFLAGS"
9205 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9206 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9207 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9208 # The linker can only warn and ignore the option if not recognized
9209 # So say no if there are warnings
9210 if test -s conftest.err; then
9211 # Append any errors to the config.log.
9212 cat conftest.err 1>&5
9213 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9214 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9215 if diff conftest.exp conftest.er2 >/dev/null; then
9216 lt_cv_prog_compiler_static_works=yes
9218 else
9219 lt_cv_prog_compiler_static_works=yes
9222 $RM -r conftest*
9223 LDFLAGS="$save_LDFLAGS"
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9227 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9229 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9231 else
9232 lt_prog_compiler_static=
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9242 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9243 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9244 $as_echo_n "(cached) " >&6
9245 else
9246 lt_cv_prog_compiler_c_o=no
9247 $RM -r conftest 2>/dev/null
9248 mkdir conftest
9249 cd conftest
9250 mkdir out
9251 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9253 lt_compiler_flag="-o out/conftest2.$ac_objext"
9254 # Insert the option either (1) after the last *FLAGS variable, or
9255 # (2) before a word containing "conftest.", or (3) at the end.
9256 # Note that $ac_compile itself does not contain backslashes and begins
9257 # with a dollar sign (not a hyphen), so the echo should work correctly.
9258 lt_compile=`echo "$ac_compile" | $SED \
9259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9261 -e 's:$: $lt_compiler_flag:'`
9262 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9263 (eval "$lt_compile" 2>out/conftest.err)
9264 ac_status=$?
9265 cat out/conftest.err >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9268 then
9269 # The compiler can only warn and ignore the option if not recognized
9270 # So say no if there are warnings
9271 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9272 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9273 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9274 lt_cv_prog_compiler_c_o=yes
9277 chmod u+w . 2>&5
9278 $RM conftest*
9279 # SGI C++ compiler will create directory out/ii_files/ for
9280 # template instantiation
9281 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9282 $RM out/* && rmdir out
9283 cd ..
9284 $RM -r conftest
9285 $RM conftest*
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9289 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9297 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9298 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 lt_cv_prog_compiler_c_o=no
9302 $RM -r conftest 2>/dev/null
9303 mkdir conftest
9304 cd conftest
9305 mkdir out
9306 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9308 lt_compiler_flag="-o out/conftest2.$ac_objext"
9309 # Insert the option either (1) after the last *FLAGS variable, or
9310 # (2) before a word containing "conftest.", or (3) at the end.
9311 # Note that $ac_compile itself does not contain backslashes and begins
9312 # with a dollar sign (not a hyphen), so the echo should work correctly.
9313 lt_compile=`echo "$ac_compile" | $SED \
9314 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9315 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9316 -e 's:$: $lt_compiler_flag:'`
9317 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9318 (eval "$lt_compile" 2>out/conftest.err)
9319 ac_status=$?
9320 cat out/conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9323 then
9324 # The compiler can only warn and ignore the option if not recognized
9325 # So say no if there are warnings
9326 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9327 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9328 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9329 lt_cv_prog_compiler_c_o=yes
9332 chmod u+w . 2>&5
9333 $RM conftest*
9334 # SGI C++ compiler will create directory out/ii_files/ for
9335 # template instantiation
9336 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9337 $RM out/* && rmdir out
9338 cd ..
9339 $RM -r conftest
9340 $RM conftest*
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9344 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9349 hard_links="nottested"
9350 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9351 # do not overwrite the value of need_locks provided by the user
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9353 $as_echo_n "checking if we can lock with hard links... " >&6; }
9354 hard_links=yes
9355 $RM conftest*
9356 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9357 touch conftest.a
9358 ln conftest.a conftest.b 2>&5 || hard_links=no
9359 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9361 $as_echo "$hard_links" >&6; }
9362 if test "$hard_links" = no; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9364 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9365 need_locks=warn
9367 else
9368 need_locks=no
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9377 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9379 runpath_var=
9380 allow_undefined_flag=
9381 always_export_symbols=no
9382 archive_cmds=
9383 archive_expsym_cmds=
9384 compiler_needs_object=no
9385 enable_shared_with_static_runtimes=no
9386 export_dynamic_flag_spec=
9387 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9388 hardcode_automatic=no
9389 hardcode_direct=no
9390 hardcode_direct_absolute=no
9391 hardcode_libdir_flag_spec=
9392 hardcode_libdir_flag_spec_ld=
9393 hardcode_libdir_separator=
9394 hardcode_minus_L=no
9395 hardcode_shlibpath_var=unsupported
9396 inherit_rpath=no
9397 link_all_deplibs=unknown
9398 module_cmds=
9399 module_expsym_cmds=
9400 old_archive_from_new_cmds=
9401 old_archive_from_expsyms_cmds=
9402 thread_safe_flag_spec=
9403 whole_archive_flag_spec=
9404 # include_expsyms should be a list of space-separated symbols to be *always*
9405 # included in the symbol list
9406 include_expsyms=
9407 # exclude_expsyms can be an extended regexp of symbols to exclude
9408 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9409 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9410 # as well as any symbol that contains `d'.
9411 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9412 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9413 # platforms (ab)use it in PIC code, but their linkers get confused if
9414 # the symbol is explicitly referenced. Since portable code cannot
9415 # rely on this symbol name, it's probably fine to never include it in
9416 # preloaded symbol tables.
9417 # Exclude shared library initialization/finalization symbols.
9418 extract_expsyms_cmds=
9420 case $host_os in
9421 cygwin* | mingw* | pw32* | cegcc*)
9422 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9423 # When not using gcc, we currently assume that we are using
9424 # Microsoft Visual C++.
9425 if test "$GCC" != yes; then
9426 with_gnu_ld=no
9429 interix*)
9430 # we just hope/assume this is gcc and not c89 (= MSVC++)
9431 with_gnu_ld=yes
9433 openbsd*)
9434 with_gnu_ld=no
9436 esac
9438 ld_shlibs=yes
9440 # On some targets, GNU ld is compatible enough with the native linker
9441 # that we're better off using the native interface for both.
9442 lt_use_gnu_ld_interface=no
9443 if test "$with_gnu_ld" = yes; then
9444 case $host_os in
9445 aix*)
9446 # The AIX port of GNU ld has always aspired to compatibility
9447 # with the native linker. However, as the warning in the GNU ld
9448 # block says, versions before 2.19.5* couldn't really create working
9449 # shared libraries, regardless of the interface used.
9450 case `$LD -v 2>&1` in
9451 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9452 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9453 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9455 lt_use_gnu_ld_interface=yes
9457 esac
9460 lt_use_gnu_ld_interface=yes
9462 esac
9465 if test "$lt_use_gnu_ld_interface" = yes; then
9466 # If archive_cmds runs LD, not CC, wlarc should be empty
9467 wlarc='${wl}'
9469 # Set some defaults for GNU ld with shared library support. These
9470 # are reset later if shared libraries are not supported. Putting them
9471 # here allows them to be overridden if necessary.
9472 runpath_var=LD_RUN_PATH
9473 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9474 export_dynamic_flag_spec='${wl}--export-dynamic'
9475 # ancient GNU ld didn't support --whole-archive et. al.
9476 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9477 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9478 else
9479 whole_archive_flag_spec=
9481 supports_anon_versioning=no
9482 case `$LD -v 2>&1` in
9483 *GNU\ gold*) supports_anon_versioning=yes ;;
9484 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9485 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9486 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9487 *\ 2.11.*) ;; # other 2.11 versions
9488 *) supports_anon_versioning=yes ;;
9489 esac
9491 # See if GNU ld supports shared libraries.
9492 case $host_os in
9493 aix[3-9]*)
9494 # On AIX/PPC, the GNU linker is very broken
9495 if test "$host_cpu" != ia64; then
9496 ld_shlibs=no
9497 cat <<_LT_EOF 1>&2
9499 *** Warning: the GNU linker, at least up to release 2.19, is reported
9500 *** to be unable to reliably create shared libraries on AIX.
9501 *** Therefore, libtool is disabling shared libraries support. If you
9502 *** really care for shared libraries, you may want to install binutils
9503 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9504 *** You will then need to restart the configuration process.
9506 _LT_EOF
9510 amigaos*)
9511 case $host_cpu in
9512 powerpc)
9513 # see comment about AmigaOS4 .so support
9514 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9515 archive_expsym_cmds=''
9517 m68k)
9518 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)'
9519 hardcode_libdir_flag_spec='-L$libdir'
9520 hardcode_minus_L=yes
9522 esac
9525 beos*)
9526 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9527 allow_undefined_flag=unsupported
9528 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9529 # support --undefined. This deserves some investigation. FIXME
9530 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9531 else
9532 ld_shlibs=no
9536 cygwin* | mingw* | pw32* | cegcc*)
9537 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9538 # as there is no search path for DLLs.
9539 hardcode_libdir_flag_spec='-L$libdir'
9540 export_dynamic_flag_spec='${wl}--export-all-symbols'
9541 allow_undefined_flag=unsupported
9542 always_export_symbols=no
9543 enable_shared_with_static_runtimes=yes
9544 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9546 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9548 # If the export-symbols file already is a .def file (1st line
9549 # is EXPORTS), use it as is; otherwise, prepend...
9550 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9551 cp $export_symbols $output_objdir/$soname.def;
9552 else
9553 echo EXPORTS > $output_objdir/$soname.def;
9554 cat $export_symbols >> $output_objdir/$soname.def;
9556 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9557 else
9558 ld_shlibs=no
9562 haiku*)
9563 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9564 link_all_deplibs=yes
9567 interix[3-9]*)
9568 hardcode_direct=no
9569 hardcode_shlibpath_var=no
9570 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9571 export_dynamic_flag_spec='${wl}-E'
9572 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9573 # Instead, shared libraries are loaded at an image base (0x10000000 by
9574 # default) and relocated if they conflict, which is a slow very memory
9575 # consuming and fragmenting process. To avoid this, we pick a random,
9576 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9577 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9578 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9579 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'
9582 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9583 tmp_diet=no
9584 if test "$host_os" = linux-dietlibc; then
9585 case $cc_basename in
9586 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9587 esac
9589 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9590 && test "$tmp_diet" = no
9591 then
9592 tmp_addflag=
9593 tmp_sharedflag='-shared'
9594 case $cc_basename,$host_cpu in
9595 pgcc*) # Portland Group C compiler
9596 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'
9597 tmp_addflag=' $pic_flag'
9599 pgf77* | pgf90* | pgf95* | pgfortran*)
9600 # Portland Group f77 and f90 compilers
9601 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'
9602 tmp_addflag=' $pic_flag -Mnomain' ;;
9603 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9604 tmp_addflag=' -i_dynamic' ;;
9605 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9606 tmp_addflag=' -i_dynamic -nofor_main' ;;
9607 ifc* | ifort*) # Intel Fortran compiler
9608 tmp_addflag=' -nofor_main' ;;
9609 lf95*) # Lahey Fortran 8.1
9610 whole_archive_flag_spec=
9611 tmp_sharedflag='--shared' ;;
9612 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9613 tmp_sharedflag='-qmkshrobj'
9614 tmp_addflag= ;;
9615 nvcc*) # Cuda Compiler Driver 2.2
9616 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'
9617 compiler_needs_object=yes
9619 esac
9620 case `$CC -V 2>&1 | sed 5q` in
9621 *Sun\ C*) # Sun C 5.9
9622 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'
9623 compiler_needs_object=yes
9624 tmp_sharedflag='-G' ;;
9625 *Sun\ F*) # Sun Fortran 8.3
9626 tmp_sharedflag='-G' ;;
9627 esac
9628 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630 if test "x$supports_anon_versioning" = xyes; then
9631 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9632 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9633 echo "local: *; };" >> $output_objdir/$libname.ver~
9634 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9637 case $cc_basename in
9638 xlf* | bgf* | bgxlf* | mpixlf*)
9639 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9640 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9641 hardcode_libdir_flag_spec=
9642 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9643 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9644 if test "x$supports_anon_versioning" = xyes; then
9645 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9646 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9647 echo "local: *; };" >> $output_objdir/$libname.ver~
9648 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9651 esac
9652 else
9653 ld_shlibs=no
9657 netbsd*)
9658 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9659 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9660 wlarc=
9661 else
9662 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9663 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9667 solaris*)
9668 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9669 ld_shlibs=no
9670 cat <<_LT_EOF 1>&2
9672 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9673 *** create shared libraries on Solaris systems. Therefore, libtool
9674 *** is disabling shared libraries support. We urge you to upgrade GNU
9675 *** binutils to release 2.9.1 or newer. Another option is to modify
9676 *** your PATH or compiler configuration so that the native linker is
9677 *** used, and then restart.
9679 _LT_EOF
9680 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9683 else
9684 ld_shlibs=no
9688 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9689 case `$LD -v 2>&1` in
9690 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9691 ld_shlibs=no
9692 cat <<_LT_EOF 1>&2
9694 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9695 *** reliably create shared libraries on SCO systems. Therefore, libtool
9696 *** is disabling shared libraries support. We urge you to upgrade GNU
9697 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9698 *** your PATH or compiler configuration so that the native linker is
9699 *** used, and then restart.
9701 _LT_EOF
9704 # For security reasons, it is highly recommended that you always
9705 # use absolute paths for naming shared libraries, and exclude the
9706 # DT_RUNPATH tag from executables and libraries. But doing so
9707 # requires that you compile everything twice, which is a pain.
9708 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9709 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9710 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9711 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9712 else
9713 ld_shlibs=no
9716 esac
9719 sunos4*)
9720 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9721 wlarc=
9722 hardcode_direct=yes
9723 hardcode_shlibpath_var=no
9727 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9730 else
9731 ld_shlibs=no
9734 esac
9736 if test "$ld_shlibs" = no; then
9737 runpath_var=
9738 hardcode_libdir_flag_spec=
9739 export_dynamic_flag_spec=
9740 whole_archive_flag_spec=
9742 else
9743 # PORTME fill in a description of your system's linker (not GNU ld)
9744 case $host_os in
9745 aix3*)
9746 allow_undefined_flag=unsupported
9747 always_export_symbols=yes
9748 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'
9749 # Note: this linker hardcodes the directories in LIBPATH if there
9750 # are no directories specified by -L.
9751 hardcode_minus_L=yes
9752 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9753 # Neither direct hardcoding nor static linking is supported with a
9754 # broken collect2.
9755 hardcode_direct=unsupported
9759 aix[4-9]*)
9760 if test "$host_cpu" = ia64; then
9761 # On IA64, the linker does run time linking by default, so we don't
9762 # have to do anything special.
9763 aix_use_runtimelinking=no
9764 exp_sym_flag='-Bexport'
9765 no_entry_flag=""
9766 else
9767 # If we're using GNU nm, then we don't want the "-C" option.
9768 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9769 # Also, AIX nm treats weak defined symbols like other global
9770 # defined symbols, whereas GNU nm marks them as "W".
9771 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9772 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'
9773 else
9774 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'
9776 aix_use_runtimelinking=no
9778 # Test if we are trying to use run time linking or normal
9779 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9780 # need to do runtime linking.
9781 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9782 for ld_flag in $LDFLAGS; do
9783 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9784 aix_use_runtimelinking=yes
9785 break
9787 done
9789 esac
9791 exp_sym_flag='-bexport'
9792 no_entry_flag='-bnoentry'
9795 # When large executables or shared objects are built, AIX ld can
9796 # have problems creating the table of contents. If linking a library
9797 # or program results in "error TOC overflow" add -mminimal-toc to
9798 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9799 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9801 archive_cmds=''
9802 hardcode_direct=yes
9803 hardcode_direct_absolute=yes
9804 hardcode_libdir_separator=':'
9805 link_all_deplibs=yes
9806 file_list_spec='${wl}-f,'
9808 if test "$GCC" = yes; then
9809 case $host_os in aix4.[012]|aix4.[012].*)
9810 # We only want to do this on AIX 4.2 and lower, the check
9811 # below for broken collect2 doesn't work under 4.3+
9812 collect2name=`${CC} -print-prog-name=collect2`
9813 if test -f "$collect2name" &&
9814 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9815 then
9816 # We have reworked collect2
9818 else
9819 # We have old collect2
9820 hardcode_direct=unsupported
9821 # It fails to find uninstalled libraries when the uninstalled
9822 # path is not listed in the libpath. Setting hardcode_minus_L
9823 # to unsupported forces relinking
9824 hardcode_minus_L=yes
9825 hardcode_libdir_flag_spec='-L$libdir'
9826 hardcode_libdir_separator=
9829 esac
9830 shared_flag='-shared'
9831 if test "$aix_use_runtimelinking" = yes; then
9832 shared_flag="$shared_flag "'${wl}-G'
9834 else
9835 # not using gcc
9836 if test "$host_cpu" = ia64; then
9837 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9838 # chokes on -Wl,-G. The following line is correct:
9839 shared_flag='-G'
9840 else
9841 if test "$aix_use_runtimelinking" = yes; then
9842 shared_flag='${wl}-G'
9843 else
9844 shared_flag='${wl}-bM:SRE'
9849 export_dynamic_flag_spec='${wl}-bexpall'
9850 # It seems that -bexpall does not export symbols beginning with
9851 # underscore (_), so it is better to generate a list of symbols to export.
9852 always_export_symbols=yes
9853 if test "$aix_use_runtimelinking" = yes; then
9854 # Warning - without using the other runtime loading flags (-brtl),
9855 # -berok will link without error, but may produce a broken library.
9856 allow_undefined_flag='-berok'
9857 # Determine the default libpath from the value encoded in an
9858 # empty executable.
9859 if test x$gcc_no_link = xyes; then
9860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9866 main ()
9870 return 0;
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9875 lt_aix_libpath_sed='
9876 /Import File Strings/,/^$/ {
9877 /^0/ {
9878 s/^0 *\(.*\)$/\1/
9882 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9883 # Check for a 64-bit object if we didn't find anything.
9884 if test -z "$aix_libpath"; then
9885 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9892 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9893 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"
9894 else
9895 if test "$host_cpu" = ia64; then
9896 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9897 allow_undefined_flag="-z nodefs"
9898 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"
9899 else
9900 # Determine the default libpath from the value encoded in an
9901 # empty executable.
9902 if test x$gcc_no_link = xyes; then
9903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9909 main ()
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9918 lt_aix_libpath_sed='
9919 /Import File Strings/,/^$/ {
9920 /^0/ {
9921 s/^0 *\(.*\)$/\1/
9925 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9926 # Check for a 64-bit object if we didn't find anything.
9927 if test -z "$aix_libpath"; then
9928 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9935 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9936 # Warning - without using the other run time loading flags,
9937 # -berok will link without error, but may produce a broken library.
9938 no_undefined_flag=' ${wl}-bernotok'
9939 allow_undefined_flag=' ${wl}-berok'
9940 if test "$with_gnu_ld" = yes; then
9941 # We only use this code for GNU lds that support --whole-archive.
9942 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9943 else
9944 # Exported symbols can be pulled into shared objects from archives
9945 whole_archive_flag_spec='$convenience'
9947 archive_cmds_need_lc=yes
9948 # This is similar to how AIX traditionally builds its shared libraries.
9949 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'
9954 amigaos*)
9955 case $host_cpu in
9956 powerpc)
9957 # see comment about AmigaOS4 .so support
9958 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9959 archive_expsym_cmds=''
9961 m68k)
9962 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)'
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9966 esac
9969 bsdi[45]*)
9970 export_dynamic_flag_spec=-rdynamic
9973 cygwin* | mingw* | pw32* | cegcc*)
9974 # When not using gcc, we currently assume that we are using
9975 # Microsoft Visual C++.
9976 # hardcode_libdir_flag_spec is actually meaningless, as there is
9977 # no search path for DLLs.
9978 hardcode_libdir_flag_spec=' '
9979 allow_undefined_flag=unsupported
9980 # Tell ltmain to make .lib files, not .a files.
9981 libext=lib
9982 # Tell ltmain to make .dll files, not .so files.
9983 shrext_cmds=".dll"
9984 # FIXME: Setting linknames here is a bad hack.
9985 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9986 # The linker will automatically build a .lib file if we build a DLL.
9987 old_archive_from_new_cmds='true'
9988 # FIXME: Should let the user specify the lib program.
9989 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9990 fix_srcfile_path='`cygpath -w "$srcfile"`'
9991 enable_shared_with_static_runtimes=yes
9994 darwin* | rhapsody*)
9997 archive_cmds_need_lc=no
9998 hardcode_direct=no
9999 hardcode_automatic=yes
10000 hardcode_shlibpath_var=unsupported
10001 if test "$lt_cv_ld_force_load" = "yes"; then
10002 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\"`'
10003 else
10004 whole_archive_flag_spec=''
10006 link_all_deplibs=yes
10007 allow_undefined_flag="$_lt_dar_allow_undefined"
10008 case $cc_basename in
10009 ifort*) _lt_dar_can_shared=yes ;;
10010 *) _lt_dar_can_shared=$GCC ;;
10011 esac
10012 if test "$_lt_dar_can_shared" = "yes"; then
10013 output_verbose_link_cmd=func_echo_all
10014 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10015 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10016 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}"
10017 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}"
10019 else
10020 ld_shlibs=no
10025 dgux*)
10026 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_libdir_flag_spec='-L$libdir'
10028 hardcode_shlibpath_var=no
10031 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10032 # support. Future versions do this automatically, but an explicit c++rt0.o
10033 # does not break anything, and helps significantly (at the cost of a little
10034 # extra space).
10035 freebsd2.2*)
10036 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10037 hardcode_libdir_flag_spec='-R$libdir'
10038 hardcode_direct=yes
10039 hardcode_shlibpath_var=no
10042 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10043 freebsd2.*)
10044 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10045 hardcode_direct=yes
10046 hardcode_minus_L=yes
10047 hardcode_shlibpath_var=no
10050 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10051 freebsd* | dragonfly*)
10052 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10053 hardcode_libdir_flag_spec='-R$libdir'
10054 hardcode_direct=yes
10055 hardcode_shlibpath_var=no
10058 hpux9*)
10059 if test "$GCC" = yes; then
10060 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'
10061 else
10062 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'
10064 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10065 hardcode_libdir_separator=:
10066 hardcode_direct=yes
10068 # hardcode_minus_L: Not really in the search PATH,
10069 # but as the default location of the library.
10070 hardcode_minus_L=yes
10071 export_dynamic_flag_spec='${wl}-E'
10074 hpux10*)
10075 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10076 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10077 else
10078 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10080 if test "$with_gnu_ld" = no; then
10081 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10082 hardcode_libdir_flag_spec_ld='+b $libdir'
10083 hardcode_libdir_separator=:
10084 hardcode_direct=yes
10085 hardcode_direct_absolute=yes
10086 export_dynamic_flag_spec='${wl}-E'
10087 # hardcode_minus_L: Not really in the search PATH,
10088 # but as the default location of the library.
10089 hardcode_minus_L=yes
10093 hpux11*)
10094 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10095 case $host_cpu in
10096 hppa*64*)
10097 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10099 ia64*)
10100 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10105 esac
10106 else
10107 case $host_cpu in
10108 hppa*64*)
10109 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 ia64*)
10112 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10116 # Older versions of the 11.00 compiler do not understand -b yet
10117 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10119 $as_echo_n "checking if $CC understands -b... " >&6; }
10120 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10121 $as_echo_n "(cached) " >&6
10122 else
10123 lt_cv_prog_compiler__b=no
10124 save_LDFLAGS="$LDFLAGS"
10125 LDFLAGS="$LDFLAGS -b"
10126 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10127 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10128 # The linker can only warn and ignore the option if not recognized
10129 # So say no if there are warnings
10130 if test -s conftest.err; then
10131 # Append any errors to the config.log.
10132 cat conftest.err 1>&5
10133 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10134 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10135 if diff conftest.exp conftest.er2 >/dev/null; then
10136 lt_cv_prog_compiler__b=yes
10138 else
10139 lt_cv_prog_compiler__b=yes
10142 $RM -r conftest*
10143 LDFLAGS="$save_LDFLAGS"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10147 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10149 if test x"$lt_cv_prog_compiler__b" = xyes; then
10150 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10151 else
10152 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10156 esac
10158 if test "$with_gnu_ld" = no; then
10159 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10160 hardcode_libdir_separator=:
10162 case $host_cpu in
10163 hppa*64*|ia64*)
10164 hardcode_direct=no
10165 hardcode_shlibpath_var=no
10168 hardcode_direct=yes
10169 hardcode_direct_absolute=yes
10170 export_dynamic_flag_spec='${wl}-E'
10172 # hardcode_minus_L: Not really in the search PATH,
10173 # but as the default location of the library.
10174 hardcode_minus_L=yes
10176 esac
10180 irix5* | irix6* | nonstopux*)
10181 if test "$GCC" = yes; then
10182 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'
10183 # Try to use the -exported_symbol ld option, if it does not
10184 # work, assume that -exports_file does not work either and
10185 # implicitly export all symbols.
10186 save_LDFLAGS="$LDFLAGS"
10187 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10188 if test x$gcc_no_link = xyes; then
10189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10193 int foo(void) {}
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 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'
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LDFLAGS="$save_LDFLAGS"
10202 else
10203 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'
10204 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'
10206 archive_cmds_need_lc='no'
10207 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10208 hardcode_libdir_separator=:
10209 inherit_rpath=yes
10210 link_all_deplibs=yes
10213 netbsd*)
10214 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10215 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10216 else
10217 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10219 hardcode_libdir_flag_spec='-R$libdir'
10220 hardcode_direct=yes
10221 hardcode_shlibpath_var=no
10224 newsos6)
10225 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10226 hardcode_direct=yes
10227 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10228 hardcode_libdir_separator=:
10229 hardcode_shlibpath_var=no
10232 *nto* | *qnx*)
10235 openbsd*)
10236 if test -f /usr/libexec/ld.so; then
10237 hardcode_direct=yes
10238 hardcode_shlibpath_var=no
10239 hardcode_direct_absolute=yes
10240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10241 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10242 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10243 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10244 export_dynamic_flag_spec='${wl}-E'
10245 else
10246 case $host_os in
10247 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10248 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10249 hardcode_libdir_flag_spec='-R$libdir'
10252 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10253 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10255 esac
10257 else
10258 ld_shlibs=no
10262 os2*)
10263 hardcode_libdir_flag_spec='-L$libdir'
10264 hardcode_minus_L=yes
10265 allow_undefined_flag=unsupported
10266 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'
10267 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10270 osf3*)
10271 if test "$GCC" = yes; then
10272 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10273 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'
10274 else
10275 allow_undefined_flag=' -expect_unresolved \*'
10276 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'
10278 archive_cmds_need_lc='no'
10279 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10280 hardcode_libdir_separator=:
10283 osf4* | osf5*) # as osf3* with the addition of -msym flag
10284 if test "$GCC" = yes; then
10285 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10286 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'
10287 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10288 else
10289 allow_undefined_flag=' -expect_unresolved \*'
10290 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'
10291 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~
10292 $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'
10294 # Both c and cxx compiler support -rpath directly
10295 hardcode_libdir_flag_spec='-rpath $libdir'
10297 archive_cmds_need_lc='no'
10298 hardcode_libdir_separator=:
10301 solaris*)
10302 no_undefined_flag=' -z defs'
10303 if test "$GCC" = yes; then
10304 wlarc='${wl}'
10305 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10306 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10307 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10308 else
10309 case `$CC -V 2>&1` in
10310 *"Compilers 5.0"*)
10311 wlarc=''
10312 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10313 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10314 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10317 wlarc='${wl}'
10318 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10319 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10320 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10322 esac
10324 hardcode_libdir_flag_spec='-R$libdir'
10325 hardcode_shlibpath_var=no
10326 case $host_os in
10327 solaris2.[0-5] | solaris2.[0-5].*) ;;
10329 # The compiler driver will combine and reorder linker options,
10330 # but understands `-z linker_flag'. GCC discards it without `$wl',
10331 # but is careful enough not to reorder.
10332 # Supported since Solaris 2.6 (maybe 2.5.1?)
10333 if test "$GCC" = yes; then
10334 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10335 else
10336 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10339 esac
10340 link_all_deplibs=yes
10343 sunos4*)
10344 if test "x$host_vendor" = xsequent; then
10345 # Use $CC to link under sequent, because it throws in some extra .o
10346 # files that make .init and .fini sections work.
10347 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10348 else
10349 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10351 hardcode_libdir_flag_spec='-L$libdir'
10352 hardcode_direct=yes
10353 hardcode_minus_L=yes
10354 hardcode_shlibpath_var=no
10357 sysv4)
10358 case $host_vendor in
10359 sni)
10360 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10361 hardcode_direct=yes # is this really true???
10363 siemens)
10364 ## LD is ld it makes a PLAMLIB
10365 ## CC just makes a GrossModule.
10366 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10367 reload_cmds='$CC -r -o $output$reload_objs'
10368 hardcode_direct=no
10370 motorola)
10371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10372 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10374 esac
10375 runpath_var='LD_RUN_PATH'
10376 hardcode_shlibpath_var=no
10379 sysv4.3*)
10380 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10381 hardcode_shlibpath_var=no
10382 export_dynamic_flag_spec='-Bexport'
10385 sysv4*MP*)
10386 if test -d /usr/nec; then
10387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10388 hardcode_shlibpath_var=no
10389 runpath_var=LD_RUN_PATH
10390 hardcode_runpath_var=yes
10391 ld_shlibs=yes
10395 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10396 no_undefined_flag='${wl}-z,text'
10397 archive_cmds_need_lc=no
10398 hardcode_shlibpath_var=no
10399 runpath_var='LD_RUN_PATH'
10401 if test "$GCC" = yes; then
10402 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10403 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10404 else
10405 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10410 sysv5* | sco3.2v5* | sco5v6*)
10411 # Note: We can NOT use -z defs as we might desire, because we do not
10412 # link with -lc, and that would cause any symbols used from libc to
10413 # always be unresolved, which means just about no library would
10414 # ever link correctly. If we're not using GNU ld we use -z text
10415 # though, which does catch some bad symbols but isn't as heavy-handed
10416 # as -z defs.
10417 no_undefined_flag='${wl}-z,text'
10418 allow_undefined_flag='${wl}-z,nodefs'
10419 archive_cmds_need_lc=no
10420 hardcode_shlibpath_var=no
10421 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10422 hardcode_libdir_separator=':'
10423 link_all_deplibs=yes
10424 export_dynamic_flag_spec='${wl}-Bexport'
10425 runpath_var='LD_RUN_PATH'
10427 if test "$GCC" = yes; then
10428 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10429 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10430 else
10431 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10432 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10436 uts4*)
10437 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10438 hardcode_libdir_flag_spec='-L$libdir'
10439 hardcode_shlibpath_var=no
10443 ld_shlibs=no
10445 esac
10447 if test x$host_vendor = xsni; then
10448 case $host in
10449 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10450 export_dynamic_flag_spec='${wl}-Blargedynsym'
10452 esac
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10457 $as_echo "$ld_shlibs" >&6; }
10458 test "$ld_shlibs" = no && can_build_shared=no
10460 with_gnu_ld=$with_gnu_ld
10477 # Do we need to explicitly link libc?
10479 case "x$archive_cmds_need_lc" in
10480 x|xyes)
10481 # Assume -lc should be added
10482 archive_cmds_need_lc=yes
10484 if test "$enable_shared" = yes && test "$GCC" = yes; then
10485 case $archive_cmds in
10486 *'~'*)
10487 # FIXME: we may have to deal with multi-command sequences.
10489 '$CC '*)
10490 # Test whether the compiler implicitly links with -lc since on some
10491 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10492 # to ld, don't add -lc before -lgcc.
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10494 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10495 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10496 $as_echo_n "(cached) " >&6
10497 else
10498 $RM conftest*
10499 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10502 (eval $ac_compile) 2>&5
10503 ac_status=$?
10504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10505 test $ac_status = 0; } 2>conftest.err; then
10506 soname=conftest
10507 lib=conftest
10508 libobjs=conftest.$ac_objext
10509 deplibs=
10510 wl=$lt_prog_compiler_wl
10511 pic_flag=$lt_prog_compiler_pic
10512 compiler_flags=-v
10513 linker_flags=-v
10514 verstring=
10515 output_objdir=.
10516 libname=conftest
10517 lt_save_allow_undefined_flag=$allow_undefined_flag
10518 allow_undefined_flag=
10519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10520 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10521 ac_status=$?
10522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10523 test $ac_status = 0; }
10524 then
10525 lt_cv_archive_cmds_need_lc=no
10526 else
10527 lt_cv_archive_cmds_need_lc=yes
10529 allow_undefined_flag=$lt_save_allow_undefined_flag
10530 else
10531 cat conftest.err 1>&5
10533 $RM conftest*
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10537 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10538 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10540 esac
10543 esac
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10702 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10704 if test "$GCC" = yes; then
10705 case $host_os in
10706 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10707 *) lt_awk_arg="/^libraries:/" ;;
10708 esac
10709 case $host_os in
10710 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10711 *) lt_sed_strip_eq="s,=/,/,g" ;;
10712 esac
10713 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10714 case $lt_search_path_spec in
10715 *\;*)
10716 # if the path contains ";" then we assume it to be the separator
10717 # otherwise default to the standard path separator (i.e. ":") - it is
10718 # assumed that no part of a normal pathname contains ";" but that should
10719 # okay in the real world where ";" in dirpaths is itself problematic.
10720 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10723 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10725 esac
10726 # Ok, now we have the path, separated by spaces, we can step through it
10727 # and add multilib dir if necessary.
10728 lt_tmp_lt_search_path_spec=
10729 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10730 for lt_sys_path in $lt_search_path_spec; do
10731 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10732 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10733 else
10734 test -d "$lt_sys_path" && \
10735 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10737 done
10738 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10739 BEGIN {RS=" "; FS="/|\n";} {
10740 lt_foo="";
10741 lt_count=0;
10742 for (lt_i = NF; lt_i > 0; lt_i--) {
10743 if ($lt_i != "" && $lt_i != ".") {
10744 if ($lt_i == "..") {
10745 lt_count++;
10746 } else {
10747 if (lt_count == 0) {
10748 lt_foo="/" $lt_i lt_foo;
10749 } else {
10750 lt_count--;
10755 if (lt_foo != "") { lt_freq[lt_foo]++; }
10756 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10758 # AWK program above erroneously prepends '/' to C:/dos/paths
10759 # for these hosts.
10760 case $host_os in
10761 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10762 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10763 esac
10764 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10765 else
10766 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10768 library_names_spec=
10769 libname_spec='lib$name'
10770 soname_spec=
10771 shrext_cmds=".so"
10772 postinstall_cmds=
10773 postuninstall_cmds=
10774 finish_cmds=
10775 finish_eval=
10776 shlibpath_var=
10777 shlibpath_overrides_runpath=unknown
10778 version_type=none
10779 dynamic_linker="$host_os ld.so"
10780 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10781 need_lib_prefix=unknown
10782 hardcode_into_libs=no
10784 # when you set need_version to no, make sure it does not cause -set_version
10785 # flags to be left without arguments
10786 need_version=unknown
10788 case $host_os in
10789 aix3*)
10790 version_type=linux
10791 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10792 shlibpath_var=LIBPATH
10794 # AIX 3 has no versioning support, so we append a major version to the name.
10795 soname_spec='${libname}${release}${shared_ext}$major'
10798 aix[4-9]*)
10799 version_type=linux
10800 need_lib_prefix=no
10801 need_version=no
10802 hardcode_into_libs=yes
10803 if test "$host_cpu" = ia64; then
10804 # AIX 5 supports IA64
10805 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10806 shlibpath_var=LD_LIBRARY_PATH
10807 else
10808 # With GCC up to 2.95.x, collect2 would create an import file
10809 # for dependence libraries. The import file would start with
10810 # the line `#! .'. This would cause the generated library to
10811 # depend on `.', always an invalid library. This was fixed in
10812 # development snapshots of GCC prior to 3.0.
10813 case $host_os in
10814 aix4 | aix4.[01] | aix4.[01].*)
10815 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10816 echo ' yes '
10817 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10819 else
10820 can_build_shared=no
10823 esac
10824 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10825 # soname into executable. Probably we can add versioning support to
10826 # collect2, so additional links can be useful in future.
10827 if test "$aix_use_runtimelinking" = yes; then
10828 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10829 # instead of lib<name>.a to let people know that these are not
10830 # typical AIX shared libraries.
10831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 else
10833 # We preserve .a as extension for shared libraries through AIX4.2
10834 # and later when we are not doing run time linking.
10835 library_names_spec='${libname}${release}.a $libname.a'
10836 soname_spec='${libname}${release}${shared_ext}$major'
10838 shlibpath_var=LIBPATH
10842 amigaos*)
10843 case $host_cpu in
10844 powerpc)
10845 # Since July 2007 AmigaOS4 officially supports .so libraries.
10846 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849 m68k)
10850 library_names_spec='$libname.ixlibrary $libname.a'
10851 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10852 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'
10854 esac
10857 beos*)
10858 library_names_spec='${libname}${shared_ext}'
10859 dynamic_linker="$host_os ld.so"
10860 shlibpath_var=LIBRARY_PATH
10863 bsdi[45]*)
10864 version_type=linux
10865 need_version=no
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 soname_spec='${libname}${release}${shared_ext}$major'
10868 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10871 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10872 # the default ld.so.conf also contains /usr/contrib/lib and
10873 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10874 # libtool to hard-code these into programs
10877 cygwin* | mingw* | pw32* | cegcc*)
10878 version_type=windows
10879 shrext_cmds=".dll"
10880 need_version=no
10881 need_lib_prefix=no
10883 case $GCC,$host_os in
10884 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10885 library_names_spec='$libname.dll.a'
10886 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10887 postinstall_cmds='base_file=`basename \${file}`~
10888 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10889 dldir=$destdir/`dirname \$dlpath`~
10890 test -d \$dldir || mkdir -p \$dldir~
10891 $install_prog $dir/$dlname \$dldir/$dlname~
10892 chmod a+x \$dldir/$dlname~
10893 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10894 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10896 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10897 dlpath=$dir/\$dldll~
10898 $RM \$dlpath'
10899 shlibpath_overrides_runpath=yes
10901 case $host_os in
10902 cygwin*)
10903 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10904 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10906 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10908 mingw* | cegcc*)
10909 # MinGW DLLs use traditional 'lib' prefix
10910 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10912 pw32*)
10913 # pw32 DLLs use 'pw' prefix rather than 'lib'
10914 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10916 esac
10920 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10922 esac
10923 dynamic_linker='Win32 ld.exe'
10924 # FIXME: first we should search . and the directory the executable is in
10925 shlibpath_var=PATH
10928 darwin* | rhapsody*)
10929 dynamic_linker="$host_os dyld"
10930 version_type=darwin
10931 need_lib_prefix=no
10932 need_version=no
10933 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10934 soname_spec='${libname}${release}${major}$shared_ext'
10935 shlibpath_overrides_runpath=yes
10936 shlibpath_var=DYLD_LIBRARY_PATH
10937 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10939 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10940 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10943 dgux*)
10944 version_type=linux
10945 need_lib_prefix=no
10946 need_version=no
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10948 soname_spec='${libname}${release}${shared_ext}$major'
10949 shlibpath_var=LD_LIBRARY_PATH
10952 freebsd* | dragonfly*)
10953 # DragonFly does not have aout. When/if they implement a new
10954 # versioning mechanism, adjust this.
10955 if test -x /usr/bin/objformat; then
10956 objformat=`/usr/bin/objformat`
10957 else
10958 case $host_os in
10959 freebsd[23].*) objformat=aout ;;
10960 *) objformat=elf ;;
10961 esac
10963 version_type=freebsd-$objformat
10964 case $version_type in
10965 freebsd-elf*)
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10967 need_version=no
10968 need_lib_prefix=no
10970 freebsd-*)
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10972 need_version=yes
10974 esac
10975 shlibpath_var=LD_LIBRARY_PATH
10976 case $host_os in
10977 freebsd2.*)
10978 shlibpath_overrides_runpath=yes
10980 freebsd3.[01]* | freebsdelf3.[01]*)
10981 shlibpath_overrides_runpath=yes
10982 hardcode_into_libs=yes
10984 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10985 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10986 shlibpath_overrides_runpath=no
10987 hardcode_into_libs=yes
10989 *) # from 4.6 on, and DragonFly
10990 shlibpath_overrides_runpath=yes
10991 hardcode_into_libs=yes
10993 esac
10996 gnu*)
10997 version_type=linux
10998 need_lib_prefix=no
10999 need_version=no
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11001 soname_spec='${libname}${release}${shared_ext}$major'
11002 shlibpath_var=LD_LIBRARY_PATH
11003 hardcode_into_libs=yes
11006 haiku*)
11007 version_type=linux
11008 need_lib_prefix=no
11009 need_version=no
11010 dynamic_linker="$host_os runtime_loader"
11011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11012 soname_spec='${libname}${release}${shared_ext}$major'
11013 shlibpath_var=LIBRARY_PATH
11014 shlibpath_overrides_runpath=yes
11015 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11016 hardcode_into_libs=yes
11019 hpux9* | hpux10* | hpux11*)
11020 # Give a soname corresponding to the major version so that dld.sl refuses to
11021 # link against other versions.
11022 version_type=sunos
11023 need_lib_prefix=no
11024 need_version=no
11025 case $host_cpu in
11026 ia64*)
11027 shrext_cmds='.so'
11028 hardcode_into_libs=yes
11029 dynamic_linker="$host_os dld.so"
11030 shlibpath_var=LD_LIBRARY_PATH
11031 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 if test "X$HPUX_IA64_MODE" = X32; then
11035 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11036 else
11037 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11039 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11041 hppa*64*)
11042 shrext_cmds='.sl'
11043 hardcode_into_libs=yes
11044 dynamic_linker="$host_os dld.sl"
11045 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11046 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec='${libname}${release}${shared_ext}$major'
11049 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11050 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11053 shrext_cmds='.sl'
11054 dynamic_linker="$host_os dld.sl"
11055 shlibpath_var=SHLIB_PATH
11056 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11058 soname_spec='${libname}${release}${shared_ext}$major'
11060 esac
11061 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11062 postinstall_cmds='chmod 555 $lib'
11063 # or fails outright, so override atomically:
11064 install_override_mode=555
11067 interix[3-9]*)
11068 version_type=linux
11069 need_lib_prefix=no
11070 need_version=no
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=no
11076 hardcode_into_libs=yes
11079 irix5* | irix6* | nonstopux*)
11080 case $host_os in
11081 nonstopux*) version_type=nonstopux ;;
11083 if test "$lt_cv_prog_gnu_ld" = yes; then
11084 version_type=linux
11085 else
11086 version_type=irix
11087 fi ;;
11088 esac
11089 need_lib_prefix=no
11090 need_version=no
11091 soname_spec='${libname}${release}${shared_ext}$major'
11092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11093 case $host_os in
11094 irix5* | nonstopux*)
11095 libsuff= shlibsuff=
11098 case $LD in # libtool.m4 will add one of these switches to LD
11099 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11100 libsuff= shlibsuff= libmagic=32-bit;;
11101 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11102 libsuff=32 shlibsuff=N32 libmagic=N32;;
11103 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11104 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11105 *) libsuff= shlibsuff= libmagic=never-match;;
11106 esac
11108 esac
11109 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11110 shlibpath_overrides_runpath=no
11111 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11112 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11113 hardcode_into_libs=yes
11116 # No shared lib support for Linux oldld, aout, or coff.
11117 linux*oldld* | linux*aout* | linux*coff*)
11118 dynamic_linker=no
11121 # This must be Linux ELF.
11122 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11123 version_type=linux
11124 need_lib_prefix=no
11125 need_version=no
11126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11127 soname_spec='${libname}${release}${shared_ext}$major'
11128 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11132 # Some binutils ld are patched to set DT_RUNPATH
11133 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 lt_cv_shlibpath_overrides_runpath=no
11137 save_LDFLAGS=$LDFLAGS
11138 save_libdir=$libdir
11139 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11140 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11141 if test x$gcc_no_link = xyes; then
11142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11148 main ()
11152 return 0;
11154 _ACEOF
11155 if ac_fn_c_try_link "$LINENO"; then :
11156 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11157 lt_cv_shlibpath_overrides_runpath=yes
11160 rm -f core conftest.err conftest.$ac_objext \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LDFLAGS=$save_LDFLAGS
11163 libdir=$save_libdir
11167 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11169 # This implies no fast_install, which is unacceptable.
11170 # Some rework will be needed to allow for fast_install
11171 # before this can be enabled.
11172 hardcode_into_libs=yes
11174 # Append ld.so.conf contents to the search path
11175 if test -f /etc/ld.so.conf; then
11176 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' ' '`
11177 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11180 # We used to test for /lib/ld.so.1 and disable shared libraries on
11181 # powerpc, because MkLinux only supported shared libraries with the
11182 # GNU dynamic linker. Since this was broken with cross compilers,
11183 # most powerpc-linux boxes support dynamic linking these days and
11184 # people can always --disable-shared, the test was removed, and we
11185 # assume the GNU/Linux dynamic linker is in use.
11186 dynamic_linker='GNU/Linux ld.so'
11189 netbsd*)
11190 version_type=sunos
11191 need_lib_prefix=no
11192 need_version=no
11193 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11195 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11196 dynamic_linker='NetBSD (a.out) ld.so'
11197 else
11198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11199 soname_spec='${libname}${release}${shared_ext}$major'
11200 dynamic_linker='NetBSD ld.elf_so'
11202 shlibpath_var=LD_LIBRARY_PATH
11203 shlibpath_overrides_runpath=yes
11204 hardcode_into_libs=yes
11207 newsos6)
11208 version_type=linux
11209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11210 shlibpath_var=LD_LIBRARY_PATH
11211 shlibpath_overrides_runpath=yes
11214 *nto* | *qnx*)
11215 version_type=qnx
11216 need_lib_prefix=no
11217 need_version=no
11218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 soname_spec='${libname}${release}${shared_ext}$major'
11220 shlibpath_var=LD_LIBRARY_PATH
11221 shlibpath_overrides_runpath=no
11222 hardcode_into_libs=yes
11223 dynamic_linker='ldqnx.so'
11226 openbsd*)
11227 version_type=sunos
11228 sys_lib_dlsearch_path_spec="/usr/lib"
11229 need_lib_prefix=no
11230 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11231 case $host_os in
11232 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11233 *) need_version=no ;;
11234 esac
11235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11236 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11237 shlibpath_var=LD_LIBRARY_PATH
11238 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11239 case $host_os in
11240 openbsd2.[89] | openbsd2.[89].*)
11241 shlibpath_overrides_runpath=no
11244 shlibpath_overrides_runpath=yes
11246 esac
11247 else
11248 shlibpath_overrides_runpath=yes
11252 os2*)
11253 libname_spec='$name'
11254 shrext_cmds=".dll"
11255 need_lib_prefix=no
11256 library_names_spec='$libname${shared_ext} $libname.a'
11257 dynamic_linker='OS/2 ld.exe'
11258 shlibpath_var=LIBPATH
11261 osf3* | osf4* | osf5*)
11262 version_type=osf
11263 need_lib_prefix=no
11264 need_version=no
11265 soname_spec='${libname}${release}${shared_ext}$major'
11266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11267 shlibpath_var=LD_LIBRARY_PATH
11268 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11269 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11272 rdos*)
11273 dynamic_linker=no
11276 solaris*)
11277 version_type=linux
11278 need_lib_prefix=no
11279 need_version=no
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11281 soname_spec='${libname}${release}${shared_ext}$major'
11282 shlibpath_var=LD_LIBRARY_PATH
11283 shlibpath_overrides_runpath=yes
11284 hardcode_into_libs=yes
11285 # ldd complains unless libraries are executable
11286 postinstall_cmds='chmod +x $lib'
11289 sunos4*)
11290 version_type=sunos
11291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11292 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11293 shlibpath_var=LD_LIBRARY_PATH
11294 shlibpath_overrides_runpath=yes
11295 if test "$with_gnu_ld" = yes; then
11296 need_lib_prefix=no
11298 need_version=yes
11301 sysv4 | sysv4.3*)
11302 version_type=linux
11303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11304 soname_spec='${libname}${release}${shared_ext}$major'
11305 shlibpath_var=LD_LIBRARY_PATH
11306 case $host_vendor in
11307 sni)
11308 shlibpath_overrides_runpath=no
11309 need_lib_prefix=no
11310 runpath_var=LD_RUN_PATH
11312 siemens)
11313 need_lib_prefix=no
11315 motorola)
11316 need_lib_prefix=no
11317 need_version=no
11318 shlibpath_overrides_runpath=no
11319 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11321 esac
11324 sysv4*MP*)
11325 if test -d /usr/nec ;then
11326 version_type=linux
11327 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11328 soname_spec='$libname${shared_ext}.$major'
11329 shlibpath_var=LD_LIBRARY_PATH
11333 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11334 version_type=freebsd-elf
11335 need_lib_prefix=no
11336 need_version=no
11337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11338 soname_spec='${libname}${release}${shared_ext}$major'
11339 shlibpath_var=LD_LIBRARY_PATH
11340 shlibpath_overrides_runpath=yes
11341 hardcode_into_libs=yes
11342 if test "$with_gnu_ld" = yes; then
11343 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11344 else
11345 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11346 case $host_os in
11347 sco3.2v5*)
11348 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11350 esac
11352 sys_lib_dlsearch_path_spec='/usr/lib'
11355 tpf*)
11356 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11357 version_type=linux
11358 need_lib_prefix=no
11359 need_version=no
11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 shlibpath_var=LD_LIBRARY_PATH
11362 shlibpath_overrides_runpath=no
11363 hardcode_into_libs=yes
11366 uts4*)
11367 version_type=linux
11368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11369 soname_spec='${libname}${release}${shared_ext}$major'
11370 shlibpath_var=LD_LIBRARY_PATH
11374 dynamic_linker=no
11376 esac
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11378 $as_echo "$dynamic_linker" >&6; }
11379 test "$dynamic_linker" = no && can_build_shared=no
11381 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11382 if test "$GCC" = yes; then
11383 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11386 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11387 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11389 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11390 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11485 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11486 hardcode_action=
11487 if test -n "$hardcode_libdir_flag_spec" ||
11488 test -n "$runpath_var" ||
11489 test "X$hardcode_automatic" = "Xyes" ; then
11491 # We can hardcode non-existent directories.
11492 if test "$hardcode_direct" != no &&
11493 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11494 # have to relink, otherwise we might link with an installed library
11495 # when we should be linking with a yet-to-be-installed one
11496 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11497 test "$hardcode_minus_L" != no; then
11498 # Linking always hardcodes the temporary library directory.
11499 hardcode_action=relink
11500 else
11501 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11502 hardcode_action=immediate
11504 else
11505 # We cannot hardcode anything, or else we can only hardcode existing
11506 # directories.
11507 hardcode_action=unsupported
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11510 $as_echo "$hardcode_action" >&6; }
11512 if test "$hardcode_action" = relink ||
11513 test "$inherit_rpath" = yes; then
11514 # Fast installation is not supported
11515 enable_fast_install=no
11516 elif test "$shlibpath_overrides_runpath" = yes ||
11517 test "$enable_shared" = no; then
11518 # Fast installation is not necessary
11519 enable_fast_install=needless
11527 if test "x$enable_dlopen" != xyes; then
11528 enable_dlopen=unknown
11529 enable_dlopen_self=unknown
11530 enable_dlopen_self_static=unknown
11531 else
11532 lt_cv_dlopen=no
11533 lt_cv_dlopen_libs=
11535 case $host_os in
11536 beos*)
11537 lt_cv_dlopen="load_add_on"
11538 lt_cv_dlopen_libs=
11539 lt_cv_dlopen_self=yes
11542 mingw* | pw32* | cegcc*)
11543 lt_cv_dlopen="LoadLibrary"
11544 lt_cv_dlopen_libs=
11547 cygwin*)
11548 lt_cv_dlopen="dlopen"
11549 lt_cv_dlopen_libs=
11552 darwin*)
11553 # if libdl is installed we need to link against it
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11555 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11557 $as_echo_n "(cached) " >&6
11558 else
11559 ac_check_lib_save_LIBS=$LIBS
11560 LIBS="-ldl $LIBS"
11561 if test x$gcc_no_link = xyes; then
11562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11570 #ifdef __cplusplus
11571 extern "C"
11572 #endif
11573 char dlopen ();
11575 main ()
11577 return dlopen ();
11579 return 0;
11581 _ACEOF
11582 if ac_fn_c_try_link "$LINENO"; then :
11583 ac_cv_lib_dl_dlopen=yes
11584 else
11585 ac_cv_lib_dl_dlopen=no
11587 rm -f core conftest.err conftest.$ac_objext \
11588 conftest$ac_exeext conftest.$ac_ext
11589 LIBS=$ac_check_lib_save_LIBS
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11592 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11593 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11594 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11595 else
11597 lt_cv_dlopen="dyld"
11598 lt_cv_dlopen_libs=
11599 lt_cv_dlopen_self=yes
11606 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11607 if test "x$ac_cv_func_shl_load" = x""yes; then :
11608 lt_cv_dlopen="shl_load"
11609 else
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11611 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11612 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 ac_check_lib_save_LIBS=$LIBS
11616 LIBS="-ldld $LIBS"
11617 if test x$gcc_no_link = xyes; then
11618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char shl_load ();
11631 main ()
11633 return shl_load ();
11635 return 0;
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 ac_cv_lib_dld_shl_load=yes
11640 else
11641 ac_cv_lib_dld_shl_load=no
11643 rm -f core conftest.err conftest.$ac_objext \
11644 conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11648 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11649 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11650 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11651 else
11652 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11653 if test "x$ac_cv_func_dlopen" = x""yes; then :
11654 lt_cv_dlopen="dlopen"
11655 else
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11657 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11658 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11659 $as_echo_n "(cached) " >&6
11660 else
11661 ac_check_lib_save_LIBS=$LIBS
11662 LIBS="-ldl $LIBS"
11663 if test x$gcc_no_link = xyes; then
11664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char dlopen ();
11677 main ()
11679 return dlopen ();
11681 return 0;
11683 _ACEOF
11684 if ac_fn_c_try_link "$LINENO"; then :
11685 ac_cv_lib_dl_dlopen=yes
11686 else
11687 ac_cv_lib_dl_dlopen=no
11689 rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_lib_save_LIBS
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11694 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11695 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11696 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11697 else
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11699 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11700 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11701 $as_echo_n "(cached) " >&6
11702 else
11703 ac_check_lib_save_LIBS=$LIBS
11704 LIBS="-lsvld $LIBS"
11705 if test x$gcc_no_link = xyes; then
11706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11711 /* Override any GCC internal prototype to avoid an error.
11712 Use char because int might match the return type of a GCC
11713 builtin and then its argument prototype would still apply. */
11714 #ifdef __cplusplus
11715 extern "C"
11716 #endif
11717 char dlopen ();
11719 main ()
11721 return dlopen ();
11723 return 0;
11725 _ACEOF
11726 if ac_fn_c_try_link "$LINENO"; then :
11727 ac_cv_lib_svld_dlopen=yes
11728 else
11729 ac_cv_lib_svld_dlopen=no
11731 rm -f core conftest.err conftest.$ac_objext \
11732 conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_lib_save_LIBS
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11736 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11737 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11738 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11739 else
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11741 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11742 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11743 $as_echo_n "(cached) " >&6
11744 else
11745 ac_check_lib_save_LIBS=$LIBS
11746 LIBS="-ldld $LIBS"
11747 if test x$gcc_no_link = xyes; then
11748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char dld_link ();
11761 main ()
11763 return dld_link ();
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 ac_cv_lib_dld_dld_link=yes
11770 else
11771 ac_cv_lib_dld_dld_link=no
11773 rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
11775 LIBS=$ac_check_lib_save_LIBS
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11778 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11779 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11780 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11799 esac
11801 if test "x$lt_cv_dlopen" != xno; then
11802 enable_dlopen=yes
11803 else
11804 enable_dlopen=no
11807 case $lt_cv_dlopen in
11808 dlopen)
11809 save_CPPFLAGS="$CPPFLAGS"
11810 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11812 save_LDFLAGS="$LDFLAGS"
11813 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11815 save_LIBS="$LIBS"
11816 LIBS="$lt_cv_dlopen_libs $LIBS"
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11819 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11820 if test "${lt_cv_dlopen_self+set}" = set; then :
11821 $as_echo_n "(cached) " >&6
11822 else
11823 if test "$cross_compiling" = yes; then :
11824 lt_cv_dlopen_self=cross
11825 else
11826 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11827 lt_status=$lt_dlunknown
11828 cat > conftest.$ac_ext <<_LT_EOF
11829 #line 11829 "configure"
11830 #include "confdefs.h"
11832 #if HAVE_DLFCN_H
11833 #include <dlfcn.h>
11834 #endif
11836 #include <stdio.h>
11838 #ifdef RTLD_GLOBAL
11839 # define LT_DLGLOBAL RTLD_GLOBAL
11840 #else
11841 # ifdef DL_GLOBAL
11842 # define LT_DLGLOBAL DL_GLOBAL
11843 # else
11844 # define LT_DLGLOBAL 0
11845 # endif
11846 #endif
11848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11849 find out it does not work in some platform. */
11850 #ifndef LT_DLLAZY_OR_NOW
11851 # ifdef RTLD_LAZY
11852 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11853 # else
11854 # ifdef DL_LAZY
11855 # define LT_DLLAZY_OR_NOW DL_LAZY
11856 # else
11857 # ifdef RTLD_NOW
11858 # define LT_DLLAZY_OR_NOW RTLD_NOW
11859 # else
11860 # ifdef DL_NOW
11861 # define LT_DLLAZY_OR_NOW DL_NOW
11862 # else
11863 # define LT_DLLAZY_OR_NOW 0
11864 # endif
11865 # endif
11866 # endif
11867 # endif
11868 #endif
11870 /* When -fvisbility=hidden is used, assume the code has been annotated
11871 correspondingly for the symbols needed. */
11872 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11873 void fnord () __attribute__((visibility("default")));
11874 #endif
11876 void fnord () { int i=42; }
11877 int main ()
11879 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11880 int status = $lt_dlunknown;
11882 if (self)
11884 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11885 else
11887 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11888 else puts (dlerror ());
11890 /* dlclose (self); */
11892 else
11893 puts (dlerror ());
11895 return status;
11897 _LT_EOF
11898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11899 (eval $ac_link) 2>&5
11900 ac_status=$?
11901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11902 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11903 (./conftest; exit; ) >&5 2>/dev/null
11904 lt_status=$?
11905 case x$lt_status in
11906 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11907 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11908 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11909 esac
11910 else :
11911 # compilation failed
11912 lt_cv_dlopen_self=no
11915 rm -fr conftest*
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11920 $as_echo "$lt_cv_dlopen_self" >&6; }
11922 if test "x$lt_cv_dlopen_self" = xyes; then
11923 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11925 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11926 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11927 $as_echo_n "(cached) " >&6
11928 else
11929 if test "$cross_compiling" = yes; then :
11930 lt_cv_dlopen_self_static=cross
11931 else
11932 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11933 lt_status=$lt_dlunknown
11934 cat > conftest.$ac_ext <<_LT_EOF
11935 #line 11935 "configure"
11936 #include "confdefs.h"
11938 #if HAVE_DLFCN_H
11939 #include <dlfcn.h>
11940 #endif
11942 #include <stdio.h>
11944 #ifdef RTLD_GLOBAL
11945 # define LT_DLGLOBAL RTLD_GLOBAL
11946 #else
11947 # ifdef DL_GLOBAL
11948 # define LT_DLGLOBAL DL_GLOBAL
11949 # else
11950 # define LT_DLGLOBAL 0
11951 # endif
11952 #endif
11954 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11955 find out it does not work in some platform. */
11956 #ifndef LT_DLLAZY_OR_NOW
11957 # ifdef RTLD_LAZY
11958 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11959 # else
11960 # ifdef DL_LAZY
11961 # define LT_DLLAZY_OR_NOW DL_LAZY
11962 # else
11963 # ifdef RTLD_NOW
11964 # define LT_DLLAZY_OR_NOW RTLD_NOW
11965 # else
11966 # ifdef DL_NOW
11967 # define LT_DLLAZY_OR_NOW DL_NOW
11968 # else
11969 # define LT_DLLAZY_OR_NOW 0
11970 # endif
11971 # endif
11972 # endif
11973 # endif
11974 #endif
11976 /* When -fvisbility=hidden is used, assume the code has been annotated
11977 correspondingly for the symbols needed. */
11978 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11979 void fnord () __attribute__((visibility("default")));
11980 #endif
11982 void fnord () { int i=42; }
11983 int main ()
11985 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11986 int status = $lt_dlunknown;
11988 if (self)
11990 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11991 else
11993 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11994 else puts (dlerror ());
11996 /* dlclose (self); */
11998 else
11999 puts (dlerror ());
12001 return status;
12003 _LT_EOF
12004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12005 (eval $ac_link) 2>&5
12006 ac_status=$?
12007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12008 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12009 (./conftest; exit; ) >&5 2>/dev/null
12010 lt_status=$?
12011 case x$lt_status in
12012 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12013 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12014 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12015 esac
12016 else :
12017 # compilation failed
12018 lt_cv_dlopen_self_static=no
12021 rm -fr conftest*
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12026 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12029 CPPFLAGS="$save_CPPFLAGS"
12030 LDFLAGS="$save_LDFLAGS"
12031 LIBS="$save_LIBS"
12033 esac
12035 case $lt_cv_dlopen_self in
12036 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12037 *) enable_dlopen_self=unknown ;;
12038 esac
12040 case $lt_cv_dlopen_self_static in
12041 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12042 *) enable_dlopen_self_static=unknown ;;
12043 esac
12062 striplib=
12063 old_striplib=
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12065 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12066 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12067 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12068 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12070 $as_echo "yes" >&6; }
12071 else
12072 # FIXME - insert some real tests, host_os isn't really good enough
12073 case $host_os in
12074 darwin*)
12075 if test -n "$STRIP" ; then
12076 striplib="$STRIP -x"
12077 old_striplib="$STRIP -S"
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12079 $as_echo "yes" >&6; }
12080 else
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12087 $as_echo "no" >&6; }
12089 esac
12103 # Report which library types will actually be built
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12105 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12107 $as_echo "$can_build_shared" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12110 $as_echo_n "checking whether to build shared libraries... " >&6; }
12111 test "$can_build_shared" = "no" && enable_shared=no
12113 # On AIX, shared libraries and static libraries use the same namespace, and
12114 # are all built from PIC.
12115 case $host_os in
12116 aix3*)
12117 test "$enable_shared" = yes && enable_static=no
12118 if test -n "$RANLIB"; then
12119 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12120 postinstall_cmds='$RANLIB $lib'
12124 aix[4-9]*)
12125 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12126 test "$enable_shared" = yes && enable_static=no
12129 esac
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12131 $as_echo "$enable_shared" >&6; }
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12134 $as_echo_n "checking whether to build static libraries... " >&6; }
12135 # Make sure either enable_shared or enable_static is yes.
12136 test "$enable_shared" = yes || enable_static=yes
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12138 $as_echo "$enable_static" >&6; }
12144 ac_ext=c
12145 ac_cpp='$CPP $CPPFLAGS'
12146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12150 CC="$lt_save_CC"
12164 ac_config_commands="$ac_config_commands libtool"
12169 # Only expand once:
12172 for ac_prog in gawk mawk nawk awk
12174 # Extract the first word of "$ac_prog", so it can be a program name with args.
12175 set dummy $ac_prog; ac_word=$2
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12177 $as_echo_n "checking for $ac_word... " >&6; }
12178 if test "${ac_cv_prog_AWK+set}" = set; then :
12179 $as_echo_n "(cached) " >&6
12180 else
12181 if test -n "$AWK"; then
12182 ac_cv_prog_AWK="$AWK" # Let the user override the test.
12183 else
12184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12185 for as_dir in $PATH
12187 IFS=$as_save_IFS
12188 test -z "$as_dir" && as_dir=.
12189 for ac_exec_ext in '' $ac_executable_extensions; do
12190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12191 ac_cv_prog_AWK="$ac_prog"
12192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12193 break 2
12195 done
12196 done
12197 IFS=$as_save_IFS
12201 AWK=$ac_cv_prog_AWK
12202 if test -n "$AWK"; then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
12204 $as_echo "$AWK" >&6; }
12205 else
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12207 $as_echo "no" >&6; }
12211 test -n "$AWK" && break
12212 done
12214 ac_ext=c
12215 ac_cpp='$CPP $CPPFLAGS'
12216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12219 if test -n "$ac_tool_prefix"; then
12220 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12221 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12223 $as_echo_n "checking for $ac_word... " >&6; }
12224 if test "${ac_cv_prog_CC+set}" = set; then :
12225 $as_echo_n "(cached) " >&6
12226 else
12227 if test -n "$CC"; then
12228 ac_cv_prog_CC="$CC" # Let the user override the test.
12229 else
12230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12231 for as_dir in $PATH
12233 IFS=$as_save_IFS
12234 test -z "$as_dir" && as_dir=.
12235 for ac_exec_ext in '' $ac_executable_extensions; do
12236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12237 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12239 break 2
12241 done
12242 done
12243 IFS=$as_save_IFS
12247 CC=$ac_cv_prog_CC
12248 if test -n "$CC"; then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12250 $as_echo "$CC" >&6; }
12251 else
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12253 $as_echo "no" >&6; }
12258 if test -z "$ac_cv_prog_CC"; then
12259 ac_ct_CC=$CC
12260 # Extract the first word of "gcc", so it can be a program name with args.
12261 set dummy gcc; ac_word=$2
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12263 $as_echo_n "checking for $ac_word... " >&6; }
12264 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12265 $as_echo_n "(cached) " >&6
12266 else
12267 if test -n "$ac_ct_CC"; then
12268 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12269 else
12270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12271 for as_dir in $PATH
12273 IFS=$as_save_IFS
12274 test -z "$as_dir" && as_dir=.
12275 for ac_exec_ext in '' $ac_executable_extensions; do
12276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12277 ac_cv_prog_ac_ct_CC="gcc"
12278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12279 break 2
12281 done
12282 done
12283 IFS=$as_save_IFS
12287 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12288 if test -n "$ac_ct_CC"; then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12290 $as_echo "$ac_ct_CC" >&6; }
12291 else
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293 $as_echo "no" >&6; }
12296 if test "x$ac_ct_CC" = x; then
12297 CC=""
12298 else
12299 case $cross_compiling:$ac_tool_warned in
12300 yes:)
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12303 ac_tool_warned=yes ;;
12304 esac
12305 CC=$ac_ct_CC
12307 else
12308 CC="$ac_cv_prog_CC"
12311 if test -z "$CC"; then
12312 if test -n "$ac_tool_prefix"; then
12313 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12314 set dummy ${ac_tool_prefix}cc; ac_word=$2
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12316 $as_echo_n "checking for $ac_word... " >&6; }
12317 if test "${ac_cv_prog_CC+set}" = set; then :
12318 $as_echo_n "(cached) " >&6
12319 else
12320 if test -n "$CC"; then
12321 ac_cv_prog_CC="$CC" # Let the user override the test.
12322 else
12323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12324 for as_dir in $PATH
12326 IFS=$as_save_IFS
12327 test -z "$as_dir" && as_dir=.
12328 for ac_exec_ext in '' $ac_executable_extensions; do
12329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12330 ac_cv_prog_CC="${ac_tool_prefix}cc"
12331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12332 break 2
12334 done
12335 done
12336 IFS=$as_save_IFS
12340 CC=$ac_cv_prog_CC
12341 if test -n "$CC"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12343 $as_echo "$CC" >&6; }
12344 else
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12352 if test -z "$CC"; then
12353 # Extract the first word of "cc", so it can be a program name with args.
12354 set dummy cc; ac_word=$2
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12356 $as_echo_n "checking for $ac_word... " >&6; }
12357 if test "${ac_cv_prog_CC+set}" = set; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 if test -n "$CC"; then
12361 ac_cv_prog_CC="$CC" # Let the user override the test.
12362 else
12363 ac_prog_rejected=no
12364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12365 for as_dir in $PATH
12367 IFS=$as_save_IFS
12368 test -z "$as_dir" && as_dir=.
12369 for ac_exec_ext in '' $ac_executable_extensions; do
12370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12371 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12372 ac_prog_rejected=yes
12373 continue
12375 ac_cv_prog_CC="cc"
12376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12377 break 2
12379 done
12380 done
12381 IFS=$as_save_IFS
12383 if test $ac_prog_rejected = yes; then
12384 # We found a bogon in the path, so make sure we never use it.
12385 set dummy $ac_cv_prog_CC
12386 shift
12387 if test $# != 0; then
12388 # We chose a different compiler from the bogus one.
12389 # However, it has the same basename, so the bogon will be chosen
12390 # first if we set CC to just the basename; use the full file name.
12391 shift
12392 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12397 CC=$ac_cv_prog_CC
12398 if test -n "$CC"; then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12400 $as_echo "$CC" >&6; }
12401 else
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12403 $as_echo "no" >&6; }
12408 if test -z "$CC"; then
12409 if test -n "$ac_tool_prefix"; then
12410 for ac_prog in cl.exe
12412 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12413 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12415 $as_echo_n "checking for $ac_word... " >&6; }
12416 if test "${ac_cv_prog_CC+set}" = set; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 if test -n "$CC"; then
12420 ac_cv_prog_CC="$CC" # Let the user override the test.
12421 else
12422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12423 for as_dir in $PATH
12425 IFS=$as_save_IFS
12426 test -z "$as_dir" && as_dir=.
12427 for ac_exec_ext in '' $ac_executable_extensions; do
12428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12429 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12431 break 2
12433 done
12434 done
12435 IFS=$as_save_IFS
12439 CC=$ac_cv_prog_CC
12440 if test -n "$CC"; then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12442 $as_echo "$CC" >&6; }
12443 else
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12445 $as_echo "no" >&6; }
12449 test -n "$CC" && break
12450 done
12452 if test -z "$CC"; then
12453 ac_ct_CC=$CC
12454 for ac_prog in cl.exe
12456 # Extract the first word of "$ac_prog", so it can be a program name with args.
12457 set dummy $ac_prog; ac_word=$2
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12459 $as_echo_n "checking for $ac_word... " >&6; }
12460 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12461 $as_echo_n "(cached) " >&6
12462 else
12463 if test -n "$ac_ct_CC"; then
12464 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12465 else
12466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12467 for as_dir in $PATH
12469 IFS=$as_save_IFS
12470 test -z "$as_dir" && as_dir=.
12471 for ac_exec_ext in '' $ac_executable_extensions; do
12472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12473 ac_cv_prog_ac_ct_CC="$ac_prog"
12474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12475 break 2
12477 done
12478 done
12479 IFS=$as_save_IFS
12483 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12484 if test -n "$ac_ct_CC"; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12486 $as_echo "$ac_ct_CC" >&6; }
12487 else
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12489 $as_echo "no" >&6; }
12493 test -n "$ac_ct_CC" && break
12494 done
12496 if test "x$ac_ct_CC" = x; then
12497 CC=""
12498 else
12499 case $cross_compiling:$ac_tool_warned in
12500 yes:)
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12503 ac_tool_warned=yes ;;
12504 esac
12505 CC=$ac_ct_CC
12512 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12514 as_fn_error "no acceptable C compiler found in \$PATH
12515 See \`config.log' for more details." "$LINENO" 5; }
12517 # Provide some information about the compiler.
12518 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12519 set X $ac_compile
12520 ac_compiler=$2
12521 for ac_option in --version -v -V -qversion; do
12522 { { ac_try="$ac_compiler $ac_option >&5"
12523 case "(($ac_try" in
12524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12525 *) ac_try_echo=$ac_try;;
12526 esac
12527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12528 $as_echo "$ac_try_echo"; } >&5
12529 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12530 ac_status=$?
12531 if test -s conftest.err; then
12532 sed '10a\
12533 ... rest of stderr output deleted ...
12534 10q' conftest.err >conftest.er1
12535 cat conftest.er1 >&5
12536 rm -f conftest.er1 conftest.err
12538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12539 test $ac_status = 0; }
12540 done
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12543 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12544 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12545 $as_echo_n "(cached) " >&6
12546 else
12547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12551 main ()
12553 #ifndef __GNUC__
12554 choke me
12555 #endif
12558 return 0;
12560 _ACEOF
12561 if ac_fn_c_try_compile "$LINENO"; then :
12562 ac_compiler_gnu=yes
12563 else
12564 ac_compiler_gnu=no
12566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12571 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12572 if test $ac_compiler_gnu = yes; then
12573 GCC=yes
12574 else
12575 GCC=
12577 ac_test_CFLAGS=${CFLAGS+set}
12578 ac_save_CFLAGS=$CFLAGS
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12580 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12581 if test "${ac_cv_prog_cc_g+set}" = set; then :
12582 $as_echo_n "(cached) " >&6
12583 else
12584 ac_save_c_werror_flag=$ac_c_werror_flag
12585 ac_c_werror_flag=yes
12586 ac_cv_prog_cc_g=no
12587 CFLAGS="-g"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12592 main ()
12596 return 0;
12598 _ACEOF
12599 if ac_fn_c_try_compile "$LINENO"; then :
12600 ac_cv_prog_cc_g=yes
12601 else
12602 CFLAGS=""
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12607 main ()
12611 return 0;
12613 _ACEOF
12614 if ac_fn_c_try_compile "$LINENO"; then :
12616 else
12617 ac_c_werror_flag=$ac_save_c_werror_flag
12618 CFLAGS="-g"
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12623 main ()
12627 return 0;
12629 _ACEOF
12630 if ac_fn_c_try_compile "$LINENO"; then :
12631 ac_cv_prog_cc_g=yes
12633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12638 ac_c_werror_flag=$ac_save_c_werror_flag
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12641 $as_echo "$ac_cv_prog_cc_g" >&6; }
12642 if test "$ac_test_CFLAGS" = set; then
12643 CFLAGS=$ac_save_CFLAGS
12644 elif test $ac_cv_prog_cc_g = yes; then
12645 if test "$GCC" = yes; then
12646 CFLAGS="-g -O2"
12647 else
12648 CFLAGS="-g"
12650 else
12651 if test "$GCC" = yes; then
12652 CFLAGS="-O2"
12653 else
12654 CFLAGS=
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12658 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12659 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12660 $as_echo_n "(cached) " >&6
12661 else
12662 ac_cv_prog_cc_c89=no
12663 ac_save_CC=$CC
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12666 #include <stdarg.h>
12667 #include <stdio.h>
12668 #include <sys/types.h>
12669 #include <sys/stat.h>
12670 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12671 struct buf { int x; };
12672 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12673 static char *e (p, i)
12674 char **p;
12675 int i;
12677 return p[i];
12679 static char *f (char * (*g) (char **, int), char **p, ...)
12681 char *s;
12682 va_list v;
12683 va_start (v,p);
12684 s = g (p, va_arg (v,int));
12685 va_end (v);
12686 return s;
12689 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12690 function prototypes and stuff, but not '\xHH' hex character constants.
12691 These don't provoke an error unfortunately, instead are silently treated
12692 as 'x'. The following induces an error, until -std is added to get
12693 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12694 array size at least. It's necessary to write '\x00'==0 to get something
12695 that's true only with -std. */
12696 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12698 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12699 inside strings and character constants. */
12700 #define FOO(x) 'x'
12701 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12703 int test (int i, double x);
12704 struct s1 {int (*f) (int a);};
12705 struct s2 {int (*f) (double a);};
12706 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12707 int argc;
12708 char **argv;
12710 main ()
12712 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12714 return 0;
12716 _ACEOF
12717 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12718 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12720 CC="$ac_save_CC $ac_arg"
12721 if ac_fn_c_try_compile "$LINENO"; then :
12722 ac_cv_prog_cc_c89=$ac_arg
12724 rm -f core conftest.err conftest.$ac_objext
12725 test "x$ac_cv_prog_cc_c89" != "xno" && break
12726 done
12727 rm -f conftest.$ac_ext
12728 CC=$ac_save_CC
12731 # AC_CACHE_VAL
12732 case "x$ac_cv_prog_cc_c89" in
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12735 $as_echo "none needed" >&6; } ;;
12736 xno)
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12738 $as_echo "unsupported" >&6; } ;;
12740 CC="$CC $ac_cv_prog_cc_c89"
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12742 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12743 esac
12744 if test "x$ac_cv_prog_cc_c89" != xno; then :
12748 ac_ext=c
12749 ac_cpp='$CPP $CPPFLAGS'
12750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12754 depcc="$CC" am_compiler_list=
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12757 $as_echo_n "checking dependency style of $depcc... " >&6; }
12758 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12759 $as_echo_n "(cached) " >&6
12760 else
12761 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12762 # We make a subdir and do the tests there. Otherwise we can end up
12763 # making bogus files that we don't know about and never remove. For
12764 # instance it was reported that on HP-UX the gcc test will end up
12765 # making a dummy file named `D' -- because `-MD' means `put the output
12766 # in D'.
12767 mkdir conftest.dir
12768 # Copy depcomp to subdir because otherwise we won't find it if we're
12769 # using a relative directory.
12770 cp "$am_depcomp" conftest.dir
12771 cd conftest.dir
12772 # We will build objects and dependencies in a subdirectory because
12773 # it helps to detect inapplicable dependency modes. For instance
12774 # both Tru64's cc and ICC support -MD to output dependencies as a
12775 # side effect of compilation, but ICC will put the dependencies in
12776 # the current directory while Tru64 will put them in the object
12777 # directory.
12778 mkdir sub
12780 am_cv_CC_dependencies_compiler_type=none
12781 if test "$am_compiler_list" = ""; then
12782 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12784 am__universal=false
12785 case " $depcc " in #(
12786 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12787 esac
12789 for depmode in $am_compiler_list; do
12790 # Setup a source with many dependencies, because some compilers
12791 # like to wrap large dependency lists on column 80 (with \), and
12792 # we should not choose a depcomp mode which is confused by this.
12794 # We need to recreate these files for each test, as the compiler may
12795 # overwrite some of them when testing with obscure command lines.
12796 # This happens at least with the AIX C compiler.
12797 : > sub/conftest.c
12798 for i in 1 2 3 4 5 6; do
12799 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12800 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12801 # Solaris 8's {/usr,}/bin/sh.
12802 touch sub/conftst$i.h
12803 done
12804 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12806 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12807 # mode. It turns out that the SunPro C++ compiler does not properly
12808 # handle `-M -o', and we need to detect this. Also, some Intel
12809 # versions had trouble with output in subdirs
12810 am__obj=sub/conftest.${OBJEXT-o}
12811 am__minus_obj="-o $am__obj"
12812 case $depmode in
12813 gcc)
12814 # This depmode causes a compiler race in universal mode.
12815 test "$am__universal" = false || continue
12817 nosideeffect)
12818 # after this tag, mechanisms are not by side-effect, so they'll
12819 # only be used when explicitly requested
12820 if test "x$enable_dependency_tracking" = xyes; then
12821 continue
12822 else
12823 break
12826 msvisualcpp | msvcmsys)
12827 # This compiler won't grok `-c -o', but also, the minuso test has
12828 # not run yet. These depmodes are late enough in the game, and
12829 # so weak that their functioning should not be impacted.
12830 am__obj=conftest.${OBJEXT-o}
12831 am__minus_obj=
12833 none) break ;;
12834 esac
12835 if depmode=$depmode \
12836 source=sub/conftest.c object=$am__obj \
12837 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12838 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12839 >/dev/null 2>conftest.err &&
12840 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12841 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12842 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12843 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12844 # icc doesn't choke on unknown options, it will just issue warnings
12845 # or remarks (even with -Werror). So we grep stderr for any message
12846 # that says an option was ignored or not supported.
12847 # When given -MP, icc 7.0 and 7.1 complain thusly:
12848 # icc: Command line warning: ignoring option '-M'; no argument required
12849 # The diagnosis changed in icc 8.0:
12850 # icc: Command line remark: option '-MP' not supported
12851 if (grep 'ignoring option' conftest.err ||
12852 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12853 am_cv_CC_dependencies_compiler_type=$depmode
12854 break
12857 done
12859 cd ..
12860 rm -rf conftest.dir
12861 else
12862 am_cv_CC_dependencies_compiler_type=none
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12867 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12868 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12871 test "x$enable_dependency_tracking" != xno \
12872 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12873 am__fastdepCC_TRUE=
12874 am__fastdepCC_FALSE='#'
12875 else
12876 am__fastdepCC_TRUE='#'
12877 am__fastdepCC_FALSE=
12881 if test "x$CC" != xcc; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12883 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12884 else
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12886 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12888 set dummy $CC; ac_cc=`$as_echo "$2" |
12889 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12890 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
12891 $as_echo_n "(cached) " >&6
12892 else
12893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12897 main ()
12901 return 0;
12903 _ACEOF
12904 # Make sure it works both with $CC and with simple cc.
12905 # We do the test twice because some compilers refuse to overwrite an
12906 # existing .o file with -o, though they will create one.
12907 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12908 rm -f conftest2.*
12909 if { { case "(($ac_try" in
12910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12911 *) ac_try_echo=$ac_try;;
12912 esac
12913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12914 $as_echo "$ac_try_echo"; } >&5
12915 (eval "$ac_try") 2>&5
12916 ac_status=$?
12917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12918 test $ac_status = 0; } &&
12919 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12921 *) ac_try_echo=$ac_try;;
12922 esac
12923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12924 $as_echo "$ac_try_echo"; } >&5
12925 (eval "$ac_try") 2>&5
12926 ac_status=$?
12927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12928 test $ac_status = 0; };
12929 then
12930 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12931 if test "x$CC" != xcc; then
12932 # Test first that cc exists at all.
12933 if { ac_try='cc -c conftest.$ac_ext >&5'
12934 { { case "(($ac_try" in
12935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12936 *) ac_try_echo=$ac_try;;
12937 esac
12938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12939 $as_echo "$ac_try_echo"; } >&5
12940 (eval "$ac_try") 2>&5
12941 ac_status=$?
12942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943 test $ac_status = 0; }; }; then
12944 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12945 rm -f conftest2.*
12946 if { { case "(($ac_try" in
12947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12948 *) ac_try_echo=$ac_try;;
12949 esac
12950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12951 $as_echo "$ac_try_echo"; } >&5
12952 (eval "$ac_try") 2>&5
12953 ac_status=$?
12954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12955 test $ac_status = 0; } &&
12956 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12958 *) ac_try_echo=$ac_try;;
12959 esac
12960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12961 $as_echo "$ac_try_echo"; } >&5
12962 (eval "$ac_try") 2>&5
12963 ac_status=$?
12964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12965 test $ac_status = 0; };
12966 then
12967 # cc works too.
12969 else
12970 # cc exists but doesn't like -o.
12971 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12975 else
12976 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12978 rm -f core conftest*
12981 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12983 $as_echo "yes" >&6; }
12984 else
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12986 $as_echo "no" >&6; }
12988 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12992 # FIXME: we rely on the cache variable name because
12993 # there is no other way.
12994 set dummy $CC
12995 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12996 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12997 if test "$am_t" != yes; then
12998 # Losing compiler, so override with the script.
12999 # FIXME: It is wrong to rewrite CC.
13000 # But if we don't then we get into trouble of one sort or another.
13001 # A longer-term fix would be to have automake use am__CC in this case,
13002 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13003 CC="$am_aux_dir/compile $CC"
13007 ac_ext=c
13008 ac_cpp='$CPP $CPPFLAGS'
13009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13013 $as_echo_n "checking how to run the C preprocessor... " >&6; }
13014 # On Suns, sometimes $CPP names a directory.
13015 if test -n "$CPP" && test -d "$CPP"; then
13016 CPP=
13018 if test -z "$CPP"; then
13019 if test "${ac_cv_prog_CPP+set}" = set; then :
13020 $as_echo_n "(cached) " >&6
13021 else
13022 # Double quotes because CPP needs to be expanded
13023 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13025 ac_preproc_ok=false
13026 for ac_c_preproc_warn_flag in '' yes
13028 # Use a header file that comes with gcc, so configuring glibc
13029 # with a fresh cross-compiler works.
13030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13031 # <limits.h> exists even on freestanding compilers.
13032 # On the NeXT, cc -E runs the code through the compiler's parser,
13033 # not just through cpp. "Syntax error" is here to catch this case.
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13036 #ifdef __STDC__
13037 # include <limits.h>
13038 #else
13039 # include <assert.h>
13040 #endif
13041 Syntax error
13042 _ACEOF
13043 if ac_fn_c_try_cpp "$LINENO"; then :
13045 else
13046 # Broken: fails on valid input.
13047 continue
13049 rm -f conftest.err conftest.$ac_ext
13051 # OK, works on sane cases. Now check whether nonexistent headers
13052 # can be detected and how.
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13055 #include <ac_nonexistent.h>
13056 _ACEOF
13057 if ac_fn_c_try_cpp "$LINENO"; then :
13058 # Broken: success on invalid input.
13059 continue
13060 else
13061 # Passes both tests.
13062 ac_preproc_ok=:
13063 break
13065 rm -f conftest.err conftest.$ac_ext
13067 done
13068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13069 rm -f conftest.err conftest.$ac_ext
13070 if $ac_preproc_ok; then :
13071 break
13074 done
13075 ac_cv_prog_CPP=$CPP
13078 CPP=$ac_cv_prog_CPP
13079 else
13080 ac_cv_prog_CPP=$CPP
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13083 $as_echo "$CPP" >&6; }
13084 ac_preproc_ok=false
13085 for ac_c_preproc_warn_flag in '' yes
13087 # Use a header file that comes with gcc, so configuring glibc
13088 # with a fresh cross-compiler works.
13089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13090 # <limits.h> exists even on freestanding compilers.
13091 # On the NeXT, cc -E runs the code through the compiler's parser,
13092 # not just through cpp. "Syntax error" is here to catch this case.
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13095 #ifdef __STDC__
13096 # include <limits.h>
13097 #else
13098 # include <assert.h>
13099 #endif
13100 Syntax error
13101 _ACEOF
13102 if ac_fn_c_try_cpp "$LINENO"; then :
13104 else
13105 # Broken: fails on valid input.
13106 continue
13108 rm -f conftest.err conftest.$ac_ext
13110 # OK, works on sane cases. Now check whether nonexistent headers
13111 # can be detected and how.
13112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13114 #include <ac_nonexistent.h>
13115 _ACEOF
13116 if ac_fn_c_try_cpp "$LINENO"; then :
13117 # Broken: success on invalid input.
13118 continue
13119 else
13120 # Passes both tests.
13121 ac_preproc_ok=:
13122 break
13124 rm -f conftest.err conftest.$ac_ext
13126 done
13127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13128 rm -f conftest.err conftest.$ac_ext
13129 if $ac_preproc_ok; then :
13131 else
13132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13134 as_fn_error "C preprocessor \"$CPP\" fails sanity check
13135 See \`config.log' for more details." "$LINENO" 5; }
13138 ac_ext=c
13139 ac_cpp='$CPP $CPPFLAGS'
13140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13144 ac_ext=cpp
13145 ac_cpp='$CXXCPP $CPPFLAGS'
13146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13149 if test -z "$CXX"; then
13150 if test -n "$CCC"; then
13151 CXX=$CCC
13152 else
13153 if test -n "$ac_tool_prefix"; then
13154 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13159 $as_echo_n "checking for $ac_word... " >&6; }
13160 if test "${ac_cv_prog_CXX+set}" = set; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 if test -n "$CXX"; then
13164 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13165 else
13166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13167 for as_dir in $PATH
13169 IFS=$as_save_IFS
13170 test -z "$as_dir" && as_dir=.
13171 for ac_exec_ext in '' $ac_executable_extensions; do
13172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13173 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13175 break 2
13177 done
13178 done
13179 IFS=$as_save_IFS
13183 CXX=$ac_cv_prog_CXX
13184 if test -n "$CXX"; then
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13186 $as_echo "$CXX" >&6; }
13187 else
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13189 $as_echo "no" >&6; }
13193 test -n "$CXX" && break
13194 done
13196 if test -z "$CXX"; then
13197 ac_ct_CXX=$CXX
13198 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13200 # Extract the first word of "$ac_prog", so it can be a program name with args.
13201 set dummy $ac_prog; ac_word=$2
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13203 $as_echo_n "checking for $ac_word... " >&6; }
13204 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13205 $as_echo_n "(cached) " >&6
13206 else
13207 if test -n "$ac_ct_CXX"; then
13208 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13209 else
13210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13211 for as_dir in $PATH
13213 IFS=$as_save_IFS
13214 test -z "$as_dir" && as_dir=.
13215 for ac_exec_ext in '' $ac_executable_extensions; do
13216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13217 ac_cv_prog_ac_ct_CXX="$ac_prog"
13218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13219 break 2
13221 done
13222 done
13223 IFS=$as_save_IFS
13227 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13228 if test -n "$ac_ct_CXX"; then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13230 $as_echo "$ac_ct_CXX" >&6; }
13231 else
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13233 $as_echo "no" >&6; }
13237 test -n "$ac_ct_CXX" && break
13238 done
13240 if test "x$ac_ct_CXX" = x; then
13241 CXX="g++"
13242 else
13243 case $cross_compiling:$ac_tool_warned in
13244 yes:)
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13247 ac_tool_warned=yes ;;
13248 esac
13249 CXX=$ac_ct_CXX
13255 # Provide some information about the compiler.
13256 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13257 set X $ac_compile
13258 ac_compiler=$2
13259 for ac_option in --version -v -V -qversion; do
13260 { { ac_try="$ac_compiler $ac_option >&5"
13261 case "(($ac_try" in
13262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13264 esac
13265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13266 $as_echo "$ac_try_echo"; } >&5
13267 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13268 ac_status=$?
13269 if test -s conftest.err; then
13270 sed '10a\
13271 ... rest of stderr output deleted ...
13272 10q' conftest.err >conftest.er1
13273 cat conftest.er1 >&5
13274 rm -f conftest.er1 conftest.err
13276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13277 test $ac_status = 0; }
13278 done
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13281 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13282 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13283 $as_echo_n "(cached) " >&6
13284 else
13285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13289 main ()
13291 #ifndef __GNUC__
13292 choke me
13293 #endif
13296 return 0;
13298 _ACEOF
13299 if ac_fn_cxx_try_compile "$LINENO"; then :
13300 ac_compiler_gnu=yes
13301 else
13302 ac_compiler_gnu=no
13304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13309 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13310 if test $ac_compiler_gnu = yes; then
13311 GXX=yes
13312 else
13313 GXX=
13315 ac_test_CXXFLAGS=${CXXFLAGS+set}
13316 ac_save_CXXFLAGS=$CXXFLAGS
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13318 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13319 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13320 $as_echo_n "(cached) " >&6
13321 else
13322 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13323 ac_cxx_werror_flag=yes
13324 ac_cv_prog_cxx_g=no
13325 CXXFLAGS="-g"
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13330 main ()
13334 return 0;
13336 _ACEOF
13337 if ac_fn_cxx_try_compile "$LINENO"; then :
13338 ac_cv_prog_cxx_g=yes
13339 else
13340 CXXFLAGS=""
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13345 main ()
13349 return 0;
13351 _ACEOF
13352 if ac_fn_cxx_try_compile "$LINENO"; then :
13354 else
13355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13356 CXXFLAGS="-g"
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13361 main ()
13365 return 0;
13367 _ACEOF
13368 if ac_fn_cxx_try_compile "$LINENO"; then :
13369 ac_cv_prog_cxx_g=yes
13371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13376 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13379 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13380 if test "$ac_test_CXXFLAGS" = set; then
13381 CXXFLAGS=$ac_save_CXXFLAGS
13382 elif test $ac_cv_prog_cxx_g = yes; then
13383 if test "$GXX" = yes; then
13384 CXXFLAGS="-g -O2"
13385 else
13386 CXXFLAGS="-g"
13388 else
13389 if test "$GXX" = yes; then
13390 CXXFLAGS="-O2"
13391 else
13392 CXXFLAGS=
13395 ac_ext=c
13396 ac_cpp='$CPP $CPPFLAGS'
13397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13401 depcc="$CXX" am_compiler_list=
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13404 $as_echo_n "checking dependency style of $depcc... " >&6; }
13405 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13406 $as_echo_n "(cached) " >&6
13407 else
13408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13409 # We make a subdir and do the tests there. Otherwise we can end up
13410 # making bogus files that we don't know about and never remove. For
13411 # instance it was reported that on HP-UX the gcc test will end up
13412 # making a dummy file named `D' -- because `-MD' means `put the output
13413 # in D'.
13414 mkdir conftest.dir
13415 # Copy depcomp to subdir because otherwise we won't find it if we're
13416 # using a relative directory.
13417 cp "$am_depcomp" conftest.dir
13418 cd conftest.dir
13419 # We will build objects and dependencies in a subdirectory because
13420 # it helps to detect inapplicable dependency modes. For instance
13421 # both Tru64's cc and ICC support -MD to output dependencies as a
13422 # side effect of compilation, but ICC will put the dependencies in
13423 # the current directory while Tru64 will put them in the object
13424 # directory.
13425 mkdir sub
13427 am_cv_CXX_dependencies_compiler_type=none
13428 if test "$am_compiler_list" = ""; then
13429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13431 am__universal=false
13432 case " $depcc " in #(
13433 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13434 esac
13436 for depmode in $am_compiler_list; do
13437 # Setup a source with many dependencies, because some compilers
13438 # like to wrap large dependency lists on column 80 (with \), and
13439 # we should not choose a depcomp mode which is confused by this.
13441 # We need to recreate these files for each test, as the compiler may
13442 # overwrite some of them when testing with obscure command lines.
13443 # This happens at least with the AIX C compiler.
13444 : > sub/conftest.c
13445 for i in 1 2 3 4 5 6; do
13446 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13447 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13448 # Solaris 8's {/usr,}/bin/sh.
13449 touch sub/conftst$i.h
13450 done
13451 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13453 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13454 # mode. It turns out that the SunPro C++ compiler does not properly
13455 # handle `-M -o', and we need to detect this. Also, some Intel
13456 # versions had trouble with output in subdirs
13457 am__obj=sub/conftest.${OBJEXT-o}
13458 am__minus_obj="-o $am__obj"
13459 case $depmode in
13460 gcc)
13461 # This depmode causes a compiler race in universal mode.
13462 test "$am__universal" = false || continue
13464 nosideeffect)
13465 # after this tag, mechanisms are not by side-effect, so they'll
13466 # only be used when explicitly requested
13467 if test "x$enable_dependency_tracking" = xyes; then
13468 continue
13469 else
13470 break
13473 msvisualcpp | msvcmsys)
13474 # This compiler won't grok `-c -o', but also, the minuso test has
13475 # not run yet. These depmodes are late enough in the game, and
13476 # so weak that their functioning should not be impacted.
13477 am__obj=conftest.${OBJEXT-o}
13478 am__minus_obj=
13480 none) break ;;
13481 esac
13482 if depmode=$depmode \
13483 source=sub/conftest.c object=$am__obj \
13484 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13485 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13486 >/dev/null 2>conftest.err &&
13487 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13488 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13489 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13490 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13491 # icc doesn't choke on unknown options, it will just issue warnings
13492 # or remarks (even with -Werror). So we grep stderr for any message
13493 # that says an option was ignored or not supported.
13494 # When given -MP, icc 7.0 and 7.1 complain thusly:
13495 # icc: Command line warning: ignoring option '-M'; no argument required
13496 # The diagnosis changed in icc 8.0:
13497 # icc: Command line remark: option '-MP' not supported
13498 if (grep 'ignoring option' conftest.err ||
13499 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13500 am_cv_CXX_dependencies_compiler_type=$depmode
13501 break
13504 done
13506 cd ..
13507 rm -rf conftest.dir
13508 else
13509 am_cv_CXX_dependencies_compiler_type=none
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13514 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13515 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13518 test "x$enable_dependency_tracking" != xno \
13519 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13520 am__fastdepCXX_TRUE=
13521 am__fastdepCXX_FALSE='#'
13522 else
13523 am__fastdepCXX_TRUE='#'
13524 am__fastdepCXX_FALSE=
13528 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13529 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13530 (test "X$CXX" != "Xg++"))) ; then
13531 ac_ext=cpp
13532 ac_cpp='$CXXCPP $CPPFLAGS'
13533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13537 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13538 if test -z "$CXXCPP"; then
13539 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13540 $as_echo_n "(cached) " >&6
13541 else
13542 # Double quotes because CXXCPP needs to be expanded
13543 for CXXCPP in "$CXX -E" "/lib/cpp"
13545 ac_preproc_ok=false
13546 for ac_cxx_preproc_warn_flag in '' yes
13548 # Use a header file that comes with gcc, so configuring glibc
13549 # with a fresh cross-compiler works.
13550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13551 # <limits.h> exists even on freestanding compilers.
13552 # On the NeXT, cc -E runs the code through the compiler's parser,
13553 # not just through cpp. "Syntax error" is here to catch this case.
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 #ifdef __STDC__
13557 # include <limits.h>
13558 #else
13559 # include <assert.h>
13560 #endif
13561 Syntax error
13562 _ACEOF
13563 if ac_fn_cxx_try_cpp "$LINENO"; then :
13565 else
13566 # Broken: fails on valid input.
13567 continue
13569 rm -f conftest.err conftest.$ac_ext
13571 # OK, works on sane cases. Now check whether nonexistent headers
13572 # can be detected and how.
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 #include <ac_nonexistent.h>
13576 _ACEOF
13577 if ac_fn_cxx_try_cpp "$LINENO"; then :
13578 # Broken: success on invalid input.
13579 continue
13580 else
13581 # Passes both tests.
13582 ac_preproc_ok=:
13583 break
13585 rm -f conftest.err conftest.$ac_ext
13587 done
13588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13589 rm -f conftest.err conftest.$ac_ext
13590 if $ac_preproc_ok; then :
13591 break
13594 done
13595 ac_cv_prog_CXXCPP=$CXXCPP
13598 CXXCPP=$ac_cv_prog_CXXCPP
13599 else
13600 ac_cv_prog_CXXCPP=$CXXCPP
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13603 $as_echo "$CXXCPP" >&6; }
13604 ac_preproc_ok=false
13605 for ac_cxx_preproc_warn_flag in '' yes
13607 # Use a header file that comes with gcc, so configuring glibc
13608 # with a fresh cross-compiler works.
13609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13610 # <limits.h> exists even on freestanding compilers.
13611 # On the NeXT, cc -E runs the code through the compiler's parser,
13612 # not just through cpp. "Syntax error" is here to catch this case.
13613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13615 #ifdef __STDC__
13616 # include <limits.h>
13617 #else
13618 # include <assert.h>
13619 #endif
13620 Syntax error
13621 _ACEOF
13622 if ac_fn_cxx_try_cpp "$LINENO"; then :
13624 else
13625 # Broken: fails on valid input.
13626 continue
13628 rm -f conftest.err conftest.$ac_ext
13630 # OK, works on sane cases. Now check whether nonexistent headers
13631 # can be detected and how.
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13634 #include <ac_nonexistent.h>
13635 _ACEOF
13636 if ac_fn_cxx_try_cpp "$LINENO"; then :
13637 # Broken: success on invalid input.
13638 continue
13639 else
13640 # Passes both tests.
13641 ac_preproc_ok=:
13642 break
13644 rm -f conftest.err conftest.$ac_ext
13646 done
13647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13648 rm -f conftest.err conftest.$ac_ext
13649 if $ac_preproc_ok; then :
13651 else
13652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13654 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
13655 See \`config.log' for more details." "$LINENO" 5; }
13658 ac_ext=c
13659 ac_cpp='$CPP $CPPFLAGS'
13660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13664 else
13665 _lt_caught_CXX_error=yes
13668 ac_ext=cpp
13669 ac_cpp='$CXXCPP $CPPFLAGS'
13670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13674 archive_cmds_need_lc_CXX=no
13675 allow_undefined_flag_CXX=
13676 always_export_symbols_CXX=no
13677 archive_expsym_cmds_CXX=
13678 compiler_needs_object_CXX=no
13679 export_dynamic_flag_spec_CXX=
13680 hardcode_direct_CXX=no
13681 hardcode_direct_absolute_CXX=no
13682 hardcode_libdir_flag_spec_CXX=
13683 hardcode_libdir_flag_spec_ld_CXX=
13684 hardcode_libdir_separator_CXX=
13685 hardcode_minus_L_CXX=no
13686 hardcode_shlibpath_var_CXX=unsupported
13687 hardcode_automatic_CXX=no
13688 inherit_rpath_CXX=no
13689 module_cmds_CXX=
13690 module_expsym_cmds_CXX=
13691 link_all_deplibs_CXX=unknown
13692 old_archive_cmds_CXX=$old_archive_cmds
13693 reload_flag_CXX=$reload_flag
13694 reload_cmds_CXX=$reload_cmds
13695 no_undefined_flag_CXX=
13696 whole_archive_flag_spec_CXX=
13697 enable_shared_with_static_runtimes_CXX=no
13699 # Source file extension for C++ test sources.
13700 ac_ext=cpp
13702 # Object file extension for compiled C++ test sources.
13703 objext=o
13704 objext_CXX=$objext
13706 # No sense in running all these tests if we already determined that
13707 # the CXX compiler isn't working. Some variables (like enable_shared)
13708 # are currently assumed to apply to all compilers on this platform,
13709 # and will be corrupted by setting them based on a non-working compiler.
13710 if test "$_lt_caught_CXX_error" != yes; then
13711 # Code to be used in simple compile tests
13712 lt_simple_compile_test_code="int some_variable = 0;"
13714 # Code to be used in simple link tests
13715 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13717 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13724 # If no C compiler was specified, use CC.
13725 LTCC=${LTCC-"$CC"}
13727 # If no C compiler flags were specified, use CFLAGS.
13728 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13730 # Allow CC to be a program name with arguments.
13731 compiler=$CC
13734 # save warnings/boilerplate of simple test code
13735 ac_outfile=conftest.$ac_objext
13736 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13737 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13738 _lt_compiler_boilerplate=`cat conftest.err`
13739 $RM conftest*
13741 ac_outfile=conftest.$ac_objext
13742 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13743 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13744 _lt_linker_boilerplate=`cat conftest.err`
13745 $RM -r conftest*
13748 # Allow CC to be a program name with arguments.
13749 lt_save_CC=$CC
13750 lt_save_LD=$LD
13751 lt_save_GCC=$GCC
13752 GCC=$GXX
13753 lt_save_with_gnu_ld=$with_gnu_ld
13754 lt_save_path_LD=$lt_cv_path_LD
13755 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13756 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13757 else
13758 $as_unset lt_cv_prog_gnu_ld
13760 if test -n "${lt_cv_path_LDCXX+set}"; then
13761 lt_cv_path_LD=$lt_cv_path_LDCXX
13762 else
13763 $as_unset lt_cv_path_LD
13765 test -z "${LDCXX+set}" || LD=$LDCXX
13766 CC=${CXX-"c++"}
13767 compiler=$CC
13768 compiler_CXX=$CC
13769 for cc_temp in $compiler""; do
13770 case $cc_temp in
13771 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13772 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13773 \-*) ;;
13774 *) break;;
13775 esac
13776 done
13777 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13780 if test -n "$compiler"; then
13781 # We don't want -fno-exception when compiling C++ code, so set the
13782 # no_builtin_flag separately
13783 if test "$GXX" = yes; then
13784 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13785 else
13786 lt_prog_compiler_no_builtin_flag_CXX=
13789 if test "$GXX" = yes; then
13790 # Set up default GNU C++ configuration
13794 # Check whether --with-gnu-ld was given.
13795 if test "${with_gnu_ld+set}" = set; then :
13796 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13797 else
13798 with_gnu_ld=no
13801 ac_prog=ld
13802 if test "$GCC" = yes; then
13803 # Check if gcc -print-prog-name=ld gives a path.
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13805 $as_echo_n "checking for ld used by $CC... " >&6; }
13806 case $host in
13807 *-*-mingw*)
13808 # gcc leaves a trailing carriage return which upsets mingw
13809 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13811 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13812 esac
13813 case $ac_prog in
13814 # Accept absolute paths.
13815 [\\/]* | ?:[\\/]*)
13816 re_direlt='/[^/][^/]*/\.\./'
13817 # Canonicalize the pathname of ld
13818 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13819 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13820 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13821 done
13822 test -z "$LD" && LD="$ac_prog"
13825 # If it fails, then pretend we aren't using GCC.
13826 ac_prog=ld
13829 # If it is relative, then search for the first ld in PATH.
13830 with_gnu_ld=unknown
13832 esac
13833 elif test "$with_gnu_ld" = yes; then
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13835 $as_echo_n "checking for GNU ld... " >&6; }
13836 else
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13838 $as_echo_n "checking for non-GNU ld... " >&6; }
13840 if test "${lt_cv_path_LD+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 if test -z "$LD"; then
13844 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13845 for ac_dir in $PATH; do
13846 IFS="$lt_save_ifs"
13847 test -z "$ac_dir" && ac_dir=.
13848 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13849 lt_cv_path_LD="$ac_dir/$ac_prog"
13850 # Check to see if the program is GNU ld. I'd rather use --version,
13851 # but apparently some variants of GNU ld only accept -v.
13852 # Break only if it was the GNU/non-GNU ld that we prefer.
13853 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13854 *GNU* | *'with BFD'*)
13855 test "$with_gnu_ld" != no && break
13858 test "$with_gnu_ld" != yes && break
13860 esac
13862 done
13863 IFS="$lt_save_ifs"
13864 else
13865 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13869 LD="$lt_cv_path_LD"
13870 if test -n "$LD"; then
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13872 $as_echo "$LD" >&6; }
13873 else
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13875 $as_echo "no" >&6; }
13877 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13879 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13880 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13884 case `$LD -v 2>&1 </dev/null` in
13885 *GNU* | *'with BFD'*)
13886 lt_cv_prog_gnu_ld=yes
13889 lt_cv_prog_gnu_ld=no
13891 esac
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13894 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13895 with_gnu_ld=$lt_cv_prog_gnu_ld
13903 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13904 # archiving commands below assume that GNU ld is being used.
13905 if test "$with_gnu_ld" = yes; then
13906 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13907 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'
13909 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13910 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13912 # If archive_cmds runs LD, not CC, wlarc should be empty
13913 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13914 # investigate it a little bit more. (MM)
13915 wlarc='${wl}'
13917 # ancient GNU ld didn't support --whole-archive et. al.
13918 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13919 $GREP 'no-whole-archive' > /dev/null; then
13920 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13921 else
13922 whole_archive_flag_spec_CXX=
13924 else
13925 with_gnu_ld=no
13926 wlarc=
13928 # A generic and very simple default shared library creation
13929 # command for GNU C++ for the case where it uses the native
13930 # linker, instead of GNU ld. If possible, this setting should
13931 # overridden to take advantage of the native linker features on
13932 # the platform it is being used on.
13933 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13936 # Commands to make compiler produce verbose output that lists
13937 # what "hidden" libraries, object files and flags are used when
13938 # linking a shared library.
13939 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13941 else
13942 GXX=no
13943 with_gnu_ld=no
13944 wlarc=
13947 # PORTME: fill in a description of your system's C++ link characteristics
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13949 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13950 ld_shlibs_CXX=yes
13951 case $host_os in
13952 aix3*)
13953 # FIXME: insert proper C++ library support
13954 ld_shlibs_CXX=no
13956 aix[4-9]*)
13957 if test "$host_cpu" = ia64; then
13958 # On IA64, the linker does run time linking by default, so we don't
13959 # have to do anything special.
13960 aix_use_runtimelinking=no
13961 exp_sym_flag='-Bexport'
13962 no_entry_flag=""
13963 else
13964 aix_use_runtimelinking=no
13966 # Test if we are trying to use run time linking or normal
13967 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13968 # need to do runtime linking.
13969 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13970 for ld_flag in $LDFLAGS; do
13971 case $ld_flag in
13972 *-brtl*)
13973 aix_use_runtimelinking=yes
13974 break
13976 esac
13977 done
13979 esac
13981 exp_sym_flag='-bexport'
13982 no_entry_flag='-bnoentry'
13985 # When large executables or shared objects are built, AIX ld can
13986 # have problems creating the table of contents. If linking a library
13987 # or program results in "error TOC overflow" add -mminimal-toc to
13988 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13989 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13991 archive_cmds_CXX=''
13992 hardcode_direct_CXX=yes
13993 hardcode_direct_absolute_CXX=yes
13994 hardcode_libdir_separator_CXX=':'
13995 link_all_deplibs_CXX=yes
13996 file_list_spec_CXX='${wl}-f,'
13998 if test "$GXX" = yes; then
13999 case $host_os in aix4.[012]|aix4.[012].*)
14000 # We only want to do this on AIX 4.2 and lower, the check
14001 # below for broken collect2 doesn't work under 4.3+
14002 collect2name=`${CC} -print-prog-name=collect2`
14003 if test -f "$collect2name" &&
14004 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14005 then
14006 # We have reworked collect2
14008 else
14009 # We have old collect2
14010 hardcode_direct_CXX=unsupported
14011 # It fails to find uninstalled libraries when the uninstalled
14012 # path is not listed in the libpath. Setting hardcode_minus_L
14013 # to unsupported forces relinking
14014 hardcode_minus_L_CXX=yes
14015 hardcode_libdir_flag_spec_CXX='-L$libdir'
14016 hardcode_libdir_separator_CXX=
14018 esac
14019 shared_flag='-shared'
14020 if test "$aix_use_runtimelinking" = yes; then
14021 shared_flag="$shared_flag "'${wl}-G'
14023 else
14024 # not using gcc
14025 if test "$host_cpu" = ia64; then
14026 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14027 # chokes on -Wl,-G. The following line is correct:
14028 shared_flag='-G'
14029 else
14030 if test "$aix_use_runtimelinking" = yes; then
14031 shared_flag='${wl}-G'
14032 else
14033 shared_flag='${wl}-bM:SRE'
14038 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14039 # It seems that -bexpall does not export symbols beginning with
14040 # underscore (_), so it is better to generate a list of symbols to
14041 # export.
14042 always_export_symbols_CXX=yes
14043 if test "$aix_use_runtimelinking" = yes; then
14044 # Warning - without using the other runtime loading flags (-brtl),
14045 # -berok will link without error, but may produce a broken library.
14046 allow_undefined_flag_CXX='-berok'
14047 # Determine the default libpath from the value encoded in an empty
14048 # executable.
14049 if test x$gcc_no_link = xyes; then
14050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14056 main ()
14060 return 0;
14062 _ACEOF
14063 if ac_fn_cxx_try_link "$LINENO"; then :
14065 lt_aix_libpath_sed='
14066 /Import File Strings/,/^$/ {
14067 /^0/ {
14068 s/^0 *\(.*\)$/\1/
14072 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14073 # Check for a 64-bit object if we didn't find anything.
14074 if test -z "$aix_libpath"; then
14075 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14078 rm -f core conftest.err conftest.$ac_objext \
14079 conftest$ac_exeext conftest.$ac_ext
14080 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14082 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14084 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"
14085 else
14086 if test "$host_cpu" = ia64; then
14087 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14088 allow_undefined_flag_CXX="-z nodefs"
14089 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"
14090 else
14091 # Determine the default libpath from the value encoded in an
14092 # empty executable.
14093 if test x$gcc_no_link = xyes; then
14094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14100 main ()
14104 return 0;
14106 _ACEOF
14107 if ac_fn_cxx_try_link "$LINENO"; then :
14109 lt_aix_libpath_sed='
14110 /Import File Strings/,/^$/ {
14111 /^0/ {
14112 s/^0 *\(.*\)$/\1/
14116 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14117 # Check for a 64-bit object if we didn't find anything.
14118 if test -z "$aix_libpath"; then
14119 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14122 rm -f core conftest.err conftest.$ac_objext \
14123 conftest$ac_exeext conftest.$ac_ext
14124 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14126 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14127 # Warning - without using the other run time loading flags,
14128 # -berok will link without error, but may produce a broken library.
14129 no_undefined_flag_CXX=' ${wl}-bernotok'
14130 allow_undefined_flag_CXX=' ${wl}-berok'
14131 if test "$with_gnu_ld" = yes; then
14132 # We only use this code for GNU lds that support --whole-archive.
14133 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14134 else
14135 # Exported symbols can be pulled into shared objects from archives
14136 whole_archive_flag_spec_CXX='$convenience'
14138 archive_cmds_need_lc_CXX=yes
14139 # This is similar to how AIX traditionally builds its shared
14140 # libraries.
14141 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'
14146 beos*)
14147 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14148 allow_undefined_flag_CXX=unsupported
14149 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14150 # support --undefined. This deserves some investigation. FIXME
14151 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14152 else
14153 ld_shlibs_CXX=no
14157 chorus*)
14158 case $cc_basename in
14160 # FIXME: insert proper C++ library support
14161 ld_shlibs_CXX=no
14163 esac
14166 cygwin* | mingw* | pw32* | cegcc*)
14167 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14168 # as there is no search path for DLLs.
14169 hardcode_libdir_flag_spec_CXX='-L$libdir'
14170 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14171 allow_undefined_flag_CXX=unsupported
14172 always_export_symbols_CXX=no
14173 enable_shared_with_static_runtimes_CXX=yes
14175 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14176 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'
14177 # If the export-symbols file already is a .def file (1st line
14178 # is EXPORTS), use it as is; otherwise, prepend...
14179 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14180 cp $export_symbols $output_objdir/$soname.def;
14181 else
14182 echo EXPORTS > $output_objdir/$soname.def;
14183 cat $export_symbols >> $output_objdir/$soname.def;
14185 $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'
14186 else
14187 ld_shlibs_CXX=no
14190 darwin* | rhapsody*)
14193 archive_cmds_need_lc_CXX=no
14194 hardcode_direct_CXX=no
14195 hardcode_automatic_CXX=yes
14196 hardcode_shlibpath_var_CXX=unsupported
14197 if test "$lt_cv_ld_force_load" = "yes"; then
14198 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\"`'
14199 else
14200 whole_archive_flag_spec_CXX=''
14202 link_all_deplibs_CXX=yes
14203 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14204 case $cc_basename in
14205 ifort*) _lt_dar_can_shared=yes ;;
14206 *) _lt_dar_can_shared=$GCC ;;
14207 esac
14208 if test "$_lt_dar_can_shared" = "yes"; then
14209 output_verbose_link_cmd=func_echo_all
14210 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}"
14211 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14212 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}"
14213 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}"
14214 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14215 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}"
14216 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}"
14219 else
14220 ld_shlibs_CXX=no
14225 dgux*)
14226 case $cc_basename in
14227 ec++*)
14228 # FIXME: insert proper C++ library support
14229 ld_shlibs_CXX=no
14231 ghcx*)
14232 # Green Hills C++ Compiler
14233 # FIXME: insert proper C++ library support
14234 ld_shlibs_CXX=no
14237 # FIXME: insert proper C++ library support
14238 ld_shlibs_CXX=no
14240 esac
14243 freebsd2.*)
14244 # C++ shared libraries reported to be fairly broken before
14245 # switch to ELF
14246 ld_shlibs_CXX=no
14249 freebsd-elf*)
14250 archive_cmds_need_lc_CXX=no
14253 freebsd* | dragonfly*)
14254 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14255 # conventions
14256 ld_shlibs_CXX=yes
14259 gnu*)
14262 haiku*)
14263 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14264 link_all_deplibs_CXX=yes
14267 hpux9*)
14268 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14269 hardcode_libdir_separator_CXX=:
14270 export_dynamic_flag_spec_CXX='${wl}-E'
14271 hardcode_direct_CXX=yes
14272 hardcode_minus_L_CXX=yes # Not in the search PATH,
14273 # but as the default
14274 # location of the library.
14276 case $cc_basename in
14277 CC*)
14278 # FIXME: insert proper C++ library support
14279 ld_shlibs_CXX=no
14281 aCC*)
14282 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'
14283 # Commands to make compiler produce verbose output that lists
14284 # what "hidden" libraries, object files and flags are used when
14285 # linking a shared library.
14287 # There doesn't appear to be a way to prevent this compiler from
14288 # explicitly linking system object files so we need to strip them
14289 # from the output so that they don't get included in the library
14290 # dependencies.
14291 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"'
14294 if test "$GXX" = yes; then
14295 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'
14296 else
14297 # FIXME: insert proper C++ library support
14298 ld_shlibs_CXX=no
14301 esac
14304 hpux10*|hpux11*)
14305 if test $with_gnu_ld = no; then
14306 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14307 hardcode_libdir_separator_CXX=:
14309 case $host_cpu in
14310 hppa*64*|ia64*)
14313 export_dynamic_flag_spec_CXX='${wl}-E'
14315 esac
14317 case $host_cpu in
14318 hppa*64*|ia64*)
14319 hardcode_direct_CXX=no
14320 hardcode_shlibpath_var_CXX=no
14323 hardcode_direct_CXX=yes
14324 hardcode_direct_absolute_CXX=yes
14325 hardcode_minus_L_CXX=yes # Not in the search PATH,
14326 # but as the default
14327 # location of the library.
14329 esac
14331 case $cc_basename in
14332 CC*)
14333 # FIXME: insert proper C++ library support
14334 ld_shlibs_CXX=no
14336 aCC*)
14337 case $host_cpu in
14338 hppa*64*)
14339 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14341 ia64*)
14342 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14345 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14347 esac
14348 # Commands to make compiler produce verbose output that lists
14349 # what "hidden" libraries, object files and flags are used when
14350 # linking a shared library.
14352 # There doesn't appear to be a way to prevent this compiler from
14353 # explicitly linking system object files so we need to strip them
14354 # from the output so that they don't get included in the library
14355 # dependencies.
14356 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"'
14359 if test "$GXX" = yes; then
14360 if test $with_gnu_ld = no; then
14361 case $host_cpu in
14362 hppa*64*)
14363 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14365 ia64*)
14366 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14369 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'
14371 esac
14373 else
14374 # FIXME: insert proper C++ library support
14375 ld_shlibs_CXX=no
14378 esac
14381 interix[3-9]*)
14382 hardcode_direct_CXX=no
14383 hardcode_shlibpath_var_CXX=no
14384 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14385 export_dynamic_flag_spec_CXX='${wl}-E'
14386 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14387 # Instead, shared libraries are loaded at an image base (0x10000000 by
14388 # default) and relocated if they conflict, which is a slow very memory
14389 # consuming and fragmenting process. To avoid this, we pick a random,
14390 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14391 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14392 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'
14393 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'
14395 irix5* | irix6*)
14396 case $cc_basename in
14397 CC*)
14398 # SGI C++
14399 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'
14401 # Archives containing C++ object files must be created using
14402 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14403 # necessary to make sure instantiated templates are included
14404 # in the archive.
14405 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14408 if test "$GXX" = yes; then
14409 if test "$with_gnu_ld" = no; then
14410 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'
14411 else
14412 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'
14415 link_all_deplibs_CXX=yes
14417 esac
14418 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14419 hardcode_libdir_separator_CXX=:
14420 inherit_rpath_CXX=yes
14423 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14424 case $cc_basename in
14425 KCC*)
14426 # Kuck and Associates, Inc. (KAI) C++ Compiler
14428 # KCC will only create a shared library if the output file
14429 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14430 # to its proper name (with version) after linking.
14431 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'
14432 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'
14433 # Commands to make compiler produce verbose output that lists
14434 # what "hidden" libraries, object files and flags are used when
14435 # linking a shared library.
14437 # There doesn't appear to be a way to prevent this compiler from
14438 # explicitly linking system object files so we need to strip them
14439 # from the output so that they don't get included in the library
14440 # dependencies.
14441 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"'
14443 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14444 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14446 # Archives containing C++ object files must be created using
14447 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14448 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14450 icpc* | ecpc* )
14451 # Intel C++
14452 with_gnu_ld=yes
14453 # version 8.0 and above of icpc choke on multiply defined symbols
14454 # if we add $predep_objects and $postdep_objects, however 7.1 and
14455 # earlier do not add the objects themselves.
14456 case `$CC -V 2>&1` in
14457 *"Version 7."*)
14458 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14459 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'
14461 *) # Version 8.0 or newer
14462 tmp_idyn=
14463 case $host_cpu in
14464 ia64*) tmp_idyn=' -i_dynamic';;
14465 esac
14466 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14467 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'
14469 esac
14470 archive_cmds_need_lc_CXX=no
14471 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14472 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14473 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14475 pgCC* | pgcpp*)
14476 # Portland Group C++ compiler
14477 case `$CC -V` in
14478 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14479 prelink_cmds_CXX='tpldir=Template.dir~
14480 rm -rf $tpldir~
14481 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14482 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14483 old_archive_cmds_CXX='tpldir=Template.dir~
14484 rm -rf $tpldir~
14485 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14486 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14487 $RANLIB $oldlib'
14488 archive_cmds_CXX='tpldir=Template.dir~
14489 rm -rf $tpldir~
14490 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14491 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14492 archive_expsym_cmds_CXX='tpldir=Template.dir~
14493 rm -rf $tpldir~
14494 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14495 $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'
14497 *) # Version 6 and above use weak symbols
14498 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14499 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'
14501 esac
14503 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14504 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14505 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'
14507 cxx*)
14508 # Compaq C++
14509 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14510 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'
14512 runpath_var=LD_RUN_PATH
14513 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14514 hardcode_libdir_separator_CXX=:
14516 # Commands to make compiler produce verbose output that lists
14517 # what "hidden" libraries, object files and flags are used when
14518 # linking a shared library.
14520 # There doesn't appear to be a way to prevent this compiler from
14521 # explicitly linking system object files so we need to strip them
14522 # from the output so that they don't get included in the library
14523 # dependencies.
14524 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'
14526 xl* | mpixl* | bgxl*)
14527 # IBM XL 8.0 on PPC, with GNU ld
14528 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14529 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14530 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14531 if test "x$supports_anon_versioning" = xyes; then
14532 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14533 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14534 echo "local: *; };" >> $output_objdir/$libname.ver~
14535 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14539 case `$CC -V 2>&1 | sed 5q` in
14540 *Sun\ C*)
14541 # Sun C++ 5.9
14542 no_undefined_flag_CXX=' -zdefs'
14543 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14544 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'
14545 hardcode_libdir_flag_spec_CXX='-R$libdir'
14546 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'
14547 compiler_needs_object_CXX=yes
14549 # Not sure whether something based on
14550 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14551 # would be better.
14552 output_verbose_link_cmd='func_echo_all'
14554 # Archives containing C++ object files must be created using
14555 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14556 # necessary to make sure instantiated templates are included
14557 # in the archive.
14558 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14560 esac
14562 esac
14565 lynxos*)
14566 # FIXME: insert proper C++ library support
14567 ld_shlibs_CXX=no
14570 m88k*)
14571 # FIXME: insert proper C++ library support
14572 ld_shlibs_CXX=no
14575 mvs*)
14576 case $cc_basename in
14577 cxx*)
14578 # FIXME: insert proper C++ library support
14579 ld_shlibs_CXX=no
14582 # FIXME: insert proper C++ library support
14583 ld_shlibs_CXX=no
14585 esac
14588 netbsd*)
14589 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14590 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14591 wlarc=
14592 hardcode_libdir_flag_spec_CXX='-R$libdir'
14593 hardcode_direct_CXX=yes
14594 hardcode_shlibpath_var_CXX=no
14596 # Workaround some broken pre-1.5 toolchains
14597 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14600 *nto* | *qnx*)
14601 ld_shlibs_CXX=yes
14604 openbsd2*)
14605 # C++ shared libraries are fairly broken
14606 ld_shlibs_CXX=no
14609 openbsd*)
14610 if test -f /usr/libexec/ld.so; then
14611 hardcode_direct_CXX=yes
14612 hardcode_shlibpath_var_CXX=no
14613 hardcode_direct_absolute_CXX=yes
14614 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14615 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14616 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14617 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14618 export_dynamic_flag_spec_CXX='${wl}-E'
14619 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14621 output_verbose_link_cmd=func_echo_all
14622 else
14623 ld_shlibs_CXX=no
14627 osf3* | osf4* | osf5*)
14628 case $cc_basename in
14629 KCC*)
14630 # Kuck and Associates, Inc. (KAI) C++ Compiler
14632 # KCC will only create a shared library if the output file
14633 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14634 # to its proper name (with version) after linking.
14635 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'
14637 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14638 hardcode_libdir_separator_CXX=:
14640 # Archives containing C++ object files must be created using
14641 # the KAI C++ compiler.
14642 case $host in
14643 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14644 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14645 esac
14647 RCC*)
14648 # Rational C++ 2.4.1
14649 # FIXME: insert proper C++ library support
14650 ld_shlibs_CXX=no
14652 cxx*)
14653 case $host in
14654 osf3*)
14655 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14656 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'
14657 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14660 allow_undefined_flag_CXX=' -expect_unresolved \*'
14661 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'
14662 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14663 echo "-hidden">> $lib.exp~
14664 $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~
14665 $RM $lib.exp'
14666 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14668 esac
14670 hardcode_libdir_separator_CXX=:
14672 # Commands to make compiler produce verbose output that lists
14673 # what "hidden" libraries, object files and flags are used when
14674 # linking a shared library.
14676 # There doesn't appear to be a way to prevent this compiler from
14677 # explicitly linking system object files so we need to strip them
14678 # from the output so that they don't get included in the library
14679 # dependencies.
14680 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"'
14683 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14684 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14685 case $host in
14686 osf3*)
14687 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'
14690 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'
14692 esac
14694 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14695 hardcode_libdir_separator_CXX=:
14697 # Commands to make compiler produce verbose output that lists
14698 # what "hidden" libraries, object files and flags are used when
14699 # linking a shared library.
14700 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14702 else
14703 # FIXME: insert proper C++ library support
14704 ld_shlibs_CXX=no
14707 esac
14710 psos*)
14711 # FIXME: insert proper C++ library support
14712 ld_shlibs_CXX=no
14715 sunos4*)
14716 case $cc_basename in
14717 CC*)
14718 # Sun C++ 4.x
14719 # FIXME: insert proper C++ library support
14720 ld_shlibs_CXX=no
14722 lcc*)
14723 # Lucid
14724 # FIXME: insert proper C++ library support
14725 ld_shlibs_CXX=no
14728 # FIXME: insert proper C++ library support
14729 ld_shlibs_CXX=no
14731 esac
14734 solaris*)
14735 case $cc_basename in
14736 CC*)
14737 # Sun C++ 4.2, 5.x and Centerline C++
14738 archive_cmds_need_lc_CXX=yes
14739 no_undefined_flag_CXX=' -zdefs'
14740 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14741 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14742 $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'
14744 hardcode_libdir_flag_spec_CXX='-R$libdir'
14745 hardcode_shlibpath_var_CXX=no
14746 case $host_os in
14747 solaris2.[0-5] | solaris2.[0-5].*) ;;
14749 # The compiler driver will combine and reorder linker options,
14750 # but understands `-z linker_flag'.
14751 # Supported since Solaris 2.6 (maybe 2.5.1?)
14752 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14754 esac
14755 link_all_deplibs_CXX=yes
14757 output_verbose_link_cmd='func_echo_all'
14759 # Archives containing C++ object files must be created using
14760 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14761 # necessary to make sure instantiated templates are included
14762 # in the archive.
14763 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14765 gcx*)
14766 # Green Hills C++ Compiler
14767 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14769 # The C++ compiler must be used to create the archive.
14770 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14773 # GNU C++ compiler with Solaris linker
14774 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14775 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14776 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14777 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14778 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14779 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14781 # Commands to make compiler produce verbose output that lists
14782 # what "hidden" libraries, object files and flags are used when
14783 # linking a shared library.
14784 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14785 else
14786 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14787 # platform.
14788 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14789 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14790 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14792 # Commands to make compiler produce verbose output that lists
14793 # what "hidden" libraries, object files and flags are used when
14794 # linking a shared library.
14795 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14798 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14799 case $host_os in
14800 solaris2.[0-5] | solaris2.[0-5].*) ;;
14802 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14804 esac
14807 esac
14810 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14811 no_undefined_flag_CXX='${wl}-z,text'
14812 archive_cmds_need_lc_CXX=no
14813 hardcode_shlibpath_var_CXX=no
14814 runpath_var='LD_RUN_PATH'
14816 case $cc_basename in
14817 CC*)
14818 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14819 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14822 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14823 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14825 esac
14828 sysv5* | sco3.2v5* | sco5v6*)
14829 # Note: We can NOT use -z defs as we might desire, because we do not
14830 # link with -lc, and that would cause any symbols used from libc to
14831 # always be unresolved, which means just about no library would
14832 # ever link correctly. If we're not using GNU ld we use -z text
14833 # though, which does catch some bad symbols but isn't as heavy-handed
14834 # as -z defs.
14835 no_undefined_flag_CXX='${wl}-z,text'
14836 allow_undefined_flag_CXX='${wl}-z,nodefs'
14837 archive_cmds_need_lc_CXX=no
14838 hardcode_shlibpath_var_CXX=no
14839 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14840 hardcode_libdir_separator_CXX=':'
14841 link_all_deplibs_CXX=yes
14842 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14843 runpath_var='LD_RUN_PATH'
14845 case $cc_basename in
14846 CC*)
14847 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14848 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14849 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14850 '"$old_archive_cmds_CXX"
14851 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14852 '"$reload_cmds_CXX"
14855 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14856 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14858 esac
14861 tandem*)
14862 case $cc_basename in
14863 NCC*)
14864 # NonStop-UX NCC 3.20
14865 # FIXME: insert proper C++ library support
14866 ld_shlibs_CXX=no
14869 # FIXME: insert proper C++ library support
14870 ld_shlibs_CXX=no
14872 esac
14875 vxworks*)
14876 # FIXME: insert proper C++ library support
14877 ld_shlibs_CXX=no
14881 # FIXME: insert proper C++ library support
14882 ld_shlibs_CXX=no
14884 esac
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14887 $as_echo "$ld_shlibs_CXX" >&6; }
14888 test "$ld_shlibs_CXX" = no && can_build_shared=no
14890 GCC_CXX="$GXX"
14891 LD_CXX="$LD"
14893 ## CAVEAT EMPTOR:
14894 ## There is no encapsulation within the following macros, do not change
14895 ## the running order or otherwise move them around unless you know exactly
14896 ## what you are doing...
14897 # Dependencies to place before and after the object being linked:
14898 predep_objects_CXX=
14899 postdep_objects_CXX=
14900 predeps_CXX=
14901 postdeps_CXX=
14902 compiler_lib_search_path_CXX=
14904 cat > conftest.$ac_ext <<_LT_EOF
14905 class Foo
14907 public:
14908 Foo (void) { a = 0; }
14909 private:
14910 int a;
14912 _LT_EOF
14914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14915 (eval $ac_compile) 2>&5
14916 ac_status=$?
14917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14918 test $ac_status = 0; }; then
14919 # Parse the compiler output and extract the necessary
14920 # objects, libraries and library flags.
14922 # Sentinel used to keep track of whether or not we are before
14923 # the conftest object file.
14924 pre_test_object_deps_done=no
14926 for p in `eval "$output_verbose_link_cmd"`; do
14927 case $p in
14929 -L* | -R* | -l*)
14930 # Some compilers place space between "-{L,R}" and the path.
14931 # Remove the space.
14932 if test $p = "-L" ||
14933 test $p = "-R"; then
14934 prev=$p
14935 continue
14936 else
14937 prev=
14940 if test "$pre_test_object_deps_done" = no; then
14941 case $p in
14942 -L* | -R*)
14943 # Internal compiler library paths should come after those
14944 # provided the user. The postdeps already come after the
14945 # user supplied libs so there is no need to process them.
14946 if test -z "$compiler_lib_search_path_CXX"; then
14947 compiler_lib_search_path_CXX="${prev}${p}"
14948 else
14949 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14952 # The "-l" case would never come before the object being
14953 # linked, so don't bother handling this case.
14954 esac
14955 else
14956 if test -z "$postdeps_CXX"; then
14957 postdeps_CXX="${prev}${p}"
14958 else
14959 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14964 *.$objext)
14965 # This assumes that the test object file only shows up
14966 # once in the compiler output.
14967 if test "$p" = "conftest.$objext"; then
14968 pre_test_object_deps_done=yes
14969 continue
14972 if test "$pre_test_object_deps_done" = no; then
14973 if test -z "$predep_objects_CXX"; then
14974 predep_objects_CXX="$p"
14975 else
14976 predep_objects_CXX="$predep_objects_CXX $p"
14978 else
14979 if test -z "$postdep_objects_CXX"; then
14980 postdep_objects_CXX="$p"
14981 else
14982 postdep_objects_CXX="$postdep_objects_CXX $p"
14987 *) ;; # Ignore the rest.
14989 esac
14990 done
14992 # Clean up.
14993 rm -f a.out a.exe
14994 else
14995 echo "libtool.m4: error: problem compiling CXX test program"
14998 $RM -f confest.$objext
15000 # PORTME: override above test on systems where it is broken
15001 case $host_os in
15002 interix[3-9]*)
15003 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15004 # hack all around it, let's just trust "g++" to DTRT.
15005 predep_objects_CXX=
15006 postdep_objects_CXX=
15007 postdeps_CXX=
15010 linux*)
15011 case `$CC -V 2>&1 | sed 5q` in
15012 *Sun\ C*)
15013 # Sun C++ 5.9
15015 # The more standards-conforming stlport4 library is
15016 # incompatible with the Cstd library. Avoid specifying
15017 # it if it's in CXXFLAGS. Ignore libCrun as
15018 # -library=stlport4 depends on it.
15019 case " $CXX $CXXFLAGS " in
15020 *" -library=stlport4 "*)
15021 solaris_use_stlport4=yes
15023 esac
15025 if test "$solaris_use_stlport4" != yes; then
15026 postdeps_CXX='-library=Cstd -library=Crun'
15029 esac
15032 solaris*)
15033 case $cc_basename in
15034 CC*)
15035 # The more standards-conforming stlport4 library is
15036 # incompatible with the Cstd library. Avoid specifying
15037 # it if it's in CXXFLAGS. Ignore libCrun as
15038 # -library=stlport4 depends on it.
15039 case " $CXX $CXXFLAGS " in
15040 *" -library=stlport4 "*)
15041 solaris_use_stlport4=yes
15043 esac
15045 # Adding this requires a known-good setup of shared libraries for
15046 # Sun compiler versions before 5.6, else PIC objects from an old
15047 # archive will be linked into the output, leading to subtle bugs.
15048 if test "$solaris_use_stlport4" != yes; then
15049 postdeps_CXX='-library=Cstd -library=Crun'
15052 esac
15054 esac
15057 case " $postdeps_CXX " in
15058 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15059 esac
15060 compiler_lib_search_dirs_CXX=
15061 if test -n "${compiler_lib_search_path_CXX}"; then
15062 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15095 lt_prog_compiler_wl_CXX=
15096 lt_prog_compiler_pic_CXX=
15097 lt_prog_compiler_static_CXX=
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15100 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15102 # C++ specific cases for pic, static, wl, etc.
15103 if test "$GXX" = yes; then
15104 lt_prog_compiler_wl_CXX='-Wl,'
15105 lt_prog_compiler_static_CXX='-static'
15107 case $host_os in
15108 aix*)
15109 # All AIX code is PIC.
15110 if test "$host_cpu" = ia64; then
15111 # AIX 5 now supports IA64 processor
15112 lt_prog_compiler_static_CXX='-Bstatic'
15114 lt_prog_compiler_pic_CXX='-fPIC'
15117 amigaos*)
15118 case $host_cpu in
15119 powerpc)
15120 # see comment about AmigaOS4 .so support
15121 lt_prog_compiler_pic_CXX='-fPIC'
15123 m68k)
15124 # FIXME: we need at least 68020 code to build shared libraries, but
15125 # adding the `-m68020' flag to GCC prevents building anything better,
15126 # like `-m68040'.
15127 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15129 esac
15132 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15133 # PIC is the default for these OSes.
15135 mingw* | cygwin* | os2* | pw32* | cegcc*)
15136 # This hack is so that the source file can tell whether it is being
15137 # built for inclusion in a dll (and should export symbols for example).
15138 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15139 # (--disable-auto-import) libraries
15140 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15142 darwin* | rhapsody*)
15143 # PIC is the default on this platform
15144 # Common symbols not allowed in MH_DYLIB files
15145 lt_prog_compiler_pic_CXX='-fno-common'
15147 *djgpp*)
15148 # DJGPP does not support shared libraries at all
15149 lt_prog_compiler_pic_CXX=
15151 haiku*)
15152 # PIC is the default for Haiku.
15153 # The "-static" flag exists, but is broken.
15154 lt_prog_compiler_static_CXX=
15156 interix[3-9]*)
15157 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15158 # Instead, we relocate shared libraries at runtime.
15160 sysv4*MP*)
15161 if test -d /usr/nec; then
15162 lt_prog_compiler_pic_CXX=-Kconform_pic
15165 hpux*)
15166 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15167 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15168 # sets the default TLS model and affects inlining.
15169 case $host_cpu in
15170 hppa*64*)
15173 lt_prog_compiler_pic_CXX='-fPIC'
15175 esac
15177 *qnx* | *nto*)
15178 # QNX uses GNU C++, but need to define -shared option too, otherwise
15179 # it will coredump.
15180 lt_prog_compiler_pic_CXX='-fPIC -shared'
15183 lt_prog_compiler_pic_CXX='-fPIC'
15185 esac
15186 else
15187 case $host_os in
15188 aix[4-9]*)
15189 # All AIX code is PIC.
15190 if test "$host_cpu" = ia64; then
15191 # AIX 5 now supports IA64 processor
15192 lt_prog_compiler_static_CXX='-Bstatic'
15193 else
15194 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15197 chorus*)
15198 case $cc_basename in
15199 cxch68*)
15200 # Green Hills C++ Compiler
15201 # _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"
15203 esac
15205 dgux*)
15206 case $cc_basename in
15207 ec++*)
15208 lt_prog_compiler_pic_CXX='-KPIC'
15210 ghcx*)
15211 # Green Hills C++ Compiler
15212 lt_prog_compiler_pic_CXX='-pic'
15216 esac
15218 freebsd* | dragonfly*)
15219 # FreeBSD uses GNU C++
15221 hpux9* | hpux10* | hpux11*)
15222 case $cc_basename in
15223 CC*)
15224 lt_prog_compiler_wl_CXX='-Wl,'
15225 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15226 if test "$host_cpu" != ia64; then
15227 lt_prog_compiler_pic_CXX='+Z'
15230 aCC*)
15231 lt_prog_compiler_wl_CXX='-Wl,'
15232 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15233 case $host_cpu in
15234 hppa*64*|ia64*)
15235 # +Z the default
15238 lt_prog_compiler_pic_CXX='+Z'
15240 esac
15244 esac
15246 interix*)
15247 # This is c89, which is MS Visual C++ (no shared libs)
15248 # Anyone wants to do a port?
15250 irix5* | irix6* | nonstopux*)
15251 case $cc_basename in
15252 CC*)
15253 lt_prog_compiler_wl_CXX='-Wl,'
15254 lt_prog_compiler_static_CXX='-non_shared'
15255 # CC pic flag -KPIC is the default.
15259 esac
15261 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15262 case $cc_basename in
15263 KCC*)
15264 # KAI C++ Compiler
15265 lt_prog_compiler_wl_CXX='--backend -Wl,'
15266 lt_prog_compiler_pic_CXX='-fPIC'
15268 ecpc* )
15269 # old Intel C++ for x86_64 which still supported -KPIC.
15270 lt_prog_compiler_wl_CXX='-Wl,'
15271 lt_prog_compiler_pic_CXX='-KPIC'
15272 lt_prog_compiler_static_CXX='-static'
15274 icpc* )
15275 # Intel C++, used to be incompatible with GCC.
15276 # ICC 10 doesn't accept -KPIC any more.
15277 lt_prog_compiler_wl_CXX='-Wl,'
15278 lt_prog_compiler_pic_CXX='-fPIC'
15279 lt_prog_compiler_static_CXX='-static'
15281 pgCC* | pgcpp*)
15282 # Portland Group C++ compiler
15283 lt_prog_compiler_wl_CXX='-Wl,'
15284 lt_prog_compiler_pic_CXX='-fpic'
15285 lt_prog_compiler_static_CXX='-Bstatic'
15287 cxx*)
15288 # Compaq C++
15289 # Make sure the PIC flag is empty. It appears that all Alpha
15290 # Linux and Compaq Tru64 Unix objects are PIC.
15291 lt_prog_compiler_pic_CXX=
15292 lt_prog_compiler_static_CXX='-non_shared'
15294 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15295 # IBM XL 8.0, 9.0 on PPC and BlueGene
15296 lt_prog_compiler_wl_CXX='-Wl,'
15297 lt_prog_compiler_pic_CXX='-qpic'
15298 lt_prog_compiler_static_CXX='-qstaticlink'
15301 case `$CC -V 2>&1 | sed 5q` in
15302 *Sun\ C*)
15303 # Sun C++ 5.9
15304 lt_prog_compiler_pic_CXX='-KPIC'
15305 lt_prog_compiler_static_CXX='-Bstatic'
15306 lt_prog_compiler_wl_CXX='-Qoption ld '
15308 esac
15310 esac
15312 lynxos*)
15314 m88k*)
15316 mvs*)
15317 case $cc_basename in
15318 cxx*)
15319 lt_prog_compiler_pic_CXX='-W c,exportall'
15323 esac
15325 netbsd*)
15327 *qnx* | *nto*)
15328 # QNX uses GNU C++, but need to define -shared option too, otherwise
15329 # it will coredump.
15330 lt_prog_compiler_pic_CXX='-fPIC -shared'
15332 osf3* | osf4* | osf5*)
15333 case $cc_basename in
15334 KCC*)
15335 lt_prog_compiler_wl_CXX='--backend -Wl,'
15337 RCC*)
15338 # Rational C++ 2.4.1
15339 lt_prog_compiler_pic_CXX='-pic'
15341 cxx*)
15342 # Digital/Compaq C++
15343 lt_prog_compiler_wl_CXX='-Wl,'
15344 # Make sure the PIC flag is empty. It appears that all Alpha
15345 # Linux and Compaq Tru64 Unix objects are PIC.
15346 lt_prog_compiler_pic_CXX=
15347 lt_prog_compiler_static_CXX='-non_shared'
15351 esac
15353 psos*)
15355 solaris*)
15356 case $cc_basename in
15357 CC*)
15358 # Sun C++ 4.2, 5.x and Centerline C++
15359 lt_prog_compiler_pic_CXX='-KPIC'
15360 lt_prog_compiler_static_CXX='-Bstatic'
15361 lt_prog_compiler_wl_CXX='-Qoption ld '
15363 gcx*)
15364 # Green Hills C++ Compiler
15365 lt_prog_compiler_pic_CXX='-PIC'
15369 esac
15371 sunos4*)
15372 case $cc_basename in
15373 CC*)
15374 # Sun C++ 4.x
15375 lt_prog_compiler_pic_CXX='-pic'
15376 lt_prog_compiler_static_CXX='-Bstatic'
15378 lcc*)
15379 # Lucid
15380 lt_prog_compiler_pic_CXX='-pic'
15384 esac
15386 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15387 case $cc_basename in
15388 CC*)
15389 lt_prog_compiler_wl_CXX='-Wl,'
15390 lt_prog_compiler_pic_CXX='-KPIC'
15391 lt_prog_compiler_static_CXX='-Bstatic'
15393 esac
15395 tandem*)
15396 case $cc_basename in
15397 NCC*)
15398 # NonStop-UX NCC 3.20
15399 lt_prog_compiler_pic_CXX='-KPIC'
15403 esac
15405 vxworks*)
15408 lt_prog_compiler_can_build_shared_CXX=no
15410 esac
15413 case $host_os in
15414 # For platforms which do not support PIC, -DPIC is meaningless:
15415 *djgpp*)
15416 lt_prog_compiler_pic_CXX=
15419 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15421 esac
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15423 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15428 # Check to make sure the PIC flag actually works.
15430 if test -n "$lt_prog_compiler_pic_CXX"; then
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15432 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15433 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15434 $as_echo_n "(cached) " >&6
15435 else
15436 lt_cv_prog_compiler_pic_works_CXX=no
15437 ac_outfile=conftest.$ac_objext
15438 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15439 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15440 # Insert the option either (1) after the last *FLAGS variable, or
15441 # (2) before a word containing "conftest.", or (3) at the end.
15442 # Note that $ac_compile itself does not contain backslashes and begins
15443 # with a dollar sign (not a hyphen), so the echo should work correctly.
15444 # The option is referenced via a variable to avoid confusing sed.
15445 lt_compile=`echo "$ac_compile" | $SED \
15446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15448 -e 's:$: $lt_compiler_flag:'`
15449 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15450 (eval "$lt_compile" 2>conftest.err)
15451 ac_status=$?
15452 cat conftest.err >&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 if (exit $ac_status) && test -s "$ac_outfile"; then
15455 # The compiler can only warn and ignore the option if not recognized
15456 # So say no if there are warnings other than the usual output.
15457 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15458 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15459 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15460 lt_cv_prog_compiler_pic_works_CXX=yes
15463 $RM conftest*
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15467 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15469 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15470 case $lt_prog_compiler_pic_CXX in
15471 "" | " "*) ;;
15472 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15473 esac
15474 else
15475 lt_prog_compiler_pic_CXX=
15476 lt_prog_compiler_can_build_shared_CXX=no
15484 # Check to make sure the static flag actually works.
15486 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15488 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15489 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15490 $as_echo_n "(cached) " >&6
15491 else
15492 lt_cv_prog_compiler_static_works_CXX=no
15493 save_LDFLAGS="$LDFLAGS"
15494 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15495 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15496 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15497 # The linker can only warn and ignore the option if not recognized
15498 # So say no if there are warnings
15499 if test -s conftest.err; then
15500 # Append any errors to the config.log.
15501 cat conftest.err 1>&5
15502 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15503 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15504 if diff conftest.exp conftest.er2 >/dev/null; then
15505 lt_cv_prog_compiler_static_works_CXX=yes
15507 else
15508 lt_cv_prog_compiler_static_works_CXX=yes
15511 $RM -r conftest*
15512 LDFLAGS="$save_LDFLAGS"
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15516 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15518 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15520 else
15521 lt_prog_compiler_static_CXX=
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15528 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15529 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15530 $as_echo_n "(cached) " >&6
15531 else
15532 lt_cv_prog_compiler_c_o_CXX=no
15533 $RM -r conftest 2>/dev/null
15534 mkdir conftest
15535 cd conftest
15536 mkdir out
15537 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15539 lt_compiler_flag="-o out/conftest2.$ac_objext"
15540 # Insert the option either (1) after the last *FLAGS variable, or
15541 # (2) before a word containing "conftest.", or (3) at the end.
15542 # Note that $ac_compile itself does not contain backslashes and begins
15543 # with a dollar sign (not a hyphen), so the echo should work correctly.
15544 lt_compile=`echo "$ac_compile" | $SED \
15545 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15547 -e 's:$: $lt_compiler_flag:'`
15548 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15549 (eval "$lt_compile" 2>out/conftest.err)
15550 ac_status=$?
15551 cat out/conftest.err >&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15554 then
15555 # The compiler can only warn and ignore the option if not recognized
15556 # So say no if there are warnings
15557 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15558 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15559 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15560 lt_cv_prog_compiler_c_o_CXX=yes
15563 chmod u+w . 2>&5
15564 $RM conftest*
15565 # SGI C++ compiler will create directory out/ii_files/ for
15566 # template instantiation
15567 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15568 $RM out/* && rmdir out
15569 cd ..
15570 $RM -r conftest
15571 $RM conftest*
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15575 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15580 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15581 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15582 $as_echo_n "(cached) " >&6
15583 else
15584 lt_cv_prog_compiler_c_o_CXX=no
15585 $RM -r conftest 2>/dev/null
15586 mkdir conftest
15587 cd conftest
15588 mkdir out
15589 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15591 lt_compiler_flag="-o out/conftest2.$ac_objext"
15592 # Insert the option either (1) after the last *FLAGS variable, or
15593 # (2) before a word containing "conftest.", or (3) at the end.
15594 # Note that $ac_compile itself does not contain backslashes and begins
15595 # with a dollar sign (not a hyphen), so the echo should work correctly.
15596 lt_compile=`echo "$ac_compile" | $SED \
15597 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15598 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15599 -e 's:$: $lt_compiler_flag:'`
15600 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15601 (eval "$lt_compile" 2>out/conftest.err)
15602 ac_status=$?
15603 cat out/conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15606 then
15607 # The compiler can only warn and ignore the option if not recognized
15608 # So say no if there are warnings
15609 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15610 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15611 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15612 lt_cv_prog_compiler_c_o_CXX=yes
15615 chmod u+w . 2>&5
15616 $RM conftest*
15617 # SGI C++ compiler will create directory out/ii_files/ for
15618 # template instantiation
15619 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15620 $RM out/* && rmdir out
15621 cd ..
15622 $RM -r conftest
15623 $RM conftest*
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15627 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15632 hard_links="nottested"
15633 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15634 # do not overwrite the value of need_locks provided by the user
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15636 $as_echo_n "checking if we can lock with hard links... " >&6; }
15637 hard_links=yes
15638 $RM conftest*
15639 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15640 touch conftest.a
15641 ln conftest.a conftest.b 2>&5 || hard_links=no
15642 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15644 $as_echo "$hard_links" >&6; }
15645 if test "$hard_links" = no; then
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15647 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15648 need_locks=warn
15650 else
15651 need_locks=no
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15657 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15659 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15660 case $host_os in
15661 aix[4-9]*)
15662 # If we're using GNU nm, then we don't want the "-C" option.
15663 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15664 # Also, AIX nm treats weak defined symbols like other global defined
15665 # symbols, whereas GNU nm marks them as "W".
15666 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15667 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'
15668 else
15669 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'
15672 pw32*)
15673 export_symbols_cmds_CXX="$ltdll_cmds"
15675 cygwin* | mingw* | cegcc*)
15676 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'
15679 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15681 esac
15682 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15685 $as_echo "$ld_shlibs_CXX" >&6; }
15686 test "$ld_shlibs_CXX" = no && can_build_shared=no
15688 with_gnu_ld_CXX=$with_gnu_ld
15696 # Do we need to explicitly link libc?
15698 case "x$archive_cmds_need_lc_CXX" in
15699 x|xyes)
15700 # Assume -lc should be added
15701 archive_cmds_need_lc_CXX=yes
15703 if test "$enable_shared" = yes && test "$GCC" = yes; then
15704 case $archive_cmds_CXX in
15705 *'~'*)
15706 # FIXME: we may have to deal with multi-command sequences.
15708 '$CC '*)
15709 # Test whether the compiler implicitly links with -lc since on some
15710 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15711 # to ld, don't add -lc before -lgcc.
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15713 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15714 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15715 $as_echo_n "(cached) " >&6
15716 else
15717 $RM conftest*
15718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15721 (eval $ac_compile) 2>&5
15722 ac_status=$?
15723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15724 test $ac_status = 0; } 2>conftest.err; then
15725 soname=conftest
15726 lib=conftest
15727 libobjs=conftest.$ac_objext
15728 deplibs=
15729 wl=$lt_prog_compiler_wl_CXX
15730 pic_flag=$lt_prog_compiler_pic_CXX
15731 compiler_flags=-v
15732 linker_flags=-v
15733 verstring=
15734 output_objdir=.
15735 libname=conftest
15736 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15737 allow_undefined_flag_CXX=
15738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15739 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15740 ac_status=$?
15741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15742 test $ac_status = 0; }
15743 then
15744 lt_cv_archive_cmds_need_lc_CXX=no
15745 else
15746 lt_cv_archive_cmds_need_lc_CXX=yes
15748 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15749 else
15750 cat conftest.err 1>&5
15752 $RM conftest*
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15756 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15757 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15759 esac
15762 esac
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15828 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15830 library_names_spec=
15831 libname_spec='lib$name'
15832 soname_spec=
15833 shrext_cmds=".so"
15834 postinstall_cmds=
15835 postuninstall_cmds=
15836 finish_cmds=
15837 finish_eval=
15838 shlibpath_var=
15839 shlibpath_overrides_runpath=unknown
15840 version_type=none
15841 dynamic_linker="$host_os ld.so"
15842 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15843 need_lib_prefix=unknown
15844 hardcode_into_libs=no
15846 # when you set need_version to no, make sure it does not cause -set_version
15847 # flags to be left without arguments
15848 need_version=unknown
15850 case $host_os in
15851 aix3*)
15852 version_type=linux
15853 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15854 shlibpath_var=LIBPATH
15856 # AIX 3 has no versioning support, so we append a major version to the name.
15857 soname_spec='${libname}${release}${shared_ext}$major'
15860 aix[4-9]*)
15861 version_type=linux
15862 need_lib_prefix=no
15863 need_version=no
15864 hardcode_into_libs=yes
15865 if test "$host_cpu" = ia64; then
15866 # AIX 5 supports IA64
15867 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15868 shlibpath_var=LD_LIBRARY_PATH
15869 else
15870 # With GCC up to 2.95.x, collect2 would create an import file
15871 # for dependence libraries. The import file would start with
15872 # the line `#! .'. This would cause the generated library to
15873 # depend on `.', always an invalid library. This was fixed in
15874 # development snapshots of GCC prior to 3.0.
15875 case $host_os in
15876 aix4 | aix4.[01] | aix4.[01].*)
15877 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15878 echo ' yes '
15879 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15881 else
15882 can_build_shared=no
15885 esac
15886 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15887 # soname into executable. Probably we can add versioning support to
15888 # collect2, so additional links can be useful in future.
15889 if test "$aix_use_runtimelinking" = yes; then
15890 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15891 # instead of lib<name>.a to let people know that these are not
15892 # typical AIX shared libraries.
15893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15894 else
15895 # We preserve .a as extension for shared libraries through AIX4.2
15896 # and later when we are not doing run time linking.
15897 library_names_spec='${libname}${release}.a $libname.a'
15898 soname_spec='${libname}${release}${shared_ext}$major'
15900 shlibpath_var=LIBPATH
15904 amigaos*)
15905 case $host_cpu in
15906 powerpc)
15907 # Since July 2007 AmigaOS4 officially supports .so libraries.
15908 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15911 m68k)
15912 library_names_spec='$libname.ixlibrary $libname.a'
15913 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15914 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'
15916 esac
15919 beos*)
15920 library_names_spec='${libname}${shared_ext}'
15921 dynamic_linker="$host_os ld.so"
15922 shlibpath_var=LIBRARY_PATH
15925 bsdi[45]*)
15926 version_type=linux
15927 need_version=no
15928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15929 soname_spec='${libname}${release}${shared_ext}$major'
15930 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15931 shlibpath_var=LD_LIBRARY_PATH
15932 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15933 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15934 # the default ld.so.conf also contains /usr/contrib/lib and
15935 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15936 # libtool to hard-code these into programs
15939 cygwin* | mingw* | pw32* | cegcc*)
15940 version_type=windows
15941 shrext_cmds=".dll"
15942 need_version=no
15943 need_lib_prefix=no
15945 case $GCC,$host_os in
15946 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15947 library_names_spec='$libname.dll.a'
15948 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15949 postinstall_cmds='base_file=`basename \${file}`~
15950 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15951 dldir=$destdir/`dirname \$dlpath`~
15952 test -d \$dldir || mkdir -p \$dldir~
15953 $install_prog $dir/$dlname \$dldir/$dlname~
15954 chmod a+x \$dldir/$dlname~
15955 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15956 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15958 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15959 dlpath=$dir/\$dldll~
15960 $RM \$dlpath'
15961 shlibpath_overrides_runpath=yes
15963 case $host_os in
15964 cygwin*)
15965 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15966 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15969 mingw* | cegcc*)
15970 # MinGW DLLs use traditional 'lib' prefix
15971 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15973 pw32*)
15974 # pw32 DLLs use 'pw' prefix rather than 'lib'
15975 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15977 esac
15981 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15983 esac
15984 dynamic_linker='Win32 ld.exe'
15985 # FIXME: first we should search . and the directory the executable is in
15986 shlibpath_var=PATH
15989 darwin* | rhapsody*)
15990 dynamic_linker="$host_os dyld"
15991 version_type=darwin
15992 need_lib_prefix=no
15993 need_version=no
15994 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15995 soname_spec='${libname}${release}${major}$shared_ext'
15996 shlibpath_overrides_runpath=yes
15997 shlibpath_var=DYLD_LIBRARY_PATH
15998 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16000 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16003 dgux*)
16004 version_type=linux
16005 need_lib_prefix=no
16006 need_version=no
16007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16008 soname_spec='${libname}${release}${shared_ext}$major'
16009 shlibpath_var=LD_LIBRARY_PATH
16012 freebsd* | dragonfly*)
16013 # DragonFly does not have aout. When/if they implement a new
16014 # versioning mechanism, adjust this.
16015 if test -x /usr/bin/objformat; then
16016 objformat=`/usr/bin/objformat`
16017 else
16018 case $host_os in
16019 freebsd[23].*) objformat=aout ;;
16020 *) objformat=elf ;;
16021 esac
16023 version_type=freebsd-$objformat
16024 case $version_type in
16025 freebsd-elf*)
16026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16027 need_version=no
16028 need_lib_prefix=no
16030 freebsd-*)
16031 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16032 need_version=yes
16034 esac
16035 shlibpath_var=LD_LIBRARY_PATH
16036 case $host_os in
16037 freebsd2.*)
16038 shlibpath_overrides_runpath=yes
16040 freebsd3.[01]* | freebsdelf3.[01]*)
16041 shlibpath_overrides_runpath=yes
16042 hardcode_into_libs=yes
16044 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16045 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16046 shlibpath_overrides_runpath=no
16047 hardcode_into_libs=yes
16049 *) # from 4.6 on, and DragonFly
16050 shlibpath_overrides_runpath=yes
16051 hardcode_into_libs=yes
16053 esac
16056 gnu*)
16057 version_type=linux
16058 need_lib_prefix=no
16059 need_version=no
16060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16061 soname_spec='${libname}${release}${shared_ext}$major'
16062 shlibpath_var=LD_LIBRARY_PATH
16063 hardcode_into_libs=yes
16066 haiku*)
16067 version_type=linux
16068 need_lib_prefix=no
16069 need_version=no
16070 dynamic_linker="$host_os runtime_loader"
16071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16072 soname_spec='${libname}${release}${shared_ext}$major'
16073 shlibpath_var=LIBRARY_PATH
16074 shlibpath_overrides_runpath=yes
16075 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16076 hardcode_into_libs=yes
16079 hpux9* | hpux10* | hpux11*)
16080 # Give a soname corresponding to the major version so that dld.sl refuses to
16081 # link against other versions.
16082 version_type=sunos
16083 need_lib_prefix=no
16084 need_version=no
16085 case $host_cpu in
16086 ia64*)
16087 shrext_cmds='.so'
16088 hardcode_into_libs=yes
16089 dynamic_linker="$host_os dld.so"
16090 shlibpath_var=LD_LIBRARY_PATH
16091 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16093 soname_spec='${libname}${release}${shared_ext}$major'
16094 if test "X$HPUX_IA64_MODE" = X32; then
16095 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16096 else
16097 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16099 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16101 hppa*64*)
16102 shrext_cmds='.sl'
16103 hardcode_into_libs=yes
16104 dynamic_linker="$host_os dld.sl"
16105 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16106 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16108 soname_spec='${libname}${release}${shared_ext}$major'
16109 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16110 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16113 shrext_cmds='.sl'
16114 dynamic_linker="$host_os dld.sl"
16115 shlibpath_var=SHLIB_PATH
16116 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16118 soname_spec='${libname}${release}${shared_ext}$major'
16120 esac
16121 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16122 postinstall_cmds='chmod 555 $lib'
16123 # or fails outright, so override atomically:
16124 install_override_mode=555
16127 interix[3-9]*)
16128 version_type=linux
16129 need_lib_prefix=no
16130 need_version=no
16131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16132 soname_spec='${libname}${release}${shared_ext}$major'
16133 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16134 shlibpath_var=LD_LIBRARY_PATH
16135 shlibpath_overrides_runpath=no
16136 hardcode_into_libs=yes
16139 irix5* | irix6* | nonstopux*)
16140 case $host_os in
16141 nonstopux*) version_type=nonstopux ;;
16143 if test "$lt_cv_prog_gnu_ld" = yes; then
16144 version_type=linux
16145 else
16146 version_type=irix
16147 fi ;;
16148 esac
16149 need_lib_prefix=no
16150 need_version=no
16151 soname_spec='${libname}${release}${shared_ext}$major'
16152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16153 case $host_os in
16154 irix5* | nonstopux*)
16155 libsuff= shlibsuff=
16158 case $LD in # libtool.m4 will add one of these switches to LD
16159 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16160 libsuff= shlibsuff= libmagic=32-bit;;
16161 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16162 libsuff=32 shlibsuff=N32 libmagic=N32;;
16163 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16164 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16165 *) libsuff= shlibsuff= libmagic=never-match;;
16166 esac
16168 esac
16169 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16170 shlibpath_overrides_runpath=no
16171 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16172 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16173 hardcode_into_libs=yes
16176 # No shared lib support for Linux oldld, aout, or coff.
16177 linux*oldld* | linux*aout* | linux*coff*)
16178 dynamic_linker=no
16181 # This must be Linux ELF.
16182 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16183 version_type=linux
16184 need_lib_prefix=no
16185 need_version=no
16186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16187 soname_spec='${libname}${release}${shared_ext}$major'
16188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16189 shlibpath_var=LD_LIBRARY_PATH
16190 shlibpath_overrides_runpath=no
16192 # Some binutils ld are patched to set DT_RUNPATH
16193 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 lt_cv_shlibpath_overrides_runpath=no
16197 save_LDFLAGS=$LDFLAGS
16198 save_libdir=$libdir
16199 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16200 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16201 if test x$gcc_no_link = xyes; then
16202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16208 main ()
16212 return 0;
16214 _ACEOF
16215 if ac_fn_cxx_try_link "$LINENO"; then :
16216 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16217 lt_cv_shlibpath_overrides_runpath=yes
16220 rm -f core conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16222 LDFLAGS=$save_LDFLAGS
16223 libdir=$save_libdir
16227 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16229 # This implies no fast_install, which is unacceptable.
16230 # Some rework will be needed to allow for fast_install
16231 # before this can be enabled.
16232 hardcode_into_libs=yes
16234 # Append ld.so.conf contents to the search path
16235 if test -f /etc/ld.so.conf; then
16236 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' ' '`
16237 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16240 # We used to test for /lib/ld.so.1 and disable shared libraries on
16241 # powerpc, because MkLinux only supported shared libraries with the
16242 # GNU dynamic linker. Since this was broken with cross compilers,
16243 # most powerpc-linux boxes support dynamic linking these days and
16244 # people can always --disable-shared, the test was removed, and we
16245 # assume the GNU/Linux dynamic linker is in use.
16246 dynamic_linker='GNU/Linux ld.so'
16249 netbsd*)
16250 version_type=sunos
16251 need_lib_prefix=no
16252 need_version=no
16253 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16255 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16256 dynamic_linker='NetBSD (a.out) ld.so'
16257 else
16258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16259 soname_spec='${libname}${release}${shared_ext}$major'
16260 dynamic_linker='NetBSD ld.elf_so'
16262 shlibpath_var=LD_LIBRARY_PATH
16263 shlibpath_overrides_runpath=yes
16264 hardcode_into_libs=yes
16267 newsos6)
16268 version_type=linux
16269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16270 shlibpath_var=LD_LIBRARY_PATH
16271 shlibpath_overrides_runpath=yes
16274 *nto* | *qnx*)
16275 version_type=qnx
16276 need_lib_prefix=no
16277 need_version=no
16278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16279 soname_spec='${libname}${release}${shared_ext}$major'
16280 shlibpath_var=LD_LIBRARY_PATH
16281 shlibpath_overrides_runpath=no
16282 hardcode_into_libs=yes
16283 dynamic_linker='ldqnx.so'
16286 openbsd*)
16287 version_type=sunos
16288 sys_lib_dlsearch_path_spec="/usr/lib"
16289 need_lib_prefix=no
16290 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16291 case $host_os in
16292 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16293 *) need_version=no ;;
16294 esac
16295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16296 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16297 shlibpath_var=LD_LIBRARY_PATH
16298 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16299 case $host_os in
16300 openbsd2.[89] | openbsd2.[89].*)
16301 shlibpath_overrides_runpath=no
16304 shlibpath_overrides_runpath=yes
16306 esac
16307 else
16308 shlibpath_overrides_runpath=yes
16312 os2*)
16313 libname_spec='$name'
16314 shrext_cmds=".dll"
16315 need_lib_prefix=no
16316 library_names_spec='$libname${shared_ext} $libname.a'
16317 dynamic_linker='OS/2 ld.exe'
16318 shlibpath_var=LIBPATH
16321 osf3* | osf4* | osf5*)
16322 version_type=osf
16323 need_lib_prefix=no
16324 need_version=no
16325 soname_spec='${libname}${release}${shared_ext}$major'
16326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16327 shlibpath_var=LD_LIBRARY_PATH
16328 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16329 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16332 rdos*)
16333 dynamic_linker=no
16336 solaris*)
16337 version_type=linux
16338 need_lib_prefix=no
16339 need_version=no
16340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16341 soname_spec='${libname}${release}${shared_ext}$major'
16342 shlibpath_var=LD_LIBRARY_PATH
16343 shlibpath_overrides_runpath=yes
16344 hardcode_into_libs=yes
16345 # ldd complains unless libraries are executable
16346 postinstall_cmds='chmod +x $lib'
16349 sunos4*)
16350 version_type=sunos
16351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16352 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16353 shlibpath_var=LD_LIBRARY_PATH
16354 shlibpath_overrides_runpath=yes
16355 if test "$with_gnu_ld" = yes; then
16356 need_lib_prefix=no
16358 need_version=yes
16361 sysv4 | sysv4.3*)
16362 version_type=linux
16363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16364 soname_spec='${libname}${release}${shared_ext}$major'
16365 shlibpath_var=LD_LIBRARY_PATH
16366 case $host_vendor in
16367 sni)
16368 shlibpath_overrides_runpath=no
16369 need_lib_prefix=no
16370 runpath_var=LD_RUN_PATH
16372 siemens)
16373 need_lib_prefix=no
16375 motorola)
16376 need_lib_prefix=no
16377 need_version=no
16378 shlibpath_overrides_runpath=no
16379 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16381 esac
16384 sysv4*MP*)
16385 if test -d /usr/nec ;then
16386 version_type=linux
16387 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16388 soname_spec='$libname${shared_ext}.$major'
16389 shlibpath_var=LD_LIBRARY_PATH
16393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16394 version_type=freebsd-elf
16395 need_lib_prefix=no
16396 need_version=no
16397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16398 soname_spec='${libname}${release}${shared_ext}$major'
16399 shlibpath_var=LD_LIBRARY_PATH
16400 shlibpath_overrides_runpath=yes
16401 hardcode_into_libs=yes
16402 if test "$with_gnu_ld" = yes; then
16403 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16404 else
16405 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16406 case $host_os in
16407 sco3.2v5*)
16408 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16410 esac
16412 sys_lib_dlsearch_path_spec='/usr/lib'
16415 tpf*)
16416 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16417 version_type=linux
16418 need_lib_prefix=no
16419 need_version=no
16420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16421 shlibpath_var=LD_LIBRARY_PATH
16422 shlibpath_overrides_runpath=no
16423 hardcode_into_libs=yes
16426 uts4*)
16427 version_type=linux
16428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16429 soname_spec='${libname}${release}${shared_ext}$major'
16430 shlibpath_var=LD_LIBRARY_PATH
16434 dynamic_linker=no
16436 esac
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16438 $as_echo "$dynamic_linker" >&6; }
16439 test "$dynamic_linker" = no && can_build_shared=no
16441 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16442 if test "$GCC" = yes; then
16443 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16446 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16447 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16449 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16450 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16491 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16492 hardcode_action_CXX=
16493 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16494 test -n "$runpath_var_CXX" ||
16495 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16497 # We can hardcode non-existent directories.
16498 if test "$hardcode_direct_CXX" != no &&
16499 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16500 # have to relink, otherwise we might link with an installed library
16501 # when we should be linking with a yet-to-be-installed one
16502 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16503 test "$hardcode_minus_L_CXX" != no; then
16504 # Linking always hardcodes the temporary library directory.
16505 hardcode_action_CXX=relink
16506 else
16507 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16508 hardcode_action_CXX=immediate
16510 else
16511 # We cannot hardcode anything, or else we can only hardcode existing
16512 # directories.
16513 hardcode_action_CXX=unsupported
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16516 $as_echo "$hardcode_action_CXX" >&6; }
16518 if test "$hardcode_action_CXX" = relink ||
16519 test "$inherit_rpath_CXX" = yes; then
16520 # Fast installation is not supported
16521 enable_fast_install=no
16522 elif test "$shlibpath_overrides_runpath" = yes ||
16523 test "$enable_shared" = no; then
16524 # Fast installation is not necessary
16525 enable_fast_install=needless
16534 fi # test -n "$compiler"
16536 CC=$lt_save_CC
16537 LDCXX=$LD
16538 LD=$lt_save_LD
16539 GCC=$lt_save_GCC
16540 with_gnu_ld=$lt_save_with_gnu_ld
16541 lt_cv_path_LDCXX=$lt_cv_path_LD
16542 lt_cv_path_LD=$lt_save_path_LD
16543 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16544 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16545 fi # test "$_lt_caught_CXX_error" != yes
16547 ac_ext=c
16548 ac_cpp='$CPP $CPPFLAGS'
16549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16555 # Handle -Werror default case.
16556 if test "$ENABLE_WERROR" = default; then
16557 case "$host_os" in
16558 *linux*)
16559 if test "$GCC" = yes; then
16560 ENABLE_WERROR=yes
16563 esac
16566 if test "x${COMPILE_COLLECTIONS}" = xyes; then
16567 # Extract the first word of "perl", so it can be a program name with args.
16568 set dummy perl; ac_word=$2
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16570 $as_echo_n "checking for $ac_word... " >&6; }
16571 if test "${ac_cv_path_PERL+set}" = set; then :
16572 $as_echo_n "(cached) " >&6
16573 else
16574 case $PERL in
16575 [\\/]* | ?:[\\/]*)
16576 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16580 for as_dir in $PATH
16582 IFS=$as_save_IFS
16583 test -z "$as_dir" && as_dir=.
16584 for ac_exec_ext in '' $ac_executable_extensions; do
16585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16586 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16588 break 2
16590 done
16591 done
16592 IFS=$as_save_IFS
16595 esac
16597 PERL=$ac_cv_path_PERL
16598 if test -n "$PERL"; then
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16600 $as_echo "$PERL" >&6; }
16601 else
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16603 $as_echo "no" >&6; }
16609 ac_config_files="$ac_config_files lib/mkcollections.pl"
16611 ac_config_commands="$ac_config_commands mkcollections.pl"
16615 if test "x${COMPILE_JNI}" = xyes; then
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
16620 $as_echo_n "checking __attribute__((,,))... " >&6; }
16621 if test "${gcc_cv_c_gcc_attribute_supported+set}" = set; then :
16622 $as_echo_n "(cached) " >&6
16623 else
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16629 main ()
16631 extern int testfunction(int x) __attribute__((,,))
16633 return 0;
16635 _ACEOF
16636 if ac_fn_c_try_compile "$LINENO"; then :
16637 gcc_cv_c_gcc_attribute_supported=yes
16638 else
16639 gcc_cv_c_gcc_attribute_supported=no
16641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16645 if test "x$gcc_cv_c_gcc_attribute_supported" = xyes; then
16646 true
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16648 $as_echo "yes" >&6; }
16650 $as_echo "#define HAVE_GNUC25_ATTRIB /**/" >>confdefs.h
16653 else
16654 true
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16656 $as_echo "no" >&6; }
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
16669 $as_echo_n "checking __attribute__((unused))... " >&6; }
16670 if test "${gcc_cv_c_gcc_attribute_unused+set}" = set; then :
16671 $as_echo_n "(cached) " >&6
16672 else
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16678 main ()
16680 extern int testfunction(int x) __attribute__((unused))
16682 return 0;
16684 _ACEOF
16685 if ac_fn_c_try_compile "$LINENO"; then :
16686 gcc_cv_c_gcc_attribute_unused=yes
16687 else
16688 gcc_cv_c_gcc_attribute_unused=no
16690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16694 if test "x$gcc_cv_c_gcc_attribute_unused" = xyes; then
16695 true
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16697 $as_echo "yes" >&6; }
16699 $as_echo "#define HAVE_GNUC25_UNUSED /**/" >>confdefs.h
16702 else
16703 true
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16705 $as_echo "no" >&6; }
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16714 $as_echo_n "checking for ANSI C header files... " >&6; }
16715 if test "${ac_cv_header_stdc+set}" = set; then :
16716 $as_echo_n "(cached) " >&6
16717 else
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <stdlib.h>
16721 #include <stdarg.h>
16722 #include <string.h>
16723 #include <float.h>
16726 main ()
16730 return 0;
16732 _ACEOF
16733 if ac_fn_c_try_compile "$LINENO"; then :
16734 ac_cv_header_stdc=yes
16735 else
16736 ac_cv_header_stdc=no
16738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16740 if test $ac_cv_header_stdc = yes; then
16741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #include <string.h>
16746 _ACEOF
16747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16748 $EGREP "memchr" >/dev/null 2>&1; then :
16750 else
16751 ac_cv_header_stdc=no
16753 rm -f conftest*
16757 if test $ac_cv_header_stdc = yes; then
16758 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #include <stdlib.h>
16763 _ACEOF
16764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16765 $EGREP "free" >/dev/null 2>&1; then :
16767 else
16768 ac_cv_header_stdc=no
16770 rm -f conftest*
16774 if test $ac_cv_header_stdc = yes; then
16775 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16776 if test "$cross_compiling" = yes; then :
16778 else
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16781 #include <ctype.h>
16782 #include <stdlib.h>
16783 #if ((' ' & 0x0FF) == 0x020)
16784 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16785 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16786 #else
16787 # define ISLOWER(c) \
16788 (('a' <= (c) && (c) <= 'i') \
16789 || ('j' <= (c) && (c) <= 'r') \
16790 || ('s' <= (c) && (c) <= 'z'))
16791 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16792 #endif
16794 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16796 main ()
16798 int i;
16799 for (i = 0; i < 256; i++)
16800 if (XOR (islower (i), ISLOWER (i))
16801 || toupper (i) != TOUPPER (i))
16802 return 2;
16803 return 0;
16805 _ACEOF
16806 if ac_fn_c_try_run "$LINENO"; then :
16808 else
16809 ac_cv_header_stdc=no
16811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16812 conftest.$ac_objext conftest.beam conftest.$ac_ext
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16818 $as_echo "$ac_cv_header_stdc" >&6; }
16819 if test $ac_cv_header_stdc = yes; then
16821 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16827 $as_echo_n "checking size of void *... " >&6; }
16828 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16829 $as_echo_n "(cached) " >&6
16830 else
16831 for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16834 #include "confdefs.h"
16835 #include <sys/types.h>
16839 main ()
16841 switch (0) case 0: case (sizeof (void *) == $ac_size):;
16843 return 0;
16845 _ACEOF
16846 if ac_fn_c_try_compile "$LINENO"; then :
16847 ac_cv_sizeof_void_p=$ac_size
16849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16850 if test x$ac_cv_sizeof_void_p != x ; then break; fi
16851 done
16855 if test x$ac_cv_sizeof_void_p = x ; then
16856 as_fn_error "cannot determine a size for void *" "$LINENO" 5
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16859 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16861 cat >>confdefs.h <<_ACEOF
16862 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16863 _ACEOF
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16868 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16869 if test "${ac_cv_c_bigendian+set}" = set; then :
16870 $as_echo_n "(cached) " >&6
16871 else
16872 ac_cv_c_bigendian=unknown
16873 # See if sys/param.h defines the BYTE_ORDER macro.
16874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16876 #include <sys/types.h>
16877 #include <sys/param.h>
16879 main ()
16882 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16883 bogus endian macros
16884 #endif
16886 return 0;
16888 _ACEOF
16889 if ac_fn_c_try_compile "$LINENO"; then :
16890 # It does; now see whether it defined to BIG_ENDIAN or not.
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16893 #include <sys/types.h>
16894 #include <sys/param.h>
16896 main ()
16899 #if BYTE_ORDER != BIG_ENDIAN
16900 not big endian
16901 #endif
16903 return 0;
16905 _ACEOF
16906 if ac_fn_c_try_compile "$LINENO"; then :
16907 ac_cv_c_bigendian=yes
16908 else
16909 ac_cv_c_bigendian=no
16911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16914 if test $ac_cv_c_bigendian = unknown; then
16915 if test "$cross_compiling" = yes; then :
16916 echo $ac_n "cross-compiling... " 2>&6
16917 else
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16920 main () {
16921 /* Are we little or big endian? From Harbison&Steele. */
16922 union
16924 long l;
16925 char c[sizeof (long)];
16926 } u;
16927 u.l = 1;
16928 exit (u.c[sizeof (long) - 1] == 1);
16930 _ACEOF
16931 if ac_fn_c_try_run "$LINENO"; then :
16932 ac_cv_c_bigendian=no
16933 else
16934 ac_cv_c_bigendian=yes
16936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16937 conftest.$ac_objext conftest.beam conftest.$ac_ext
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16943 $as_echo "$ac_cv_c_bigendian" >&6; }
16944 if test $ac_cv_c_bigendian = unknown; then
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
16946 $as_echo_n "checking to probe for byte ordering... " >&6; }
16948 cat >conftest.c <<EOF
16949 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16950 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16951 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
16952 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16953 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16954 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
16955 int main() { _ascii (); _ebcdic (); return 0; }
16957 if test -f conftest.c ; then
16958 if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
16959 if test `grep -l BIGenDianSyS conftest.o` ; then
16960 echo $ac_n ' big endian probe OK, ' 1>&6
16961 ac_cv_c_bigendian=yes
16963 if test `grep -l LiTTleEnDian conftest.o` ; then
16964 echo $ac_n ' little endian probe OK, ' 1>&6
16965 if test $ac_cv_c_bigendian = yes ; then
16966 ac_cv_c_bigendian=unknown;
16967 else
16968 ac_cv_c_bigendian=no
16971 echo $ac_n 'guessing bigendian ... ' >&6
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16975 $as_echo "$ac_cv_c_bigendian" >&6; }
16977 if test $ac_cv_c_bigendian = yes; then
16979 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16982 $as_echo "#define HOST_WORDS_BIG_ENDIAN 1" >>confdefs.h
16984 BYTEORDER=4321
16985 else
16986 BYTEORDER=1234
16989 cat >>confdefs.h <<_ACEOF
16990 #define BYTEORDER $BYTEORDER
16991 _ACEOF
16993 if test $ac_cv_c_bigendian = unknown; then
16994 as_fn_error "unknown endianess - sorry, please pre-set ac_cv_c_bigendian" "$LINENO" 5
16998 for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \
16999 asm/ioctls.h \
17000 inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \
17001 sys/time.h \
17002 sys/select.h \
17003 crt_externs.h \
17004 fcntl.h \
17005 sys/mman.h \
17006 magic.h \
17007 sys/event.h sys/epoll.h \
17008 ifaddrs.h \
17009 netinet/in_systm.h netinet/ip.h net/if.h \
17010 sys/loadavg.h sys/sockio.h
17011 do :
17012 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17013 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17014 eval as_val=\$$as_ac_Header
17015 if test "x$as_val" = x""yes; then :
17016 cat >>confdefs.h <<_ACEOF
17017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17018 _ACEOF
17022 done
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <stdint.h>
17029 _ACEOF
17030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17031 $EGREP "uint32_t" >/dev/null 2>&1; then :
17033 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17036 rm -f conftest*
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 #include <inttypes.h>
17042 _ACEOF
17043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17044 $EGREP "uint32_t" >/dev/null 2>&1; then :
17046 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
17049 rm -f conftest*
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #include <sys/types.h>
17055 _ACEOF
17056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17057 $EGREP "u_int32_t" >/dev/null 2>&1; then :
17059 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17062 rm -f conftest*
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 #include <sys/config.h>
17068 _ACEOF
17069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17070 $EGREP "u_int32_t" >/dev/null 2>&1; then :
17072 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
17075 rm -f conftest*
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
17079 $as_echo_n "checking for library containing clock_gettime... " >&6; }
17080 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 ac_func_search_save_LIBS=$LIBS
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17087 /* Override any GCC internal prototype to avoid an error.
17088 Use char because int might match the return type of a GCC
17089 builtin and then its argument prototype would still apply. */
17090 #ifdef __cplusplus
17091 extern "C"
17092 #endif
17093 char clock_gettime ();
17095 main ()
17097 return clock_gettime ();
17099 return 0;
17101 _ACEOF
17102 for ac_lib in '' rt; do
17103 if test -z "$ac_lib"; then
17104 ac_res="none required"
17105 else
17106 ac_res=-l$ac_lib
17107 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17109 if test x$gcc_no_link = xyes; then
17110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_search_clock_gettime=$ac_res
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext
17117 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17118 break
17120 done
17121 if test "${ac_cv_search_clock_gettime+set}" = set; then :
17123 else
17124 ac_cv_search_clock_gettime=no
17126 rm conftest.$ac_ext
17127 LIBS=$ac_func_search_save_LIBS
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
17130 $as_echo "$ac_cv_search_clock_gettime" >&6; }
17131 ac_res=$ac_cv_search_clock_gettime
17132 if test "$ac_res" != no; then :
17133 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17138 $as_echo_n "checking for library containing inet_pton... " >&6; }
17139 if test "${ac_cv_search_inet_pton+set}" = set; then :
17140 $as_echo_n "(cached) " >&6
17141 else
17142 ac_func_search_save_LIBS=$LIBS
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17146 /* Override any GCC internal prototype to avoid an error.
17147 Use char because int might match the return type of a GCC
17148 builtin and then its argument prototype would still apply. */
17149 #ifdef __cplusplus
17150 extern "C"
17151 #endif
17152 char inet_pton ();
17154 main ()
17156 return inet_pton ();
17158 return 0;
17160 _ACEOF
17161 for ac_lib in '' nsl; do
17162 if test -z "$ac_lib"; then
17163 ac_res="none required"
17164 else
17165 ac_res=-l$ac_lib
17166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17168 if test x$gcc_no_link = xyes; then
17169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17171 if ac_fn_c_try_link "$LINENO"; then :
17172 ac_cv_search_inet_pton=$ac_res
17174 rm -f core conftest.err conftest.$ac_objext \
17175 conftest$ac_exeext
17176 if test "${ac_cv_search_inet_pton+set}" = set; then :
17177 break
17179 done
17180 if test "${ac_cv_search_inet_pton+set}" = set; then :
17182 else
17183 ac_cv_search_inet_pton=no
17185 rm conftest.$ac_ext
17186 LIBS=$ac_func_search_save_LIBS
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17189 $as_echo "$ac_cv_search_inet_pton" >&6; }
17190 ac_res=$ac_cv_search_inet_pton
17191 if test "$ac_res" != no; then :
17192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
17197 $as_echo_n "checking for gethostname in -lsocket... " >&6; }
17198 if test "${ac_cv_lib_socket_gethostname+set}" = set; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 ac_check_lib_save_LIBS=$LIBS
17202 LIBS="-lsocket $LIBS"
17203 if test x$gcc_no_link = xyes; then
17204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17209 /* Override any GCC internal prototype to avoid an error.
17210 Use char because int might match the return type of a GCC
17211 builtin and then its argument prototype would still apply. */
17212 #ifdef __cplusplus
17213 extern "C"
17214 #endif
17215 char gethostname ();
17217 main ()
17219 return gethostname ();
17221 return 0;
17223 _ACEOF
17224 if ac_fn_c_try_link "$LINENO"; then :
17225 ac_cv_lib_socket_gethostname=yes
17226 else
17227 ac_cv_lib_socket_gethostname=no
17229 rm -f core conftest.err conftest.$ac_objext \
17230 conftest$ac_exeext conftest.$ac_ext
17231 LIBS=$ac_check_lib_save_LIBS
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
17234 $as_echo "$ac_cv_lib_socket_gethostname" >&6; }
17235 if test "x$ac_cv_lib_socket_gethostname" = x""yes; then :
17236 cat >>confdefs.h <<_ACEOF
17237 #define HAVE_LIBSOCKET 1
17238 _ACEOF
17240 LIBS="-lsocket $LIBS"
17245 for ac_func in ftruncate fsync select \
17246 gethostname socket strerror fork pipe execve open close \
17247 lseek fstat read readv write writev htonl memset htons connect \
17248 getsockname getpeername bind listen accept \
17249 recvfrom send sendto setsockopt getsockopt time mktime clock_gettime \
17250 gethostbyname_r localtime_r \
17251 strerror_r \
17252 fcntl \
17253 statvfs \
17254 mmap munmap mincore msync madvise getpagesize sysconf \
17255 lstat readlink \
17256 inet_aton inet_addr inet_pton \
17257 getifaddrs kqueue kevent epoll_create \
17258 getloadavg
17259 do :
17260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17262 eval as_val=\$$as_ac_var
17263 if test "x$as_val" = x""yes; then :
17264 cat >>confdefs.h <<_ACEOF
17265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17266 _ACEOF
17269 done
17272 LIBMAGIC=
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
17274 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
17275 if test "${ac_cv_lib_magic_magic_open+set}" = set; then :
17276 $as_echo_n "(cached) " >&6
17277 else
17278 ac_check_lib_save_LIBS=$LIBS
17279 LIBS="-lmagic $LIBS"
17280 if test x$gcc_no_link = xyes; then
17281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17286 /* Override any GCC internal prototype to avoid an error.
17287 Use char because int might match the return type of a GCC
17288 builtin and then its argument prototype would still apply. */
17289 #ifdef __cplusplus
17290 extern "C"
17291 #endif
17292 char magic_open ();
17294 main ()
17296 return magic_open ();
17298 return 0;
17300 _ACEOF
17301 if ac_fn_c_try_link "$LINENO"; then :
17302 ac_cv_lib_magic_magic_open=yes
17303 else
17304 ac_cv_lib_magic_magic_open=no
17306 rm -f core conftest.err conftest.$ac_objext \
17307 conftest$ac_exeext conftest.$ac_ext
17308 LIBS=$ac_check_lib_save_LIBS
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
17311 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
17312 if test "x$ac_cv_lib_magic_magic_open" = x""yes; then :
17313 LIBMAGIC=-lmagic
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
17319 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322 #include <netinet/in.h>
17324 main ()
17326 struct sockaddr_in6 addr6;
17328 return 0;
17330 _ACEOF
17331 if ac_fn_c_try_compile "$LINENO"; then :
17333 $as_echo "#define HAVE_INET6 1" >>confdefs.h
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17336 $as_echo "yes" >&6; }
17337 else
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17339 $as_echo "no" >&6; }
17341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17344 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17345 if test "${ac_cv_header_time+set}" = set; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #include <sys/types.h>
17351 #include <sys/time.h>
17352 #include <time.h>
17355 main ()
17357 if ((struct tm *) 0)
17358 return 0;
17360 return 0;
17362 _ACEOF
17363 if ac_fn_c_try_compile "$LINENO"; then :
17364 ac_cv_header_time=yes
17365 else
17366 ac_cv_header_time=no
17368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17371 $as_echo "$ac_cv_header_time" >&6; }
17372 if test $ac_cv_header_time = yes; then
17374 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17379 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17380 if test "${ac_cv_struct_tm+set}" = set; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #include <sys/types.h>
17386 #include <time.h>
17389 main ()
17391 struct tm tm;
17392 int *p = &tm.tm_sec;
17393 return !p;
17395 return 0;
17397 _ACEOF
17398 if ac_fn_c_try_compile "$LINENO"; then :
17399 ac_cv_struct_tm=time.h
17400 else
17401 ac_cv_struct_tm=sys/time.h
17403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17406 $as_echo "$ac_cv_struct_tm" >&6; }
17407 if test $ac_cv_struct_tm = sys/time.h; then
17409 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17413 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
17414 #include <$ac_cv_struct_tm>
17417 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
17419 cat >>confdefs.h <<_ACEOF
17420 #define HAVE_STRUCT_TM_TM_ZONE 1
17421 _ACEOF
17426 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
17428 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
17430 else
17431 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
17433 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
17434 ac_have_decl=1
17435 else
17436 ac_have_decl=0
17439 cat >>confdefs.h <<_ACEOF
17440 #define HAVE_DECL_TZNAME $ac_have_decl
17441 _ACEOF
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
17444 $as_echo_n "checking for tzname... " >&6; }
17445 if test "${ac_cv_var_tzname+set}" = set; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17448 if test x$gcc_no_link = xyes; then
17449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #include <time.h>
17454 #if !HAVE_DECL_TZNAME
17455 extern char *tzname[];
17456 #endif
17459 main ()
17461 return tzname[0][0];
17463 return 0;
17465 _ACEOF
17466 if ac_fn_c_try_link "$LINENO"; then :
17467 ac_cv_var_tzname=yes
17468 else
17469 ac_cv_var_tzname=no
17471 rm -f core conftest.err conftest.$ac_objext \
17472 conftest$ac_exeext conftest.$ac_ext
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
17475 $as_echo "$ac_cv_var_tzname" >&6; }
17476 if test $ac_cv_var_tzname = yes; then
17478 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
17485 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 #include <time.h>
17490 main ()
17492 struct tm tim; tim.tm_gmtoff = 0;
17494 return 0;
17496 _ACEOF
17497 if ac_fn_c_try_compile "$LINENO"; then :
17499 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17502 $as_echo "yes" >&6; }
17503 else
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17505 $as_echo "no" >&6; }
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
17507 $as_echo_n "checking for global timezone variable... " >&6; }
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #include <time.h>
17512 main ()
17514 void i(){long z2 = 2*timezone;}
17516 return 0;
17518 _ACEOF
17519 if ac_fn_c_try_compile "$LINENO"; then :
17521 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17524 $as_echo "yes" >&6; }
17525 else
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17527 $as_echo "no" >&6; }
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
17529 $as_echo_n "checking for global _timezone variable... " >&6; }
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 #include <time.h>
17534 main ()
17536 long z2 = _timezone;
17538 return 0;
17540 _ACEOF
17541 if ac_fn_c_try_compile "$LINENO"; then :
17543 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17546 $as_echo "yes" >&6; }
17547 else
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17549 $as_echo "no" >&6; }
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17558 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17559 if test "${ac_cv_c_const+set}" = set; then :
17560 $as_echo_n "(cached) " >&6
17561 else
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17566 main ()
17568 /* FIXME: Include the comments suggested by Paul. */
17569 #ifndef __cplusplus
17570 /* Ultrix mips cc rejects this. */
17571 typedef int charset[2];
17572 const charset cs;
17573 /* SunOS 4.1.1 cc rejects this. */
17574 char const *const *pcpcc;
17575 char **ppc;
17576 /* NEC SVR4.0.2 mips cc rejects this. */
17577 struct point {int x, y;};
17578 static struct point const zero = {0,0};
17579 /* AIX XL C 1.02.0.0 rejects this.
17580 It does not let you subtract one const X* pointer from another in
17581 an arm of an if-expression whose if-part is not a constant
17582 expression */
17583 const char *g = "string";
17584 pcpcc = &g + (g ? g-g : 0);
17585 /* HPUX 7.0 cc rejects these. */
17586 ++pcpcc;
17587 ppc = (char**) pcpcc;
17588 pcpcc = (char const *const *) ppc;
17589 { /* SCO 3.2v4 cc rejects this. */
17590 char *t;
17591 char const *s = 0 ? (char *) 0 : (char const *) 0;
17593 *t++ = 0;
17594 if (s) return 0;
17596 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17597 int x[] = {25, 17};
17598 const int *foo = &x[0];
17599 ++foo;
17601 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17602 typedef const int *iptr;
17603 iptr p = 0;
17604 ++p;
17606 { /* AIX XL C 1.02.0.0 rejects this saying
17607 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17608 struct s { int j; const int *ap[3]; };
17609 struct s *b; b->j = 5;
17611 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17612 const int foo = 10;
17613 if (!foo) return 0;
17615 return !cs[0] && !zero.x;
17616 #endif
17619 return 0;
17621 _ACEOF
17622 if ac_fn_c_try_compile "$LINENO"; then :
17623 ac_cv_c_const=yes
17624 else
17625 ac_cv_c_const=no
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17630 $as_echo "$ac_cv_c_const" >&6; }
17631 if test $ac_cv_c_const = no; then
17633 $as_echo "#define const /**/" >>confdefs.h
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17638 $as_echo_n "checking for inline... " >&6; }
17639 if test "${ac_cv_c_inline+set}" = set; then :
17640 $as_echo_n "(cached) " >&6
17641 else
17642 ac_cv_c_inline=no
17643 for ac_kw in inline __inline__ __inline; do
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646 #ifndef __cplusplus
17647 typedef int foo_t;
17648 static $ac_kw foo_t static_foo () {return 0; }
17649 $ac_kw foo_t foo () {return 0; }
17650 #endif
17652 _ACEOF
17653 if ac_fn_c_try_compile "$LINENO"; then :
17654 ac_cv_c_inline=$ac_kw
17656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 test "$ac_cv_c_inline" != no && break
17658 done
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17662 $as_echo "$ac_cv_c_inline" >&6; }
17664 case $ac_cv_c_inline in
17665 inline | yes) ;;
17667 case $ac_cv_c_inline in
17668 no) ac_val=;;
17669 *) ac_val=$ac_cv_c_inline;;
17670 esac
17671 cat >>confdefs.h <<_ACEOF
17672 #ifndef __cplusplus
17673 #define inline $ac_val
17674 #endif
17675 _ACEOF
17677 esac
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17680 $as_echo_n "checking for __attribute__... " >&6; }
17681 if test "${ac_cv_c_attribute+set}" = set; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 void foo(void) __attribute__ ((__noreturn__));
17689 _ACEOF
17690 if ac_fn_c_try_compile "$LINENO"; then :
17691 ac_cv_c_attribute=yes
17692 else
17693 ac_cv_c_attribute=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_attribute" >&5
17700 $as_echo "$ac_cv_c_attribute" >&6; }
17702 case $ac_cv_c_attribute in
17703 yes) ;;
17705 cat >>confdefs.h <<_ACEOF
17706 #define __attribute__(x) /* nothing */
17707 _ACEOF
17709 esac
17713 ac_ext=c
17714 ac_cpp='$CPP $CPPFLAGS'
17715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
17720 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
17722 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
17723 $as_echo_n "(cached) " >&6
17724 else
17727 ################################################################
17729 ac_cv_func_which_gethostbyname_r=unknown
17732 # ONE ARGUMENT (sanity check)
17735 # This should fail, as there is no variant of gethostbyname_r() that takes
17736 # a single argument. If it actually compiles, then we can assume that
17737 # netdb.h is not declaring the function, and the compiler is thereby
17738 # assuming an implicit prototype. In which case, we're out of luck.
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17743 #include <netdb.h>
17745 main ()
17748 char *name = "www.gnu.org";
17749 (void)gethostbyname_r(name) /* ; */
17752 return 0;
17754 _ACEOF
17755 if ac_fn_c_try_compile "$LINENO"; then :
17756 ac_cv_func_which_gethostbyname_r=no
17758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17761 # SIX ARGUMENTS
17762 # (e.g. Linux)
17765 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17770 #include <netdb.h>
17772 main ()
17775 char *name = "www.gnu.org";
17776 struct hostent ret, *retp;
17777 char buf[1024];
17778 int buflen = 1024;
17779 int my_h_errno;
17780 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
17783 return 0;
17785 _ACEOF
17786 if ac_fn_c_try_compile "$LINENO"; then :
17787 ac_cv_func_which_gethostbyname_r=six
17789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17794 # FIVE ARGUMENTS
17795 # (e.g. Solaris)
17798 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17803 #include <netdb.h>
17805 main ()
17808 char *name = "www.gnu.org";
17809 struct hostent ret;
17810 char buf[1024];
17811 int buflen = 1024;
17812 int my_h_errno;
17813 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
17816 return 0;
17818 _ACEOF
17819 if ac_fn_c_try_compile "$LINENO"; then :
17820 ac_cv_func_which_gethostbyname_r=five
17822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 # THREE ARGUMENTS
17828 # (e.g. AIX, HP-UX, Tru64)
17831 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
17833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17836 #include <netdb.h>
17838 main ()
17841 char *name = "www.gnu.org";
17842 struct hostent ret;
17843 struct hostent_data data;
17844 (void)gethostbyname_r(name, &ret, &data) /* ; */
17847 return 0;
17849 _ACEOF
17850 if ac_fn_c_try_compile "$LINENO"; then :
17851 ac_cv_func_which_gethostbyname_r=three
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 ################################################################
17862 case "$ac_cv_func_which_gethostbyname_r" in
17863 three)
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
17865 $as_echo "three" >&6; }
17867 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
17871 five)
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
17873 $as_echo "five" >&6; }
17875 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
17879 six)
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
17881 $as_echo "six" >&6; }
17883 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
17889 $as_echo "cannot find function declaration in netdb.h" >&6; }
17892 unknown)
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
17894 $as_echo "can't tell" >&6; }
17898 as_fn_error "internal error" "$LINENO" 5
17900 esac
17902 ac_ext=c
17903 ac_cpp='$CPP $CPPFLAGS'
17904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17912 if test "X$prefix" = "XNONE"; then
17913 acl_final_prefix="$ac_default_prefix"
17914 else
17915 acl_final_prefix="$prefix"
17917 if test "X$exec_prefix" = "XNONE"; then
17918 acl_final_exec_prefix='${prefix}'
17919 else
17920 acl_final_exec_prefix="$exec_prefix"
17922 acl_save_prefix="$prefix"
17923 prefix="$acl_final_prefix"
17924 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17925 prefix="$acl_save_prefix"
17928 # Check whether --with-gnu-ld was given.
17929 if test "${with_gnu_ld+set}" = set; then :
17930 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17931 else
17932 with_gnu_ld=no
17935 # Prepare PATH_SEPARATOR.
17936 # The user is always right.
17937 if test "${PATH_SEPARATOR+set}" != set; then
17938 echo "#! /bin/sh" >conf$$.sh
17939 echo "exit 0" >>conf$$.sh
17940 chmod +x conf$$.sh
17941 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17942 PATH_SEPARATOR=';'
17943 else
17944 PATH_SEPARATOR=:
17946 rm -f conf$$.sh
17948 ac_prog=ld
17949 if test "$GCC" = yes; then
17950 # Check if gcc -print-prog-name=ld gives a path.
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17952 $as_echo_n "checking for ld used by GCC... " >&6; }
17953 case $host in
17954 *-*-mingw*)
17955 # gcc leaves a trailing carriage return which upsets mingw
17956 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17958 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17959 esac
17960 case $ac_prog in
17961 # Accept absolute paths.
17962 [\\/]* | [A-Za-z]:[\\/]*)
17963 re_direlt='/[^/][^/]*/\.\./'
17964 # Canonicalize the path of ld
17965 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17966 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17967 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17968 done
17969 test -z "$LD" && LD="$ac_prog"
17972 # If it fails, then pretend we aren't using GCC.
17973 ac_prog=ld
17976 # If it is relative, then search for the first ld in PATH.
17977 with_gnu_ld=unknown
17979 esac
17980 elif test "$with_gnu_ld" = yes; then
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17982 $as_echo_n "checking for GNU ld... " >&6; }
17983 else
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17985 $as_echo_n "checking for non-GNU ld... " >&6; }
17987 if test "${acl_cv_path_LD+set}" = set; then :
17988 $as_echo_n "(cached) " >&6
17989 else
17990 if test -z "$LD"; then
17991 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17992 for ac_dir in $PATH; do
17993 test -z "$ac_dir" && ac_dir=.
17994 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17995 acl_cv_path_LD="$ac_dir/$ac_prog"
17996 # Check to see if the program is GNU ld. I'd rather use --version,
17997 # but apparently some GNU ld's only accept -v.
17998 # Break only if it was the GNU/non-GNU ld that we prefer.
17999 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
18000 *GNU* | *'with BFD'*)
18001 test "$with_gnu_ld" != no && break ;;
18003 test "$with_gnu_ld" != yes && break ;;
18004 esac
18006 done
18007 IFS="$ac_save_ifs"
18008 else
18009 acl_cv_path_LD="$LD" # Let the user override the test with a path.
18013 LD="$acl_cv_path_LD"
18014 if test -n "$LD"; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18016 $as_echo "$LD" >&6; }
18017 else
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18019 $as_echo "no" >&6; }
18021 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18023 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18024 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
18025 $as_echo_n "(cached) " >&6
18026 else
18027 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
18028 case `$LD -v 2>&1 </dev/null` in
18029 *GNU* | *'with BFD'*)
18030 acl_cv_prog_gnu_ld=yes ;;
18032 acl_cv_prog_gnu_ld=no ;;
18033 esac
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18036 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
18037 with_gnu_ld=$acl_cv_prog_gnu_ld
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18043 $as_echo_n "checking for shared library run path origin... " >&6; }
18044 if test "${acl_cv_rpath+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18048 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
18049 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18050 . ./conftest.sh
18051 rm -f ./conftest.sh
18052 acl_cv_rpath=done
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18056 $as_echo "$acl_cv_rpath" >&6; }
18057 wl="$acl_cv_wl"
18058 acl_libext="$acl_cv_libext"
18059 acl_shlibext="$acl_cv_shlibext"
18060 acl_libname_spec="$acl_cv_libname_spec"
18061 acl_library_names_spec="$acl_cv_library_names_spec"
18062 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
18063 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
18064 acl_hardcode_direct="$acl_cv_hardcode_direct"
18065 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
18066 # Check whether --enable-rpath was given.
18067 if test "${enable_rpath+set}" = set; then :
18068 enableval=$enable_rpath; :
18069 else
18070 enable_rpath=yes
18076 acl_libdirstem=lib
18077 acl_libdirstem2=
18078 case "$host_os" in
18079 solaris*)
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
18081 $as_echo_n "checking for 64-bit host... " >&6; }
18082 if test "${gl_cv_solaris_64bit+set}" = set; then :
18083 $as_echo_n "(cached) " >&6
18084 else
18085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18088 #ifdef _LP64
18089 sixtyfour bits
18090 #endif
18092 _ACEOF
18093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18094 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
18095 gl_cv_solaris_64bit=yes
18096 else
18097 gl_cv_solaris_64bit=no
18099 rm -f conftest*
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
18104 $as_echo "$gl_cv_solaris_64bit" >&6; }
18105 if test $gl_cv_solaris_64bit = yes; then
18106 acl_libdirstem=lib/64
18107 case "$host_cpu" in
18108 sparc*) acl_libdirstem2=lib/sparcv9 ;;
18109 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
18110 esac
18114 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
18115 if test -n "$searchpath"; then
18116 acl_save_IFS="${IFS= }"; IFS=":"
18117 for searchdir in $searchpath; do
18118 if test -d "$searchdir"; then
18119 case "$searchdir" in
18120 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
18121 */../ | */.. )
18122 # Better ignore directories of this form. They are misleading.
18124 *) searchdir=`cd "$searchdir" && pwd`
18125 case "$searchdir" in
18126 */lib64 ) acl_libdirstem=lib64 ;;
18127 esac ;;
18128 esac
18130 done
18131 IFS="$acl_save_IFS"
18134 esac
18135 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
18148 use_additional=yes
18150 acl_save_prefix="$prefix"
18151 prefix="$acl_final_prefix"
18152 acl_save_exec_prefix="$exec_prefix"
18153 exec_prefix="$acl_final_exec_prefix"
18155 eval additional_includedir=\"$includedir\"
18156 eval additional_libdir=\"$libdir\"
18158 exec_prefix="$acl_save_exec_prefix"
18159 prefix="$acl_save_prefix"
18162 # Check whether --with-libiconv-prefix was given.
18163 if test "${with_libiconv_prefix+set}" = set; then :
18164 withval=$with_libiconv_prefix;
18165 if test "X$withval" = "Xno"; then
18166 use_additional=no
18167 else
18168 if test "X$withval" = "X"; then
18170 acl_save_prefix="$prefix"
18171 prefix="$acl_final_prefix"
18172 acl_save_exec_prefix="$exec_prefix"
18173 exec_prefix="$acl_final_exec_prefix"
18175 eval additional_includedir=\"$includedir\"
18176 eval additional_libdir=\"$libdir\"
18178 exec_prefix="$acl_save_exec_prefix"
18179 prefix="$acl_save_prefix"
18181 else
18182 additional_includedir="$withval/include"
18183 additional_libdir="$withval/$acl_libdirstem"
18184 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18185 && ! test -d "$withval/$acl_libdirstem"; then
18186 additional_libdir="$withval/$acl_libdirstem2"
18193 LIBICONV=
18194 LTLIBICONV=
18195 INCICONV=
18196 LIBICONV_PREFIX=
18197 HAVE_LIBICONV=
18198 rpathdirs=
18199 ltrpathdirs=
18200 names_already_handled=
18201 names_next_round='iconv '
18202 while test -n "$names_next_round"; do
18203 names_this_round="$names_next_round"
18204 names_next_round=
18205 for name in $names_this_round; do
18206 already_handled=
18207 for n in $names_already_handled; do
18208 if test "$n" = "$name"; then
18209 already_handled=yes
18210 break
18212 done
18213 if test -z "$already_handled"; then
18214 names_already_handled="$names_already_handled $name"
18215 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18216 eval value=\"\$HAVE_LIB$uppername\"
18217 if test -n "$value"; then
18218 if test "$value" = yes; then
18219 eval value=\"\$LIB$uppername\"
18220 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18221 eval value=\"\$LTLIB$uppername\"
18222 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18223 else
18226 else
18227 found_dir=
18228 found_la=
18229 found_so=
18230 found_a=
18231 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18232 if test -n "$acl_shlibext"; then
18233 shrext=".$acl_shlibext" # typically: shrext=.so
18234 else
18235 shrext=
18237 if test $use_additional = yes; then
18238 dir="$additional_libdir"
18239 if test -n "$acl_shlibext"; then
18240 if test -f "$dir/$libname$shrext"; then
18241 found_dir="$dir"
18242 found_so="$dir/$libname$shrext"
18243 else
18244 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18245 ver=`(cd "$dir" && \
18246 for f in "$libname$shrext".*; do echo "$f"; done \
18247 | sed -e "s,^$libname$shrext\\\\.,," \
18248 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18249 | sed 1q ) 2>/dev/null`
18250 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18251 found_dir="$dir"
18252 found_so="$dir/$libname$shrext.$ver"
18254 else
18255 eval library_names=\"$acl_library_names_spec\"
18256 for f in $library_names; do
18257 if test -f "$dir/$f"; then
18258 found_dir="$dir"
18259 found_so="$dir/$f"
18260 break
18262 done
18266 if test "X$found_dir" = "X"; then
18267 if test -f "$dir/$libname.$acl_libext"; then
18268 found_dir="$dir"
18269 found_a="$dir/$libname.$acl_libext"
18272 if test "X$found_dir" != "X"; then
18273 if test -f "$dir/$libname.la"; then
18274 found_la="$dir/$libname.la"
18278 if test "X$found_dir" = "X"; then
18279 for x in $LDFLAGS $LTLIBICONV; do
18281 acl_save_prefix="$prefix"
18282 prefix="$acl_final_prefix"
18283 acl_save_exec_prefix="$exec_prefix"
18284 exec_prefix="$acl_final_exec_prefix"
18285 eval x=\"$x\"
18286 exec_prefix="$acl_save_exec_prefix"
18287 prefix="$acl_save_prefix"
18289 case "$x" in
18290 -L*)
18291 dir=`echo "X$x" | sed -e 's/^X-L//'`
18292 if test -n "$acl_shlibext"; then
18293 if test -f "$dir/$libname$shrext"; then
18294 found_dir="$dir"
18295 found_so="$dir/$libname$shrext"
18296 else
18297 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18298 ver=`(cd "$dir" && \
18299 for f in "$libname$shrext".*; do echo "$f"; done \
18300 | sed -e "s,^$libname$shrext\\\\.,," \
18301 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18302 | sed 1q ) 2>/dev/null`
18303 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18304 found_dir="$dir"
18305 found_so="$dir/$libname$shrext.$ver"
18307 else
18308 eval library_names=\"$acl_library_names_spec\"
18309 for f in $library_names; do
18310 if test -f "$dir/$f"; then
18311 found_dir="$dir"
18312 found_so="$dir/$f"
18313 break
18315 done
18319 if test "X$found_dir" = "X"; then
18320 if test -f "$dir/$libname.$acl_libext"; then
18321 found_dir="$dir"
18322 found_a="$dir/$libname.$acl_libext"
18325 if test "X$found_dir" != "X"; then
18326 if test -f "$dir/$libname.la"; then
18327 found_la="$dir/$libname.la"
18331 esac
18332 if test "X$found_dir" != "X"; then
18333 break
18335 done
18337 if test "X$found_dir" != "X"; then
18338 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18339 if test "X$found_so" != "X"; then
18340 if test "$enable_rpath" = no \
18341 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18342 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18343 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18344 else
18345 haveit=
18346 for x in $ltrpathdirs; do
18347 if test "X$x" = "X$found_dir"; then
18348 haveit=yes
18349 break
18351 done
18352 if test -z "$haveit"; then
18353 ltrpathdirs="$ltrpathdirs $found_dir"
18355 if test "$acl_hardcode_direct" = yes; then
18356 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18357 else
18358 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18359 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18360 haveit=
18361 for x in $rpathdirs; do
18362 if test "X$x" = "X$found_dir"; then
18363 haveit=yes
18364 break
18366 done
18367 if test -z "$haveit"; then
18368 rpathdirs="$rpathdirs $found_dir"
18370 else
18371 haveit=
18372 for x in $LDFLAGS $LIBICONV; do
18374 acl_save_prefix="$prefix"
18375 prefix="$acl_final_prefix"
18376 acl_save_exec_prefix="$exec_prefix"
18377 exec_prefix="$acl_final_exec_prefix"
18378 eval x=\"$x\"
18379 exec_prefix="$acl_save_exec_prefix"
18380 prefix="$acl_save_prefix"
18382 if test "X$x" = "X-L$found_dir"; then
18383 haveit=yes
18384 break
18386 done
18387 if test -z "$haveit"; then
18388 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18390 if test "$acl_hardcode_minus_L" != no; then
18391 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18392 else
18393 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18398 else
18399 if test "X$found_a" != "X"; then
18400 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18401 else
18402 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18405 additional_includedir=
18406 case "$found_dir" in
18407 */$acl_libdirstem | */$acl_libdirstem/)
18408 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18409 if test "$name" = 'iconv'; then
18410 LIBICONV_PREFIX="$basedir"
18412 additional_includedir="$basedir/include"
18414 */$acl_libdirstem2 | */$acl_libdirstem2/)
18415 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18416 if test "$name" = 'iconv'; then
18417 LIBICONV_PREFIX="$basedir"
18419 additional_includedir="$basedir/include"
18421 esac
18422 if test "X$additional_includedir" != "X"; then
18423 if test "X$additional_includedir" != "X/usr/include"; then
18424 haveit=
18425 if test "X$additional_includedir" = "X/usr/local/include"; then
18426 if test -n "$GCC"; then
18427 case $host_os in
18428 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18429 esac
18432 if test -z "$haveit"; then
18433 for x in $CPPFLAGS $INCICONV; do
18435 acl_save_prefix="$prefix"
18436 prefix="$acl_final_prefix"
18437 acl_save_exec_prefix="$exec_prefix"
18438 exec_prefix="$acl_final_exec_prefix"
18439 eval x=\"$x\"
18440 exec_prefix="$acl_save_exec_prefix"
18441 prefix="$acl_save_prefix"
18443 if test "X$x" = "X-I$additional_includedir"; then
18444 haveit=yes
18445 break
18447 done
18448 if test -z "$haveit"; then
18449 if test -d "$additional_includedir"; then
18450 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18456 if test -n "$found_la"; then
18457 save_libdir="$libdir"
18458 case "$found_la" in
18459 */* | *\\*) . "$found_la" ;;
18460 *) . "./$found_la" ;;
18461 esac
18462 libdir="$save_libdir"
18463 for dep in $dependency_libs; do
18464 case "$dep" in
18465 -L*)
18466 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18467 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18468 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18469 haveit=
18470 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18471 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18472 if test -n "$GCC"; then
18473 case $host_os in
18474 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18475 esac
18478 if test -z "$haveit"; then
18479 haveit=
18480 for x in $LDFLAGS $LIBICONV; do
18482 acl_save_prefix="$prefix"
18483 prefix="$acl_final_prefix"
18484 acl_save_exec_prefix="$exec_prefix"
18485 exec_prefix="$acl_final_exec_prefix"
18486 eval x=\"$x\"
18487 exec_prefix="$acl_save_exec_prefix"
18488 prefix="$acl_save_prefix"
18490 if test "X$x" = "X-L$additional_libdir"; then
18491 haveit=yes
18492 break
18494 done
18495 if test -z "$haveit"; then
18496 if test -d "$additional_libdir"; then
18497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18500 haveit=
18501 for x in $LDFLAGS $LTLIBICONV; do
18503 acl_save_prefix="$prefix"
18504 prefix="$acl_final_prefix"
18505 acl_save_exec_prefix="$exec_prefix"
18506 exec_prefix="$acl_final_exec_prefix"
18507 eval x=\"$x\"
18508 exec_prefix="$acl_save_exec_prefix"
18509 prefix="$acl_save_prefix"
18511 if test "X$x" = "X-L$additional_libdir"; then
18512 haveit=yes
18513 break
18515 done
18516 if test -z "$haveit"; then
18517 if test -d "$additional_libdir"; then
18518 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18524 -R*)
18525 dir=`echo "X$dep" | sed -e 's/^X-R//'`
18526 if test "$enable_rpath" != no; then
18527 haveit=
18528 for x in $rpathdirs; do
18529 if test "X$x" = "X$dir"; then
18530 haveit=yes
18531 break
18533 done
18534 if test -z "$haveit"; then
18535 rpathdirs="$rpathdirs $dir"
18537 haveit=
18538 for x in $ltrpathdirs; do
18539 if test "X$x" = "X$dir"; then
18540 haveit=yes
18541 break
18543 done
18544 if test -z "$haveit"; then
18545 ltrpathdirs="$ltrpathdirs $dir"
18549 -l*)
18550 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18552 *.la)
18553 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18556 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18557 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18559 esac
18560 done
18562 else
18563 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18564 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18568 done
18569 done
18570 if test "X$rpathdirs" != "X"; then
18571 if test -n "$acl_hardcode_libdir_separator"; then
18572 alldirs=
18573 for found_dir in $rpathdirs; do
18574 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18575 done
18576 acl_save_libdir="$libdir"
18577 libdir="$alldirs"
18578 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18579 libdir="$acl_save_libdir"
18580 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18581 else
18582 for found_dir in $rpathdirs; do
18583 acl_save_libdir="$libdir"
18584 libdir="$found_dir"
18585 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18586 libdir="$acl_save_libdir"
18587 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18588 done
18591 if test "X$ltrpathdirs" != "X"; then
18592 for found_dir in $ltrpathdirs; do
18593 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18594 done
18608 am_save_CPPFLAGS="$CPPFLAGS"
18610 for element in $INCICONV; do
18611 haveit=
18612 for x in $CPPFLAGS; do
18614 acl_save_prefix="$prefix"
18615 prefix="$acl_final_prefix"
18616 acl_save_exec_prefix="$exec_prefix"
18617 exec_prefix="$acl_final_exec_prefix"
18618 eval x=\"$x\"
18619 exec_prefix="$acl_save_exec_prefix"
18620 prefix="$acl_save_prefix"
18622 if test "X$x" = "X$element"; then
18623 haveit=yes
18624 break
18626 done
18627 if test -z "$haveit"; then
18628 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18630 done
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18634 $as_echo_n "checking for iconv... " >&6; }
18635 if test "${am_cv_func_iconv+set}" = set; then :
18636 $as_echo_n "(cached) " >&6
18637 else
18639 am_cv_func_iconv="no, consider installing GNU libiconv"
18640 am_cv_lib_iconv=no
18641 if test x$gcc_no_link = xyes; then
18642 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <stdlib.h>
18647 #include <iconv.h>
18649 main ()
18651 iconv_t cd = iconv_open("","");
18652 iconv(cd,NULL,NULL,NULL,NULL);
18653 iconv_close(cd);
18655 return 0;
18657 _ACEOF
18658 if ac_fn_c_try_link "$LINENO"; then :
18659 am_cv_func_iconv=yes
18661 rm -f core conftest.err conftest.$ac_objext \
18662 conftest$ac_exeext conftest.$ac_ext
18663 if test "$am_cv_func_iconv" != yes; then
18664 am_save_LIBS="$LIBS"
18665 LIBS="$LIBS $LIBICONV"
18666 if test x$gcc_no_link = xyes; then
18667 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 #include <stdlib.h>
18672 #include <iconv.h>
18674 main ()
18676 iconv_t cd = iconv_open("","");
18677 iconv(cd,NULL,NULL,NULL,NULL);
18678 iconv_close(cd);
18680 return 0;
18682 _ACEOF
18683 if ac_fn_c_try_link "$LINENO"; then :
18684 am_cv_lib_iconv=yes
18685 am_cv_func_iconv=yes
18687 rm -f core conftest.err conftest.$ac_objext \
18688 conftest$ac_exeext conftest.$ac_ext
18689 LIBS="$am_save_LIBS"
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18694 $as_echo "$am_cv_func_iconv" >&6; }
18695 if test "$am_cv_func_iconv" = yes; then
18697 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18700 if test "$am_cv_lib_iconv" = yes; then
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18702 $as_echo_n "checking how to link with libiconv... " >&6; }
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18704 $as_echo "$LIBICONV" >&6; }
18705 else
18706 CPPFLAGS="$am_save_CPPFLAGS"
18707 LIBICONV=
18708 LTLIBICONV=
18713 if test "$am_cv_func_iconv" = yes; then
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18715 $as_echo_n "checking for iconv declaration... " >&6; }
18716 if test "${am_cv_proto_iconv+set}" = set; then :
18717 $as_echo_n "(cached) " >&6
18718 else
18720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18721 /* end confdefs.h. */
18723 #include <stdlib.h>
18724 #include <iconv.h>
18725 extern
18726 #ifdef __cplusplus
18728 #endif
18729 #if defined(__STDC__) || defined(__cplusplus)
18730 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18731 #else
18732 size_t iconv();
18733 #endif
18736 main ()
18740 return 0;
18742 _ACEOF
18743 if ac_fn_c_try_compile "$LINENO"; then :
18744 am_cv_proto_iconv_arg1=""
18745 else
18746 am_cv_proto_iconv_arg1="const"
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18749 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);"
18752 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18754 }$am_cv_proto_iconv" >&5
18755 $as_echo "${ac_t:-
18756 }$am_cv_proto_iconv" >&6; }
18758 cat >>confdefs.h <<_ACEOF
18759 #define ICONV_CONST $am_cv_proto_iconv_arg1
18760 _ACEOF
18765 if test "x${GCC}" = xyes; then
18767 WARNING_CFLAGS='-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long'
18770 EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables'
18773 STRICT_WARNING_CFLAGS='-Wstrict-prototypes -pedantic'
18776 ERROR_CFLAGS=
18777 if test "x${ENABLE_WERROR}" = xyes; then
18778 ERROR_CFLAGS='-Werror'
18783 if test "x${COMPILE_XMLJ}" = xyes; then
18785 succeeded=no
18787 if test -z "$PKG_CONFIG"; then
18788 if test -n "$ac_tool_prefix"; then
18789 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18790 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18792 $as_echo_n "checking for $ac_word... " >&6; }
18793 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796 case $PKG_CONFIG in
18797 [\\/]* | ?:[\\/]*)
18798 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18802 for as_dir in $PATH
18804 IFS=$as_save_IFS
18805 test -z "$as_dir" && as_dir=.
18806 for ac_exec_ext in '' $ac_executable_extensions; do
18807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18808 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18810 break 2
18812 done
18813 done
18814 IFS=$as_save_IFS
18817 esac
18819 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18820 if test -n "$PKG_CONFIG"; then
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18822 $as_echo "$PKG_CONFIG" >&6; }
18823 else
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18825 $as_echo "no" >&6; }
18830 if test -z "$ac_cv_path_PKG_CONFIG"; then
18831 ac_pt_PKG_CONFIG=$PKG_CONFIG
18832 # Extract the first word of "pkg-config", so it can be a program name with args.
18833 set dummy pkg-config; ac_word=$2
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18835 $as_echo_n "checking for $ac_word... " >&6; }
18836 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
18837 $as_echo_n "(cached) " >&6
18838 else
18839 case $ac_pt_PKG_CONFIG in
18840 [\\/]* | ?:[\\/]*)
18841 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18845 for as_dir in $PATH
18847 IFS=$as_save_IFS
18848 test -z "$as_dir" && as_dir=.
18849 for ac_exec_ext in '' $ac_executable_extensions; do
18850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18851 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18853 break 2
18855 done
18856 done
18857 IFS=$as_save_IFS
18860 esac
18862 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18863 if test -n "$ac_pt_PKG_CONFIG"; then
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18865 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18866 else
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18868 $as_echo "no" >&6; }
18871 if test "x$ac_pt_PKG_CONFIG" = x; then
18872 PKG_CONFIG="no"
18873 else
18874 case $cross_compiling:$ac_tool_warned in
18875 yes:)
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18878 ac_tool_warned=yes ;;
18879 esac
18880 PKG_CONFIG=$ac_pt_PKG_CONFIG
18882 else
18883 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18888 if test "$PKG_CONFIG" = "no" ; then
18889 echo "*** The pkg-config script could not be found. Make sure it is"
18890 echo "*** in your path, or set the PKG_CONFIG environment variable"
18891 echo "*** to the full path to pkg-config."
18892 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
18893 else
18894 PKG_CONFIG_MIN_VERSION=0.9.0
18895 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.6.8" >&5
18897 $as_echo_n "checking for libxml-2.0 >= 2.6.8... " >&6; }
18899 if $PKG_CONFIG --exists "libxml-2.0 >= 2.6.8" ; then
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18901 $as_echo "yes" >&6; }
18902 succeeded=yes
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_CFLAGS" >&5
18905 $as_echo_n "checking XML_CFLAGS... " >&6; }
18906 XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.8"`
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CFLAGS" >&5
18908 $as_echo "$XML_CFLAGS" >&6; }
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML_LIBS" >&5
18911 $as_echo_n "checking XML_LIBS... " >&6; }
18912 XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.8"`
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_LIBS" >&5
18914 $as_echo "$XML_LIBS" >&6; }
18915 else
18916 XML_CFLAGS=""
18917 XML_LIBS=""
18918 ## If we have a custom action on failure, don't print errors, but
18919 ## do set a variable so people can do so.
18920 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= 2.6.8"`
18921 echo $XML_PKG_ERRORS
18926 else
18927 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
18928 echo "*** See http://www.freedesktop.org/software/pkgconfig"
18932 if test $succeeded = yes; then
18934 else
18935 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
18939 succeeded=no
18941 if test -z "$PKG_CONFIG"; then
18942 if test -n "$ac_tool_prefix"; then
18943 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18944 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18946 $as_echo_n "checking for $ac_word... " >&6; }
18947 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18948 $as_echo_n "(cached) " >&6
18949 else
18950 case $PKG_CONFIG in
18951 [\\/]* | ?:[\\/]*)
18952 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18956 for as_dir in $PATH
18958 IFS=$as_save_IFS
18959 test -z "$as_dir" && as_dir=.
18960 for ac_exec_ext in '' $ac_executable_extensions; do
18961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18962 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18964 break 2
18966 done
18967 done
18968 IFS=$as_save_IFS
18971 esac
18973 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18974 if test -n "$PKG_CONFIG"; then
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18976 $as_echo "$PKG_CONFIG" >&6; }
18977 else
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18979 $as_echo "no" >&6; }
18984 if test -z "$ac_cv_path_PKG_CONFIG"; then
18985 ac_pt_PKG_CONFIG=$PKG_CONFIG
18986 # Extract the first word of "pkg-config", so it can be a program name with args.
18987 set dummy pkg-config; ac_word=$2
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18989 $as_echo_n "checking for $ac_word... " >&6; }
18990 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
18991 $as_echo_n "(cached) " >&6
18992 else
18993 case $ac_pt_PKG_CONFIG in
18994 [\\/]* | ?:[\\/]*)
18995 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18999 for as_dir in $PATH
19001 IFS=$as_save_IFS
19002 test -z "$as_dir" && as_dir=.
19003 for ac_exec_ext in '' $ac_executable_extensions; do
19004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19005 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19007 break 2
19009 done
19010 done
19011 IFS=$as_save_IFS
19014 esac
19016 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19017 if test -n "$ac_pt_PKG_CONFIG"; then
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19019 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19020 else
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19022 $as_echo "no" >&6; }
19025 if test "x$ac_pt_PKG_CONFIG" = x; then
19026 PKG_CONFIG="no"
19027 else
19028 case $cross_compiling:$ac_tool_warned in
19029 yes:)
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19032 ac_tool_warned=yes ;;
19033 esac
19034 PKG_CONFIG=$ac_pt_PKG_CONFIG
19036 else
19037 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19042 if test "$PKG_CONFIG" = "no" ; then
19043 echo "*** The pkg-config script could not be found. Make sure it is"
19044 echo "*** in your path, or set the PKG_CONFIG environment variable"
19045 echo "*** to the full path to pkg-config."
19046 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19047 else
19048 PKG_CONFIG_MIN_VERSION=0.9.0
19049 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt >= 1.1.11" >&5
19051 $as_echo_n "checking for libxslt >= 1.1.11... " >&6; }
19053 if $PKG_CONFIG --exists "libxslt >= 1.1.11" ; then
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19055 $as_echo "yes" >&6; }
19056 succeeded=yes
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_CFLAGS" >&5
19059 $as_echo_n "checking XSLT_CFLAGS... " >&6; }
19060 XSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= 1.1.11"`
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CFLAGS" >&5
19062 $as_echo "$XSLT_CFLAGS" >&6; }
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XSLT_LIBS" >&5
19065 $as_echo_n "checking XSLT_LIBS... " >&6; }
19066 XSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= 1.1.11"`
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_LIBS" >&5
19068 $as_echo "$XSLT_LIBS" >&6; }
19069 else
19070 XSLT_CFLAGS=""
19071 XSLT_LIBS=""
19072 ## If we have a custom action on failure, don't print errors, but
19073 ## do set a variable so people can do so.
19074 XSLT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxslt >= 1.1.11"`
19075 echo $XSLT_PKG_ERRORS
19080 else
19081 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19082 echo "*** See http://www.freedesktop.org/software/pkgconfig"
19086 if test $succeeded = yes; then
19088 else
19089 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
19098 if test "x${COMPILE_GTK_PEER}" = xyes; then
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19100 $as_echo_n "checking for X... " >&6; }
19103 # Check whether --with-x was given.
19104 if test "${with_x+set}" = set; then :
19105 withval=$with_x;
19108 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19109 if test "x$with_x" = xno; then
19110 # The user explicitly disabled X.
19111 have_x=disabled
19112 else
19113 case $x_includes,$x_libraries in #(
19114 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19115 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19116 $as_echo_n "(cached) " >&6
19117 else
19118 # One or both of the vars are not set, and there is no cached value.
19119 ac_x_includes=no ac_x_libraries=no
19120 rm -f -r conftest.dir
19121 if mkdir conftest.dir; then
19122 cd conftest.dir
19123 cat >Imakefile <<'_ACEOF'
19124 incroot:
19125 @echo incroot='${INCROOT}'
19126 usrlibdir:
19127 @echo usrlibdir='${USRLIBDIR}'
19128 libdir:
19129 @echo libdir='${LIBDIR}'
19130 _ACEOF
19131 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19132 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19133 for ac_var in incroot usrlibdir libdir; do
19134 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
19135 done
19136 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19137 for ac_extension in a so sl dylib la dll; do
19138 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19139 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19140 ac_im_usrlibdir=$ac_im_libdir; break
19142 done
19143 # Screen out bogus values from the imake configuration. They are
19144 # bogus both because they are the default anyway, and because
19145 # using them would break gcc on systems where it needs fixed includes.
19146 case $ac_im_incroot in
19147 /usr/include) ac_x_includes= ;;
19148 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19149 esac
19150 case $ac_im_usrlibdir in
19151 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19152 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19153 esac
19155 cd ..
19156 rm -f -r conftest.dir
19159 # Standard set of common directories for X headers.
19160 # Check X11 before X11Rn because it is often a symlink to the current release.
19161 ac_x_header_dirs='
19162 /usr/X11/include
19163 /usr/X11R7/include
19164 /usr/X11R6/include
19165 /usr/X11R5/include
19166 /usr/X11R4/include
19168 /usr/include/X11
19169 /usr/include/X11R7
19170 /usr/include/X11R6
19171 /usr/include/X11R5
19172 /usr/include/X11R4
19174 /usr/local/X11/include
19175 /usr/local/X11R7/include
19176 /usr/local/X11R6/include
19177 /usr/local/X11R5/include
19178 /usr/local/X11R4/include
19180 /usr/local/include/X11
19181 /usr/local/include/X11R7
19182 /usr/local/include/X11R6
19183 /usr/local/include/X11R5
19184 /usr/local/include/X11R4
19186 /usr/X386/include
19187 /usr/x386/include
19188 /usr/XFree86/include/X11
19190 /usr/include
19191 /usr/local/include
19192 /usr/unsupported/include
19193 /usr/athena/include
19194 /usr/local/x11r5/include
19195 /usr/lpp/Xamples/include
19197 /usr/openwin/include
19198 /usr/openwin/share/include'
19200 if test "$ac_x_includes" = no; then
19201 # Guess where to find include files, by looking for Xlib.h.
19202 # First, try using that file with no special directory specified.
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 #include <X11/Xlib.h>
19206 _ACEOF
19207 if ac_fn_c_try_cpp "$LINENO"; then :
19208 # We can compile using X headers with no special include directory.
19209 ac_x_includes=
19210 else
19211 for ac_dir in $ac_x_header_dirs; do
19212 if test -r "$ac_dir/X11/Xlib.h"; then
19213 ac_x_includes=$ac_dir
19214 break
19216 done
19218 rm -f conftest.err conftest.$ac_ext
19219 fi # $ac_x_includes = no
19221 if test "$ac_x_libraries" = no; then
19222 # Check for the libraries.
19223 # See if we find them without any special options.
19224 # Don't add to $LIBS permanently.
19225 ac_save_LIBS=$LIBS
19226 LIBS="-lX11 $LIBS"
19227 if test x$gcc_no_link = xyes; then
19228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <X11/Xlib.h>
19234 main ()
19236 XrmInitialize ()
19238 return 0;
19240 _ACEOF
19241 if ac_fn_c_try_link "$LINENO"; then :
19242 LIBS=$ac_save_LIBS
19243 # We can link X programs with no special library path.
19244 ac_x_libraries=
19245 else
19246 LIBS=$ac_save_LIBS
19247 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19249 # Don't even attempt the hair of trying to link an X program!
19250 for ac_extension in a so sl dylib la dll; do
19251 if test -r "$ac_dir/libX11.$ac_extension"; then
19252 ac_x_libraries=$ac_dir
19253 break 2
19255 done
19256 done
19258 rm -f core conftest.err conftest.$ac_objext \
19259 conftest$ac_exeext conftest.$ac_ext
19260 fi # $ac_x_libraries = no
19262 case $ac_x_includes,$ac_x_libraries in #(
19263 no,* | *,no | *\'*)
19264 # Didn't find X, or a directory has "'" in its name.
19265 ac_cv_have_x="have_x=no";; #(
19267 # Record where we found X for the cache.
19268 ac_cv_have_x="have_x=yes\
19269 ac_x_includes='$ac_x_includes'\
19270 ac_x_libraries='$ac_x_libraries'"
19271 esac
19273 ;; #(
19274 *) have_x=yes;;
19275 esac
19276 eval "$ac_cv_have_x"
19277 fi # $with_x != no
19279 if test "$have_x" != yes; then
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19281 $as_echo "$have_x" >&6; }
19282 no_x=yes
19283 else
19284 # If each of the values was on the command line, it overrides each guess.
19285 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19286 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19287 # Update the cache value to reflect the command line values.
19288 ac_cv_have_x="have_x=yes\
19289 ac_x_includes='$x_includes'\
19290 ac_x_libraries='$x_libraries'"
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19292 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19295 if test "$no_x" = yes; then
19296 # Not all programs may use this symbol, but it does not hurt to define it.
19298 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19300 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19301 else
19302 if test -n "$x_includes"; then
19303 X_CFLAGS="$X_CFLAGS -I$x_includes"
19306 # It would also be nice to do this for all -L options, not just this one.
19307 if test -n "$x_libraries"; then
19308 X_LIBS="$X_LIBS -L$x_libraries"
19309 # For Solaris; some versions of Sun CC require a space after -R and
19310 # others require no space. Words are not sufficient . . . .
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19312 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19313 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19314 ac_xsave_c_werror_flag=$ac_c_werror_flag
19315 ac_c_werror_flag=yes
19316 if test x$gcc_no_link = xyes; then
19317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19323 main ()
19327 return 0;
19329 _ACEOF
19330 if ac_fn_c_try_link "$LINENO"; then :
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19332 $as_echo "no" >&6; }
19333 X_LIBS="$X_LIBS -R$x_libraries"
19334 else
19335 LIBS="$ac_xsave_LIBS -R $x_libraries"
19336 if test x$gcc_no_link = xyes; then
19337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19343 main ()
19347 return 0;
19349 _ACEOF
19350 if ac_fn_c_try_link "$LINENO"; then :
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19352 $as_echo "yes" >&6; }
19353 X_LIBS="$X_LIBS -R $x_libraries"
19354 else
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
19356 $as_echo "neither works" >&6; }
19358 rm -f core conftest.err conftest.$ac_objext \
19359 conftest$ac_exeext conftest.$ac_ext
19361 rm -f core conftest.err conftest.$ac_objext \
19362 conftest$ac_exeext conftest.$ac_ext
19363 ac_c_werror_flag=$ac_xsave_c_werror_flag
19364 LIBS=$ac_xsave_LIBS
19367 # Check for system-dependent libraries X programs must link with.
19368 # Do this before checking for the system-independent R6 libraries
19369 # (-lICE), since we may need -lsocket or whatever for X linking.
19371 if test "$ISC" = yes; then
19372 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
19373 else
19374 # Martyn Johnson says this is needed for Ultrix, if the X
19375 # libraries were built with DECnet support. And Karl Berry says
19376 # the Alpha needs dnet_stub (dnet does not exist).
19377 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
19378 if test x$gcc_no_link = xyes; then
19379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19384 /* Override any GCC internal prototype to avoid an error.
19385 Use char because int might match the return type of a GCC
19386 builtin and then its argument prototype would still apply. */
19387 #ifdef __cplusplus
19388 extern "C"
19389 #endif
19390 char XOpenDisplay ();
19392 main ()
19394 return XOpenDisplay ();
19396 return 0;
19398 _ACEOF
19399 if ac_fn_c_try_link "$LINENO"; then :
19401 else
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19403 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19404 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
19405 $as_echo_n "(cached) " >&6
19406 else
19407 ac_check_lib_save_LIBS=$LIBS
19408 LIBS="-ldnet $LIBS"
19409 if test x$gcc_no_link = xyes; then
19410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19413 /* end confdefs.h. */
19415 /* Override any GCC internal prototype to avoid an error.
19416 Use char because int might match the return type of a GCC
19417 builtin and then its argument prototype would still apply. */
19418 #ifdef __cplusplus
19419 extern "C"
19420 #endif
19421 char dnet_ntoa ();
19423 main ()
19425 return dnet_ntoa ();
19427 return 0;
19429 _ACEOF
19430 if ac_fn_c_try_link "$LINENO"; then :
19431 ac_cv_lib_dnet_dnet_ntoa=yes
19432 else
19433 ac_cv_lib_dnet_dnet_ntoa=no
19435 rm -f core conftest.err conftest.$ac_objext \
19436 conftest$ac_exeext conftest.$ac_ext
19437 LIBS=$ac_check_lib_save_LIBS
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19440 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19441 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
19442 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19445 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19447 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19448 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19451 ac_check_lib_save_LIBS=$LIBS
19452 LIBS="-ldnet_stub $LIBS"
19453 if test x$gcc_no_link = xyes; then
19454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19457 /* end confdefs.h. */
19459 /* Override any GCC internal prototype to avoid an error.
19460 Use char because int might match the return type of a GCC
19461 builtin and then its argument prototype would still apply. */
19462 #ifdef __cplusplus
19463 extern "C"
19464 #endif
19465 char dnet_ntoa ();
19467 main ()
19469 return dnet_ntoa ();
19471 return 0;
19473 _ACEOF
19474 if ac_fn_c_try_link "$LINENO"; then :
19475 ac_cv_lib_dnet_stub_dnet_ntoa=yes
19476 else
19477 ac_cv_lib_dnet_stub_dnet_ntoa=no
19479 rm -f core conftest.err conftest.$ac_objext \
19480 conftest$ac_exeext conftest.$ac_ext
19481 LIBS=$ac_check_lib_save_LIBS
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19484 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19485 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
19486 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
19491 rm -f core conftest.err conftest.$ac_objext \
19492 conftest$ac_exeext conftest.$ac_ext
19493 LIBS="$ac_xsave_LIBS"
19495 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19496 # to get the SysV transport functions.
19497 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19498 # needs -lnsl.
19499 # The nsl library prevents programs from opening the X display
19500 # on Irix 5.2, according to T.E. Dickey.
19501 # The functions gethostbyname, getservbyname, and inet_addr are
19502 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19503 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19504 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
19508 if test $ac_cv_func_gethostbyname = no; then
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19510 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19511 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
19512 $as_echo_n "(cached) " >&6
19513 else
19514 ac_check_lib_save_LIBS=$LIBS
19515 LIBS="-lnsl $LIBS"
19516 if test x$gcc_no_link = xyes; then
19517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19522 /* Override any GCC internal prototype to avoid an error.
19523 Use char because int might match the return type of a GCC
19524 builtin and then its argument prototype would still apply. */
19525 #ifdef __cplusplus
19526 extern "C"
19527 #endif
19528 char gethostbyname ();
19530 main ()
19532 return gethostbyname ();
19534 return 0;
19536 _ACEOF
19537 if ac_fn_c_try_link "$LINENO"; then :
19538 ac_cv_lib_nsl_gethostbyname=yes
19539 else
19540 ac_cv_lib_nsl_gethostbyname=no
19542 rm -f core conftest.err conftest.$ac_objext \
19543 conftest$ac_exeext conftest.$ac_ext
19544 LIBS=$ac_check_lib_save_LIBS
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19547 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19548 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
19549 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
19552 if test $ac_cv_lib_nsl_gethostbyname = no; then
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19554 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19555 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
19556 $as_echo_n "(cached) " >&6
19557 else
19558 ac_check_lib_save_LIBS=$LIBS
19559 LIBS="-lbsd $LIBS"
19560 if test x$gcc_no_link = xyes; then
19561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19566 /* Override any GCC internal prototype to avoid an error.
19567 Use char because int might match the return type of a GCC
19568 builtin and then its argument prototype would still apply. */
19569 #ifdef __cplusplus
19570 extern "C"
19571 #endif
19572 char gethostbyname ();
19574 main ()
19576 return gethostbyname ();
19578 return 0;
19580 _ACEOF
19581 if ac_fn_c_try_link "$LINENO"; then :
19582 ac_cv_lib_bsd_gethostbyname=yes
19583 else
19584 ac_cv_lib_bsd_gethostbyname=no
19586 rm -f core conftest.err conftest.$ac_objext \
19587 conftest$ac_exeext conftest.$ac_ext
19588 LIBS=$ac_check_lib_save_LIBS
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19591 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19592 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
19593 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
19599 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19600 # socket/setsockopt and other routines are undefined under SCO ODT
19601 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19602 # on later versions), says Simon Leinen: it contains gethostby*
19603 # variants that don't use the name server (or something). -lsocket
19604 # must be given before -lnsl if both are needed. We assume that
19605 # if connect needs -lnsl, so does gethostbyname.
19606 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
19607 if test "x$ac_cv_func_connect" = x""yes; then :
19611 if test $ac_cv_func_connect = no; then
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19613 $as_echo_n "checking for connect in -lsocket... " >&6; }
19614 if test "${ac_cv_lib_socket_connect+set}" = set; then :
19615 $as_echo_n "(cached) " >&6
19616 else
19617 ac_check_lib_save_LIBS=$LIBS
19618 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
19619 if test x$gcc_no_link = xyes; then
19620 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19625 /* Override any GCC internal prototype to avoid an error.
19626 Use char because int might match the return type of a GCC
19627 builtin and then its argument prototype would still apply. */
19628 #ifdef __cplusplus
19629 extern "C"
19630 #endif
19631 char connect ();
19633 main ()
19635 return connect ();
19637 return 0;
19639 _ACEOF
19640 if ac_fn_c_try_link "$LINENO"; then :
19641 ac_cv_lib_socket_connect=yes
19642 else
19643 ac_cv_lib_socket_connect=no
19645 rm -f core conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext conftest.$ac_ext
19647 LIBS=$ac_check_lib_save_LIBS
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19650 $as_echo "$ac_cv_lib_socket_connect" >&6; }
19651 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
19652 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
19657 # Guillermo Gomez says -lposix is necessary on A/UX.
19658 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
19659 if test "x$ac_cv_func_remove" = x""yes; then :
19663 if test $ac_cv_func_remove = no; then
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19665 $as_echo_n "checking for remove in -lposix... " >&6; }
19666 if test "${ac_cv_lib_posix_remove+set}" = set; then :
19667 $as_echo_n "(cached) " >&6
19668 else
19669 ac_check_lib_save_LIBS=$LIBS
19670 LIBS="-lposix $LIBS"
19671 if test x$gcc_no_link = xyes; then
19672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19677 /* Override any GCC internal prototype to avoid an error.
19678 Use char because int might match the return type of a GCC
19679 builtin and then its argument prototype would still apply. */
19680 #ifdef __cplusplus
19681 extern "C"
19682 #endif
19683 char remove ();
19685 main ()
19687 return remove ();
19689 return 0;
19691 _ACEOF
19692 if ac_fn_c_try_link "$LINENO"; then :
19693 ac_cv_lib_posix_remove=yes
19694 else
19695 ac_cv_lib_posix_remove=no
19697 rm -f core conftest.err conftest.$ac_objext \
19698 conftest$ac_exeext conftest.$ac_ext
19699 LIBS=$ac_check_lib_save_LIBS
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19702 $as_echo "$ac_cv_lib_posix_remove" >&6; }
19703 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
19704 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
19709 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19710 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
19711 if test "x$ac_cv_func_shmat" = x""yes; then :
19715 if test $ac_cv_func_shmat = no; then
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19717 $as_echo_n "checking for shmat in -lipc... " >&6; }
19718 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
19719 $as_echo_n "(cached) " >&6
19720 else
19721 ac_check_lib_save_LIBS=$LIBS
19722 LIBS="-lipc $LIBS"
19723 if test x$gcc_no_link = xyes; then
19724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h. */
19729 /* Override any GCC internal prototype to avoid an error.
19730 Use char because int might match the return type of a GCC
19731 builtin and then its argument prototype would still apply. */
19732 #ifdef __cplusplus
19733 extern "C"
19734 #endif
19735 char shmat ();
19737 main ()
19739 return shmat ();
19741 return 0;
19743 _ACEOF
19744 if ac_fn_c_try_link "$LINENO"; then :
19745 ac_cv_lib_ipc_shmat=yes
19746 else
19747 ac_cv_lib_ipc_shmat=no
19749 rm -f core conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19751 LIBS=$ac_check_lib_save_LIBS
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19754 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19755 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
19756 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
19762 # Check for libraries that X11R6 Xt/Xaw programs need.
19763 ac_save_LDFLAGS=$LDFLAGS
19764 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
19765 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
19766 # check for ICE first), but we must link in the order -lSM -lICE or
19767 # we get undefined symbols. So assume we have SM if we have ICE.
19768 # These have to be linked with before -lX11, unlike the other
19769 # libraries we check for below, so use a different variable.
19770 # John Interrante, Karl Berry
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19772 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19773 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19776 ac_check_lib_save_LIBS=$LIBS
19777 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
19778 if test x$gcc_no_link = xyes; then
19779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19784 /* Override any GCC internal prototype to avoid an error.
19785 Use char because int might match the return type of a GCC
19786 builtin and then its argument prototype would still apply. */
19787 #ifdef __cplusplus
19788 extern "C"
19789 #endif
19790 char IceConnectionNumber ();
19792 main ()
19794 return IceConnectionNumber ();
19796 return 0;
19798 _ACEOF
19799 if ac_fn_c_try_link "$LINENO"; then :
19800 ac_cv_lib_ICE_IceConnectionNumber=yes
19801 else
19802 ac_cv_lib_ICE_IceConnectionNumber=no
19804 rm -f core conftest.err conftest.$ac_objext \
19805 conftest$ac_exeext conftest.$ac_ext
19806 LIBS=$ac_check_lib_save_LIBS
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19809 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19810 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
19811 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
19814 LDFLAGS=$ac_save_LDFLAGS
19818 if test "$no_x" = yes; then
19819 as_fn_error "GTK+ peers requested but no X library available" "$LINENO" 5
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
19822 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
19823 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
19824 $as_echo_n "(cached) " >&6
19825 else
19826 ac_check_lib_save_LIBS=$LIBS
19827 LIBS="-lXtst ${X_LIBS} $LIBS"
19828 if test x$gcc_no_link = xyes; then
19829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19834 /* Override any GCC internal prototype to avoid an error.
19835 Use char because int might match the return type of a GCC
19836 builtin and then its argument prototype would still apply. */
19837 #ifdef __cplusplus
19838 extern "C"
19839 #endif
19840 char XTestQueryExtension ();
19842 main ()
19844 return XTestQueryExtension ();
19846 return 0;
19848 _ACEOF
19849 if ac_fn_c_try_link "$LINENO"; then :
19850 ac_cv_lib_Xtst_XTestQueryExtension=yes
19851 else
19852 ac_cv_lib_Xtst_XTestQueryExtension=no
19854 rm -f core conftest.err conftest.$ac_objext \
19855 conftest$ac_exeext conftest.$ac_ext
19856 LIBS=$ac_check_lib_save_LIBS
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
19859 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
19860 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x""yes; then :
19862 $as_echo "#define HAVE_XTEST 1" >>confdefs.h
19863 XTEST_LIBS="$XTEST_LIBS -X11 -lXtst"
19864 else
19865 true
19871 succeeded=no
19873 if test -z "$PKG_CONFIG"; then
19874 if test -n "$ac_tool_prefix"; then
19875 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19876 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19878 $as_echo_n "checking for $ac_word... " >&6; }
19879 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19880 $as_echo_n "(cached) " >&6
19881 else
19882 case $PKG_CONFIG in
19883 [\\/]* | ?:[\\/]*)
19884 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19888 for as_dir in $PATH
19890 IFS=$as_save_IFS
19891 test -z "$as_dir" && as_dir=.
19892 for ac_exec_ext in '' $ac_executable_extensions; do
19893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19894 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19896 break 2
19898 done
19899 done
19900 IFS=$as_save_IFS
19903 esac
19905 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19906 if test -n "$PKG_CONFIG"; then
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19908 $as_echo "$PKG_CONFIG" >&6; }
19909 else
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19911 $as_echo "no" >&6; }
19916 if test -z "$ac_cv_path_PKG_CONFIG"; then
19917 ac_pt_PKG_CONFIG=$PKG_CONFIG
19918 # Extract the first word of "pkg-config", so it can be a program name with args.
19919 set dummy pkg-config; ac_word=$2
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19921 $as_echo_n "checking for $ac_word... " >&6; }
19922 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19923 $as_echo_n "(cached) " >&6
19924 else
19925 case $ac_pt_PKG_CONFIG in
19926 [\\/]* | ?:[\\/]*)
19927 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19931 for as_dir in $PATH
19933 IFS=$as_save_IFS
19934 test -z "$as_dir" && as_dir=.
19935 for ac_exec_ext in '' $ac_executable_extensions; do
19936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19937 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19939 break 2
19941 done
19942 done
19943 IFS=$as_save_IFS
19946 esac
19948 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19949 if test -n "$ac_pt_PKG_CONFIG"; then
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19951 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19952 else
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19954 $as_echo "no" >&6; }
19957 if test "x$ac_pt_PKG_CONFIG" = x; then
19958 PKG_CONFIG="no"
19959 else
19960 case $cross_compiling:$ac_tool_warned in
19961 yes:)
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19964 ac_tool_warned=yes ;;
19965 esac
19966 PKG_CONFIG=$ac_pt_PKG_CONFIG
19968 else
19969 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19974 if test "$PKG_CONFIG" = "no" ; then
19975 echo "*** The pkg-config script could not be found. Make sure it is"
19976 echo "*** in your path, or set the PKG_CONFIG environment variable"
19977 echo "*** to the full path to pkg-config."
19978 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19979 else
19980 PKG_CONFIG_MIN_VERSION=0.9.0
19981 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
19983 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
19985 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19987 $as_echo "yes" >&6; }
19988 succeeded=yes
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
19991 $as_echo_n "checking GTK_CFLAGS... " >&6; }
19992 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
19994 $as_echo "$GTK_CFLAGS" >&6; }
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
19997 $as_echo_n "checking GTK_LIBS... " >&6; }
19998 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
20000 $as_echo "$GTK_LIBS" >&6; }
20001 else
20002 GTK_CFLAGS=""
20003 GTK_LIBS=""
20004 ## If we have a custom action on failure, don't print errors, but
20005 ## do set a variable so people can do so.
20006 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
20007 echo $GTK_PKG_ERRORS
20012 else
20013 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20014 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20018 if test $succeeded = yes; then
20020 else
20021 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
20025 succeeded=no
20027 if test -z "$PKG_CONFIG"; then
20028 if test -n "$ac_tool_prefix"; then
20029 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20030 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20032 $as_echo_n "checking for $ac_word... " >&6; }
20033 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20035 else
20036 case $PKG_CONFIG in
20037 [\\/]* | ?:[\\/]*)
20038 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20042 for as_dir in $PATH
20044 IFS=$as_save_IFS
20045 test -z "$as_dir" && as_dir=.
20046 for ac_exec_ext in '' $ac_executable_extensions; do
20047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20048 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20050 break 2
20052 done
20053 done
20054 IFS=$as_save_IFS
20057 esac
20059 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20060 if test -n "$PKG_CONFIG"; then
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20062 $as_echo "$PKG_CONFIG" >&6; }
20063 else
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20065 $as_echo "no" >&6; }
20070 if test -z "$ac_cv_path_PKG_CONFIG"; then
20071 ac_pt_PKG_CONFIG=$PKG_CONFIG
20072 # Extract the first word of "pkg-config", so it can be a program name with args.
20073 set dummy pkg-config; ac_word=$2
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20075 $as_echo_n "checking for $ac_word... " >&6; }
20076 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20077 $as_echo_n "(cached) " >&6
20078 else
20079 case $ac_pt_PKG_CONFIG in
20080 [\\/]* | ?:[\\/]*)
20081 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20085 for as_dir in $PATH
20087 IFS=$as_save_IFS
20088 test -z "$as_dir" && as_dir=.
20089 for ac_exec_ext in '' $ac_executable_extensions; do
20090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20091 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20093 break 2
20095 done
20096 done
20097 IFS=$as_save_IFS
20100 esac
20102 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20103 if test -n "$ac_pt_PKG_CONFIG"; then
20104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20105 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20106 else
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20108 $as_echo "no" >&6; }
20111 if test "x$ac_pt_PKG_CONFIG" = x; then
20112 PKG_CONFIG="no"
20113 else
20114 case $cross_compiling:$ac_tool_warned in
20115 yes:)
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20118 ac_tool_warned=yes ;;
20119 esac
20120 PKG_CONFIG=$ac_pt_PKG_CONFIG
20122 else
20123 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20128 if test "$PKG_CONFIG" = "no" ; then
20129 echo "*** The pkg-config script could not be found. Make sure it is"
20130 echo "*** in your path, or set the PKG_CONFIG environment variable"
20131 echo "*** to the full path to pkg-config."
20132 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20133 else
20134 PKG_CONFIG_MIN_VERSION=0.9.0
20135 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
20137 $as_echo_n "checking for freetype2... " >&6; }
20139 if $PKG_CONFIG --exists "freetype2" ; then
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20141 $as_echo "yes" >&6; }
20142 succeeded=yes
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_CFLAGS" >&5
20145 $as_echo_n "checking FREETYPE2_CFLAGS... " >&6; }
20146 FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2"`
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_CFLAGS" >&5
20148 $as_echo "$FREETYPE2_CFLAGS" >&6; }
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FREETYPE2_LIBS" >&5
20151 $as_echo_n "checking FREETYPE2_LIBS... " >&6; }
20152 FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2"`
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE2_LIBS" >&5
20154 $as_echo "$FREETYPE2_LIBS" >&6; }
20155 else
20156 FREETYPE2_CFLAGS=""
20157 FREETYPE2_LIBS=""
20158 ## If we have a custom action on failure, don't print errors, but
20159 ## do set a variable so people can do so.
20160 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
20161 echo $FREETYPE2_PKG_ERRORS
20166 else
20167 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20168 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20172 if test $succeeded = yes; then
20174 else
20175 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
20179 succeeded=no
20181 if test -z "$PKG_CONFIG"; then
20182 if test -n "$ac_tool_prefix"; then
20183 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20184 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20186 $as_echo_n "checking for $ac_word... " >&6; }
20187 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20188 $as_echo_n "(cached) " >&6
20189 else
20190 case $PKG_CONFIG in
20191 [\\/]* | ?:[\\/]*)
20192 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20196 for as_dir in $PATH
20198 IFS=$as_save_IFS
20199 test -z "$as_dir" && as_dir=.
20200 for ac_exec_ext in '' $ac_executable_extensions; do
20201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20202 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20204 break 2
20206 done
20207 done
20208 IFS=$as_save_IFS
20211 esac
20213 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20214 if test -n "$PKG_CONFIG"; then
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20216 $as_echo "$PKG_CONFIG" >&6; }
20217 else
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20219 $as_echo "no" >&6; }
20224 if test -z "$ac_cv_path_PKG_CONFIG"; then
20225 ac_pt_PKG_CONFIG=$PKG_CONFIG
20226 # Extract the first word of "pkg-config", so it can be a program name with args.
20227 set dummy pkg-config; ac_word=$2
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20229 $as_echo_n "checking for $ac_word... " >&6; }
20230 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20231 $as_echo_n "(cached) " >&6
20232 else
20233 case $ac_pt_PKG_CONFIG in
20234 [\\/]* | ?:[\\/]*)
20235 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20239 for as_dir in $PATH
20241 IFS=$as_save_IFS
20242 test -z "$as_dir" && as_dir=.
20243 for ac_exec_ext in '' $ac_executable_extensions; do
20244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20245 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20247 break 2
20249 done
20250 done
20251 IFS=$as_save_IFS
20254 esac
20256 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20257 if test -n "$ac_pt_PKG_CONFIG"; then
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20259 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20260 else
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20262 $as_echo "no" >&6; }
20265 if test "x$ac_pt_PKG_CONFIG" = x; then
20266 PKG_CONFIG="no"
20267 else
20268 case $cross_compiling:$ac_tool_warned in
20269 yes:)
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20272 ac_tool_warned=yes ;;
20273 esac
20274 PKG_CONFIG=$ac_pt_PKG_CONFIG
20276 else
20277 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20282 if test "$PKG_CONFIG" = "no" ; then
20283 echo "*** The pkg-config script could not be found. Make sure it is"
20284 echo "*** in your path, or set the PKG_CONFIG environment variable"
20285 echo "*** to the full path to pkg-config."
20286 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20287 else
20288 PKG_CONFIG_MIN_VERSION=0.9.0
20289 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangoft2" >&5
20291 $as_echo_n "checking for pangoft2... " >&6; }
20293 if $PKG_CONFIG --exists "pangoft2" ; then
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20295 $as_echo "yes" >&6; }
20296 succeeded=yes
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_CFLAGS" >&5
20299 $as_echo_n "checking PANGOFT2_CFLAGS... " >&6; }
20300 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_CFLAGS" >&5
20302 $as_echo "$PANGOFT2_CFLAGS" >&6; }
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGOFT2_LIBS" >&5
20305 $as_echo_n "checking PANGOFT2_LIBS... " >&6; }
20306 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGOFT2_LIBS" >&5
20308 $as_echo "$PANGOFT2_LIBS" >&6; }
20309 else
20310 PANGOFT2_CFLAGS=""
20311 PANGOFT2_LIBS=""
20312 ## If we have a custom action on failure, don't print errors, but
20313 ## do set a variable so people can do so.
20314 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20315 echo $PANGOFT2_PKG_ERRORS
20320 else
20321 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20322 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20326 if test $succeeded = yes; then
20328 else
20329 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
20333 succeeded=no
20335 if test -z "$PKG_CONFIG"; then
20336 if test -n "$ac_tool_prefix"; then
20337 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20338 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20340 $as_echo_n "checking for $ac_word... " >&6; }
20341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20342 $as_echo_n "(cached) " >&6
20343 else
20344 case $PKG_CONFIG in
20345 [\\/]* | ?:[\\/]*)
20346 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20350 for as_dir in $PATH
20352 IFS=$as_save_IFS
20353 test -z "$as_dir" && as_dir=.
20354 for ac_exec_ext in '' $ac_executable_extensions; do
20355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20356 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20358 break 2
20360 done
20361 done
20362 IFS=$as_save_IFS
20365 esac
20367 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20368 if test -n "$PKG_CONFIG"; then
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20370 $as_echo "$PKG_CONFIG" >&6; }
20371 else
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20373 $as_echo "no" >&6; }
20378 if test -z "$ac_cv_path_PKG_CONFIG"; then
20379 ac_pt_PKG_CONFIG=$PKG_CONFIG
20380 # Extract the first word of "pkg-config", so it can be a program name with args.
20381 set dummy pkg-config; ac_word=$2
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20383 $as_echo_n "checking for $ac_word... " >&6; }
20384 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20385 $as_echo_n "(cached) " >&6
20386 else
20387 case $ac_pt_PKG_CONFIG in
20388 [\\/]* | ?:[\\/]*)
20389 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20393 for as_dir in $PATH
20395 IFS=$as_save_IFS
20396 test -z "$as_dir" && as_dir=.
20397 for ac_exec_ext in '' $ac_executable_extensions; do
20398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20399 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20401 break 2
20403 done
20404 done
20405 IFS=$as_save_IFS
20408 esac
20410 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20411 if test -n "$ac_pt_PKG_CONFIG"; then
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20413 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20414 else
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20416 $as_echo "no" >&6; }
20419 if test "x$ac_pt_PKG_CONFIG" = x; then
20420 PKG_CONFIG="no"
20421 else
20422 case $cross_compiling:$ac_tool_warned in
20423 yes:)
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20426 ac_tool_warned=yes ;;
20427 esac
20428 PKG_CONFIG=$ac_pt_PKG_CONFIG
20430 else
20431 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20436 if test "$PKG_CONFIG" = "no" ; then
20437 echo "*** The pkg-config script could not be found. Make sure it is"
20438 echo "*** in your path, or set the PKG_CONFIG environment variable"
20439 echo "*** to the full path to pkg-config."
20440 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20441 else
20442 PKG_CONFIG_MIN_VERSION=0.9.0
20443 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.1.8" >&5
20445 $as_echo_n "checking for cairo >= 1.1.8... " >&6; }
20447 if $PKG_CONFIG --exists "cairo >= 1.1.8" ; then
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20449 $as_echo "yes" >&6; }
20450 succeeded=yes
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
20453 $as_echo_n "checking CAIRO_CFLAGS... " >&6; }
20454 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.1.8"`
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
20456 $as_echo "$CAIRO_CFLAGS" >&6; }
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
20459 $as_echo_n "checking CAIRO_LIBS... " >&6; }
20460 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.1.8"`
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
20462 $as_echo "$CAIRO_LIBS" >&6; }
20463 else
20464 CAIRO_CFLAGS=""
20465 CAIRO_LIBS=""
20466 ## If we have a custom action on failure, don't print errors, but
20467 ## do set a variable so people can do so.
20468 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo >= 1.1.8"`
20469 echo $CAIRO_PKG_ERRORS
20474 else
20475 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20476 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20480 if test $succeeded = yes; then
20482 else
20483 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
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
20487 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
20488 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then :
20489 $as_echo_n "(cached) " >&6
20490 else
20491 ac_check_lib_save_LIBS=$LIBS
20492 LIBS="-lXrender ${X_LIBS} $LIBS"
20493 if test x$gcc_no_link = xyes; then
20494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20499 /* Override any GCC internal prototype to avoid an error.
20500 Use char because int might match the return type of a GCC
20501 builtin and then its argument prototype would still apply. */
20502 #ifdef __cplusplus
20503 extern "C"
20504 #endif
20505 char XRenderQueryExtension ();
20507 main ()
20509 return XRenderQueryExtension ();
20511 return 0;
20513 _ACEOF
20514 if ac_fn_c_try_link "$LINENO"; then :
20515 ac_cv_lib_Xrender_XRenderQueryExtension=yes
20516 else
20517 ac_cv_lib_Xrender_XRenderQueryExtension=no
20519 rm -f core conftest.err conftest.$ac_objext \
20520 conftest$ac_exeext conftest.$ac_ext
20521 LIBS=$ac_check_lib_save_LIBS
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
20524 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
20525 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then :
20527 $as_echo "#define HAVE_XRENDER 1" >>confdefs.h
20528 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrender"
20529 else
20530 true
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRQueryExtension in -lXrandr" >&5
20535 $as_echo_n "checking for XRRQueryExtension in -lXrandr... " >&6; }
20536 if test "${ac_cv_lib_Xrandr_XRRQueryExtension+set}" = set; then :
20537 $as_echo_n "(cached) " >&6
20538 else
20539 ac_check_lib_save_LIBS=$LIBS
20540 LIBS="-lXrandr ${X_LIBS} $LIBS"
20541 if test x$gcc_no_link = xyes; then
20542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20545 /* end confdefs.h. */
20547 /* Override any GCC internal prototype to avoid an error.
20548 Use char because int might match the return type of a GCC
20549 builtin and then its argument prototype would still apply. */
20550 #ifdef __cplusplus
20551 extern "C"
20552 #endif
20553 char XRRQueryExtension ();
20555 main ()
20557 return XRRQueryExtension ();
20559 return 0;
20561 _ACEOF
20562 if ac_fn_c_try_link "$LINENO"; then :
20563 ac_cv_lib_Xrandr_XRRQueryExtension=yes
20564 else
20565 ac_cv_lib_Xrandr_XRRQueryExtension=no
20567 rm -f core conftest.err conftest.$ac_objext \
20568 conftest$ac_exeext conftest.$ac_ext
20569 LIBS=$ac_check_lib_save_LIBS
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRQueryExtension" >&5
20572 $as_echo "$ac_cv_lib_Xrandr_XRRQueryExtension" >&6; }
20573 if test "x$ac_cv_lib_Xrandr_XRRQueryExtension" = x""yes; then :
20575 $as_echo "#define HAVE_XRANDR 1" >>confdefs.h
20576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXrandr"
20577 else
20578 true
20591 if test "x${COMPILE_GCONF_PEER}" = xyes; then
20593 succeeded=no
20595 if test -z "$PKG_CONFIG"; then
20596 if test -n "$ac_tool_prefix"; then
20597 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20598 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20600 $as_echo_n "checking for $ac_word... " >&6; }
20601 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20602 $as_echo_n "(cached) " >&6
20603 else
20604 case $PKG_CONFIG in
20605 [\\/]* | ?:[\\/]*)
20606 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20610 for as_dir in $PATH
20612 IFS=$as_save_IFS
20613 test -z "$as_dir" && as_dir=.
20614 for ac_exec_ext in '' $ac_executable_extensions; do
20615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20616 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20618 break 2
20620 done
20621 done
20622 IFS=$as_save_IFS
20625 esac
20627 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20628 if test -n "$PKG_CONFIG"; then
20629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20630 $as_echo "$PKG_CONFIG" >&6; }
20631 else
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20633 $as_echo "no" >&6; }
20638 if test -z "$ac_cv_path_PKG_CONFIG"; then
20639 ac_pt_PKG_CONFIG=$PKG_CONFIG
20640 # Extract the first word of "pkg-config", so it can be a program name with args.
20641 set dummy pkg-config; ac_word=$2
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20643 $as_echo_n "checking for $ac_word... " >&6; }
20644 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20645 $as_echo_n "(cached) " >&6
20646 else
20647 case $ac_pt_PKG_CONFIG in
20648 [\\/]* | ?:[\\/]*)
20649 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20653 for as_dir in $PATH
20655 IFS=$as_save_IFS
20656 test -z "$as_dir" && as_dir=.
20657 for ac_exec_ext in '' $ac_executable_extensions; do
20658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20659 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20661 break 2
20663 done
20664 done
20665 IFS=$as_save_IFS
20668 esac
20670 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20671 if test -n "$ac_pt_PKG_CONFIG"; then
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20673 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20674 else
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20676 $as_echo "no" >&6; }
20679 if test "x$ac_pt_PKG_CONFIG" = x; then
20680 PKG_CONFIG="no"
20681 else
20682 case $cross_compiling:$ac_tool_warned in
20683 yes:)
20684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20686 ac_tool_warned=yes ;;
20687 esac
20688 PKG_CONFIG=$ac_pt_PKG_CONFIG
20690 else
20691 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20696 if test "$PKG_CONFIG" = "no" ; then
20697 echo "*** The pkg-config script could not be found. Make sure it is"
20698 echo "*** in your path, or set the PKG_CONFIG environment variable"
20699 echo "*** to the full path to pkg-config."
20700 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20701 else
20702 PKG_CONFIG_MIN_VERSION=0.9.0
20703 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gconf-2.0 >= 2.6.0" >&5
20705 $as_echo_n "checking for gconf-2.0 >= 2.6.0... " >&6; }
20707 if $PKG_CONFIG --exists "gconf-2.0 >= 2.6.0" ; then
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20709 $as_echo "yes" >&6; }
20710 succeeded=yes
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_CFLAGS" >&5
20713 $as_echo_n "checking GCONF_CFLAGS... " >&6; }
20714 GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0"`
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_CFLAGS" >&5
20716 $as_echo "$GCONF_CFLAGS" >&6; }
20718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCONF_LIBS" >&5
20719 $as_echo_n "checking GCONF_LIBS... " >&6; }
20720 GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0"`
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONF_LIBS" >&5
20722 $as_echo "$GCONF_LIBS" >&6; }
20723 else
20724 GCONF_CFLAGS=""
20725 GCONF_LIBS=""
20726 ## If we have a custom action on failure, don't print errors, but
20727 ## do set a variable so people can do so.
20728 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= 2.6.0"`
20729 echo $GCONF_PKG_ERRORS
20734 else
20735 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20736 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20740 if test $succeeded = yes; then
20742 else
20743 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
20749 succeeded=no
20751 if test -z "$PKG_CONFIG"; then
20752 if test -n "$ac_tool_prefix"; then
20753 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20754 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20756 $as_echo_n "checking for $ac_word... " >&6; }
20757 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20758 $as_echo_n "(cached) " >&6
20759 else
20760 case $PKG_CONFIG in
20761 [\\/]* | ?:[\\/]*)
20762 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20766 for as_dir in $PATH
20768 IFS=$as_save_IFS
20769 test -z "$as_dir" && as_dir=.
20770 for ac_exec_ext in '' $ac_executable_extensions; do
20771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20772 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20774 break 2
20776 done
20777 done
20778 IFS=$as_save_IFS
20781 esac
20783 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20784 if test -n "$PKG_CONFIG"; then
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20786 $as_echo "$PKG_CONFIG" >&6; }
20787 else
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20789 $as_echo "no" >&6; }
20794 if test -z "$ac_cv_path_PKG_CONFIG"; then
20795 ac_pt_PKG_CONFIG=$PKG_CONFIG
20796 # Extract the first word of "pkg-config", so it can be a program name with args.
20797 set dummy pkg-config; ac_word=$2
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20799 $as_echo_n "checking for $ac_word... " >&6; }
20800 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20801 $as_echo_n "(cached) " >&6
20802 else
20803 case $ac_pt_PKG_CONFIG in
20804 [\\/]* | ?:[\\/]*)
20805 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20809 for as_dir in $PATH
20811 IFS=$as_save_IFS
20812 test -z "$as_dir" && as_dir=.
20813 for ac_exec_ext in '' $ac_executable_extensions; do
20814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20815 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20817 break 2
20819 done
20820 done
20821 IFS=$as_save_IFS
20824 esac
20826 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20827 if test -n "$ac_pt_PKG_CONFIG"; then
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20829 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20830 else
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20832 $as_echo "no" >&6; }
20835 if test "x$ac_pt_PKG_CONFIG" = x; then
20836 PKG_CONFIG="no"
20837 else
20838 case $cross_compiling:$ac_tool_warned in
20839 yes:)
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20842 ac_tool_warned=yes ;;
20843 esac
20844 PKG_CONFIG=$ac_pt_PKG_CONFIG
20846 else
20847 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20852 if test "$PKG_CONFIG" = "no" ; then
20853 echo "*** The pkg-config script could not be found. Make sure it is"
20854 echo "*** in your path, or set the PKG_CONFIG environment variable"
20855 echo "*** to the full path to pkg-config."
20856 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20857 else
20858 PKG_CONFIG_MIN_VERSION=0.9.0
20859 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
20861 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
20863 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20865 $as_echo "yes" >&6; }
20866 succeeded=yes
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
20869 $as_echo_n "checking GDK_CFLAGS... " >&6; }
20870 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
20872 $as_echo "$GDK_CFLAGS" >&6; }
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
20875 $as_echo_n "checking GDK_LIBS... " >&6; }
20876 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
20878 $as_echo "$GDK_LIBS" >&6; }
20879 else
20880 GDK_CFLAGS=""
20881 GDK_LIBS=""
20882 ## If we have a custom action on failure, don't print errors, but
20883 ## do set a variable so people can do so.
20884 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
20885 echo $GDK_PKG_ERRORS
20890 else
20891 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20892 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20896 if test $succeeded = yes; then
20898 else
20899 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
20904 USE_GCONF_PREFS_PEER=$enable_default_preferences_peer
20905 if test "$USE_GCONF_PREFS_PEER" = ""; then
20906 DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory
20910 if test "x${COMPILE_GSTREAMER_PEER}" = xyes; then
20911 GST_MAJORMINOR=0.10
20912 GST_REQUIRED=0.10.10
20915 succeeded=no
20917 if test -z "$PKG_CONFIG"; then
20918 if test -n "$ac_tool_prefix"; then
20919 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20920 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20922 $as_echo_n "checking for $ac_word... " >&6; }
20923 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
20924 $as_echo_n "(cached) " >&6
20925 else
20926 case $PKG_CONFIG in
20927 [\\/]* | ?:[\\/]*)
20928 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20932 for as_dir in $PATH
20934 IFS=$as_save_IFS
20935 test -z "$as_dir" && as_dir=.
20936 for ac_exec_ext in '' $ac_executable_extensions; do
20937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20938 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20940 break 2
20942 done
20943 done
20944 IFS=$as_save_IFS
20947 esac
20949 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20950 if test -n "$PKG_CONFIG"; then
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20952 $as_echo "$PKG_CONFIG" >&6; }
20953 else
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20955 $as_echo "no" >&6; }
20960 if test -z "$ac_cv_path_PKG_CONFIG"; then
20961 ac_pt_PKG_CONFIG=$PKG_CONFIG
20962 # Extract the first word of "pkg-config", so it can be a program name with args.
20963 set dummy pkg-config; ac_word=$2
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20965 $as_echo_n "checking for $ac_word... " >&6; }
20966 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
20967 $as_echo_n "(cached) " >&6
20968 else
20969 case $ac_pt_PKG_CONFIG in
20970 [\\/]* | ?:[\\/]*)
20971 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20975 for as_dir in $PATH
20977 IFS=$as_save_IFS
20978 test -z "$as_dir" && as_dir=.
20979 for ac_exec_ext in '' $ac_executable_extensions; do
20980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20981 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20983 break 2
20985 done
20986 done
20987 IFS=$as_save_IFS
20990 esac
20992 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20993 if test -n "$ac_pt_PKG_CONFIG"; then
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20995 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20996 else
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20998 $as_echo "no" >&6; }
21001 if test "x$ac_pt_PKG_CONFIG" = x; then
21002 PKG_CONFIG="no"
21003 else
21004 case $cross_compiling:$ac_tool_warned in
21005 yes:)
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21008 ac_tool_warned=yes ;;
21009 esac
21010 PKG_CONFIG=$ac_pt_PKG_CONFIG
21012 else
21013 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21018 if test "$PKG_CONFIG" = "no" ; then
21019 echo "*** The pkg-config script could not be found. Make sure it is"
21020 echo "*** in your path, or set the PKG_CONFIG environment variable"
21021 echo "*** to the full path to pkg-config."
21022 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21023 else
21024 PKG_CONFIG_MIN_VERSION=0.9.0
21025 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21027 $as_echo_n "checking for gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21029 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21031 $as_echo "yes" >&6; }
21032 succeeded=yes
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_CFLAGS" >&5
21035 $as_echo_n "checking GSTREAMER_CFLAGS... " >&6; }
21036 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_CFLAGS" >&5
21038 $as_echo "$GSTREAMER_CFLAGS" >&6; }
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_LIBS" >&5
21041 $as_echo_n "checking GSTREAMER_LIBS... " >&6; }
21042 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_LIBS" >&5
21044 $as_echo "$GSTREAMER_LIBS" >&6; }
21045 else
21046 GSTREAMER_CFLAGS=""
21047 GSTREAMER_LIBS=""
21048 ## If we have a custom action on failure, don't print errors, but
21049 ## do set a variable so people can do so.
21050 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED"`
21051 echo $GSTREAMER_PKG_ERRORS
21056 else
21057 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21058 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21062 if test $succeeded = yes; then
21064 else
21065 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
21072 succeeded=no
21074 if test -z "$PKG_CONFIG"; then
21075 if test -n "$ac_tool_prefix"; then
21076 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21077 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21079 $as_echo_n "checking for $ac_word... " >&6; }
21080 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21081 $as_echo_n "(cached) " >&6
21082 else
21083 case $PKG_CONFIG in
21084 [\\/]* | ?:[\\/]*)
21085 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21089 for as_dir in $PATH
21091 IFS=$as_save_IFS
21092 test -z "$as_dir" && as_dir=.
21093 for ac_exec_ext in '' $ac_executable_extensions; do
21094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21095 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21097 break 2
21099 done
21100 done
21101 IFS=$as_save_IFS
21104 esac
21106 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21107 if test -n "$PKG_CONFIG"; then
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21109 $as_echo "$PKG_CONFIG" >&6; }
21110 else
21111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21112 $as_echo "no" >&6; }
21117 if test -z "$ac_cv_path_PKG_CONFIG"; then
21118 ac_pt_PKG_CONFIG=$PKG_CONFIG
21119 # Extract the first word of "pkg-config", so it can be a program name with args.
21120 set dummy pkg-config; ac_word=$2
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21122 $as_echo_n "checking for $ac_word... " >&6; }
21123 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21124 $as_echo_n "(cached) " >&6
21125 else
21126 case $ac_pt_PKG_CONFIG in
21127 [\\/]* | ?:[\\/]*)
21128 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21132 for as_dir in $PATH
21134 IFS=$as_save_IFS
21135 test -z "$as_dir" && as_dir=.
21136 for ac_exec_ext in '' $ac_executable_extensions; do
21137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21138 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21140 break 2
21142 done
21143 done
21144 IFS=$as_save_IFS
21147 esac
21149 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21150 if test -n "$ac_pt_PKG_CONFIG"; then
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21152 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21153 else
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21155 $as_echo "no" >&6; }
21158 if test "x$ac_pt_PKG_CONFIG" = x; then
21159 PKG_CONFIG="no"
21160 else
21161 case $cross_compiling:$ac_tool_warned in
21162 yes:)
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21165 ac_tool_warned=yes ;;
21166 esac
21167 PKG_CONFIG=$ac_pt_PKG_CONFIG
21169 else
21170 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21175 if test "$PKG_CONFIG" = "no" ; then
21176 echo "*** The pkg-config script could not be found. Make sure it is"
21177 echo "*** in your path, or set the PKG_CONFIG environment variable"
21178 echo "*** to the full path to pkg-config."
21179 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21180 else
21181 PKG_CONFIG_MIN_VERSION=0.9.0
21182 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21184 $as_echo_n "checking for gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21186 if $PKG_CONFIG --exists "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21188 $as_echo "yes" >&6; }
21189 succeeded=yes
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_CFLAGS" >&5
21192 $as_echo_n "checking GSTREAMER_BASE_CFLAGS... " >&6; }
21193 GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_CFLAGS" >&5
21195 $as_echo "$GSTREAMER_BASE_CFLAGS" >&6; }
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_BASE_LIBS" >&5
21198 $as_echo_n "checking GSTREAMER_BASE_LIBS... " >&6; }
21199 GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_BASE_LIBS" >&5
21201 $as_echo "$GSTREAMER_BASE_LIBS" >&6; }
21202 else
21203 GSTREAMER_BASE_CFLAGS=""
21204 GSTREAMER_BASE_LIBS=""
21205 ## If we have a custom action on failure, don't print errors, but
21206 ## do set a variable so people can do so.
21207 GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21208 echo $GSTREAMER_BASE_PKG_ERRORS
21213 else
21214 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21215 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21219 if test $succeeded = yes; then
21221 else
21222 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
21229 succeeded=no
21231 if test -z "$PKG_CONFIG"; then
21232 if test -n "$ac_tool_prefix"; then
21233 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21234 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21236 $as_echo_n "checking for $ac_word... " >&6; }
21237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21238 $as_echo_n "(cached) " >&6
21239 else
21240 case $PKG_CONFIG in
21241 [\\/]* | ?:[\\/]*)
21242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21246 for as_dir in $PATH
21248 IFS=$as_save_IFS
21249 test -z "$as_dir" && as_dir=.
21250 for ac_exec_ext in '' $ac_executable_extensions; do
21251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21252 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21254 break 2
21256 done
21257 done
21258 IFS=$as_save_IFS
21261 esac
21263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21264 if test -n "$PKG_CONFIG"; then
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21266 $as_echo "$PKG_CONFIG" >&6; }
21267 else
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21269 $as_echo "no" >&6; }
21274 if test -z "$ac_cv_path_PKG_CONFIG"; then
21275 ac_pt_PKG_CONFIG=$PKG_CONFIG
21276 # Extract the first word of "pkg-config", so it can be a program name with args.
21277 set dummy pkg-config; ac_word=$2
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21279 $as_echo_n "checking for $ac_word... " >&6; }
21280 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21281 $as_echo_n "(cached) " >&6
21282 else
21283 case $ac_pt_PKG_CONFIG in
21284 [\\/]* | ?:[\\/]*)
21285 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21289 for as_dir in $PATH
21291 IFS=$as_save_IFS
21292 test -z "$as_dir" && as_dir=.
21293 for ac_exec_ext in '' $ac_executable_extensions; do
21294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21295 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21297 break 2
21299 done
21300 done
21301 IFS=$as_save_IFS
21304 esac
21306 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21307 if test -n "$ac_pt_PKG_CONFIG"; then
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21309 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21310 else
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21312 $as_echo "no" >&6; }
21315 if test "x$ac_pt_PKG_CONFIG" = x; then
21316 PKG_CONFIG="no"
21317 else
21318 case $cross_compiling:$ac_tool_warned in
21319 yes:)
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21322 ac_tool_warned=yes ;;
21323 esac
21324 PKG_CONFIG=$ac_pt_PKG_CONFIG
21326 else
21327 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21332 if test "$PKG_CONFIG" = "no" ; then
21333 echo "*** The pkg-config script could not be found. Make sure it is"
21334 echo "*** in your path, or set the PKG_CONFIG environment variable"
21335 echo "*** to the full path to pkg-config."
21336 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21337 else
21338 PKG_CONFIG_MIN_VERSION=0.9.0
21339 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" >&5
21341 $as_echo_n "checking for gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED... " >&6; }
21343 if $PKG_CONFIG --exists "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED" ; then
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21345 $as_echo "yes" >&6; }
21346 succeeded=yes
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
21349 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_CFLAGS... " >&6; }
21350 GSTREAMER_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_CFLAGS" >&5
21352 $as_echo "$GSTREAMER_PLUGINS_BASE_CFLAGS" >&6; }
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSTREAMER_PLUGINS_BASE_LIBS" >&5
21355 $as_echo_n "checking GSTREAMER_PLUGINS_BASE_LIBS... " >&6; }
21356 GSTREAMER_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSTREAMER_PLUGINS_BASE_LIBS" >&5
21358 $as_echo "$GSTREAMER_PLUGINS_BASE_LIBS" >&6; }
21359 else
21360 GSTREAMER_PLUGINS_BASE_CFLAGS=""
21361 GSTREAMER_PLUGINS_BASE_LIBS=""
21362 ## If we have a custom action on failure, don't print errors, but
21363 ## do set a variable so people can do so.
21364 GSTREAMER_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GST_REQUIRED"`
21365 echo $GSTREAMER_PLUGINS_BASE_PKG_ERRORS
21370 else
21371 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21372 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21376 if test $succeeded = yes; then
21378 else
21379 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
21385 GST_PLUGIN_LDFLAGS='-module -avoid-version -Wno-unused-parameter -no-undefined'
21389 succeeded=no
21391 if test -z "$PKG_CONFIG"; then
21392 if test -n "$ac_tool_prefix"; then
21393 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21394 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21396 $as_echo_n "checking for $ac_word... " >&6; }
21397 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21398 $as_echo_n "(cached) " >&6
21399 else
21400 case $PKG_CONFIG in
21401 [\\/]* | ?:[\\/]*)
21402 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21406 for as_dir in $PATH
21408 IFS=$as_save_IFS
21409 test -z "$as_dir" && as_dir=.
21410 for ac_exec_ext in '' $ac_executable_extensions; do
21411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21412 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21414 break 2
21416 done
21417 done
21418 IFS=$as_save_IFS
21421 esac
21423 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21424 if test -n "$PKG_CONFIG"; then
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21426 $as_echo "$PKG_CONFIG" >&6; }
21427 else
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21429 $as_echo "no" >&6; }
21434 if test -z "$ac_cv_path_PKG_CONFIG"; then
21435 ac_pt_PKG_CONFIG=$PKG_CONFIG
21436 # Extract the first word of "pkg-config", so it can be a program name with args.
21437 set dummy pkg-config; ac_word=$2
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21439 $as_echo_n "checking for $ac_word... " >&6; }
21440 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21441 $as_echo_n "(cached) " >&6
21442 else
21443 case $ac_pt_PKG_CONFIG in
21444 [\\/]* | ?:[\\/]*)
21445 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21449 for as_dir in $PATH
21451 IFS=$as_save_IFS
21452 test -z "$as_dir" && as_dir=.
21453 for ac_exec_ext in '' $ac_executable_extensions; do
21454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21455 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21457 break 2
21459 done
21460 done
21461 IFS=$as_save_IFS
21464 esac
21466 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21467 if test -n "$ac_pt_PKG_CONFIG"; then
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21469 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21470 else
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21472 $as_echo "no" >&6; }
21475 if test "x$ac_pt_PKG_CONFIG" = x; then
21476 PKG_CONFIG="no"
21477 else
21478 case $cross_compiling:$ac_tool_warned in
21479 yes:)
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21482 ac_tool_warned=yes ;;
21483 esac
21484 PKG_CONFIG=$ac_pt_PKG_CONFIG
21486 else
21487 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21492 if test "$PKG_CONFIG" = "no" ; then
21493 echo "*** The pkg-config script could not be found. Make sure it is"
21494 echo "*** in your path, or set the PKG_CONFIG environment variable"
21495 echo "*** to the full path to pkg-config."
21496 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21497 else
21498 PKG_CONFIG_MIN_VERSION=0.9.0
21499 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-2.0 >= 2.8" >&5
21501 $as_echo_n "checking for gdk-2.0 >= 2.8... " >&6; }
21503 if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21505 $as_echo "yes" >&6; }
21506 succeeded=yes
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_CFLAGS" >&5
21509 $as_echo_n "checking GDK_CFLAGS... " >&6; }
21510 GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"`
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_CFLAGS" >&5
21512 $as_echo "$GDK_CFLAGS" >&6; }
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GDK_LIBS" >&5
21515 $as_echo_n "checking GDK_LIBS... " >&6; }
21516 GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"`
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_LIBS" >&5
21518 $as_echo "$GDK_LIBS" >&6; }
21519 else
21520 GDK_CFLAGS=""
21521 GDK_LIBS=""
21522 ## If we have a custom action on failure, don't print errors, but
21523 ## do set a variable so people can do so.
21524 GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"`
21525 echo $GDK_PKG_ERRORS
21530 else
21531 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21532 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21536 if test $succeeded = yes; then
21538 else
21539 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
21545 GSTREAMER_FILE_READER=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader
21546 GSTREAMER_MIXER_PROVIDER=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider
21551 if test "x${COMPILE_QT_PEER}" = xyes; then
21553 succeeded=no
21555 if test -z "$PKG_CONFIG"; then
21556 if test -n "$ac_tool_prefix"; then
21557 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21558 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21560 $as_echo_n "checking for $ac_word... " >&6; }
21561 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21563 else
21564 case $PKG_CONFIG in
21565 [\\/]* | ?:[\\/]*)
21566 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21570 for as_dir in $PATH
21572 IFS=$as_save_IFS
21573 test -z "$as_dir" && as_dir=.
21574 for ac_exec_ext in '' $ac_executable_extensions; do
21575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21576 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21578 break 2
21580 done
21581 done
21582 IFS=$as_save_IFS
21585 esac
21587 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21588 if test -n "$PKG_CONFIG"; then
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21590 $as_echo "$PKG_CONFIG" >&6; }
21591 else
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21593 $as_echo "no" >&6; }
21598 if test -z "$ac_cv_path_PKG_CONFIG"; then
21599 ac_pt_PKG_CONFIG=$PKG_CONFIG
21600 # Extract the first word of "pkg-config", so it can be a program name with args.
21601 set dummy pkg-config; ac_word=$2
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21603 $as_echo_n "checking for $ac_word... " >&6; }
21604 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
21605 $as_echo_n "(cached) " >&6
21606 else
21607 case $ac_pt_PKG_CONFIG in
21608 [\\/]* | ?:[\\/]*)
21609 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21613 for as_dir in $PATH
21615 IFS=$as_save_IFS
21616 test -z "$as_dir" && as_dir=.
21617 for ac_exec_ext in '' $ac_executable_extensions; do
21618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21619 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21621 break 2
21623 done
21624 done
21625 IFS=$as_save_IFS
21628 esac
21630 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21631 if test -n "$ac_pt_PKG_CONFIG"; then
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21633 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21634 else
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21636 $as_echo "no" >&6; }
21639 if test "x$ac_pt_PKG_CONFIG" = x; then
21640 PKG_CONFIG="no"
21641 else
21642 case $cross_compiling:$ac_tool_warned in
21643 yes:)
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21646 ac_tool_warned=yes ;;
21647 esac
21648 PKG_CONFIG=$ac_pt_PKG_CONFIG
21650 else
21651 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21656 if test "$PKG_CONFIG" = "no" ; then
21657 echo "*** The pkg-config script could not be found. Make sure it is"
21658 echo "*** in your path, or set the PKG_CONFIG environment variable"
21659 echo "*** to the full path to pkg-config."
21660 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21661 else
21662 PKG_CONFIG_MIN_VERSION=0.9.0
21663 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore QtGui >= 4.1.0" >&5
21665 $as_echo_n "checking for QtCore QtGui >= 4.1.0... " >&6; }
21667 if $PKG_CONFIG --exists "QtCore QtGui >= 4.1.0" ; then
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21669 $as_echo "yes" >&6; }
21670 succeeded=yes
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_CFLAGS" >&5
21673 $as_echo_n "checking QT_CFLAGS... " >&6; }
21674 QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore QtGui >= 4.1.0"`
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CFLAGS" >&5
21676 $as_echo "$QT_CFLAGS" >&6; }
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking QT_LIBS" >&5
21679 $as_echo_n "checking QT_LIBS... " >&6; }
21680 QT_LIBS=`$PKG_CONFIG --libs "QtCore QtGui >= 4.1.0"`
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_LIBS" >&5
21682 $as_echo "$QT_LIBS" >&6; }
21683 else
21684 QT_CFLAGS=""
21685 QT_LIBS=""
21686 ## If we have a custom action on failure, don't print errors, but
21687 ## do set a variable so people can do so.
21688 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtCore QtGui >= 4.1.0"`
21694 else
21695 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21696 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21700 if test $succeeded = yes; then
21701 HAVE_QT4="yes"
21702 else
21703 HAVE_QT4="no"
21706 if test "x$HAVE_QT4" = "xyes"; then
21707 QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
21708 EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
21709 as_ac_File=`$as_echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $QT_INCLUDE_DIR/QWidget" >&5
21711 $as_echo_n "checking for $QT_INCLUDE_DIR/QWidget... " >&6; }
21712 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
21713 $as_echo_n "(cached) " >&6
21714 else
21715 test "$cross_compiling" = yes &&
21716 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21717 if test -r "$QT_INCLUDE_DIR/QWidget"; then
21718 eval "$as_ac_File=yes"
21719 else
21720 eval "$as_ac_File=no"
21723 eval ac_res=\$$as_ac_File
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21725 $as_echo "$ac_res" >&6; }
21726 eval as_val=\$$as_ac_File
21727 if test "x$as_val" = x""yes; then :
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: No extra QT_INCLUDE_DIR needed" >&5
21729 $as_echo "$as_me: No extra QT_INCLUDE_DIR needed" >&6;}
21730 else
21731 as_ac_File=`$as_echo "ac_cv_file_$EXTRA_QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $EXTRA_QT_INCLUDE_DIR/QWidget" >&5
21733 $as_echo_n "checking for $EXTRA_QT_INCLUDE_DIR/QWidget... " >&6; }
21734 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
21735 $as_echo_n "(cached) " >&6
21736 else
21737 test "$cross_compiling" = yes &&
21738 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21739 if test -r "$EXTRA_QT_INCLUDE_DIR/QWidget"; then
21740 eval "$as_ac_File=yes"
21741 else
21742 eval "$as_ac_File=no"
21745 eval ac_res=\$$as_ac_File
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21747 $as_echo "$ac_res" >&6; }
21748 eval as_val=\$$as_ac_File
21749 if test "x$as_val" = x""yes; then :
21750 QT_CFLAGS="$QT_CFLAGS -I$EXTRA_QT_INCLUDE_DIR"
21751 else
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: QWidget not found" >&5
21753 $as_echo "$as_me: WARNING: QWidget not found" >&2;}
21758 # Extract the first word of "moc", so it can be a program name with args.
21759 set dummy moc; ac_word=$2
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21761 $as_echo_n "checking for $ac_word... " >&6; }
21762 if test "${ac_cv_prog_MOC+set}" = set; then :
21763 $as_echo_n "(cached) " >&6
21764 else
21765 if test -n "$MOC"; then
21766 ac_cv_prog_MOC="$MOC" # Let the user override the test.
21767 else
21768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21769 for as_dir in $PATH
21771 IFS=$as_save_IFS
21772 test -z "$as_dir" && as_dir=.
21773 for ac_exec_ext in '' $ac_executable_extensions; do
21774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21775 ac_cv_prog_MOC="moc"
21776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21777 break 2
21779 done
21780 done
21781 IFS=$as_save_IFS
21785 MOC=$ac_cv_prog_MOC
21786 if test -n "$MOC"; then
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
21788 $as_echo "$MOC" >&6; }
21789 else
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21791 $as_echo "no" >&6; }
21795 # Extract the first word of "moc-qt4", so it can be a program name with args.
21796 set dummy moc-qt4; ac_word=$2
21797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21798 $as_echo_n "checking for $ac_word... " >&6; }
21799 if test "${ac_cv_prog_MOC4+set}" = set; then :
21800 $as_echo_n "(cached) " >&6
21801 else
21802 if test -n "$MOC4"; then
21803 ac_cv_prog_MOC4="$MOC4" # Let the user override the test.
21804 else
21805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21806 for as_dir in $PATH
21808 IFS=$as_save_IFS
21809 test -z "$as_dir" && as_dir=.
21810 for ac_exec_ext in '' $ac_executable_extensions; do
21811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21812 ac_cv_prog_MOC4="moc-qt4"
21813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21814 break 2
21816 done
21817 done
21818 IFS=$as_save_IFS
21822 MOC4=$ac_cv_prog_MOC4
21823 if test -n "$MOC4"; then
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC4" >&5
21825 $as_echo "$MOC4" >&6; }
21826 else
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21828 $as_echo "no" >&6; }
21832 if test x"$MOC4" != x ; then
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $MOC4 as moc" >&5
21834 $as_echo "$as_me: Using $MOC4 as moc" >&6;}
21835 MOC=$MOC4;
21838 if test "x$HAVE_QT4" = "xno"; then
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&5
21840 $as_echo "$as_me: Looking for QT_CFLAGS and QT_LIBS without pkg-config" >&6;}
21841 case "$host_os" in
21842 darwin*)
21844 # Check whether --with-qt4dir was given.
21845 if test "${with_qt4dir+set}" = set; then :
21846 withval=$with_qt4dir; QT4DIR=$withval
21850 if test x"$QT4DIR" = x ; then
21851 as_fn_error "*** No path for Qt4 --with-qt4dir option given" "$LINENO" 5
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: QT4DIR... $QT4DIR" >&5
21854 $as_echo "QT4DIR... $QT4DIR" >&6; }
21855 # Extract the first word of "moc", so it can be a program name with args.
21856 set dummy moc; ac_word=$2
21857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21858 $as_echo_n "checking for $ac_word... " >&6; }
21859 if test "${ac_cv_prog_MOC+set}" = set; then :
21860 $as_echo_n "(cached) " >&6
21861 else
21862 if test -n "$MOC"; then
21863 ac_cv_prog_MOC="$MOC" # Let the user override the test.
21864 else
21865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21866 for as_dir in $QT4DIR/bin
21868 IFS=$as_save_IFS
21869 test -z "$as_dir" && as_dir=.
21870 for ac_exec_ext in '' $ac_executable_extensions; do
21871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21872 ac_cv_prog_MOC="$QT4DIR/bin/moc"
21873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21874 break 2
21876 done
21877 done
21878 IFS=$as_save_IFS
21882 MOC=$ac_cv_prog_MOC
21883 if test -n "$MOC"; then
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOC" >&5
21885 $as_echo "$MOC" >&6; }
21886 else
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21888 $as_echo "no" >&6; }
21892 if test x"$MOC" = x; then
21893 as_fn_error "*** This is not the right Qt installation" "$LINENO" 5
21895 QT_CFLAGS="-F$QT4DIR/lib -I$QT4DIR/lib/QtCore.framework/Headers"
21896 QT_CFLAGS="$QT_CFLAGS -I$QT4DIR/lib/QtGui.framework/Headers"
21897 QT_LIBS="-Xlinker -F$QT4DIR/lib -Xlinker -framework -Xlinker QtCore"
21898 QT_LIBS="$QT_LIBS -Xlinker -framework -Xlinker QtGui"
21901 as_fn_error "*** Please check PKG_CONFIG_PATH or the version
21902 of your installed Qt4 installation." "$LINENO" 5
21904 esac
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: Set QT_CFLAGS... $QT_CFLAGS" >&5
21907 $as_echo "$as_me: Set QT_CFLAGS... $QT_CFLAGS" >&6;}
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
21912 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
21913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21915 #include <sys/socket.h>
21917 main ()
21919 int f = MSG_NOSIGNAL;
21921 return 0;
21923 _ACEOF
21924 if ac_fn_c_try_compile "$LINENO"; then :
21925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21926 $as_echo "yes" >&6; }
21928 $as_echo "#define HAVE_MSG_NOSIGNAL 1" >>confdefs.h
21930 else
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21932 $as_echo "no" >&6; }
21935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_NOSIGPIPE " >&5
21937 $as_echo_n "checking for SO_NOSIGPIPE ... " >&6; }
21938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21939 /* end confdefs.h. */
21940 #include <sys/socket.h>
21942 main ()
21944 int f = SO_NOSIGPIPE;
21946 return 0;
21948 _ACEOF
21949 if ac_fn_c_try_compile "$LINENO"; then :
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21951 $as_echo "yes" >&6; }
21953 $as_echo "#define HAVE_SO_NOSIGPIPE 1" >>confdefs.h
21955 else
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21957 $as_echo "no" >&6; }
21960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_WAITALL" >&5
21962 $as_echo_n "checking for MSG_WAITALL... " >&6; }
21963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21964 /* end confdefs.h. */
21965 #include <sys/socket.h>
21967 main ()
21969 int f = MSG_WAITALL;
21971 return 0;
21973 _ACEOF
21974 if ac_fn_c_try_compile "$LINENO"; then :
21975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21976 $as_echo "yes" >&6; }
21978 $as_echo "#define HAVE_MSG_WAITALL 1" >>confdefs.h
21980 else
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21982 $as_echo "no" >&6; }
21985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21987 if test "x${COMPILE_PLUGIN}" = xyes; then
21989 succeeded=no
21991 if test -z "$PKG_CONFIG"; then
21992 if test -n "$ac_tool_prefix"; then
21993 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21994 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21996 $as_echo_n "checking for $ac_word... " >&6; }
21997 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
21998 $as_echo_n "(cached) " >&6
21999 else
22000 case $PKG_CONFIG in
22001 [\\/]* | ?:[\\/]*)
22002 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22006 for as_dir in $PATH
22008 IFS=$as_save_IFS
22009 test -z "$as_dir" && as_dir=.
22010 for ac_exec_ext in '' $ac_executable_extensions; do
22011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22012 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22014 break 2
22016 done
22017 done
22018 IFS=$as_save_IFS
22021 esac
22023 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22024 if test -n "$PKG_CONFIG"; then
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22026 $as_echo "$PKG_CONFIG" >&6; }
22027 else
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22029 $as_echo "no" >&6; }
22034 if test -z "$ac_cv_path_PKG_CONFIG"; then
22035 ac_pt_PKG_CONFIG=$PKG_CONFIG
22036 # Extract the first word of "pkg-config", so it can be a program name with args.
22037 set dummy pkg-config; ac_word=$2
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22039 $as_echo_n "checking for $ac_word... " >&6; }
22040 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22041 $as_echo_n "(cached) " >&6
22042 else
22043 case $ac_pt_PKG_CONFIG in
22044 [\\/]* | ?:[\\/]*)
22045 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22049 for as_dir in $PATH
22051 IFS=$as_save_IFS
22052 test -z "$as_dir" && as_dir=.
22053 for ac_exec_ext in '' $ac_executable_extensions; do
22054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22055 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22057 break 2
22059 done
22060 done
22061 IFS=$as_save_IFS
22064 esac
22066 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22067 if test -n "$ac_pt_PKG_CONFIG"; then
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22069 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22070 else
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22072 $as_echo "no" >&6; }
22075 if test "x$ac_pt_PKG_CONFIG" = x; then
22076 PKG_CONFIG="no"
22077 else
22078 case $cross_compiling:$ac_tool_warned in
22079 yes:)
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22082 ac_tool_warned=yes ;;
22083 esac
22084 PKG_CONFIG=$ac_pt_PKG_CONFIG
22086 else
22087 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22092 if test "$PKG_CONFIG" = "no" ; then
22093 echo "*** The pkg-config script could not be found. Make sure it is"
22094 echo "*** in your path, or set the PKG_CONFIG environment variable"
22095 echo "*** to the full path to pkg-config."
22096 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22097 else
22098 PKG_CONFIG_MIN_VERSION=0.9.0
22099 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin libxul-unstable" >&5
22101 $as_echo_n "checking for mozilla-plugin libxul-unstable... " >&6; }
22103 if $PKG_CONFIG --exists "mozilla-plugin libxul-unstable" ; then
22104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22105 $as_echo "yes" >&6; }
22106 succeeded=yes
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22109 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22110 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin libxul-unstable"`
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22112 $as_echo "$MOZILLA_CFLAGS" >&6; }
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22115 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22116 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin libxul-unstable"`
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22118 $as_echo "$MOZILLA_LIBS" >&6; }
22119 else
22120 MOZILLA_CFLAGS=""
22121 MOZILLA_LIBS=""
22122 ## If we have a custom action on failure, don't print errors, but
22123 ## do set a variable so people can do so.
22124 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin libxul-unstable"`
22130 else
22131 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22132 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22136 if test $succeeded = yes; then
22137 MOZILLA_FOUND=yes
22138 else
22139 MOZILLA_FOUND=no
22142 if test "x${MOZILLA_FOUND}" = xno; then
22144 succeeded=no
22146 if test -z "$PKG_CONFIG"; then
22147 if test -n "$ac_tool_prefix"; then
22148 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22149 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22151 $as_echo_n "checking for $ac_word... " >&6; }
22152 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22153 $as_echo_n "(cached) " >&6
22154 else
22155 case $PKG_CONFIG in
22156 [\\/]* | ?:[\\/]*)
22157 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22161 for as_dir in $PATH
22163 IFS=$as_save_IFS
22164 test -z "$as_dir" && as_dir=.
22165 for ac_exec_ext in '' $ac_executable_extensions; do
22166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22167 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22169 break 2
22171 done
22172 done
22173 IFS=$as_save_IFS
22176 esac
22178 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22179 if test -n "$PKG_CONFIG"; then
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22181 $as_echo "$PKG_CONFIG" >&6; }
22182 else
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22184 $as_echo "no" >&6; }
22189 if test -z "$ac_cv_path_PKG_CONFIG"; then
22190 ac_pt_PKG_CONFIG=$PKG_CONFIG
22191 # Extract the first word of "pkg-config", so it can be a program name with args.
22192 set dummy pkg-config; ac_word=$2
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22194 $as_echo_n "checking for $ac_word... " >&6; }
22195 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22196 $as_echo_n "(cached) " >&6
22197 else
22198 case $ac_pt_PKG_CONFIG in
22199 [\\/]* | ?:[\\/]*)
22200 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22204 for as_dir in $PATH
22206 IFS=$as_save_IFS
22207 test -z "$as_dir" && as_dir=.
22208 for ac_exec_ext in '' $ac_executable_extensions; do
22209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22210 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22212 break 2
22214 done
22215 done
22216 IFS=$as_save_IFS
22219 esac
22221 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22222 if test -n "$ac_pt_PKG_CONFIG"; then
22223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22224 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22225 else
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22227 $as_echo "no" >&6; }
22230 if test "x$ac_pt_PKG_CONFIG" = x; then
22231 PKG_CONFIG="no"
22232 else
22233 case $cross_compiling:$ac_tool_warned in
22234 yes:)
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22237 ac_tool_warned=yes ;;
22238 esac
22239 PKG_CONFIG=$ac_pt_PKG_CONFIG
22241 else
22242 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22247 if test "$PKG_CONFIG" = "no" ; then
22248 echo "*** The pkg-config script could not be found. Make sure it is"
22249 echo "*** in your path, or set the PKG_CONFIG environment variable"
22250 echo "*** to the full path to pkg-config."
22251 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22252 else
22253 PKG_CONFIG_MIN_VERSION=0.9.0
22254 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-plugin" >&5
22256 $as_echo_n "checking for mozilla-plugin... " >&6; }
22258 if $PKG_CONFIG --exists "mozilla-plugin" ; then
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22260 $as_echo "yes" >&6; }
22261 succeeded=yes
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22264 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22265 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22267 $as_echo "$MOZILLA_CFLAGS" >&6; }
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22270 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22271 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-plugin"`
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22273 $as_echo "$MOZILLA_LIBS" >&6; }
22274 else
22275 MOZILLA_CFLAGS=""
22276 MOZILLA_LIBS=""
22277 ## If we have a custom action on failure, don't print errors, but
22278 ## do set a variable so people can do so.
22279 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-plugin"`
22285 else
22286 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22287 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22291 if test $succeeded = yes; then
22292 MOZILLA_FOUND=yes
22293 else
22294 MOZILLA_FOUND=no
22298 if test "x${MOZILLA_FOUND}" = xno; then
22300 succeeded=no
22302 if test -z "$PKG_CONFIG"; then
22303 if test -n "$ac_tool_prefix"; then
22304 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22305 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22307 $as_echo_n "checking for $ac_word... " >&6; }
22308 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22309 $as_echo_n "(cached) " >&6
22310 else
22311 case $PKG_CONFIG in
22312 [\\/]* | ?:[\\/]*)
22313 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22317 for as_dir in $PATH
22319 IFS=$as_save_IFS
22320 test -z "$as_dir" && as_dir=.
22321 for ac_exec_ext in '' $ac_executable_extensions; do
22322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22323 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22325 break 2
22327 done
22328 done
22329 IFS=$as_save_IFS
22332 esac
22334 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22335 if test -n "$PKG_CONFIG"; then
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22337 $as_echo "$PKG_CONFIG" >&6; }
22338 else
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22340 $as_echo "no" >&6; }
22345 if test -z "$ac_cv_path_PKG_CONFIG"; then
22346 ac_pt_PKG_CONFIG=$PKG_CONFIG
22347 # Extract the first word of "pkg-config", so it can be a program name with args.
22348 set dummy pkg-config; ac_word=$2
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22350 $as_echo_n "checking for $ac_word... " >&6; }
22351 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22352 $as_echo_n "(cached) " >&6
22353 else
22354 case $ac_pt_PKG_CONFIG in
22355 [\\/]* | ?:[\\/]*)
22356 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22360 for as_dir in $PATH
22362 IFS=$as_save_IFS
22363 test -z "$as_dir" && as_dir=.
22364 for ac_exec_ext in '' $ac_executable_extensions; do
22365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22366 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22368 break 2
22370 done
22371 done
22372 IFS=$as_save_IFS
22375 esac
22377 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22378 if test -n "$ac_pt_PKG_CONFIG"; then
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22380 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22381 else
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22383 $as_echo "no" >&6; }
22386 if test "x$ac_pt_PKG_CONFIG" = x; then
22387 PKG_CONFIG="no"
22388 else
22389 case $cross_compiling:$ac_tool_warned in
22390 yes:)
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22393 ac_tool_warned=yes ;;
22394 esac
22395 PKG_CONFIG=$ac_pt_PKG_CONFIG
22397 else
22398 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22403 if test "$PKG_CONFIG" = "no" ; then
22404 echo "*** The pkg-config script could not be found. Make sure it is"
22405 echo "*** in your path, or set the PKG_CONFIG environment variable"
22406 echo "*** to the full path to pkg-config."
22407 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22408 else
22409 PKG_CONFIG_MIN_VERSION=0.9.0
22410 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for firefox-plugin firefox-xpcom" >&5
22412 $as_echo_n "checking for firefox-plugin firefox-xpcom... " >&6; }
22414 if $PKG_CONFIG --exists "firefox-plugin firefox-xpcom" ; then
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22416 $as_echo "yes" >&6; }
22417 succeeded=yes
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22420 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22421 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom"`
22422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22423 $as_echo "$MOZILLA_CFLAGS" >&6; }
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22426 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22427 MOZILLA_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom"`
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22429 $as_echo "$MOZILLA_LIBS" >&6; }
22430 else
22431 MOZILLA_CFLAGS=""
22432 MOZILLA_LIBS=""
22433 ## If we have a custom action on failure, don't print errors, but
22434 ## do set a variable so people can do so.
22435 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "firefox-plugin firefox-xpcom"`
22441 else
22442 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22443 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22447 if test $succeeded = yes; then
22448 MOZILLA_FOUND=yes
22449 else
22450 MOZILLA_FOUND=no
22454 if test "x${MOZILLA_FOUND}" = xno; then
22456 succeeded=no
22458 if test -z "$PKG_CONFIG"; then
22459 if test -n "$ac_tool_prefix"; then
22460 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22461 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22463 $as_echo_n "checking for $ac_word... " >&6; }
22464 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22465 $as_echo_n "(cached) " >&6
22466 else
22467 case $PKG_CONFIG in
22468 [\\/]* | ?:[\\/]*)
22469 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22473 for as_dir in $PATH
22475 IFS=$as_save_IFS
22476 test -z "$as_dir" && as_dir=.
22477 for ac_exec_ext in '' $ac_executable_extensions; do
22478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22479 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22481 break 2
22483 done
22484 done
22485 IFS=$as_save_IFS
22488 esac
22490 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22491 if test -n "$PKG_CONFIG"; then
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22493 $as_echo "$PKG_CONFIG" >&6; }
22494 else
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22496 $as_echo "no" >&6; }
22501 if test -z "$ac_cv_path_PKG_CONFIG"; then
22502 ac_pt_PKG_CONFIG=$PKG_CONFIG
22503 # Extract the first word of "pkg-config", so it can be a program name with args.
22504 set dummy pkg-config; ac_word=$2
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22506 $as_echo_n "checking for $ac_word... " >&6; }
22507 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22508 $as_echo_n "(cached) " >&6
22509 else
22510 case $ac_pt_PKG_CONFIG in
22511 [\\/]* | ?:[\\/]*)
22512 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22516 for as_dir in $PATH
22518 IFS=$as_save_IFS
22519 test -z "$as_dir" && as_dir=.
22520 for ac_exec_ext in '' $ac_executable_extensions; do
22521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22522 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22524 break 2
22526 done
22527 done
22528 IFS=$as_save_IFS
22531 esac
22533 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22534 if test -n "$ac_pt_PKG_CONFIG"; then
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22536 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22537 else
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22539 $as_echo "no" >&6; }
22542 if test "x$ac_pt_PKG_CONFIG" = x; then
22543 PKG_CONFIG="no"
22544 else
22545 case $cross_compiling:$ac_tool_warned in
22546 yes:)
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22549 ac_tool_warned=yes ;;
22550 esac
22551 PKG_CONFIG=$ac_pt_PKG_CONFIG
22553 else
22554 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22559 if test "$PKG_CONFIG" = "no" ; then
22560 echo "*** The pkg-config script could not be found. Make sure it is"
22561 echo "*** in your path, or set the PKG_CONFIG environment variable"
22562 echo "*** to the full path to pkg-config."
22563 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22564 else
22565 PKG_CONFIG_MIN_VERSION=0.9.0
22566 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xulrunner-plugin xulrunner-xpcom" >&5
22568 $as_echo_n "checking for xulrunner-plugin xulrunner-xpcom... " >&6; }
22570 if $PKG_CONFIG --exists "xulrunner-plugin xulrunner-xpcom" ; then
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22572 $as_echo "yes" >&6; }
22573 succeeded=yes
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22576 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22577 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom"`
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22579 $as_echo "$MOZILLA_CFLAGS" >&6; }
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22582 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22583 MOZILLA_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom"`
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22585 $as_echo "$MOZILLA_LIBS" >&6; }
22586 else
22587 MOZILLA_CFLAGS=""
22588 MOZILLA_LIBS=""
22589 ## If we have a custom action on failure, don't print errors, but
22590 ## do set a variable so people can do so.
22591 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xulrunner-plugin xulrunner-xpcom"`
22597 else
22598 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22599 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22603 if test $succeeded = yes; then
22604 MOZILLA_FOUND=yes
22605 else
22606 MOZILLA_FOUND=no
22610 if test "x${MOZILLA_FOUND}" = xno; then
22612 succeeded=no
22614 if test -z "$PKG_CONFIG"; then
22615 if test -n "$ac_tool_prefix"; then
22616 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22617 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22619 $as_echo_n "checking for $ac_word... " >&6; }
22620 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22621 $as_echo_n "(cached) " >&6
22622 else
22623 case $PKG_CONFIG in
22624 [\\/]* | ?:[\\/]*)
22625 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22629 for as_dir in $PATH
22631 IFS=$as_save_IFS
22632 test -z "$as_dir" && as_dir=.
22633 for ac_exec_ext in '' $ac_executable_extensions; do
22634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22635 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22637 break 2
22639 done
22640 done
22641 IFS=$as_save_IFS
22644 esac
22646 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22647 if test -n "$PKG_CONFIG"; then
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22649 $as_echo "$PKG_CONFIG" >&6; }
22650 else
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22652 $as_echo "no" >&6; }
22657 if test -z "$ac_cv_path_PKG_CONFIG"; then
22658 ac_pt_PKG_CONFIG=$PKG_CONFIG
22659 # Extract the first word of "pkg-config", so it can be a program name with args.
22660 set dummy pkg-config; ac_word=$2
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22662 $as_echo_n "checking for $ac_word... " >&6; }
22663 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22664 $as_echo_n "(cached) " >&6
22665 else
22666 case $ac_pt_PKG_CONFIG in
22667 [\\/]* | ?:[\\/]*)
22668 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22672 for as_dir in $PATH
22674 IFS=$as_save_IFS
22675 test -z "$as_dir" && as_dir=.
22676 for ac_exec_ext in '' $ac_executable_extensions; do
22677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22678 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22680 break 2
22682 done
22683 done
22684 IFS=$as_save_IFS
22687 esac
22689 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22690 if test -n "$ac_pt_PKG_CONFIG"; then
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22692 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22693 else
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22695 $as_echo "no" >&6; }
22698 if test "x$ac_pt_PKG_CONFIG" = x; then
22699 PKG_CONFIG="no"
22700 else
22701 case $cross_compiling:$ac_tool_warned in
22702 yes:)
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22705 ac_tool_warned=yes ;;
22706 esac
22707 PKG_CONFIG=$ac_pt_PKG_CONFIG
22709 else
22710 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22715 if test "$PKG_CONFIG" = "no" ; then
22716 echo "*** The pkg-config script could not be found. Make sure it is"
22717 echo "*** in your path, or set the PKG_CONFIG environment variable"
22718 echo "*** to the full path to pkg-config."
22719 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22720 else
22721 PKG_CONFIG_MIN_VERSION=0.9.0
22722 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mozilla-firefox-plugin mozilla-firefox-xpcom" >&5
22724 $as_echo_n "checking for mozilla-firefox-plugin mozilla-firefox-xpcom... " >&6; }
22726 if $PKG_CONFIG --exists "mozilla-firefox-plugin mozilla-firefox-xpcom" ; then
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22728 $as_echo "yes" >&6; }
22729 succeeded=yes
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22732 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22733 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22735 $as_echo "$MOZILLA_CFLAGS" >&6; }
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22738 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22739 MOZILLA_LIBS=`$PKG_CONFIG --libs "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22741 $as_echo "$MOZILLA_LIBS" >&6; }
22742 else
22743 MOZILLA_CFLAGS=""
22744 MOZILLA_LIBS=""
22745 ## If we have a custom action on failure, don't print errors, but
22746 ## do set a variable so people can do so.
22747 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-firefox-plugin mozilla-firefox-xpcom"`
22753 else
22754 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22755 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22759 if test $succeeded = yes; then
22760 MOZILLA_FOUND=yes
22761 else
22762 MOZILLA_FOUND=no
22766 if test "x${MOZILLA_FOUND}" = xno; then
22768 succeeded=no
22770 if test -z "$PKG_CONFIG"; then
22771 if test -n "$ac_tool_prefix"; then
22772 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22773 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22775 $as_echo_n "checking for $ac_word... " >&6; }
22776 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22777 $as_echo_n "(cached) " >&6
22778 else
22779 case $PKG_CONFIG in
22780 [\\/]* | ?:[\\/]*)
22781 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22785 for as_dir in $PATH
22787 IFS=$as_save_IFS
22788 test -z "$as_dir" && as_dir=.
22789 for ac_exec_ext in '' $ac_executable_extensions; do
22790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22791 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22793 break 2
22795 done
22796 done
22797 IFS=$as_save_IFS
22800 esac
22802 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22803 if test -n "$PKG_CONFIG"; then
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22805 $as_echo "$PKG_CONFIG" >&6; }
22806 else
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22808 $as_echo "no" >&6; }
22813 if test -z "$ac_cv_path_PKG_CONFIG"; then
22814 ac_pt_PKG_CONFIG=$PKG_CONFIG
22815 # Extract the first word of "pkg-config", so it can be a program name with args.
22816 set dummy pkg-config; ac_word=$2
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22818 $as_echo_n "checking for $ac_word... " >&6; }
22819 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22820 $as_echo_n "(cached) " >&6
22821 else
22822 case $ac_pt_PKG_CONFIG in
22823 [\\/]* | ?:[\\/]*)
22824 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22828 for as_dir in $PATH
22830 IFS=$as_save_IFS
22831 test -z "$as_dir" && as_dir=.
22832 for ac_exec_ext in '' $ac_executable_extensions; do
22833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22834 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22836 break 2
22838 done
22839 done
22840 IFS=$as_save_IFS
22843 esac
22845 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22846 if test -n "$ac_pt_PKG_CONFIG"; then
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
22848 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
22849 else
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22851 $as_echo "no" >&6; }
22854 if test "x$ac_pt_PKG_CONFIG" = x; then
22855 PKG_CONFIG="no"
22856 else
22857 case $cross_compiling:$ac_tool_warned in
22858 yes:)
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22861 ac_tool_warned=yes ;;
22862 esac
22863 PKG_CONFIG=$ac_pt_PKG_CONFIG
22865 else
22866 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22871 if test "$PKG_CONFIG" = "no" ; then
22872 echo "*** The pkg-config script could not be found. Make sure it is"
22873 echo "*** in your path, or set the PKG_CONFIG environment variable"
22874 echo "*** to the full path to pkg-config."
22875 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22876 else
22877 PKG_CONFIG_MIN_VERSION=0.9.0
22878 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seamonkey-plugin seamonkey-xpcom" >&5
22880 $as_echo_n "checking for seamonkey-plugin seamonkey-xpcom... " >&6; }
22882 if $PKG_CONFIG --exists "seamonkey-plugin seamonkey-xpcom" ; then
22883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22884 $as_echo "yes" >&6; }
22885 succeeded=yes
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
22888 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
22889 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom"`
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
22891 $as_echo "$MOZILLA_CFLAGS" >&6; }
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
22894 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
22895 MOZILLA_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom"`
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
22897 $as_echo "$MOZILLA_LIBS" >&6; }
22898 else
22899 MOZILLA_CFLAGS=""
22900 MOZILLA_LIBS=""
22901 ## If we have a custom action on failure, don't print errors, but
22902 ## do set a variable so people can do so.
22903 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "seamonkey-plugin seamonkey-xpcom"`
22909 else
22910 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22911 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22915 if test $succeeded = yes; then
22916 MOZILLA_FOUND=yes
22917 else
22918 MOZILLA_FOUND=no
22922 if test "x${MOZILLA_FOUND}" = xno; then
22924 succeeded=no
22926 if test -z "$PKG_CONFIG"; then
22927 if test -n "$ac_tool_prefix"; then
22928 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22929 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22931 $as_echo_n "checking for $ac_word... " >&6; }
22932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22933 $as_echo_n "(cached) " >&6
22934 else
22935 case $PKG_CONFIG in
22936 [\\/]* | ?:[\\/]*)
22937 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22941 for as_dir in $PATH
22943 IFS=$as_save_IFS
22944 test -z "$as_dir" && as_dir=.
22945 for ac_exec_ext in '' $ac_executable_extensions; do
22946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22947 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22949 break 2
22951 done
22952 done
22953 IFS=$as_save_IFS
22956 esac
22958 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22959 if test -n "$PKG_CONFIG"; then
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22961 $as_echo "$PKG_CONFIG" >&6; }
22962 else
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22964 $as_echo "no" >&6; }
22969 if test -z "$ac_cv_path_PKG_CONFIG"; then
22970 ac_pt_PKG_CONFIG=$PKG_CONFIG
22971 # Extract the first word of "pkg-config", so it can be a program name with args.
22972 set dummy pkg-config; ac_word=$2
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22974 $as_echo_n "checking for $ac_word... " >&6; }
22975 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
22976 $as_echo_n "(cached) " >&6
22977 else
22978 case $ac_pt_PKG_CONFIG in
22979 [\\/]* | ?:[\\/]*)
22980 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22984 for as_dir in $PATH
22986 IFS=$as_save_IFS
22987 test -z "$as_dir" && as_dir=.
22988 for ac_exec_ext in '' $ac_executable_extensions; do
22989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22990 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22992 break 2
22994 done
22995 done
22996 IFS=$as_save_IFS
22999 esac
23001 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23002 if test -n "$ac_pt_PKG_CONFIG"; then
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23004 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23005 else
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23007 $as_echo "no" >&6; }
23010 if test "x$ac_pt_PKG_CONFIG" = x; then
23011 PKG_CONFIG="no"
23012 else
23013 case $cross_compiling:$ac_tool_warned in
23014 yes:)
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23017 ac_tool_warned=yes ;;
23018 esac
23019 PKG_CONFIG=$ac_pt_PKG_CONFIG
23021 else
23022 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23027 if test "$PKG_CONFIG" = "no" ; then
23028 echo "*** The pkg-config script could not be found. Make sure it is"
23029 echo "*** in your path, or set the PKG_CONFIG environment variable"
23030 echo "*** to the full path to pkg-config."
23031 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23032 else
23033 PKG_CONFIG_MIN_VERSION=0.9.0
23034 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iceape-plugin iceape-xpcom" >&5
23036 $as_echo_n "checking for iceape-plugin iceape-xpcom... " >&6; }
23038 if $PKG_CONFIG --exists "iceape-plugin iceape-xpcom" ; then
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23040 $as_echo "yes" >&6; }
23041 succeeded=yes
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_CFLAGS" >&5
23044 $as_echo_n "checking MOZILLA_CFLAGS... " >&6; }
23045 MOZILLA_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom"`
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_CFLAGS" >&5
23047 $as_echo "$MOZILLA_CFLAGS" >&6; }
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MOZILLA_LIBS" >&5
23050 $as_echo_n "checking MOZILLA_LIBS... " >&6; }
23051 MOZILLA_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom"`
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MOZILLA_LIBS" >&5
23053 $as_echo "$MOZILLA_LIBS" >&6; }
23054 else
23055 MOZILLA_CFLAGS=""
23056 MOZILLA_LIBS=""
23057 ## If we have a custom action on failure, don't print errors, but
23058 ## do set a variable so people can do so.
23059 MOZILLA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "iceape-plugin iceape-xpcom"`
23065 else
23066 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23067 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23071 if test $succeeded = yes; then
23072 MOZILLA_FOUND=yes
23073 else
23074 MOZILLA_FOUND=no
23078 if test "x${MOZILLA_FOUND}" = xno; then
23079 as_fn_error "Couldn't find plugin support headers and libraries, try --disable-plugin" "$LINENO" 5
23083 succeeded=no
23085 if test -z "$PKG_CONFIG"; then
23086 if test -n "$ac_tool_prefix"; then
23087 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23088 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23090 $as_echo_n "checking for $ac_word... " >&6; }
23091 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23092 $as_echo_n "(cached) " >&6
23093 else
23094 case $PKG_CONFIG in
23095 [\\/]* | ?:[\\/]*)
23096 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23100 for as_dir in $PATH
23102 IFS=$as_save_IFS
23103 test -z "$as_dir" && as_dir=.
23104 for ac_exec_ext in '' $ac_executable_extensions; do
23105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23106 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23108 break 2
23110 done
23111 done
23112 IFS=$as_save_IFS
23115 esac
23117 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23118 if test -n "$PKG_CONFIG"; then
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23120 $as_echo "$PKG_CONFIG" >&6; }
23121 else
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23123 $as_echo "no" >&6; }
23128 if test -z "$ac_cv_path_PKG_CONFIG"; then
23129 ac_pt_PKG_CONFIG=$PKG_CONFIG
23130 # Extract the first word of "pkg-config", so it can be a program name with args.
23131 set dummy pkg-config; ac_word=$2
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23133 $as_echo_n "checking for $ac_word... " >&6; }
23134 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23135 $as_echo_n "(cached) " >&6
23136 else
23137 case $ac_pt_PKG_CONFIG in
23138 [\\/]* | ?:[\\/]*)
23139 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23143 for as_dir in $PATH
23145 IFS=$as_save_IFS
23146 test -z "$as_dir" && as_dir=.
23147 for ac_exec_ext in '' $ac_executable_extensions; do
23148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23149 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23151 break 2
23153 done
23154 done
23155 IFS=$as_save_IFS
23158 esac
23160 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23161 if test -n "$ac_pt_PKG_CONFIG"; then
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23163 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23164 else
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23166 $as_echo "no" >&6; }
23169 if test "x$ac_pt_PKG_CONFIG" = x; then
23170 PKG_CONFIG="no"
23171 else
23172 case $cross_compiling:$ac_tool_warned in
23173 yes:)
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23176 ac_tool_warned=yes ;;
23177 esac
23178 PKG_CONFIG=$ac_pt_PKG_CONFIG
23180 else
23181 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23186 if test "$PKG_CONFIG" = "no" ; then
23187 echo "*** The pkg-config script could not be found. Make sure it is"
23188 echo "*** in your path, or set the PKG_CONFIG environment variable"
23189 echo "*** to the full path to pkg-config."
23190 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23191 else
23192 PKG_CONFIG_MIN_VERSION=0.9.0
23193 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0" >&5
23195 $as_echo_n "checking for glib-2.0... " >&6; }
23197 if $PKG_CONFIG --exists "glib-2.0" ; then
23198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23199 $as_echo "yes" >&6; }
23200 succeeded=yes
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
23203 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
23204 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
23206 $as_echo "$GLIB_CFLAGS" >&6; }
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
23209 $as_echo_n "checking GLIB_LIBS... " >&6; }
23210 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
23211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
23212 $as_echo "$GLIB_LIBS" >&6; }
23213 else
23214 GLIB_CFLAGS=""
23215 GLIB_LIBS=""
23216 ## If we have a custom action on failure, don't print errors, but
23217 ## do set a variable so people can do so.
23218 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
23219 echo $GLIB_PKG_ERRORS
23224 else
23225 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23226 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23230 if test $succeeded = yes; then
23232 else
23233 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
23237 succeeded=no
23239 if test -z "$PKG_CONFIG"; then
23240 if test -n "$ac_tool_prefix"; then
23241 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23242 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23244 $as_echo_n "checking for $ac_word... " >&6; }
23245 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23246 $as_echo_n "(cached) " >&6
23247 else
23248 case $PKG_CONFIG in
23249 [\\/]* | ?:[\\/]*)
23250 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23254 for as_dir in $PATH
23256 IFS=$as_save_IFS
23257 test -z "$as_dir" && as_dir=.
23258 for ac_exec_ext in '' $ac_executable_extensions; do
23259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23260 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23262 break 2
23264 done
23265 done
23266 IFS=$as_save_IFS
23269 esac
23271 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23272 if test -n "$PKG_CONFIG"; then
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23274 $as_echo "$PKG_CONFIG" >&6; }
23275 else
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23277 $as_echo "no" >&6; }
23282 if test -z "$ac_cv_path_PKG_CONFIG"; then
23283 ac_pt_PKG_CONFIG=$PKG_CONFIG
23284 # Extract the first word of "pkg-config", so it can be a program name with args.
23285 set dummy pkg-config; ac_word=$2
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23287 $as_echo_n "checking for $ac_word... " >&6; }
23288 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
23289 $as_echo_n "(cached) " >&6
23290 else
23291 case $ac_pt_PKG_CONFIG in
23292 [\\/]* | ?:[\\/]*)
23293 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23297 for as_dir in $PATH
23299 IFS=$as_save_IFS
23300 test -z "$as_dir" && as_dir=.
23301 for ac_exec_ext in '' $ac_executable_extensions; do
23302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23303 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23305 break 2
23307 done
23308 done
23309 IFS=$as_save_IFS
23312 esac
23314 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23315 if test -n "$ac_pt_PKG_CONFIG"; then
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23317 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
23318 else
23319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23320 $as_echo "no" >&6; }
23323 if test "x$ac_pt_PKG_CONFIG" = x; then
23324 PKG_CONFIG="no"
23325 else
23326 case $cross_compiling:$ac_tool_warned in
23327 yes:)
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23330 ac_tool_warned=yes ;;
23331 esac
23332 PKG_CONFIG=$ac_pt_PKG_CONFIG
23334 else
23335 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23340 if test "$PKG_CONFIG" = "no" ; then
23341 echo "*** The pkg-config script could not be found. Make sure it is"
23342 echo "*** in your path, or set the PKG_CONFIG environment variable"
23343 echo "*** to the full path to pkg-config."
23344 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23345 else
23346 PKG_CONFIG_MIN_VERSION=0.9.0
23347 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" >&5
23349 $as_echo_n "checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... " >&6; }
23351 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0" ; then
23352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23353 $as_echo "yes" >&6; }
23354 succeeded=yes
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
23357 $as_echo_n "checking GTK_CFLAGS... " >&6; }
23358 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
23360 $as_echo "$GTK_CFLAGS" >&6; }
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
23363 $as_echo_n "checking GTK_LIBS... " >&6; }
23364 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
23366 $as_echo "$GTK_LIBS" >&6; }
23367 else
23368 GTK_CFLAGS=""
23369 GTK_LIBS=""
23370 ## If we have a custom action on failure, don't print errors, but
23371 ## do set a variable so people can do so.
23372 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0"`
23373 echo $GTK_PKG_ERRORS
23378 else
23379 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23380 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23384 if test $succeeded = yes; then
23386 else
23387 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
23398 PLUGIN_DIR=$HOME/.mozilla/plugins/
23403 # Check whether --with-gmp was given.
23404 if test "${with_gmp+set}" = set; then :
23405 withval=$with_gmp;
23409 # Check whether --with-gmp_include was given.
23410 if test "${with_gmp_include+set}" = set; then :
23411 withval=$with_gmp_include;
23415 # Check whether --with-gmp_lib was given.
23416 if test "${with_gmp_lib+set}" = set; then :
23417 withval=$with_gmp_lib;
23421 if test "x$with_gmp" != x; then
23422 gmplibs=-lgmp
23423 gmpinc=
23424 gmplibs="-L$with_gmp/lib $gmplibs"
23425 gmpinc="-I$with_gmp/include $gmpinc"
23426 if test "x$with_gmp_include" != x; then
23427 gmpinc="-I$with_gmp_include $gmpinc"
23429 if test "x$with_gmp_lib" != x; then
23430 gmplibs="-L$with_gmp_lib $gmplibs"
23432 else
23433 gmplibs="-lgmp"
23434 gmpinc="-I/usr/include"
23437 if test "x${COMPILE_GMP}" = xyes; then
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMP directories" >&5
23439 $as_echo_n "checking for GMP directories... " >&6; }
23440 if test "x$with_gmp" != x; then
23441 gmplibs="-L$with_gmp/lib -lgmp"
23442 gmpinc="-I$with_gmp/include"
23443 if test "x$with_gmp_include" != x; then
23444 gmpinc="-I$with_gmp_include $gmpinc"
23446 if test "x$with_gmp_lib" != x; then
23447 gmplibs="-L$with_gmp_lib $gmplibs"
23449 else
23450 with_gmp="/usr"
23451 gmplibs="-lgmp"
23452 gmpinc="-I/usr/include"
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&5
23455 $as_echo "prefix=$with_gmp, libs=$gmplibs, inc=$gmpinc" >&6; }
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_mul_si in -lgmp" >&5
23457 $as_echo_n "checking for __gmpz_mul_si in -lgmp... " >&6; }
23458 if test "${ac_cv_lib_gmp___gmpz_mul_si+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23461 ac_check_lib_save_LIBS=$LIBS
23462 LIBS="-lgmp $LIBS"
23463 if test x$gcc_no_link = xyes; then
23464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23467 /* end confdefs.h. */
23469 /* Override any GCC internal prototype to avoid an error.
23470 Use char because int might match the return type of a GCC
23471 builtin and then its argument prototype would still apply. */
23472 #ifdef __cplusplus
23473 extern "C"
23474 #endif
23475 char __gmpz_mul_si ();
23477 main ()
23479 return __gmpz_mul_si ();
23481 return 0;
23483 _ACEOF
23484 if ac_fn_c_try_link "$LINENO"; then :
23485 ac_cv_lib_gmp___gmpz_mul_si=yes
23486 else
23487 ac_cv_lib_gmp___gmpz_mul_si=no
23489 rm -f core conftest.err conftest.$ac_objext \
23490 conftest$ac_exeext conftest.$ac_ext
23491 LIBS=$ac_check_lib_save_LIBS
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_mul_si" >&5
23494 $as_echo "$ac_cv_lib_gmp___gmpz_mul_si" >&6; }
23495 if test "x$ac_cv_lib_gmp___gmpz_mul_si" = x""yes; then :
23496 GMP_CFLAGS="$gmpinc"
23497 GMP_LIBS="$gmplibs"
23498 else
23499 GMP_CFLAGS=
23500 GMP_LIBS=
23506 for ac_header in gmp.h
23507 do :
23508 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
23509 if test "x$ac_cv_header_gmp_h" = x""yes; then :
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE_GMP_H 1
23512 _ACEOF
23516 done
23520 else
23521 COMPILE_GMP=no
23524 if test "x${REGENERATE_JNI_HEADERS}" = xyes; then
23527 # Check whether --with-javah was given.
23528 if test "${with_javah+set}" = set; then :
23529 withval=$with_javah;
23530 if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
23532 if test "x${withval}" != x; then
23533 if test -f "${withval}"; then
23534 USER_JAVAH="${withval}"
23535 else
23536 # Extract the first word of ""${withval}"", so it can be a program name with args.
23537 set dummy "${withval}"; ac_word=$2
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23539 $as_echo_n "checking for $ac_word... " >&6; }
23540 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23541 $as_echo_n "(cached) " >&6
23542 else
23543 case $USER_JAVAH in
23544 [\\/]* | ?:[\\/]*)
23545 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23549 for as_dir in $PATH
23551 IFS=$as_save_IFS
23552 test -z "$as_dir" && as_dir=.
23553 for ac_exec_ext in '' $ac_executable_extensions; do
23554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23555 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23557 break 2
23559 done
23560 done
23561 IFS=$as_save_IFS
23564 esac
23566 USER_JAVAH=$ac_cv_path_USER_JAVAH
23567 if test -n "$USER_JAVAH"; then
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23569 $as_echo "$USER_JAVAH" >&6; }
23570 else
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23572 $as_echo "no" >&6; }
23577 else
23578 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23580 # Extract the first word of "$ac_prog", so it can be a program name with args.
23581 set dummy $ac_prog; ac_word=$2
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23583 $as_echo_n "checking for $ac_word... " >&6; }
23584 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23585 $as_echo_n "(cached) " >&6
23586 else
23587 case $USER_JAVAH in
23588 [\\/]* | ?:[\\/]*)
23589 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23593 for as_dir in $PATH
23595 IFS=$as_save_IFS
23596 test -z "$as_dir" && as_dir=.
23597 for ac_exec_ext in '' $ac_executable_extensions; do
23598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23599 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23601 break 2
23603 done
23604 done
23605 IFS=$as_save_IFS
23608 esac
23610 USER_JAVAH=$ac_cv_path_USER_JAVAH
23611 if test -n "$USER_JAVAH"; then
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23613 $as_echo "$USER_JAVAH" >&6; }
23614 else
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23616 $as_echo "no" >&6; }
23620 test -n "$USER_JAVAH" && break
23621 done
23625 if test "x${USER_JAVAH}" = x; then
23626 as_fn_error "can not find javah" "$LINENO" 5
23629 else
23631 if test "x" != x; then
23632 if test -f ""; then
23633 USER_JAVAH=""
23634 else
23635 # Extract the first word of """", so it can be a program name with args.
23636 set dummy ""; ac_word=$2
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23638 $as_echo_n "checking for $ac_word... " >&6; }
23639 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23640 $as_echo_n "(cached) " >&6
23641 else
23642 case $USER_JAVAH in
23643 [\\/]* | ?:[\\/]*)
23644 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23648 for as_dir in $PATH
23650 IFS=$as_save_IFS
23651 test -z "$as_dir" && as_dir=.
23652 for ac_exec_ext in '' $ac_executable_extensions; do
23653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23654 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23656 break 2
23658 done
23659 done
23660 IFS=$as_save_IFS
23663 esac
23665 USER_JAVAH=$ac_cv_path_USER_JAVAH
23666 if test -n "$USER_JAVAH"; then
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23668 $as_echo "$USER_JAVAH" >&6; }
23669 else
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23671 $as_echo "no" >&6; }
23676 else
23677 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23679 # Extract the first word of "$ac_prog", so it can be a program name with args.
23680 set dummy $ac_prog; ac_word=$2
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23682 $as_echo_n "checking for $ac_word... " >&6; }
23683 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23684 $as_echo_n "(cached) " >&6
23685 else
23686 case $USER_JAVAH in
23687 [\\/]* | ?:[\\/]*)
23688 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23692 for as_dir in $PATH
23694 IFS=$as_save_IFS
23695 test -z "$as_dir" && as_dir=.
23696 for ac_exec_ext in '' $ac_executable_extensions; do
23697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23698 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23700 break 2
23702 done
23703 done
23704 IFS=$as_save_IFS
23707 esac
23709 USER_JAVAH=$ac_cv_path_USER_JAVAH
23710 if test -n "$USER_JAVAH"; then
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23712 $as_echo "$USER_JAVAH" >&6; }
23713 else
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23715 $as_echo "no" >&6; }
23719 test -n "$USER_JAVAH" && break
23720 done
23724 if test "x${USER_JAVAH}" = x; then
23725 as_fn_error "can not find javah" "$LINENO" 5
23730 else
23733 if test "x" != x; then
23734 if test -f ""; then
23735 USER_JAVAH=""
23736 else
23737 # Extract the first word of """", so it can be a program name with args.
23738 set dummy ""; ac_word=$2
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23740 $as_echo_n "checking for $ac_word... " >&6; }
23741 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23742 $as_echo_n "(cached) " >&6
23743 else
23744 case $USER_JAVAH in
23745 [\\/]* | ?:[\\/]*)
23746 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23750 for as_dir in $PATH
23752 IFS=$as_save_IFS
23753 test -z "$as_dir" && as_dir=.
23754 for ac_exec_ext in '' $ac_executable_extensions; do
23755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23756 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23758 break 2
23760 done
23761 done
23762 IFS=$as_save_IFS
23765 esac
23767 USER_JAVAH=$ac_cv_path_USER_JAVAH
23768 if test -n "$USER_JAVAH"; then
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23770 $as_echo "$USER_JAVAH" >&6; }
23771 else
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23773 $as_echo "no" >&6; }
23778 else
23779 for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah
23781 # Extract the first word of "$ac_prog", so it can be a program name with args.
23782 set dummy $ac_prog; ac_word=$2
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23784 $as_echo_n "checking for $ac_word... " >&6; }
23785 if test "${ac_cv_path_USER_JAVAH+set}" = set; then :
23786 $as_echo_n "(cached) " >&6
23787 else
23788 case $USER_JAVAH in
23789 [\\/]* | ?:[\\/]*)
23790 ac_cv_path_USER_JAVAH="$USER_JAVAH" # Let the user override the test with a path.
23793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23794 for as_dir in $PATH
23796 IFS=$as_save_IFS
23797 test -z "$as_dir" && as_dir=.
23798 for ac_exec_ext in '' $ac_executable_extensions; do
23799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23800 ac_cv_path_USER_JAVAH="$as_dir/$ac_word$ac_exec_ext"
23801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23802 break 2
23804 done
23805 done
23806 IFS=$as_save_IFS
23809 esac
23811 USER_JAVAH=$ac_cv_path_USER_JAVAH
23812 if test -n "$USER_JAVAH"; then
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USER_JAVAH" >&5
23814 $as_echo "$USER_JAVAH" >&6; }
23815 else
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23817 $as_echo "no" >&6; }
23821 test -n "$USER_JAVAH" && break
23822 done
23826 if test "x${USER_JAVAH}" = x; then
23827 as_fn_error "can not find javah" "$LINENO" 5
23837 CLASSPATH_INCLUDES="-I\$(top_srcdir)/include -I\$(top_srcdir)/native/jni/classpath -I\$(top_srcdir)/native/jni/native-lib"
23840 if test "x${COMPILE_JNI}" = xyes; then
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking jni_md.h support" >&5
23842 $as_echo_n "checking jni_md.h support... " >&6; }
23843 if test -f ${srcdir}/include/jni_md-${target_cpu}-${target_os}.h; then
23844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23845 $as_echo "yes" >&6; }
23846 else
23847 target_cpu=x86
23848 target_os=linux-gnu
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no" >&5
23850 $as_echo "$as_me: WARNING: no" >&2;}
23852 ac_sources="include/jni_md-${target_cpu}-${target_os}.h"
23853 ac_dests="include/jni_md.h"
23854 while test -n "$ac_sources"; do
23855 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
23856 set $ac_sources; ac_source=$1; shift; ac_sources=$*
23857 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
23858 done
23859 ac_config_links="$ac_config_links $ac_config_links_1"
23865 # Check whether --with-vm-classes was given.
23866 if test "${with_vm_classes+set}" = set; then :
23867 withval=$with_vm_classes; vm_classes="$with_vm_classes"
23868 else
23869 vm_classes='${top_srcdir}/vm/reference'
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
23877 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
23878 # Check whether --enable-maintainer-mode was given.
23879 if test "${enable_maintainer_mode+set}" = set; then :
23880 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
23881 else
23882 USE_MAINTAINER_MODE=no
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
23886 $as_echo "$USE_MAINTAINER_MODE" >&6; }
23887 if test $USE_MAINTAINER_MODE = yes; then
23888 MAINTAINER_MODE_TRUE=
23889 MAINTAINER_MODE_FALSE='#'
23890 else
23891 MAINTAINER_MODE_TRUE='#'
23892 MAINTAINER_MODE_FALSE=
23895 MAINT=$MAINTAINER_MODE_TRUE
23899 # Check whether --enable-debug was given.
23900 if test "${enable_debug+set}" = set; then :
23901 enableval=$enable_debug; case "${enableval}" in
23902 yes)
23903 LIBDEBUG="true"
23905 $as_echo "#define DEBUG 1" >>confdefs.h
23908 no) LIBDEBUG="false" ;;
23909 *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
23910 esac
23911 else
23912 LIBDEBUG="false"
23917 # Check whether --enable-load-library was given.
23918 if test "${enable_load_library+set}" = set; then :
23919 enableval=$enable_load_library; case "${enableval}" in
23920 yes) INIT_LOAD_LIBRARY="true" ;;
23921 no) INIT_LOAD_LIBRARY="false" ;;
23922 *) as_fn_error "bad value ${enableval} for --enable-load-library" "$LINENO" 5 ;;
23923 esac
23924 else
23925 INIT_LOAD_LIBRARY="true"
23932 # Check whether --with-ecj-jar was given.
23933 if test "${with_ecj_jar+set}" = set; then :
23934 withval=$with_ecj_jar; ECJ_JAR=$withval
23935 else
23936 if test -f $multi_basedir/ecj.jar; then
23937 ECJ_JAR='$(jardir)/ecj.jar'
23943 # Check whether --enable-java-lang-system-explicit-initialization was given.
23944 if test "${enable_java_lang_system_explicit_initialization+set}" = set; then :
23945 enableval=$enable_java_lang_system_explicit_initialization; case "${enableval}" in
23946 yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;;
23947 no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;;
23948 *) as_fn_error "bad value ${enableval} for --enable-java-lang-system-explicit-initialization" "$LINENO" 5 ;;
23949 esac
23950 else
23951 JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false"
23957 REMOVE=""
23960 # Extract the first word of "mkdir", so it can be a program name with args.
23961 set dummy mkdir; ac_word=$2
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23963 $as_echo_n "checking for $ac_word... " >&6; }
23964 if test "${ac_cv_path_MKDIR+set}" = set; then :
23965 $as_echo_n "(cached) " >&6
23966 else
23967 case $MKDIR in
23968 [\\/]* | ?:[\\/]*)
23969 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
23972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23973 for as_dir in $PATH
23975 IFS=$as_save_IFS
23976 test -z "$as_dir" && as_dir=.
23977 for ac_exec_ext in '' $ac_executable_extensions; do
23978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23979 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
23980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23981 break 2
23983 done
23984 done
23985 IFS=$as_save_IFS
23988 esac
23990 MKDIR=$ac_cv_path_MKDIR
23991 if test -n "$MKDIR"; then
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
23993 $as_echo "$MKDIR" >&6; }
23994 else
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23996 $as_echo "no" >&6; }
24000 # Extract the first word of "cp", so it can be a program name with args.
24001 set dummy cp; ac_word=$2
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24003 $as_echo_n "checking for $ac_word... " >&6; }
24004 if test "${ac_cv_path_CP+set}" = set; then :
24005 $as_echo_n "(cached) " >&6
24006 else
24007 case $CP in
24008 [\\/]* | ?:[\\/]*)
24009 ac_cv_path_CP="$CP" # Let the user override the test with a path.
24012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24013 for as_dir in $PATH
24015 IFS=$as_save_IFS
24016 test -z "$as_dir" && as_dir=.
24017 for ac_exec_ext in '' $ac_executable_extensions; do
24018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24019 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
24020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24021 break 2
24023 done
24024 done
24025 IFS=$as_save_IFS
24028 esac
24030 CP=$ac_cv_path_CP
24031 if test -n "$CP"; then
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
24033 $as_echo "$CP" >&6; }
24034 else
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24036 $as_echo "no" >&6; }
24040 # Extract the first word of "date", so it can be a program name with args.
24041 set dummy date; ac_word=$2
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24043 $as_echo_n "checking for $ac_word... " >&6; }
24044 if test "${ac_cv_path_DATE+set}" = set; then :
24045 $as_echo_n "(cached) " >&6
24046 else
24047 case $DATE in
24048 [\\/]* | ?:[\\/]*)
24049 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
24052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24053 for as_dir in $PATH
24055 IFS=$as_save_IFS
24056 test -z "$as_dir" && as_dir=.
24057 for ac_exec_ext in '' $ac_executable_extensions; do
24058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24059 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
24060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24061 break 2
24063 done
24064 done
24065 IFS=$as_save_IFS
24068 esac
24070 DATE=$ac_cv_path_DATE
24071 if test -n "$DATE"; then
24072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5
24073 $as_echo "$DATE" >&6; }
24074 else
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24076 $as_echo "no" >&6; }
24081 # Extract the first word of "find", so it can be a program name with args.
24082 set dummy find; ac_word=$2
24083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24084 $as_echo_n "checking for $ac_word... " >&6; }
24085 if test "${ac_cv_path_FIND+set}" = set; then :
24086 $as_echo_n "(cached) " >&6
24087 else
24088 case $FIND in
24089 [\\/]* | ?:[\\/]*)
24090 ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
24093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24094 for as_dir in $PATH
24096 IFS=$as_save_IFS
24097 test -z "$as_dir" && as_dir=.
24098 for ac_exec_ext in '' $ac_executable_extensions; do
24099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24100 ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
24101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24102 break 2
24104 done
24105 done
24106 IFS=$as_save_IFS
24109 esac
24111 FIND=$ac_cv_path_FIND
24112 if test -n "$FIND"; then
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
24114 $as_echo "$FIND" >&6; }
24115 else
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24117 $as_echo "no" >&6; }
24123 # Extract the first word of "zip", so it can be a program name with args.
24124 set dummy zip; ac_word=$2
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24126 $as_echo_n "checking for $ac_word... " >&6; }
24127 if test "${ac_cv_path_ZIP+set}" = set; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24130 case $ZIP in
24131 [\\/]* | ?:[\\/]*)
24132 ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
24135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24136 for as_dir in $PATH
24138 IFS=$as_save_IFS
24139 test -z "$as_dir" && as_dir=.
24140 for ac_exec_ext in '' $ac_executable_extensions; do
24141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24142 ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
24143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24144 break 2
24146 done
24147 done
24148 IFS=$as_save_IFS
24151 esac
24153 ZIP=$ac_cv_path_ZIP
24154 if test -n "$ZIP"; then
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
24156 $as_echo "$ZIP" >&6; }
24157 else
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24159 $as_echo "no" >&6; }
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a jar-like tool" >&5
24165 $as_echo_n "checking for a jar-like tool... " >&6; }
24167 # Check whether --with-jar was given.
24168 if test "${with_jar+set}" = set; then :
24169 withval=$with_jar;
24170 case "${withval}" in
24171 yes)
24172 JAR=yes
24175 JAR=no
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
24177 $as_echo "${JAR}" >&6; }
24180 if test -f "${withval}"; then
24181 JAR="${withval}"
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${JAR}" >&5
24183 $as_echo "${JAR}" >&6; }
24184 else
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24186 $as_echo "not found" >&6; }
24187 as_fn_error "The jar tool ${withval} was not found." "$LINENO" 5
24190 esac
24192 else
24194 JAR=yes
24198 if test x"${JAR}" = "xyes"; then
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: trying fastjar, gjar and jar" >&5
24200 $as_echo "trying fastjar, gjar and jar" >&6; }
24201 for ac_prog in fastjar gjar jar
24203 # Extract the first word of "$ac_prog", so it can be a program name with args.
24204 set dummy $ac_prog; ac_word=$2
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24206 $as_echo_n "checking for $ac_word... " >&6; }
24207 if test "${ac_cv_path_JAR+set}" = set; then :
24208 $as_echo_n "(cached) " >&6
24209 else
24210 case $JAR in
24211 [\\/]* | ?:[\\/]*)
24212 ac_cv_path_JAR="$JAR" # Let the user override the test with a path.
24215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24216 for as_dir in $PATH
24218 IFS=$as_save_IFS
24219 test -z "$as_dir" && as_dir=.
24220 for ac_exec_ext in '' $ac_executable_extensions; do
24221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24222 ac_cv_path_JAR="$as_dir/$ac_word$ac_exec_ext"
24223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24224 break 2
24226 done
24227 done
24228 IFS=$as_save_IFS
24231 esac
24233 JAR=$ac_cv_path_JAR
24234 if test -n "$JAR"; then
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
24236 $as_echo "$JAR" >&6; }
24237 else
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24239 $as_echo "no" >&6; }
24243 test -n "$JAR" && break
24244 done
24246 if test x"${RHINO_JAR}" = "xyes"; then
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24248 $as_echo "not found" >&6; }
24251 if test x"${JAR}" = "xno" && test x"${ZIP}" = ""; then
24252 as_fn_error "No zip or jar tool found." "$LINENO" 5
24254 if test x"${JAR}" != "xno" && test x"${JAR}" != "xyes"; then
24255 WITH_JAR_TRUE=
24256 WITH_JAR_FALSE='#'
24257 else
24258 WITH_JAR_TRUE='#'
24259 WITH_JAR_FALSE=
24265 # Check whether --with-glibj was given.
24266 if test "${with_glibj+set}" = set; then :
24267 withval=$with_glibj;
24268 if test "x${withval}" = xyes || test "x${withval}" = xzip; then
24269 install_class_files=no
24270 build_class_files=yes
24271 use_zip=yes
24272 elif test "x${withval}" = xboth; then
24273 install_class_files=yes
24274 build_class_files=yes
24275 use_zip=yes
24276 elif test "x${withval}" = xflat; then
24277 install_class_files=yes
24278 build_class_files=yes
24279 use_zip=no
24280 elif test "x${withval}" = xno || test "x${withval}" = xnone; then
24281 install_class_files=no
24282 build_class_files=no
24283 use_zip=no
24284 elif test "x${withval}" = xbuild; then
24285 install_class_files=no
24286 build_class_files=yes
24287 use_zip=no
24288 else
24289 as_fn_error "unknown value given to --with-glibj" "$LINENO" 5
24292 else
24294 install_class_files=no
24295 use_zip=yes
24299 if test "x${use_zip}" = xyes; then
24300 INSTALL_GLIBJ_ZIP_TRUE=
24301 INSTALL_GLIBJ_ZIP_FALSE='#'
24302 else
24303 INSTALL_GLIBJ_ZIP_TRUE='#'
24304 INSTALL_GLIBJ_ZIP_FALSE=
24307 if test "x${install_class_files}" = xyes; then
24308 INSTALL_CLASS_FILES_TRUE=
24309 INSTALL_CLASS_FILES_FALSE='#'
24310 else
24311 INSTALL_CLASS_FILES_TRUE='#'
24312 INSTALL_CLASS_FILES_FALSE=
24315 if test "x${build_class_files}" = xyes; then
24316 BUILD_CLASS_FILES_TRUE=
24317 BUILD_CLASS_FILES_FALSE='#'
24318 else
24319 BUILD_CLASS_FILES_TRUE='#'
24320 BUILD_CLASS_FILES_FALSE=
24324 # Check whether --enable-examples was given.
24325 if test "${enable_examples+set}" = set; then :
24326 enableval=$enable_examples; case "${enableval}" in
24327 yes) EXAMPLESDIR="examples" ;;
24328 no) EXAMPLESDIR="" ;;
24329 *) as_fn_error "bad value ${enableval} for --enable-examples" "$LINENO" 5 ;;
24330 esac
24331 else
24332 EXAMPLESDIR="examples"
24335 if test "x${build_class_files}" = xno; then
24336 EXAMPLESDIR=""
24340 # Check whether --enable-tools was given.
24341 if test "${enable_tools+set}" = set; then :
24342 enableval=$enable_tools; case "${enableval}" in
24343 yes) TOOLSDIR="tools" ;;
24344 no) TOOLSDIR="" ;;
24345 *) as_fn_error "bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
24346 esac
24347 else
24348 TOOLSDIR="tools"
24351 if test "x${build_class_files}" = xno; then
24352 TOOLSDIR=""
24359 # Check whether --with-gjdoc was given.
24360 if test "${with_gjdoc+set}" = set; then :
24361 withval=$with_gjdoc; if test "x${withval}" = xno; then
24362 WITH_GJDOC=no;
24363 elif test "x${withval}" = xyes -o "x{withval}" = x; then
24364 WITH_GJDOC=yes;
24365 # Extract the first word of "gjdoc", so it can be a program name with args.
24366 set dummy gjdoc; ac_word=$2
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24368 $as_echo_n "checking for $ac_word... " >&6; }
24369 if test "${ac_cv_path_GJDOC+set}" = set; then :
24370 $as_echo_n "(cached) " >&6
24371 else
24372 case $GJDOC in
24373 [\\/]* | ?:[\\/]*)
24374 ac_cv_path_GJDOC="$GJDOC" # Let the user override the test with a path.
24377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24378 for as_dir in $PATH
24380 IFS=$as_save_IFS
24381 test -z "$as_dir" && as_dir=.
24382 for ac_exec_ext in '' $ac_executable_extensions; do
24383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24384 ac_cv_path_GJDOC="$as_dir/$ac_word$ac_exec_ext"
24385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24386 break 2
24388 done
24389 done
24390 IFS=$as_save_IFS
24392 test -z "$ac_cv_path_GJDOC" && ac_cv_path_GJDOC=""no""
24394 esac
24396 GJDOC=$ac_cv_path_GJDOC
24397 if test -n "$GJDOC"; then
24398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GJDOC" >&5
24399 $as_echo "$GJDOC" >&6; }
24400 else
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24402 $as_echo "no" >&6; }
24406 if test "x${GJDOC}" = xno; then
24407 as_fn_error "\"gjdoc executable not found\"" "$LINENO" 5;
24409 else
24410 WITH_GJDOC=yes
24411 GJDOC="${withval}"
24412 as_ac_File=`$as_echo "ac_cv_file_${GJDOC}" | $as_tr_sh`
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${GJDOC}" >&5
24414 $as_echo_n "checking for ${GJDOC}... " >&6; }
24415 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
24416 $as_echo_n "(cached) " >&6
24417 else
24418 test "$cross_compiling" = yes &&
24419 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
24420 if test -r "${GJDOC}"; then
24421 eval "$as_ac_File=yes"
24422 else
24423 eval "$as_ac_File=no"
24426 eval ac_res=\$$as_ac_File
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24428 $as_echo "$ac_res" >&6; }
24429 eval as_val=\$$as_ac_File
24430 if test "x$as_val" = x""yes; then :
24432 else
24433 as_fn_error "\"Cannot use ${withval} as gjdoc executable since it doesn't exist\"" "$LINENO" 5
24437 else
24438 WITH_GJDOC=no
24441 if test "x${WITH_GJDOC}" = xyes; then
24442 CREATE_API_DOCS_TRUE=
24443 CREATE_API_DOCS_FALSE='#'
24444 else
24445 CREATE_API_DOCS_TRUE='#'
24446 CREATE_API_DOCS_FALSE=
24449 if test "x${WITH_GJDOC}" = xyes; then
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of GJDoc" >&5
24451 $as_echo_n "checking version of GJDoc... " >&6; }
24452 gjdoc_version=$(${GJDOC} --version|cut -d ' ' -f2)
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gjdoc_version}" >&5
24454 $as_echo "${gjdoc_version}" >&6; }
24455 case ${gjdoc_version} in
24456 0.7.9) ;;
24457 0.8*) ;;
24458 0.9*) ;;
24459 1*) ;;
24460 *) as_fn_error "Building documentation requires GJDoc >= 0.7.9, ${gjdoc_version} found." "$LINENO" 5 ;;
24461 esac
24467 # Check whether --with-jay was given.
24468 if test "${with_jay+set}" = set; then :
24469 withval=$with_jay;
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
24471 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
24472 JAY_FOUND=no
24473 JAY_DIR_PATH=
24474 if test "x${withval}" = xno; then
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24476 $as_echo "no" >&6; }
24477 elif test "x${withval}" = xyes; then
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24479 $as_echo "yes" >&6; }
24480 JAY_DIR_PATH="/usr/share/jay"
24481 elif test -d "${withval}"; then
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24483 $as_echo "yes" >&6; }
24484 JAY_DIR_PATH="${withval}"
24485 elif test -f "${withval}"; then
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24487 $as_echo "yes" >&6; }
24488 JAY_DIR_PATH=`dirname "${withval}"`
24489 JAY="${withval}"
24490 else
24491 as_fn_error "jay not found at ${withval}" "$LINENO" 5
24494 if test "x${JAY_DIR_PATH}" != x; then
24495 # Extract the first word of "jay", so it can be a program name with args.
24496 set dummy jay; ac_word=$2
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24498 $as_echo_n "checking for $ac_word... " >&6; }
24499 if test "${ac_cv_path_JAY+set}" = set; then :
24500 $as_echo_n "(cached) " >&6
24501 else
24502 case $JAY in
24503 [\\/]* | ?:[\\/]*)
24504 ac_cv_path_JAY="$JAY" # Let the user override the test with a path.
24507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24508 as_dummy="${JAY_DIR_PATH}:${PATH}"
24509 for as_dir in $as_dummy
24511 IFS=$as_save_IFS
24512 test -z "$as_dir" && as_dir=.
24513 for ac_exec_ext in '' $ac_executable_extensions; do
24514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24515 ac_cv_path_JAY="$as_dir/$ac_word$ac_exec_ext"
24516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24517 break 2
24519 done
24520 done
24521 IFS=$as_save_IFS
24523 test -z "$ac_cv_path_JAY" && ac_cv_path_JAY=""no""
24525 esac
24527 JAY=$ac_cv_path_JAY
24528 if test -n "$JAY"; then
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAY" >&5
24530 $as_echo "$JAY" >&6; }
24531 else
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24533 $as_echo "no" >&6; }
24537 if test "x${JAY}" = xno; then
24538 as_fn_error "jay executable not found" "$LINENO" 5;
24540 JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
24541 as_ac_File=`$as_echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh`
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${JAY_SKELETON}" >&5
24543 $as_echo_n "checking for ${JAY_SKELETON}... " >&6; }
24544 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
24545 $as_echo_n "(cached) " >&6
24546 else
24547 test "$cross_compiling" = yes &&
24548 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
24549 if test -r "${JAY_SKELETON}"; then
24550 eval "$as_ac_File=yes"
24551 else
24552 eval "$as_ac_File=no"
24555 eval ac_res=\$$as_ac_File
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24557 $as_echo "$ac_res" >&6; }
24558 eval as_val=\$$as_ac_File
24559 if test "x$as_val" = x""yes; then :
24561 else
24562 as_fn_error "Expected skeleton file in ${JAY_DIR_PATH}" "$LINENO" 5
24565 JAY_FOUND=yes
24568 else
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to regenerate parsers with jay" >&5
24571 $as_echo_n "checking whether to regenerate parsers with jay... " >&6; }
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24573 $as_echo "no" >&6; }
24574 JAY_FOUND=no
24578 if test "x${JAY_FOUND}" = xyes; then
24579 REGEN_PARSERS_TRUE=
24580 REGEN_PARSERS_FALSE='#'
24581 else
24582 REGEN_PARSERS_TRUE='#'
24583 REGEN_PARSERS_FALSE=
24588 # Check whether --enable-portable-native-sync was given.
24589 if test "${enable_portable_native_sync+set}" = set; then :
24590 enableval=$enable_portable_native_sync; case "${enableval}" in
24591 yes)
24593 $as_echo "#define PORTABLE_NATIVE_SYNC 1" >>confdefs.h
24596 no) ;;
24598 as_fn_error "bad value ${enableval} for --enable-portable-native-sync" "$LINENO" 5
24600 esac
24604 # ------ AX CREATE STDINT H -------------------------------------
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
24606 $as_echo_n "checking for stdint types... " >&6; }
24607 ac_stdint_h=`echo include/config-int.h`
24608 # try to shortcircuit - if the default include path of the compiler
24609 # can find a "stdint.h" header then we assume that all compilers can.
24610 if test "${ac_cv_header_stdint_t+set}" = set; then :
24611 $as_echo_n "(cached) " >&6
24612 else
24614 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
24615 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
24616 old_CFLAGS="$CFLAGS" ; CFLAGS=""
24617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24618 /* end confdefs.h. */
24619 #include <stdint.h>
24621 main ()
24623 int_least32_t v = 0;
24625 return 0;
24627 _ACEOF
24628 if ac_fn_c_try_compile "$LINENO"; then :
24629 ac_cv_stdint_result="(assuming C99 compatible system)"
24630 ac_cv_header_stdint_t="stdint.h";
24631 else
24632 ac_cv_header_stdint_t=""
24634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24635 CXXFLAGS="$old_CXXFLAGS"
24636 CPPFLAGS="$old_CPPFLAGS"
24637 CFLAGS="$old_CFLAGS"
24641 v="... $ac_cv_header_stdint_h"
24642 if test "$ac_stdint_h" = "stdint.h" ; then
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
24644 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
24645 elif test "$ac_stdint_h" = "inttypes.h" ; then
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
24647 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
24648 elif test "_$ac_cv_header_stdint_t" = "_" ; then
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
24650 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
24651 else
24652 ac_cv_header_stdint="$ac_cv_header_stdint_t"
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
24654 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
24657 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
24660 inttype_headers=`echo | sed -e 's/,/ /g'`
24662 ac_cv_stdint_result="(no helpful system typedefs seen)"
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24665 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24666 if test "${ac_cv_header_stdint_x+set}" = set; then :
24667 $as_echo_n "(cached) " >&6
24668 else
24670 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24672 $as_echo "(..)" >&6; }
24673 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers ; do
24674 unset ac_cv_type_uintptr_t
24675 unset ac_cv_type_uint64_t
24676 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
24678 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
24679 ac_cv_header_stdint_x=$i
24680 else
24681 continue
24684 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24686 if test "x$ac_cv_type_uint64_t" = x""yes; then :
24687 and64="/uint64_t"
24688 else
24689 and64=""
24692 stdint.h inttypes.h sys/inttypes.h $inttype_headers
24693 break
24694 done
24695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
24696 $as_echo_n "checking for stdint uintptr_t... " >&6; }
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
24700 $as_echo "$ac_cv_header_stdint_x" >&6; }
24703 if test "_$ac_cv_header_stdint_x" = "_" ; then
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24706 $as_echo_n "checking for stdint uint32_t... " >&6; }
24707 if test "${ac_cv_header_stdint_o+set}" = set; then :
24708 $as_echo_n "(cached) " >&6
24709 else
24711 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24713 $as_echo "(..)" >&6; }
24714 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers ; do
24715 unset ac_cv_type_uint32_t
24716 unset ac_cv_type_uint64_t
24717 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
24719 if test "x$ac_cv_type_uint32_t" = x""yes; then :
24720 ac_cv_header_stdint_o=$i
24721 else
24722 continue
24725 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
24727 if test "x$ac_cv_type_uint64_t" = x""yes; then :
24728 and64="/uint64_t"
24729 else
24730 and64=""
24733 inttypes.h sys/inttypes.h stdint.h $inttype_headers
24734 break
24735 break;
24736 done
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
24738 $as_echo_n "checking for stdint uint32_t... " >&6; }
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
24742 $as_echo "$ac_cv_header_stdint_o" >&6; }
24746 if test "_$ac_cv_header_stdint_x" = "_" ; then
24747 if test "_$ac_cv_header_stdint_o" = "_" ; then
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24750 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24751 if test "${ac_cv_header_stdint_u+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24755 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24757 $as_echo "(..)" >&6; }
24758 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
24759 unset ac_cv_type_u_int32_t
24760 unset ac_cv_type_u_int64_t
24761 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
24763 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
24764 ac_cv_header_stdint_u=$i
24765 else
24766 continue
24769 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
24771 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
24772 and64="/u_int64_t"
24773 else
24774 and64=""
24777 sys/types.h inttypes.h sys/inttypes.h $inttype_headers
24778 break
24779 break;
24780 done
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
24782 $as_echo_n "checking for stdint u_int32_t... " >&6; }
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
24786 $as_echo "$ac_cv_header_stdint_u" >&6; }
24788 fi fi
24790 if test "_$ac_cv_header_stdint_x" = "_" ; then
24791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
24792 $as_echo_n "checking for stdint datatype model... " >&6; }
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
24794 $as_echo "(..)" >&6; }
24796 # The cast to long int works around a bug in the HP C Compiler
24797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24799 # This bug is HP SR number 8606223364.
24800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
24801 $as_echo_n "checking size of char... " >&6; }
24802 if test "${ac_cv_sizeof_char+set}" = set; then :
24803 $as_echo_n "(cached) " >&6
24804 else
24805 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
24807 else
24808 if test "$ac_cv_type_char" = yes; then
24809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24811 { as_fn_set_status 77
24812 as_fn_error "cannot compute sizeof (char)
24813 See \`config.log' for more details." "$LINENO" 5; }; }
24814 else
24815 ac_cv_sizeof_char=0
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
24821 $as_echo "$ac_cv_sizeof_char" >&6; }
24825 cat >>confdefs.h <<_ACEOF
24826 #define SIZEOF_CHAR $ac_cv_sizeof_char
24827 _ACEOF
24830 # The cast to long int works around a bug in the HP C Compiler
24831 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24832 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24833 # This bug is HP SR number 8606223364.
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
24835 $as_echo_n "checking size of short... " >&6; }
24836 if test "${ac_cv_sizeof_short+set}" = set; then :
24837 $as_echo_n "(cached) " >&6
24838 else
24839 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
24841 else
24842 if test "$ac_cv_type_short" = yes; then
24843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24845 { as_fn_set_status 77
24846 as_fn_error "cannot compute sizeof (short)
24847 See \`config.log' for more details." "$LINENO" 5; }; }
24848 else
24849 ac_cv_sizeof_short=0
24854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
24855 $as_echo "$ac_cv_sizeof_short" >&6; }
24859 cat >>confdefs.h <<_ACEOF
24860 #define SIZEOF_SHORT $ac_cv_sizeof_short
24861 _ACEOF
24864 # The cast to long int works around a bug in the HP C Compiler
24865 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24866 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24867 # This bug is HP SR number 8606223364.
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
24869 $as_echo_n "checking size of int... " >&6; }
24870 if test "${ac_cv_sizeof_int+set}" = set; then :
24871 $as_echo_n "(cached) " >&6
24872 else
24873 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
24875 else
24876 if test "$ac_cv_type_int" = yes; then
24877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24879 { as_fn_set_status 77
24880 as_fn_error "cannot compute sizeof (int)
24881 See \`config.log' for more details." "$LINENO" 5; }; }
24882 else
24883 ac_cv_sizeof_int=0
24888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
24889 $as_echo "$ac_cv_sizeof_int" >&6; }
24893 cat >>confdefs.h <<_ACEOF
24894 #define SIZEOF_INT $ac_cv_sizeof_int
24895 _ACEOF
24898 # The cast to long int works around a bug in the HP C Compiler
24899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24901 # This bug is HP SR number 8606223364.
24902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
24903 $as_echo_n "checking size of long... " >&6; }
24904 if test "${ac_cv_sizeof_long+set}" = set; then :
24905 $as_echo_n "(cached) " >&6
24906 else
24907 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
24909 else
24910 if test "$ac_cv_type_long" = yes; then
24911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24913 { as_fn_set_status 77
24914 as_fn_error "cannot compute sizeof (long)
24915 See \`config.log' for more details." "$LINENO" 5; }; }
24916 else
24917 ac_cv_sizeof_long=0
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
24923 $as_echo "$ac_cv_sizeof_long" >&6; }
24927 cat >>confdefs.h <<_ACEOF
24928 #define SIZEOF_LONG $ac_cv_sizeof_long
24929 _ACEOF
24932 # The cast to long int works around a bug in the HP C Compiler
24933 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24934 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24935 # This bug is HP SR number 8606223364.
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
24937 $as_echo_n "checking size of void*... " >&6; }
24938 if test "${ac_cv_sizeof_voidp+set}" = set; then :
24939 $as_echo_n "(cached) " >&6
24940 else
24941 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
24943 else
24944 if test "$ac_cv_type_voidp" = yes; then
24945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24947 { as_fn_set_status 77
24948 as_fn_error "cannot compute sizeof (void*)
24949 See \`config.log' for more details." "$LINENO" 5; }; }
24950 else
24951 ac_cv_sizeof_voidp=0
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
24957 $as_echo "$ac_cv_sizeof_voidp" >&6; }
24961 cat >>confdefs.h <<_ACEOF
24962 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
24963 _ACEOF
24966 ac_cv_char_data_model=""
24967 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
24968 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
24969 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
24970 ac_cv_long_data_model=""
24971 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
24972 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
24973 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
24975 $as_echo_n "checking data model... " >&6; }
24976 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
24977 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
24978 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
24979 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
24980 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
24981 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
24982 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
24983 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
24984 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
24985 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
24986 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
24987 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
24988 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
24989 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
24990 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
24991 222/*|333/*|444/*|666/*|888/*) :
24992 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
24993 *) ac_cv_data_model="none" ; n="very unusual model" ;;
24994 esac
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
24996 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
25000 if test "_$ac_cv_header_stdint_x" != "_" ; then
25001 ac_cv_header_stdint="$ac_cv_header_stdint_x"
25002 elif test "_$ac_cv_header_stdint_o" != "_" ; then
25003 ac_cv_header_stdint="$ac_cv_header_stdint_o"
25004 elif test "_$ac_cv_header_stdint_u" != "_" ; then
25005 ac_cv_header_stdint="$ac_cv_header_stdint_u"
25006 else
25007 ac_cv_header_stdint="stddef.h"
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
25011 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
25013 $as_echo "($ac_cv_header_stdint)" >&6; }
25014 unset ac_cv_type_int_least32_t
25015 unset ac_cv_type_int_fast32_t
25016 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
25018 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
25022 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
25024 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
25028 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
25030 if test "x$ac_cv_type_intmax_t" = x""yes; then :
25035 fi # shortcircut to system "stdint.h"
25036 # ------------------ PREPARE VARIABLES ------------------------------
25037 if test "$GCC" = "yes" ; then
25038 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
25039 else
25040 ac_cv_stdint_message="using $CC"
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
25044 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
25046 # ----------------- DONE inttypes.h checks START header -------------
25047 ac_config_commands="$ac_config_commands $ac_stdint_h"
25052 # Check whether --with-glibj_zip was given.
25053 if test "${with_glibj_zip+set}" = set; then :
25054 withval=$with_glibj_zip;
25058 case "$with_glibj_zip" in
25060 use_glibj_zip=false
25062 "no" )
25063 use_glibj_zip=false
25065 "yes")
25066 as_fn_error "Please suply an absolute path to a prebuilt glibj.zip" "$LINENO" 5
25069 use_glibj_zip=true
25070 PATH_TO_GLIBJ_ZIP=$with_glibj_zip
25072 esac;
25074 if test x$use_glibj_zip = xtrue; then
25075 USE_PREBUILT_GLIBJ_ZIP_TRUE=
25076 USE_PREBUILT_GLIBJ_ZIP_FALSE='#'
25077 else
25078 USE_PREBUILT_GLIBJ_ZIP_TRUE='#'
25079 USE_PREBUILT_GLIBJ_ZIP_FALSE=
25084 if test "x${TOOLSDIR}" != x; then
25085 if test "x${COMPILE_WRAPPERS}" = xno && test "x${enable_java_maintainer_mode}" = xyes; then
25088 if test "x$JAVAPREFIX" = x; then
25089 test "x$JAVA" = x && for ac_prog in cacao$EXEEXT jamvm$EXEEXT kaffe$EXEEXT gij$EXEEXT java$EXEEXT
25091 # Extract the first word of "$ac_prog", so it can be a program name with args.
25092 set dummy $ac_prog; ac_word=$2
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25094 $as_echo_n "checking for $ac_word... " >&6; }
25095 if test "${ac_cv_prog_JAVA+set}" = set; then :
25096 $as_echo_n "(cached) " >&6
25097 else
25098 if test -n "$JAVA"; then
25099 ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
25100 else
25101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25102 for as_dir in $PATH
25104 IFS=$as_save_IFS
25105 test -z "$as_dir" && as_dir=.
25106 for ac_exec_ext in '' $ac_executable_extensions; do
25107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25108 ac_cv_prog_JAVA="$ac_prog"
25109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25110 break 2
25112 done
25113 done
25114 IFS=$as_save_IFS
25118 JAVA=$ac_cv_prog_JAVA
25119 if test -n "$JAVA"; then
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
25121 $as_echo "$JAVA" >&6; }
25122 else
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25124 $as_echo "no" >&6; }
25128 test -n "$JAVA" && break
25129 done
25131 else
25132 test "x$JAVA" = x && for ac_prog in cacao$EXEEXT jamvm$EXEEXT kaffe$EXEEXT gij$EXEEXT java$EXEEXT
25134 # Extract the first word of "$ac_prog", so it can be a program name with args.
25135 set dummy $ac_prog; ac_word=$2
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25137 $as_echo_n "checking for $ac_word... " >&6; }
25138 if test "${ac_cv_prog_JAVA+set}" = set; then :
25139 $as_echo_n "(cached) " >&6
25140 else
25141 if test -n "$JAVA"; then
25142 ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
25143 else
25144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25145 for as_dir in $PATH
25147 IFS=$as_save_IFS
25148 test -z "$as_dir" && as_dir=.
25149 for ac_exec_ext in '' $ac_executable_extensions; do
25150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25151 ac_cv_prog_JAVA="$ac_prog"
25152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25153 break 2
25155 done
25156 done
25157 IFS=$as_save_IFS
25161 JAVA=$ac_cv_prog_JAVA
25162 if test -n "$JAVA"; then
25163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
25164 $as_echo "$JAVA" >&6; }
25165 else
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25167 $as_echo "no" >&6; }
25171 test -n "$JAVA" && break
25172 done
25173 test -n "$JAVA" || JAVA="$JAVAPREFIX"
25176 test "x$JAVA" = x && as_fn_error "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
25179 ECJ_OPTS="-warn:-deprecation,serial,unusedImport,unusedPrivate,resource"
25180 JAVAC_OPTS="-Xlint:unchecked,cast,divzero,empty,finally,overrides"
25181 GCJ_OPTS="-g"
25182 if test "x$JAVAPREFIX" = x; then
25183 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"
25185 # Extract the first word of "$ac_prog", so it can be a program name with args.
25186 set dummy $ac_prog; ac_word=$2
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25188 $as_echo_n "checking for $ac_word... " >&6; }
25189 if test "${ac_cv_prog_JAVAC+set}" = set; then :
25190 $as_echo_n "(cached) " >&6
25191 else
25192 if test -n "$JAVAC"; then
25193 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
25194 else
25195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25196 for as_dir in $PATH
25198 IFS=$as_save_IFS
25199 test -z "$as_dir" && as_dir=.
25200 for ac_exec_ext in '' $ac_executable_extensions; do
25201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25202 ac_cv_prog_JAVAC="$ac_prog"
25203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25204 break 2
25206 done
25207 done
25208 IFS=$as_save_IFS
25212 JAVAC=$ac_cv_prog_JAVAC
25213 if test -n "$JAVAC"; then
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
25215 $as_echo "$JAVAC" >&6; }
25216 else
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25218 $as_echo "no" >&6; }
25222 test -n "$JAVAC" && break
25223 done
25225 else
25226 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"
25228 # Extract the first word of "$ac_prog", so it can be a program name with args.
25229 set dummy $ac_prog; ac_word=$2
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25231 $as_echo_n "checking for $ac_word... " >&6; }
25232 if test "${ac_cv_prog_JAVAC+set}" = set; then :
25233 $as_echo_n "(cached) " >&6
25234 else
25235 if test -n "$JAVAC"; then
25236 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
25237 else
25238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25239 for as_dir in $PATH
25241 IFS=$as_save_IFS
25242 test -z "$as_dir" && as_dir=.
25243 for ac_exec_ext in '' $ac_executable_extensions; do
25244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25245 ac_cv_prog_JAVAC="$ac_prog"
25246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25247 break 2
25249 done
25250 done
25251 IFS=$as_save_IFS
25255 JAVAC=$ac_cv_prog_JAVAC
25256 if test -n "$JAVAC"; then
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
25258 $as_echo "$JAVAC" >&6; }
25259 else
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25261 $as_echo "no" >&6; }
25265 test -n "$JAVAC" && break
25266 done
25267 test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
25270 test "x$JAVAC" = x && as_fn_error "no acceptable Java compiler found in \$PATH" "$LINENO" 5
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC is a version of gcj" >&5
25272 $as_echo_n "checking if $JAVAC is a version of gcj... " >&6; }
25273 if test "${ac_cv_prog_javac_is_gcj+set}" = set; then :
25274 $as_echo_n "(cached) " >&6
25275 else
25277 if $JAVAC --version 2>&1 | grep gcj >&5 ; then
25278 ac_cv_prog_javac_is_gcj=yes;
25279 JAVAC="$JAVAC $GCJ_OPTS";
25280 else
25281 ac_cv_prog_javac_is_gcj=no;
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_is_gcj" >&5
25286 $as_echo "$ac_cv_prog_javac_is_gcj" >&6; }
25287 JAVAC_IS_GCJ=$ac_cv_prog_javac_is_gcj
25289 if test x"${JAVAC_IS_GCJ}" = xyes; then
25290 GCJ_JAVAC_TRUE=
25291 GCJ_JAVAC_FALSE='#'
25292 else
25293 GCJ_JAVAC_TRUE='#'
25294 GCJ_JAVAC_FALSE=
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
25301 $as_echo_n "checking if $JAVAC works... " >&6; }
25302 if test "${ac_cv_prog_javac_works+set}" = set; then :
25303 $as_echo_n "(cached) " >&6
25304 else
25306 JAVA_TEST=Object.java
25307 CLASS_TEST=Object.class
25308 cat << \EOF > $JAVA_TEST
25309 /* #line 25309 "configure" */
25310 package java.lang;
25312 public class Object
25314 static <T> void doStuff()
25319 if test x$JAVAC_IS_GCJ = xyes; then
25320 CMD="$JAVAC $JAVACFLAGS -fsource=1.5 -ftarget=1.5 $JAVA_TEST"
25321 else
25322 CMD="$JAVAC $JAVACFLAGS -source 1.5 -target 1.5 $JAVA_TEST"
25324 if { ac_try='$CMD'
25325 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25326 (eval $ac_try) 2>&5
25327 ac_status=$?
25328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25329 test $ac_status = 0; }; } >/dev/null 2>&1; then
25330 ac_cv_prog_javac_works=yes
25331 else
25332 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25333 echo "configure: failed program was:" >&5
25334 cat $JAVA_TEST >&5
25336 rm -f $JAVA_TEST $CLASS_TEST
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
25340 $as_echo "$ac_cv_prog_javac_works" >&6; }
25344 # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
25345 set dummy uudecode$EXEEXT; ac_word=$2
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25347 $as_echo_n "checking for $ac_word... " >&6; }
25348 if test "${ac_cv_prog_uudecode+set}" = set; then :
25349 $as_echo_n "(cached) " >&6
25350 else
25351 if test -n "$uudecode"; then
25352 ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
25353 else
25354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25355 for as_dir in $PATH
25357 IFS=$as_save_IFS
25358 test -z "$as_dir" && as_dir=.
25359 for ac_exec_ext in '' $ac_executable_extensions; do
25360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25361 ac_cv_prog_uudecode="yes"
25362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25363 break 2
25365 done
25366 done
25367 IFS=$as_save_IFS
25371 uudecode=$ac_cv_prog_uudecode
25372 if test -n "$uudecode"; then
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
25374 $as_echo "$uudecode" >&6; }
25375 else
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25377 $as_echo "no" >&6; }
25381 if test x$uudecode = xyes; then
25382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
25383 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
25384 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
25385 $as_echo_n "(cached) " >&6
25386 else
25388 cat << \EOF > Test.uue
25389 begin-base64 644 Test.class
25390 yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
25391 bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
25392 bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
25393 YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
25394 aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
25395 AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
25396 AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
25397 ====
25399 if uudecode$EXEEXT Test.uue; then
25400 ac_cv_prog_uudecode_base64=yes
25401 else
25402 echo "configure: 25402: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
25403 echo "configure: failed file was:" >&5
25404 cat Test.uue >&5
25405 ac_cv_prog_uudecode_base64=no
25407 rm -f Test.uue
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
25410 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
25412 if test x$ac_cv_prog_uudecode_base64 != xyes; then
25413 rm -f Test.class
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
25415 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
25416 if test x$ac_cv_prog_javac_works = xno; then
25417 as_fn_error "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
25421 $as_echo_n "checking if $JAVA works... " >&6; }
25422 if test "${ac_cv_prog_java_works+set}" = set; then :
25423 $as_echo_n "(cached) " >&6
25424 else
25426 JAVA_TEST=Test.java
25427 CLASS_TEST=Test.class
25428 TEST=Test
25429 cat << \EOF > $JAVA_TEST
25430 /* [#]line 25430 "configure" */
25431 public class Test {
25432 public static void main (String args[]) {
25433 System.exit (0);
25436 if test x$ac_cv_prog_uudecode_base64 != xyes; then
25438 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
25439 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25440 (eval $ac_try) 2>&5
25441 ac_status=$?
25442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25443 test $ac_status = 0; }; } && test -s $CLASS_TEST; then
25445 else
25446 echo "configure: failed program was:" >&5
25447 cat $JAVA_TEST >&5
25448 as_fn_error "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25451 if { ac_try='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'
25452 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
25453 (eval $ac_try) 2>&5
25454 ac_status=$?
25455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25456 test $ac_status = 0; }; } >/dev/null 2>&1; then
25457 ac_cv_prog_java_works=yes
25458 else
25459 echo "configure: failed program was:" >&5
25460 cat $JAVA_TEST >&5
25461 as_fn_error "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
25463 rm -fr $JAVA_TEST $CLASS_TEST Test.uue
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
25467 $as_echo "$ac_cv_prog_java_works" >&6; }
25471 if test "x${COMPILE_GJDOC}" = xyes; then
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ANTLR parser generator JAR file" >&5
25474 $as_echo_n "checking for the ANTLR parser generator JAR file... " >&6; }
25475 if test -z "$ANTLR_JAR"; then
25476 for antlr_lib_home in `ls -d /usr/local/share/antlr* 2> /dev/null` \
25477 /usr/share/antlr/lib /usr/share/java /usr/lib;
25479 if test -f "$antlr_lib_home/antlr.jar"; then
25480 ANTLR_JAR="$antlr_lib_home/antlr.jar"
25481 break
25483 done
25485 test -f $ANTLR_JAR || as_fn_error "specified ANTLR jar file $ANTLR_JAR not found." "$LINENO" 5 \
25486 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
25487 $as_echo "$ANTLR_JAR" >&6; }
25490 if test "x${REGENERATE_GJDOC_PARSER}" = xyes && test "x${enable_java_maintainer_mode}" = xyes; then
25492 if test -n "$ac_tool_prefix"; then
25493 for ac_prog in cantlr runantlr antlr
25495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
25496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25498 $as_echo_n "checking for $ac_word... " >&6; }
25499 if test "${ac_cv_prog_ANTLR+set}" = set; then :
25500 $as_echo_n "(cached) " >&6
25501 else
25502 if test -n "$ANTLR"; then
25503 ac_cv_prog_ANTLR="$ANTLR" # Let the user override the test.
25504 else
25505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25506 for as_dir in $PATH
25508 IFS=$as_save_IFS
25509 test -z "$as_dir" && as_dir=.
25510 for ac_exec_ext in '' $ac_executable_extensions; do
25511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25512 ac_cv_prog_ANTLR="$ac_tool_prefix$ac_prog"
25513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25514 break 2
25516 done
25517 done
25518 IFS=$as_save_IFS
25522 ANTLR=$ac_cv_prog_ANTLR
25523 if test -n "$ANTLR"; then
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5
25525 $as_echo "$ANTLR" >&6; }
25526 else
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25528 $as_echo "no" >&6; }
25532 test -n "$ANTLR" && break
25533 done
25535 if test -z "$ANTLR"; then
25536 ac_ct_ANTLR=$ANTLR
25537 for ac_prog in cantlr runantlr antlr
25539 # Extract the first word of "$ac_prog", so it can be a program name with args.
25540 set dummy $ac_prog; ac_word=$2
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25542 $as_echo_n "checking for $ac_word... " >&6; }
25543 if test "${ac_cv_prog_ac_ct_ANTLR+set}" = set; then :
25544 $as_echo_n "(cached) " >&6
25545 else
25546 if test -n "$ac_ct_ANTLR"; then
25547 ac_cv_prog_ac_ct_ANTLR="$ac_ct_ANTLR" # Let the user override the test.
25548 else
25549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25550 for as_dir in $PATH
25552 IFS=$as_save_IFS
25553 test -z "$as_dir" && as_dir=.
25554 for ac_exec_ext in '' $ac_executable_extensions; do
25555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25556 ac_cv_prog_ac_ct_ANTLR="$ac_prog"
25557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25558 break 2
25560 done
25561 done
25562 IFS=$as_save_IFS
25566 ac_ct_ANTLR=$ac_cv_prog_ac_ct_ANTLR
25567 if test -n "$ac_ct_ANTLR"; then
25568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ANTLR" >&5
25569 $as_echo "$ac_ct_ANTLR" >&6; }
25570 else
25571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25572 $as_echo "no" >&6; }
25576 test -n "$ac_ct_ANTLR" && break
25577 done
25579 if test "x$ac_ct_ANTLR" = x; then
25580 ANTLR=""
25581 else
25582 case $cross_compiling:$ac_tool_warned in
25583 yes:)
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25586 ac_tool_warned=yes ;;
25587 esac
25588 ANTLR=$ac_ct_ANTLR
25592 if test "x$ANTLR" = x; then
25593 if test -z "$JAVA"; then
25594 as_fn_error "Failed to find either an antlr binary or a suitable Java runtime for ANTLR." "$LINENO" 5
25595 else
25596 if test -z "$ANTLR_JAR"; then
25597 as_fn_error "Failed to find either an antlr binary or a suitable antlr jar file." "$LINENO" 5
25598 else
25599 ANTLR="$JAVA -classpath $ANTLR_JAR antlr.Tool"
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr 2.7.1 or better" >&5
25605 $as_echo_n "checking for antlr 2.7.1 or better... " >&6; }
25606 antlr_version_str=`$ANTLR 2>&1 | head -n 1 | sed '/.*Version */!d; s///;q'`
25607 if test "$antlr_version_str"; then
25608 antlr_version_regex='s/\([[:digit:]]\+\)\.\([[:digit:]]\+\)\.\([[:digit:]]\+\).*$/'
25609 antlr_version_major=`echo $antlr_version_str | sed "$antlr_version_regex\\1/"`
25610 antlr_version_minor=`echo $antlr_version_str | sed "$antlr_version_regex\\2/"`
25611 antlr_version_micro=`echo $antlr_version_str | sed "$antlr_version_regex\\3/"`
25612 (test $antlr_version_major -gt 2 || \
25613 (test $antlr_version_major -eq 2 && \
25614 test $antlr_version_minor -gt 7) || \
25615 (test $antlr_version_major -eq 2 && \
25616 test $antlr_version_minor -eq 7 && \
25617 test $antlr_version_micro -ge 1))
25619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&5
25620 $as_echo "$antlr_version_major.$antlr_version_minor.$antlr_version_micro" >&6; }
25627 # Check for javac if we need to build either the class library,
25628 # the examples or the tools
25629 if test "x${use_glibj_zip}" = xfalse || \
25630 test "x${EXAMPLESDIR}" != x || \
25631 test "x${TOOLSDIR}" != x && \
25632 test "x${build_class_files}" != xno && \
25633 test "${enable_java_maintainer_mode}" = yes; then
25635 JAVA_TEST=Test.java
25636 CLASS_TEST=Test.class
25637 cat << \EOF > $JAVA_TEST
25638 /* #line 25638 "configure" */
25639 public class Test
25641 public static void main(String args)
25643 System.out.println("Hello World");
25647 if test x$JAVAC_IS_GCJ != xyes; then
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether javac supports -J" >&5
25649 $as_echo_n "checking whether javac supports -J... " >&6; }
25650 $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST
25651 javac_result=$?
25652 if test "x$javac_result" = "x0"; then
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25654 $as_echo "yes" >&6; }
25655 JAVAC_MEM_OPT="-J-Xmx768M"
25656 else
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25658 $as_echo "no" >&6; }
25661 rm -f $JAVA_TEST $CLASS_TEST
25664 else
25665 if false; then
25666 GCJ_JAVAC_TRUE=
25667 GCJ_JAVAC_FALSE='#'
25668 else
25669 GCJ_JAVAC_TRUE='#'
25670 GCJ_JAVAC_FALSE=
25676 # Check whether --with-escher was given.
25677 if test "${with_escher+set}" = set; then :
25678 withval=$with_escher;
25681 case "$with_escher" in
25683 use_escher=false
25685 "no")
25686 use_escher=false
25688 "yes")
25689 as_fn_error "Please supply an absolute path to Escher library" "$LINENO" 5
25692 use_escher=true
25693 PATH_TO_ESCHER=$with_escher
25695 esac
25697 if test x$use_escher = xtrue; then
25698 USE_ESCHER_TRUE=
25699 USE_ESCHER_FALSE='#'
25700 else
25701 USE_ESCHER_TRUE='#'
25702 USE_ESCHER_FALSE=
25707 # Check whether --enable-local-sockets was given.
25708 if test "${enable_local_sockets+set}" = set; then :
25709 enableval=$enable_local_sockets; case "${enableval}" in
25710 yes)
25711 ENABLE_LOCAL_SOCKETS=yes
25714 ENABLE_LOCAL_SOCKETS=no
25716 esac
25719 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"
25720 then
25721 ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
25722 if test "x$ac_cv_header_sys_un_h" = x""yes; then :
25727 for ac_func in read write bind listen accept shutdown
25728 do :
25729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25731 eval as_val=\$$as_ac_var
25732 if test "x$as_val" = x""yes; then :
25733 cat >>confdefs.h <<_ACEOF
25734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25735 _ACEOF
25737 else
25738 as_fn_error "networking support not available" "$LINENO" 5
25740 done
25743 $as_echo "#define ENABLE_LOCAL_SOCKETS 1" >>confdefs.h
25746 if test "x$ENABLE_LOCAL_SOCKETS" = "xyes"; then
25747 ENABLE_LOCAL_SOCKETS_TRUE=
25748 ENABLE_LOCAL_SOCKETS_FALSE='#'
25749 else
25750 ENABLE_LOCAL_SOCKETS_TRUE='#'
25751 ENABLE_LOCAL_SOCKETS_FALSE=
25757 WANT_NATIVE_BIG_INTEGER=false
25758 if test "x${COMPILE_GMP}" = xyes; then
25759 if test "x${ac_cv_lib_gmp___gmpz_mul_si}" = xyes; then
25760 if test "x${ac_cv_header_gmp_h}" = xyes; then
25761 WANT_NATIVE_BIG_INTEGER=true
25763 $as_echo "#define WITH_GNU_MP 1" >>confdefs.h
25765 else
25766 COMPILE_GMP=no
25768 else
25769 COMPILE_GMP=no
25773 if test "x${COMPILE_GMP}" = xyes; then
25774 CREATE_GMPBI_LIBRARY_TRUE=
25775 CREATE_GMPBI_LIBRARY_FALSE='#'
25776 else
25777 CREATE_GMPBI_LIBRARY_TRUE='#'
25778 CREATE_GMPBI_LIBRARY_FALSE=
25782 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"
25785 if test "x${COMPILE_WRAPPERS}" = xyes; then
25787 else
25788 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"
25791 ac_config_commands="$ac_config_commands gappletviewer"
25793 ac_config_commands="$ac_config_commands gjarsigner"
25795 ac_config_commands="$ac_config_commands gkeytool"
25797 ac_config_commands="$ac_config_commands gjar"
25799 ac_config_commands="$ac_config_commands gnative2ascii"
25801 ac_config_commands="$ac_config_commands gserialver"
25803 ac_config_commands="$ac_config_commands grmiregistry"
25805 ac_config_commands="$ac_config_commands gtnameserv"
25807 ac_config_commands="$ac_config_commands gorbd"
25809 ac_config_commands="$ac_config_commands grmid"
25811 ac_config_commands="$ac_config_commands grmic"
25813 ac_config_commands="$ac_config_commands gjavah"
25818 if test "x${COMPILE_GJDOC}" = xyes
25819 then
25820 ac_config_files="$ac_config_files tools/gjdoc"
25822 ac_config_commands="$ac_config_commands gjdoc"
25826 ac_config_commands="$ac_config_commands gen-classlist"
25828 ac_config_commands="$ac_config_commands copy-vmresources"
25830 cat >confcache <<\_ACEOF
25831 # This file is a shell script that caches the results of configure
25832 # tests run on this system so they can be shared between configure
25833 # scripts and configure runs, see configure's option --config-cache.
25834 # It is not useful on other systems. If it contains results you don't
25835 # want to keep, you may remove or edit it.
25837 # config.status only pays attention to the cache file if you give it
25838 # the --recheck option to rerun configure.
25840 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25841 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25842 # following values.
25844 _ACEOF
25846 # The following way of writing the cache mishandles newlines in values,
25847 # but we know of no workaround that is simple, portable, and efficient.
25848 # So, we kill variables containing newlines.
25849 # Ultrix sh set writes to stderr and can't be redirected directly,
25850 # and sets the high bit in the cache file unless we assign to the vars.
25852 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25853 eval ac_val=\$$ac_var
25854 case $ac_val in #(
25855 *${as_nl}*)
25856 case $ac_var in #(
25857 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25858 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25859 esac
25860 case $ac_var in #(
25861 _ | IFS | as_nl) ;; #(
25862 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25863 *) { eval $ac_var=; unset $ac_var;} ;;
25864 esac ;;
25865 esac
25866 done
25868 (set) 2>&1 |
25869 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25870 *${as_nl}ac_space=\ *)
25871 # `set' does not quote correctly, so add quotes: double-quote
25872 # substitution turns \\\\ into \\, and sed turns \\ into \.
25873 sed -n \
25874 "s/'/'\\\\''/g;
25875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25876 ;; #(
25878 # `set' quotes correctly as required by POSIX, so do not add quotes.
25879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25881 esac |
25882 sort
25884 sed '
25885 /^ac_cv_env_/b end
25886 t clear
25887 :clear
25888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25889 t end
25890 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25891 :end' >>confcache
25892 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25893 if test -w "$cache_file"; then
25894 test "x$cache_file" != "x/dev/null" &&
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25896 $as_echo "$as_me: updating cache $cache_file" >&6;}
25897 cat confcache >$cache_file
25898 else
25899 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25900 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25903 rm -f confcache
25905 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25906 # Let make expand exec_prefix.
25907 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25909 DEFS=-DHAVE_CONFIG_H
25911 ac_libobjs=
25912 ac_ltlibobjs=
25913 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25914 # 1. Remove the extension, and $U if already installed.
25915 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25916 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25917 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25918 # will be set to the directory where LIBOBJS objects are built.
25919 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25920 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25921 done
25922 LIBOBJS=$ac_libobjs
25924 LTLIBOBJS=$ac_ltlibobjs
25927 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
25928 as_fn_error "conditional \"JAVA_MAINTAINER_MODE\" was never defined.
25929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25931 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
25932 as_fn_error "conditional \"GENINSRC\" was never defined.
25933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25935 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25936 as_fn_error "conditional \"INSTALL_BINARIES\" was never defined.
25937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25939 if test -n "$EXEEXT"; then
25940 am__EXEEXT_TRUE=
25941 am__EXEEXT_FALSE='#'
25942 else
25943 am__EXEEXT_TRUE='#'
25944 am__EXEEXT_FALSE=
25947 if test -z "${CREATE_COLLECTIONS_TRUE}" && test -z "${CREATE_COLLECTIONS_FALSE}"; then
25948 as_fn_error "conditional \"CREATE_COLLECTIONS\" was never defined.
25949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25951 if test -z "${CREATE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_JNI_LIBRARIES_FALSE}"; then
25952 as_fn_error "conditional \"CREATE_JNI_LIBRARIES\" was never defined.
25953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25955 if test -z "${CREATE_CORE_JNI_LIBRARIES_TRUE}" && test -z "${CREATE_CORE_JNI_LIBRARIES_FALSE}"; then
25956 as_fn_error "conditional \"CREATE_CORE_JNI_LIBRARIES\" was never defined.
25957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25959 if test -z "${CREATE_GCONF_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GCONF_PEER_LIBRARIES_FALSE}"; then
25960 as_fn_error "conditional \"CREATE_GCONF_PEER_LIBRARIES\" was never defined.
25961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25963 if test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GSTREAMER_PEER_LIBRARIES_FALSE}"; then
25964 as_fn_error "conditional \"CREATE_GSTREAMER_PEER_LIBRARIES\" was never defined.
25965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25967 if test -z "${CREATE_XMLJ_LIBRARY_TRUE}" && test -z "${CREATE_XMLJ_LIBRARY_FALSE}"; then
25968 as_fn_error "conditional \"CREATE_XMLJ_LIBRARY\" was never defined.
25969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25971 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25972 as_fn_error "conditional \"AMDEP\" was never defined.
25973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25975 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25976 as_fn_error "conditional \"am__fastdepCC\" was never defined.
25977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25979 if test -z "${CREATE_ALSA_LIBRARIES_TRUE}" && test -z "${CREATE_ALSA_LIBRARIES_FALSE}"; then
25980 as_fn_error "conditional \"CREATE_ALSA_LIBRARIES\" was never defined.
25981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25983 if test -z "${CREATE_DSSI_LIBRARIES_TRUE}" && test -z "${CREATE_DSSI_LIBRARIES_FALSE}"; then
25984 as_fn_error "conditional \"CREATE_DSSI_LIBRARIES\" was never defined.
25985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25987 if test -z "${CREATE_GTK_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_GTK_PEER_LIBRARIES_FALSE}"; then
25988 as_fn_error "conditional \"CREATE_GTK_PEER_LIBRARIES\" was never defined.
25989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25991 if test -z "${CREATE_QT_PEER_LIBRARIES_TRUE}" && test -z "${CREATE_QT_PEER_LIBRARIES_FALSE}"; then
25992 as_fn_error "conditional \"CREATE_QT_PEER_LIBRARIES\" was never defined.
25993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25995 if test -z "${CREATE_PLUGIN_TRUE}" && test -z "${CREATE_PLUGIN_FALSE}"; then
25996 as_fn_error "conditional \"CREATE_PLUGIN\" was never defined.
25997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25999 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
26000 as_fn_error "conditional \"CREATE_GJDOC\" was never defined.
26001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26003 if test -z "${CREATE_JNI_HEADERS_TRUE}" && test -z "${CREATE_JNI_HEADERS_FALSE}"; then
26004 as_fn_error "conditional \"CREATE_JNI_HEADERS\" was never defined.
26005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26007 if test -z "${CREATE_GJDOC_PARSER_TRUE}" && test -z "${CREATE_GJDOC_PARSER_FALSE}"; then
26008 as_fn_error "conditional \"CREATE_GJDOC_PARSER\" was never defined.
26009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26011 if test -z "${CREATE_WRAPPERS_TRUE}" && test -z "${CREATE_WRAPPERS_FALSE}"; then
26012 as_fn_error "conditional \"CREATE_WRAPPERS\" was never defined.
26013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26015 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26016 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26019 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26020 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
26021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26023 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26024 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26027 if test -z "${WITH_JAR_TRUE}" && test -z "${WITH_JAR_FALSE}"; then
26028 as_fn_error "conditional \"WITH_JAR\" was never defined.
26029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26031 if test -z "${INSTALL_GLIBJ_ZIP_TRUE}" && test -z "${INSTALL_GLIBJ_ZIP_FALSE}"; then
26032 as_fn_error "conditional \"INSTALL_GLIBJ_ZIP\" was never defined.
26033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26035 if test -z "${INSTALL_CLASS_FILES_TRUE}" && test -z "${INSTALL_CLASS_FILES_FALSE}"; then
26036 as_fn_error "conditional \"INSTALL_CLASS_FILES\" was never defined.
26037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26039 if test -z "${BUILD_CLASS_FILES_TRUE}" && test -z "${BUILD_CLASS_FILES_FALSE}"; then
26040 as_fn_error "conditional \"BUILD_CLASS_FILES\" was never defined.
26041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26043 if test -z "${CREATE_API_DOCS_TRUE}" && test -z "${CREATE_API_DOCS_FALSE}"; then
26044 as_fn_error "conditional \"CREATE_API_DOCS\" was never defined.
26045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26047 if test -z "${REGEN_PARSERS_TRUE}" && test -z "${REGEN_PARSERS_FALSE}"; then
26048 as_fn_error "conditional \"REGEN_PARSERS\" was never defined.
26049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26051 if test -z "${USE_PREBUILT_GLIBJ_ZIP_TRUE}" && test -z "${USE_PREBUILT_GLIBJ_ZIP_FALSE}"; then
26052 as_fn_error "conditional \"USE_PREBUILT_GLIBJ_ZIP\" was never defined.
26053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26055 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
26056 as_fn_error "conditional \"GCJ_JAVAC\" was never defined.
26057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26059 if test -z "${GCJ_JAVAC_TRUE}" && test -z "${GCJ_JAVAC_FALSE}"; then
26060 as_fn_error "conditional \"GCJ_JAVAC\" was never defined.
26061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26063 if test -z "${USE_ESCHER_TRUE}" && test -z "${USE_ESCHER_FALSE}"; then
26064 as_fn_error "conditional \"USE_ESCHER\" was never defined.
26065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26067 if test -z "${ENABLE_LOCAL_SOCKETS_TRUE}" && test -z "${ENABLE_LOCAL_SOCKETS_FALSE}"; then
26068 as_fn_error "conditional \"ENABLE_LOCAL_SOCKETS\" was never defined.
26069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26071 if test -z "${CREATE_GMPBI_LIBRARY_TRUE}" && test -z "${CREATE_GMPBI_LIBRARY_FALSE}"; then
26072 as_fn_error "conditional \"CREATE_GMPBI_LIBRARY\" was never defined.
26073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26076 : ${CONFIG_STATUS=./config.status}
26077 ac_write_fail=0
26078 ac_clean_files_save=$ac_clean_files
26079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26081 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26082 as_write_fail=0
26083 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26084 #! $SHELL
26085 # Generated by $as_me.
26086 # Run this file to recreate the current configuration.
26087 # Compiler output produced by configure, useful for debugging
26088 # configure, is in config.log if it exists.
26090 debug=false
26091 ac_cs_recheck=false
26092 ac_cs_silent=false
26094 SHELL=\${CONFIG_SHELL-$SHELL}
26095 export SHELL
26096 _ASEOF
26097 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26098 ## -------------------- ##
26099 ## M4sh Initialization. ##
26100 ## -------------------- ##
26102 # Be more Bourne compatible
26103 DUALCASE=1; export DUALCASE # for MKS sh
26104 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26105 emulate sh
26106 NULLCMD=:
26107 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26108 # is contrary to our usage. Disable this feature.
26109 alias -g '${1+"$@"}'='"$@"'
26110 setopt NO_GLOB_SUBST
26111 else
26112 case `(set -o) 2>/dev/null` in #(
26113 *posix*) :
26114 set -o posix ;; #(
26115 *) :
26117 esac
26121 as_nl='
26123 export as_nl
26124 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26125 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26126 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26127 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26128 # Prefer a ksh shell builtin over an external printf program on Solaris,
26129 # but without wasting forks for bash or zsh.
26130 if test -z "$BASH_VERSION$ZSH_VERSION" \
26131 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26132 as_echo='print -r --'
26133 as_echo_n='print -rn --'
26134 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26135 as_echo='printf %s\n'
26136 as_echo_n='printf %s'
26137 else
26138 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26139 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26140 as_echo_n='/usr/ucb/echo -n'
26141 else
26142 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26143 as_echo_n_body='eval
26144 arg=$1;
26145 case $arg in #(
26146 *"$as_nl"*)
26147 expr "X$arg" : "X\\(.*\\)$as_nl";
26148 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26149 esac;
26150 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26152 export as_echo_n_body
26153 as_echo_n='sh -c $as_echo_n_body as_echo'
26155 export as_echo_body
26156 as_echo='sh -c $as_echo_body as_echo'
26159 # The user is always right.
26160 if test "${PATH_SEPARATOR+set}" != set; then
26161 PATH_SEPARATOR=:
26162 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26163 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26164 PATH_SEPARATOR=';'
26169 # IFS
26170 # We need space, tab and new line, in precisely that order. Quoting is
26171 # there to prevent editors from complaining about space-tab.
26172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26173 # splitting by setting IFS to empty value.)
26174 IFS=" "" $as_nl"
26176 # Find who we are. Look in the path if we contain no directory separator.
26177 case $0 in #((
26178 *[\\/]* ) as_myself=$0 ;;
26179 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26180 for as_dir in $PATH
26182 IFS=$as_save_IFS
26183 test -z "$as_dir" && as_dir=.
26184 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26185 done
26186 IFS=$as_save_IFS
26189 esac
26190 # We did not find ourselves, most probably we were run as `sh COMMAND'
26191 # in which case we are not to be found in the path.
26192 if test "x$as_myself" = x; then
26193 as_myself=$0
26195 if test ! -f "$as_myself"; then
26196 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26197 exit 1
26200 # Unset variables that we do not need and which cause bugs (e.g. in
26201 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26202 # suppresses any "Segmentation fault" message there. '((' could
26203 # trigger a bug in pdksh 5.2.14.
26204 for as_var in BASH_ENV ENV MAIL MAILPATH
26205 do eval test x\${$as_var+set} = xset \
26206 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26207 done
26208 PS1='$ '
26209 PS2='> '
26210 PS4='+ '
26212 # NLS nuisances.
26213 LC_ALL=C
26214 export LC_ALL
26215 LANGUAGE=C
26216 export LANGUAGE
26218 # CDPATH.
26219 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26222 # as_fn_error ERROR [LINENO LOG_FD]
26223 # ---------------------------------
26224 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26225 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26226 # script with status $?, using 1 if that was 0.
26227 as_fn_error ()
26229 as_status=$?; test $as_status -eq 0 && as_status=1
26230 if test "$3"; then
26231 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26232 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26234 $as_echo "$as_me: error: $1" >&2
26235 as_fn_exit $as_status
26236 } # as_fn_error
26239 # as_fn_set_status STATUS
26240 # -----------------------
26241 # Set $? to STATUS, without forking.
26242 as_fn_set_status ()
26244 return $1
26245 } # as_fn_set_status
26247 # as_fn_exit STATUS
26248 # -----------------
26249 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26250 as_fn_exit ()
26252 set +e
26253 as_fn_set_status $1
26254 exit $1
26255 } # as_fn_exit
26257 # as_fn_unset VAR
26258 # ---------------
26259 # Portably unset VAR.
26260 as_fn_unset ()
26262 { eval $1=; unset $1;}
26264 as_unset=as_fn_unset
26265 # as_fn_append VAR VALUE
26266 # ----------------------
26267 # Append the text in VALUE to the end of the definition contained in VAR. Take
26268 # advantage of any shell optimizations that allow amortized linear growth over
26269 # repeated appends, instead of the typical quadratic growth present in naive
26270 # implementations.
26271 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26272 eval 'as_fn_append ()
26274 eval $1+=\$2
26276 else
26277 as_fn_append ()
26279 eval $1=\$$1\$2
26281 fi # as_fn_append
26283 # as_fn_arith ARG...
26284 # ------------------
26285 # Perform arithmetic evaluation on the ARGs, and store the result in the
26286 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26287 # must be portable across $(()) and expr.
26288 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26289 eval 'as_fn_arith ()
26291 as_val=$(( $* ))
26293 else
26294 as_fn_arith ()
26296 as_val=`expr "$@" || test $? -eq 1`
26298 fi # as_fn_arith
26301 if expr a : '\(a\)' >/dev/null 2>&1 &&
26302 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26303 as_expr=expr
26304 else
26305 as_expr=false
26308 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26309 as_basename=basename
26310 else
26311 as_basename=false
26314 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26315 as_dirname=dirname
26316 else
26317 as_dirname=false
26320 as_me=`$as_basename -- "$0" ||
26321 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26322 X"$0" : 'X\(//\)$' \| \
26323 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26324 $as_echo X/"$0" |
26325 sed '/^.*\/\([^/][^/]*\)\/*$/{
26326 s//\1/
26329 /^X\/\(\/\/\)$/{
26330 s//\1/
26333 /^X\/\(\/\).*/{
26334 s//\1/
26337 s/.*/./; q'`
26339 # Avoid depending upon Character Ranges.
26340 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26341 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26342 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26343 as_cr_digits='0123456789'
26344 as_cr_alnum=$as_cr_Letters$as_cr_digits
26346 ECHO_C= ECHO_N= ECHO_T=
26347 case `echo -n x` in #(((((
26348 -n*)
26349 case `echo 'xy\c'` in
26350 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26351 xy) ECHO_C='\c';;
26352 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26353 ECHO_T=' ';;
26354 esac;;
26356 ECHO_N='-n';;
26357 esac
26359 rm -f conf$$ conf$$.exe conf$$.file
26360 if test -d conf$$.dir; then
26361 rm -f conf$$.dir/conf$$.file
26362 else
26363 rm -f conf$$.dir
26364 mkdir conf$$.dir 2>/dev/null
26366 if (echo >conf$$.file) 2>/dev/null; then
26367 if ln -s conf$$.file conf$$ 2>/dev/null; then
26368 as_ln_s='ln -s'
26369 # ... but there are two gotchas:
26370 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26371 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26372 # In both cases, we have to default to `cp -p'.
26373 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26374 as_ln_s='cp -p'
26375 elif ln conf$$.file conf$$ 2>/dev/null; then
26376 as_ln_s=ln
26377 else
26378 as_ln_s='cp -p'
26380 else
26381 as_ln_s='cp -p'
26383 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26384 rmdir conf$$.dir 2>/dev/null
26387 # as_fn_mkdir_p
26388 # -------------
26389 # Create "$as_dir" as a directory, including parents if necessary.
26390 as_fn_mkdir_p ()
26393 case $as_dir in #(
26394 -*) as_dir=./$as_dir;;
26395 esac
26396 test -d "$as_dir" || eval $as_mkdir_p || {
26397 as_dirs=
26398 while :; do
26399 case $as_dir in #(
26400 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26401 *) as_qdir=$as_dir;;
26402 esac
26403 as_dirs="'$as_qdir' $as_dirs"
26404 as_dir=`$as_dirname -- "$as_dir" ||
26405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26406 X"$as_dir" : 'X\(//\)[^/]' \| \
26407 X"$as_dir" : 'X\(//\)$' \| \
26408 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26409 $as_echo X"$as_dir" |
26410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26411 s//\1/
26414 /^X\(\/\/\)[^/].*/{
26415 s//\1/
26418 /^X\(\/\/\)$/{
26419 s//\1/
26422 /^X\(\/\).*/{
26423 s//\1/
26426 s/.*/./; q'`
26427 test -d "$as_dir" && break
26428 done
26429 test -z "$as_dirs" || eval "mkdir $as_dirs"
26430 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26433 } # as_fn_mkdir_p
26434 if mkdir -p . 2>/dev/null; then
26435 as_mkdir_p='mkdir -p "$as_dir"'
26436 else
26437 test -d ./-p && rmdir ./-p
26438 as_mkdir_p=false
26441 if test -x / >/dev/null 2>&1; then
26442 as_test_x='test -x'
26443 else
26444 if ls -dL / >/dev/null 2>&1; then
26445 as_ls_L_option=L
26446 else
26447 as_ls_L_option=
26449 as_test_x='
26450 eval sh -c '\''
26451 if test -d "$1"; then
26452 test -d "$1/.";
26453 else
26454 case $1 in #(
26455 -*)set "./$1";;
26456 esac;
26457 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26458 ???[sx]*):;;*)false;;esac;fi
26459 '\'' sh
26462 as_executable_p=$as_test_x
26464 # Sed expression to map a string onto a valid CPP name.
26465 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26467 # Sed expression to map a string onto a valid variable name.
26468 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26471 exec 6>&1
26472 ## ----------------------------------- ##
26473 ## Main body of $CONFIG_STATUS script. ##
26474 ## ----------------------------------- ##
26475 _ASEOF
26476 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26479 # Save the log message, to keep $0 and so on meaningful, and to
26480 # report actual input values of CONFIG_FILES etc. instead of their
26481 # values after options handling.
26482 ac_log="
26483 This file was extended by GNU Classpath $as_me 0.99.1-pre, which was
26484 generated by GNU Autoconf 2.64. Invocation command line was
26486 CONFIG_FILES = $CONFIG_FILES
26487 CONFIG_HEADERS = $CONFIG_HEADERS
26488 CONFIG_LINKS = $CONFIG_LINKS
26489 CONFIG_COMMANDS = $CONFIG_COMMANDS
26490 $ $0 $@
26492 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26495 _ACEOF
26497 case $ac_config_files in *"
26498 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26499 esac
26501 case $ac_config_headers in *"
26502 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26503 esac
26506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26507 # Files that config.status was made for.
26508 config_files="$ac_config_files"
26509 config_headers="$ac_config_headers"
26510 config_links="$ac_config_links"
26511 config_commands="$ac_config_commands"
26513 _ACEOF
26515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26516 ac_cs_usage="\
26517 \`$as_me' instantiates files and other configuration actions
26518 from templates according to the current configuration. Unless the files
26519 and actions are specified as TAGs, all are instantiated by default.
26521 Usage: $0 [OPTION]... [TAG]...
26523 -h, --help print this help, then exit
26524 -V, --version print version number and configuration settings, then exit
26525 -q, --quiet, --silent
26526 do not print progress messages
26527 -d, --debug don't remove temporary files
26528 --recheck update $as_me by reconfiguring in the same conditions
26529 --file=FILE[:TEMPLATE]
26530 instantiate the configuration file FILE
26531 --header=FILE[:TEMPLATE]
26532 instantiate the configuration header FILE
26534 Configuration files:
26535 $config_files
26537 Configuration headers:
26538 $config_headers
26540 Configuration links:
26541 $config_links
26543 Configuration commands:
26544 $config_commands
26546 Report bugs to <classpath@gnu.org>.
26547 GNU Classpath home page: <http://www.gnu.org/software/classpath/>.
26548 General help using GNU software: <http://www.gnu.org/gethelp/>."
26550 _ACEOF
26551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26552 ac_cs_version="\\
26553 GNU Classpath config.status 0.99.1-pre
26554 configured by $0, generated by GNU Autoconf 2.64,
26555 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26557 Copyright (C) 2009 Free Software Foundation, Inc.
26558 This config.status script is free software; the Free Software Foundation
26559 gives unlimited permission to copy, distribute and modify it."
26561 ac_pwd='$ac_pwd'
26562 srcdir='$srcdir'
26563 INSTALL='$INSTALL'
26564 MKDIR_P='$MKDIR_P'
26565 AWK='$AWK'
26566 test -n "\$AWK" || AWK=awk
26567 _ACEOF
26569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26570 # The default lists apply if the user does not specify any file.
26571 ac_need_defaults=:
26572 while test $# != 0
26574 case $1 in
26575 --*=*)
26576 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26577 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26578 ac_shift=:
26581 ac_option=$1
26582 ac_optarg=$2
26583 ac_shift=shift
26585 esac
26587 case $ac_option in
26588 # Handling of the options.
26589 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26590 ac_cs_recheck=: ;;
26591 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26592 $as_echo "$ac_cs_version"; exit ;;
26593 --debug | --debu | --deb | --de | --d | -d )
26594 debug=: ;;
26595 --file | --fil | --fi | --f )
26596 $ac_shift
26597 case $ac_optarg in
26598 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26599 esac
26600 as_fn_append CONFIG_FILES " '$ac_optarg'"
26601 ac_need_defaults=false;;
26602 --header | --heade | --head | --hea )
26603 $ac_shift
26604 case $ac_optarg in
26605 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26606 esac
26607 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26608 ac_need_defaults=false;;
26609 --he | --h)
26610 # Conflict between --help and --header
26611 as_fn_error "ambiguous option: \`$1'
26612 Try \`$0 --help' for more information.";;
26613 --help | --hel | -h )
26614 $as_echo "$ac_cs_usage"; exit ;;
26615 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26616 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26617 ac_cs_silent=: ;;
26619 # This is an error.
26620 -*) as_fn_error "unrecognized option: \`$1'
26621 Try \`$0 --help' for more information." ;;
26623 *) as_fn_append ac_config_targets " $1"
26624 ac_need_defaults=false ;;
26626 esac
26627 shift
26628 done
26630 ac_configure_extra_args=
26632 if $ac_cs_silent; then
26633 exec 6>/dev/null
26634 ac_configure_extra_args="$ac_configure_extra_args --silent"
26637 _ACEOF
26638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26639 if \$ac_cs_recheck; then
26640 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26641 shift
26642 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26643 CONFIG_SHELL='$SHELL'
26644 export CONFIG_SHELL
26645 exec "\$@"
26648 _ACEOF
26649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26650 exec 5>>config.log
26652 echo
26653 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26654 ## Running $as_me. ##
26655 _ASBOX
26656 $as_echo "$ac_log"
26657 } >&5
26659 _ACEOF
26660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26662 # INIT-COMMANDS
26665 srcdir="$srcdir"
26666 host="$host"
26667 target="$target"
26668 with_multisubdir="$with_multisubdir"
26669 with_multisrctop="$with_multisrctop"
26670 with_target_subdir="$with_target_subdir"
26671 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26672 multi_basedir="$multi_basedir"
26673 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26674 CC="$CC"
26675 CXX="$CXX"
26676 GFORTRAN="$GFORTRAN"
26677 GCJ="$GCJ"
26678 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26681 # The HP-UX ksh and POSIX shell print the target directory to stdout
26682 # if CDPATH is set.
26683 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26685 sed_quote_subst='$sed_quote_subst'
26686 double_quote_subst='$double_quote_subst'
26687 delay_variable_subst='$delay_variable_subst'
26688 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26689 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26690 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26691 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26692 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26693 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26694 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26695 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26696 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26697 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26698 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26699 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26700 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26701 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26702 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26703 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26704 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26705 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26706 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26707 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26708 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26709 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26710 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26711 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26712 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26713 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26714 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26715 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26716 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26717 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26718 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26719 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26720 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26721 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26722 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26723 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26724 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26725 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26726 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26727 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26728 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26729 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26730 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26731 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26732 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26733 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26734 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26735 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26736 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"`'
26737 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26738 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26739 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26740 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26741 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26742 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26743 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26744 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26745 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26746 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26747 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26748 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26749 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26750 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26751 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26752 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26753 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26754 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26755 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26756 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26757 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26758 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26759 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26760 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26761 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26762 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26763 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26764 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26765 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26766 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26767 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26768 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26769 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26770 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26771 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26772 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26773 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26774 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26775 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26776 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26777 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26778 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26779 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26780 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26781 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26782 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26783 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26784 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26785 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26786 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26787 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26788 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26789 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26790 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26791 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26792 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26793 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26794 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26795 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26796 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26797 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26798 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26799 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26800 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26801 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26802 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26803 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26804 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26805 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26806 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26807 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26808 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26809 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26810 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26811 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26812 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26813 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26814 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26815 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26816 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26817 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26818 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26819 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26820 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26821 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26822 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26823 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26824 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26825 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26826 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26827 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26828 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26829 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26830 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26831 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26832 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26833 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26834 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26835 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26836 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26837 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26838 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26839 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26840 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
26841 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26842 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26843 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26844 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26845 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26846 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26847 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26848 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26849 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
26850 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26851 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26852 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26853 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26854 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26855 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26856 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26857 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26858 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26859 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26860 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26861 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26862 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26864 LTCC='$LTCC'
26865 LTCFLAGS='$LTCFLAGS'
26866 compiler='$compiler_DEFAULT'
26868 # A function that is used when there is no print builtin or printf.
26869 func_fallback_echo ()
26871 eval 'cat <<_LTECHO_EOF
26873 _LTECHO_EOF'
26876 # Quote evaled strings.
26877 for var in SHELL \
26878 ECHO \
26879 SED \
26880 GREP \
26881 EGREP \
26882 FGREP \
26883 LD \
26884 NM \
26885 LN_S \
26886 lt_SP2NL \
26887 lt_NL2SP \
26888 reload_flag \
26889 OBJDUMP \
26890 deplibs_check_method \
26891 file_magic_cmd \
26892 AR \
26893 AR_FLAGS \
26894 STRIP \
26895 RANLIB \
26896 CC \
26897 CFLAGS \
26898 compiler \
26899 lt_cv_sys_global_symbol_pipe \
26900 lt_cv_sys_global_symbol_to_cdecl \
26901 lt_cv_sys_global_symbol_to_c_name_address \
26902 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26903 lt_prog_compiler_no_builtin_flag \
26904 lt_prog_compiler_wl \
26905 lt_prog_compiler_pic \
26906 lt_prog_compiler_static \
26907 lt_cv_prog_compiler_c_o \
26908 need_locks \
26909 DSYMUTIL \
26910 NMEDIT \
26911 LIPO \
26912 OTOOL \
26913 OTOOL64 \
26914 shrext_cmds \
26915 export_dynamic_flag_spec \
26916 whole_archive_flag_spec \
26917 compiler_needs_object \
26918 with_gnu_ld \
26919 allow_undefined_flag \
26920 no_undefined_flag \
26921 hardcode_libdir_flag_spec \
26922 hardcode_libdir_flag_spec_ld \
26923 hardcode_libdir_separator \
26924 fix_srcfile_path \
26925 exclude_expsyms \
26926 include_expsyms \
26927 file_list_spec \
26928 variables_saved_for_relink \
26929 libname_spec \
26930 library_names_spec \
26931 soname_spec \
26932 install_override_mode \
26933 finish_eval \
26934 old_striplib \
26935 striplib \
26936 compiler_lib_search_dirs \
26937 predep_objects \
26938 postdep_objects \
26939 predeps \
26940 postdeps \
26941 compiler_lib_search_path \
26942 LD_CXX \
26943 reload_flag_CXX \
26944 compiler_CXX \
26945 lt_prog_compiler_no_builtin_flag_CXX \
26946 lt_prog_compiler_wl_CXX \
26947 lt_prog_compiler_pic_CXX \
26948 lt_prog_compiler_static_CXX \
26949 lt_cv_prog_compiler_c_o_CXX \
26950 export_dynamic_flag_spec_CXX \
26951 whole_archive_flag_spec_CXX \
26952 compiler_needs_object_CXX \
26953 with_gnu_ld_CXX \
26954 allow_undefined_flag_CXX \
26955 no_undefined_flag_CXX \
26956 hardcode_libdir_flag_spec_CXX \
26957 hardcode_libdir_flag_spec_ld_CXX \
26958 hardcode_libdir_separator_CXX \
26959 fix_srcfile_path_CXX \
26960 exclude_expsyms_CXX \
26961 include_expsyms_CXX \
26962 file_list_spec_CXX \
26963 compiler_lib_search_dirs_CXX \
26964 predep_objects_CXX \
26965 postdep_objects_CXX \
26966 predeps_CXX \
26967 postdeps_CXX \
26968 compiler_lib_search_path_CXX; do
26969 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26970 *[\\\\\\\`\\"\\\$]*)
26971 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26974 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26976 esac
26977 done
26979 # Double-quote double-evaled strings.
26980 for var in reload_cmds \
26981 old_postinstall_cmds \
26982 old_postuninstall_cmds \
26983 old_archive_cmds \
26984 extract_expsyms_cmds \
26985 old_archive_from_new_cmds \
26986 old_archive_from_expsyms_cmds \
26987 archive_cmds \
26988 archive_expsym_cmds \
26989 module_cmds \
26990 module_expsym_cmds \
26991 export_symbols_cmds \
26992 prelink_cmds \
26993 postinstall_cmds \
26994 postuninstall_cmds \
26995 finish_cmds \
26996 sys_lib_search_path_spec \
26997 sys_lib_dlsearch_path_spec \
26998 reload_cmds_CXX \
26999 old_archive_cmds_CXX \
27000 old_archive_from_new_cmds_CXX \
27001 old_archive_from_expsyms_cmds_CXX \
27002 archive_cmds_CXX \
27003 archive_expsym_cmds_CXX \
27004 module_cmds_CXX \
27005 module_expsym_cmds_CXX \
27006 export_symbols_cmds_CXX \
27007 prelink_cmds_CXX; do
27008 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27009 *[\\\\\\\`\\"\\\$]*)
27010 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27013 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27015 esac
27016 done
27018 ac_aux_dir='$ac_aux_dir'
27019 xsi_shell='$xsi_shell'
27020 lt_shell_append='$lt_shell_append'
27022 # See if we are running on zsh, and set the options which allow our
27023 # commands through without removal of \ escapes INIT.
27024 if test -n "\${ZSH_VERSION+set}" ; then
27025 setopt NO_GLOB_SUBST
27029 PACKAGE='$PACKAGE'
27030 VERSION='$VERSION'
27031 TIMESTAMP='$TIMESTAMP'
27032 RM='$RM'
27033 ofile='$ofile'
27039 # variables for create stdint.h replacement
27040 PACKAGE="$PACKAGE"
27041 VERSION="$VERSION"
27042 ac_stdint_h="$ac_stdint_h"
27043 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
27044 ac_cv_stdint_message="$ac_cv_stdint_message"
27045 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
27046 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
27047 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
27048 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
27049 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27050 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27051 ac_cv_char_data_model="$ac_cv_char_data_model"
27052 ac_cv_long_data_model="$ac_cv_long_data_model"
27053 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27054 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27055 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
27058 _ACEOF
27060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27062 # Handling of arguments.
27063 for ac_config_target in $ac_config_targets
27065 case $ac_config_target in
27066 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27067 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
27068 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27069 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27070 "lib/mkcollections.pl") CONFIG_FILES="$CONFIG_FILES lib/mkcollections.pl" ;;
27071 "mkcollections.pl") CONFIG_COMMANDS="$CONFIG_COMMANDS mkcollections.pl" ;;
27072 "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
27073 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
27074 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27075 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
27076 "doc/api/Makefile") CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
27077 "external/Makefile") CONFIG_FILES="$CONFIG_FILES external/Makefile" ;;
27078 "external/sax/Makefile") CONFIG_FILES="$CONFIG_FILES external/sax/Makefile" ;;
27079 "external/w3c_dom/Makefile") CONFIG_FILES="$CONFIG_FILES external/w3c_dom/Makefile" ;;
27080 "external/relaxngDatatype/Makefile") CONFIG_FILES="$CONFIG_FILES external/relaxngDatatype/Makefile" ;;
27081 "external/jsr166/Makefile") CONFIG_FILES="$CONFIG_FILES external/jsr166/Makefile" ;;
27082 "gnu/classpath/Configuration.java") CONFIG_FILES="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
27083 "gnu/java/security/Configuration.java") CONFIG_FILES="$CONFIG_FILES gnu/java/security/Configuration.java" ;;
27084 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
27085 "native/Makefile") CONFIG_FILES="$CONFIG_FILES native/Makefile" ;;
27086 "native/fdlibm/Makefile") CONFIG_FILES="$CONFIG_FILES native/fdlibm/Makefile" ;;
27087 "native/jawt/Makefile") CONFIG_FILES="$CONFIG_FILES native/jawt/Makefile" ;;
27088 "native/jni/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/Makefile" ;;
27089 "native/jni/classpath/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/classpath/Makefile" ;;
27090 "native/jni/java-io/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-io/Makefile" ;;
27091 "native/jni/java-lang/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-lang/Makefile" ;;
27092 "native/jni/java-math/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-math/Makefile" ;;
27093 "native/jni/java-net/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-net/Makefile" ;;
27094 "native/jni/java-nio/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-nio/Makefile" ;;
27095 "native/jni/java-util/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/java-util/Makefile" ;;
27096 "native/jni/gtk-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gtk-peer/Makefile" ;;
27097 "native/jni/gconf-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gconf-peer/Makefile" ;;
27098 "native/jni/gstreamer-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/gstreamer-peer/Makefile" ;;
27099 "native/jni/qt-peer/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/qt-peer/Makefile" ;;
27100 "native/jni/xmlj/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/xmlj/Makefile" ;;
27101 "native/jni/midi-alsa/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/midi-alsa/Makefile" ;;
27102 "native/jni/midi-dssi/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/midi-dssi/Makefile" ;;
27103 "native/jni/native-lib/Makefile") CONFIG_FILES="$CONFIG_FILES native/jni/native-lib/Makefile" ;;
27104 "native/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES native/plugin/Makefile" ;;
27105 "resource/Makefile") CONFIG_FILES="$CONFIG_FILES resource/Makefile" ;;
27106 "resource/META-INF/services/java.util.prefs.PreferencesFactory") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/java.util.prefs.PreferencesFactory" ;;
27107 "resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader" ;;
27108 "resource/META-INF/services/javax.sound.sampled.spi.MixerProvider") CONFIG_FILES="$CONFIG_FILES resource/META-INF/services/javax.sound.sampled.spi.MixerProvider" ;;
27109 "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
27110 "scripts/classpath.spec") CONFIG_FILES="$CONFIG_FILES scripts/classpath.spec" ;;
27111 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
27112 "lib/gen-classlist.sh") CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;;
27113 "lib/copy-vmresources.sh") CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;;
27114 "scripts/check_jni_methods.sh") CONFIG_FILES="$CONFIG_FILES scripts/check_jni_methods.sh" ;;
27115 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
27116 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
27117 "examples/Makefile.jawt") CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;;
27118 "examples/Makefile.java2d") CONFIG_FILES="$CONFIG_FILES examples/Makefile.java2d" ;;
27119 "tools/gappletviewer") CONFIG_FILES="$CONFIG_FILES tools/gappletviewer" ;;
27120 "tools/gjarsigner") CONFIG_FILES="$CONFIG_FILES tools/gjarsigner" ;;
27121 "tools/gkeytool") CONFIG_FILES="$CONFIG_FILES tools/gkeytool" ;;
27122 "tools/gjar") CONFIG_FILES="$CONFIG_FILES tools/gjar" ;;
27123 "tools/gnative2ascii") CONFIG_FILES="$CONFIG_FILES tools/gnative2ascii" ;;
27124 "tools/gserialver") CONFIG_FILES="$CONFIG_FILES tools/gserialver" ;;
27125 "tools/grmiregistry") CONFIG_FILES="$CONFIG_FILES tools/grmiregistry" ;;
27126 "tools/gtnameserv") CONFIG_FILES="$CONFIG_FILES tools/gtnameserv" ;;
27127 "tools/gorbd") CONFIG_FILES="$CONFIG_FILES tools/gorbd" ;;
27128 "tools/grmid") CONFIG_FILES="$CONFIG_FILES tools/grmid" ;;
27129 "tools/grmic") CONFIG_FILES="$CONFIG_FILES tools/grmic" ;;
27130 "tools/gjavah") CONFIG_FILES="$CONFIG_FILES tools/gjavah" ;;
27131 "gappletviewer") CONFIG_COMMANDS="$CONFIG_COMMANDS gappletviewer" ;;
27132 "gjarsigner") CONFIG_COMMANDS="$CONFIG_COMMANDS gjarsigner" ;;
27133 "gkeytool") CONFIG_COMMANDS="$CONFIG_COMMANDS gkeytool" ;;
27134 "gjar") CONFIG_COMMANDS="$CONFIG_COMMANDS gjar" ;;
27135 "gnative2ascii") CONFIG_COMMANDS="$CONFIG_COMMANDS gnative2ascii" ;;
27136 "gserialver") CONFIG_COMMANDS="$CONFIG_COMMANDS gserialver" ;;
27137 "grmiregistry") CONFIG_COMMANDS="$CONFIG_COMMANDS grmiregistry" ;;
27138 "gtnameserv") CONFIG_COMMANDS="$CONFIG_COMMANDS gtnameserv" ;;
27139 "gorbd") CONFIG_COMMANDS="$CONFIG_COMMANDS gorbd" ;;
27140 "grmid") CONFIG_COMMANDS="$CONFIG_COMMANDS grmid" ;;
27141 "grmic") CONFIG_COMMANDS="$CONFIG_COMMANDS grmic" ;;
27142 "gjavah") CONFIG_COMMANDS="$CONFIG_COMMANDS gjavah" ;;
27143 "tools/gjdoc") CONFIG_FILES="$CONFIG_FILES tools/gjdoc" ;;
27144 "gjdoc") CONFIG_COMMANDS="$CONFIG_COMMANDS gjdoc" ;;
27145 "gen-classlist") CONFIG_COMMANDS="$CONFIG_COMMANDS gen-classlist" ;;
27146 "copy-vmresources") CONFIG_COMMANDS="$CONFIG_COMMANDS copy-vmresources" ;;
27148 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27149 esac
27150 done
27153 # If the user did not use the arguments to specify the items to instantiate,
27154 # then the envvar interface is used. Set only those that are not.
27155 # We use the long form for the default assignment because of an extremely
27156 # bizarre bug on SunOS 4.1.3.
27157 if $ac_need_defaults; then
27158 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27159 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27160 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
27161 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27164 # Have a temporary directory for convenience. Make it in the build tree
27165 # simply because there is no reason against having it here, and in addition,
27166 # creating and moving files from /tmp can sometimes cause problems.
27167 # Hook for its removal unless debugging.
27168 # Note that there is a small window in which the directory will not be cleaned:
27169 # after its creation but before its name has been assigned to `$tmp'.
27170 $debug ||
27172 tmp=
27173 trap 'exit_status=$?
27174 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27176 trap 'as_fn_exit 1' 1 2 13 15
27178 # Create a (secure) tmp directory for tmp files.
27181 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27182 test -n "$tmp" && test -d "$tmp"
27183 } ||
27185 tmp=./conf$$-$RANDOM
27186 (umask 077 && mkdir "$tmp")
27187 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27189 # Set up the scripts for CONFIG_FILES section.
27190 # No need to generate them if there are no CONFIG_FILES.
27191 # This happens for instance with `./config.status config.h'.
27192 if test -n "$CONFIG_FILES"; then
27195 ac_cr=`echo X | tr X '\015'`
27196 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27197 # But we know of no other shell where ac_cr would be empty at this
27198 # point, so we can use a bashism as a fallback.
27199 if test "x$ac_cr" = x; then
27200 eval ac_cr=\$\'\\r\'
27202 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27203 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27204 ac_cs_awk_cr='\r'
27205 else
27206 ac_cs_awk_cr=$ac_cr
27209 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27210 _ACEOF
27214 echo "cat >conf$$subs.awk <<_ACEOF" &&
27215 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27216 echo "_ACEOF"
27217 } >conf$$subs.sh ||
27218 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27219 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27220 ac_delim='%!_!# '
27221 for ac_last_try in false false false false false :; do
27222 . ./conf$$subs.sh ||
27223 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27225 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27226 if test $ac_delim_n = $ac_delim_num; then
27227 break
27228 elif $ac_last_try; then
27229 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27230 else
27231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27233 done
27234 rm -f conf$$subs.sh
27236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27237 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27238 _ACEOF
27239 sed -n '
27241 s/^/S["/; s/!.*/"]=/
27244 s/^[^!]*!//
27245 :repl
27246 t repl
27247 s/'"$ac_delim"'$//
27248 t delim
27251 s/\(.\{148\}\).*/\1/
27252 t more1
27253 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27256 b repl
27257 :more1
27258 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27261 s/.\{148\}//
27262 t nl
27263 :delim
27265 s/\(.\{148\}\).*/\1/
27266 t more2
27267 s/["\\]/\\&/g; s/^/"/; s/$/"/
27270 :more2
27271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27274 s/.\{148\}//
27275 t delim
27276 ' <conf$$subs.awk | sed '
27277 /^[^""]/{
27279 s/\n//
27281 ' >>$CONFIG_STATUS || ac_write_fail=1
27282 rm -f conf$$subs.awk
27283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27284 _ACAWK
27285 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27286 for (key in S) S_is_set[key] = 1
27287 FS = "\a"
27291 line = $ 0
27292 nfields = split(line, field, "@")
27293 substed = 0
27294 len = length(field[1])
27295 for (i = 2; i < nfields; i++) {
27296 key = field[i]
27297 keylen = length(key)
27298 if (S_is_set[key]) {
27299 value = S[key]
27300 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27301 len += length(value) + length(field[++i])
27302 substed = 1
27303 } else
27304 len += 1 + keylen
27307 print line
27310 _ACAWK
27311 _ACEOF
27312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27313 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27314 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27315 else
27317 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27318 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27319 _ACEOF
27321 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27322 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27323 # trailing colons and then remove the whole line if VPATH becomes empty
27324 # (actually we leave an empty line to preserve line numbers).
27325 if test "x$srcdir" = x.; then
27326 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27327 s/:*\$(srcdir):*/:/
27328 s/:*\${srcdir}:*/:/
27329 s/:*@srcdir@:*/:/
27330 s/^\([^=]*=[ ]*\):*/\1/
27331 s/:*$//
27332 s/^[^=]*=[ ]*$//
27336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27337 fi # test -n "$CONFIG_FILES"
27339 # Set up the scripts for CONFIG_HEADERS section.
27340 # No need to generate them if there are no CONFIG_HEADERS.
27341 # This happens for instance with `./config.status Makefile'.
27342 if test -n "$CONFIG_HEADERS"; then
27343 cat >"$tmp/defines.awk" <<\_ACAWK ||
27344 BEGIN {
27345 _ACEOF
27347 # Transform confdefs.h into an awk script `defines.awk', embedded as
27348 # here-document in config.status, that substitutes the proper values into
27349 # config.h.in to produce config.h.
27351 # Create a delimiter string that does not exist in confdefs.h, to ease
27352 # handling of long lines.
27353 ac_delim='%!_!# '
27354 for ac_last_try in false false :; do
27355 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27356 if test -z "$ac_t"; then
27357 break
27358 elif $ac_last_try; then
27359 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27360 else
27361 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27363 done
27365 # For the awk script, D is an array of macro values keyed by name,
27366 # likewise P contains macro parameters if any. Preserve backslash
27367 # newline sequences.
27369 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27370 sed -n '
27371 s/.\{148\}/&'"$ac_delim"'/g
27372 t rset
27373 :rset
27374 s/^[ ]*#[ ]*define[ ][ ]*/ /
27375 t def
27377 :def
27378 s/\\$//
27379 t bsnl
27380 s/["\\]/\\&/g
27381 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27382 D["\1"]=" \3"/p
27383 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27385 :bsnl
27386 s/["\\]/\\&/g
27387 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27388 D["\1"]=" \3\\\\\\n"\\/p
27389 t cont
27390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27391 t cont
27393 :cont
27395 s/.\{148\}/&'"$ac_delim"'/g
27396 t clear
27397 :clear
27398 s/\\$//
27399 t bsnlc
27400 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27402 :bsnlc
27403 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27404 b cont
27405 ' <confdefs.h | sed '
27406 s/'"$ac_delim"'/"\\\
27407 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27410 for (key in D) D_is_set[key] = 1
27411 FS = "\a"
27413 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27414 line = \$ 0
27415 split(line, arg, " ")
27416 if (arg[1] == "#") {
27417 defundef = arg[2]
27418 mac1 = arg[3]
27419 } else {
27420 defundef = substr(arg[1], 2)
27421 mac1 = arg[2]
27423 split(mac1, mac2, "(") #)
27424 macro = mac2[1]
27425 prefix = substr(line, 1, index(line, defundef) - 1)
27426 if (D_is_set[macro]) {
27427 # Preserve the white space surrounding the "#".
27428 print prefix "define", macro P[macro] D[macro]
27429 next
27430 } else {
27431 # Replace #undef with comments. This is necessary, for example,
27432 # in the case of _POSIX_SOURCE, which is predefined and required
27433 # on some systems where configure will not decide to define it.
27434 if (defundef == "undef") {
27435 print "/*", prefix defundef, macro, "*/"
27436 next
27440 { print }
27441 _ACAWK
27442 _ACEOF
27443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27444 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27445 fi # test -n "$CONFIG_HEADERS"
27448 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
27449 shift
27450 for ac_tag
27452 case $ac_tag in
27453 :[FHLC]) ac_mode=$ac_tag; continue;;
27454 esac
27455 case $ac_mode$ac_tag in
27456 :[FHL]*:*);;
27457 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27458 :[FH]-) ac_tag=-:-;;
27459 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27460 esac
27461 ac_save_IFS=$IFS
27462 IFS=:
27463 set x $ac_tag
27464 IFS=$ac_save_IFS
27465 shift
27466 ac_file=$1
27467 shift
27469 case $ac_mode in
27470 :L) ac_source=$1;;
27471 :[FH])
27472 ac_file_inputs=
27473 for ac_f
27475 case $ac_f in
27476 -) ac_f="$tmp/stdin";;
27477 *) # Look for the file first in the build tree, then in the source tree
27478 # (if the path is not absolute). The absolute path cannot be DOS-style,
27479 # because $ac_f cannot contain `:'.
27480 test -f "$ac_f" ||
27481 case $ac_f in
27482 [\\/$]*) false;;
27483 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27484 esac ||
27485 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27486 esac
27487 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27488 as_fn_append ac_file_inputs " '$ac_f'"
27489 done
27491 # Let's still pretend it is `configure' which instantiates (i.e., don't
27492 # use $as_me), people would be surprised to read:
27493 # /* config.h. Generated by config.status. */
27494 configure_input='Generated from '`
27495 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27496 `' by configure.'
27497 if test x"$ac_file" != x-; then
27498 configure_input="$ac_file. $configure_input"
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27500 $as_echo "$as_me: creating $ac_file" >&6;}
27502 # Neutralize special characters interpreted by sed in replacement strings.
27503 case $configure_input in #(
27504 *\&* | *\|* | *\\* )
27505 ac_sed_conf_input=`$as_echo "$configure_input" |
27506 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27507 *) ac_sed_conf_input=$configure_input;;
27508 esac
27510 case $ac_tag in
27511 *:-:* | *:-) cat >"$tmp/stdin" \
27512 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27513 esac
27515 esac
27517 ac_dir=`$as_dirname -- "$ac_file" ||
27518 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27519 X"$ac_file" : 'X\(//\)[^/]' \| \
27520 X"$ac_file" : 'X\(//\)$' \| \
27521 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27522 $as_echo X"$ac_file" |
27523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27524 s//\1/
27527 /^X\(\/\/\)[^/].*/{
27528 s//\1/
27531 /^X\(\/\/\)$/{
27532 s//\1/
27535 /^X\(\/\).*/{
27536 s//\1/
27539 s/.*/./; q'`
27540 as_dir="$ac_dir"; as_fn_mkdir_p
27541 ac_builddir=.
27543 case "$ac_dir" in
27544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27546 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27547 # A ".." for each directory in $ac_dir_suffix.
27548 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27549 case $ac_top_builddir_sub in
27550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27552 esac ;;
27553 esac
27554 ac_abs_top_builddir=$ac_pwd
27555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27556 # for backward compatibility:
27557 ac_top_builddir=$ac_top_build_prefix
27559 case $srcdir in
27560 .) # We are building in place.
27561 ac_srcdir=.
27562 ac_top_srcdir=$ac_top_builddir_sub
27563 ac_abs_top_srcdir=$ac_pwd ;;
27564 [\\/]* | ?:[\\/]* ) # Absolute name.
27565 ac_srcdir=$srcdir$ac_dir_suffix;
27566 ac_top_srcdir=$srcdir
27567 ac_abs_top_srcdir=$srcdir ;;
27568 *) # Relative name.
27569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27570 ac_top_srcdir=$ac_top_build_prefix$srcdir
27571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27572 esac
27573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27576 case $ac_mode in
27579 # CONFIG_FILE
27582 case $INSTALL in
27583 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27584 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27585 esac
27586 ac_MKDIR_P=$MKDIR_P
27587 case $MKDIR_P in
27588 [\\/$]* | ?:[\\/]* ) ;;
27589 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27590 esac
27591 _ACEOF
27593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27594 # If the template does not know about datarootdir, expand it.
27595 # FIXME: This hack should be removed a few years after 2.60.
27596 ac_datarootdir_hack=; ac_datarootdir_seen=
27597 ac_sed_dataroot='
27598 /datarootdir/ {
27602 /@datadir@/p
27603 /@docdir@/p
27604 /@infodir@/p
27605 /@localedir@/p
27606 /@mandir@/p'
27607 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27608 *datarootdir*) ac_datarootdir_seen=yes;;
27609 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27611 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27612 _ACEOF
27613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27614 ac_datarootdir_hack='
27615 s&@datadir@&$datadir&g
27616 s&@docdir@&$docdir&g
27617 s&@infodir@&$infodir&g
27618 s&@localedir@&$localedir&g
27619 s&@mandir@&$mandir&g
27620 s&\\\${datarootdir}&$datarootdir&g' ;;
27621 esac
27622 _ACEOF
27624 # Neutralize VPATH when `$srcdir' = `.'.
27625 # Shell code in configure.ac might set extrasub.
27626 # FIXME: do we really want to maintain this feature?
27627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27628 ac_sed_extra="$ac_vpsub
27629 $extrasub
27630 _ACEOF
27631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27633 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27634 s|@configure_input@|$ac_sed_conf_input|;t t
27635 s&@top_builddir@&$ac_top_builddir_sub&;t t
27636 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27637 s&@srcdir@&$ac_srcdir&;t t
27638 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27639 s&@top_srcdir@&$ac_top_srcdir&;t t
27640 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27641 s&@builddir@&$ac_builddir&;t t
27642 s&@abs_builddir@&$ac_abs_builddir&;t t
27643 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27644 s&@INSTALL@&$ac_INSTALL&;t t
27645 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27646 $ac_datarootdir_hack
27648 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27649 || as_fn_error "could not create $ac_file" "$LINENO" 5
27651 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27652 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27653 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27655 which seems to be undefined. Please make sure it is defined." >&5
27656 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27657 which seems to be undefined. Please make sure it is defined." >&2;}
27659 rm -f "$tmp/stdin"
27660 case $ac_file in
27661 -) cat "$tmp/out" && rm -f "$tmp/out";;
27662 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27663 esac \
27664 || as_fn_error "could not create $ac_file" "$LINENO" 5
27668 # CONFIG_HEADER
27670 if test x"$ac_file" != x-; then
27672 $as_echo "/* $configure_input */" \
27673 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27674 } >"$tmp/config.h" \
27675 || as_fn_error "could not create $ac_file" "$LINENO" 5
27676 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27677 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27678 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27679 else
27680 rm -f "$ac_file"
27681 mv "$tmp/config.h" "$ac_file" \
27682 || as_fn_error "could not create $ac_file" "$LINENO" 5
27684 else
27685 $as_echo "/* $configure_input */" \
27686 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27687 || as_fn_error "could not create -" "$LINENO" 5
27689 # Compute "$ac_file"'s index in $config_headers.
27690 _am_arg="$ac_file"
27691 _am_stamp_count=1
27692 for _am_header in $config_headers :; do
27693 case $_am_header in
27694 $_am_arg | $_am_arg:* )
27695 break ;;
27697 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27698 esac
27699 done
27700 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27701 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27702 X"$_am_arg" : 'X\(//\)[^/]' \| \
27703 X"$_am_arg" : 'X\(//\)$' \| \
27704 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27705 $as_echo X"$_am_arg" |
27706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27707 s//\1/
27710 /^X\(\/\/\)[^/].*/{
27711 s//\1/
27714 /^X\(\/\/\)$/{
27715 s//\1/
27718 /^X\(\/\).*/{
27719 s//\1/
27722 s/.*/./; q'`/stamp-h$_am_stamp_count
27726 # CONFIG_LINK
27729 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
27731 else
27732 # Prefer the file from the source tree if names are identical.
27733 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
27734 ac_source=$srcdir/$ac_source
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
27738 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
27740 if test ! -r "$ac_source"; then
27741 as_fn_error "$ac_source: file not found" "$LINENO" 5
27743 rm -f "$ac_file"
27745 # Try a relative symlink, then a hard link, then a copy.
27746 case $srcdir in
27747 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
27748 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
27749 esac
27750 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
27751 ln "$ac_source" "$ac_file" 2>/dev/null ||
27752 cp -p "$ac_source" "$ac_file" ||
27753 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
27756 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27757 $as_echo "$as_me: executing $ac_file commands" >&6;}
27759 esac
27762 case $ac_file$ac_mode in
27763 "default-1":C)
27764 # Only add multilib support code if we just rebuilt the top-level
27765 # Makefile.
27766 case " $CONFIG_FILES " in
27767 *" Makefile "*)
27768 ac_file=Makefile . ${multi_basedir}/config-ml.in
27770 esac ;;
27771 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27772 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27773 # are listed without --file. Let's play safe and only enable the eval
27774 # if we detect the quoting.
27775 case $CONFIG_FILES in
27776 *\'*) eval set x "$CONFIG_FILES" ;;
27777 *) set x $CONFIG_FILES ;;
27778 esac
27779 shift
27780 for mf
27782 # Strip MF so we end up with the name of the file.
27783 mf=`echo "$mf" | sed -e 's/:.*$//'`
27784 # Check whether this is an Automake generated Makefile or not.
27785 # We used to match only the files named `Makefile.in', but
27786 # some people rename them; so instead we look at the file content.
27787 # Grep'ing the first line is not enough: some people post-process
27788 # each Makefile.in and add a new line on top of each file to say so.
27789 # Grep'ing the whole file is not good either: AIX grep has a line
27790 # limit of 2048, but all sed's we know have understand at least 4000.
27791 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27792 dirpart=`$as_dirname -- "$mf" ||
27793 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27794 X"$mf" : 'X\(//\)[^/]' \| \
27795 X"$mf" : 'X\(//\)$' \| \
27796 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27797 $as_echo X"$mf" |
27798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27799 s//\1/
27802 /^X\(\/\/\)[^/].*/{
27803 s//\1/
27806 /^X\(\/\/\)$/{
27807 s//\1/
27810 /^X\(\/\).*/{
27811 s//\1/
27814 s/.*/./; q'`
27815 else
27816 continue
27818 # Extract the definition of DEPDIR, am__include, and am__quote
27819 # from the Makefile without running `make'.
27820 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27821 test -z "$DEPDIR" && continue
27822 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27823 test -z "am__include" && continue
27824 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27825 # When using ansi2knr, U may be empty or an underscore; expand it
27826 U=`sed -n 's/^U = //p' < "$mf"`
27827 # Find all dependency output files, they are included files with
27828 # $(DEPDIR) in their names. We invoke sed twice because it is the
27829 # simplest approach to changing $(DEPDIR) to its actual value in the
27830 # expansion.
27831 for file in `sed -n "
27832 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27833 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27834 # Make sure the directory exists.
27835 test -f "$dirpart/$file" && continue
27836 fdir=`$as_dirname -- "$file" ||
27837 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27838 X"$file" : 'X\(//\)[^/]' \| \
27839 X"$file" : 'X\(//\)$' \| \
27840 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27841 $as_echo X"$file" |
27842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27843 s//\1/
27846 /^X\(\/\/\)[^/].*/{
27847 s//\1/
27850 /^X\(\/\/\)$/{
27851 s//\1/
27854 /^X\(\/\).*/{
27855 s//\1/
27858 s/.*/./; q'`
27859 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27860 # echo "creating $dirpart/$file"
27861 echo '# dummy' > "$dirpart/$file"
27862 done
27863 done
27866 "libtool":C)
27868 # See if we are running on zsh, and set the options which allow our
27869 # commands through without removal of \ escapes.
27870 if test -n "${ZSH_VERSION+set}" ; then
27871 setopt NO_GLOB_SUBST
27874 cfgfile="${ofile}T"
27875 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27876 $RM "$cfgfile"
27878 cat <<_LT_EOF >> "$cfgfile"
27879 #! $SHELL
27881 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27882 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27883 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27884 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27886 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27887 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27888 # Written by Gordon Matzigkeit, 1996
27890 # This file is part of GNU Libtool.
27892 # GNU Libtool is free software; you can redistribute it and/or
27893 # modify it under the terms of the GNU General Public License as
27894 # published by the Free Software Foundation; either version 2 of
27895 # the License, or (at your option) any later version.
27897 # As a special exception to the GNU General Public License,
27898 # if you distribute this file as part of a program or library that
27899 # is built using GNU Libtool, you may include this file under the
27900 # same distribution terms that you use for the rest of that program.
27902 # GNU Libtool is distributed in the hope that it will be useful,
27903 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27904 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27905 # GNU General Public License for more details.
27907 # You should have received a copy of the GNU General Public License
27908 # along with GNU Libtool; see the file COPYING. If not, a copy
27909 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27910 # obtained by writing to the Free Software Foundation, Inc.,
27911 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27914 # The names of the tagged configurations supported by this script.
27915 available_tags="CXX "
27917 # ### BEGIN LIBTOOL CONFIG
27919 # Whether or not to build static libraries.
27920 build_old_libs=$enable_static
27922 # Which release of libtool.m4 was used?
27923 macro_version=$macro_version
27924 macro_revision=$macro_revision
27926 # Whether or not to build shared libraries.
27927 build_libtool_libs=$enable_shared
27929 # What type of objects to build.
27930 pic_mode=$pic_mode
27932 # Whether or not to optimize for fast installation.
27933 fast_install=$enable_fast_install
27935 # Shell to use when invoking shell scripts.
27936 SHELL=$lt_SHELL
27938 # An echo program that protects backslashes.
27939 ECHO=$lt_ECHO
27941 # The host system.
27942 host_alias=$host_alias
27943 host=$host
27944 host_os=$host_os
27946 # The build system.
27947 build_alias=$build_alias
27948 build=$build
27949 build_os=$build_os
27951 # A sed program that does not truncate output.
27952 SED=$lt_SED
27954 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27955 Xsed="\$SED -e 1s/^X//"
27957 # A grep program that handles long lines.
27958 GREP=$lt_GREP
27960 # An ERE matcher.
27961 EGREP=$lt_EGREP
27963 # A literal string matcher.
27964 FGREP=$lt_FGREP
27966 # A BSD- or MS-compatible name lister.
27967 NM=$lt_NM
27969 # Whether we need soft or hard links.
27970 LN_S=$lt_LN_S
27972 # What is the maximum length of a command?
27973 max_cmd_len=$max_cmd_len
27975 # Object file suffix (normally "o").
27976 objext=$ac_objext
27978 # Executable file suffix (normally "").
27979 exeext=$exeext
27981 # whether the shell understands "unset".
27982 lt_unset=$lt_unset
27984 # turn spaces into newlines.
27985 SP2NL=$lt_lt_SP2NL
27987 # turn newlines into spaces.
27988 NL2SP=$lt_lt_NL2SP
27990 # An object symbol dumper.
27991 OBJDUMP=$lt_OBJDUMP
27993 # Method to check whether dependent libraries are shared objects.
27994 deplibs_check_method=$lt_deplibs_check_method
27996 # Command to use when deplibs_check_method == "file_magic".
27997 file_magic_cmd=$lt_file_magic_cmd
27999 # The archiver.
28000 AR=$lt_AR
28001 AR_FLAGS=$lt_AR_FLAGS
28003 # A symbol stripping program.
28004 STRIP=$lt_STRIP
28006 # Commands used to install an old-style archive.
28007 RANLIB=$lt_RANLIB
28008 old_postinstall_cmds=$lt_old_postinstall_cmds
28009 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28011 # Whether to use a lock for old archive extraction.
28012 lock_old_archive_extraction=$lock_old_archive_extraction
28014 # A C compiler.
28015 LTCC=$lt_CC
28017 # LTCC compiler flags.
28018 LTCFLAGS=$lt_CFLAGS
28020 # Take the output of nm and produce a listing of raw symbols and C names.
28021 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28023 # Transform the output of nm in a proper C declaration.
28024 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28026 # Transform the output of nm in a C name address pair.
28027 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28029 # Transform the output of nm in a C name address pair when lib prefix is needed.
28030 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28032 # The name of the directory that contains temporary libtool files.
28033 objdir=$objdir
28035 # Used to examine libraries when file_magic_cmd begins with "file".
28036 MAGIC_CMD=$MAGIC_CMD
28038 # Must we lock files when doing compilation?
28039 need_locks=$lt_need_locks
28041 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28042 DSYMUTIL=$lt_DSYMUTIL
28044 # Tool to change global to local symbols on Mac OS X.
28045 NMEDIT=$lt_NMEDIT
28047 # Tool to manipulate fat objects and archives on Mac OS X.
28048 LIPO=$lt_LIPO
28050 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28051 OTOOL=$lt_OTOOL
28053 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28054 OTOOL64=$lt_OTOOL64
28056 # Old archive suffix (normally "a").
28057 libext=$libext
28059 # Shared library suffix (normally ".so").
28060 shrext_cmds=$lt_shrext_cmds
28062 # The commands to extract the exported symbol list from a shared archive.
28063 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28065 # Variables whose values should be saved in libtool wrapper scripts and
28066 # restored at link time.
28067 variables_saved_for_relink=$lt_variables_saved_for_relink
28069 # Do we need the "lib" prefix for modules?
28070 need_lib_prefix=$need_lib_prefix
28072 # Do we need a version for libraries?
28073 need_version=$need_version
28075 # Library versioning type.
28076 version_type=$version_type
28078 # Shared library runtime path variable.
28079 runpath_var=$runpath_var
28081 # Shared library path variable.
28082 shlibpath_var=$shlibpath_var
28084 # Is shlibpath searched before the hard-coded library search path?
28085 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28087 # Format of library name prefix.
28088 libname_spec=$lt_libname_spec
28090 # List of archive names. First name is the real one, the rest are links.
28091 # The last name is the one that the linker finds with -lNAME
28092 library_names_spec=$lt_library_names_spec
28094 # The coded name of the library, if different from the real name.
28095 soname_spec=$lt_soname_spec
28097 # Permission mode override for installation of shared libraries.
28098 install_override_mode=$lt_install_override_mode
28100 # Command to use after installation of a shared archive.
28101 postinstall_cmds=$lt_postinstall_cmds
28103 # Command to use after uninstallation of a shared archive.
28104 postuninstall_cmds=$lt_postuninstall_cmds
28106 # Commands used to finish a libtool library installation in a directory.
28107 finish_cmds=$lt_finish_cmds
28109 # As "finish_cmds", except a single script fragment to be evaled but
28110 # not shown.
28111 finish_eval=$lt_finish_eval
28113 # Whether we should hardcode library paths into libraries.
28114 hardcode_into_libs=$hardcode_into_libs
28116 # Compile-time system search path for libraries.
28117 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28119 # Run-time system search path for libraries.
28120 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28122 # Whether dlopen is supported.
28123 dlopen_support=$enable_dlopen
28125 # Whether dlopen of programs is supported.
28126 dlopen_self=$enable_dlopen_self
28128 # Whether dlopen of statically linked programs is supported.
28129 dlopen_self_static=$enable_dlopen_self_static
28131 # Commands to strip libraries.
28132 old_striplib=$lt_old_striplib
28133 striplib=$lt_striplib
28136 # The linker used to build libraries.
28137 LD=$lt_LD
28139 # How to create reloadable object files.
28140 reload_flag=$lt_reload_flag
28141 reload_cmds=$lt_reload_cmds
28143 # Commands used to build an old-style archive.
28144 old_archive_cmds=$lt_old_archive_cmds
28146 # A language specific compiler.
28147 CC=$lt_compiler
28149 # Is the compiler the GNU compiler?
28150 with_gcc=$GCC
28152 # Compiler flag to turn off builtin functions.
28153 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28155 # How to pass a linker flag through the compiler.
28156 wl=$lt_lt_prog_compiler_wl
28158 # Additional compiler flags for building library objects.
28159 pic_flag=$lt_lt_prog_compiler_pic
28161 # Compiler flag to prevent dynamic linking.
28162 link_static_flag=$lt_lt_prog_compiler_static
28164 # Does compiler simultaneously support -c and -o options?
28165 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28167 # Whether or not to add -lc for building shared libraries.
28168 build_libtool_need_lc=$archive_cmds_need_lc
28170 # Whether or not to disallow shared libs when runtime libs are static.
28171 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28173 # Compiler flag to allow reflexive dlopens.
28174 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28176 # Compiler flag to generate shared objects directly from archives.
28177 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28179 # Whether the compiler copes with passing no objects directly.
28180 compiler_needs_object=$lt_compiler_needs_object
28182 # Create an old-style archive from a shared archive.
28183 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28185 # Create a temporary old-style archive to link instead of a shared archive.
28186 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28188 # Commands used to build a shared archive.
28189 archive_cmds=$lt_archive_cmds
28190 archive_expsym_cmds=$lt_archive_expsym_cmds
28192 # Commands used to build a loadable module if different from building
28193 # a shared archive.
28194 module_cmds=$lt_module_cmds
28195 module_expsym_cmds=$lt_module_expsym_cmds
28197 # Whether we are building with GNU ld or not.
28198 with_gnu_ld=$lt_with_gnu_ld
28200 # Flag that allows shared libraries with undefined symbols to be built.
28201 allow_undefined_flag=$lt_allow_undefined_flag
28203 # Flag that enforces no undefined symbols.
28204 no_undefined_flag=$lt_no_undefined_flag
28206 # Flag to hardcode \$libdir into a binary during linking.
28207 # This must work even if \$libdir does not exist
28208 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28210 # If ld is used when linking, flag to hardcode \$libdir into a binary
28211 # during linking. This must work even if \$libdir does not exist.
28212 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28214 # Whether we need a single "-rpath" flag with a separated argument.
28215 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28217 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28218 # DIR into the resulting binary.
28219 hardcode_direct=$hardcode_direct
28221 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28222 # DIR into the resulting binary and the resulting library dependency is
28223 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28224 # library is relocated.
28225 hardcode_direct_absolute=$hardcode_direct_absolute
28227 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28228 # into the resulting binary.
28229 hardcode_minus_L=$hardcode_minus_L
28231 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28232 # into the resulting binary.
28233 hardcode_shlibpath_var=$hardcode_shlibpath_var
28235 # Set to "yes" if building a shared library automatically hardcodes DIR
28236 # into the library and all subsequent libraries and executables linked
28237 # against it.
28238 hardcode_automatic=$hardcode_automatic
28240 # Set to yes if linker adds runtime paths of dependent libraries
28241 # to runtime path list.
28242 inherit_rpath=$inherit_rpath
28244 # Whether libtool must link a program against all its dependency libraries.
28245 link_all_deplibs=$link_all_deplibs
28247 # Fix the shell variable \$srcfile for the compiler.
28248 fix_srcfile_path=$lt_fix_srcfile_path
28250 # Set to "yes" if exported symbols are required.
28251 always_export_symbols=$always_export_symbols
28253 # The commands to list exported symbols.
28254 export_symbols_cmds=$lt_export_symbols_cmds
28256 # Symbols that should not be listed in the preloaded symbols.
28257 exclude_expsyms=$lt_exclude_expsyms
28259 # Symbols that must always be exported.
28260 include_expsyms=$lt_include_expsyms
28262 # Commands necessary for linking programs (against libraries) with templates.
28263 prelink_cmds=$lt_prelink_cmds
28265 # Specify filename containing input files.
28266 file_list_spec=$lt_file_list_spec
28268 # How to hardcode a shared library path into an executable.
28269 hardcode_action=$hardcode_action
28271 # The directories searched by this compiler when creating a shared library.
28272 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28274 # Dependencies to place before and after the objects being linked to
28275 # create a shared library.
28276 predep_objects=$lt_predep_objects
28277 postdep_objects=$lt_postdep_objects
28278 predeps=$lt_predeps
28279 postdeps=$lt_postdeps
28281 # The library search path used internally by the compiler when linking
28282 # a shared library.
28283 compiler_lib_search_path=$lt_compiler_lib_search_path
28285 # ### END LIBTOOL CONFIG
28287 _LT_EOF
28289 case $host_os in
28290 aix3*)
28291 cat <<\_LT_EOF >> "$cfgfile"
28292 # AIX sometimes has problems with the GCC collect2 program. For some
28293 # reason, if we set the COLLECT_NAMES environment variable, the problems
28294 # vanish in a puff of smoke.
28295 if test "X${COLLECT_NAMES+set}" != Xset; then
28296 COLLECT_NAMES=
28297 export COLLECT_NAMES
28299 _LT_EOF
28301 esac
28304 ltmain="$ac_aux_dir/ltmain.sh"
28307 # We use sed instead of cat because bash on DJGPP gets confused if
28308 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28309 # text mode, it properly converts lines to CR/LF. This bash problem
28310 # is reportedly fixed, but why not run on old versions too?
28311 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28312 || (rm -f "$cfgfile"; exit 1)
28314 case $xsi_shell in
28315 yes)
28316 cat << \_LT_EOF >> "$cfgfile"
28318 # func_dirname file append nondir_replacement
28319 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28320 # otherwise set result to NONDIR_REPLACEMENT.
28321 func_dirname ()
28323 case ${1} in
28324 */*) func_dirname_result="${1%/*}${2}" ;;
28325 * ) func_dirname_result="${3}" ;;
28326 esac
28329 # func_basename file
28330 func_basename ()
28332 func_basename_result="${1##*/}"
28335 # func_dirname_and_basename file append nondir_replacement
28336 # perform func_basename and func_dirname in a single function
28337 # call:
28338 # dirname: Compute the dirname of FILE. If nonempty,
28339 # add APPEND to the result, otherwise set result
28340 # to NONDIR_REPLACEMENT.
28341 # value returned in "$func_dirname_result"
28342 # basename: Compute filename of FILE.
28343 # value retuned in "$func_basename_result"
28344 # Implementation must be kept synchronized with func_dirname
28345 # and func_basename. For efficiency, we do not delegate to
28346 # those functions but instead duplicate the functionality here.
28347 func_dirname_and_basename ()
28349 case ${1} in
28350 */*) func_dirname_result="${1%/*}${2}" ;;
28351 * ) func_dirname_result="${3}" ;;
28352 esac
28353 func_basename_result="${1##*/}"
28356 # func_stripname prefix suffix name
28357 # strip PREFIX and SUFFIX off of NAME.
28358 # PREFIX and SUFFIX must not contain globbing or regex special
28359 # characters, hashes, percent signs, but SUFFIX may contain a leading
28360 # dot (in which case that matches only a dot).
28361 func_stripname ()
28363 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28364 # positional parameters, so assign one to ordinary parameter first.
28365 func_stripname_result=${3}
28366 func_stripname_result=${func_stripname_result#"${1}"}
28367 func_stripname_result=${func_stripname_result%"${2}"}
28370 # func_opt_split
28371 func_opt_split ()
28373 func_opt_split_opt=${1%%=*}
28374 func_opt_split_arg=${1#*=}
28377 # func_lo2o object
28378 func_lo2o ()
28380 case ${1} in
28381 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28382 *) func_lo2o_result=${1} ;;
28383 esac
28386 # func_xform libobj-or-source
28387 func_xform ()
28389 func_xform_result=${1%.*}.lo
28392 # func_arith arithmetic-term...
28393 func_arith ()
28395 func_arith_result=$(( $* ))
28398 # func_len string
28399 # STRING may not start with a hyphen.
28400 func_len ()
28402 func_len_result=${#1}
28405 _LT_EOF
28407 *) # Bourne compatible functions.
28408 cat << \_LT_EOF >> "$cfgfile"
28410 # func_dirname file append nondir_replacement
28411 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28412 # otherwise set result to NONDIR_REPLACEMENT.
28413 func_dirname ()
28415 # Extract subdirectory from the argument.
28416 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28417 if test "X$func_dirname_result" = "X${1}"; then
28418 func_dirname_result="${3}"
28419 else
28420 func_dirname_result="$func_dirname_result${2}"
28424 # func_basename file
28425 func_basename ()
28427 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28431 # func_stripname prefix suffix name
28432 # strip PREFIX and SUFFIX off of NAME.
28433 # PREFIX and SUFFIX must not contain globbing or regex special
28434 # characters, hashes, percent signs, but SUFFIX may contain a leading
28435 # dot (in which case that matches only a dot).
28436 # func_strip_suffix prefix name
28437 func_stripname ()
28439 case ${2} in
28440 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28441 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28442 esac
28445 # sed scripts:
28446 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28447 my_sed_long_arg='1s/^-[^=]*=//'
28449 # func_opt_split
28450 func_opt_split ()
28452 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28453 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28456 # func_lo2o object
28457 func_lo2o ()
28459 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28462 # func_xform libobj-or-source
28463 func_xform ()
28465 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28468 # func_arith arithmetic-term...
28469 func_arith ()
28471 func_arith_result=`expr "$@"`
28474 # func_len string
28475 # STRING may not start with a hyphen.
28476 func_len ()
28478 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28481 _LT_EOF
28482 esac
28484 case $lt_shell_append in
28485 yes)
28486 cat << \_LT_EOF >> "$cfgfile"
28488 # func_append var value
28489 # Append VALUE to the end of shell variable VAR.
28490 func_append ()
28492 eval "$1+=\$2"
28494 _LT_EOF
28497 cat << \_LT_EOF >> "$cfgfile"
28499 # func_append var value
28500 # Append VALUE to the end of shell variable VAR.
28501 func_append ()
28503 eval "$1=\$$1\$2"
28506 _LT_EOF
28508 esac
28511 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28512 || (rm -f "$cfgfile"; exit 1)
28514 mv -f "$cfgfile" "$ofile" ||
28515 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28516 chmod +x "$ofile"
28519 cat <<_LT_EOF >> "$ofile"
28521 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28523 # The linker used to build libraries.
28524 LD=$lt_LD_CXX
28526 # How to create reloadable object files.
28527 reload_flag=$lt_reload_flag_CXX
28528 reload_cmds=$lt_reload_cmds_CXX
28530 # Commands used to build an old-style archive.
28531 old_archive_cmds=$lt_old_archive_cmds_CXX
28533 # A language specific compiler.
28534 CC=$lt_compiler_CXX
28536 # Is the compiler the GNU compiler?
28537 with_gcc=$GCC_CXX
28539 # Compiler flag to turn off builtin functions.
28540 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28542 # How to pass a linker flag through the compiler.
28543 wl=$lt_lt_prog_compiler_wl_CXX
28545 # Additional compiler flags for building library objects.
28546 pic_flag=$lt_lt_prog_compiler_pic_CXX
28548 # Compiler flag to prevent dynamic linking.
28549 link_static_flag=$lt_lt_prog_compiler_static_CXX
28551 # Does compiler simultaneously support -c and -o options?
28552 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28554 # Whether or not to add -lc for building shared libraries.
28555 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28557 # Whether or not to disallow shared libs when runtime libs are static.
28558 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28560 # Compiler flag to allow reflexive dlopens.
28561 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28563 # Compiler flag to generate shared objects directly from archives.
28564 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28566 # Whether the compiler copes with passing no objects directly.
28567 compiler_needs_object=$lt_compiler_needs_object_CXX
28569 # Create an old-style archive from a shared archive.
28570 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28572 # Create a temporary old-style archive to link instead of a shared archive.
28573 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28575 # Commands used to build a shared archive.
28576 archive_cmds=$lt_archive_cmds_CXX
28577 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28579 # Commands used to build a loadable module if different from building
28580 # a shared archive.
28581 module_cmds=$lt_module_cmds_CXX
28582 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28584 # Whether we are building with GNU ld or not.
28585 with_gnu_ld=$lt_with_gnu_ld_CXX
28587 # Flag that allows shared libraries with undefined symbols to be built.
28588 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28590 # Flag that enforces no undefined symbols.
28591 no_undefined_flag=$lt_no_undefined_flag_CXX
28593 # Flag to hardcode \$libdir into a binary during linking.
28594 # This must work even if \$libdir does not exist
28595 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28597 # If ld is used when linking, flag to hardcode \$libdir into a binary
28598 # during linking. This must work even if \$libdir does not exist.
28599 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
28601 # Whether we need a single "-rpath" flag with a separated argument.
28602 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28604 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28605 # DIR into the resulting binary.
28606 hardcode_direct=$hardcode_direct_CXX
28608 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28609 # DIR into the resulting binary and the resulting library dependency is
28610 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28611 # library is relocated.
28612 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28614 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28615 # into the resulting binary.
28616 hardcode_minus_L=$hardcode_minus_L_CXX
28618 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28619 # into the resulting binary.
28620 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28622 # Set to "yes" if building a shared library automatically hardcodes DIR
28623 # into the library and all subsequent libraries and executables linked
28624 # against it.
28625 hardcode_automatic=$hardcode_automatic_CXX
28627 # Set to yes if linker adds runtime paths of dependent libraries
28628 # to runtime path list.
28629 inherit_rpath=$inherit_rpath_CXX
28631 # Whether libtool must link a program against all its dependency libraries.
28632 link_all_deplibs=$link_all_deplibs_CXX
28634 # Fix the shell variable \$srcfile for the compiler.
28635 fix_srcfile_path=$lt_fix_srcfile_path_CXX
28637 # Set to "yes" if exported symbols are required.
28638 always_export_symbols=$always_export_symbols_CXX
28640 # The commands to list exported symbols.
28641 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28643 # Symbols that should not be listed in the preloaded symbols.
28644 exclude_expsyms=$lt_exclude_expsyms_CXX
28646 # Symbols that must always be exported.
28647 include_expsyms=$lt_include_expsyms_CXX
28649 # Commands necessary for linking programs (against libraries) with templates.
28650 prelink_cmds=$lt_prelink_cmds_CXX
28652 # Specify filename containing input files.
28653 file_list_spec=$lt_file_list_spec_CXX
28655 # How to hardcode a shared library path into an executable.
28656 hardcode_action=$hardcode_action_CXX
28658 # The directories searched by this compiler when creating a shared library.
28659 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28661 # Dependencies to place before and after the objects being linked to
28662 # create a shared library.
28663 predep_objects=$lt_predep_objects_CXX
28664 postdep_objects=$lt_postdep_objects_CXX
28665 predeps=$lt_predeps_CXX
28666 postdeps=$lt_postdeps_CXX
28668 # The library search path used internally by the compiler when linking
28669 # a shared library.
28670 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28672 # ### END LIBTOOL TAG CONFIG: CXX
28673 _LT_EOF
28676 "mkcollections.pl":C) chmod 755 lib/mkcollections.pl ;;
28677 "$ac_stdint_h":C)
28678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
28679 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
28680 ac_stdint=$tmp/_stdint.h
28682 echo "#ifndef" $_ac_stdint_h >$ac_stdint
28683 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
28684 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
28685 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
28686 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
28687 if test "_$ac_cv_header_stdint_t" != "_" ; then
28688 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
28689 echo "#include <stdint.h>" >>$ac_stdint
28690 echo "#endif" >>$ac_stdint
28691 echo "#endif" >>$ac_stdint
28692 else
28694 cat >>$ac_stdint <<STDINT_EOF
28696 /* ................... shortcircuit part ........................... */
28698 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
28699 #include <stdint.h>
28700 #else
28701 #include <stddef.h>
28703 /* .................... configured part ............................ */
28705 STDINT_EOF
28707 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
28708 if test "_$ac_cv_header_stdint_x" != "_" ; then
28709 ac_header="$ac_cv_header_stdint_x"
28710 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
28711 else
28712 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
28715 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
28716 if test "_$ac_cv_header_stdint_o" != "_" ; then
28717 ac_header="$ac_cv_header_stdint_o"
28718 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
28719 else
28720 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
28723 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
28724 if test "_$ac_cv_header_stdint_u" != "_" ; then
28725 ac_header="$ac_cv_header_stdint_u"
28726 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
28727 else
28728 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
28731 echo "" >>$ac_stdint
28733 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
28734 echo "#include <$ac_header>" >>$ac_stdint
28735 echo "" >>$ac_stdint
28736 fi fi
28738 echo "/* which 64bit typedef has been found */" >>$ac_stdint
28739 if test "$ac_cv_type_uint64_t" = "yes" ; then
28740 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
28741 else
28742 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
28744 if test "$ac_cv_type_u_int64_t" = "yes" ; then
28745 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
28746 else
28747 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
28749 echo "" >>$ac_stdint
28751 echo "/* which type model has been detected */" >>$ac_stdint
28752 if test "_$ac_cv_char_data_model" != "_" ; then
28753 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
28754 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
28755 else
28756 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
28757 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
28759 echo "" >>$ac_stdint
28761 echo "/* whether int_least types were detected */" >>$ac_stdint
28762 if test "$ac_cv_type_int_least32_t" = "yes"; then
28763 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
28764 else
28765 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
28767 echo "/* whether int_fast types were detected */" >>$ac_stdint
28768 if test "$ac_cv_type_int_fast32_t" = "yes"; then
28769 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
28770 else
28771 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
28773 echo "/* whether intmax_t type was detected */" >>$ac_stdint
28774 if test "$ac_cv_type_intmax_t" = "yes"; then
28775 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
28776 else
28777 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
28779 echo "" >>$ac_stdint
28781 cat >>$ac_stdint <<STDINT_EOF
28782 /* .................... detections part ............................ */
28784 /* whether we need to define bitspecific types from compiler base types */
28785 #ifndef _STDINT_HEADER_INTPTR
28786 #ifndef _STDINT_HEADER_UINT32
28787 #ifndef _STDINT_HEADER_U_INT32
28788 #define _STDINT_NEED_INT_MODEL_T
28789 #else
28790 #define _STDINT_HAVE_U_INT_TYPES
28791 #endif
28792 #endif
28793 #endif
28795 #ifdef _STDINT_HAVE_U_INT_TYPES
28796 #undef _STDINT_NEED_INT_MODEL_T
28797 #endif
28799 #ifdef _STDINT_CHAR_MODEL
28800 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
28801 #ifndef _STDINT_BYTE_MODEL
28802 #define _STDINT_BYTE_MODEL 12
28803 #endif
28804 #endif
28805 #endif
28807 #ifndef _STDINT_HAVE_INT_LEAST32_T
28808 #define _STDINT_NEED_INT_LEAST_T
28809 #endif
28811 #ifndef _STDINT_HAVE_INT_FAST32_T
28812 #define _STDINT_NEED_INT_FAST_T
28813 #endif
28815 #ifndef _STDINT_HEADER_INTPTR
28816 #define _STDINT_NEED_INTPTR_T
28817 #ifndef _STDINT_HAVE_INTMAX_T
28818 #define _STDINT_NEED_INTMAX_T
28819 #endif
28820 #endif
28823 /* .................... definition part ............................ */
28825 /* some system headers have good uint64_t */
28826 #ifndef _HAVE_UINT64_T
28827 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
28828 #define _HAVE_UINT64_T
28829 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
28830 #define _HAVE_UINT64_T
28831 typedef u_int64_t uint64_t;
28832 #endif
28833 #endif
28835 #ifndef _HAVE_UINT64_T
28836 /* .. here are some common heuristics using compiler runtime specifics */
28837 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
28838 #define _HAVE_UINT64_T
28839 #define _HAVE_LONGLONG_UINT64_T
28840 typedef long long int64_t;
28841 typedef unsigned long long uint64_t;
28843 #elif !defined __STRICT_ANSI__
28844 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28845 #define _HAVE_UINT64_T
28846 typedef __int64 int64_t;
28847 typedef unsigned __int64 uint64_t;
28849 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
28850 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
28851 #if !defined _NO_LONGLONG
28852 #define _HAVE_UINT64_T
28853 #define _HAVE_LONGLONG_UINT64_T
28854 typedef long long int64_t;
28855 typedef unsigned long long uint64_t;
28856 #endif
28858 #elif defined __alpha || (defined __mips && defined _ABIN32)
28859 #if !defined _NO_LONGLONG
28860 typedef long int64_t;
28861 typedef unsigned long uint64_t;
28862 #endif
28863 /* compiler/cpu type to define int64_t */
28864 #endif
28865 #endif
28866 #endif
28868 #if defined _STDINT_HAVE_U_INT_TYPES
28869 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
28870 typedef u_int8_t uint8_t;
28871 typedef u_int16_t uint16_t;
28872 typedef u_int32_t uint32_t;
28874 /* glibc compatibility */
28875 #ifndef __int8_t_defined
28876 #define __int8_t_defined
28877 #endif
28878 #endif
28880 #ifdef _STDINT_NEED_INT_MODEL_T
28881 /* we must guess all the basic types. Apart from byte-adressable system, */
28882 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
28883 /* (btw, those nibble-addressable systems are way off, or so we assume) */
28886 #if defined _STDINT_BYTE_MODEL
28887 #if _STDINT_LONG_MODEL+0 == 242
28888 /* 2:4:2 = IP16 = a normal 16-bit system */
28889 typedef unsigned char uint8_t;
28890 typedef unsigned short uint16_t;
28891 typedef unsigned long uint32_t;
28892 #ifndef __int8_t_defined
28893 #define __int8_t_defined
28894 typedef char int8_t;
28895 typedef short int16_t;
28896 typedef long int32_t;
28897 #endif
28898 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
28899 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
28900 /* 4:4:4 = ILP32 = a normal 32-bit system */
28901 typedef unsigned char uint8_t;
28902 typedef unsigned short uint16_t;
28903 typedef unsigned int uint32_t;
28904 #ifndef __int8_t_defined
28905 #define __int8_t_defined
28906 typedef char int8_t;
28907 typedef short int16_t;
28908 typedef int int32_t;
28909 #endif
28910 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
28911 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
28912 /* 4:8:8 = LP64 = a normal 64-bit system */
28913 typedef unsigned char uint8_t;
28914 typedef unsigned short uint16_t;
28915 typedef unsigned int uint32_t;
28916 #ifndef __int8_t_defined
28917 #define __int8_t_defined
28918 typedef char int8_t;
28919 typedef short int16_t;
28920 typedef int int32_t;
28921 #endif
28922 /* this system has a "long" of 64bit */
28923 #ifndef _HAVE_UINT64_T
28924 #define _HAVE_UINT64_T
28925 typedef unsigned long uint64_t;
28926 typedef long int64_t;
28927 #endif
28928 #elif _STDINT_LONG_MODEL+0 == 448
28929 /* LLP64 a 64-bit system derived from a 32-bit system */
28930 typedef unsigned char uint8_t;
28931 typedef unsigned short uint16_t;
28932 typedef unsigned int uint32_t;
28933 #ifndef __int8_t_defined
28934 #define __int8_t_defined
28935 typedef char int8_t;
28936 typedef short int16_t;
28937 typedef int int32_t;
28938 #endif
28939 /* assuming the system has a "long long" */
28940 #ifndef _HAVE_UINT64_T
28941 #define _HAVE_UINT64_T
28942 #define _HAVE_LONGLONG_UINT64_T
28943 typedef unsigned long long uint64_t;
28944 typedef long long int64_t;
28945 #endif
28946 #else
28947 #define _STDINT_NO_INT32_T
28948 #endif
28949 #else
28950 #define _STDINT_NO_INT8_T
28951 #define _STDINT_NO_INT32_T
28952 #endif
28953 #endif
28956 * quote from SunOS-5.8 sys/inttypes.h:
28957 * Use at your own risk. As of February 1996, the committee is squarely
28958 * behind the fixed sized types; the "least" and "fast" types are still being
28959 * discussed. The probability that the "fast" types may be removed before
28960 * the standard is finalized is high enough that they are not currently
28961 * implemented.
28964 #if defined _STDINT_NEED_INT_LEAST_T
28965 typedef int8_t int_least8_t;
28966 typedef int16_t int_least16_t;
28967 typedef int32_t int_least32_t;
28968 #ifdef _HAVE_UINT64_T
28969 typedef int64_t int_least64_t;
28970 #endif
28972 typedef uint8_t uint_least8_t;
28973 typedef uint16_t uint_least16_t;
28974 typedef uint32_t uint_least32_t;
28975 #ifdef _HAVE_UINT64_T
28976 typedef uint64_t uint_least64_t;
28977 #endif
28978 /* least types */
28979 #endif
28981 #if defined _STDINT_NEED_INT_FAST_T
28982 typedef int8_t int_fast8_t;
28983 typedef int int_fast16_t;
28984 typedef int32_t int_fast32_t;
28985 #ifdef _HAVE_UINT64_T
28986 typedef int64_t int_fast64_t;
28987 #endif
28989 typedef uint8_t uint_fast8_t;
28990 typedef unsigned uint_fast16_t;
28991 typedef uint32_t uint_fast32_t;
28992 #ifdef _HAVE_UINT64_T
28993 typedef uint64_t uint_fast64_t;
28994 #endif
28995 /* fast types */
28996 #endif
28998 #ifdef _STDINT_NEED_INTMAX_T
28999 #ifdef _HAVE_UINT64_T
29000 typedef int64_t intmax_t;
29001 typedef uint64_t uintmax_t;
29002 #else
29003 typedef long intmax_t;
29004 typedef unsigned long uintmax_t;
29005 #endif
29006 #endif
29008 #ifdef _STDINT_NEED_INTPTR_T
29009 #ifndef __intptr_t_defined
29010 #define __intptr_t_defined
29011 /* we encourage using "long" to store pointer values, never use "int" ! */
29012 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
29013 typedef unsigned int uintptr_t;
29014 typedef int intptr_t;
29015 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
29016 typedef unsigned long uintptr_t;
29017 typedef long intptr_t;
29018 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
29019 typedef uint64_t uintptr_t;
29020 typedef int64_t intptr_t;
29021 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
29022 typedef unsigned long uintptr_t;
29023 typedef long intptr_t;
29024 #endif
29025 #endif
29026 #endif
29028 /* The ISO C99 standard specifies that in C++ implementations these
29029 should only be defined if explicitly requested. */
29030 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
29031 #ifndef UINT32_C
29033 /* Signed. */
29034 # define INT8_C(c) c
29035 # define INT16_C(c) c
29036 # define INT32_C(c) c
29037 # ifdef _HAVE_LONGLONG_UINT64_T
29038 # define INT64_C(c) c ## L
29039 # else
29040 # define INT64_C(c) c ## LL
29041 # endif
29043 /* Unsigned. */
29044 # define UINT8_C(c) c ## U
29045 # define UINT16_C(c) c ## U
29046 # define UINT32_C(c) c ## U
29047 # ifdef _HAVE_LONGLONG_UINT64_T
29048 # define UINT64_C(c) c ## UL
29049 # else
29050 # define UINT64_C(c) c ## ULL
29051 # endif
29053 /* Maximal type. */
29054 # ifdef _HAVE_LONGLONG_UINT64_T
29055 # define INTMAX_C(c) c ## L
29056 # define UINTMAX_C(c) c ## UL
29057 # else
29058 # define INTMAX_C(c) c ## LL
29059 # define UINTMAX_C(c) c ## ULL
29060 # endif
29062 /* literalnumbers */
29063 #endif
29064 #endif
29066 /* These limits are merily those of a two complement byte-oriented system */
29068 /* Minimum of signed integral types. */
29069 #ifndef INT8_MIN
29070 # define INT8_MIN (-128)
29071 #endif
29072 #ifndef INT16_MIN
29073 # define INT16_MIN (-32767-1)
29074 #endif
29075 #ifndef INT32_MIN
29076 # define INT32_MIN (-2147483647-1)
29077 #endif
29078 #ifndef INT64_MIN
29079 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
29080 #endif
29082 /* Maximum of signed integral types. */
29083 #ifndef INT8_MAX
29084 # define INT8_MAX (127)
29085 #endif
29086 #ifndef INT16_MAX
29087 # define INT16_MAX (32767)
29088 #endif
29089 #ifndef INT32_MAX
29090 # define INT32_MAX (2147483647)
29091 #endif
29092 #ifndef INT64_MAX
29093 # define INT64_MAX (__INT64_C(9223372036854775807))
29094 #endif
29096 /* Maximum of unsigned integral types. */
29097 #ifndef UINT8_MAX
29098 # define UINT8_MAX (255)
29099 #endif
29100 #ifndef UINT16_MAX
29101 # define UINT16_MAX (65535)
29102 #endif
29103 #ifndef UINT32_MAX
29104 # define UINT32_MAX (4294967295U)
29105 #endif
29106 #ifndef UINT64_MAX
29107 # define UINT64_MAX (__UINT64_C(18446744073709551615))
29108 #endif
29110 /* Minimum of signed integral types having a minimum size. */
29111 # define INT_LEAST8_MIN INT8_MIN
29112 # define INT_LEAST16_MIN INT16_MIN
29113 # define INT_LEAST32_MIN INT32_MIN
29114 # define INT_LEAST64_MIN INT64_MIN
29115 /* Maximum of signed integral types having a minimum size. */
29116 # define INT_LEAST8_MAX INT8_MAX
29117 # define INT_LEAST16_MAX INT16_MAX
29118 # define INT_LEAST32_MAX INT32_MAX
29119 # define INT_LEAST64_MAX INT64_MAX
29121 /* Maximum of unsigned integral types having a minimum size. */
29122 # define UINT_LEAST8_MAX UINT8_MAX
29123 # define UINT_LEAST16_MAX UINT16_MAX
29124 # define UINT_LEAST32_MAX UINT32_MAX
29125 # define UINT_LEAST64_MAX UINT64_MAX
29127 /* shortcircuit*/
29128 #endif
29129 /* once */
29130 #endif
29131 #endif
29132 STDINT_EOF
29134 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
29136 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
29137 else
29138 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
29139 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29140 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
29141 X"$ac_stdint_h" : 'X\(//\)$' \| \
29142 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
29143 $as_echo X"$ac_stdint_h" |
29144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29145 s//\1/
29148 /^X\(\/\/\)[^/].*/{
29149 s//\1/
29152 /^X\(\/\/\)$/{
29153 s//\1/
29156 /^X\(\/\).*/{
29157 s//\1/
29160 s/.*/./; q'`
29161 as_dir="$ac_dir"; as_fn_mkdir_p
29162 rm -f $ac_stdint_h
29163 mv $ac_stdint $ac_stdint_h
29166 "gappletviewer":C) chmod 755 tools/gappletviewer ;;
29167 "gjarsigner":C) chmod 755 tools/gjarsigner ;;
29168 "gkeytool":C) chmod 755 tools/gkeytool ;;
29169 "gjar":C) chmod 755 tools/gjar ;;
29170 "gnative2ascii":C) chmod 755 tools/gnative2ascii ;;
29171 "gserialver":C) chmod 755 tools/gserialver ;;
29172 "grmiregistry":C) chmod 755 tools/grmiregistry ;;
29173 "gtnameserv":C) chmod 755 tools/gtnameserv ;;
29174 "gorbd":C) chmod 755 tools/gorbd ;;
29175 "grmid":C) chmod 755 tools/grmid ;;
29176 "grmic":C) chmod 755 tools/grmic ;;
29177 "gjavah":C) chmod 755 tools/gjavah ;;
29178 "gjdoc":C) chmod 755 tools/gjdoc ;;
29179 "gen-classlist":C) chmod 755 lib/gen-classlist.sh ;;
29180 "copy-vmresources":C) chmod 755 lib/copy-vmresources.sh ;;
29182 esac
29183 done # for ac_tag
29186 as_fn_exit 0
29187 _ACEOF
29188 ac_clean_files=$ac_clean_files_save
29190 test $ac_write_fail = 0 ||
29191 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29194 # configure is writing to config.log, and then calls config.status.
29195 # config.status does its own redirection, appending to config.log.
29196 # Unfortunately, on DOS this fails, as config.log is still kept open
29197 # by configure, so config.status won't be able to write to it; its
29198 # output is simply discarded. So we exec the FD to /dev/null,
29199 # effectively closing config.log, so it can be properly (re)opened and
29200 # appended to by config.status. When coming back to configure, we
29201 # need to make the FD available again.
29202 if test "$no_create" != yes; then
29203 ac_cs_success=:
29204 ac_config_status_args=
29205 test "$silent" = yes &&
29206 ac_config_status_args="$ac_config_status_args --quiet"
29207 exec 5>/dev/null
29208 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29209 exec 5>>config.log
29210 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29211 # would make configure fail if this is the last instruction.
29212 $ac_cs_success || as_fn_exit $?
29214 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29216 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29220 # Create standard.omit based on decisions we just made.
29221 cat ${srcdir}/lib/standard.omit.in > lib/standard.omit
29222 if test x$use_escher != xtrue; then
29223 echo gnu/java/awt/peer/x/.*java$ >> lib/standard.omit
29226 if test "x${COMPILE_PLUGIN}" = "xyes" ; then
29227 { $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
29228 $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;}